id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2406.11854v1
http://arxiv.org/pdf/2406.11854v1
Attributions toward Artificial Agents in a modified Moral Turing Test
2024-04-03T13:00:47
2024-04-03T13:00:47
Eyal Aharoni, Sharlene Fernandes, Daniel J. Brady, Caelan Alexander, Michael Criner, Kara Queen, Javier Rando, Eddy Nahmias, Victor Crespo
cs.CY
cs.CY, cs.AI, cs.CL
Advances in artificial intelligence (AI) raise important questions about whether people view moral evaluations by AI systems similarly to human-generated moral evaluations. We conducted a modified Moral Turing Test (m-MTT), inspired by Allen and colleagues' (2000) proposal, by asking people to distinguish real human moral evaluations from those made by a popular advanced AI language model: GPT-4. A representative sample of 299 U.S. adults first rated the quality of moral evaluations when blinded to their source. Remarkably, they rated the AI's moral reasoning as superior in quality to humans' along almost all dimensions, including virtuousness, intelligence, and trustworthiness, consistent with passing what Allen and colleagues call the comparative MTT. Next, when tasked with identifying the source of each evaluation (human or computer), people performed significantly above chance levels. Although the AI did not pass this test, this was not because of its inferior moral reasoning but, potentially, its perceived superiority, among other possible explanations. The emergence of language models capable of producing moral responses perceived as superior in quality to humans' raises concerns that people may uncritically accept potentially harmful moral guidance from AI. This possibility highlights the need for safeguards around generative language models in matters of morality.
[ -0.38595083355903625, -0.583949625492096, 0.7903378009796143, -0.09565751254558563, -0.3289080262184143, 0.062361594289541245, 0.050312746316194534, -0.7616395354270935, -0.14325621724128723, 0.20733429491519928, -0.31239017844200134, 0.11269994080066681, -0.6099089980125427, 0.46552011370658875, -0.2560896873474121, 1.007025122642517, 0.2174009531736374, 0.0004945557448081672, -0.340178519487381, -0.214641734957695, -0.08351394534111023, -0.7956289649009705, -0.9017130732536316, -0.7228463292121887, 0.5147833824157715, -0.00020935569773428142, 1.0648877620697021, 0.5665139555931091, 0.4637943208217621, 0.4633897542953491, 0.27271634340286255, -0.21908339858055115, -0.23613515496253967, -0.30678948760032654, -0.4250526428222656, -0.47727590799331665, -0.5804932713508606, 0.8831729888916016, 0.27708232402801514, 0.20795339345932007, 0.1155303493142128, 0.2889766991138458, -0.01811998151242733, 0.5162613391876221, -0.24280625581741333, 0.14079174399375916, -0.6817783117294312, 0.05396422743797302, -0.06408989429473877, -0.39335116744041443, -0.5746137499809265, -0.6365472674369812, 0.06620192527770996, -0.5536426305770874, 0.14637397229671478, 0.060882631689310074, 0.8561530113220215, 0.3651333451271057, -0.479009211063385, -0.45176181197166443, -0.7505316734313965, 1.1459496021270752, -0.4384973645210266, 0.003301008837297559, 0.8463741540908813, 0.03248393535614014, 0.171888068318367, -0.5316824913024902, -0.7817099690437317, -0.8905373215675354, -0.007323912810534239, 0.2390899658203125, -0.30463650822639465, 0.10971102863550186, 0.20759913325309753, 0.1707167625427246, -0.2525128126144409, -0.08424418419599533, -0.5095324516296387, -0.09851593524217606, 0.7141940593719482, 0.10145600140094757, 0.19298586249351501, -0.2993691861629486, -0.34626150131225586, -0.33986783027648926, -0.6000685691833496, 0.3620060086250305, 0.6869953274726868, -0.057217035442590714, 0.07443244755268097, 0.7681806087493896, 0.37598952651023865, 0.2889026403427124, 0.19654327630996704, 0.5707627534866333, 0.25453701615333557, -0.4128718674182892, -0.14046388864517212, -0.07311355322599411, 0.9006249308586121, 0.6146063208580017, 1.1068321466445923, 0.2913583517074585, -0.3182065784931183, 0.39480867981910706, 0.8809980154037476, -0.5448978543281555, -0.15790270268917084, -0.134820356965065, -0.6698452830314636, -0.6837558746337891, 0.3945024609565735, -0.26033011078834534, -0.42879870533943176, -0.36654213070869446, 0.2516811490058899, -0.4018094539642334, 0.08515095710754395, -0.1253233104944229, -0.1501595824956894, 0.382367342710495, 0.374641478061676, -0.5207743644714355, 0.010356443002820015, 0.7476971745491028, 0.7149527668952942, 0.05044347420334816, -0.4162486493587494, -0.5974926948547363, -0.06010526791214943, -0.5249367356300354, 0.8367044925689697, -0.76646488904953, -0.42033651471138, -0.48066839575767517, -0.16305510699748993, 0.11468221247196198, -0.41231489181518555, 0.5523367524147034, -0.2956969439983368, 0.3152027130126953, -0.3324536383152008, -0.190410777926445, -0.1948423534631729, 0.3620505630970001, -0.42293038964271545, 0.36071163415908813, 0.17412036657333374, -0.5268484950065613, 0.3357292115688324, -0.9565904140472412, -0.3933568298816681, -0.016050994396209717, -0.45160940289497375, -0.30111294984817505, 0.10533924400806427, -0.07656838744878769, 0.17176362872123718, -0.318440705537796, 0.23397119343280792, -0.23505191504955292, -0.527975857257843, 0.8751010894775391, -1.0890536308288574, 1.056785225868225, 0.14543931186199188, -0.37139827013015747, 0.1881060004234314, -0.34191209077835083, -0.014738480560481548, 0.18177980184555054, -0.3566017150878906, -0.396599680185318, 0.22094668447971344, -0.31348109245300293, 0.12608127295970917, -0.011771182529628277, -0.7361536622047424, -0.1373276710510254, -0.390619158744812, 0.551185667514801, 1.5226472616195679, -0.2377903163433075, 0.1300162374973297, -0.7237500548362732, 0.4792526364326477, -0.2905324697494507, 0.5827173590660095, 0.49558478593826294, -0.7568075060844421, -0.5231910347938538, -0.0002768704725895077, -0.13713525235652924, 0.5106611251831055, -0.6417433023452759, 0.35099685192108154, -0.03933710232377052, -0.3414386510848999, -0.8767948150634766, -0.3660781681537628, 0.5332903265953064, 0.27112308144569397, 0.3427589535713196, -0.16442793607711792, 0.01005556434392929, -1.158344030380249, -0.6714503169059753, -0.9134015440940857, -0.35202986001968384, 0.6106097102165222, 0.640555739402771, -0.1833149939775467, 0.6943973302841187, -0.16842812299728394, 0.08874905109405518, 0.12647360563278198, 0.2760576903820038, -0.07052216678857803, 0.5529744029045105, 0.5839636325836182, -0.8518700003623962, -0.3498663604259491, 0.06422388553619385, -0.8656314015388489, 0.08860373497009277, -0.006319107487797737, -0.06968794018030167, -0.10311494767665863, 0.19361187517642975, -0.6427187323570251, 0.3580816090106964, 0.33286911249160767, -0.8049288988113403, 0.9932622313499451, -0.16732166707515717, 0.6727869510650635, -0.9307162761688232, -0.10653769969940186, -0.39487752318382263, -0.2706794738769531, -0.3126092553138733, -0.03505781292915344, -0.16436372697353363, 0.29998892545700073, -0.509284496307373, 0.2686426341533661, 0.07596097141504288, -0.09032426029443741, -0.07851556688547134, -0.03134523332118988, -0.02981492690742016, 0.2222316414117813, -0.5111623406410217, 1.127732515335083, 0.42235273122787476, -0.5091650485992432, 0.7094070911407471, 0.39866018295288086, 0.1700366735458374, 0.9820043444633484, -0.8700282573699951, 0.4091885983943939, -0.06119927018880844, 0.06385626643896103, -0.48866310715675354, -0.15692873299121857, 0.3707885146141052, -0.9261429309844971, -0.2605641186237335, 0.05763537064194679, -0.2159472405910492, -0.35280001163482666, -0.6906594634056091, 0.6003605723381042, 0.6251079440116882, -0.30844995379447937, 0.6681232452392578, 0.1409057378768921, -0.1099863201379776, -0.5055825114250183, -0.8469209671020508, 0.17903214693069458, -0.31880316138267517, -0.6308194994926453, 0.008688393980264664, -0.1428603231906891, -0.8514818549156189, 0.07441919296979904, 0.17403919994831085, 0.00960491318255663, 0.1011234000325203, 0.2176142930984497, 0.20563876628875732, -0.2691493332386017, 0.14960400760173798, -0.06729795038700104, -0.3384503722190857, 0.4266379177570343, 0.036872755736112595, 0.24766433238983154, -0.7817180156707764, -0.634454607963562, -0.4868074953556061, 0.4124754071235657, 0.6752572655677795, -0.3645365238189697, 0.577340304851532, 0.35232192277908325, -0.20342299342155457, 0.28791344165802, -0.29093924164772034, -0.38912132382392883, -0.5849753618240356, 0.07409591972827911, -0.16298708319664001, -0.8843486309051514, 0.2169220894575119, 0.3634102940559387, 0.04801392927765846, 0.6196868419647217, 0.5769850015640259, -0.303120881319046, 1.0154038667678833, 0.3887924551963806, 0.176246777176857, 0.6363484263420105, 0.045924920588731766, 0.05020753666758537, -0.6917387247085571, 0.08412954211235046, -0.5755716562271118, -0.1351267695426941, -0.9565292596817017, -0.3285810053348541, 0.2215678095817566, -0.3922019302845001, -0.5630841851234436, 0.11915229260921478, -0.48957061767578125, 0.7280497550964355, 0.7673020958900452, 0.11981961131095886, 0.3913496136665344, -0.07857584953308105, 0.11148551106452942, 0.2849668264389038, -0.09547469764947891, -1.0233205556869507, 1.1030718088150024, 0.2597695291042328, 0.5365045666694641, 0.2271927148103714, 0.49316418170928955, 0.9647449254989624, 0.5633503198623657, -0.5765710473060608, 0.5370494723320007, -0.3889831304550171, -0.5578078627586365, -0.2973216772079468, -0.5916113257408142, -1.1123278141021729, 0.17264512181282043, 0.0036908129695802927, -0.6994364857673645, 0.1427924633026123, 0.10819783061742783, -0.4278179109096527, 0.1826048195362091, -0.8463391661643982, 0.6126270294189453, -0.29117336869239807, -0.17638789117336273, -0.5873538851737976, -0.6732019782066345, 0.31370335817337036, -0.18867366015911102, 0.07788917422294617, -0.2266741544008255, 0.08665812015533447, 0.6895569562911987, -0.413944810628891, 0.7401639819145203, 0.008618170395493507, 0.08387172222137451, 0.5104526281356812, 0.1367419958114624, 0.4963948428630829, 0.11172313988208771, -0.35107529163360596, 0.07931084930896759, -0.1449301391839981, -0.39992067217826843, -0.49472367763519287, 0.5108615756034851, -0.9857468605041504, -0.75948566198349, -0.5885268449783325, -0.4715137183666229, 0.10111938416957855, 0.0036775858607143164, 0.2563352584838867, 0.46444663405418396, -0.21435734629631042, 0.276984840631485, 0.13848040997982025, -0.4398519992828369, 0.21803712844848633, 0.44063422083854675, 0.1945391297340393, -0.24102772772312164, 0.8769847750663757, -0.36251100897789, 0.5798941254615784, -0.2255091518163681, 0.5822169184684753, -0.3154813349246979, -0.23419880867004395, -0.5489586591720581, 0.2576121985912323, -0.6363566517829895, -0.1124148890376091, -0.30405157804489136, -0.046719565987586975, 0.07233214378356934, -0.5191633701324463, -0.5791668891906738, -0.1685914248228073, -0.39843782782554626, -0.2655547857284546, 0.38100311160087585, 1.1868067979812622, -0.019158974289894104, 0.05113871395587921, -0.8032856583595276, 0.35694149136543274, 0.4223102629184723, 0.2622964680194855, -0.2657667398452759, -0.5223250985145569, 0.2021653652191162, 0.3120472729206085, -0.4086098074913025, -0.6942400336265564, -0.1760403960943222, 0.12102970480918884, 0.40674659609794617, 0.34038469195365906, 0.23953379690647125, 0.4896129071712494, -0.28535816073417664, 0.9292381405830383, 0.0016725858440622687, -0.9774613380432129, 0.3329322934150696, -0.41327789425849915, -0.0800447016954422, 0.42729663848876953, 0.16220307350158691, -0.2041323184967041, -0.8036851286888123, -0.7495681047439575, -0.27433884143829346, 0.7253679037094116, 0.7521161437034607, 0.45922407507896423, -0.15447622537612915, 0.46053752303123474, 0.20568792521953583, 0.13180002570152283, -0.9471744894981384, -0.0851857140660286, -0.3668748736381531, -0.2463056594133377, -0.24897052347660065, 0.08491181582212448, -0.08849325776100159, -0.14000293612480164, 0.2921083867549896, -0.07064390927553177, 0.5741327404975891, 0.24851439893245697, -0.0003969911194872111, -0.42936277389526367, 0.2940688133239746, 0.6085414290428162, 0.7586639523506165, 0.07934975624084473, 0.2646535336971283, -0.2183082550764084, -0.5623915791511536, 0.5075329542160034, 0.08338600397109985, -0.34431666135787964, -0.5659385919570923, 0.6205962300300598, 0.45417332649230957, -0.5655921697616577, -0.5688496232032776, 0.639987587928772, -0.2348371297121048, -0.04158227518200874, -0.4381483793258667, 0.14232137799263, -0.2656265199184418, 0.572939932346344, 0.1558593362569809, 0.54853355884552, 0.149942547082901, -0.8496066927909851, 0.4985937178134918, 0.6908048987388611, -0.3769298195838928, -0.5874202847480774, 0.6335763335227966, 0.07627188414335251, -0.8253864049911499, 0.9589161276817322, -0.3068106174468994, -0.6690261960029602, 0.6684445142745972, 0.2362184375524521, 0.9219370484352112, -0.48539721965789795, 0.5234709978103638, 0.009820002131164074, 0.7437171339988708, 0.15359851717948914, 0.2314557284116745, 0.13157892227172852, -0.9027645587921143, -0.3739220201969147, -0.4161047339439392, -0.2746376693248749, -0.22945968806743622, -0.44950398802757263, -0.24617142975330353, -0.42399415373802185, -0.5375865697860718, -0.25024229288101196, -0.2224562168121338, -0.42084231972694397, 0.03099510632455349, 0.04085754230618477, 0.18843908607959747, -0.5981869697570801, 0.6225685477256775, 0.6431611180305481, -0.6625612378120422, -0.47343310713768005, 0.21281322836875916, -0.16849032044410706, -0.9781677722930908, 0.2238345444202423, 0.18581178784370422, -0.5180614590644836, -0.010297112166881561, -0.5992290377616882, -0.5180240869522095, 0.8340464234352112, 0.5514200329780579, 0.045890506356954575, 0.11021848767995834, 0.26715391874313354, 0.7075102925300598, -0.3245701789855957, 0.2597469389438629, 0.6450868248939514, 0.7014697790145874, -0.2979121506214142, -0.9708573818206787, 0.1690395325422287, -0.37907376885414124, -0.25767382979393005, 0.13757680356502533, -0.5844191312789917, 1.1228208541870117, -0.47375205159187317, -0.040001772344112396, 0.008255066350102425, 0.435537725687027, 0.4863832890987396, 0.47031351923942566, 0.6109645962715149, -0.10891307890415192, 0.6295207738876343, 0.058232057839632034, 1.4536148309707642, 0.24132311344146729, 0.1392732411623001, 0.6396459341049194, -0.01654566079378128, 0.5765431523323059, 0.5170471668243408, -0.2513491213321686, 0.4761362075805664, 0.43116626143455505, -0.12121433019638062, 0.2905016541481018, 0.11003892123699188, -0.10904784500598907, -0.1962248980998993, -0.2963218688964844, -0.1510389745235443, 0.6257938146591187, 0.21235918998718262, -0.5285922884941101, 0.1529950499534607, -0.007502370979636908, -0.2150510549545288, 0.04070071130990982, -0.22706599533557892, 0.7355364561080933, 0.23703649640083313, -0.6268176436424255, 0.5323390960693359, 0.05007713660597801, 0.48181450366973877, -0.42426636815071106, -0.1330789029598236, 0.02869565226137638, 0.2753100097179413, -0.06420502811670303, -1.0621628761291504, 0.46780285239219666, 0.4818146824836731, 0.06504684686660767, -0.2937937378883362, 0.4544629454612732, 0.08302760124206543, -0.5163822174072266, 0.4163331985473633, 0.5607813000679016, 0.43959206342697144, -0.27438727021217346, -0.9299726486206055, -0.29834645986557007, 0.19975879788398743, -0.3993416428565979, -0.039269398897886276, 0.2894749641418457, -0.29234522581100464, 0.93593829870224, 0.894314169883728, -0.20137229561805725, 0.030079174786806107, 0.052735812962055206, 0.838884711265564, -0.7906895875930786, -0.33108803629875183, -1.204108715057373, 0.4587455987930298, 0.0421920008957386, -0.2524729073047638, 0.42803484201431274, 0.18032985925674438, 0.6591788530349731, -0.0431661531329155, 0.8362589478492737, 0.005711774807423353, 0.03919759392738342, -0.48842787742614746, 0.7664432525634766, -0.441999226808548, 0.12940561771392822, -0.3475984036922455, -0.8869900703430176, 0.11533966660499573, 0.8222363591194153, -0.19137714803218842, 0.643818199634552, 0.7431682348251343, 0.4802475571632385, 0.09602717310190201, 0.05197443813085556, 0.4665742814540863, 0.3539562523365021, 0.7906897664070129, 0.3079518973827362, 1.3929762840270996, -0.055699508637189865, 0.5398311018943787, 0.08625500649213791, -0.39707955718040466, 0.0014582579024136066, -0.8074772953987122, -0.7893065810203552, -0.29080522060394287, -0.03995926305651665, -0.08080487698316574, 0.057175420224666595, 1.076515793800354, 0.20057329535484314, -0.7065277695655823, -0.12942637503147125, -0.15300576388835907, 0.05445586144924164, -0.3203105032444, -0.23142829537391663, 0.3500843942165375, 0.15696361660957336, -0.5243848562240601, 0.33029764890670776, 0.1642591804265976, 0.19814902544021606, -0.26267489790916443, -0.3325153887271881, 0.10899887979030609, 0.4840899407863617, 0.8201786279678345, -0.2183188796043396, -1.0291064977645874, -0.8972784280776978, -0.1111968606710434, -0.04565158113837242, 0.10292909294366837, 0.7862009406089783, -0.546278715133667, 0.23628069460391998, 0.2607450485229492, 0.2673470675945282, -0.2529164254665375, 0.5703458786010742, 0.9207760095596313, -0.23577679693698883, -0.06433553248643875, 0.5941112637519836, 0.24561338126659393, 0.2516101002693176, -0.502254843711853, 0.42333856225013733, 0.32994911074638367, -0.7500473856925964, -0.5572254061698914, 0.3694596290588379, -0.645596444606781, -0.07812964171171188, 0.902213454246521, -0.18286269903182983, -0.04522893205285072, -0.35986822843551636, -0.25655078887939453, 0.19292880594730377, -0.6251914501190186, 0.9430147409439087, 0.5843796730041504, -0.4672602117061615, 0.1101994439959526, -0.6922233700752258, 0.44476550817489624, 0.2666703462600708, -0.8508173823356628, 0.21557168662548065, 0.5398029685020447, -0.030079299584031105, 0.21362829208374023, 0.5609058141708374, -0.20333226025104523, 0.4880940020084381, 0.06309952586889267, -0.2175535410642624, -0.23733016848564148, -0.1989552080631256, -0.10657928138971329, -0.18859896063804626, 0.28185099363327026, -0.17460830509662628 ]
http://arxiv.org/abs/2404.02699v1
http://arxiv.org/pdf/2404.02699v1
Scalable Model Editing via Customized Expert Networks
2024-04-03T12:57:19
2024-04-03T12:57:19
Zihan Yao, Yu He, Tianyu Qi, Ming Li
cs.CL
cs.CL
Addressing the issue of hallucinations and outdated knowledge in large language models is critical for their reliable application. Model Editing presents a promising avenue for mitigating these challenges in a cost-effective manner. However, existing methods often suffer from unsatisfactory generalization and unintended effects on unrelated samples. To overcome these limitations, we introduce a novel approach: Scalable Model Editing via Customized Expert Networks (SCEN), which is a two-stage continuous training paradigm. Specifically, in the first stage, we train lightweight expert networks individually for each piece of knowledge that needs to be updated. Subsequently, we train a corresponding neuron for each expert to control the activation state of that expert. Our experiments on two different sizes of open-source large language models, the Llama2 7B and 13B, achieve state-of-the-art results compared to existing mainstream Model Editing methods. Our code is available at https: //github.com/TAL-auroraX/SCEN
[ -0.10702288150787354, -0.7538756132125854, 0.5293470621109009, 0.29223355650901794, 0.056948527693748474, -0.02483223006129265, -0.6190522909164429, -0.4840013086795807, 0.4300753176212311, 0.6890488862991333, -0.273144006729126, -0.32174649834632874, -0.6056680679321289, -0.04591446742415428, -0.29861652851104736, 0.7391473650932312, -0.012482122518122196, 0.29690107703208923, -0.2100713849067688, -0.33580484986305237, -0.24073944985866547, -0.29103952646255493, -1.0773074626922607, -0.33927324414253235, 0.6775482892990112, 0.3408661484718323, 0.7827188372612, 0.8554356098175049, 0.4538959860801697, 0.3702233135700226, -0.5428120493888855, 0.32475516200065613, -0.44700807332992554, 0.25751447677612305, -0.3654901683330536, -0.2563687264919281, -0.8121841549873352, -0.4759443998336792, 0.5951552391052246, 0.8008336424827576, -0.291363924741745, 0.1456160545349121, -0.04120892658829689, 0.5247067809104919, -0.5466448068618774, 0.11246331036090851, -1.0173498392105103, -0.13141287863254547, -0.03489776700735092, 0.11384623497724533, -0.4813361167907715, -0.07000119984149933, -0.07667223364114761, -0.6910295486450195, 0.19842617213726044, -0.3125428855419159, 0.6683254241943359, 0.6396456360816956, -0.16598178446292877, -0.053038787096738815, -0.6017555594444275, 0.30930957198143005, -1.0083731412887573, 0.07071784138679504, 0.27332863211631775, 0.22965168952941895, -0.32299041748046875, -0.8571294546127319, -0.4945026636123657, -0.30635395646095276, 0.031651731580495834, -0.14935091137886047, -0.3678727149963379, 0.3468741178512573, 0.4764593243598938, -0.013529199175536633, -0.22890174388885498, 0.6485461592674255, -0.35171419382095337, -0.05562061816453934, 0.7216094732284546, 0.10142594575881958, 0.3042856454849243, -0.020119205117225647, 0.2801818251609802, 0.08333757519721985, -0.45143941044807434, -0.22041265666484833, 0.4351949989795685, 0.268544465303421, 0.3160571753978729, 0.7836706042289734, -0.4146502912044525, 0.760940432548523, 0.4283560514450073, 0.09807611256837845, 0.19682154059410095, 0.12207093089818954, -0.37725913524627686, 0.06846954673528671, 0.6957524418830872, 0.374402791261673, 0.2886749804019928, -0.24103529751300812, -0.4206944704055786, -0.21926723420619965, 0.3610992729663849, -0.6608254909515381, -0.3905389606952667, 0.22877132892608643, -0.3878609836101532, -0.6652272939682007, -0.5524566173553467, -0.5554670095443726, -0.8546956181526184, -0.40310975909233093, 0.46352338790893555, -0.12773488461971283, -0.305422842502594, 0.26400139927864075, -0.09550558030605316, -0.476644366979599, 0.5153173804283142, -1.1134666204452515, 0.15198443830013275, 0.28380462527275085, 0.8744698166847229, -0.0527331717312336, -0.41337597370147705, -0.4398095905780792, 0.24771299958229065, -0.5036025643348694, 0.6393018364906311, -0.5873187184333801, -0.1250956505537033, -0.21510358154773712, -0.17154109477996826, -0.049590155482292175, -0.49623093008995056, -0.008767666295170784, -0.792607307434082, -0.2620498836040497, -0.10727664083242416, -0.4576639235019684, 0.0412106029689312, 0.15228135883808136, -0.6758812665939331, 1.1923681497573853, 0.06382614374160767, -0.7237644791603088, 0.043905582278966904, -0.6817286014556885, -0.43063971400260925, -0.10313715040683746, 0.10941345989704132, -0.2579876780509949, 0.2804824709892273, 0.3547457158565521, 0.5008183121681213, 0.08698952943086624, 0.3496370315551758, -0.46406543254852295, -0.11440902948379517, 0.1576242744922638, 0.04294608160853386, 0.4085978865623474, 0.04165685176849365, -0.269397109746933, 0.7080576419830322, -1.150331974029541, -0.08925008028745651, 0.05857938155531883, -0.2407604157924652, -0.3517187833786011, -0.0006713839247822762, 0.03344273939728737, 0.1924847513437271, 0.427087664604187, -0.4208984971046448, 0.504166841506958, -0.44503840804100037, 0.7172455787658691, 1.021735429763794, 0.27856963872909546, 0.5804357528686523, -0.05944693088531494, 0.30787917971611023, -0.17441348731517792, 0.26423579454421997, -0.04866093024611473, -0.21459126472473145, -1.1973005533218384, -0.11600141227245331, 0.33690211176872253, 0.5587695837020874, -0.8249903321266174, 0.2628219425678253, -0.29581567645072937, -0.647016704082489, -0.36420971155166626, 0.2928321957588196, -0.01730223186314106, 0.48050636053085327, 0.5649381875991821, -0.10522042959928513, -0.5577770471572876, -1.1382479667663574, -0.4213235080242157, 0.08997051417827606, -0.2694256901741028, 0.28155097365379333, 0.5371056795120239, -0.34876736998558044, 0.8820705413818359, -0.28282803297042847, -0.12624192237854004, -0.25153034925460815, 0.046485379338264465, -0.06316160410642624, 0.6615719795227051, 0.4859624207019806, -0.4248069226741791, -0.40535858273506165, 0.3040735423564911, -0.8391393423080444, -0.1879580169916153, -0.5759844183921814, -0.09081503748893738, -0.08631934225559235, 0.7122980952262878, -0.5605193972587585, 0.26823845505714417, 0.46091514825820923, 0.14926576614379883, 0.47750794887542725, -0.5163968801498413, 0.004729493986815214, -1.1375433206558228, -0.173161581158638, 0.07058458775281906, -0.04131617397069931, -0.818169355392456, 0.15012231469154358, 0.25448426604270935, 0.05083160474896431, -0.39878228306770325, 0.4853857457637787, -0.3437969982624054, -0.050604358315467834, -0.3956195116043091, 0.08636641502380371, -0.34723570942878723, 0.7007399201393127, -0.009516543708741665, 0.5590769052505493, 0.5420383810997009, -0.3391936123371124, 0.2052384465932846, 0.2747378349304199, -0.45916181802749634, 0.20823372900485992, -1.0631122589111328, 0.4481819272041321, -0.08682704716920853, 0.1659339815378189, -0.48900115489959717, -0.5279840230941772, 0.23503458499908447, -0.15954650938510895, 0.21337389945983887, -0.1857498437166214, -0.6566129326820374, -0.057170458137989044, 0.16827507317066193, 0.10648523271083832, 0.1598716825246811, -0.5738374590873718, 0.8516642451286316, 0.29407352209091187, -0.2297334522008896, -0.48333778977394104, -0.868720293045044, 0.6218991875648499, 0.1262931078672409, -0.6877826452255249, 0.05480346456170082, -0.09924689680337906, -0.3285037577152252, 0.016234541311860085, -0.041622113436460495, -0.2112218737602234, 0.030399898067116737, 0.26736706495285034, 0.14431002736091614, 0.007477168925106525, 0.28834667801856995, 0.713627278804779, -0.1525411307811737, -0.13867944478988647, -0.3071358799934387, 0.15338774025440216, 0.026614129543304443, -0.27428939938545227, -0.6444389820098877, 0.27368372678756714, 0.8077404499053955, -0.5962957739830017, 0.6791618466377258, 0.3057277500629425, -0.6270827651023865, -0.3491474390029907, -0.7349308729171753, -0.13628259301185608, -0.5122765302658081, 0.8132030367851257, -0.4669467806816101, -1.195177435874939, 0.474086731672287, -0.301157683134079, -0.07243981957435608, 0.4089803397655487, 0.538938581943512, 0.005839705001562834, 1.1565220355987549, 0.8250613212585449, 0.21183602511882782, 0.4985252320766449, -0.24169038236141205, 0.01804964803159237, -0.8605785965919495, -0.15115422010421753, -0.351522296667099, -0.4507921040058136, -0.23500993847846985, -0.4636135399341583, 0.36086466908454895, 0.15893007814884186, -0.39448270201683044, 0.38250473141670227, -0.4893961250782013, 0.6985663175582886, 0.24214960634708405, 0.45160770416259766, 0.15023256838321686, 0.06802432239055634, -0.029847251251339912, -0.04269874095916748, -0.9334732294082642, -0.4638482630252838, 1.15919029712677, 0.37285202741622925, 0.5603017807006836, -0.2561012804508209, 0.3207436800003052, 0.4362197816371918, 0.29464107751846313, -0.639525294303894, 0.6152073740959167, -0.11607782542705536, -0.460134893655777, -0.5320659875869751, -0.3065466582775116, -0.38043633103370667, 0.38561055064201355, -0.3869340717792511, -0.8342429995536804, 0.5277567505836487, 0.40245604515075684, -0.27705052495002747, 0.8832072615623474, -0.41972917318344116, 0.6342730522155762, -0.17214204370975494, -0.31610700488090515, -0.671402633190155, -0.5648234486579895, 0.3160415589809418, -0.26387837529182434, 0.06268075853586197, 0.28435060381889343, -0.0866561084985733, 0.6317639946937561, -0.4775814414024353, 1.0491372346878052, 0.057642605155706406, 0.15222077071666718, 0.01688111573457718, 0.3181696832180023, 0.9562897682189941, 0.049617890268564224, -0.385733962059021, 0.37567341327667236, -0.353122353553772, -0.5096505284309387, -0.9245849251747131, 0.6988682746887207, -0.7476689219474792, -0.47434768080711365, -0.14276055991649628, -0.7745556235313416, -0.29165783524513245, 0.34888651967048645, 0.18832750618457794, 0.3863954246044159, -0.060392942279577255, 0.1767820566892624, 0.8411588072776794, -0.03996317833662033, 0.3584423363208771, 0.28090140223503113, -0.015087367966771126, -0.6903479695320129, 0.5832409858703613, 0.28680160641670227, 0.43953755497932434, 0.13595178723335266, 0.09819436073303223, 0.4488818049430847, -0.9710632562637329, -0.5440924763679504, 0.16544604301452637, -0.9208624958992004, 0.12906861305236816, -1.0879100561141968, -0.12232380360364914, -0.2738187313079834, -0.4275391697883606, -0.7156204581260681, -0.65556401014328, -0.36158037185668945, -0.19988961517810822, 0.3501032292842865, 1.0698151588439941, -0.2790449857711792, 0.7602243423461914, -0.5256057381629944, 0.1208602786064148, 0.4033270478248596, 0.36675572395324707, 0.3163944184780121, -0.5883334875106812, -0.6492608785629272, 0.06987078487873077, 0.22365590929985046, -0.8407654762268066, 0.18610280752182007, 0.16553829610347748, 0.5181803107261658, 0.4087359309196472, -0.19199138879776, 0.6084567904472351, -0.5596603155136108, 0.8170609474182129, 0.2211812138557434, -1.082787036895752, 0.5060351490974426, -0.3744780421257019, 0.23787346482276917, 0.5256107449531555, 0.17055827379226685, -0.7403116822242737, -0.3902999758720398, -0.4348611533641815, -0.6694638729095459, 0.5523913502693176, -0.07200408726930618, 0.2465256005525589, 0.18361897766590118, 0.841648519039154, 0.09132147580385208, 0.3472338914871216, -0.3904353082180023, -0.10438000410795212, -0.35163819789886475, -0.011413340456783772, 0.010446467436850071, -0.5307232737541199, -0.17786328494548798, -0.40736857056617737, 0.7257758975028992, -0.14717835187911987, -0.20362639427185059, -0.046229392290115356, -0.3091409206390381, -0.24971531331539154, 0.172796368598938, 0.7095645070075989, 0.9660244584083557, -0.037352703511714935, -0.12433595955371857, 0.7255983352661133, -0.37868165969848633, -0.07640589773654938, -0.3501359224319458, -0.45479220151901245, -0.14195489883422852, 0.464122474193573, 1.289515733718872, 0.36016514897346497, -0.38371536135673523, 0.10108593106269836, 0.06168730929493904, -0.47222158312797546, -0.09895920753479004, 0.2855209708213806, 0.13361521065235138, 0.45783671736717224, 0.08880437910556793, 0.7530683279037476, -0.0774855986237526, 0.15133458375930786, -0.08805515617132187, -0.06584912538528442, -0.4349759519100189, -0.1714637577533722, 0.8226926326751709, -0.031556520611047745, -0.5286278128623962, 0.707152247428894, 0.0009819892002269626, -0.3913993537425995, 0.45642632246017456, 0.37023502588272095, 0.9206529259681702, -0.1634962260723114, 0.2628271281719208, 0.5698762536048889, 0.589641273021698, -0.2753198444843292, -0.187697634100914, 0.09049693495035172, -0.7059943675994873, -0.5638158321380615, -0.38493281602859497, -0.5198942422866821, 0.2119429111480713, -0.5922992825508118, 0.1822240650653839, -0.7021872401237488, -0.08839140087366104, -0.04951876401901245, -0.5781033635139465, -0.38678887486457825, 0.2867816984653473, -0.21045023202896118, 1.0252423286437988, -0.7322849631309509, 0.9595242738723755, 0.765129804611206, -0.4186064600944519, -0.7049270868301392, -0.30765029788017273, -0.07228364795446396, -0.36633121967315674, 0.45621728897094727, -0.23709259927272797, -0.005631645210087299, 0.12829679250717163, -0.8033490180969238, -0.8602912425994873, 0.9344189167022705, 0.4806491434574127, -0.8634730577468872, -0.15439996123313904, -0.04162302985787392, 0.7126562595367432, -0.41913166642189026, 0.17914846539497375, 0.5245693325996399, 0.5850654244422913, 0.030168043449521065, -0.8110819458961487, -0.12266973406076431, -0.5396411418914795, 0.2869601845741272, -0.2438427060842514, -0.5599754452705383, 0.7999624609947205, -0.2785501480102539, 0.30242016911506653, 0.1979411542415619, 0.8501763939857483, -0.05482017621397972, -0.11023462563753128, 0.8066853284835815, 0.6323520541191101, 0.9874001145362854, 0.22723935544490814, 0.6835611462593079, -0.4162927567958832, 0.13872221112251282, 1.432342290878296, -0.19125087559223175, 0.9154244065284729, 0.39646854996681213, 0.1381576657295227, 0.4207458794116974, 0.9119874238967896, -0.24359500408172607, 0.24317480623722076, 0.21876344084739685, -0.21358318626880646, -0.732645571231842, 0.2386428564786911, -0.2785230875015259, 0.2515444755554199, 0.26510506868362427, -0.2565547227859497, -0.0835113450884819, 0.40630537271499634, 0.2652958631515503, 0.12967325747013092, -0.3177605867385864, 0.5901099443435669, -0.21648553013801575, -0.2825870215892792, 0.30071818828582764, 0.1490844190120697, 0.4459081292152405, -0.7578462958335876, 0.07711336761713028, -0.1205601766705513, 0.1104269027709961, -0.35130131244659424, -0.42986974120140076, 0.08513600379228592, 0.0964575707912445, -0.24492689967155457, -0.1325085312128067, 0.7541379332542419, -0.3770328164100647, -0.6476043462753296, 0.2779860198497772, 0.20008651912212372, 0.03338690847158432, -0.25455689430236816, -0.6234163641929626, 0.11036069691181183, -0.12233655899763107, -0.556127667427063, 0.31791773438453674, 0.15194499492645264, -0.16825948655605316, 0.8848294615745544, 0.7855151295661926, 0.4511087238788605, 0.1070873960852623, 0.19148074090480804, 1.009783387184143, -0.2863660156726837, -0.5327584743499756, -0.455101877450943, 0.7139255404472351, -0.3287544548511505, -0.34677985310554504, 0.6029028296470642, 0.27768436074256897, 0.8290889263153076, -0.26394760608673096, 1.0008130073547363, 0.08012694120407104, 0.08573050796985626, -0.40131548047065735, 1.1750903129577637, -0.5926170945167542, 0.2886393666267395, -0.1261163353919983, -0.7993444204330444, -0.5275967121124268, 0.44559183716773987, -0.4017236530780792, -0.05914171785116196, 0.5975929498672485, 1.1699143648147583, 0.029506376013159752, -0.0328444242477417, 0.191316619515419, 0.6644707918167114, 0.31928542256355286, 0.1441294252872467, 0.5215306282043457, -0.14383789896965027, 0.2889043688774109, -0.5945478677749634, -0.3500877916812897, -0.1792965531349182, -0.8091049194335938, -1.1383800506591797, -0.4272820055484772, -0.5319207906723022, -0.28263217210769653, 0.4415495693683624, 1.0478729009628296, 0.6952514052391052, -0.8428910970687866, -0.22189728915691376, -0.08327116072177887, -0.0037684771232306957, -0.48816099762916565, -0.03461315110325813, 0.5488983392715454, -0.4172859489917755, -0.6592803597450256, 0.7925539016723633, 0.38372698426246643, -0.20181092619895935, -0.3151665925979614, -0.03201614320278168, -0.15415836870670319, 0.28161272406578064, 0.5862863063812256, 0.21326172351837158, -0.6147704124450684, -0.41245535016059875, 0.06259278953075409, -0.13015291094779968, -0.07892825454473495, 0.6831108331680298, -0.48833340406417847, 0.801598310470581, 0.3552376627922058, 0.7618086338043213, 0.5091528296470642, -0.36928290128707886, 0.42140164971351624, -0.30851924419403076, 0.19397053122520447, 0.0241779163479805, 0.368303507566452, 0.3761495053768158, -0.4699968993663788, 0.40899035334587097, 0.2513662278652191, -0.658868670463562, -0.9013465642929077, 0.0934651717543602, -1.0975472927093506, -0.2291753590106964, 1.0798156261444092, -0.020097628235816956, -0.1856868416070938, 0.2775111198425293, -0.32549193501472473, 0.3891884684562683, -0.036956630647182465, 0.8373314738273621, 0.6926676630973816, -0.05264860764145851, -0.12018144875764847, -0.663154661655426, 0.21717332303524017, 0.3267255127429962, -0.576970636844635, -0.07603094726800919, 0.5183610916137695, 0.3053463399410248, -0.2695046067237854, 0.16957984864711761, 0.22489339113235474, 0.4057801365852356, 0.14565162360668182, 0.6544386148452759, -0.7321252822875977, -0.4126116931438446, -0.5404723882675171, 0.15735745429992676, -0.025688229128718376, 0.10463700443506241 ]
http://arxiv.org/abs/2404.02690v1
http://arxiv.org/pdf/2404.02690v1
Attention is Naturally Sparse with Gaussian Distributed Input
2024-04-03T12:37:34
2024-04-03T12:37:34
Yichuan Deng, Zhao Song, Chiwun Yang
cs.LG
cs.LG, cs.AI, cs.CL
The computational intensity of Large Language Models (LLMs) is a critical bottleneck, primarily due to the $O(n^2)$ complexity of the attention mechanism in transformer architectures. Addressing this, sparse attention emerges as a key innovation, aiming to reduce computational load while maintaining model performance. This study presents a rigorous theoretical analysis of the sparsity in attention scores within LLMs, particularly under the framework of Gaussian inputs. By establishing a set of foundational assumptions and employing a methodical theoretical approach, we unravel the intrinsic characteristics of attention score sparsity and its implications on computational efficiency. Our main contribution lies in providing a detailed theoretical examination of how sparsity manifests in attention mechanisms, offering insights into the potential trade-offs between computational savings and model effectiveness. This work not only advances our understanding of sparse attention but also provides a scaffold for future research in optimizing the computational frameworks of LLMs, paving the way for more scalable and efficient AI systems.
[ -0.6578752398490906, -1.102967619895935, 0.7275846004486084, 0.4080196022987366, 0.22819411754608154, -0.27610912919044495, -0.42533057928085327, -0.2525806725025177, 0.0932331383228302, 0.24510788917541504, -0.6021705269813538, 0.08182202279567719, -0.9290754795074463, 0.037678662687540054, -0.5183649063110352, 0.9509539604187012, 0.05200299993157387, -0.3021892309188843, -0.33834463357925415, -0.1823834627866745, -0.29180118441581726, -0.4355345070362091, -0.5455847978591919, 0.01558034960180521, 0.8088443875312805, 0.1718667447566986, 0.9249093532562256, 0.6566529273986816, 0.7456648349761963, 0.3196486234664917, -0.11909893900156021, -0.16860967874526978, -1.1464372873306274, 0.2925757169723511, -0.010364480316638947, -0.31143513321876526, -0.24571828544139862, -0.09247371554374695, 0.9553207755088806, 0.9963768124580383, -0.12038921564817429, 0.29445013403892517, 0.6756652593612671, 0.4825548529624939, -0.5768464803695679, 0.1472264528274536, -0.5626327991485596, -0.08204419910907745, 0.014748919755220413, -0.17754842340946198, -0.2731679379940033, 0.07016273587942123, 0.12818622589111328, -0.5118755102157593, 0.6857767105102539, -0.12345264106988907, 0.9019567966461182, 0.7422273755073547, 0.3347419202327728, -0.021013006567955017, -0.8524053692817688, 0.8425819277763367, -0.24505507946014404, 0.3517496883869171, 0.2290743887424469, -0.03728458285331726, -0.0828808844089508, -0.35799163579940796, -0.26313358545303345, -0.24677561223506927, -0.03643841668963432, -0.20292584598064423, -0.6633491516113281, 0.18337973952293396, 0.3443329632282257, 0.4186551570892334, -0.5292432308197021, -0.22287778556346893, -0.20427930355072021, 0.25103136897087097, 0.4381289780139923, 0.47011423110961914, 0.16405613720417023, 0.43052172660827637, -0.131649911403656, 0.25219184160232544, -0.5491927266120911, -0.11734675616025925, 0.01853506825864315, 0.2714061439037323, -0.32147613167762756, 0.4440709054470062, 0.0037664223928004503, 0.8529168367385864, 0.4096495509147644, 0.16372019052505493, -0.3272983133792877, -0.15550602972507477, -0.3521399199962616, -0.5544266104698181, 0.6854474544525146, -0.06398586928844452, 0.4376460313796997, -0.5182836055755615, -0.15120232105255127, -0.07426635175943375, 0.5609158873558044, -0.5991653800010681, 0.0011462174588814378, 0.12166371941566467, -0.0987827256321907, -0.2385498285293579, -0.2903744876384735, -0.8553118705749512, -0.33895227313041687, -0.3398083448410034, 0.25655820965766907, -0.10251698642969131, -0.06928741931915283, -0.0995367243885994, 0.3073956072330475, -0.04481256380677223, 0.39856934547424316, -1.1154829263687134, 0.5799274444580078, 0.7397499680519104, 1.054049015045166, -0.32651081681251526, -0.24884115159511566, -0.5916447043418884, 0.026883414015173912, -0.29012131690979004, 0.6870157718658447, -0.6344983577728271, -0.16525913774967194, -0.12679989635944366, -0.2579808831214905, -0.569861114025116, -0.33647972345352173, 0.30238664150238037, -0.6479076147079468, -0.3693097233772278, -0.07956009358167648, -0.2867102026939392, -0.08583428710699081, 0.07576418668031693, -0.844876766204834, 1.1367889642715454, 0.40648213028907776, -0.3738061785697937, 0.010284360498189926, -0.42165595293045044, -0.5259406566619873, 0.24823492765426636, -0.04486846551299095, -0.22987128794193268, 0.5898364782333374, -0.09501741826534271, 0.695160448551178, -0.4953022301197052, 0.3750402331352234, -0.5027807950973511, -0.7792190909385681, 0.7371646165847778, -0.49866336584091187, 0.32534146308898926, 0.22615258395671844, -0.5102782845497131, -0.14176592230796814, -0.806475818157196, -0.1086021140217781, 0.0757531151175499, -0.35733768343925476, -0.09658389538526535, 0.053503960371017456, 0.303291916847229, 0.1208849772810936, -0.10541075468063354, -0.09373748302459717, -0.011330069042742252, -0.7296578884124756, 0.5870351791381836, 0.6588122844696045, -0.1206439733505249, 0.5306709408760071, -0.0027864056173712015, 0.6274207234382629, -0.5252403616905212, -0.027300167828798294, 0.16987667977809906, -0.23778179287910461, -0.9424115419387817, -0.6548569798469543, 0.22468341886997223, 0.2730898857116699, -0.05242765322327614, 0.26587358117103577, -0.3830261528491974, 0.0009317604708485305, -0.7449228763580322, 0.1675761491060257, 0.24695280194282532, 0.013027612119913101, 0.13000966608524323, -0.015436790883541107, -0.23403818905353546, -0.7829236388206482, -0.1748851090669632, 0.4305937886238098, -0.01692609116435051, 0.5546203255653381, 0.2717238962650299, -0.13627947866916656, 0.7793275117874146, -0.2922268807888031, -0.2259526252746582, -0.7517918348312378, -0.18167822062969208, 0.27426058053970337, 0.29793697595596313, 0.49999383091926575, -0.40961188077926636, -0.5126580595970154, -0.0225656870752573, -0.4229096472263336, -0.1788579225540161, -0.15623508393764496, -0.020206468179821968, 0.20987580716609955, 0.3687601685523987, -0.8904991745948792, 0.5406344532966614, 0.47676536440849304, 0.07042718678712845, 0.050071828067302704, -0.0471421554684639, 0.10418272763490677, -0.47560572624206543, 0.28317251801490784, 0.363369345664978, 0.02673392929136753, -0.9068892598152161, 0.27223142981529236, -0.1863839030265808, -0.36577627062797546, -0.09150683879852295, 0.47113579511642456, -0.5595278739929199, -0.2823401391506195, -0.40605098009109497, 0.32241252064704895, -0.044440459460020065, 1.0967999696731567, -0.19028082489967346, 0.8987265825271606, 0.3051968812942505, -0.5746826529502869, 0.06411169469356537, -0.2932162284851074, -0.10907068848609924, 0.4846804440021515, -1.1626681089401245, -0.020024172961711884, -0.1647835373878479, -0.32132455706596375, -1.4769558906555176, -0.23051875829696655, 0.19785740971565247, -0.525470495223999, 0.7000924944877625, -0.019991260021924973, -0.4682680368423462, -0.11492114514112473, -0.15468861162662506, 0.5265346169471741, 0.3139561414718628, -0.18468709290027618, 0.4658300578594208, 0.5340642333030701, -0.3888983428478241, -0.5258358716964722, -0.6701416373252869, 0.040539491921663284, -0.058794617652893066, -0.6738725900650024, 0.0911841168999672, 0.18657690286636353, -0.34346461296081543, 0.15236108005046844, 0.1988150030374527, -0.014679771848022938, 0.3838801383972168, 0.24385584890842438, 0.4001378118991852, -0.23003606498241425, -0.007325822953134775, -0.34492185711860657, -0.1734807789325714, 0.11423354595899582, 0.06480222195386887, 0.5756177306175232, -0.0071816835552453995, -0.2944135069847107, -0.5013753175735474, 0.5850064754486084, 0.7814343571662903, 0.024095075204968452, 0.6519308686256409, 0.33938249945640564, -0.3004749119281769, -0.2924403250217438, -0.8316591382026672, 0.06264142692089081, -0.4103005826473236, 0.9122223854064941, -0.2647801637649536, -1.161256194114685, 0.3927525281906128, 0.4511830806732178, -0.18356777727603912, 0.5116563439369202, 0.9002195000648499, 0.05385172367095947, 1.3191298246383667, 0.8962026834487915, -0.47548729181289673, 0.3568442463874817, -0.056727029383182526, 0.4043577015399933, -0.8931509256362915, 0.1351703256368637, -0.6842734813690186, -0.48444241285324097, -0.25716859102249146, -0.6022495031356812, 0.46463742852211, -0.26397451758384705, -0.15828552842140198, -0.22008377313613892, -0.6571474671363831, 0.5725041031837463, 0.22112822532653809, -0.2699146866798401, -0.2890586853027344, 0.18953774869441986, 0.23399050533771515, -0.14307957887649536, -1.052550196647644, -0.27651599049568176, 0.6830321550369263, 0.5865966081619263, 0.880767822265625, -0.14749306440353394, 0.08003061264753342, 0.22316645085811615, 0.15385736525058746, -0.8070173859596252, 0.4034966230392456, 0.2512879967689514, -0.37437936663627625, -0.44558998942375183, -0.436252623796463, -1.010818600654602, 0.3926711976528168, 0.016248146072030067, -0.8787928223609924, 0.18686677515506744, 0.13512270152568817, -0.6045824289321899, -0.05968364700675011, -0.6657548546791077, 0.9456117749214172, 0.06270227581262589, -1.014356255531311, -0.43476763367652893, -0.5280458331108093, 0.44415393471717834, 0.15394294261932373, 0.2842278778553009, -0.11146026104688644, -0.12589915096759796, 0.4299761652946472, -0.0720674991607666, 1.0453435182571411, -0.10332504659891129, 0.07176362723112106, 0.12159565836191177, 0.07402317970991135, 0.5705884695053101, 0.15084634721279144, 0.18822576105594635, 0.30107343196868896, -0.39511486887931824, -0.32379618287086487, -0.52508544921875, 0.838039755821228, -0.940108597278595, -0.518511950969696, -0.3548881709575653, -0.9249403476715088, -0.36271610856056213, -0.16364070773124695, 0.028435325250029564, 0.3649764060974121, -0.2198742777109146, -0.03415326401591301, 1.2487149238586426, -0.1408538669347763, 0.1344527304172516, 0.2456212043762207, 0.3429771363735199, -0.39499661326408386, 0.9524965882301331, 0.4596557021141052, 0.23219330608844757, 0.33696648478507996, -0.29485055804252625, -0.03526270017027855, -0.48980003595352173, -0.4621059000492096, 0.5335260629653931, -0.49509677290916443, -0.06329832226037979, -0.7789305448532104, -0.36208081245422363, -0.4258711636066437, -0.2809423804283142, -0.19831416010856628, -0.2857872247695923, -0.6203501224517822, 0.114987313747406, 0.13082516193389893, 0.8357923626899719, 0.10610880702733994, 0.21278832852840424, -0.5489622354507446, 0.33430376648902893, 0.12161415070295334, 0.5800443291664124, 0.6105064749717712, -0.892744243144989, -0.6522484421730042, -0.19397059082984924, -0.1692737638950348, -0.3792354166507721, 0.4946734607219696, 0.19946090877056122, 0.9162216782569885, 0.38632267713546753, -0.37573179602622986, 0.6614601016044617, -0.5243772864341736, 0.4802733063697815, -0.061197053641080856, -0.7788017392158508, 0.11672123521566391, -0.2357323318719864, 0.3779224157333374, 0.3906435966491699, 0.25310012698173523, -0.48694655299186707, -0.6993024349212646, -0.6128427982330322, -0.8282515406608582, 1.0497138500213623, 0.10358404368162155, 0.25994592905044556, 0.061395250260829926, 0.39783304929733276, 0.010351498611271381, 0.049633972346782684, -0.48967865109443665, -0.19840751588344574, 0.31214550137519836, -0.2932600677013397, -0.2268126904964447, -0.7544775009155273, -0.0839768797159195, -0.06183693930506706, 0.5638238787651062, 0.1508045792579651, 0.5161240696907043, 0.07325171679258347, -0.250057190656662, -0.25844940543174744, 0.23615984618663788, 0.9054173231124878, 0.23129191994667053, 0.08052629977464676, 0.1509333848953247, 0.12536072731018066, -0.5957823395729065, 0.0993463471531868, 0.11561476439237595, -0.2513796389102936, -0.13218997418880463, 0.26941752433776855, 0.9528387784957886, 0.5599251389503479, -0.5050973296165466, 0.49839577078819275, -0.0421045683324337, -0.23525094985961914, 0.08955257385969162, 0.09348908811807632, 0.03394922614097595, 0.19603514671325684, 0.37819209694862366, 0.1751786172389984, 0.26287075877189636, -0.03928883746266365, -0.08350154012441635, 0.6777001023292542, -0.44088757038116455, -0.40680763125419617, 0.6271337866783142, 0.12241081893444061, -0.14206601679325104, 0.26250752806663513, 0.18994061648845673, -0.38671112060546875, 0.5876436233520508, 0.36064037680625916, 0.9047348499298096, -0.13415713608264923, -0.1649164855480194, 0.2181592434644699, 0.480336993932724, 0.01882212981581688, -0.30223730206489563, -0.4406171143054962, -0.37619471549987793, -0.569857656955719, -0.709433913230896, -0.27832406759262085, 0.26312196254730225, -0.47533953189849854, 0.006289951503276825, -0.507305383682251, -0.17821678519248962, 0.1080714613199234, -0.16640985012054443, -0.5307510495185852, 0.06149042397737503, 0.36730000376701355, 0.3665303885936737, -0.653548002243042, 0.3188358247280121, 0.3301103115081787, -0.15489636361598969, -0.7449821829795837, -0.024472614750266075, -0.26643702387809753, -1.0520343780517578, 0.4736868739128113, 0.28168851137161255, -0.4354785978794098, 0.05152641981840134, -0.574226438999176, -1.4608304500579834, 0.36291807889938354, 0.5366103649139404, -0.5716994404792786, 0.10207130759954453, 0.43999868631362915, 0.6216921806335449, -0.13602927327156067, 0.17253270745277405, 0.7097721695899963, 0.12169888615608215, -0.005033893510699272, -0.5597850680351257, -0.015667028725147247, -0.4698057174682617, 0.34325554966926575, 0.3423722982406616, -0.7144296765327454, 0.7337431907653809, -0.2338913232088089, -0.43061563372612, -0.008587135002017021, 0.5747190713882446, 0.05416790395975113, 0.06871598213911057, -0.031622663140296936, 0.6319087743759155, 0.2814037799835205, -0.18786627054214478, 1.114886999130249, -0.5246572494506836, 0.4936000108718872, 0.4525778889656067, -0.45929083228111267, 0.41505375504493713, 0.6341419219970703, -0.6466678380966187, -0.08022193610668182, 0.3496578335762024, -0.15514960885047913, 0.5562382340431213, 0.4878939986228943, -0.09599650651216507, -0.08867520838975906, -0.0439150370657444, -0.21200114488601685, -0.08895370364189148, 0.5694260001182556, -0.34908196330070496, -0.06177578121423721, 0.15007279813289642, -0.12485348433256149, 0.022023752331733704, -0.45788389444351196, 0.8627039194107056, -0.08844120055437088, -0.7609289288520813, 0.9578432440757751, 0.004817009903490543, 0.5140438079833984, -0.43332797288894653, 0.031816232949495316, -0.23233503103256226, 0.4742785096168518, -0.08957073837518692, -0.4207705855369568, 0.34288692474365234, 0.17933285236358643, -0.6785538792610168, 0.026000645011663437, 0.698574423789978, -0.38012537360191345, -0.5876049995422363, 0.07564055919647217, 0.2199622094631195, 0.1538141518831253, -0.08635780215263367, -0.6224378943443298, 0.5254077911376953, -0.17892229557037354, -0.5093079209327698, 0.8101006746292114, 0.6786065697669983, 0.13897119462490082, 0.5680314898490906, 0.3675822913646698, 0.1865503489971161, 0.15121260285377502, 0.017587250098586082, 0.9455652832984924, -0.3034141957759857, -0.48747092485427856, -0.9237927198410034, 0.23799999058246613, 0.05690945312380791, -0.23830059170722961, 0.6584692001342773, 0.27917495369911194, 0.5317639708518982, -0.11839231848716736, 0.9506452679634094, 0.14523446559906006, 0.661823570728302, -0.11898312717676163, 0.6877608895301819, -0.41135329008102417, 0.2599123418331146, -0.3626970946788788, -0.7247331142425537, -0.5424232482910156, 0.7090132832527161, -0.3705161511898041, 0.1550198495388031, 0.46612346172332764, 0.9257035851478577, -0.01456774864345789, -0.1654331386089325, 0.5517972707748413, 0.045507654547691345, -0.18920840322971344, 0.8138880133628845, 0.9019089341163635, -0.1694948524236679, 0.47535911202430725, -0.16054482758045197, -0.32568663358688354, -0.5479035377502441, -0.28322795033454895, -0.8032891154289246, -0.3436780273914337, -0.1986171454191208, -0.1609322428703308, 0.2396257519721985, 0.6135274171829224, 0.4892922639846802, -0.7274232506752014, -0.2474067658185959, -0.2172422707080841, 0.02054249681532383, -0.3233688771724701, -0.29927781224250793, 0.3976191282272339, -0.7422760725021362, -0.6472810506820679, 0.11825836449861526, 0.6254945397377014, -0.05301378667354584, -0.4208958148956299, 0.04237046092748642, -0.046559832990169525, 0.3346787095069885, 0.5025428533554077, 0.26248493790626526, -0.7922351956367493, -0.008667640388011932, 0.22513844072818756, -0.6264582872390747, 0.04319686442613602, 0.868158757686615, -0.493254154920578, -0.04408011585474014, 0.3240387737751007, 1.0142967700958252, 0.3037627339363098, -0.06207839772105217, 0.5005340576171875, -0.6972368359565735, 0.27373120188713074, 0.3107924163341522, 0.23843812942504883, 0.21265462040901184, -0.7020856142044067, 0.48000460863113403, 0.4531313180923462, -0.8640982508659363, -1.0984035730361938, -0.2052871286869049, -1.0956966876983643, -0.07323287427425385, 1.311348795890808, -0.11134463548660278, -0.5822985172271729, -0.23072229325771332, -0.16181150078773499, -0.09298992902040482, -0.42973607778549194, 0.8869156241416931, 0.8238657712936401, -0.16452307999134064, -0.31252703070640564, -0.6515405178070068, 0.40225929021835327, 0.8027549386024475, -0.3988650143146515, 0.6559357047080994, 0.7012866735458374, -0.018291691318154335, 0.07389476895332336, 0.5679529905319214, 0.07361496239900589, 0.6092233657836914, 0.1557232290506363, 0.08575648814439774, 0.12968146800994873, -0.3024488687515259, -0.7742106318473816, 0.6513015627861023, 0.07179605960845947, 0.11874661594629288 ]
http://arxiv.org/abs/2404.02684v1
http://arxiv.org/pdf/2404.02684v1
Cross-Architecture Transfer Learning for Linear-Cost Inference Transformers
2024-04-03T12:27:36
2024-04-03T12:27:36
Sehyun Choi
cs.CL
cs.CL, cs.AI, cs.LG
Recently, multiple architectures has been proposed to improve the efficiency of the Transformer Language Models through changing the design of the self-attention block to have a linear-cost inference (LCI). A notable approach in this realm is the State-Space Machines (SSMs) architecture, which showed on-par performance on language modeling tasks with the self-attention transformers. However, such an architectural change requires a full pretraining of the weights from scratch, which incurs a huge cost to researchers and practitioners who want to use the new architectures. In the more traditional linear attention works, it has been proposed to approximate full attention with linear attention by swap-and-finetune framework. Motivated by this approach, we propose Cross-Architecture Transfer Learning (XATL), in which the weights of the shared components between LCI and self-attention-based transformers, such as layernorms, MLPs, input/output embeddings, are directly transferred to the new architecture from already pre-trained model parameters. We experimented the efficacy of the method on varying sizes and alternative attention architectures and show that \methodabbr significantly reduces the training time up to 2.5x times and converges to a better minimum with up to 2.6% stronger model on the LM benchmarks within the same compute budget.
[ -0.42058122158050537, -0.26658758521080017, 0.4896649420261383, 0.21088314056396484, 0.04148794338107109, -0.06444324553012848, -0.10818322747945786, -0.6418936252593994, 0.1686994582414627, 0.346937358379364, -0.6976544260978699, 0.022740203887224197, -0.45574310421943665, -0.47070935368537903, -0.48112744092941284, 0.5863416194915771, -0.19914337992668152, 0.030018405988812447, -0.11043161153793335, -0.25548607110977173, -0.29571473598480225, -0.33849263191223145, -0.6394403576850891, -0.2801806628704071, 0.5581988096237183, 0.2296200692653656, 0.6047601103782654, 0.5394203066825867, 0.2807258367538452, 0.26513198018074036, 0.23949293792247772, -0.11370410770177841, -0.5386132597923279, -0.4312414228916168, -0.5321773886680603, -0.6678212881088257, -0.3269438147544861, 0.1285504698753357, 0.5109959244728088, 0.6742532253265381, 0.03838535398244858, 0.5677028894424438, 0.16590212285518646, 0.7995325922966003, -0.8239911794662476, 0.2016453593969345, -0.5922502875328064, 0.40168142318725586, 0.11792410910129547, -0.09344038367271423, -0.752020537853241, -0.06627984344959259, 0.3295002579689026, -0.5388221740722656, 0.1750665009021759, 0.13113458454608917, 0.9057833552360535, 0.6529935598373413, -0.24260620772838593, -0.0802767351269722, -0.8709288835525513, 1.116373062133789, -0.42257216572761536, 0.7153262495994568, 0.04146086052060127, 0.33980533480644226, 0.4095565974712372, -0.926796019077301, -0.20390698313713074, -0.23469620943069458, -0.26044395565986633, 0.2740802764892578, -0.5669445991516113, -0.13014325499534607, 0.01874709501862526, 0.28384649753570557, -0.4067695736885071, 0.10350186377763748, -0.40995052456855774, -0.09030497074127197, 0.45873862504959106, -0.0169211458414793, 0.004195997957140207, 0.09164176136255264, -0.9112756848335266, -0.3013918101787567, -0.5853272080421448, -0.04392090067267418, -0.045656491070985794, 0.20174479484558105, -0.14201469719409943, 0.0010754828108474612, 0.1853766292333603, 0.25160273909568787, 0.45865651965141296, 0.4033512771129608, 0.3433745205402374, -0.5347475409507751, -0.4697425663471222, 0.19357259571552277, 0.5310916900634766, -0.0545831061899662, 0.20871123671531677, -0.3542601764202118, -0.05829008296132088, 0.07595442235469818, 0.6071458458900452, -0.6637548804283142, -0.2143649458885193, 0.14661630988121033, -0.7623803615570068, -0.026636607944965363, -0.2192215770483017, -0.726466178894043, 0.2429332584142685, -0.5244385004043579, 0.773723304271698, -0.3170183002948761, -0.07267165184020996, 0.24013003706932068, 0.3655780851840973, 0.5662637948989868, 0.23985962569713593, -0.6254074573516846, 0.4315597414970398, 0.30917423963546753, 0.7352022528648376, -0.456692099571228, -0.21160708367824554, -0.6035616993904114, 0.11470026522874832, -0.2181933969259262, 0.8193865418434143, -0.24523626267910004, -0.21299013495445251, -0.23947595059871674, -0.17288535833358765, -0.3962059020996094, -0.3830562233924866, 0.6288153529167175, -0.47292476892471313, 0.2812400460243225, 0.010052008554339409, -0.5566344857215881, 0.09955953061580658, -0.1166103184223175, -0.7767126560211182, 1.0656236410140991, 0.2084452360868454, -0.5224796533584595, 0.07395251840353012, -0.5550228953361511, -0.5867336392402649, -0.23929913341999054, -0.11580240726470947, -0.6481605768203735, 0.15352016687393188, 0.26117590069770813, 0.5043081641197205, -0.35951855778694153, -0.0334734208881855, -0.44501611590385437, -0.14359843730926514, 0.06193951889872551, -0.3456428050994873, 0.6337893009185791, 0.4996589124202728, -0.6938892006874084, 0.21534030139446259, -0.8813319206237793, 0.09264855086803436, -0.03157402202486992, -0.08694402128458023, -0.28115496039390564, -0.24240219593048096, 0.12082641571760178, 0.5205854773521423, 0.21660496294498444, -0.4460742175579071, -0.059270117431879044, -0.3243332803249359, 0.21919536590576172, 0.7592811584472656, -0.5459580421447754, 0.9256839156150818, -0.28625690937042236, 0.6223493218421936, 0.031308773905038834, 0.21177463233470917, 0.05462586134672165, -0.03502846136689186, -0.9590672850608826, -0.227092444896698, 0.38709813356399536, 0.398356556892395, -0.6396264433860779, 0.3791772723197937, -0.3134508430957794, -0.5033549666404724, -0.8105148673057556, -0.03995464742183685, 0.66717129945755, 0.5344209671020508, 0.6577931642532349, -0.03571626916527748, -0.5890691876411438, -0.9759576916694641, -0.1643504500389099, 0.0702698677778244, 0.006098725367337465, 0.5262680053710938, 0.21247123181819916, 0.00831141509115696, 0.7045868635177612, -0.44694891571998596, -0.5797885656356812, -0.35754913091659546, 0.07074712961912155, -0.04179832711815834, 0.5065091848373413, 0.7965206503868103, -0.43022051453590393, -0.7113924026489258, 0.06817859411239624, -0.25441181659698486, -0.20440733432769775, -0.502662718296051, -0.2635144293308258, 0.327597439289093, 0.6486372351646423, -0.7042049765586853, 0.518742024898529, 0.8717382550239563, -0.20946036279201508, 0.44526100158691406, -0.22446390986442566, -0.19203001260757446, -1.2384132146835327, 0.12614202499389648, 0.12665830552577972, -0.3279258906841278, -0.533270537853241, -0.05841454491019249, 0.20861098170280457, 0.00105260219424963, -0.6378962993621826, 0.9114887714385986, -0.7199053764343262, -0.42948275804519653, -0.12338395416736603, 0.00819731131196022, 0.03091544099152088, 0.9703463315963745, 0.03235957771539688, 0.8324524760246277, 0.5690156817436218, -0.4763161242008209, -0.12263412773609161, 0.08686748892068863, -0.25178971886634827, 0.42924585938453674, -0.5685510039329529, 0.11177465319633484, 0.07849416881799698, 0.32670289278030396, -1.1634507179260254, 0.5989888310432434, 0.31607672572135925, -0.1915992796421051, 0.346829891204834, -0.08738505840301514, 0.03808891773223877, -0.13685566186904907, -0.2495698481798172, 0.6080431342124939, 0.5622547268867493, -0.8420301079750061, 1.2081369161605835, 0.13871312141418457, 0.17807897925376892, -0.5430011749267578, -0.9233524203300476, -0.20935310423374176, 0.027207957580685616, -0.4421692490577698, 0.6200543642044067, 0.04402340203523636, 0.14940224587917328, 0.407505601644516, -0.41089221835136414, -0.03892405703663826, -0.08438760042190552, 0.09909314662218094, 0.2786238491535187, -0.6888325810432434, 0.0607939176261425, -0.06713647395372391, -0.3549431562423706, 0.1399601548910141, -0.7069326639175415, 0.6032121777534485, -0.14388401806354523, -0.5022637844085693, -0.7188100218772888, 0.16119788587093353, 0.4637811779975891, -0.5256295800209045, 0.5468711853027344, 0.6942811012268066, -0.05591781809926033, -0.4486009180545807, -0.5295949578285217, 0.007896768860518932, -0.4301469326019287, 0.5863222479820251, -0.48288199305534363, -0.639055609703064, 0.4305969774723053, -0.039108917117118835, 0.08910375833511353, 0.4346979260444641, 0.564643383026123, 0.08649555593729019, 0.835728645324707, 0.4213375151157379, -0.5284425020217896, 0.7779188752174377, -0.3576768934726715, 0.08789152652025223, -0.6441720724105835, 0.027925867587327957, -0.5742910504341125, -0.8676517605781555, -0.23592214286327362, -0.8023625612258911, -0.047275248914957047, -0.4375567138195038, -0.1533123403787613, 0.5130541920661926, -0.22294573485851288, 0.394419401884079, 0.5971682071685791, 0.2038281261920929, 0.12538650631904602, 0.20063985884189606, 0.17079247534275055, 0.16137659549713135, -0.8887515068054199, 0.04488827660679817, 1.0588825941085815, 0.32654279470443726, 1.0446274280548096, -0.0194527730345726, 0.5710574984550476, 0.389631986618042, 0.3235243558883667, -0.6959642171859741, 0.4507060647010803, -0.3862224817276001, -0.24124084413051605, -0.25143957138061523, -0.776176393032074, -1.053536295890808, 0.25296318531036377, 0.009429085068404675, -0.6012656688690186, 0.5563250780105591, 0.3327559232711792, -0.41524189710617065, 0.5606606006622314, -0.7999154925346375, 0.6687230467796326, -0.5132413506507874, -0.33496809005737305, -0.6772885918617249, -0.6742009520530701, 0.21811699867248535, -0.0268624909222126, -0.08110249787569046, 0.07828685641288757, -0.01813087798655033, 0.44907188415527344, -0.06496261060237885, 0.8851133584976196, -0.09024820476770401, -0.1874833106994629, 0.014375421218574047, 0.18037782609462738, 0.449179470539093, -0.2430243045091629, -0.0014668244402855635, 0.3796330690383911, -0.152807354927063, -0.5728375911712646, -0.6666551828384399, 0.6070767641067505, -1.0500991344451904, -0.4610976576805115, -0.055369697511196136, -0.8215639591217041, -0.2141367495059967, 0.14378422498703003, -0.04097842797636986, 0.5562744140625, -0.1274855136871338, 0.13761413097381592, 0.9743412137031555, -0.09793626517057419, 0.3344646990299225, 0.23778997361660004, -0.11854914575815201, -0.17429615557193756, 0.7975293397903442, -0.06456081569194794, 0.5698261260986328, 0.832786500453949, 0.21510110795497894, -0.30739933252334595, -0.2874557375907898, -0.3309529423713684, 0.16721196472644806, -0.5694140195846558, -0.2135297805070877, -0.7102000713348389, -0.5150187611579895, -0.2838270664215088, -0.16725103557109833, -0.9241603016853333, -0.5898457765579224, -0.34312519431114197, 0.05006249248981476, -0.06364934146404266, 0.21765537559986115, -0.06690961867570877, 0.3074136972427368, -0.83262038230896, 0.4092050790786743, 0.19912785291671753, 0.3674568831920624, 0.38624000549316406, -0.9034619927406311, -0.4383467435836792, -0.10950625687837601, -0.04737190529704094, -0.2920950949192047, 0.2496337890625, 0.3996375799179077, 0.8113574981689453, 0.5265438556671143, 0.11523880064487457, 0.7780082821846008, -0.48956117033958435, 0.2646460235118866, 0.19081886112689972, -1.0498619079589844, 0.1463901698589325, 0.4736115336418152, 0.3881756067276001, 0.41197142004966736, 0.3946693241596222, -0.17799222469329834, -0.07665298134088516, -0.5924676060676575, -0.6126241683959961, 1.016132116317749, 0.23093289136886597, 0.09967141598463058, 0.4373170733451843, 0.3063802123069763, 0.004437739960849285, -0.35789355635643005, -0.6131041049957275, -0.5287504196166992, -0.1459774672985077, -0.41716188192367554, 0.032353680580854416, -0.020646492019295692, 0.1744520217180252, -0.22347840666770935, 0.7939903736114502, -0.12450923770666122, 0.3967709541320801, 0.3410821557044983, -0.45095372200012207, -0.00870735663920641, 0.20497125387191772, 0.5036333203315735, 0.4705670177936554, -0.02743109129369259, 0.2691737711429596, 0.2914099097251892, -0.0932793915271759, 0.19848299026489258, 0.25202882289886475, 0.0070357671938836575, -0.18050020933151245, 0.19457174837589264, 1.19563889503479, 0.6634914875030518, -0.42718034982681274, 0.42314139008522034, -0.2894747257232666, -0.5213316679000854, -0.07553892582654953, -0.02360331267118454, 0.11259280145168304, 0.5646081566810608, 0.18053768575191498, 0.3298415243625641, 0.06024015322327614, -0.22965744137763977, 0.47255855798721313, 0.45489922165870667, -0.622462809085846, -0.47066599130630493, 0.719142735004425, 0.24801675975322723, -0.17245948314666748, 0.3244308829307556, 0.22898352146148682, -0.3789253830909729, 0.5264868140220642, 0.5418520569801331, 1.120841383934021, -0.37795233726501465, 0.1920747309923172, 0.10225096344947815, 0.2265661060810089, 0.09572384506464005, 0.0040117776952683926, -0.3807438313961029, -0.7811877727508545, -0.6720319390296936, -0.5324113965034485, -0.17863015830516815, 0.031014559790492058, -0.8084210157394409, 0.20663408935070038, -0.4612131118774414, 0.14524057507514954, -0.091569684445858, -0.11637867987155914, -0.7863743305206299, 0.06602002680301666, 0.6253064274787903, 1.0579332113265991, -0.8178113102912903, 1.0322026014328003, 0.5100218057632446, -0.2725439667701721, -0.8346428871154785, -0.07450230419635773, -0.41121843457221985, -1.0481187105178833, 0.7601150870323181, 0.02599131502211094, -0.4659930169582367, 0.23539088666439056, -0.08294352144002914, -1.288081407546997, 0.9748373031616211, 0.5621286034584045, -0.7792366743087769, -0.3231939971446991, 0.3783680200576782, 0.4295300245285034, -0.41954484581947327, 0.2116856873035431, 0.45665404200553894, 0.21254552900791168, 0.15728625655174255, -0.7987464666366577, 0.08246389031410217, -0.02212372049689293, -0.015342987142503262, 0.32979556918144226, -0.764946460723877, 0.8701603412628174, -0.11383642256259918, -0.3362277150154114, 0.10314066708087921, 1.091633915901184, -0.042790770530700684, 0.1364704817533493, 0.8370338678359985, 0.7533908486366272, 0.37124794721603394, 0.346114844083786, 0.9833895564079285, -0.680798351764679, 0.6644226312637329, 1.338517189025879, -0.5118707418441772, 0.8161316514015198, 0.6437370181083679, -0.27782702445983887, 0.4636395275592804, 0.291984498500824, -0.07904955744743347, 0.5557830333709717, -0.03009353019297123, 0.18239828944206238, -0.359904944896698, 0.16416306793689728, -0.27164000272750854, 0.249074786901474, 0.12141423672437668, -0.47388139367103577, -0.43582233786582947, 0.05156312137842178, -0.1530974805355072, -0.2613486349582672, -0.3887322247028351, 0.6628879904747009, 0.19678150117397308, -0.5365414619445801, 0.4525825083255768, -0.45039233565330505, 0.5020518898963928, -0.7160884141921997, 0.08439567685127258, -0.3160538971424103, 0.7274044752120972, -0.02707832306623459, -0.5588349103927612, 0.39535292983055115, -0.5311158299446106, -0.27980533242225647, -0.5419352054595947, 0.7825861573219299, -0.5716671347618103, -0.6324287056922913, 0.6672301888465881, 0.4836706817150116, -0.11246941238641739, -0.07111190259456635, -0.9145225882530212, -0.17659248411655426, 0.15178056061267853, -0.3537391126155853, 0.5306232571601868, 0.16630198061466217, -0.09821414202451706, 0.8069074749946594, 0.5892369747161865, 0.09058767557144165, 0.4016381502151489, 0.16235488653182983, 0.8090031147003174, -0.4707516133785248, -0.6309677958488464, -0.6876527070999146, 0.36146530508995056, 0.1074027270078659, -0.051809489727020264, 0.49436917901039124, 0.5365858674049377, 1.0887213945388794, -0.20549285411834717, 0.5690534114837646, 0.08835144340991974, 0.2546916902065277, -0.6132372617721558, 0.6812087893486023, -0.8388090133666992, 0.14314152300357819, -0.14748907089233398, -0.970337450504303, -0.07761405408382416, 0.40383782982826233, -0.2316170334815979, -0.015171091072261333, 0.771124005317688, 0.719357967376709, -0.5555070042610168, -0.2238120436668396, 0.4898797869682312, 0.21047021448612213, 0.13423608243465424, 0.833926796913147, 0.6511073708534241, -0.5252286195755005, 0.9215297102928162, -0.44317519664764404, -0.0675385594367981, -0.15089917182922363, -0.6378909945487976, -0.8294277191162109, -0.3824905753135681, -0.4377112090587616, -0.21728909015655518, -0.025018926709890366, 0.882979154586792, 0.9479658007621765, -0.912581205368042, -0.34906667470932007, 0.09287738800048828, -0.1236511841416359, -0.4735734760761261, -0.1931406706571579, 0.7794419527053833, -0.5969013571739197, -0.7420527935028076, 0.1380128413438797, 0.3123401701450348, -0.25965359807014465, -0.47827979922294617, -0.03131914138793945, -0.33538195490837097, 0.2736128866672516, 0.6200806498527527, 0.250900536775589, -0.7285893559455872, -0.34931161999702454, 0.04547244682908058, -0.20584848523139954, 0.4614967405796051, 0.9328537583351135, -0.9424473643302917, -0.0286120492964983, 0.40534454584121704, 1.3662385940551758, 0.7712059020996094, -0.06244100630283356, 0.4595378041267395, -0.765789270401001, 0.1525084227323532, -0.10948201268911362, 0.5884161591529846, -0.0419074222445488, -0.3895738422870636, 0.4016958475112915, 0.11161673814058304, -0.5112731456756592, -0.4085198938846588, 0.1467990130186081, -1.0485703945159912, -0.3417833149433136, 0.864264726638794, -0.17928652465343475, -0.6907632350921631, 0.07225583493709564, -0.20606419444084167, 0.27655187249183655, -0.2382209151983261, 0.839927613735199, 0.12554101645946503, -0.15385878086090088, -0.47320348024368286, -0.0677945613861084, 0.2338402420282364, 0.9879834651947021, -0.9441898465156555, 0.1691218763589859, 0.1173357293009758, 0.21079134941101074, 0.37479788064956665, 0.16263726353645325, 0.08300851285457611, 0.2502346634864807, -0.20906326174736023, 0.46803730726242065, 0.147992342710495, -0.28680238127708435, -0.2850363254547119, 0.026675883680582047, -0.4327157139778137, -0.4265950620174408 ]
http://arxiv.org/abs/2404.02681v1
http://arxiv.org/pdf/2404.02681v1
PejorativITy: Disambiguating Pejorative Epithets to Improve Misogyny Detection in Italian Tweets
2024-04-03T12:24:48
2024-04-03T12:24:48
Arianna Muti, Federico Ruggeri, Cagri Toraman, Lorenzo Musetti, Samuel Algherini, Silvia Ronchi, Gianmarco Saretto, Caterina Zapparoli, Alberto Barrón-Cedeño
cs.CL
cs.CL, cs.AI
Misogyny is often expressed through figurative language. Some neutral words can assume a negative connotation when functioning as pejorative epithets. Disambiguating the meaning of such terms might help the detection of misogyny. In order to address such task, we present PejorativITy, a novel corpus of 1,200 manually annotated Italian tweets for pejorative language at the word level and misogyny at the sentence level. We evaluate the impact of injecting information about disambiguated words into a model targeting misogyny detection. In particular, we explore two different approaches for injection: concatenation of pejorative information and substitution of ambiguous words with univocal terms. Our experimental results, both on our corpus and on two popular benchmarks on Italian tweets, show that both approaches lead to a major classification improvement, indicating that word sense disambiguation is a promising preliminary step for misogyny detection. Furthermore, we investigate LLMs' understanding of pejorative epithets by means of contextual word embeddings analysis and prompting.
[ -0.026164378970861435, -1.1118940114974976, 0.45846372842788696, 0.22782999277114868, -0.5950140953063965, 0.1818470060825348, -0.06980761140584946, -0.3391326367855072, 0.170762836933136, 0.13798260688781738, -0.10863009095191956, -0.4554722011089325, -0.7910195589065552, 0.24855756759643555, -0.7923176288604736, 0.9827522039413452, 0.07449512183666229, 0.3266509771347046, -0.1763879656791687, 0.007311877328902483, -0.40948161482810974, -0.3971653878688812, -0.26347091794013977, -0.18249353766441345, 0.5385226607322693, 0.06186677888035774, 0.6099891662597656, 0.26147204637527466, 0.29444581270217896, 0.3705504834651947, -0.2596445083618164, 0.3361978828907013, -0.49156948924064636, 0.2692742645740509, -0.5299131870269775, -0.47247737646102905, -0.09730110317468643, 0.24869513511657715, 0.35959550738334656, 0.8291099071502686, -0.10279804468154907, -0.045887723565101624, 0.07048317044973373, 0.44776374101638794, -0.7539393901824951, -0.003513393457978964, -0.863161563873291, -0.004898098297417164, -0.6108010411262512, -0.2075137495994568, -0.10855945944786072, -0.22300098836421967, -0.12994246184825897, -0.41523200273513794, 0.05644789710640907, -0.055886875838041306, 0.5454447865486145, 0.2341836541891098, -0.3808959424495697, -0.2997359037399292, -0.6703619956970215, 0.8657320737838745, -0.5897823572158813, 0.22381852567195892, 0.3114526867866516, 0.013059332966804504, -0.222100168466568, -0.2455153465270996, -0.37841907143592834, -0.41767576336860657, -0.24725846946239471, -0.16561110317707062, -0.4351632297039032, -0.2127629518508911, 0.17927606403827667, 0.20223204791545868, -0.2287156879901886, -0.021361328661441803, -0.18721315264701843, -0.14623719453811646, 0.6281301379203796, -0.2667880952358246, 0.3632657825946808, 0.0011672794353216887, -0.3489179313182831, 0.5261344313621521, -0.6732468008995056, -0.4377753436565399, 0.7527891397476196, 0.3170487880706787, 0.2202332466840744, 0.504568338394165, 0.056629765778779984, 0.39328551292419434, 0.2772190570831299, -0.25194990634918213, 0.3325759768486023, -0.21278488636016846, -0.19071616232395172, 0.35098353028297424, 0.6905262470245361, 0.25710171461105347, 0.21220093965530396, -0.38877594470977783, 0.004236514680087566, 0.34916359186172485, 0.4262050688266754, -0.5603721737861633, -0.12480471283197403, 0.01801450364291668, -0.23306137323379517, -0.7464998960494995, 0.022601740434765816, -0.6273733973503113, -0.6035171151161194, 0.00006848261546110734, 0.37345898151397705, -0.36857688426971436, -0.3197994530200958, -0.16834306716918945, -0.5781481862068176, -0.15056541562080383, 0.5773123502731323, -0.6417836546897888, -0.02734428644180298, 0.44695091247558594, 0.37543243169784546, 0.05105731263756752, 0.1205533817410469, -0.36822161078453064, 0.2983192503452301, -0.3979150056838989, 0.7263132333755493, -0.8496613502502441, -0.3561631143093109, 0.06978252530097961, -0.15531185269355774, -0.14716310799121857, -0.6383333206176758, 0.5701244473457336, 0.040167905390262604, 0.43294212222099304, 0.08666206896305084, -0.5451092720031738, -0.18035121262073517, 0.38010674715042114, -0.2264147698879242, 1.1544803380966187, 0.035367872565984726, -0.8047420978546143, 0.296099990606308, -0.5080657005310059, -0.4623875319957733, 0.15305127203464508, -0.2010495811700821, -0.34997326135635376, 0.361160010099411, 0.01160610094666481, 0.4509175717830658, -0.05093877762556076, 0.6657971739768982, -0.45247212052345276, -0.46065059304237366, 0.3463308811187744, -0.2264138162136078, 0.6501450538635254, -0.03016422502696514, -0.5691014528274536, -0.2195039987564087, -0.3602876663208008, -0.39248740673065186, -0.03455834090709686, 0.06029555946588516, -1.0454219579696655, 0.05393565446138382, -0.04721812531352043, -0.26700612902641296, 0.23714007437229156, -0.48880404233932495, 0.04790567234158516, -0.3844622075557709, 0.41263967752456665, 0.5515676140785217, -0.1081959679722786, 0.46434271335601807, -0.03874412551522255, 0.3421610891819, 0.2775452733039856, 0.2483551800251007, 0.16932347416877747, -0.46111997961997986, -0.4969257712364197, -0.05012671649456024, 0.21294131875038147, 0.4652372896671295, -0.933258593082428, 0.3797086179256439, 0.11404551565647125, -0.6147322654724121, -0.09606538712978363, 0.2014489471912384, 0.6656078696250916, 0.4220835566520691, 0.3795357942581177, -0.020235510542988777, -0.4819626808166504, -1.1342322826385498, -0.9104958176612854, -0.4587494432926178, 0.2332647293806076, 0.24583303928375244, 0.6636918187141418, -0.08175883442163467, 0.5712875723838806, -0.03123818337917328, -0.28587397933006287, -0.0941997841000557, 0.3275769352912903, 0.04734040051698685, 0.43168458342552185, 0.8040091395378113, -1.1765820980072021, -0.17105074226856232, -0.026421574875712395, -0.472451388835907, -0.3332177698612213, 0.168172687292099, -0.4202698767185211, -0.12355795502662659, 0.4546481668949127, -0.28713536262512207, 0.5938222408294678, 0.25464046001434326, -0.4766032099723816, 0.526142954826355, 0.35610833764076233, 0.23586469888687134, -1.0081355571746826, -0.024095330387353897, 0.2765946686267853, -0.2960859537124634, -0.7114822268486023, -0.12659099698066711, -0.2585979104042053, 0.34678399562835693, -0.7102048397064209, 0.5306077003479004, -0.3482498526573181, 0.036760903894901276, 0.024456268176436424, 0.18110987544059753, -0.16370265185832977, 0.07156138122081757, -0.2420497089624405, 0.7776581645011902, 0.2583767771720886, -0.5642467141151428, 0.4445367753505707, 0.19145327806472778, 0.094081811606884, 0.5875698924064636, -0.3349079489707947, 0.08463842421770096, -0.21154260635375977, 0.16616034507751465, -1.1434499025344849, -0.20303741097450256, 0.8549096584320068, -0.4013742208480835, 0.20120345056056976, -0.29566723108291626, -0.691137969493866, -0.28781020641326904, -0.40048855543136597, 0.5020051598548889, -0.0844983458518982, -0.2574082016944885, 0.3439469635486603, 0.4700642228126526, 0.19105695188045502, -0.5451087355613708, -0.7864943146705627, 0.0516529306769371, -0.525364875793457, -0.13585485517978668, 0.8388791084289551, 0.03750667721033096, -0.6126143336296082, -0.17972849309444427, -0.07030309736728668, -0.2995105981826782, 0.20531225204467773, 0.03803641349077225, 0.28440722823143005, 0.3195688724517822, 0.6763831973075867, 0.4740215837955475, 0.35825327038764954, -0.19709539413452148, -0.13064691424369812, 0.4310974180698395, 0.11472417414188385, -0.0006347860908135772, -0.3335331082344055, 0.4560571312904358, 0.3054250180721283, 0.0823836475610733, 0.7872505187988281, 0.9078407287597656, -0.5176174640655518, 0.01934547908604145, -0.5079348087310791, -0.14625082910060883, -0.35603204369544983, 0.20224516093730927, -0.22646036744117737, -0.7910147905349731, 0.21228919923305511, -0.26922279596328735, -0.2802557051181793, 0.3364494740962982, 0.47202399373054504, -0.2911103665828705, 0.955422580242157, 0.576532781124115, -0.06575103849172592, 0.6599258184432983, 0.012837561778724194, 0.33652353286743164, -0.6406286358833313, -0.14856083691120148, -0.74278724193573, -0.4256832003593445, -0.8760736584663391, -0.43801265954971313, 0.23470619320869446, 0.32697612047195435, -0.26583296060562134, 0.31644296646118164, -0.624722957611084, 0.26952242851257324, 0.11660648882389069, 0.3031434416770935, 0.3960346579551697, 0.032403405755758286, 0.0745629295706749, -0.2905149459838867, -0.5387933850288391, -0.7763097882270813, 0.7654069662094116, 0.10602660477161407, 0.6133224964141846, 0.3424646258354187, 0.7951693534851074, 0.440155565738678, 0.7551348805427551, -0.7348559498786926, 0.4276411533355713, -0.48705780506134033, -0.9119779467582703, 0.09231594949960709, -0.3821682035923004, -0.734320878982544, 0.04727314040064812, -0.1724221408367157, -1.0047248601913452, 0.3492478132247925, 0.21051545441150665, -0.02247743122279644, 0.33876702189445496, -0.5904951095581055, 0.74644535779953, -0.22947828471660614, -0.5458077788352966, -0.0993489995598793, -0.19540667533874512, 0.40531280636787415, 0.046300437301397324, 0.4488302171230316, -0.3090514540672302, -0.5801440477371216, 0.6456239223480225, -0.28576159477233887, 1.0468244552612305, -0.2607312500476837, -0.2666693925857544, -0.12178423255681992, 0.13604314625263214, 0.1945938766002655, -0.0653609037399292, -0.23012596368789673, 0.4214341938495636, -0.22054438292980194, -0.27888432145118713, -0.2851075530052185, 0.6244359016418457, -0.27302154898643494, -0.6522340178489685, -0.3916042447090149, -0.37464573979377747, -0.2906627357006073, 0.06397446990013123, 0.28384461998939514, 0.15830357372760773, -0.24974727630615234, 0.09579875320196152, 0.42844000458717346, -0.2852201759815216, 0.2729323208332062, 0.07656119018793106, -0.162736177444458, -0.03711586818099022, 0.48309001326560974, 0.013371145352721214, -0.05035287141799927, 0.4449424147605896, 0.14677762985229492, -0.3989101052284241, -0.35607799887657166, -0.5183436274528503, 0.2810596227645874, -0.07619315385818481, -0.35124844312667847, -0.44965723156929016, 0.2940986752510071, -0.38751155138015747, -0.11655072122812271, -0.3820878863334656, -0.29175665974617004, -0.45424720644950867, 0.09913171082735062, 0.39780792593955994, 0.4926254451274872, 0.21174931526184082, 0.329186350107193, -0.49729180335998535, 0.13897615671157837, -0.02456405758857727, 0.03313222900032997, -0.38175204396247864, -0.5884094834327698, -0.09107623249292374, 0.16983503103256226, -0.5352634787559509, -1.3420764207839966, 0.5840306878089905, 0.20171862840652466, 0.5602861046791077, 0.6634735465049744, 0.03252609446644783, 0.837552547454834, -0.1807480901479721, 0.8093605041503906, 0.5626934170722961, -1.0694934129714966, 1.0356113910675049, -0.6250569820404053, -0.1782665252685547, 0.4328344166278839, 0.4681698977947235, -0.3406870663166046, -0.8168411254882812, -0.645279586315155, -0.6846861839294434, 0.2969311475753784, 0.3644140362739563, 0.5040984749794006, -0.3191019296646118, 0.4308134913444519, 0.2902914583683014, 0.7646721005439758, -0.727575421333313, -0.3848954141139984, 0.03756863623857498, -0.02384859323501587, 0.03342640399932861, -0.3436294496059418, -0.3678628206253052, -0.37305235862731934, 0.7571167349815369, 0.02017390914261341, 0.48376190662384033, 0.17216643691062927, -0.3465827405452728, 0.09053124487400055, 0.36639660596847534, 0.43517211079597473, 0.6859394311904907, -0.051973067224025726, 0.04142475873231888, 0.021331369876861572, -0.23844948410987854, 0.11331183463335037, 0.2082493007183075, -0.2727528512477875, 0.6909328699111938, 0.2776488959789276, 0.6051385998725891, 0.4441579282283783, -0.5397300720214844, 0.5103622674942017, 0.2655968964099884, -0.021658597514033318, -0.4750095009803772, 0.03880992531776428, -0.04640790820121765, 0.28405749797821045, 0.6387929916381836, 0.0834701657295227, 0.424646258354187, -1.0593039989471436, -0.1895170956850052, 0.38598060607910156, -0.3652779161930084, -0.032002028077840805, 0.6271079182624817, 0.2765098512172699, -0.10465778410434723, 0.046520818024873734, -0.30331820249557495, -0.9342761635780334, 0.3890068829059601, 0.23890210688114166, 0.6594331860542297, -0.5404399037361145, 0.4299694001674652, 0.3199579119682312, 0.08122912049293518, 0.15792880952358246, -0.018978824838995934, -0.24991539120674133, -1.060422420501709, -0.12297414243221283, -0.5474808216094971, -0.08807580173015594, -0.1119060069322586, -0.45636990666389465, 0.2876860797405243, -0.3951382339000702, -0.36403653025627136, 0.24496197700500488, -0.130794957280159, -0.32169467210769653, -0.02167174220085144, 0.31620287895202637, 0.5547952651977539, -0.9754286408424377, 0.7501698732376099, 1.0429447889328003, -0.3661561906337738, -0.6570232510566711, 0.15487709641456604, 0.16949808597564697, -0.39963075518608093, 0.8341753482818604, 0.3677408695220947, -0.013045181520283222, -0.16519658267498016, -0.6106044054031372, -0.3004342019557953, 0.9886447191238403, 0.5798985362052917, -0.7269781827926636, -0.09540670365095139, -0.16819804906845093, 0.5093385577201843, -0.6234068274497986, 0.41946831345558167, 0.607038140296936, 0.74956876039505, -0.08594119548797607, -1.0925655364990234, -0.12889154255390167, -0.2928878366947174, 0.2514568567276001, 0.301874041557312, -0.38973721861839294, 0.6894493103027344, -0.03409261628985405, -0.2585557699203491, 0.2855534851551056, 0.33194321393966675, 0.08075594156980515, 0.7037596702575684, 0.6372277736663818, 0.532006561756134, 0.6753828525543213, -0.4668027460575104, 0.9440495371818542, 0.13069947063922882, 0.38443800806999207, 0.9075151681900024, 0.024698711931705475, 0.5543734431266785, 0.9255788326263428, -0.39131176471710205, 0.6955932974815369, 0.6722837090492249, 0.04545189440250397, 0.23716747760772705, 0.205608069896698, -0.6032047271728516, -0.30671653151512146, -0.689121425151825, -0.41071170568466187, 0.6580419540405273, 0.48944342136383057, -0.8162829279899597, -0.41272425651550293, 0.3821163773536682, 0.5844737887382507, 0.3649705648422241, -0.419070839881897, 0.5715113282203674, -0.06163659691810608, -0.3431578278541565, 0.28397440910339355, 0.035931140184402466, 0.9036063551902771, -0.14360180497169495, -0.22183695435523987, -0.2973998486995697, 0.06449276953935623, -0.3984443247318268, -0.43836161494255066, 0.3631424009799957, 0.2741956114768982, -0.056950632482767105, -0.25574418902397156, 0.8660922050476074, -0.6832192540168762, -0.559087872505188, 0.40892931818962097, 0.7251324653625488, 0.4232601225376129, -0.34186574816703796, -0.8726069331169128, 0.015760047361254692, 0.10952191054821014, 0.17873485386371613, 0.2045496553182602, 0.4082064926624298, -0.011830947361886501, 0.4198809564113617, 0.7292285561561584, 0.04881389066576958, -0.027075866237282753, 0.21892832219600677, 0.9735075831413269, -0.2940543591976166, -0.04203109070658684, -1.0283737182617188, 0.4439457952976227, -0.40364569425582886, -0.3092525005340576, 0.8010947704315186, 0.3992100954055786, 0.8126591444015503, -0.018078593537211418, 0.46720796823501587, -0.40294209122657776, 0.660724937915802, -0.07004346698522568, 0.4291442036628723, -0.8540668487548828, 0.3709983229637146, -0.46430665254592896, -0.8650334477424622, -0.4616125226020813, 0.7255887985229492, -0.6983038187026978, 0.10435639321804047, 0.4187399744987488, 0.9119221568107605, -0.006288446485996246, -0.10279523581266403, 0.5142175555229187, 0.5435087084770203, -0.06803533434867859, 0.2267783135175705, 0.863861620426178, -0.5751534700393677, 0.45612356066703796, -0.3562021553516388, -0.20772437751293182, -0.4924798011779785, -0.901013970375061, -0.7402915358543396, -0.4383544921875, -0.6375748515129089, -0.3378663957118988, 0.5635650157928467, 0.6707749962806702, 0.5825958847999573, -0.5710277557373047, 0.011595814488828182, -0.29088062047958374, 0.32896482944488525, -0.11331955343484879, -0.31839850544929504, -0.14089921116828918, -0.17286597192287445, -1.254522442817688, 0.26975613832473755, 0.1787772923707962, -0.2755005359649658, -0.2696308493614197, 0.1554604470729828, -0.4420280456542969, -0.05279092490673065, 0.6387473344802856, -0.22080476582050323, -0.6886373162269592, -0.28908243775367737, -0.46114110946655273, -0.007045283913612366, -0.2865496277809143, 0.6669675707817078, -0.6653622388839722, 0.34032395482063293, 0.335999995470047, 0.1519993543624878, 0.20208293199539185, 0.2259155958890915, 0.5476506352424622, -0.7359175086021423, 0.32429200410842896, 0.5057786703109741, 0.37298718094825745, 0.43337929248809814, -0.6074213981628418, 0.5410118103027344, 0.7712114453315735, 0.04485112428665161, -0.9063031673431396, 0.20537050068378448, -0.7818909883499146, -0.44506534934043884, 1.0672529935836792, -0.20203551650047302, -0.2916587293148041, -0.028787055984139442, -0.17830102145671844, 0.29348376393318176, -0.6978837847709656, 0.886391818523407, 0.8192429542541504, -0.1475045382976532, -0.15757963061332703, -0.3799527883529663, 0.24415068328380585, 0.3992481529712677, -0.6457251906394958, -0.22100766003131866, 0.6268301010131836, 0.1545855551958084, 0.31433311104774475, 0.2141616940498352, -0.34085729718208313, 0.38054221868515015, -0.2559751570224762, -0.05994540452957153, 0.010488731786608696, -0.11129043251276016, 0.11997657269239426, -0.13950134813785553, -0.4827744662761688, -0.28096646070480347 ]
http://arxiv.org/abs/2404.02677v2
http://arxiv.org/pdf/2404.02677v2
The VoicePrivacy 2024 Challenge Evaluation Plan
2024-04-03T12:20:51
2024-06-12T14:05:43
Natalia Tomashenko, Xiaoxiao Miao, Pierre Champion, Sarina Meyer, Xin Wang, Emmanuel Vincent, Michele Panariello, Nicholas Evans, Junichi Yamagishi, Massimiliano Todisco
eess.AS
eess.AS, cs.CL, cs.CR
The task of the challenge is to develop a voice anonymization system for speech data which conceals the speaker's voice identity while protecting linguistic content and emotional states. The organizers provide development and evaluation datasets and evaluation scripts, as well as baseline anonymization systems and a list of training resources formed on the basis of the participants' requests. Participants apply their developed anonymization systems, run evaluation scripts and submit evaluation results and anonymized speech data to the organizers. Results will be presented at a workshop held in conjunction with Interspeech 2024 to which all participants are invited to present their challenge systems and to submit additional workshop papers.
[ -0.4836888015270233, -0.21613425016403198, 0.13693813979625702, 0.4973468780517578, -0.0554581843316555, 0.33283334970474243, -0.14472611248493195, -0.6064677834510803, 0.253422349691391, 0.8585116267204285, -1.3192600011825562, -0.4618741273880005, -0.39589735865592957, 0.18816730380058289, -0.6085283160209656, 0.8952423930168152, 0.27767738699913025, 0.14531230926513672, -0.22267724573612213, -0.08504991233348846, -0.5795560479164124, -0.762338399887085, -0.3166363835334778, -0.2356361746788025, 0.2530297338962555, 0.641357958316803, 0.3196592926979065, 0.7305883765220642, 0.3877405524253845, 0.36994221806526184, -0.04871492460370064, -0.25042614340782166, -0.32094138860702515, 0.15886062383651733, -0.1636667251586914, -0.3695511221885681, -0.28888338804244995, 0.2323535680770874, 0.540088951587677, 0.601600706577301, -0.5369468331336975, 0.36809712648391724, -0.2712738811969757, 0.3260330557823181, -0.7144384384155273, 0.2052902728319168, -0.5497523546218872, 0.22972193360328674, -0.6031120419502258, -0.19258585572242737, -0.279599666595459, -0.4157581627368927, 0.06724467128515244, -0.38113275170326233, 0.22928732633590698, 0.2515181303024292, 0.8675124645233154, 0.27020952105522156, 0.13030855357646942, -0.5328313708305359, -0.9212197661399841, 0.7617565989494324, -0.5721957683563232, 0.2655690908432007, 0.2909072935581207, 0.44212695956230164, 0.014079535380005836, -0.7553701996803284, -0.7724032998085022, 0.01597016677260399, 0.31857144832611084, 0.2162502408027649, -0.526323139667511, 0.19024509191513062, 0.11437837034463882, 0.24180389940738678, -0.5388676524162292, 0.20424506068229675, -0.4135594964027405, -0.28317075967788696, 0.9073812961578369, 0.2924400568008423, 0.4058079421520233, -0.11751506477594376, -0.6497266888618469, -0.026936108246445656, -0.33363333344459534, -0.21233625710010529, 1.0502464771270752, 0.4087296724319458, -0.08219901472330093, 0.56391441822052, -0.28156381845474243, 0.1659240871667862, 0.06300303339958191, -0.030494922772049904, 0.7101094722747803, -0.5935467481613159, 0.07761862128973007, 0.2810767889022827, 0.5586044788360596, 0.10091372579336166, -0.007538917008787394, -0.2414160817861557, -0.13600093126296997, 0.008275292813777924, 0.41170257329940796, -0.7432210445404053, -0.11573217064142227, 0.3506132960319519, -0.5034756660461426, -0.12485992163419724, 0.07505269348621368, -1.0367484092712402, -0.4546107351779938, -0.4321030080318451, 0.6290088295936584, -0.19738136231899261, -0.4139678478240967, -0.010717946104705334, -0.3052056133747101, 0.08846712112426758, 0.31939420104026794, -1.0270590782165527, 0.8994894623756409, 0.716672420501709, 0.4883645176887512, -0.38687142729759216, -0.2887510657310486, -0.47508060932159424, -0.01045983750373125, -0.15938149392604828, 0.8408047556877136, -0.7671331763267517, -0.47431811690330505, -0.15861760079860687, 0.37844008207321167, -0.24501334130764008, -0.975580632686615, 0.7465831637382507, 0.07545027881860733, 0.13557812571525574, -0.396190881729126, -0.6381999254226685, -0.007317548617720604, -0.3013708293437958, -0.5503093004226685, 0.7170075178146362, -0.18120478093624115, -0.6643668413162231, 0.23949240148067474, -0.9569780826568604, -0.011513273231685162, 0.6269292235374451, -0.08029238879680634, -0.5778771042823792, -0.19620124995708466, 0.17004668712615967, 0.13007843494415283, 0.06714005023241043, 0.08528430759906769, -0.15801134705543518, -0.5354679822921753, 0.11017252504825592, -0.31581270694732666, 1.0860503911972046, 0.23136623203754425, -0.7163395285606384, 0.49366769194602966, -0.9249080419540405, 0.0811767503619194, 0.1384284347295761, -0.036171380430459976, 0.3692709803581238, -0.10040580481290817, -0.013810955919325352, -0.15505702793598175, 0.17680929601192474, -0.9399558305740356, -0.05505841597914696, -0.5344986915588379, 0.37509435415267944, 0.755530059337616, 0.3493429720401764, 0.35427042841911316, -0.081283338367939, 1.0811117887496948, -0.27942559123039246, 0.4717387855052948, -0.13970637321472168, -0.46763473749160767, -0.7023613452911377, -0.2325645536184311, 0.25113946199417114, 0.856073260307312, -0.37189966440200806, 0.3630087077617645, 0.018656766042113304, -0.750767171382904, -0.6141477227210999, -0.00033666944364085793, 0.3660257160663605, 0.36679592728614807, 0.19049058854579926, -0.3755587041378021, -0.8887603282928467, -1.203712821006775, -0.3158973753452301, -0.010855172760784626, -0.08718324452638626, 0.2589370906352997, 0.5348525047302246, -0.007565397769212723, 0.5783330202102661, 0.10144062340259552, -0.5347017049789429, -0.41473910212516785, 0.32933688163757324, -0.10321074724197388, 0.7384767532348633, 0.44512754678726196, -1.0744035243988037, -0.15037041902542114, -0.4204111695289612, -0.2406046837568283, -0.5132454037666321, 0.21088676154613495, 0.0980185717344284, -0.20175080001354218, 0.39718854427337646, -0.26684102416038513, 0.737517774105072, 0.7301278114318848, -0.39415812492370605, 0.4948633313179016, 0.03913455829024315, 0.30873310565948486, -0.5403665900230408, 0.09877660125494003, -0.5492702126502991, 0.04182131588459015, -0.7538869380950928, -0.3829360008239746, -0.3579006493091583, -0.8672876358032227, -0.3533957898616791, 0.15678459405899048, -0.25733575224876404, -0.3407106399536133, -0.11373468488454819, 0.08406940847635269, -0.17635849118232727, 0.19140766561031342, -0.18633976578712463, 0.824010968208313, 0.3679015040397644, -0.3816238045692444, 0.7391481399536133, 0.5809213519096375, -0.32412320375442505, 0.6897377967834473, -0.47861453890800476, 0.5592751502990723, -0.13082604110240936, 0.12997114658355713, -0.9761708974838257, -0.31576672196388245, 0.08704499900341034, -0.8931298851966858, 0.03349572420120239, 0.12270841747522354, -0.30530667304992676, -0.3397124409675598, 0.05690835043787956, 0.18867434561252594, 0.20731773972511292, -0.5842733979225159, 0.47283706068992615, 0.8845251798629761, -0.4782216548919678, -0.6584786176681519, -0.5525585412979126, 0.6910862326622009, -0.5824381113052368, -0.3616373836994171, 0.6939256191253662, -0.25164440274238586, -0.11165868490934372, 0.16485632956027985, 0.26686882972717285, -0.21091575920581818, 0.07637186348438263, 0.5579829812049866, -0.14948293566703796, 0.33916324377059937, -0.008256262168288231, -0.33551761507987976, -0.24310670793056488, 0.3355555832386017, -0.15155944228172302, 0.5257694125175476, -0.11640124022960663, -0.2628554403781891, -0.9712325930595398, 0.8416575193405151, 0.10904306918382645, -0.43494224548339844, 0.2982355058193207, 0.7104445099830627, -0.6283342242240906, -0.2844119668006897, -0.6440314650535583, -0.06628137081861496, -0.47857487201690674, 0.3863356411457062, -0.21088597178459167, -0.8154188394546509, 0.6710339784622192, -0.31002211570739746, -0.06497646123170853, 0.1767759770154953, 0.7812121510505676, 0.10510065406560898, 1.2171443700790405, 0.837064266204834, 0.2741778790950775, 0.3355884552001953, 0.0767103061079979, 0.29013046622276306, -0.3544638752937317, -0.8878480792045593, -0.9550099968910217, -0.16139498353004456, -0.43216896057128906, -0.39254695177078247, 0.2864728569984436, -0.3214554190635681, 0.050517767667770386, 0.4152124226093292, -0.7350311875343323, 0.33734580874443054, 0.708918035030365, -0.11162686347961426, -0.15576325356960297, -0.37486112117767334, 0.27662280201911926, -0.47069594264030457, -0.4086073935031891, -0.4453326165676117, 0.7884550094604492, 0.36516329646110535, 0.1754152923822403, -0.02946350909769535, 0.9181150794029236, 0.2999410033226013, -0.11439314484596252, -0.5739889740943909, 0.7270326018333435, -0.021607043221592903, -0.7137675881385803, -0.4972887635231018, -0.17129231989383698, -0.946157693862915, -0.02251441963016987, -0.1933024674654007, -1.2000313997268677, 0.49227049946784973, -0.0546543188393116, 0.026011915877461433, 0.05777311697602272, -0.5891920924186707, 0.8888739347457886, 0.077003113925457, 0.042656321078538895, -0.13029387593269348, -0.6164873838424683, 0.0994400754570961, 0.07659471780061722, 0.2439451515674591, -0.36531391739845276, -0.006481836549937725, 1.2135964632034302, -0.5550461411476135, 0.6616883277893066, -0.7326091527938843, 0.4184662699699402, 0.3595831096172333, -0.4001438617706299, 0.25317609310150146, -0.1375296413898468, -0.20429198443889618, 0.03304169327020645, 0.013593676500022411, -0.35948532819747925, -0.5685721635818481, 0.44469988346099854, -0.32109108567237854, -0.5078484416007996, -0.1307835876941681, -0.29865774512290955, -0.39754340052604675, 0.2597012221813202, 0.41961297392845154, 0.23495365679264069, -0.29496973752975464, 0.4383987784385681, 0.5532333254814148, -0.37132006883621216, 0.47298839688301086, 0.3666249215602875, 0.2682659327983856, -0.661053478717804, 0.7902430295944214, 0.3298611342906952, -0.04755404219031334, -0.0766751617193222, 0.22897695004940033, -0.500291645526886, -0.6665792465209961, -0.3175771236419678, -0.0600053034722805, -0.7747887372970581, -0.12585477530956268, -0.5461552739143372, -0.20967626571655273, -0.4947933256626129, 0.32821303606033325, -0.7381559610366821, -0.41653943061828613, -0.041220586746931076, -0.2644388973712921, -0.11028362810611725, 1.0663248300552368, -0.34590062499046326, 0.07710006833076477, -0.0848303809762001, 0.22512079775333405, 0.1994166523218155, 0.11877879500389099, -0.4096986949443817, -0.29796257615089417, -0.18160587549209595, -0.39235633611679077, -0.2623702585697174, -0.8746486306190491, 0.38262996077537537, 0.2664376199245453, 0.750887393951416, -0.019696470350027084, 0.2632092237472534, 0.8119853138923645, -0.5648412108421326, 1.0540868043899536, 0.029273340478539467, -1.4368504285812378, 0.9645129442214966, -0.05533338710665703, 0.12054632604122162, 0.7125654220581055, 0.09853833168745041, -0.1034940630197525, -0.5607441067695618, -0.8247249722480774, -1.0742969512939453, 0.5960894823074341, 0.49557608366012573, 0.3489580750465393, 0.3079650104045868, 0.581308901309967, -0.12509895861148834, 0.4758744239807129, -0.5679199695587158, -0.176170215010643, -0.3127525746822357, -0.08110275864601135, 0.30247849225997925, -0.4018637239933014, -0.33432161808013916, -0.21486741304397583, 0.36244168877601624, 0.1569797545671463, 0.44471949338912964, 0.12090078741312027, 0.7322335839271545, -0.1006397008895874, 0.3274654150009155, 0.7353081703186035, 0.7431506514549255, -0.021545758470892906, -0.09781590104103088, 0.32264041900634766, -0.6638977527618408, 0.2615460455417633, 0.09082253277301788, 0.20914621651172638, 0.17264696955680847, 0.5277484059333801, 1.091951608657837, 0.15997913479804993, -0.7703800201416016, 0.9088137745857239, -0.35201287269592285, -0.6544346213340759, -0.8446670770645142, 0.04992437735199928, 0.00482369726523757, 0.39659562706947327, 0.5127098560333252, -0.06308741122484207, 0.5373968482017517, -0.4815513491630554, 0.33006778359413147, 0.167952761054039, -0.4656974673271179, -0.45999929308891296, 0.9611117839813232, 0.04258454591035843, -0.6104204058647156, 0.07844176143407822, -0.17891408503055573, -0.79886794090271, 0.6004056930541992, 0.5561897158622742, 1.0060851573944092, -0.9197785258293152, -0.005259442608803511, 0.291833758354187, 0.38232293725013733, 0.3153150677680969, 0.6384996771812439, 0.04045882076025009, -0.3155898451805115, -0.18804550170898438, -0.4596911370754242, -0.9536108374595642, 0.36036673188209534, -0.9673611521720886, 0.43872931599617004, -0.580021321773529, -0.09396815299987793, 0.16187231242656708, 0.11686111241579056, -0.5841814875602722, 0.4871571660041809, 0.20866625010967255, 0.6986014246940613, -0.8584381937980652, 0.5894392728805542, 0.24308300018310547, 0.09253844618797302, -0.9560896158218384, -0.16655699908733368, 0.29695841670036316, -0.6037022471427917, 0.7952919006347656, 0.166910782456398, -0.2638416588306427, -0.1507117599248886, -0.5430614352226257, -0.839349627494812, 0.9902074337005615, 0.6663089990615845, -0.42885634303092957, 0.1861879527568817, 0.17739169299602509, 0.37634754180908203, -0.6588112711906433, -0.18386584520339966, 0.536844789981842, 0.8145705461502075, 0.06497553735971451, -1.2696189880371094, -0.2442878633737564, -0.4609731435775757, -0.11523008346557617, -0.2947133481502533, -0.5237399935722351, 0.8335331678390503, -0.10885653644800186, -0.7621974349021912, 0.30587291717529297, 0.5310582518577576, 0.016199979931116104, 0.28783687949180603, 0.8459485173225403, 0.4211033880710602, 0.9438202977180481, -0.22178849577903748, 0.684013843536377, 0.013284227810800076, 0.15038973093032837, 1.1493144035339355, -0.2831647992134094, 0.7492932081222534, 0.289661705493927, -0.19495642185211182, 0.49032527208328247, 0.3822897672653198, -0.15015161037445068, 0.5654510259628296, 0.5121973156929016, -0.4543288052082062, -0.01341848261654377, -0.5584567785263062, -0.19998790323734283, 1.102590799331665, 0.36735793948173523, 0.13061951100826263, 0.09303653985261917, 0.492014080286026, 0.0015666928375139832, 0.45302408933639526, 0.054616715759038925, 1.0642644166946411, -0.300100177526474, -0.4847477078437805, 0.5303924083709717, -0.0930214449763298, 0.09945154190063477, -0.4936791658401489, -0.23766905069351196, 0.19464699923992157, 0.23853304982185364, -0.44282853603363037, -0.31580647826194763, 0.4776833653450012, 0.15079548954963684, 0.15069366991519928, -0.24897289276123047, 0.5305938124656677, -0.4082021117210388, -0.11226239055395126, 0.4850219488143921, -0.1454842984676361, 0.20818579196929932, 0.03629213199019432, -0.8856822848320007, 0.6167887449264526, -0.019443310797214508, -0.26312255859375, 0.2028476744890213, 0.30014005303382874, 0.19752365350723267, 0.8218438029289246, 0.31789863109588623, 0.5099424719810486, 0.08988746255636215, 0.37128257751464844, 0.8309023976325989, -0.4950902462005615, -0.8931904435157776, -0.4332055151462555, 0.29368695616722107, -0.3265267610549927, -0.2446071207523346, 0.862596869468689, 0.7441034317016602, 0.6193410158157349, 0.28187260031700134, 0.7975004315376282, 0.11273933202028275, 1.2032620906829834, -0.32496178150177, 0.45622196793556213, -0.29265037178993225, 0.3111589550971985, -0.4726330637931824, -0.828784167766571, -0.10780727118253708, 0.377653568983078, -0.023665526881814003, -0.12447590380907059, 0.382431298494339, 0.6286101341247559, 0.37559470534324646, 0.27541521191596985, 0.2848796546459198, -0.06262260675430298, 0.4549773931503296, 0.467410147190094, 0.7630465030670166, -0.3516191840171814, 0.5646584033966064, -0.7078576683998108, -0.3987460434436798, -0.060953184962272644, -0.8237525820732117, -0.6364272236824036, -0.8713210821151733, -0.2938734292984009, -0.2537623643875122, 0.24964886903762817, 0.4584815502166748, 0.9652320742607117, -0.9157277345657349, -0.46753573417663574, -0.07684534043073654, -0.3709902763366699, -0.1732138693332672, -0.30155399441719055, 0.04415162652730942, -0.14801988005638123, -1.2377021312713623, 0.9058573842048645, 0.6234459280967712, -0.08568370342254639, -0.5006203651428223, 0.0927906259894371, 0.07472418993711472, 0.25882747769355774, -0.05966132879257202, 0.3260640799999237, -0.8198612332344055, -0.6544415950775146, -0.1730547398328781, 0.48945218324661255, -0.1316278874874115, 0.7595556974411011, -0.5221876502037048, 0.8338053822517395, 0.10489735007286072, 0.504912793636322, 0.6184769868850708, 0.37660905718803406, 0.6300321221351624, -0.7384657859802246, 0.7016490697860718, 0.8823055624961853, -0.04985104501247406, 0.30701568722724915, -0.47147104144096375, 0.3950774073600769, 0.18108774721622467, -0.6610475778579712, -1.2528327703475952, 0.26057198643684387, -0.8524898290634155, 0.08865159004926682, 0.6843892931938171, -0.45726731419563293, -0.1463516503572464, -0.29561835527420044, -0.1308606117963791, 0.07784201204776764, -0.13036896288394928, 0.4072199761867523, 0.7396035194396973, -0.5831754207611084, -0.5080432295799255, -0.8854023814201355, 0.8602300882339478, 0.37945470213890076, -1.0081753730773926, 0.21565742790699005, -0.021949199959635735, 0.20919524133205414, 0.2150692492723465, 0.786090612411499, -0.5395509600639343, 0.295773983001709, 0.28498733043670654, 0.1525300294160843, 0.04201411455869675, -0.518291175365448, -0.429089218378067, 0.48484304547309875, -0.21060524880886078, -0.4018956124782562 ]
http://arxiv.org/abs/2404.02657v2
http://arxiv.org/pdf/2404.02657v2
Rethinking Kullback-Leibler Divergence in Knowledge Distillation for Large Language Models
2024-04-03T11:40:17
2024-06-16T14:32:48
Taiqiang Wu, Chaofan Tao, Jiahao Wang, Zhe Zhao, Ngai Wong
cs.CL
cs.CL, cs.AI
Kullback-Leiber divergence has been widely used in Knowledge Distillation (KD) to compress Large Language Models (LLMs). Contrary to prior assertions that reverse Kullback-Leibler (RKL) divergence is mode-seeking and thus preferable over the mean-seeking forward Kullback-Leibler (FKL) divergence, this study empirically and theoretically demonstrates that neither mode-seeking nor mean-seeking properties manifest in KD for LLMs. Instead, RKL and FKL are found to share the same optimization objective and both converge after a sufficient number of epochs. However, due to practical constraints, LLMs are seldom trained for such an extensive number of epochs. Meanwhile, we further find that RKL focuses on the tail part of the distributions, while FKL focuses on the head part at the beginning epochs. Consequently, we propose a simple yet effective Adaptive Kullback-Leiber (AKL) divergence method, which adaptively allocates weights to combine FKL and RKL. Metric-based and GPT-4-based evaluations demonstrate that the proposed AKL outperforms the baselines across various tasks and improves the diversity and quality of generated responses.
[ -0.40474504232406616, -0.5945882201194763, 0.7360582947731018, 0.16818562150001526, -0.4907241463661194, 0.32441797852516174, -0.5704620480537415, -0.18411585688591003, 0.17524684965610504, 0.21776331961154938, -0.43697792291641235, -0.43137866258621216, -0.7813407778739929, 0.14853009581565857, -0.09228602796792984, 1.0664914846420288, 0.1284051090478897, -0.2430068850517273, -0.10880664736032486, -0.3521270751953125, -0.41979071497917175, -0.30597415566444397, -0.5416271686553955, -0.49138060212135315, 0.6200283169746399, 0.25236204266548157, 0.4848387837409973, 0.31099411845207214, 0.26713261008262634, 0.1966244876384735, -0.49437645077705383, 0.02153370901942253, -0.579452395439148, 0.5277848839759827, 0.09567601978778839, -0.5014733076095581, -0.20722515881061554, -0.08819694072008133, 0.7157161831855774, 0.8493914604187012, -0.4287091791629791, -0.16720668971538544, 0.3001523017883301, 1.2632908821105957, -1.0170063972473145, 0.3127024471759796, -0.516800045967102, 0.10484039783477783, -0.07041174173355103, -0.012432032264769077, -0.4940832555294037, -0.1510428488254547, 0.41844192147254944, -0.6227971911430359, 0.07746754586696625, -0.08607611060142517, 0.40566664934158325, 0.24713413417339325, -0.3376998007297516, -0.41349032521247864, -0.9312422871589661, 1.0226478576660156, -0.9930263161659241, 0.9784875512123108, 0.32116469740867615, 0.4029310941696167, -0.041461315006017685, -0.36271339654922485, -0.4660477042198181, -0.3089446425437927, 0.020977705717086792, 0.22830688953399658, -0.30823513865470886, -0.09453099220991135, 0.11630526930093765, 0.23520885407924652, -0.33221936225891113, 0.2730879485607147, -0.31847280263900757, -0.07335545867681503, 0.46968692541122437, 0.15509742498397827, -0.4264911413192749, 0.2875446081161499, -0.15364880859851837, -0.2782735526561737, -0.6718165874481201, 0.21302750706672668, 0.2436012476682663, 0.27671322226524353, -0.16684065759181976, 0.24827592074871063, -0.5052868723869324, 0.6660263538360596, 0.2640001177787781, -0.678232729434967, 0.2374049425125122, -0.1696518510580063, -0.16232922673225403, 0.05059079825878143, 0.6012011170387268, 0.40339821577072144, 0.13655152916908264, -0.20974430441856384, -0.29351118206977844, -0.5108931660652161, 0.01951264590024948, -0.7806519269943237, -0.28513509035110474, 0.26416143774986267, -0.47186338901519775, -0.2926782965660095, -0.16648396849632263, -0.8513516783714294, -0.4086833596229553, -0.22710829973220825, 0.29405269026756287, -0.2731195390224457, -0.5526741743087769, 0.25985246896743774, -0.25490090250968933, 0.28057995438575745, 0.18444883823394775, -0.9142426252365112, 0.04940907284617424, 0.7093273997306824, 0.8428396582603455, -0.25543394684791565, -0.2697996497154236, -0.32532334327697754, -0.04541890695691109, -0.3840070068836212, 0.7130104303359985, -0.38523033261299133, -0.4949333369731903, -0.07899586856365204, -0.19249945878982544, 0.02834295853972435, -0.7477166652679443, 0.3988828659057617, -0.909607470035553, 0.08470968157052994, -0.3925905227661133, -0.6006320118904114, -0.3197033405303955, 0.35095322132110596, -0.7795554399490356, 0.5991458892822266, 0.05082818493247032, -0.7244120836257935, 0.8342742919921875, -0.5720312595367432, -0.3446448743343353, -0.03574112430214882, -0.17000818252563477, -0.6887767910957336, 0.28540271520614624, 0.10028139501810074, 0.48162293434143066, -0.39472874999046326, 0.15154731273651123, -0.4897947311401367, -0.14990554749965668, 0.24102187156677246, -0.32630687952041626, 0.7783385515213013, 0.19145062565803528, -0.1678641438484192, -0.3408665955066681, -0.5141830444335938, -0.11122673004865646, 0.10185039788484573, -0.8260491490364075, -0.6408591270446777, 0.384175568819046, -0.32650837302207947, -0.24708382785320282, -0.03261015936732292, -0.40445756912231445, 0.29331615567207336, -0.3546063005924225, 0.27863451838493347, 0.6995432376861572, -0.03906318172812462, 0.733762800693512, -0.36032548546791077, 0.43277058005332947, 0.4640255272388458, 0.04358942061662674, 0.025344641879200935, -0.1911342740058899, -0.605002760887146, -0.287485271692276, 0.3530275821685791, 0.2222646027803421, -0.5448651313781738, 0.4610583484172821, -0.42110002040863037, -0.603687047958374, -0.5376331210136414, 0.1259489804506302, 0.034933727234601974, 0.4875938594341278, 0.3655284643173218, -0.07875754684209824, -0.3984754681587219, -0.7699751853942871, -0.10539616644382477, -0.4212181866168976, 0.043564654886722565, 0.3785783052444458, 0.1807296872138977, 0.024985799565911293, 1.0726112127304077, -0.5857969522476196, -0.2837532162666321, -0.17414724826812744, -0.02146473154425621, 0.4351063370704651, 0.22940149903297424, 0.5437379479408264, -0.8343873620033264, -0.8283523917198181, 0.19197465479373932, -0.6770949363708496, -0.2825773358345032, 0.05225095525383949, 0.18695750832557678, 0.47564035654067993, 0.3963511288166046, -0.7436587810516357, 0.15309134125709534, 0.5507292151451111, -0.13731949031352997, 0.9038199782371521, -0.1364942342042923, 0.02515328861773014, -1.04154372215271, 0.12731219828128815, -0.2460969239473343, -0.11135151237249374, -0.6374936103820801, 0.16414345800876617, 0.22895818948745728, 0.34351202845573425, -0.227806955575943, 0.442607581615448, -0.6599228382110596, 0.08614417165517807, -0.4397340416908264, -0.019924631342291832, 0.00863645039498806, 0.13634784519672394, 0.03768755868077278, 0.41389229893684387, 0.7154473066329956, -0.7186199426651001, 0.38361960649490356, -0.2071964144706726, -0.3368227183818817, 0.6187073588371277, -0.41498738527297974, 0.1414124220609665, -0.40791720151901245, 0.42589282989501953, -0.6514723300933838, 0.222782164812088, 0.1912933737039566, -0.18202942609786987, 0.4061216115951538, -0.4683297872543335, -0.06350463628768921, -0.19022893905639648, -0.47955256700515747, 0.4925644099712372, 0.8912124633789062, -0.5419549345970154, 0.8332728743553162, 0.05683540925383568, -0.21301645040512085, -0.7932654619216919, -0.5054978132247925, -0.07191397249698639, -0.7258543968200684, -0.3853088617324829, 0.17957176268100739, -0.2569958567619324, -0.4708884358406067, 0.03722768649458885, -0.3632509708404541, 0.015328551642596722, 0.17903341352939606, -0.2012277990579605, 0.1853598803281784, -0.36105793714523315, 0.0765804648399353, 0.13947972655296326, -0.008633437566459179, -0.06061740592122078, -0.6737005710601807, 0.5427118539810181, 0.3064870238304138, -0.20043212175369263, -0.13014021515846252, 0.35515281558036804, 0.7021257281303406, 0.11454803496599197, 0.8383527398109436, 0.5290053486824036, 0.0046368930488824844, -0.31548476219177246, -0.7500685453414917, -0.35288575291633606, -0.4470269978046417, 0.31689295172691345, -0.3344738185405731, -1.120093822479248, 0.6415267586708069, -0.06343536823987961, 0.222431018948555, 0.20684099197387695, 0.7581019997596741, -0.08500123023986816, 0.6305961012840271, 0.746816098690033, -0.39646244049072266, 0.28634655475616455, -0.24832287430763245, 0.3040759563446045, -0.8996308445930481, 0.0015578244347125292, -0.38678961992263794, -0.3887048661708832, -0.46027252078056335, -0.14960260689258575, 0.3822041153907776, 0.5650153756141663, 0.07454248517751694, 0.08108251541852951, -0.20329704880714417, 0.6240714192390442, 0.46084198355674744, -0.23769262433052063, 0.5277820825576782, -0.07337693870067596, -0.17884080111980438, -0.055018100887537, -0.6802928447723389, -0.014577670954167843, 1.1106330156326294, 0.17486567795276642, 1.2094666957855225, 0.2843431830406189, 0.8634573817253113, 0.2634586989879608, 0.11626670509576797, -0.9362604022026062, 0.2868099510669708, -0.1605330854654312, -0.30468836426734924, -0.3274696171283722, -0.4648689925670624, -0.8935070037841797, 0.3181930482387543, 0.0059789870865643024, -0.6004739999771118, 0.31229716539382935, 0.19541160762310028, -0.4089764356613159, 0.2918172776699066, -0.5262813568115234, 0.433220773935318, 0.0938078835606575, 0.07286293059587479, -0.28513583540916443, -0.5003073215484619, 0.1966094672679901, -0.55092853307724, 0.2309354543685913, -0.1136707216501236, -0.05133862420916557, 0.6886656284332275, -0.18463905155658722, 0.7246478199958801, -0.5395984649658203, -0.37843915820121765, 0.2076742947101593, 0.26860401034355164, 0.5413174033164978, 0.0972490981221199, 0.14767000079154968, 0.043708138167858124, -0.040286291390657425, -0.270487517118454, -0.7694063186645508, 0.6894514560699463, -0.6328055262565613, -0.8319528698921204, -0.10791220515966415, -0.6631033420562744, -0.06609717756509781, 0.21225664019584656, 0.03813980147242546, 0.23264071345329285, 0.030151421204209328, 0.5389395952224731, 0.5928964018821716, -0.03490351885557175, 0.5826501250267029, 0.9551893472671509, -0.2202092558145523, -0.21974937617778778, 0.661227822303772, 0.23608854413032532, 0.6257352232933044, 0.30422458052635193, 0.5183255076408386, -0.44363826513290405, -0.7143595218658447, -0.283003568649292, 0.17763389647006989, -0.6197996735572815, -0.3580906391143799, -0.6448274254798889, -0.18786843121051788, -0.6079498529434204, -0.1806027591228485, -0.5137299299240112, -0.3225080966949463, -0.0967453196644783, 0.24577675759792328, 0.4587368965148926, 0.40954166650772095, -0.3629536032676697, 0.16446776688098907, -0.695382833480835, -0.05103928595781326, 0.35033974051475525, 0.26562562584877014, 0.2694678008556366, -0.680116593837738, -0.3733881413936615, 0.21665310859680176, -0.16086678206920624, -0.6410097479820251, 0.2787106931209564, 0.5108712315559387, 0.587723433971405, 0.4502250850200653, 0.3310377895832062, 0.4555274546146393, -0.46494942903518677, 0.5213340520858765, 0.0651981309056282, -0.3810567855834961, 0.20133483409881592, -0.06003652513027191, 0.6126412153244019, 0.3832266926765442, 0.5743630528450012, -0.7796783447265625, -0.5242311358451843, -0.22369594871997833, -0.7323279976844788, 0.5080490112304688, -0.07310230284929276, 0.006142972037196159, 0.16589663922786713, 0.22724610567092896, 0.3279031217098236, 0.007529876660555601, -0.6829193234443665, -0.1707027405500412, 0.0815226137638092, -0.09889236837625504, -0.0855589210987091, -0.28015458583831787, -0.04346535727381706, 0.009596283547580242, 0.727345883846283, -0.22432084381580353, 0.16897110641002655, 0.11685257405042648, -0.11897644400596619, -0.03696584701538086, 0.3934042155742645, 0.42043620347976685, 0.4386664628982544, -0.2561945617198944, 0.2825474143028259, 0.12613613903522491, -0.6836758255958557, 0.33340439200401306, 0.2030823975801468, -0.34383681416511536, -0.09552579373121262, 0.32936805486679077, 0.7968843579292297, -0.07082793861627579, -0.5905519723892212, 0.2765730619430542, -0.0027590268291532993, -0.325438916683197, -0.10036804527044296, -0.0027178307063877583, 0.4583241641521454, 0.6666032075881958, 0.6312258839607239, -0.28872841596603394, -0.010578776709735394, -0.1902027428150177, -0.0018381787231191993, 0.5178966522216797, -0.1650327742099762, -0.20738081634044647, 0.4025084376335144, -0.1029588058590889, -0.22581882774829865, 0.6346659064292908, -0.26211872696876526, -0.5031298398971558, 0.25296473503112793, 0.5672305226325989, 0.9683625102043152, -0.18769694864749908, -0.017246194183826447, 0.12761905789375305, 0.1103949174284935, 0.009223168715834618, -0.06563618034124374, -0.37989693880081177, -0.9477953910827637, -0.6875653266906738, -0.8406541347503662, -0.22585390508174896, 0.14903587102890015, -0.7011024355888367, 0.12685133516788483, -0.15108086168766022, -0.12141149491071701, 0.04067448899149895, -0.13132180273532867, -0.3940182030200958, -0.17418546974658966, -0.0826195478439331, 0.839118480682373, -0.8623604774475098, 0.9158889055252075, 0.4682667553424835, -0.1007249504327774, -0.6464889645576477, 0.20771285891532898, 0.039258845150470734, -0.7064750790596008, 0.6738064885139465, -0.09019920229911804, 0.0809359923005104, 0.22455449402332306, -0.21512605249881744, -0.8486751317977905, 1.4244894981384277, 0.11700549721717834, -0.6824902892112732, -0.0413949191570282, 0.15856876969337463, 0.38144591450691223, -0.24789151549339294, -0.2207818627357483, 0.6686462759971619, 0.23852138221263885, 0.11312086880207062, -0.9835774302482605, -0.13974697887897491, 0.10392050445079803, -0.022515932098031044, 0.5329453349113464, -0.5721593499183655, 0.713398277759552, -0.25735658407211304, -0.2842889428138733, -0.16443517804145813, 0.4360297918319702, 0.4710867404937744, 0.06761815398931503, 0.9104855060577393, 0.7307243943214417, 0.358090877532959, 0.047699060291051865, 0.6424189805984497, -0.2015046775341034, 0.6329988241195679, 0.9920657277107239, -0.3222874701023102, 0.7032573819160461, 0.7312400937080383, -0.4887574315071106, 0.2843780517578125, 0.315103679895401, 0.25556620955467224, 0.8068490624427795, -0.0363430418074131, -0.5040590763092041, -0.08967205882072449, 0.10112174600362778, -0.4090236723423004, 0.4246690571308136, 0.0990692600607872, -0.254055917263031, -0.4521705210208893, 0.06817422807216644, 0.0987522155046463, -0.2917613089084625, -0.10191650688648224, 0.97820645570755, 0.19579803943634033, -0.7282770276069641, 0.8039780855178833, -0.13481539487838745, 0.8304736018180847, -0.5091769695281982, 0.16876593232154846, -0.5763112902641296, 0.1578003317117691, 0.1737842559814453, -0.7174484133720398, 0.22870036959648132, -0.2358534038066864, -0.2499663382768631, 0.0835796520113945, 0.8964294791221619, -0.5672122836112976, -0.37741580605506897, 0.37682220339775085, 0.667669415473938, -0.031678762286901474, 0.062030717730522156, -0.596879243850708, 0.20304623246192932, 0.07865770906209946, -0.4002414643764496, 0.4032883048057556, 0.3365592956542969, 0.21305041015148163, 0.7614642977714539, 0.5772066712379456, 0.2160351723432541, 0.0046027833595871925, 0.10868579149246216, 0.9074568152427673, -0.379191130399704, -0.5789160132408142, -1.031252384185791, 0.38356396555900574, 0.1595655381679535, 0.1829373687505722, 0.5262432098388672, 0.4170443117618561, 0.8657817840576172, -0.013660192489624023, 0.7066149711608887, -0.3097701966762543, 0.5410562753677368, -0.690479576587677, 0.9395855069160461, -0.5509845614433289, 0.17880600690841675, -0.19836753606796265, -1.145463466644287, -0.22110959887504578, 0.5370343327522278, -0.11443699896335602, 0.1642746925354004, 0.5887375473976135, 0.7008993625640869, -0.1516663283109665, -0.17743246257305145, 0.42603448033332825, 0.37841796875, 0.4473293125629425, 0.5703760385513306, 0.8826481103897095, -0.01869821920990944, 0.4225108325481415, -0.3380827009677887, -0.24366793036460876, -0.17454589903354645, -1.0664124488830566, -0.5588058233261108, -0.6654279232025146, -0.17557130753993988, -0.2665026783943176, 0.19673113524913788, 0.6902398467063904, 0.6341456770896912, -0.585537850856781, -0.2661036252975464, 0.09404746443033218, -0.05132037028670311, -0.23553501069545746, -0.23050029575824738, 0.24016073346138, -0.3704923689365387, -0.5665673613548279, 0.40863052010536194, 0.33709049224853516, 0.12779061496257782, -0.5553286671638489, -0.34908053278923035, -0.08783037215471268, -0.2629796266555786, 0.6782756447792053, 0.1898876577615738, -0.7051075100898743, -0.2696550786495209, 0.016889717429876328, 0.20597249269485474, -0.029462626203894615, 0.7646772861480713, -0.8818679451942444, 0.444032222032547, 0.3446159362792969, 0.6869511604309082, 0.38502275943756104, -0.2614929676055908, 0.4441671073436737, -0.5409284234046936, 0.16876237094402313, 0.16006286442279816, 0.19249431788921356, 0.1774282157421112, -0.05092333257198334, 0.3008307218551636, 0.38361042737960815, -0.7225252389907837, -0.8198891282081604, 0.1479358822107315, -0.8803943991661072, -0.3580130338668823, 1.0897157192230225, -0.16568653285503387, 0.038921333849430084, -0.09239644557237625, -0.08509591966867447, -0.0376165434718132, -0.4552971124649048, 1.0338951349258423, 0.8362663984298706, -0.08486540615558624, -0.2090861201286316, -0.33510369062423706, 0.4788477122783661, 0.41405194997787476, -0.26039963960647583, 0.4414319694042206, 0.40084248781204224, 0.5168667435646057, 0.10709339380264282, 0.7047061920166016, -0.00780369620770216, 0.17921793460845947, -0.10494141280651093, -0.2784581184387207, 0.1404007375240326, -0.1732596606016159, -0.35045722126960754, -0.11496145278215408, 0.47350311279296875, 0.2798343300819397 ]
http://arxiv.org/abs/2404.02655v1
http://arxiv.org/pdf/2404.02655v1
Calibrating the Confidence of Large Language Models by Eliciting Fidelity
2024-04-03T11:36:12
2024-04-03T11:36:12
Mozhi Zhang, Mianqiu Huang, Rundong Shi, Linsen Guo, Chong Peng, Peng Yan, Yaqian Zhou, Xipeng Qiu
cs.CL
cs.CL
Large language models optimized with techniques like RLHF have achieved good alignment in being helpful and harmless. However, post-alignment, these language models often exhibit overconfidence, where the expressed confidence does not accurately calibrate with their correctness rate. In this paper, we decompose the language model confidence into the \textit{Uncertainty} about the question and the \textit{Fidelity} to the answer generated by language models. Then, we propose a plug-and-play method to estimate the confidence of language models. Our method has shown good calibration performance by conducting experiments with 6 RLHF-LMs on four MCQA datasets. Moreover, we propose two novel metrics, IPR and CE, to evaluate the calibration of the model, and we have conducted a detailed discussion on \textit{Truly Well-Calibrated Confidence}. Our method could serve as a strong baseline, and we hope that this work will provide some insights into the model confidence calibration.
[ -0.4438794255256653, -0.7050791382789612, 0.6908661723136902, -0.21073222160339355, 0.05956359952688217, 0.09840106219053268, -0.12735040485858917, -0.4034564793109894, -0.1094094067811966, 0.37083202600479126, -0.2346002459526062, -0.38040000200271606, -0.5030344724655151, -0.21090713143348694, -0.29757070541381836, 0.6646924018859863, -0.17262303829193115, 0.20149722695350647, -0.3671148121356964, -0.09209322184324265, -0.3560487926006317, -0.48426148295402527, -0.14303359389305115, -0.46297359466552734, 0.5080305933952332, 0.48101410269737244, 0.9528072476387024, 0.4370608329772949, 0.5503634214401245, 0.2298431247472763, 0.012305621057748795, 0.28832560777664185, -0.5401596426963806, 0.01544805895537138, -0.23223872482776642, -0.5850059390068054, -0.3542666733264923, 0.052797410637140274, 0.7434885501861572, 0.5445109605789185, -0.4631994068622589, 0.3354420065879822, 0.062263373285532, 0.40318575501441956, -0.9187517762184143, 0.17593799531459808, -0.6287097334861755, -0.2854381501674652, 0.1669258326292038, -0.11632009595632553, -0.669072687625885, -0.6442973613739014, 0.04563001170754433, -0.47958409786224365, -0.2495550662279129, 0.22613157331943512, 0.8858111500740051, 0.17940568923950195, -0.45442256331443787, -0.07078436017036438, -0.9190511107444763, 1.0899970531463623, -0.9631932973861694, 0.4282315671443939, 0.530669629573822, 0.3188422620296478, -0.2728525400161743, -0.42103111743927, -0.650583028793335, -0.2311248928308487, -0.011732498183846474, 0.02035951055586338, 0.34207868576049805, -0.020920170471072197, 0.14379379153251648, 0.5421817302703857, -0.6651288866996765, -0.15358377993106842, -0.07071433961391449, -0.20362356305122375, 0.596491813659668, -0.2341366708278656, 0.23569872975349426, 0.20297881960868835, -0.1593160480260849, -0.3269149661064148, -0.7657975554466248, 0.1161576509475708, 0.6344451308250427, 0.2886718213558197, 0.1591104418039322, 0.7856837511062622, 0.11615822464227676, 0.5300585627555847, 0.05977526307106018, -0.46618860960006714, 0.21294943988323212, -0.3420884907245636, -0.15463943779468536, 0.12660445272922516, 0.7837912440299988, 0.34528371691703796, 0.791740357875824, 0.09227220714092255, -0.30673402547836304, 0.0009992442792281508, 0.33903899788856506, -0.8085247278213501, -0.12757384777069092, 0.5394850373268127, -0.08537457138299942, -0.20078888535499573, 0.35018858313560486, -0.28432711958885193, 0.027917440980672836, -0.12692475318908691, 0.6591816544532776, -0.25858327746391296, -0.4963001310825348, 0.08198847621679306, 0.3449382781982422, 0.3906336724758148, 0.20223800837993622, -0.5422323346138, 0.2252998650074005, 0.8945197463035583, 0.4543784260749817, -0.0775405615568161, -0.21637944877147675, -0.5752235054969788, -0.06973724067211151, -0.720454752445221, 0.44025447964668274, -0.29267916083335876, -0.5380601286888123, 0.18203003704547882, 0.002129131695255637, -0.12140797823667526, -0.26579150557518005, 0.6525388360023499, -0.6582847833633423, 0.35933899879455566, -0.4396362602710724, -0.8767454624176025, -0.1253471076488495, 0.49880459904670715, -0.7279564142227173, 1.1777094602584839, 0.07641618698835373, -0.862348198890686, 0.13624373078346252, -0.07316914945840836, -0.092534638941288, -0.15809598565101624, -0.16756312549114227, -0.5225316286087036, 0.07701228559017181, 0.2009372115135193, 0.2143276035785675, -0.25361868739128113, 0.5955204367637634, -0.6438665986061096, -0.4720509946346283, 0.7404453754425049, -0.4677666127681732, 0.6679500341415405, 0.0892140343785286, 0.1042340099811554, -0.22378262877464294, -0.5474886298179626, 0.48659855127334595, -0.35308584570884705, -0.15806570649147034, -0.22752094268798828, 0.002030234318226576, -0.015626663342118263, 0.2652580142021179, 0.18085813522338867, -0.6805521845817566, -0.16032099723815918, -0.6390480399131775, 0.13100536167621613, 0.30827024579048157, 0.13161258399486542, 0.38222742080688477, -0.5086044669151306, 0.600322425365448, -0.2457350194454193, -0.045217033475637436, -0.18296153843402863, -0.45489946007728577, -0.6632505059242249, 0.06992536038160324, 0.6432605981826782, 0.587211549282074, -0.38683968782424927, 0.630035400390625, -0.4522550404071808, -0.6330458521842957, -0.6333656907081604, -0.010282891802489758, 0.5954917073249817, 0.689098596572876, 0.26239073276519775, -0.2550981938838959, -0.158080592751503, -0.712383508682251, -0.16389226913452148, -0.6390181183815002, -0.07478291541337967, 0.37882885336875916, 0.3942452669143677, 0.24516834318637848, 0.9748905301094055, -0.3761686384677887, 0.13896654546260834, 0.18004681169986725, 0.43956971168518066, 0.09120488911867142, 0.6615526676177979, 0.28987744450569153, -0.6895408630371094, -0.6135354042053223, 0.030381103977560997, -0.3447902500629425, 0.05842028185725212, 0.18718382716178894, -0.17219527065753937, 0.2805141806602478, 0.5362917184829712, -0.6990540027618408, 0.2346237450838089, 0.7978668808937073, 0.08528212457895279, 0.5912415981292725, -0.08609211444854736, 0.6611793637275696, -1.0753473043441772, 0.4681130647659302, -0.23709936439990997, -0.5361124873161316, -0.42242756485939026, 0.40925729274749756, 0.39544394612312317, 0.32500192523002625, -0.39373141527175903, 0.4803299009799957, -0.4573269784450531, 0.06751558184623718, -0.16194066405296326, 0.21871007978916168, 0.2516680955886841, 0.10498388111591339, 0.13179545104503632, 0.8099406361579895, 0.22201813757419586, -0.4119305908679962, 0.19791962206363678, 0.09513137489557266, -0.6392454504966736, 0.5692859888076782, -0.7971795797348022, 0.1690024733543396, -0.03235042467713356, 0.18251051008701324, -1.3933137655258179, -0.2137449085712433, -0.12171585112810135, -0.6276164650917053, 0.47325125336647034, -0.23330913484096527, -0.46504566073417664, -0.308660626411438, -0.17491166293621063, 0.7395253777503967, 0.4789333641529083, -0.14036032557487488, 0.529143214225769, 0.5107396841049194, -0.24704311788082123, -0.7935824990272522, -0.8197737336158752, -0.22885218262672424, -0.039335813373327255, -0.5089409947395325, 0.34239453077316284, -0.3352573812007904, -0.25164252519607544, -0.3282569348812103, 0.026009012013673782, -0.10133124142885208, -0.12145072966814041, 0.22547560930252075, 0.32249751687049866, -0.39786458015441895, 0.19382092356681824, -0.2440299093723297, -0.17153780162334442, 0.12237997353076935, -0.007633367087692022, 0.4904734194278717, -0.04796815663576126, -0.941494882106781, -0.2915225028991699, 0.0960979163646698, 0.726028561592102, -0.39259520173072815, 0.6877913475036621, 0.4047873020172119, -0.48055341839790344, 0.11836304515600204, -0.9362682700157166, -0.2820666432380676, -0.3994559943675995, 0.30334943532943726, -0.24471761286258698, -0.7242425680160522, 0.624204158782959, 0.21712873876094818, 0.1384369134902954, 0.23963366448879242, 0.525633692741394, 0.04804392531514168, 1.1794030666351318, 0.6626797914505005, -0.03153649717569351, 0.1559077650308609, 0.22978170216083527, 0.30145812034606934, -0.5183067321777344, -0.1271762251853943, -0.7402811050415039, -0.15775485336780548, -0.49571987986564636, -0.609271228313446, 0.05430698022246361, 0.13769559562206268, -0.44745486974716187, 0.37443414330482483, -0.02412709780037403, 0.5324785709381104, 0.5124954581260681, 0.019944678992033005, 0.31031760573387146, -0.311423122882843, -0.2557092010974884, -0.23010721802711487, -0.4128834009170532, -0.48751121759414673, 0.9642595648765564, 0.7133305072784424, 1.0582574605941772, 0.19858282804489136, 0.43216797709465027, -0.3179972469806671, 0.3269806504249573, -0.8913524746894836, 0.08348507434129715, 0.2025667130947113, -0.7802167534828186, -0.4520663619041443, -0.4815782904624939, -0.280962198972702, -0.19716617465019226, -0.1680343896150589, -0.810806930065155, 0.46402841806411743, 0.4241170585155487, -0.6126886606216431, -0.08137726783752441, -0.48183122277259827, 0.7731366157531738, 0.06870633363723755, -0.14551328122615814, 0.011981437914073467, -0.620510995388031, 0.6774778366088867, -0.30729031562805176, 0.2963015139102936, -0.10152341425418854, 0.06863649189472198, 0.3328908681869507, -0.3594955801963806, 0.43265584111213684, 0.1316491812467575, -0.5354945063591003, 0.4807966947555542, 0.4446141719818115, 0.7074755430221558, 0.11057954281568527, -0.5113590359687805, -0.13591818511486053, 0.4534415006637573, -0.17516398429870605, -0.6749951243400574, 0.631195604801178, -0.530491292476654, -0.19807374477386475, -0.3459925651550293, -0.6143640279769897, -0.4484138786792755, 0.07728862017393112, 0.34698382019996643, 0.3167884349822998, -0.4724874794483185, 0.4085257947444916, 0.9217331409454346, -0.13349401950836182, 0.3903527557849884, 0.3750123083591461, -0.49843671917915344, -0.46966737508773804, 0.4453999102115631, 0.19579964876174927, 0.9166606664657593, 0.6172219514846802, 0.022624148055911064, -0.6204569339752197, -0.040559105575084686, -0.41924166679382324, 0.07741712033748627, -0.5028112530708313, -0.40009239315986633, -0.3990028202533722, -0.502407431602478, -0.4661765694618225, 0.06522771716117859, -0.7754151225090027, -0.38324812054634094, -0.17174620926380157, -0.08531240373849869, 0.20419907569885254, 0.3106052577495575, 0.22687695920467377, 0.40865129232406616, -0.8190252780914307, 0.019595863297581673, 0.2095576673746109, 0.40439170598983765, -0.08878301084041595, -0.8722609281539917, -0.2034546583890915, 0.4793826639652252, 0.0479460135102272, -0.7361623644828796, 0.3037263751029968, 0.4128439426422119, 0.42016568779945374, 0.34936338663101196, 0.26879939436912537, 0.8256508111953735, -0.5580571293830872, 0.7332973480224609, 0.06807862967252731, -0.9567543268203735, 0.08744467794895172, -0.025995366275310516, 0.332825630903244, 0.8790940046310425, 0.37904807925224304, -0.4292713701725006, -0.41917821764945984, -0.47589582204818726, -0.5059590935707092, 0.2496926486492157, 0.01990785449743271, 0.29782745242118835, 0.1547360122203827, 0.34808340668678284, -0.24832381308078766, 0.23150674998760223, -0.6906995177268982, -0.15777114033699036, 0.04371212050318718, -0.43438324332237244, -0.2746948003768921, -0.46490103006362915, -0.2350824922323227, -0.016484102234244347, 0.8282299041748047, -0.21290454268455505, -0.03358393535017967, 0.1517508327960968, -0.1364220827817917, -0.5992927551269531, 0.21598947048187256, 0.40538033843040466, 0.8966659903526306, -0.3998798131942749, 0.22297543287277222, 0.11304983496665955, -0.5135388970375061, 0.20784641802310944, -0.07585247606039047, -0.21948251128196716, -0.041736900806427, 0.37954798340797424, 0.25724124908447266, 0.3567413091659546, -0.6107526421546936, 0.8735193610191345, -0.10245408862829208, -0.14056673645973206, -0.32359784841537476, 0.07339701801538467, 0.24629440903663635, -0.03896671533584595, 0.05466723069548607, -0.3693532943725586, -0.08877020329236984, -0.4281326234340668, 0.49264758825302124, 0.7285234332084656, -0.6209673285484314, -0.03628452494740486, 0.26355770230293274, -0.1949763000011444, -0.24235594272613525, 0.365253210067749, -0.14646098017692566, -0.48255282640457153, 0.4306949973106384, 0.626488983631134, 0.6991993188858032, -0.5960253477096558, 0.08526335656642914, 0.6590856313705444, 0.3864251673221588, -0.580446720123291, 0.39406439661979675, 0.3737473785877228, -0.9720042943954468, -0.8402262330055237, -0.745498538017273, -0.5623191595077515, 0.02703111618757248, -0.8019852638244629, 0.3273695111274719, -0.09143567085266113, -0.3010232448577881, -0.34433427453041077, 0.04926631227135658, -0.3235097825527191, 0.2800523638725281, -0.130891814827919, 1.010316252708435, -0.9143031239509583, 0.9026690125465393, 0.354065865278244, -0.24016043543815613, -1.2400792837142944, 0.18254652619361877, -0.20226290822029114, -0.681138813495636, 0.11961344629526138, 0.12193243950605392, -0.3483993113040924, 0.21312396228313446, -0.6081495881080627, -1.1430798768997192, 0.8458550572395325, 0.41859132051467896, -0.5994272232055664, 0.14160674810409546, 0.17086908221244812, 0.37590327858924866, -0.4275070130825043, 0.5415902733802795, 0.5026393532752991, 0.4966358542442322, 0.32163700461387634, -1.0517172813415527, -0.035605594515800476, -0.13427624106407166, 0.035939980298280716, 0.11082328110933304, -0.17889751493930817, 0.8688628673553467, -0.11198796331882477, -0.1954939067363739, 0.3714175820350647, 0.6851667761802673, 0.3574795126914978, -0.10862784832715988, 0.45350638031959534, 0.5421865582466125, 0.6433128714561462, -0.06716527044773102, 0.6462706923484802, -0.6437310576438904, 0.7225098013877869, 1.2918082475662231, -0.3634410798549652, 1.3565075397491455, 0.7154044508934021, -0.2711675465106964, 0.4712541401386261, 0.5435335040092468, 0.25520896911621094, 0.2352539300918579, 0.2563721835613251, -0.14503931999206543, -0.5130736827850342, -0.13907651603221893, -0.3370985984802246, 0.2786828279495239, 0.32003122568130493, -0.27656203508377075, -0.07218271493911743, -0.3209206461906433, 0.06320087611675262, 0.16323456168174744, -0.046677280217409134, 0.5587303042411804, 0.3262364864349365, -1.081152081489563, 0.5758306384086609, 0.0017727200174704194, 0.30375680327415466, -0.43335774540901184, -0.09993364661931992, 0.07646697759628296, 0.2228076010942459, -0.14238378405570984, -0.9809427261352539, 0.1152142584323883, -0.29302486777305603, 0.07543054968118668, 0.12384214252233505, 0.4562927782535553, -0.829619288444519, -0.7370019555091858, 0.10150421410799026, 0.6036413908004761, 0.09554775804281235, -0.22537663578987122, -0.48842760920524597, 0.050798285752534866, -0.23121152818202972, -0.219892680644989, -0.061632800847291946, 0.37508875131607056, 0.3561634123325348, 0.6261124610900879, 0.47867491841316223, 0.019757458940148354, -0.27886536717414856, 0.02436952106654644, 0.3279903531074524, -0.19442391395568848, -0.20036683976650238, -0.8657411336898804, 0.6880200505256653, 0.11361183226108551, -0.29349425435066223, 0.5385748147964478, 0.4733443856239319, 0.7650289535522461, 0.13218529522418976, 0.45132508873939514, 0.15651467442512512, 0.6668328642845154, -0.48111972212791443, 0.7850795984268188, -0.48894205689430237, 0.20052720606327057, -0.56657874584198, -1.0351955890655518, -0.37394875288009644, 0.8103559017181396, -0.1773684173822403, 0.24023304879665375, 0.7009745240211487, 1.275073766708374, -0.3149237334728241, -0.16022060811519623, 0.46553510427474976, 0.2281973510980606, 0.1271926462650299, 0.4452124834060669, 0.6081751585006714, -0.5687767267227173, 0.3755303621292114, -0.3929350674152374, -0.2911822497844696, -0.24129728972911835, -1.4369699954986572, -0.4996257722377777, -0.4864692986011505, -0.36670032143592834, -0.6328281164169312, -0.14780806005001068, 0.881489098072052, 0.7711900472640991, -1.225415587425232, -0.29057982563972473, -0.14529715478420258, -0.006960349623113871, -0.06791733205318451, -0.1638880968093872, 0.34056851267814636, -0.158322274684906, -0.7137451171875, -0.028632311150431633, 0.00028964606462977827, 0.28370094299316406, -0.6554726362228394, -0.15914286673069, -0.28166258335113525, 0.44709596037864685, 0.14120188355445862, 0.2943885028362274, -0.6870079040527344, -0.6331316232681274, 0.2161213755607605, -0.5010011792182922, -0.08247911185026169, 0.34547460079193115, -0.46704432368278503, 0.4009599983692169, 0.4983914792537689, 0.6824308037757874, 0.25895175337791443, 0.39259010553359985, 0.9952391386032104, -0.8065722584724426, -0.2235623151063919, 0.20578515529632568, 0.3606226146221161, 0.3749052584171295, -0.2801814675331116, 0.1854926198720932, -0.2545676827430725, -0.8639805912971497, -1.1322245597839355, 0.3496483266353607, -0.7170257568359375, 0.003111758269369602, 1.0323562622070312, -0.429326593875885, -0.07182949781417847, -0.07457223534584045, -0.09113931655883789, 0.2807130217552185, -0.15411899983882904, 0.7284743189811707, 1.122435450553894, 0.37534263730049133, -0.10065935552120209, -0.6123452186584473, 0.5103416442871094, 0.3396451771259308, -0.5781564712524414, 0.21985386312007904, 0.30641499161720276, 0.2304418832063675, 0.49699026346206665, 0.3876190781593323, -0.3692125380039215, 0.34700876474380493, -0.14665953814983368, 0.17117512226104736, 0.38530606031417847, -0.3035021424293518, -0.13870148360729218, 0.08759049326181412, 0.6168668270111084, 0.1311826854944229 ]
http://arxiv.org/abs/2404.02650v1
http://arxiv.org/pdf/2404.02650v1
Towards detecting unanticipated bias in Large Language Models
2024-04-03T11:25:20
2024-04-03T11:25:20
Anna Kruspe
cs.LG
cs.LG, cs.AI, cs.CL
Over the last year, Large Language Models (LLMs) like ChatGPT have become widely available and have exhibited fairness issues similar to those in previous machine learning systems. Current research is primarily focused on analyzing and quantifying these biases in training data and their impact on the decisions of these models, alongside developing mitigation strategies. This research largely targets well-known biases related to gender, race, ethnicity, and language. However, it is clear that LLMs are also affected by other, less obvious implicit biases. The complex and often opaque nature of these models makes detecting such biases challenging, yet this is crucial due to their potential negative impact in various applications. In this paper, we explore new avenues for detecting these unanticipated biases in LLMs, focusing specifically on Uncertainty Quantification and Explainable AI methods. These approaches aim to assess the certainty of model decisions and to make the internal decision-making processes of LLMs more transparent, thereby identifying and understanding biases that are not immediately apparent. Through this research, we aim to contribute to the development of fairer and more transparent AI systems.
[ -0.38966822624206543, -0.7548795342445374, 0.7479513883590698, 0.045004766434431076, 0.2447981834411621, 0.12265082448720932, -0.41011250019073486, -0.2755010426044464, -0.2285006195306778, 0.3636607825756073, -0.6396579146385193, -0.3707062005996704, -0.8148160576820374, -0.3457845151424408, -0.4486903250217438, 0.8874813914299011, -0.06941016763448715, 0.2679276168346405, -0.1564704030752182, -0.20171773433685303, -0.6118576526641846, -0.5470405220985413, -0.8994891047477722, -0.5914090275764465, 0.016980215907096863, 0.15348660945892334, 0.6465400457382202, 0.22517378628253937, 0.23486746847629547, 0.28944164514541626, -0.18206998705863953, 0.035408876836299896, -0.2976458966732025, 0.0295358095318079, -0.020052388310432434, -0.747758686542511, -0.374871164560318, -0.05785532668232918, 0.7309011220932007, 0.7847961783409119, -0.05937863886356354, 0.24000325798988342, 0.3543773293495178, 0.6431406736373901, -0.840057373046875, 0.42024171352386475, -0.8045355677604675, 0.354859322309494, -0.344178169965744, 0.01126173697412014, -0.48479944467544556, -0.19955554604530334, -0.035863105207681656, -0.2943345010280609, 0.19363632798194885, -0.01934097893536091, 0.481795072555542, 0.42577826976776123, -0.4111079275608063, -0.38507652282714844, -0.7421643137931824, 0.9496103525161743, -0.9156816601753235, 0.4210147261619568, 0.28936031460762024, 0.3587225079536438, -0.4740409255027771, -0.3930269181728363, -0.6838611960411072, -0.19593115150928497, -0.06712611764669418, -0.1657000333070755, -0.39766907691955566, 0.1447460651397705, 0.2656542658805847, 0.1238316223025322, -0.357383668422699, 0.42891496419906616, 0.07852345705032349, -0.3643764555454254, 0.5588014125823975, -0.11165568977594376, 0.26645341515541077, 0.0467941053211689, 0.06537917256355286, 0.21761997044086456, -0.7109869718551636, 0.014883722178637981, 0.7192786931991577, 0.2477957010269165, -0.2686377465724945, 0.6743380427360535, -0.17065247893333435, 0.3897820711135864, 0.044612009078264236, 0.13713766634464264, 0.18831342458724976, 0.021298810839653015, -0.12550291419029236, 0.09227291494607925, 0.7102901935577393, 0.04497509449720383, 0.6128475069999695, -0.000238500811974518, -0.3032647371292114, 0.1248059943318367, -0.146351620554924, -0.514543354511261, -0.08313538134098053, 0.3546801209449768, -0.48634636402130127, -0.321982204914093, -0.3268088400363922, -0.8004176020622253, -0.8432419896125793, -0.19095982611179352, 0.2511807382106781, -0.26087063550949097, -0.4625151455402374, -0.06382469087839127, 0.00995893869549036, 0.30248764157295227, 0.4782414436340332, -0.844093382358551, 0.007395406253635883, 0.7910512089729309, 0.6013424396514893, -0.09296655654907227, -0.017810089513659477, -0.36649760603904724, 0.05508608743548393, -0.2924306094646454, 0.5618617534637451, -0.5872385501861572, -0.15448027849197388, 0.01040721032768488, -0.30424875020980835, 0.1682206243276596, -0.5223102569580078, 0.6433866620063782, -0.3896799385547638, 0.44553351402282715, -0.03302827849984169, -0.6601963043212891, -0.2429485023021698, 0.4429180920124054, -0.4456111192703247, 0.8669285178184509, 0.08148025721311569, -1.1157402992248535, 0.5186156034469604, -0.8637377619743347, -0.040558915585279465, -0.10933897644281387, -0.5795252919197083, -0.6352808475494385, 0.13908852636814117, 0.4674290418624878, 0.36279523372650146, -0.2415289580821991, 0.5655813217163086, -0.5032542943954468, -0.2877902388572693, 0.4322960078716278, -1.0897397994995117, 0.8707064986228943, 0.1551051288843155, -0.6835111379623413, 0.18732184171676636, -0.5345169305801392, 0.12137702852487564, 0.026048367843031883, -0.11277361214160919, -0.22758346796035767, 0.2135714739561081, -0.21865835785865784, 0.13379521667957306, 0.21409395337104797, -0.3213103413581848, -0.08402658253908157, -0.2544941306114197, 0.41268911957740784, 1.161335825920105, -0.2916660010814667, 0.5421457886695862, -0.02799491211771965, 0.5671828389167786, 0.2742098569869995, 0.30392003059387207, -0.07040367275476456, -0.4282701313495636, -1.1179453134536743, -0.25918048620224, 0.5056169629096985, 0.4548136293888092, -0.6829514503479004, 0.27578261494636536, -0.07967513054609299, -0.04710518941283226, -0.8850411772727966, 0.03796263039112091, 0.312391996383667, 0.38767796754837036, 0.04261479154229164, -0.02493910863995552, -0.44361045956611633, -1.0411285161972046, -0.4873371720314026, -0.2590427100658417, -0.3171886205673218, 0.3153504729270935, 0.518589198589325, -0.31633368134498596, 1.0888444185256958, -0.24153858423233032, -0.07118300348520279, -0.07723958045244217, 0.13456711173057556, 0.1020551323890686, 0.5162293314933777, 0.29000723361968994, -0.8380034565925598, -0.2620857059955597, 0.07182139158248901, -0.8387935757637024, -0.2190982550382614, -0.014433887787163258, 0.14840944111347198, 0.38639119267463684, 0.7363731265068054, -0.511554479598999, 0.5437037348747253, 0.5827704071998596, -0.21674089133739471, 0.29671981930732727, -0.10050196945667267, 0.1336435079574585, -0.683269739151001, 0.011635415256023407, 0.05966929346323013, -0.25204116106033325, -0.43947628140449524, -0.20471927523612976, 0.07568112015724182, 0.21614407002925873, -0.4525296688079834, 0.6600918173789978, -0.4753430485725403, -0.29175299406051636, -0.20001086592674255, 0.07587586343288422, -0.20674704015254974, 0.46590742468833923, -0.017035508528351784, 0.7705816626548767, 0.4792889952659607, -0.3503435552120209, -0.012089118361473083, -0.1127132698893547, -0.44505271315574646, 0.5323640704154968, -0.5220873951911926, 0.08953149616718292, -0.46162179112434387, 0.31025266647338867, -0.8754270672798157, -0.015554476529359818, 0.4887344539165497, -0.8461127281188965, 0.15741144120693207, -0.5434446334838867, -0.32989501953125, -0.2999781370162964, -0.12586526572704315, 0.5882852077484131, 0.45036065578460693, -0.4822912812232971, 0.5391013622283936, 0.5302553176879883, -0.1049986481666565, -0.9867483973503113, -0.640015721321106, -0.21506525576114655, -0.5063783526420593, -0.49075549840927124, -0.09560354053974152, 0.017392314970493317, -0.6479731202125549, -0.2759089469909668, -0.026548121124505997, -0.17349916696548462, 0.37165048718452454, 0.3504289388656616, 0.27201125025749207, -0.17020602524280548, 0.080699622631073, -0.0573880709707737, -0.016203569248318672, 0.23422181606292725, -0.42555275559425354, 0.7619630098342896, -0.22684833407402039, -0.7658289670944214, -0.4383940100669861, 0.08364305645227432, 0.40640532970428467, -0.25246530771255493, 0.7370069026947021, 0.8039215803146362, -0.5079076886177063, -0.3913632035255432, -0.6364931464195251, -0.19332736730575562, -0.523123025894165, 0.48616746068000793, -0.043237242847681046, -1.073968768119812, 0.7794881463050842, -0.006346210837364197, -0.012285693548619747, 0.23313720524311066, 0.8516923189163208, 0.08091580867767334, 1.2811866998672485, 0.655440092086792, -0.25906404852867126, 0.5089829564094543, 0.10654972493648529, 0.43385404348373413, -0.6840817928314209, -0.2651042640209198, -0.5137916803359985, -0.10724471509456635, -1.0341436862945557, -0.5746544003486633, 0.5107290744781494, -0.09895599633455276, -0.3735894560813904, -0.5457131266593933, -0.28159448504447937, 0.6895506978034973, 0.6320971250534058, -0.039623409509658813, 0.2466011494398117, -0.27725377678871155, -0.026931894943118095, 0.16131164133548737, -0.616619348526001, -0.647106945514679, 1.2529860734939575, 0.6467179656028748, 0.6697220802307129, 0.007669790647923946, 0.3033287525177002, 0.5604355931282043, 0.427761048078537, -0.6802712678909302, 0.2329990565776825, 0.23803603649139404, -0.8734880685806274, -0.43887990713119507, -0.6297206282615662, -0.8518361449241638, 0.39018774032592773, -0.3407371938228607, -0.856546938419342, 0.08787941187620163, 0.30259689688682556, -0.13110566139221191, 0.554267942905426, -0.754248857498169, 0.7838191986083984, -0.13201773166656494, -0.31439733505249023, 0.09538964927196503, -0.41885435581207275, 0.6528752446174622, -0.30682140588760376, 0.49700599908828735, -0.33217930793762207, 0.17548316717147827, 0.6108436584472656, -0.04796922206878662, 0.903175950050354, -0.2713003158569336, -0.3527788817882538, 0.11547471582889557, 0.16994787752628326, 0.5228180885314941, 0.1709115207195282, -0.22477900981903076, 0.4327702820301056, -0.34351110458374023, -0.4645785391330719, -0.49381381273269653, 0.4804534614086151, -0.662085235118866, -0.4840850830078125, -0.42408907413482666, -0.7080801725387573, -0.44337770342826843, 0.21475327014923096, 0.14939157664775848, -0.12122192233800888, -0.20418521761894226, -0.25468379259109497, 0.8663708567619324, -0.604228138923645, 0.4037761390209198, 0.6457753777503967, -0.11310809850692749, 0.15648776292800903, 0.555859386920929, -0.07508821040391922, 0.14997723698616028, 0.21254940330982208, 0.10791733115911484, -0.20711036026477814, -0.8521180152893066, -0.23303475975990295, -0.023650959134101868, -0.5023953914642334, -0.08477343618869781, -0.4241332709789276, -0.2777460217475891, -0.5337536931037903, 0.12845398485660553, -0.5169353485107422, -0.3241828978061676, -0.14426946640014648, 0.06784684956073761, 0.1515655368566513, 0.698640763759613, -0.06356243789196014, 0.6194156408309937, -0.397463858127594, 0.02846398577094078, 0.14108102023601532, 0.46773576736450195, 0.23583051562309265, -0.6402564644813538, 0.04947638884186745, 0.37299180030822754, -0.26179298758506775, -0.3952263295650482, 0.48570865392684937, -0.20203731954097748, 0.6749452352523804, 0.6039975881576538, 0.06808674335479736, 0.23320184648036957, -0.5647429823875427, 0.620701789855957, -0.023035718128085136, -1.1643093824386597, 0.5329724550247192, -0.42849263548851013, -0.004338153172284365, 0.4050401747226715, 0.4119124114513397, -0.6618155837059021, -0.428375780582428, -0.6145449876785278, -0.6695995330810547, 0.7208356857299805, 0.36551550030708313, 0.06300751119852066, 0.2045748382806778, 0.24067802727222443, 0.06049336493015289, 0.4795228838920593, -0.9873265624046326, -0.3305093050003052, 0.31134939193725586, -0.2287968248128891, -0.042520564049482346, -0.1014852374792099, -0.00042013052734546363, 0.10020741075277328, 0.7088832855224609, -0.1717226505279541, 0.20542165637016296, -0.30246540904045105, -0.18763452768325806, 0.1530487984418869, 0.5534960627555847, 0.3762628138065338, 0.6278451681137085, -0.27681204676628113, 0.09631799906492233, 0.19362947344779968, -0.21951019763946533, 0.07376918196678162, 0.00967647135257721, -0.38919973373413086, -0.09762170910835266, 0.5455228090286255, 0.7105765342712402, -0.21571969985961914, -0.899776041507721, 0.8541575074195862, -0.09825020283460617, 0.15798114240169525, -0.6284525394439697, 0.0403178334236145, -0.09853086620569229, 0.46205994486808777, 0.0510258711874485, 0.0032439748756587505, 0.1847846806049347, -0.5451676249504089, 0.07787833362817764, 0.86678147315979, -0.694363534450531, -0.04756319522857666, 0.5668870806694031, 0.16969938576221466, -0.20497724413871765, 0.8129347562789917, -0.08400757610797882, -0.6876189112663269, 0.6793778538703918, 0.14423814415931702, 0.6503201127052307, -0.26789748668670654, 0.21318797767162323, -0.17161765694618225, 0.5537687540054321, -0.047090448439121246, -0.07389824092388153, 0.09220249205827713, -1.0893281698226929, -0.33935755491256714, -0.44321370124816895, -0.39287543296813965, 0.2517142593860626, -0.5936694145202637, 0.3217090964317322, -0.2742653489112854, -0.11144749075174332, 0.10572931170463562, -0.24369901418685913, -0.6452683210372925, -0.11635269224643707, 0.5249952673912048, 0.6139147877693176, -1.0134590864181519, 0.7316440939903259, 0.2093750238418579, -0.1732226312160492, -0.5686154961585999, 0.13261444866657257, 0.22611452639102936, -1.3684465885162354, 0.6138372421264648, 0.05085025727748871, 0.10660650581121445, -0.2644236981868744, -0.5398873686790466, -0.5501734614372253, 0.7781509757041931, 0.6021382212638855, -0.46633657813072205, -0.07555551826953888, 0.4406339228153229, 0.3557269275188446, -0.06907423585653305, 0.6598610877990723, 0.8538259863853455, 0.6444664001464844, -0.15830174088478088, -1.0262484550476074, -0.15300916135311127, 0.02023337595164776, -0.10556028038263321, 0.44433754682540894, -0.5875333547592163, 0.9490164518356323, -0.11243076622486115, -0.05474996939301491, -0.22294430434703827, 0.46724259853363037, 0.26468467712402344, 0.48853692412376404, 0.48539701104164124, 0.33305788040161133, 1.0544966459274292, -0.09786351025104523, 0.8497956395149231, 0.035355743020772934, 0.29457104206085205, 1.1967777013778687, -0.3131351172924042, 0.4996706545352936, 0.5561049580574036, -0.30136439204216003, 0.16207009553909302, 0.7026844620704651, 0.13679510354995728, 0.13541212677955627, 0.660964846611023, -0.5693827271461487, -0.18841049075126648, -0.3015384376049042, -0.3473995625972748, 0.5798692107200623, 0.6070894598960876, -0.3268587291240692, -0.21852578222751617, 0.03962649777531624, 0.3771573007106781, -0.07837800681591034, -0.5068483352661133, 0.5871745347976685, -0.002310357056558132, -0.5183226466178894, 0.25552618503570557, 0.1654682755470276, 1.1235405206680298, -0.5791351199150085, -0.010588751174509525, -0.4578096866607666, 0.2952324450016022, -0.18408557772636414, -0.8775508999824524, 0.04678712785243988, -0.010001856833696365, -0.12822803854942322, -0.017698194831609726, 0.5871827602386475, -0.5037099123001099, -0.4989274740219116, 0.18282102048397064, 0.8247440457344055, 0.011326907202601433, -0.3509138226509094, -0.8265356421470642, 0.1826535016298294, 0.29342329502105713, 0.0016763674793764949, 0.32595735788345337, 0.7969860434532166, -0.4102034568786621, 1.1187357902526855, 0.3872235119342804, 0.08918212354183197, 0.039598748087882996, -0.05372092127799988, 0.5690982341766357, -0.34709060192108154, -0.4137673079967499, -1.0826064348220825, 0.20412921905517578, -0.02373647503554821, -0.017215002328157425, 0.7900316119194031, 0.40733397006988525, 0.9223650097846985, 0.141933873295784, 1.0040881633758545, 0.15973256528377533, 0.418489009141922, -0.5812369585037231, 0.9180317521095276, -0.3194042146205902, 0.6811167597770691, -0.2129785269498825, -0.6317931413650513, -0.234786257147789, 0.53279709815979, -0.40306344628334045, 0.34082868695259094, 0.28323233127593994, 0.8980476260185242, -0.13654224574565887, 0.07096928358078003, 0.14382849633693695, 0.2296307384967804, 0.5072749257087708, 0.5649744272232056, 1.166512131690979, -0.18924580514431, 0.4077451527118683, 0.06671253591775894, -0.2601971924304962, -0.014672216959297657, -1.1150386333465576, -0.9183213114738464, -0.3485754430294037, -0.28723961114883423, -0.2570951581001282, 0.11561884731054306, 0.7556185126304626, 0.7551938891410828, -1.0314058065414429, -0.22885148227214813, -0.12152296304702759, 0.6599483489990234, 0.29465052485466003, -0.23659659922122955, 0.3835689425468445, -0.2231171727180481, -0.8255389928817749, -0.04490033909678459, -0.026121076196432114, 0.21263954043388367, -0.3111218810081482, -0.08416453748941422, 0.021520718932151794, 0.14247547090053558, 0.5337742567062378, 0.1840859055519104, -0.5509368181228638, -0.2797697186470032, -0.6267145872116089, 0.3371100425720215, -0.002474400447681546, 0.8055329322814941, -0.6796058416366577, 0.17644928395748138, 0.2410287708044052, 0.702197253704071, 0.31918877363204956, -0.34625375270843506, 0.7511389851570129, -0.8698074817657471, 0.33268100023269653, 0.44406524300575256, 0.300893098115921, 0.39462119340896606, -0.35492005944252014, 0.6132116317749023, -0.11301149427890778, -0.5631186962127686, -1.0360935926437378, 0.11206725239753723, -0.619413435459137, -0.39107659459114075, 1.1359002590179443, -0.13129758834838867, 0.00020952564955223352, -0.1259079873561859, 0.008202710188925266, 0.24747702479362488, -0.33004283905029297, 0.8645449280738831, 0.7534126043319702, -0.20284123718738556, -0.01229213085025549, -0.9130703210830688, 0.5728438496589661, 0.48794466257095337, -0.9118436574935913, 0.37011876702308655, 0.5753665566444397, 0.28422585129737854, -0.28731444478034973, 0.6002786159515381, -0.20539340376853943, -0.026881495490670204, -0.23150718212127686, 0.2015460580587387, 0.2964276373386383, 0.02308989129960537, -0.4867275655269623, -0.05108843371272087, 0.26337727904319763, -0.12915468215942383 ]
http://arxiv.org/abs/2404.02625v1
http://arxiv.org/pdf/2404.02625v1
A Differentiable Integer Linear Programming Solver for Explanation-Based Natural Language Inference
2024-04-03T10:29:06
2024-04-03T10:29:06
Mokanarangan Thayaparan, Marco Valentino, André Freitas
cs.CL
cs.CL, cs.AI, cs.LG
Integer Linear Programming (ILP) has been proposed as a formalism for encoding precise structural and semantic constraints for Natural Language Inference (NLI). However, traditional ILP frameworks are non-differentiable, posing critical challenges for the integration of continuous language representations based on deep learning. In this paper, we introduce a novel approach, named Diff-Comb Explainer, a neuro-symbolic architecture for explanation-based NLI based on Differentiable BlackBox Combinatorial Solvers (DBCS). Differently from existing neuro-symbolic solvers, Diff-Comb Explainer does not necessitate a continuous relaxation of the semantic constraints, enabling a direct, more precise, and efficient incorporation of neural representations into the ILP formulation. Our experiments demonstrate that Diff-Comb Explainer achieves superior performance when compared to conventional ILP solvers, neuro-symbolic black-box solvers, and Transformer-based encoders. Moreover, a deeper analysis reveals that Diff-Comb Explainer can significantly improve the precision, consistency, and faithfulness of the constructed explanations, opening new opportunities for research on neuro-symbolic architectures for explainable and transparent NLI in complex domains.
[ -0.5448042154312134, -0.533069372177124, 0.44533535838127136, 0.4684843122959137, -0.0482412613928318, 0.1472931206226349, -0.28748083114624023, -0.18861781060695648, -0.07182033360004425, -0.15263447165489197, -1.0827924013137817, -0.06301795691251755, -0.6726372838020325, 0.2621344029903412, -0.17366546392440796, 0.7156115770339966, -0.032947853207588196, 0.20476585626602173, -0.14464545249938965, 0.0800117552280426, -0.30170154571533203, -0.2809438109397888, -0.639687716960907, -0.7257516384124756, 0.5715832710266113, -0.13973692059516907, 0.6515789031982422, 0.32405659556388855, 0.3460593521595001, 0.3548753261566162, -0.10654749721288681, 0.2607601284980774, -0.26548588275909424, -0.3545414209365845, -0.39757153391838074, -0.615655779838562, 0.008958795107901096, -0.3870227336883545, 0.4090784192085266, 1.190168023109436, -0.36093273758888245, -0.29466482996940613, -0.15834349393844604, 0.8293645977973938, -0.6522150039672852, 0.07591107487678528, -0.851961612701416, 0.24474386870861053, 0.17076106369495392, -0.013375974260270596, -0.5439853072166443, -0.324434369802475, 0.06753062456846237, -0.6849269866943359, 0.1721113622188568, -0.2671165466308594, 0.8105257153511047, 0.7718967199325562, -0.32560715079307556, -0.36243364214897156, -0.9472329616546631, 0.8346974849700928, -1.293358325958252, 0.3168237805366516, 0.03433794900774956, 0.5380150079727173, -0.3758084774017334, -0.567247211933136, -1.0719473361968994, 0.25887569785118103, -0.31118667125701904, -0.013315760530531406, -0.2672933042049408, 0.21223656833171844, 0.2705480754375458, 0.37035277485847473, -0.6395395398139954, 0.15830408036708832, -0.22438471019268036, 0.06153053045272827, 0.6605255603790283, 0.049633804708719254, 0.15808291733264923, 0.11509664356708527, 0.04101241007447243, 0.16970941424369812, -0.21074070036411285, 0.031578995287418365, 0.20056012272834778, -0.08108349144458771, -0.2075236439704895, 0.08144478499889374, -0.045962024480104446, 0.7987825870513916, 0.25139275193214417, -0.1481572538614273, 0.26971006393432617, 0.02886219695210457, -0.3510001599788666, 0.1784399449825287, 0.4393950402736664, 0.12196020781993866, 0.2490665316581726, -0.3972174823284149, -0.012873401865363121, 0.4521082639694214, 0.17447485029697418, -0.8546279668807983, -0.07482905685901642, 0.2741938531398773, -0.66426682472229, -0.20721906423568726, -0.2745397984981537, -0.9114298820495605, -0.12866345047950745, -0.6869474053382874, 0.1927901655435562, -0.6229380965232849, -0.2532959282398224, 0.6335164904594421, -0.17272451519966125, 0.4280000329017639, 0.34280824661254883, -0.9917507767677307, 0.6025518774986267, 0.8726226687431335, 0.6484166979789734, -0.038753099739551544, -0.059058137238025665, -0.4448021948337555, -0.08679760247468948, -0.2840363383293152, 0.4638034403324127, -0.9386113286018372, 0.08748283237218857, -0.037642478942871094, -0.2616414725780487, -0.13570235669612885, -0.4360484778881073, 0.3300877511501312, -0.3930986821651459, 0.40319180488586426, -0.06638598442077637, -0.5291457772254944, -0.4857299029827118, -0.09967822581529617, -0.4292373061180115, 0.633255124092102, 0.05595617741346359, -0.6123568415641785, 0.17189869284629822, -0.7786855101585388, -0.16801989078521729, 0.009131131693720818, -0.4380580484867096, -0.3590705990791321, 0.43717315793037415, 0.23793810606002808, -0.057941973209381104, -0.25976303219795227, 0.5224003791809082, -0.5770833492279053, -0.31046533584594727, 0.3900993764400482, -0.7738440632820129, 0.9696178436279297, 0.27056604623794556, -0.5273954272270203, -0.1982685625553131, -0.8104202747344971, 0.03883954882621765, 0.06892258673906326, 0.043995440006256104, -0.11080098897218704, 0.23739683628082275, -0.5039194226264954, 0.42548519372940063, 0.16714143753051758, -0.5911481380462646, 0.20612066984176636, -0.6203595399856567, 0.48438382148742676, 0.6793336272239685, -0.0857800766825676, 0.5243209600448608, -0.1839105784893036, 0.38472655415534973, 0.1691436469554901, 0.11887159943580627, 0.24389466643333435, -0.4169207513332367, -0.7255178093910217, -0.04355385899543762, 0.2204829454421997, 0.4661937654018402, -0.6605230569839478, 0.2490786910057068, -0.01885927841067314, -0.12866508960723877, -0.6049299836158752, -0.04069576412439346, 0.4058486521244049, 0.6331270933151245, 0.2944340407848358, 0.26468566060066223, -0.5051887631416321, -1.1265685558319092, 0.027605324983596802, 0.14166608452796936, -0.25516951084136963, 0.13095110654830933, 0.5730736255645752, -0.18306462466716766, 0.8842454552650452, -0.4234953224658966, 0.21358363330364227, -0.0680953785777092, 0.4627225399017334, 0.7270692586898804, 0.32376420497894287, 0.6109727621078491, -0.8989855051040649, -0.509477972984314, -0.16607226431369781, -0.6939902305603027, -0.17741262912750244, -0.5468631982803345, -0.14398488402366638, -0.1500915288925171, 0.3452574908733368, -0.5762156248092651, 0.6695306301116943, 0.4987330138683319, -0.066030353307724, 0.6430402398109436, -0.34949222207069397, -0.3604253828525543, -0.823756217956543, -0.17619125545024872, -0.25716692209243774, 0.15813300013542175, -0.6456868648529053, -0.11951625347137451, -0.19488441944122314, 0.004246934782713652, -0.235647052526474, 0.1166897714138031, -0.33205294609069824, 0.19774606823921204, -0.125909686088562, -0.033802684396505356, 0.2882809638977051, 0.8428398370742798, 0.11103004962205887, 0.5784557461738586, 0.711203932762146, -0.5709706544876099, 0.016022231429815292, 0.16027602553367615, 0.0687473714351654, 0.4626578688621521, -0.7949543595314026, 0.2133093625307083, -0.5360557436943054, 0.31985682249069214, -0.7207860946655273, 0.060254741460084915, 0.14385062456130981, -0.35556653141975403, 0.24273276329040527, -0.3256894648075104, -0.12378600239753723, -0.42639103531837463, -0.27713510394096375, 0.2392915040254593, 0.5311930179595947, -0.7675462365150452, 0.8795687556266785, -0.25663402676582336, 0.10595403611660004, -0.6999428868293762, -0.8399434089660645, -0.03755057975649834, -0.1974441558122635, -0.5444724559783936, 0.8695656657218933, -0.4702118933200836, -0.6934170722961426, 0.0868808701634407, -0.4929651916027069, -0.4949386417865753, 0.22509849071502686, 0.11488506197929382, 0.17064975202083588, -0.6658827662467957, 0.20089076459407806, 0.418520450592041, -0.2764263153076172, 0.2741391658782959, -0.4284990131855011, 0.40037623047828674, -0.3127244710922241, -0.6906429529190063, -0.5451803207397461, 0.706757128238678, 0.17160280048847198, -0.3103298544883728, 0.9448837041854858, 0.48949646949768066, -0.49706384539604187, -0.611997663974762, -0.18689151108264923, -0.2641291618347168, -0.5148940682411194, 0.09990331530570984, -0.4873652458190918, -0.475861519575119, 0.310742050409317, -0.3362082839012146, 0.3586125373840332, 0.23919835686683655, 0.46066975593566895, 0.027690930292010307, 1.0053699016571045, 0.2319786548614502, 0.28993672132492065, 0.2258920818567276, -0.16207048296928406, 0.6803824305534363, -0.5158308744430542, -0.08643556386232376, -0.3645452558994293, -0.7107492685317993, -0.2182248830795288, -0.6000611186027527, -0.17949144542217255, 0.6242334842681885, -0.07561183720827103, 0.01690634898841381, -0.9080479145050049, 0.722727358341217, 0.326299786567688, -0.2530551552772522, 0.2588830888271332, -0.054787617176771164, -0.19322828948497772, -0.23995500802993774, -0.4386155903339386, -0.4003973603248596, 0.5521456003189087, 0.1882227063179016, 0.8504501581192017, 0.40027692914009094, 0.9165517091751099, 0.029325420036911964, 0.0159908514469862, -0.4549299478530884, 0.2344289869070053, -0.5811452269554138, -0.4113612771034241, -0.08397410809993744, -0.34286853671073914, -0.6849455833435059, 0.34317415952682495, -0.015646720305085182, -1.210402011871338, 0.7093315124511719, 0.18768641352653503, -0.3224954605102539, 0.29807049036026, -0.9166022539138794, 0.674829363822937, -0.5366710424423218, -0.17882229387760162, -0.2528536915779114, -0.4589092433452606, 0.2299126386642456, 0.1620398312807083, 0.18748988211154938, -0.1802639663219452, 0.227430060505867, 0.41250380873680115, -0.5167169570922852, 0.76399165391922, -0.3859250545501709, 0.056804560124874115, -0.014393461868166924, 0.2579711973667145, 0.35861650109291077, 0.49250781536102295, -0.4519856572151184, 0.3053947985172272, -0.061761438846588135, -0.23635588586330414, -1.1851216554641724, 0.6562245488166809, -0.6245816946029663, -0.6084628701210022, -0.13408923149108887, -0.7791793346405029, -0.14650660753250122, -0.0723850354552269, 0.08217322081327438, 0.7564499974250793, 0.37771567702293396, 0.2900548577308655, 0.8443854451179504, -0.3209981322288513, 0.6563552021980286, 0.5595325827598572, -0.20477065443992615, -0.039343416690826416, 1.0663940906524658, -0.3093010187149048, 0.18049655854701996, 0.8894029259681702, 0.40526801347732544, -0.3581202030181885, -0.9906607866287231, -0.1665787696838379, 0.29066312313079834, -0.6072673201560974, 0.11718213558197021, -0.42440763115882874, -0.39690694212913513, -0.041388656944036484, -0.5150146484375, -0.23276954889297485, -0.460733562707901, -0.18733996152877808, -0.010136593133211136, 0.4077565670013428, 0.5152890086174011, -0.22726604342460632, 0.37120193243026733, -0.17357170581817627, 0.7378872036933899, 0.3958410918712616, 0.4949488341808319, -0.06700551509857178, -0.2946973741054535, 0.22203905880451202, 0.4431895613670349, -0.03101692721247673, -0.8415251970291138, 0.47717124223709106, 0.5224613547325134, 0.6935186386108398, 0.5001723766326904, 0.24303482472896576, 1.012681484222412, -0.41997718811035156, 0.3854319751262665, 0.1325424611568451, -0.9928240776062012, 0.1682785302400589, -0.004248655401170254, 0.3373681306838989, 0.6523022055625916, 0.35122552514076233, -0.4171064794063568, -0.16218292713165283, -0.30567723512649536, -0.7181015610694885, 0.6428638100624084, 0.4909787178039551, -0.14639773964881897, -0.04163530468940735, 0.3586403429508209, 0.3560440242290497, 0.17207731306552887, -0.8750593066215515, -0.4724830090999603, -0.35019299387931824, -0.4321300685405731, 0.22099840641021729, -0.08454765379428864, -0.146659716963768, -0.16284748911857605, 0.619102418422699, -0.250377893447876, 0.4565620720386505, 0.19524182379245758, -0.34948763251304626, 0.3893280029296875, 0.4413480758666992, 0.5926318764686584, 0.9569319486618042, -0.36298868060112, 0.33395254611968994, 0.17938542366027832, 0.06540476530790329, -0.20215517282485962, 0.3349490165710449, -0.15552914142608643, 0.4051852822303772, 0.458707332611084, 0.8715305328369141, 0.07888691872358322, -0.5450143814086914, 0.2315053939819336, -0.35863038897514343, -0.532782256603241, -0.2495497465133667, -0.033896900713443756, 0.5718243718147278, 0.09815825521945953, 0.4078289866447449, 0.07492613047361374, 0.27148452401161194, 0.011341288685798645, 0.27418050169944763, 0.3128355145454407, -0.3410489857196808, -0.20363926887512207, 0.6044268012046814, 0.08690975606441498, -0.7361481189727783, 0.6691199541091919, -0.48161575198173523, -0.3035247325897217, 0.7097112536430359, 0.5910943746566772, 0.5933161377906799, 0.19003979861736298, 0.4925040006637573, 0.0980457216501236, 0.12442173808813095, 0.5589140057563782, 0.15172222256660461, -0.2138771414756775, -0.675273597240448, -0.7741742730140686, -0.7045759558677673, -0.3184996545314789, 0.22347918152809143, -0.6746220588684082, -0.1610194891691208, -0.4393508732318878, 0.40004396438598633, 0.7276667356491089, -0.34285420179367065, -0.5841336250305176, -0.11213105916976929, 0.514504611492157, 0.8614285588264465, -0.5713663101196289, 0.8083603382110596, 0.3076249361038208, -0.3981560170650482, -0.7638580203056335, -0.10975426435470581, 0.17485007643699646, -0.6733208298683167, 0.7820432782173157, 0.1968805342912674, -0.22007165849208832, -0.29050806164741516, -0.3351607024669647, -0.49889668822288513, 0.5695178508758545, 0.8067639470100403, -0.9008435606956482, -0.2756814658641815, 0.3504968583583832, 0.5889600515365601, -0.287449449300766, 0.40700608491897583, 0.372536301612854, 0.4575774073600769, -0.00862214621156454, -0.6118302941322327, -0.06564702838659286, -0.4317590594291687, 0.16141048073768616, 0.31695082783699036, -0.01294611394405365, 0.8287754058837891, -0.04804132506251335, -0.051028136163949966, -0.31470316648483276, 0.5183041095733643, 0.12155680358409882, 0.39624395966529846, 0.6325103044509888, 0.5511595606803894, 0.7137287855148315, 0.010085072368383408, 0.9108885526657104, -0.2609100043773651, 0.21194174885749817, 1.4634666442871094, -0.15986543893814087, 0.5742418169975281, 0.9541494846343994, -0.43999233841896057, 1.1172207593917847, 0.41230839490890503, 0.18474513292312622, 0.46448802947998047, 0.45682787895202637, -0.4931902587413788, -0.2603861689567566, 0.0847843736410141, -0.2920374870300293, 0.3331219553947449, 0.3977988064289093, -0.2540477216243744, -0.7709293961524963, -0.17559948563575745, -0.20115923881530762, 0.40458011627197266, 0.037771791219711304, 0.6555026769638062, 0.16647931933403015, -0.6254072785377502, 0.802990198135376, -0.06913206726312637, 0.7973253726959229, -0.8956180810928345, -0.5112136006355286, -0.14479555189609528, 0.5330919027328491, -0.3913004398345947, -0.618170440196991, 0.7826209664344788, -0.3836092948913574, -0.46409913897514343, -0.43905264139175415, 0.33428433537483215, -0.3655228614807129, -0.5311403870582581, 0.3600408434867859, 0.048005104064941406, 0.06415969878435135, 0.04884995147585869, -0.9935693740844727, -0.14188048243522644, 0.24569647014141083, 0.13659150898456573, 0.14975997805595398, 0.635831892490387, 0.04494801536202431, 0.7717890739440918, 0.7906672358512878, -0.20560094714164734, 0.23540474474430084, 0.3254804313182831, 0.9262312054634094, -0.32839831709861755, -0.29802826046943665, -0.984536349773407, 0.6161209940910339, -0.22030436992645264, -0.2759714722633362, 0.25838005542755127, 0.3039741814136505, 0.4752325415611267, -0.19413134455680847, 0.581875741481781, -0.4247138798236847, 0.14967596530914307, -0.39079543948173523, 0.2090432494878769, -0.39580342173576355, 0.40416982769966125, 0.0769268274307251, -0.5866956114768982, -0.17044350504875183, 0.8329184651374817, -0.4987812042236328, -0.3272678554058075, 0.9160363078117371, 0.8406616449356079, -0.23682215809822083, -0.08067494630813599, -0.020099174231290817, 0.34230831265449524, 0.49033287167549133, 0.7702332139015198, 0.5295954942703247, -0.0017791209975257516, 0.6267013549804688, -0.7495725154876709, -0.10584081709384918, -0.00791279599070549, -1.0549399852752686, -0.8607571721076965, -0.47138601541519165, -0.4411294460296631, -0.05731368064880371, 0.04629524052143097, 0.7961037158966064, 0.8115545511245728, -1.0540026426315308, -0.08267855644226074, -0.6594487428665161, 0.6492622494697571, -0.5044907927513123, -0.33165979385375977, 0.034108493477106094, -0.44066521525382996, -0.6565732955932617, 0.4571917653083801, 0.48393070697784424, -0.44031432271003723, -0.27139201760292053, -0.2770494222640991, -0.40560489892959595, 0.17205004394054413, 0.44969990849494934, 0.3565337061882019, -0.8772124648094177, -0.07355282455682755, -0.15731029212474823, 0.3144240379333496, 0.22977162897586823, 0.7505636215209961, -0.7717241644859314, 0.5766393542289734, 0.47210192680358887, 0.6980172991752625, 0.547808051109314, -0.2826429307460785, 0.8630967736244202, -0.6076251268386841, 0.44189757108688354, 0.4725821018218994, 0.36803603172302246, 0.02942332625389099, -0.28241729736328125, 0.30963364243507385, 0.009031698107719421, -0.08511500805616379, -0.863591194152832, 0.451113760471344, -1.21682608127594, -0.5407683253288269, 0.851002037525177, -0.09757540374994278, -0.4185490608215332, -0.37409165501594543, -0.14170867204666138, -0.051056619733572006, -0.4166286587715149, 0.6918249130249023, 0.39279788732528687, -0.2202007919549942, -0.2861732542514801, -0.26811373233795166, 0.3189660906791687, 0.31368884444236755, -0.9053493738174438, -0.06058628484606743, 0.22464869916439056, 0.1595393717288971, 0.12965068221092224, 0.20916876196861267, -0.02470647357404232, 0.17152857780456543, 0.3009619414806366, 0.030679337680339813, -0.21030348539352417, 0.061347316950559616, -0.2916991710662842, -0.023190248757600784, -0.10701689124107361, -0.1952732652425766 ]
http://arxiv.org/abs/2404.02622v1
http://arxiv.org/pdf/2404.02622v1
Estimating the Causal Effects of Natural Logic Features in Transformer-Based NLI Models
2024-04-03T10:22:35
2024-04-03T10:22:35
Julia Rozanova, Marco Valentino, André Freitas
cs.CL
cs.CL
Rigorous evaluation of the causal effects of semantic features on language model predictions can be hard to achieve for natural language reasoning problems. However, this is such a desirable form of analysis from both an interpretability and model evaluation perspective, that it is valuable to investigate specific patterns of reasoning with enough structure and regularity to identify and quantify systematic reasoning failures in widely-used models. In this vein, we pick a portion of the NLI task for which an explicit causal diagram can be systematically constructed: the case where across two sentences (the premise and hypothesis), two related words/terms occur in a shared context. In this work, we apply causal effect estimation strategies to measure the effect of context interventions (whose effect on the entailment label is mediated by the semantic monotonicity characteristic) and interventions on the inserted word-pair (whose effect on the entailment label is mediated by the relation between these words). Extending related work on causal analysis of NLP models in different settings, we perform an extensive interventional study on the NLI task to investigate robustness to irrelevant changes and sensitivity to impactful changes of Transformers. The results strongly bolster the fact that similar benchmark accuracy scores may be observed for models that exhibit very different behaviour. Moreover, our methodology reinforces previously suspected biases from a causal perspective, including biases in favour of upward-monotone contexts and ignoring the effects of negation markers.
[ -0.44049203395843506, -1.153192162513733, 0.45183563232421875, 0.4636407494544983, 0.10596484690904617, -0.6916133165359497, -0.12020260840654373, -0.4879494905471802, 0.2647888660430908, 0.6870241761207581, -0.602039098739624, -0.11758754402399063, -0.7910748720169067, 0.3006763458251953, -0.5756852626800537, 0.9051324129104614, 0.041334640234708786, -0.23026375472545624, -0.06873984634876251, -0.24646340310573578, -1.0731909275054932, -0.12193159013986588, -0.5413123369216919, -0.4748379588127136, 0.7355682253837585, -0.05278502404689789, 0.8270357251167297, 0.3355806767940521, 0.46579888463020325, 0.2576959431171417, -0.2990267872810364, -0.12932616472244263, -0.40141212940216064, 0.021023569628596306, -0.38008230924606323, -0.4944562613964081, -0.21093598008155823, 0.17624473571777344, 0.6349861025810242, 0.9669444561004639, 0.024835869669914246, 0.07499571144580841, 0.36451292037963867, 0.466679185628891, -0.7170050144195557, 0.109854556620121, -0.7075045704841614, -0.03522107005119324, 0.042811959981918335, -0.41911250352859497, -0.6130558848381042, -0.08878709375858307, 0.498108446598053, -0.47454506158828735, 0.19049997627735138, -0.0020055645145475864, 0.9305157661437988, 0.6907691955566406, -0.7366608381271362, -0.28927847743034363, -0.9488221406936646, 1.0115416049957275, -0.7313198447227478, 0.188562273979187, 0.19837428629398346, 0.1286434531211853, -0.41369202733039856, -0.5937201380729675, -0.5171552896499634, -0.0484507754445076, -0.675373911857605, 0.3343214690685272, -0.43213996291160583, -0.039106760174036026, 0.579197883605957, -0.037092071026563644, -0.22400450706481934, -0.05511944741010666, -0.1851087361574173, -0.10721291601657867, 0.47150689363479614, 0.2543739378452301, 0.3090621829032898, -0.4667953848838806, -0.40871477127075195, 0.11318503320217133, -0.611403226852417, 0.22040575742721558, 0.15140900015830994, 0.3731379806995392, -0.28044185042381287, 0.4731251895427704, -0.08024168759584427, 0.8646345734596252, -0.02623998187482357, -0.008506584912538528, -0.10146058350801468, -0.6609876751899719, -0.3842104375362396, 0.06430204957723618, 0.5836315155029297, 0.13407732546329498, 0.18896833062171936, -0.3689119517803192, 0.10338189452886581, 0.4050522744655609, 0.2951613962650299, -0.37478160858154297, 0.13104331493377686, 0.09852134436368942, -0.3141903281211853, -0.25543534755706787, 0.21471838653087616, -0.4749795198440552, -0.3212633430957794, -0.672234833240509, 0.4681248962879181, -0.25604140758514404, -0.2959560751914978, 0.3201388120651245, -0.36453360319137573, 0.5020186305046082, -0.04884154349565506, -0.5116976499557495, 0.33677634596824646, 0.7371898889541626, 0.5267966985702515, -0.04510848969221115, -0.38874876499176025, -0.3599417209625244, 0.24537509679794312, -0.05449596047401428, 0.7073875665664673, -0.5085965394973755, -0.15096934139728546, 0.05380672961473465, 0.19514988362789154, -0.566100001335144, -0.3539748191833496, 0.9843995571136475, -0.3865761458873749, 0.16963206231594086, -0.19543594121932983, -0.5887008309364319, -0.19439120590686798, 0.189627543091774, -0.8033047318458557, 0.7096034288406372, -0.1765245497226715, -1.3093078136444092, 0.6577625274658203, -0.6827695965766907, -0.8495033383369446, -0.41673919558525085, 0.007850058376789093, -0.4111541509628296, 0.23753978312015533, 0.06144164130091667, 0.21962738037109375, -0.4111323058605194, 0.8281257748603821, -0.22580653429031372, -0.272305965423584, 0.3024059236049652, -0.7858700156211853, 0.9066755771636963, -0.4020528495311737, -0.5406385660171509, 0.35530757904052734, -0.7955055236816406, -0.43021199107170105, 0.06644872575998306, 0.12164393812417984, -0.6427011489868164, 0.3511240482330322, -0.05428500473499298, 0.26415595412254333, -0.19441257417201996, -0.4063999354839325, -0.08069425821304321, -0.4527665674686432, 0.03768227621912956, 0.52128005027771, 0.38949066400527954, 0.3965923488140106, -0.21468956768512726, 0.06529787927865982, 0.04651707410812378, 0.4209432601928711, 0.04382866621017456, -0.8106637597084045, -0.7268982529640198, -0.2932022213935852, 0.0541195347905159, 0.4010176956653595, -0.550611138343811, 0.4923633337020874, -0.3072943091392517, -0.1645302176475525, -0.16538265347480774, -0.12182265520095825, 0.32662874460220337, 0.8225939273834229, 0.4171334207057953, -0.030548173934221268, -0.49947822093963623, -1.1683087348937988, -0.6582168936729431, -0.028561841696500778, -0.2552897036075592, 0.12887871265411377, 0.6401298642158508, -0.29189980030059814, 1.3336714506149292, -0.5131517052650452, -0.16268157958984375, -0.07222277671098709, 0.5639744997024536, 0.5548133850097656, 0.3959358036518097, 0.4004712700843811, -0.7870731949806213, -0.10297590494155884, -0.37330156564712524, -0.6789917945861816, -0.2199498414993286, -0.47404345870018005, -0.381374716758728, 0.008994354866445065, 0.35992759466171265, -0.5318439602851868, 0.7966970801353455, 0.2273450642824173, -0.5262929797172546, 0.5392488241195679, -0.06567205488681793, 0.08805219829082489, -0.6454674601554871, 0.21583567559719086, 0.25213584303855896, 0.35486292839050293, -0.9374174475669861, -0.175383523106575, -0.16061793267726898, 0.3634657561779022, -0.2168256938457489, 0.4454091489315033, 0.0009682087111286819, 0.2302040457725525, -0.13051737844944, 0.12095057219266891, 0.1098814308643341, 0.5140860080718994, 0.030698265880346298, 0.2288534939289093, 0.3676399886608124, -0.7187781929969788, -0.3018377423286438, 0.22458875179290771, -0.1151021420955658, 0.5706246495246887, -0.8667197823524475, -0.23072996735572815, -0.29584887623786926, 0.202398419380188, -0.7554352879524231, -0.12224432080984116, 0.24104498326778412, -0.1816146820783615, 0.19783887267112732, 0.04729338362812996, -0.3670896589756012, -0.046090733259916306, -0.08778920769691467, 0.18678715825080872, 0.15369467437267303, -0.46375229954719543, 0.8308605551719666, 0.1873825490474701, 0.3329421281814575, -0.41524505615234375, -0.57387775182724, 0.009360086172819138, -0.5293094515800476, -0.9679222106933594, 0.18773728609085083, 0.33662015199661255, -0.43696433305740356, 0.15968279540538788, -0.25290146470069885, -0.03686186298727989, 0.46931391954421997, 0.4452272355556488, 0.2931325137615204, -0.1806936413049698, 0.08625426143407822, 0.25321096181869507, -0.43425217270851135, 0.4772980511188507, 0.025394201278686523, 0.13096526265144348, 0.004341530613601208, -0.3434174954891205, -0.2604680359363556, 0.33131903409957886, 0.49441877007484436, -0.2569335997104645, 1.0447850227355957, 0.4037957489490509, -0.43156003952026367, -0.07776689529418945, -0.4627566337585449, -0.3098584711551666, -0.33795759081840515, 0.03661135584115982, -0.2055308073759079, -0.6646822094917297, 0.502855122089386, 0.011372542940080166, 0.008270914666354656, 0.7008137702941895, 0.15415698289871216, 0.10290785133838654, 1.0743108987808228, 0.4792606234550476, -0.1424611657857895, 0.23917563259601593, -0.20008531212806702, 0.4985983967781067, -0.856116771697998, -0.13901950418949127, -0.5860817432403564, -0.2545006573200226, -0.7305682301521301, -0.26242679357528687, 0.4969533681869507, 0.16210538148880005, -0.2735857367515564, 0.4185941517353058, -0.24843212962150574, 0.081024169921875, 0.48046502470970154, 0.1405518651008606, 0.36952143907546997, -0.2133503407239914, 0.03503987193107605, -0.07748720049858093, -0.7664936780929565, -0.4789923429489136, 0.7690424919128418, 0.23596487939357758, 0.5410866737365723, 0.11749453097581863, 0.3377583920955658, -0.003526349551975727, 0.6218978762626648, -0.619902491569519, 0.2645195722579956, 0.1353796124458313, -0.6724189519882202, -0.3624204397201538, -0.39791515469551086, -0.8993759751319885, 0.14868830144405365, -0.4799419641494751, -0.766059398651123, 0.40503576397895813, 0.05500078573822975, -0.0019391127862036228, -0.048217400908470154, -0.8196699619293213, 1.0910379886627197, 0.08578437566757202, -0.5539460778236389, -0.2711024582386017, -0.6416870951652527, 0.5782015323638916, -0.1368158608675003, 0.2040630429983139, 0.01577669009566307, 0.33834925293922424, 0.5374044179916382, -0.23415325582027435, 0.9960488677024841, -0.17076733708381653, -0.018804602324962616, 0.1981256604194641, -0.13026857376098633, 0.4453568160533905, 0.005006673280149698, -0.17759577929973602, 0.3812871277332306, -0.11819498986005783, -0.40538373589515686, -1.0650237798690796, 0.48909783363342285, -0.4132045805454254, -0.7177848219871521, -0.13098108768463135, -0.629898726940155, -0.23344014585018158, 0.10831678658723831, 0.15839260816574097, 0.7199680209159851, -0.1254681795835495, 0.016645031049847603, 0.43876180052757263, -0.38572633266448975, 0.29412657022476196, 0.39186328649520874, 0.02456982061266899, 0.17514611780643463, 0.4871353805065155, 0.11097165942192078, 0.42279547452926636, 0.2497084140777588, 0.5695985555648804, -0.13267439603805542, -0.2827310860157013, -0.06696832180023193, 0.281482070684433, -0.5829383134841919, 0.07073099911212921, -0.4250255823135376, -0.13911674916744232, -0.0432831272482872, -0.17151665687561035, -0.11216533929109573, -0.16066403687000275, 0.13807496428489685, 0.07137966901063919, 0.19103382527828217, 0.5558351278305054, 0.110585056245327, 0.0249972864985466, -0.44454851746559143, 0.24392765760421753, 0.26559293270111084, 0.30901041626930237, 0.1462269276380539, -0.5435341000556946, -0.0930432602763176, 0.04568622633814812, -0.021695980802178383, -0.8297504782676697, 0.20943795144557953, 0.01596425101161003, 0.4913138151168823, 0.48866766691207886, 0.20276038348674774, 0.8069931864738464, -0.5513644218444824, 0.43456780910491943, 0.12239089608192444, -0.9280531406402588, 0.7551891803741455, -0.20503269135951996, 0.40862178802490234, 0.3601222336292267, 0.321016788482666, -0.5643263459205627, -0.8215577602386475, -0.49580755829811096, -0.8827744126319885, 0.4431304335594177, 0.46080076694488525, 0.0010072389850392938, -0.3684006631374359, 0.22393864393234253, -0.13490724563598633, -0.14251510798931122, -0.5844887495040894, -0.49159160256385803, -0.019463609904050827, -0.001577900955453515, 0.22253403067588806, -0.17265158891677856, -0.2553849518299103, -0.36138638854026794, 0.6784220933914185, -0.06294973939657211, 0.09375232458114624, 0.36332088708877563, -0.15196511149406433, 0.1466820389032364, 0.3640083968639374, 0.6037998795509338, 0.5539761185646057, -0.2366967797279358, 0.21002252399921417, 0.1654077023267746, -0.10026135295629501, -0.27111151814460754, 0.17876316606998444, -0.5663426518440247, 0.0910022035241127, 0.885421872138977, 0.9699284434318542, 0.7114881873130798, -0.4072323441505432, 0.45862165093421936, -0.14106543362140656, 0.09820233285427094, -0.292234867811203, -0.15674710273742676, -0.11159750074148178, 0.00342330033890903, 0.08202879875898361, 0.4145599603652954, 0.38212525844573975, -0.3950815498828888, 0.32002556324005127, 0.5264078378677368, -0.7256022095680237, -0.36494362354278564, 0.4838111102581024, -0.008643724955618382, -0.10196176171302795, 0.4676462709903717, -0.022906679660081863, -0.4166930615901947, 0.7890916466712952, 0.5752042531967163, 0.8819280862808228, -0.007990695536136627, 0.12947189807891846, 0.5974427461624146, 0.6223161220550537, 0.08049862086772919, -0.14322178065776825, 0.27084586024284363, -1.028025507926941, -0.724358081817627, -0.4651300311088562, -0.061114948242902756, -0.17208079993724823, -0.8390182852745056, 0.31431394815444946, -0.03042561747133732, -0.06321631371974945, 0.2975555658340454, -0.5296565294265747, -0.7063004970550537, -0.015432232990860939, -0.08400846272706985, 0.7597059607505798, -1.3476533889770508, 0.5164169669151306, 0.34553489089012146, -0.5168784260749817, -1.0074331760406494, 0.21406492590904236, 0.05459362268447876, -0.3403536081314087, 0.6845130920410156, 0.30445384979248047, -0.31574225425720215, -0.25611773133277893, -0.3945371210575104, -0.8273724317550659, 0.8473045825958252, 0.18025504052639008, -0.25084638595581055, 0.09702738374471664, 0.3414776921272278, 0.5431689023971558, -0.14178074896335602, 0.38681644201278687, 0.9542563557624817, 0.7225903868675232, -0.06406351923942566, -0.7729214429855347, 0.3337441384792328, -0.15590807795524597, -0.07788601517677307, 0.4395911395549774, 0.03703566640615463, 0.2804200351238251, 0.07507868111133575, -0.5361078977584839, -0.20412999391555786, 0.4497565031051636, 0.002825317904353142, 0.35639816522598267, 0.6813606023788452, 0.5240525603294373, 0.4904325306415558, -0.1522955745458603, 1.4024252891540527, -0.43695637583732605, 0.34464895725250244, 1.1683036088943481, -0.0803447812795639, 0.6216505765914917, 0.7891277074813843, 0.011563646607100964, 0.4717032313346863, -0.061157114803791046, 0.1549254208803177, 0.41742926836013794, 0.21028174459934235, -0.2293195277452469, -0.0650959387421608, -0.49938711524009705, 0.04542772099375725, 0.40945568680763245, 0.2812356948852539, -0.1400611400604248, -0.2573489844799042, -0.11432797461748123, 0.0012133005075156689, 0.09491303563117981, -0.0690920427441597, 0.5229701995849609, 0.057503506541252136, -0.7269553542137146, 0.34155622124671936, -0.0597611665725708, 0.6732299327850342, -0.5277871489524841, -0.12217817455530167, -0.09789649397134781, 0.013399621471762657, -0.3273928165435791, -0.3316603899002075, 0.9111788868904114, -0.16218292713165283, -0.3053661286830902, -0.12978456914424896, 0.7502598762512207, -0.1743338406085968, -0.6076127290725708, 0.5665474534034729, 0.37814781069755554, -0.38894122838974, 0.0488322414457798, -0.3941965103149414, -0.11425594240427017, -0.30394619703292847, -0.26970160007476807, -0.0024992937687784433, 0.308508038520813, -0.20033597946166992, 0.3467119634151459, 0.49046555161476135, -0.15007975697517395, 0.08827179670333862, 0.39700058102607727, 0.646618664264679, -0.5537061095237732, -0.07172825932502747, -0.8051096200942993, 0.8639089465141296, -0.22723032534122467, -0.40154722332954407, 0.7909467816352844, 0.2851058840751648, 0.5981086492538452, -0.0027015116065740585, 0.3819005787372589, -0.03220721706748009, 0.3406609296798706, -0.4737016260623932, 0.4800831377506256, -0.27470770478248596, 0.3362298011779785, -0.5149955153465271, -0.7778132557868958, -0.6447378993034363, 0.3815072476863861, -0.5684506297111511, -0.3452256917953491, 0.9427263140678406, 0.8237455487251282, -0.026489323005080223, 0.34167253971099854, 0.1622365564107895, 0.36486902832984924, 0.19037924706935883, 0.21916116774082184, 0.895822286605835, -0.5047075748443604, 0.14202111959457397, -0.23238979279994965, -0.2934704124927521, 0.24301254749298096, -0.8991835713386536, -0.7437242269515991, -0.4025079905986786, -0.43295523524284363, -0.151264950633049, -0.22617825865745544, 0.5099080204963684, 0.23624823987483978, -0.7901005744934082, -0.08753782510757446, -0.4402702748775482, 0.6005159616470337, -0.4377567172050476, -0.30213794112205505, 0.5668864250183105, -0.4223366677761078, -0.5343862175941467, 0.2856300473213196, 0.42592495679855347, -0.5966234803199768, -0.0999191403388977, 0.14506110548973083, -0.46045345067977905, 0.3109213411808014, 0.6425304412841797, 0.04675280675292015, -0.9081224203109741, -0.7803849577903748, 0.1253892332315445, 0.0929192379117012, -0.16369561851024628, 0.9576589465141296, -0.7239811420440674, 0.3990063965320587, 0.3916848301887512, 0.5509144067764282, 0.25962164998054504, -0.31057965755462646, 0.6961416006088257, -0.55534827709198, 0.24092884361743927, -0.0699961930513382, 0.5201658606529236, 0.052998729050159454, -0.028327642008662224, 0.6290991306304932, 0.34209054708480835, -0.1896817535161972, -0.6102226376533508, 0.44360730051994324, -0.7602458000183105, -0.16038963198661804, 0.9465163350105286, -0.04692164063453674, -0.13214023411273956, -0.3446178436279297, 0.05363016948103905, 0.3905802071094513, 0.20017407834529877, 0.8252284526824951, 0.5677464008331299, -0.1471700370311737, 0.2568965554237366, -0.688923716545105, 0.24628055095672607, 0.5423147082328796, -0.7084359526634216, -0.25669363141059875, 0.414750337600708, 0.062115926295518875, 0.4016694128513336, 0.05179813131690025, -0.04020184651017189, 0.03340906277298927, 0.09295942634344101, -0.1153496727347374, 0.3207487165927887, -0.25971710681915283, -0.4823540151119232, 0.10131163895130157, -0.2685866057872772, 0.20807315409183502 ]
http://arxiv.org/abs/2404.02619v1
http://arxiv.org/pdf/2404.02619v1
Adjusting Interpretable Dimensions in Embedding Space with Human Judgments
2024-04-03T10:13:18
2024-04-03T10:13:18
Katrin Erk, Marianna Apidianaki
cs.CL
cs.CL
Embedding spaces contain interpretable dimensions indicating gender, formality in style, or even object properties. This has been observed multiple times. Such interpretable dimensions are becoming valuable tools in different areas of study, from social science to neuroscience. The standard way to compute these dimensions uses contrasting seed words and computes difference vectors over them. This is simple but does not always work well. We combine seed-based vectors with guidance from human ratings of where words fall along a specific dimension, and evaluate on predicting both object properties like size and danger, and the stylistic properties of formality and complexity. We obtain interpretable dimensions with markedly better performance especially in cases where seed-based dimensions do not work well.
[ -0.32032838463783264, -0.6402909159660339, 0.6225972771644592, 0.5995228886604309, -0.17986074090003967, 0.23016533255577087, -0.20600289106369019, -0.5737791061401367, 0.40077584981918335, 0.05398540571331978, -0.4346369206905365, -0.44901007413864136, -0.9367448687553406, -0.06256923824548721, -0.25160229206085205, 0.5564867258071899, -0.08235461264848709, 0.05637658014893532, -0.712334930896759, -0.35231488943099976, -0.9260887503623962, -0.3592434823513031, -0.14526422321796417, -0.15000829100608826, 0.2525191307067871, 0.3466300368309021, 0.931425154209137, 0.9558414816856384, 0.5866405367851257, 0.36830592155456543, -0.29002004861831665, 0.16024623811244965, -0.3135579824447632, -0.21401210129261017, -0.3238586187362671, -0.2964228093624115, -0.5334818363189697, 0.41932305693626404, 0.5471332669258118, 1.1101963520050049, -0.07761817425489426, -0.03831678256392479, 0.20079702138900757, 0.5903662443161011, -0.5394124984741211, 0.33739110827445984, -0.18369562923908234, 0.4368959963321686, 0.14064227044582367, -0.5151052474975586, -0.18672503530979156, -0.37283116579055786, 0.29194822907447815, -0.7382940649986267, 0.4935549199581146, 0.37086978554725647, 0.5651203989982605, 0.12131836265325546, -0.2702443599700928, -0.32068073749542236, -0.8372564315795898, 1.071877360343933, -0.11718142032623291, 0.763458251953125, 0.5302326679229736, 0.3619171679019928, -0.24450546503067017, -0.6530752182006836, -0.3360964357852936, -0.12476085126399994, -0.3176448345184326, -0.1673029214143753, -0.12972049415111542, -0.15558607876300812, 0.5509867668151855, 0.1901341676712036, -0.4435969591140747, -0.1050933226943016, -0.5666836500167847, -0.27491292357444763, 0.8189889192581177, 0.19108536839485168, 0.5090734958648682, -0.3681865334510803, -0.24544064700603485, -0.246079221367836, -0.6226412653923035, 0.25750643014907837, 0.411235511302948, 0.31735938787460327, -0.05414115637540817, 0.26885154843330383, -0.013080988079309464, 0.5579763650894165, -0.08975499123334885, 0.025983132421970367, 0.38894811272621155, -0.1543520838022232, 0.08156604319810867, -0.03525513783097267, 0.3230614960193634, 0.65042644739151, -0.042518436908721924, -0.1966174691915512, 0.12836922705173492, 0.026467880234122276, 0.6784527897834778, -0.7157210111618042, -0.2928006052970886, 0.09768571704626083, -0.7750093340873718, -0.4628916382789612, 0.3919890224933624, -0.8535391092300415, -0.6413230299949646, -0.24092121422290802, 0.5041199922561646, -0.6796607375144958, -0.004688582383096218, 0.36459019780158997, -0.5403833389282227, 0.2663707137107849, 0.5537186861038208, -0.7770869135856628, 0.3206825852394104, 0.6848711967468262, 0.9637231826782227, 0.10464651137590408, -0.1901954561471939, -0.2060096710920334, -0.19930529594421387, -0.5012398958206177, 0.5168262720108032, -0.9757698178291321, -0.632095456123352, -0.1915123462677002, -0.03943591192364693, 0.21494518220424652, -0.25839149951934814, 0.7119306921958923, -0.1810358166694641, 0.16939261555671692, -0.7018556594848633, -0.5503317713737488, -0.3915170729160309, -0.09660997241735458, -0.49866387248039246, 0.4375642240047455, 0.16130511462688446, -0.8520100116729736, 0.8740019202232361, -0.8824479579925537, -0.3011540472507477, 0.1012701764702797, -0.31880250573158264, -0.2702704071998596, 0.38046541810035706, 0.44156181812286377, 0.5040093660354614, 0.05948256328701973, -0.17410798370838165, -0.3472980856895447, -0.4380040168762207, 0.494321346282959, -0.1150190532207489, 0.3505791127681732, 0.1745220571756363, -0.08818312734365463, 0.2601670026779175, -1.0997737646102905, 0.05376150831580162, 0.2904103696346283, -0.15076884627342224, -0.4459897577762604, 0.6226571798324585, 0.03656940534710884, 0.06041997671127319, 0.1792183220386505, -0.6516828536987305, 0.039018385112285614, -0.21732814610004425, 0.7200073599815369, 0.683031439781189, -0.003294324269518256, 0.7861970067024231, -0.08804977685213089, 0.482565701007843, 0.06267709285020828, 0.05183430388569832, 0.14984045922756195, -0.5298694968223572, -0.4728664457798004, -0.26454517245292664, 0.3577524423599243, 0.19123004376888275, -0.554896354675293, 0.6911420822143555, -0.3403109908103943, -0.4207693636417389, -0.3477306365966797, -0.0695498064160347, 0.2628685534000397, -0.07994691282510757, 0.31216681003570557, -0.436382919549942, -0.6551154255867004, -0.8761991858482361, -0.48864060640335083, -0.038889866322278976, -0.16871534287929535, 0.5322556495666504, 0.538303017616272, -0.05735493823885918, 0.8405556082725525, -0.964629054069519, -0.3418499529361725, 0.08320537954568863, 0.2615945041179657, -0.0454925075173378, 0.6112716197967529, 0.614703893661499, -0.7210415601730347, -0.10647128522396088, -0.11742755770683289, -0.6927816271781921, 0.006936009973287582, -0.05545172840356827, -0.18489275872707367, -0.45338165760040283, 0.5962362289428711, -0.058529920876026154, 0.6464232802391052, 0.5519213676452637, -0.9375567436218262, 0.3232303559780121, -0.40594521164894104, 0.040144842118024826, -0.736812174320221, -0.2951086163520813, 0.057480353862047195, -0.25699278712272644, -0.3997098207473755, 0.1669849306344986, 0.26404377818107605, -0.027909742668271065, -0.291098952293396, 0.31530147790908813, -0.5526211261749268, -0.44866278767585754, -0.2136654555797577, 0.11471857130527496, 0.47506919503211975, 0.21068935096263885, -0.1805773675441742, 0.5499100089073181, 0.1894766241312027, -0.32746967673301697, 0.14946961402893066, 0.5691595077514648, -0.6289085745811462, 0.7825619578361511, -0.6653375029563904, 0.4336870014667511, -0.3135589063167572, 0.3210402727127075, -0.9223529100418091, -0.22192859649658203, 0.007510926574468613, -0.5393575429916382, 0.4062024652957916, 0.14783185720443726, -0.17602093517780304, -0.20976832509040833, -0.567206859588623, 0.4311244785785675, 0.2510835826396942, -0.45433011651039124, 0.681723952293396, 0.16000314056873322, 0.07920635491609573, -0.47424033284187317, -0.5460521578788757, -0.02290712110698223, -0.23130379617214203, -0.6145756840705872, 0.30450770258903503, -0.0285508930683136, -0.33975282311439514, 0.29081666469573975, 0.06855174899101257, 0.24047744274139404, 0.14409267902374268, 0.7406739592552185, 0.01667744107544422, -0.01165691390633583, 0.1488344371318817, 0.1810780018568039, -0.10148140788078308, 0.16266603767871857, -0.3285142481327057, 0.2955509126186371, -0.16413509845733643, -0.3340824842453003, -0.12186740338802338, 0.40971800684928894, 0.5753149390220642, 0.0019482908537611365, 1.0801297426223755, 0.7429432272911072, -0.49810484051704407, -0.25558459758758545, -0.17600485682487488, -0.15073265135288239, -0.4596179127693176, 0.3882233798503876, -0.4966107904911041, -0.9370191693305969, 0.5294175148010254, 0.11978857219219208, -0.030116930603981018, 0.5533673763275146, 0.31816530227661133, -0.30744680762290955, 1.1793205738067627, 0.9988073706626892, 0.30195286870002747, 0.4521799385547638, -0.3186497092247009, 0.2176838219165802, -1.204965353012085, -0.529962420463562, -0.47070640325546265, -0.8728892803192139, -0.7021682262420654, -0.7965002655982971, 0.29414650797843933, 0.0908006876707077, -0.13242341578006744, 0.2652054727077484, -0.4950605034828186, 0.4456392824649811, 0.3353360593318939, 0.23440463840961456, 0.011287457309663296, 0.015622728504240513, -0.19573235511779785, -0.5038628578186035, -0.394102543592453, -0.5121979117393494, 0.9359244108200073, 0.7494511008262634, 0.6843348741531372, 0.18863007426261902, 0.22043220698833466, 0.3124769926071167, 0.06191576272249222, -0.8087781071662903, 0.15781597793102264, -0.4531729817390442, -0.5380416512489319, -0.33920398354530334, -0.3258158564567566, -0.9192774891853333, 0.43981948494911194, -0.457498699426651, -1.0408844947814941, 0.7306402921676636, -0.09050963073968887, -0.46057936549186707, 0.3980075418949127, -0.5951113700866699, 0.4742644727230072, 0.019543617963790894, 0.03156070038676262, -0.3465879261493683, -0.3358646333217621, 0.050153110176324844, -0.06415213644504547, 0.35712289810180664, -0.08617212623357773, -0.13591475784778595, 1.0020028352737427, -0.26244720816612244, 0.8569247722625732, -0.11165106296539307, 0.0910428985953331, -0.17098559439182281, 0.2850629389286041, 0.2207510769367218, 0.003755948506295681, -0.012410723604261875, 0.4147038161754608, 0.1914895623922348, -0.411579430103302, -1.0492345094680786, 0.6591002941131592, -1.2081841230392456, -0.545842170715332, -0.3848348557949066, -0.8204851746559143, -0.2476128488779068, -0.21302318572998047, 0.35207146406173706, 0.547214925289154, -0.6222544312477112, 0.4340326488018036, 0.37584108114242554, -0.8084908723831177, 0.02412877418100834, 0.2637312114238739, -0.39414629340171814, -0.2116759866476059, 0.9189991354942322, 0.3788660764694214, -0.03779776766896248, 0.512670636177063, 0.539604663848877, -0.46031317114830017, -0.31704381108283997, -0.25259000062942505, 0.03087807260453701, -0.7956217527389526, 0.13404744863510132, -0.8792094588279724, -0.33171921968460083, -0.20873944461345673, -0.38733670115470886, -0.18782469630241394, -0.7516665458679199, -0.1941078156232834, -0.29155904054641724, 0.37769269943237305, 1.0833402872085571, -0.33988457918167114, 0.16450132429599762, -0.7420269846916199, 0.1132153868675232, 0.4321272075176239, 0.5486944317817688, -0.07879005372524261, -0.850387454032898, -0.1264728605747223, -0.15906387567520142, -0.18713976442813873, -0.7715243101119995, 0.28667527437210083, 0.21541160345077515, 0.4463571310043335, 0.8037762641906738, -0.3247441053390503, 0.5321741104125977, -0.5053096413612366, 0.6789124608039856, 0.17263354361057281, -1.0655126571655273, 0.6689697504043579, -0.1713080257177353, -0.031017009168863297, 0.06943860650062561, 0.29029059410095215, -0.5910578966140747, 0.0495695024728775, -0.7856782078742981, -0.6687151789665222, 0.5425026416778564, 0.45219284296035767, 0.2813938558101654, 0.27810388803482056, 0.45087966322898865, 0.19410113990306854, 0.08393963426351547, -0.05759737268090248, -0.19572311639785767, -0.31699928641319275, 0.24845153093338013, -0.5300534963607788, -0.6553483009338379, -0.27656289935112, -0.5983280539512634, 0.0888526514172554, -0.024725288152694702, 0.6028090715408325, -0.11599873006343842, -0.07800032198429108, -0.3146854639053345, 0.17886042594909668, 0.6700118184089661, 0.9538293480873108, -0.39437904953956604, 0.128402978181839, 0.2427290678024292, -0.5969119668006897, 0.21881897747516632, -0.2988068461418152, 0.15273869037628174, -0.22185108065605164, 0.7640794515609741, 1.0909782648086548, 0.2088487297296524, -0.06573843210935593, 0.6011174321174622, -0.3462623953819275, -0.41725316643714905, -0.2501082420349121, 0.23326624929904938, -0.1439620703458786, 0.2740086019039154, -0.11113304644823074, 0.263351172208786, 0.19244912266731262, -0.6756966710090637, 0.07785134762525558, 0.1720275729894638, -0.7629268169403076, -0.5836790204048157, 0.6947678327560425, 0.2714977264404297, -0.3523831367492676, 0.667242169380188, -0.10490009188652039, -0.5339681506156921, 0.6391457915306091, 0.38353773951530457, 0.953811526298523, 0.03949122130870819, 0.34741127490997314, 0.4424278140068054, 0.4534257650375366, 0.15400956571102142, 0.43307822942733765, 0.1433219313621521, -1.2047055959701538, -0.3801642656326294, -1.0173485279083252, -0.43577566742897034, 0.032259490340948105, -0.8358612060546875, -0.11982187628746033, -0.9118348956108093, -0.03828192874789238, 0.38113731145858765, -0.007841997779905796, -0.9953799843788147, 0.21907253563404083, -0.13619592785835266, 0.9685365557670593, -1.1995956897735596, 0.445406973361969, 1.0801411867141724, -0.2591264247894287, -0.8913389444351196, -0.06441095471382141, 0.3318270146846771, -0.6928355097770691, 0.7719899415969849, 0.07740677148103714, 0.016929874196648598, -0.3890174925327301, -0.6403221487998962, -0.9622616767883301, 1.0454192161560059, -0.04109066724777222, -0.4248976707458496, 0.3680793344974518, 0.01362584624439478, 0.7471345067024231, -0.4489445388317108, -0.04349822551012039, 0.7885236740112305, 0.5477712750434875, 0.10204629600048065, -0.40720292925834656, 0.21820910274982452, -0.19811582565307617, 0.42009109258651733, 0.15443778038024902, -0.3609364926815033, 0.7029016017913818, -0.12730391323566437, -0.19423997402191162, -0.0586528480052948, 0.8321896195411682, 0.049762871116399765, 0.1165834441781044, 0.7192999124526978, 0.5608344674110413, 0.8495950102806091, -0.2649677097797394, 1.2140350341796875, -0.23840874433517456, 0.16608451306819916, 0.6660743951797485, 0.22111396491527557, 0.8156217336654663, 0.3190648555755615, -0.6061936616897583, 0.7379004955291748, 0.4613032341003418, 0.062505342066288, 0.2876400351524353, 0.21160133183002472, 0.2633959949016571, -0.17886081337928772, -0.03156489133834839, -0.19970719516277313, 0.952826976776123, 0.7787984013557434, -0.40692058205604553, 0.19043461978435516, 0.010761748068034649, -0.36417335271835327, 0.1942729651927948, -0.0008511574123986065, 0.3960510194301605, 0.369789719581604, -0.12164560705423355, -0.18429253995418549, 0.2941235303878784, 0.504684567451477, -0.1968570351600647, -0.42089980840682983, -0.06812036037445068, 0.19362621009349823, -0.3818085491657257, -0.9926922917366028, 0.3265456557273865, -0.3265381455421448, -0.3652876317501068, -0.3026312589645386, 0.7798762917518616, 0.024036893621087074, -0.7255642414093018, 0.3943089246749878, 0.5758782625198364, 0.253727525472641, -0.00043810749775730073, -0.5311659574508667, 0.10254344344139099, -0.2835168242454529, 0.09106231480836868, 0.28392598032951355, 0.673072099685669, -0.2834082245826721, 0.663924515247345, 0.8322626948356628, 0.2825591266155243, -0.18820643424987793, 0.17036353051662445, 0.6601427793502808, -0.8519684076309204, -0.779752790927887, -0.6384104490280151, 0.29333868622779846, -0.030776996165513992, -0.23085570335388184, 0.645156741142273, 0.007741368841379881, 0.5624978542327881, -0.05975501984357834, 0.4587264358997345, -0.20573782920837402, 0.3702642023563385, -0.49649205803871155, 0.7917641997337341, -0.5542830228805542, 0.3454044461250305, -0.4580242931842804, -1.2097432613372803, -0.23280705511569977, 0.956084132194519, -0.4042574465274811, 0.268348753452301, 0.7270678877830505, 0.5207201838493347, 0.010359443724155426, 0.02489851601421833, 0.6562234163284302, 0.3332040011882782, 0.42782601714134216, 0.17215649783611298, 1.124772548675537, -0.21255794167518616, -0.07101792097091675, -0.33837831020355225, -0.36855772137641907, -0.30417463183403015, -1.0081119537353516, -0.7722106575965881, -0.6982600092887878, -0.28502029180526733, -0.33877331018447876, -0.22803881764411926, 0.8835145831108093, 0.790861189365387, -0.7409452795982361, 0.24289695918560028, 0.2965119183063507, 0.18435434997081757, -0.464291512966156, -0.2582038640975952, 0.6301662921905518, 0.168375164270401, -0.5711156725883484, 0.2255878746509552, 0.47214585542678833, -0.11361372470855713, -0.6953487992286682, -0.06474120914936066, 0.3221738636493683, 0.3233834207057953, 0.8055960536003113, -0.11328182369470596, -0.5874708294868469, -1.0686383247375488, -0.20185263454914093, 0.051268257200717926, -0.004653542768210173, 0.9044241309165955, -0.5059544444084167, 0.7150331735610962, 0.8949285745620728, 0.23661953210830688, 0.020250532776117325, 0.02989785559475422, 0.8599513173103333, -1.1430262327194214, 0.3125164806842804, -0.08528108149766922, 0.6457711458206177, 0.4834384322166443, -0.6470564603805542, 0.537083625793457, 0.273618221282959, -0.3111511766910553, -0.38361063599586487, 0.07327692955732346, -0.7736124396324158, -0.44603273272514343, 0.9886070489883423, -0.30655160546302795, -0.24534915387630463, -0.04485003277659416, -0.08984913676977158, 0.047165434807538986, -0.16169407963752747, 0.9055134654045105, 0.860884428024292, 0.011489721946418285, -0.12310602515935898, -0.5627606511116028, 0.5238652229309082, 0.07550953328609467, -0.4532012343406677, -0.4306909739971161, 0.3344987630844116, 0.3318174183368683, 0.4527895450592041, 0.19079940021038055, -0.2944246232509613, 0.21868927776813507, 0.2898070216178894, 0.03494030982255936, -0.13276909291744232, -0.6526250839233398, -0.5209452509880066, 0.05328700318932533, 0.2242652177810669, -0.4373925030231476 ]
http://arxiv.org/abs/2404.02616v1
http://arxiv.org/pdf/2404.02616v1
Improving Topic Relevance Model by Mix-structured Summarization and LLM-based Data Augmentation
2024-04-03T10:05:47
2024-04-03T10:05:47
Yizhu Liu, Ran Tao, Shengyu Guo, Yifan Yang
cs.IR
cs.IR, cs.CL
Topic relevance between query and document is a very important part of social search, which can evaluate the degree of matching between document and user's requirement. In most social search scenarios such as Dianping, modeling search relevance always faces two challenges. One is that many documents in social search are very long and have much redundant information. The other is that the training data for search relevance model is difficult to get, especially for multi-classification relevance model. To tackle above two problems, we first take query concatenated with the query-based summary and the document summary without query as the input of topic relevance model, which can help model learn the relevance degree between query and the core topic of document. Then, we utilize the language understanding and generation abilities of large language model (LLM) to rewrite and generate query from queries and documents in existing training data, which can construct new query-document pairs as training data. Extensive offline experiments and online A/B tests show that the proposed approaches effectively improve the performance of relevance modeling.
[ -0.17787399888038635, -0.8624820709228516, 0.5793553590774536, -0.06767763197422028, -0.5148627758026123, 0.36580073833465576, -0.06692060828208923, -0.22257933020591736, 0.7463386654853821, 0.623244047164917, -0.3793940842151642, -0.5119875073432922, -0.7808349132537842, -0.1171082854270935, -0.6352018713951111, 0.802408754825592, 0.20510922372341156, 0.0603657104074955, -0.38437724113464355, -0.05035244673490524, -0.261237233877182, -0.5530940890312195, -0.4335261583328247, -0.15781733393669128, 0.34975552558898926, 0.4826960861682892, 0.42690375447273254, 0.30217957496643066, 0.5160459280014038, 0.2777947783470154, -0.5887662768363953, 0.3896247148513794, -1.0270440578460693, 0.25815579295158386, -0.2557464838027954, -0.4790743589401245, -0.6088219881057739, -0.029794475063681602, 0.7802872657775879, 0.922614574432373, -0.08603601902723312, -0.1851062923669815, 0.15041741728782654, 0.6482821702957153, -0.3315455913543701, -0.054557330906391144, -0.9960947632789612, -0.5380653738975525, -0.17175638675689697, -0.5731692314147949, -0.1969616711139679, -0.29511702060699463, 0.024896427989006042, -0.4306217432022095, 0.6948997974395752, -0.11186803877353668, 0.770383894443512, -0.0879167839884758, -0.5489422082901001, -0.20505544543266296, -0.45642951130867004, 0.4991229474544525, -0.7429900169372559, 0.27524974942207336, 0.5668894648551941, 0.24096158146858215, -0.2505575120449066, -0.7434948682785034, -0.36673521995544434, 0.01732039824128151, 0.015746435150504112, 0.15791133046150208, 0.5543009042739868, -0.015682747587561607, 0.09850187599658966, 0.705405592918396, -0.44534924626350403, -0.239441379904747, -0.5615735054016113, -0.03916366025805473, 0.7534123063087463, 0.25016751885414124, 0.2072836458683014, -0.3283480405807495, 0.05884547904133797, -0.04517237842082977, -0.6114385724067688, -0.06632499396800995, 0.28807899355888367, 0.4233923852443695, -0.04923643171787262, 0.8537800908088684, -0.6841789484024048, 0.6622604727745056, 0.16244946420192719, -0.2193734049797058, 0.34779393672943115, -0.7973419427871704, 0.2699768543243408, -0.08749964833259583, 0.2748558819293976, 0.5529314875602722, -0.2055772840976715, -0.24024897813796997, -0.07217974215745926, -0.20764659345149994, 0.2515623867511749, -0.9434730410575867, 0.2735448181629181, 0.3347495198249817, -0.5371754169464111, -0.1382899284362793, 0.1773485690355301, -0.5350319147109985, -0.21370504796504974, -0.30762094259262085, 0.204069584608078, -0.3348076343536377, -0.18497949838638306, 0.21435026824474335, -0.19853098690509796, 0.3743108808994293, 0.6564826965332031, -0.8307137489318848, -0.0117294667288661, 0.9753162860870361, 1.0059764385223389, -0.2149607241153717, -0.17380353808403015, -0.4166419506072998, 0.25662779808044434, -0.15507183969020844, 0.7052844762802124, -0.5453380346298218, -0.6081275939941406, -0.046271272003650665, 0.018544821068644524, -0.07476436346769333, -0.280839741230011, 0.5111022591590881, -0.9725668430328369, 0.2693915069103241, -0.2709093987941742, -0.8724544644355774, -0.06097095459699631, 0.36223846673965454, -0.4858395457267761, 1.1311389207839966, 0.09766141325235367, -1.0074330568313599, 0.3871002197265625, -0.40885013341903687, -0.6194631457328796, 0.19981643557548523, -0.027640370652079582, -0.26323020458221436, 0.1697084605693817, 0.3170788288116455, 0.5045903921127319, -0.280386358499527, 0.6714744567871094, -0.3911307752132416, -0.6021677851676941, -0.09915925562381744, 0.00014891193131916225, 0.30437880754470825, -0.10946939885616302, 0.12967868149280548, 0.24112939834594727, -0.6521317958831787, -0.24890995025634766, 0.11380759626626968, -0.5514922142028809, -0.4487899839878082, 0.05899672955274582, 0.005559937097132206, 0.14530524611473083, 0.5067449808120728, -0.3033725917339325, 0.060574159026145935, -0.7844099402427673, 0.11619621515274048, 0.37999463081359863, 0.3954842984676361, 0.6722639799118042, -0.40410590171813965, 0.35136279463768005, -0.23742052912712097, -0.18744313716888428, -0.40542304515838623, -0.7431138157844543, -0.5875216126441956, 0.028063399717211723, 0.45924168825149536, 0.44375231862068176, -0.801117479801178, 0.6415317058563232, -0.5394593477249146, -0.602776288986206, -0.45549288392066956, 0.14997905492782593, -0.07512880861759186, 0.573932409286499, 0.22235944867134094, -0.3222450911998749, -0.39396631717681885, -0.43947669863700867, -0.027096891775727272, -0.021803628653287888, -0.0918472558259964, 0.5883499383926392, 0.3380509316921234, -0.31218045949935913, 0.7735722661018372, -0.7184224128723145, -0.11572273075580597, -0.5598557591438293, 0.02557499334216118, 0.601482629776001, 0.13292808830738068, 0.3577654957771301, -1.1326959133148193, -0.48097923398017883, -0.235123410820961, -0.6359243988990784, 0.03371230512857437, 0.29188239574432373, -0.1732422411441803, -0.06694287061691284, 0.47182467579841614, -0.5026172995567322, 0.5297404527664185, -0.07191257178783417, -0.12837879359722137, 0.3403800427913666, -0.2599416673183441, 0.4394247233867645, -1.5200562477111816, 0.02956082485616207, -0.06400594115257263, -0.20367120206356049, -0.5464785099029541, 0.2408205270767212, 0.10202810913324356, -0.5187892913818359, -0.45760029554367065, 0.6997964978218079, -0.20788119733333588, -0.06384420394897461, -0.7497261762619019, 0.4002278745174408, 0.08245684951543808, 0.1605181246995926, 0.09632819145917892, 0.7400602102279663, 0.7302210330963135, -0.7346103191375732, 0.2325090765953064, 0.27971354126930237, -0.006225405260920525, 0.22436809539794922, -0.805031955242157, -0.017478374764323235, -0.2668662667274475, 0.3864426910877228, -1.1315853595733643, -0.37517088651657104, -0.26253458857536316, -0.528459370136261, 0.35512515902519226, -0.186252161860466, -0.739078164100647, -0.1487564742565155, -0.7173264026641846, 0.35164427757263184, 0.1967388540506363, -0.32583099603652954, 0.45840904116630554, 0.5323814749717712, -0.36363452672958374, -0.4049626290798187, -0.16013813018798828, 0.24061957001686096, -0.20682020485401154, -0.88578200340271, 0.9649113416671753, -0.12016110122203827, 0.010736286640167236, -0.25335776805877686, -0.1107870563864708, 0.1202121376991272, 0.1361790895462036, -0.0037607839331030846, 0.08556390553712845, -0.014700599946081638, 0.23341183364391327, 0.15123048424720764, -0.051074691116809845, -0.3667130768299103, 0.2176510989665985, 0.7896488308906555, 0.2902511656284332, -0.37724626064300537, 0.03213474899530411, 0.5531048774719238, 0.48810508847236633, -0.2633135914802551, 0.9454727172851562, 0.57106614112854, -0.4679681062698364, 0.24651333689689636, -0.620622456073761, -0.5473349094390869, -0.41687798500061035, 0.531085193157196, -0.2850019335746765, -0.9468823671340942, 0.69507896900177, -0.20215550065040588, -0.09912339597940445, 0.444092333316803, 0.6563417911529541, -0.062583789229393, 0.6295120120048523, 0.556088924407959, -0.2721165716648102, 0.70848149061203, -0.30650198459625244, 0.023906804621219635, -0.891242504119873, -0.3126278519630432, -0.485668420791626, 0.059634894132614136, -0.7489542961120605, -0.4948345124721527, 0.30948692560195923, 0.2659580707550049, 0.3204110860824585, 0.29179173707962036, -0.39209991693496704, 0.2328280210494995, 0.39337414503097534, 0.5743610858917236, 0.1894836723804474, 0.2332586795091629, 0.06605947762727737, -0.045650746673345566, -0.4819382429122925, -0.30660340189933777, 1.360897421836853, 0.06781512498855591, 0.813231885433197, 0.17678362131118774, 0.7879258394241333, 0.3937813639640808, -0.07158999890089035, -0.5406166315078735, 0.4833891689777374, -0.22625771164894104, -0.5353955030441284, -0.2526305913925171, -0.44867733120918274, -0.8591678142547607, 0.49140435457229614, -0.19978436827659607, -0.6256836652755737, 0.07770373672246933, -0.1988871544599533, 0.06257882714271545, -0.010601176880300045, -0.422203004360199, 0.4074517488479614, -0.1055947095155716, -0.6048155426979065, -0.38577592372894287, -0.7519829273223877, 0.2547188997268677, -0.10898575931787491, 0.0693216472864151, 0.025884943082928658, 0.025191685184836388, 0.6577633619308472, -0.343628466129303, 0.5980976223945618, 0.13840509951114655, -0.05563366040587425, 0.11518535017967224, -0.40423160791397095, 0.4738321304321289, 0.35609757900238037, -0.48188555240631104, -0.26676931977272034, -0.5457108020782471, -0.42129576206207275, -0.6561641097068787, 0.6692394018173218, -0.4691977798938751, -0.9232579469680786, -0.14347407221794128, -0.6015536785125732, -0.11445203423500061, 0.19224058091640472, 0.23476095497608185, 0.39578792452812195, -0.2624463140964508, 0.45936182141304016, 0.8203938603401184, -0.1502120941877365, 0.19637708365917206, 0.5650584101676941, -0.2360161542892456, -0.4585592746734619, 0.7187951803207397, -0.013861337676644325, 0.06558524817228317, 0.7138655185699463, 0.021318534389138222, -0.5000675916671753, -0.6094679832458496, -0.07600833475589752, 0.41510552167892456, -0.7619696259498596, -0.15807665884494781, -1.0968849658966064, -0.4710005819797516, -0.8179858922958374, -0.1597987562417984, -0.11282326281070709, -0.34255391359329224, -0.49642646312713623, -0.11477050185203552, 0.3183739483356476, 0.3445403575897217, 0.12070679664611816, 0.4191599488258362, -0.6247524619102478, 0.5933220386505127, 0.10040701925754547, 0.19579075276851654, -0.02476082183420658, -0.9882145524024963, -0.22841641306877136, 0.025329656898975372, -0.39051100611686707, -0.9393322467803955, 0.20980480313301086, 0.21153412759304047, 0.7410728931427002, 0.27257871627807617, -0.02967747673392296, 0.4747624099254608, -0.2207857370376587, 0.5654646158218384, -0.19312039017677307, -0.6320012211799622, 1.036806583404541, -0.5452287793159485, -0.0009937239810824394, 0.7292995452880859, 0.36433693766593933, -0.2297799438238144, -0.32311511039733887, -0.6501314640045166, -1.3554713726043701, 0.6614565253257751, 0.4864468276500702, 0.34939542412757874, 0.2639269530773163, 0.6759518980979919, -0.10030017793178558, 0.2684374749660492, -0.580234706401825, -0.21490561962127686, -0.13986711204051971, 0.07341086119413376, -0.17433685064315796, -0.530644953250885, 0.27228179574012756, -0.4965948164463043, 0.7752404808998108, -0.009343849495053291, 0.023058809340000153, 0.040166664868593216, -0.07956632971763611, 0.18959957361221313, 0.16556331515312195, 0.5820946097373962, 0.8585872650146484, -0.6970518827438354, -0.31210896372795105, 0.13258220255374908, -0.32129910588264465, 0.02232498489320278, 0.34144389629364014, -0.14747045934200287, 0.10573801398277283, 0.3532472550868988, 0.5304069519042969, 0.24349583685398102, -0.3641761839389801, 0.5221470594406128, -0.08499178290367126, -0.020709780976176262, 0.11260803788900375, 0.3042297065258026, 0.474303662776947, -0.03724528104066849, 0.6030307412147522, -0.43981608748435974, 0.44175276160240173, -0.6045188307762146, 0.490960955619812, 0.40621745586395264, -0.11767210066318512, 0.03602302446961403, 0.5209155678749084, 0.19885513186454773, -0.265483558177948, 0.48593735694885254, -0.1910732537508011, -0.6296164989471436, 0.6607811450958252, 0.6555071473121643, 0.3185751736164093, -0.35668280720710754, 0.12483607232570648, 0.4046759009361267, 0.07766970247030258, -0.1209440678358078, 0.3353923559188843, -0.18687178194522858, -0.5863596200942993, -0.3542625308036804, -0.6060072183609009, -0.5047078132629395, 0.10485978424549103, -0.5255222916603088, 0.5551358461380005, 0.014552694745361805, -0.06599890440702438, 0.10016798228025436, 0.37407198548316956, -0.22903697192668915, 0.2435608208179474, -0.4726852774620056, 0.7127346396446228, -0.7688378691673279, 0.7005728483200073, 0.887238085269928, -0.39932283759117126, -0.34317851066589355, 0.2823944687843323, -0.43958210945129395, -0.4452252686023712, 0.4326053857803345, 0.21028539538383484, 0.02037747949361801, -0.018099481239914894, -0.34621021151542664, -0.8333845734596252, 1.2641170024871826, 0.2802969515323639, -0.17734909057617188, -0.1380365788936615, -0.016425007954239845, 0.5260764360427856, -0.45437195897102356, 0.45281556248664856, 0.136235773563385, 0.1571405827999115, 0.541479229927063, -0.6451134085655212, -0.0635802373290062, -0.3454023003578186, 0.11664816737174988, 0.04667631536722183, -0.5062689185142517, 0.6941961050033569, -0.07715116441249847, -0.07796040922403336, -0.10959672927856445, 0.6631419658660889, 0.5406718254089355, 0.6730784773826599, -0.0328838974237442, 0.5636983513832092, 0.6550452709197998, 0.10215536504983902, 0.9757625460624695, -0.3883529603481293, 0.5018832087516785, 1.1678931713104248, -0.5203286409378052, 0.8037235140800476, 0.16057449579238892, -0.10734652727842331, -0.03967292234301567, 1.0380470752716064, 0.1511407196521759, 0.7620670795440674, 0.057502832263708115, -0.22080907225608826, -0.25435736775398254, -0.22142741084098816, -0.7838150262832642, 0.4033183455467224, 0.6660267114639282, -0.437671035528183, -0.4937061667442322, -0.21570032835006714, -0.1745159924030304, 0.16186822950839996, -0.22259899973869324, 0.9970768094062805, 0.07005956023931503, -0.4299367368221283, 0.2825460731983185, 0.3605404794216156, 0.7741689085960388, -0.4553229510784149, -0.057819318026304245, -0.5383166074752808, -0.21397307515144348, -0.1074819415807724, -0.570591390132904, 0.34798070788383484, -0.27849477529525757, -0.5133695006370544, 0.15678107738494873, 1.1396511793136597, -0.380482941865921, -0.75250244140625, 0.33017513155937195, 0.6705948114395142, 0.12418872117996216, -0.29956212639808655, -0.6657385230064392, -0.27016282081604004, -0.04648091644048691, -0.012413162738084793, 0.3908388614654541, 0.5065717101097107, 0.046729493886232376, 0.5848807096481323, 0.7478920221328735, 0.060468461364507675, -0.1458289921283722, 0.18203628063201904, 1.1796841621398926, -0.7039484977722168, -0.7608183026313782, -0.8665478825569153, 0.06974580138921738, -0.45143452286720276, 0.15316829085350037, 0.6053280830383301, 0.8366064429283142, 0.5254075527191162, 0.27880173921585083, 0.45562735199928284, 0.04754673317074776, 0.6438719034194946, -0.5715892314910889, 0.8841791749000549, -0.9197148084640503, 0.49533459544181824, -0.48409461975097656, -0.9584338068962097, -0.08847193419933319, 0.24567189812660217, -0.3181147873401642, 0.4345676600933075, 0.33373579382896423, 0.9215883612632751, -0.42819762229919434, -0.1250840127468109, 0.42645907402038574, -0.10393425822257996, 0.20062284171581268, 0.209747314453125, 0.6072024703025818, -0.5296106934547424, 0.2046053111553192, 0.007719954010099173, -0.22581340372562408, -0.7045595049858093, -0.6487290859222412, -0.9317008256912231, -0.7965198755264282, -0.30085745453834534, -0.33547350764274597, 0.1445828378200531, 0.5071547031402588, 0.8391237854957581, -0.5181413888931274, -0.01603546179831028, 0.14092254638671875, 0.5155150890350342, 0.337033212184906, -0.28287696838378906, 0.7289600372314453, -0.3048122227191925, -0.4682057797908783, 0.3996221423149109, 0.2631607949733734, 0.025619860738515854, -0.0646686777472496, 0.014519508928060532, -0.6215776205062866, 0.013960447162389755, 0.7290259003639221, -0.2143019437789917, -0.5168300867080688, 0.35527801513671875, 0.062471263110637665, -0.09668858349323273, 0.2624732255935669, 0.7699853181838989, -0.5521616339683533, 0.3352918326854706, 0.7450799345970154, 0.8015050292015076, 0.8479422926902771, 0.43766340613365173, 0.47413966059684753, -0.9226028323173523, 0.06843580305576324, -0.08724180608987808, 0.40429118275642395, 0.6299657225608826, -0.8014655113220215, 0.6142735481262207, 0.29306092858314514, -0.34837591648101807, -0.6279809474945068, 0.1765206754207611, -0.9672801494598389, -0.2055070996284485, 1.126423716545105, -0.014934050850570202, -0.01334567740559578, -0.2350427508354187, -0.173617422580719, 0.4965269863605499, -0.5773819088935852, 0.8971413373947144, 0.47287827730178833, 0.043180227279663086, -0.148202583193779, -0.41099148988723755, 0.011888721026480198, 0.1760791391134262, -0.8188869953155518, -0.1313929259777069, 0.16656489670276642, 0.30814263224601746, 0.24161425232887268, 0.7773322463035583, -0.20144514739513397, 0.24373963475227356, -0.2928578853607178, -0.2565896809101105, 0.17996276915073395, -0.1373174488544464, -0.04361651837825775, 0.337219774723053, 0.1222706064581871, -0.1318088322877884 ]
http://arxiv.org/abs/2404.02592v1
http://arxiv.org/pdf/2404.02592v1
Leveraging the Interplay Between Syntactic and Acoustic Cues for Optimizing Korean TTS Pause Formation
2024-04-03T09:17:38
2024-04-03T09:17:38
Yejin Jeon, Yunsu Kim, Gary Geunbae Lee
cs.CL
cs.CL, cs.SD, eess.AS
Contemporary neural speech synthesis models have indeed demonstrated remarkable proficiency in synthetic speech generation as they have attained a level of quality comparable to that of human-produced speech. Nevertheless, it is important to note that these achievements have predominantly been verified within the context of high-resource languages such as English. Furthermore, the Tacotron and FastSpeech variants show substantial pausing errors when applied to the Korean language, which affects speech perception and naturalness. In order to address the aforementioned issues, we propose a novel framework that incorporates comprehensive modeling of both syntactic and acoustic cues that are associated with pausing patterns. Remarkably, our framework possesses the capability to consistently generate natural speech even for considerably more extended and intricate out-of-domain (OOD) sentences, despite its training on short audio clips. Architectural design choices are validated through comparisons with baseline models and ablation studies using subjective and objective metrics, thus confirming model performance.
[ -0.5785459876060486, -0.8971694111824036, 0.48262834548950195, 0.42478489875793457, -0.33309313654899597, 0.4672161340713501, -0.37952882051467896, -0.4250771701335907, 0.3408462703227997, 0.29214155673980713, -0.4995633363723755, -0.3884007930755615, -0.21188510954380035, 0.25832170248031616, -0.08248752355575562, 0.4854607582092285, 0.10819528996944427, 0.11754291504621506, 0.21741768717765808, -0.01972801424562931, -0.538078248500824, -0.22321921586990356, -0.934266209602356, -0.27962008118629456, 0.18232059478759766, 0.32635238766670227, 0.7732142210006714, 0.9799531698226929, -0.3465176820755005, 0.20641441643238068, -0.48103711009025574, 0.22829987108707428, 0.07896990329027176, 0.5576425194740295, 0.05912860110402107, -0.11231442540884018, -0.35206857323646545, -0.26635855436325073, 0.8204554319381714, 0.6260298490524292, -0.09354141354560852, 0.02065841481089592, 0.21431845426559448, 0.12576644122600555, -0.17192396521568298, 0.06941342353820801, -0.591482400894165, 0.1664578765630722, -0.20953834056854248, -0.38050150871276855, -0.39487379789352417, -0.4850575625896454, 0.4957956075668335, -0.5526665449142456, 0.11347848176956177, -0.2645311951637268, 0.8437399864196777, 0.423310786485672, -0.2197200208902359, -0.21535475552082062, -0.888405442237854, 0.6250041723251343, -0.9717916250228882, 0.8593682646751404, 0.17061662673950195, 0.17736108601093292, -0.1804100126028061, -0.7033869624137878, -0.3939354717731476, -0.4063236713409424, 0.1211659163236618, 0.11155997961759567, 0.1202174574136734, 0.4204820990562439, 0.01998283341526985, -0.12524737417697906, -0.5731247067451477, 0.44264885783195496, -0.3664822280406952, -0.42425423860549927, 0.3769761621952057, 0.15739701688289642, 0.44470053911209106, -0.5238391757011414, -0.39567530155181885, 0.12603336572647095, -0.640081524848938, 0.14046207070350647, 0.5748546123504639, 0.7999292612075806, -0.13894006609916687, 0.5106335878372192, -0.18907999992370605, 0.819419801235199, 0.06314957141876221, -0.2873646914958954, -0.04830252379179001, -0.5831647515296936, -0.011441046372056007, 0.4686605930328369, 0.6642183065414429, 0.30549028515815735, 0.18072248995304108, -0.22100697457790375, 0.05343909189105034, 0.27622634172439575, 0.22717219591140747, -0.7333996295928955, -0.014476483687758446, 0.5325058102607727, -0.34654414653778076, -0.19079765677452087, -0.14751671254634857, -0.9122360348701477, 0.108866848051548, -0.6619800925254822, 0.216915100812912, -0.321699321269989, -0.44762614369392395, 0.09972219914197922, -0.1387975662946701, -0.35496360063552856, -0.3384703993797302, -0.6062694191932678, 0.29888612031936646, 0.15269209444522858, 1.1338399648666382, -0.2312920093536377, -0.4940909743309021, -0.5513452887535095, 0.10950087010860443, -0.5025515556335449, 0.5635913610458374, -0.32288146018981934, -0.642000675201416, -0.16949589550495148, -0.11559783667325974, -0.03696008771657944, -0.6148862242698669, 0.4110543429851532, -0.302837073802948, 0.22951939702033997, 0.03755855932831764, -0.5125805139541626, 0.00045227064401842654, -0.12378716468811035, -0.8874644041061401, 1.0186522006988525, 0.12977172434329987, -0.3876113295555115, 0.454685240983963, -0.90128093957901, -0.6185678243637085, -0.0022607084829360247, -0.10301724076271057, -0.38319775462150574, 0.16119374334812164, 0.140379399061203, 0.15211550891399384, -0.17270606756210327, 0.2996160387992859, 0.1007818952202797, -0.18142342567443848, 0.4200643002986908, -0.31810250878334045, 0.5655574798583984, 0.3036879003047943, -0.46504929661750793, 0.15747644007205963, -0.9031287431716919, 0.5839053988456726, 0.04199633374810219, -0.475644588470459, -0.31933578848838806, -0.20787104964256287, 0.18885664641857147, 0.39661067724227905, -0.269299179315567, -0.3702455759048462, -0.20473594963550568, -0.5506601929664612, 0.8774498105049133, 0.4618471562862396, 0.5010150671005249, 0.471926212310791, -0.11177214235067368, 0.895601212978363, -0.19669237732887268, -0.06907851994037628, -0.5345378518104553, -0.3381894826889038, -0.3115411102771759, -0.5340437293052673, 0.6022322177886963, 0.37186136841773987, -0.9117862582206726, 0.3240874707698822, 0.07543548941612244, -0.21051713824272156, -0.7148193120956421, -0.41527000069618225, 0.6015112996101379, 0.7530516982078552, 0.40015146136283875, -0.03355647996068001, -0.9435675144195557, -0.558199405670166, -0.2908015549182892, -0.0671597272157669, -0.15816912055015564, 0.0914744958281517, 0.07386147230863571, 0.36562711000442505, 1.1542245149612427, -0.10200302302837372, 0.09309186786413193, -0.2592814564704895, 0.13399671018123627, 0.18116600811481476, 0.28210100531578064, 0.456341415643692, -0.6251155734062195, -0.395523339509964, -0.17285849153995514, -0.5135055780410767, -0.3397687077522278, -0.2869873344898224, -0.015477637760341167, 0.48332345485687256, 0.7978174090385437, -0.8773855566978455, 0.4110930263996124, 0.2073504775762558, -0.385976642370224, 0.8396804928779602, 0.19933518767356873, 0.23769745230674744, -1.0731182098388672, 0.13315998017787933, -0.2736414074897766, -0.05093485116958618, -0.9987286925315857, -0.22079148888587952, -0.2584898769855499, -0.27247434854507446, -0.833178699016571, 0.8134873509407043, -0.4114566445350647, -0.1361541897058487, -0.34781041741371155, 0.31845176219940186, 0.2715733051300049, 0.3739510178565979, 0.16039299964904785, 0.8747984766960144, 0.25845932960510254, -1.0454246997833252, -0.1845889836549759, 0.3866735100746155, -0.3212907910346985, 0.47970932722091675, -0.9276406764984131, 0.06766130030155182, 0.15605497360229492, 0.1379382312297821, -0.8764947056770325, -0.6372923254966736, 0.11858352273702621, -0.649986207485199, 0.3552626371383667, -0.5562599301338196, -0.33702051639556885, -0.30811309814453125, -0.018526706844568253, 0.5585196614265442, 0.5841464400291443, -0.6082627773284912, 0.5139216184616089, 0.5240591168403625, -0.584635853767395, -0.15516120195388794, -0.6223728060722351, 0.04176785796880722, -0.44513601064682007, -0.6416011452674866, 0.6007209420204163, 0.18427525460720062, -0.31211090087890625, 0.03285149112343788, -0.3239433765411377, 0.05418232083320618, -0.11363577842712402, -0.03918341547250748, 0.32471954822540283, -0.4103204905986786, 0.12302129715681076, 0.32942312955856323, -0.23289553821086884, -0.22400422394275665, -0.6996243596076965, 0.9290452599525452, 0.3281204104423523, 0.01603982225060463, -0.7012167572975159, 0.30830979347229004, 0.7631067037582397, -0.237741619348526, 0.37865015864372253, 0.3546726703643799, -0.4021841883659363, -0.3004262149333954, 0.02128935605287552, -0.4059911072254181, -0.4817880392074585, 0.5539215803146362, -0.2468850463628769, -0.7111852765083313, 0.606550395488739, 0.11096829175949097, -0.16831479966640472, -0.06614527851343155, 0.5781312584877014, 0.236504927277565, 1.0843186378479004, 0.13730351626873016, 0.2855599820613861, 0.5847930312156677, -0.06842987984418869, 0.21370083093643188, -0.7828831076622009, -0.06318212300539017, -0.4784015715122223, -0.03537625074386597, -0.4135061502456665, -0.29834631085395813, 0.5533868074417114, 0.06996259838342667, -0.3455490469932556, 0.3543936014175415, -0.4844587445259094, 0.6160218715667725, 0.45546218752861023, -0.16219833493232727, 0.0027797885704785585, -0.06548123061656952, -0.3718133866786957, -0.42995941638946533, -0.8773342967033386, -0.5544226169586182, 0.6899952292442322, 0.14555002748966217, 0.448350727558136, -0.29006218910217285, 0.5543982982635498, 0.17261749505996704, -0.5613124966621399, -0.7176763415336609, 0.5541593432426453, -0.1008300632238388, -0.4261219799518585, -0.5127135515213013, -0.3502439260482788, -0.9322986602783203, 0.15170438587665558, 0.18556983768939972, -0.7723137736320496, -0.15149152278900146, 0.309223473072052, -0.7455061078071594, 0.17617441713809967, -0.6651631593704224, 0.8151547908782959, -0.1491309404373169, -0.3503604531288147, 0.2638324797153473, -0.705966591835022, 0.08750181645154953, 0.27355244755744934, -0.014315362088382244, -0.09135943651199341, -0.010109740309417248, 0.4991495907306671, -0.27231311798095703, 0.6437345147132874, -0.3683755397796631, 0.1339075118303299, 0.5560770630836487, 0.2726460099220276, 0.23945863544940948, 0.09045103192329407, 0.04654723405838013, 0.07541866600513458, -0.2433130294084549, -0.09186061471700668, -0.4316903352737427, 0.392667293548584, -0.29497432708740234, -0.1079583689570427, 0.05564713478088379, -0.4753747582435608, -0.4832260012626648, 0.3814844787120819, 0.771353006362915, 0.6710608005523682, -0.30043622851371765, -0.2179088443517685, 0.5040957927703857, -0.45105162262916565, 0.5818025469779968, 0.21104685962200165, -0.3798028826713562, -0.8327237963676453, 0.6013256311416626, 0.43195730447769165, 0.7583266496658325, -0.22596074640750885, 0.13995487987995148, -0.7293409109115601, -0.6438023447990417, -0.592224657535553, 0.13699297606945038, -0.6006596088409424, -0.18734495341777802, -0.4137401580810547, -0.5656886696815491, -0.3712739050388336, -0.09800951182842255, -0.6306193470954895, -0.630182147026062, -0.22401222586631775, -0.39993467926979065, 0.2624633312225342, 0.5387543439865112, 0.005520664155483246, 0.3875865042209625, -0.9078149199485779, 0.32559502124786377, -0.12637017667293549, 0.3433172404766083, 0.28798457980155945, -0.6629642248153687, -0.19538633525371552, 0.07553613185882568, -0.061330679804086685, -0.6945528388023376, 0.5327524542808533, 0.2078954130411148, 0.5450966358184814, 0.061655692756175995, 0.09756612032651901, 0.7104608416557312, -0.7696581482887268, 1.0266506671905518, 0.08303342014551163, -0.9665055274963379, 0.6154146194458008, -0.49430030584335327, 0.6595720648765564, 0.27804872393608093, 0.1253022849559784, -0.6658309698104858, -0.688349187374115, -0.6060320734977722, -1.252816915512085, 0.7565901875495911, 0.45436891913414, -0.23533061146736145, -0.3025749623775482, 0.11887767910957336, 0.25236913561820984, 0.2615184187889099, -0.22820138931274414, 0.10813464224338531, -0.23532581329345703, -0.09795797616243362, 0.48336392641067505, -0.002683257684111595, -0.04812895879149437, 0.29219183325767517, 0.6543789505958557, -0.10953152924776077, 0.23397748172283173, 0.12241707742214203, 0.04917708784341812, -0.05850299447774887, 0.1957085132598877, 0.9187557697296143, 0.5811500549316406, 0.14774201810359955, -0.07294290512800217, -0.06365862488746643, -0.5018788576126099, 0.2514834702014923, 0.04074198752641678, -0.4011293649673462, 0.5965912938117981, 0.1377488225698471, 0.9305196404457092, 0.4307118058204651, -0.5832868218421936, -0.2280607521533966, 0.11158367991447449, 0.009392858482897282, -0.24196550250053406, -0.28069233894348145, 0.17205609381198883, 0.3152226209640503, 0.11835803091526031, 0.17430193722248077, -0.027920354157686234, -0.21440929174423218, 0.5258130431175232, -0.05828632786870003, -0.0761987715959549, -0.6266785264015198, 1.080388069152832, 0.1927414983510971, -0.58014315366745, 0.48346301913261414, -0.1107344999909401, -0.6653969287872314, 0.7815688252449036, 0.5242542028427124, 1.0311946868896484, -0.48655879497528076, 0.3274230659008026, 0.480545312166214, -0.0006424314924515784, -0.22777289152145386, 0.5156551599502563, -0.05007370933890343, -0.38335657119750977, -0.4935336410999298, -0.5161349773406982, -0.19287513196468353, 0.05315755680203438, -0.7453863620758057, 0.4267844259738922, -0.413515567779541, -0.6009258031845093, 0.026009326800704002, -0.435757040977478, -0.3520151674747467, 0.08010397851467133, 0.18396133184432983, 0.6876316070556641, -0.5706387162208557, 0.6517149209976196, 0.32146796584129333, -0.3647363483905792, -0.8788577914237976, 0.34095579385757446, 0.13198630511760712, -0.4753768742084503, 0.4448900818824768, 0.267343133687973, -0.2810385227203369, -0.05659807100892067, -0.047845516353845596, -0.9872521758079529, 0.942550003528595, 0.5110870599746704, -0.36572912335395813, -0.31500017642974854, 0.28234800696372986, 0.5307268500328064, -0.3030886948108673, -0.2655661404132843, 0.8553335666656494, 0.2781304121017456, 0.07112006843090057, -1.2359205484390259, -0.06595312058925629, -0.04467311128973961, 0.17199084162712097, 0.2981478273868561, -0.5822049975395203, 0.7072771191596985, -0.08331537991762161, -0.4597947597503662, 0.5680370330810547, 0.1812829226255417, 0.6882032752037048, 0.44122427701950073, 0.41067808866500854, 0.364509254693985, 0.6113954782485962, -0.180948406457901, 0.7279356718063354, -0.4924035668373108, -0.18704800307750702, 1.4470617771148682, -0.27147620916366577, 0.5751874446868896, 0.5306524038314819, -0.05072403326630592, -0.08161155134439468, 0.8862646222114563, 0.24796240031719208, 0.7852857112884521, 0.11180367320775986, -0.16180072724819183, 0.03957333043217659, -0.5135048627853394, -0.3773684799671173, 0.6945317983627319, 0.4178229570388794, -0.3562997281551361, 0.0840928927063942, 0.2322852462530136, 0.22208888828754425, 0.07357829064130783, -0.25110673904418945, 0.43665170669555664, 0.13681446015834808, -0.9612935185432434, 0.646218478679657, -0.38221144676208496, 0.28458166122436523, -0.7058851718902588, 0.007531656417995691, -0.18086554110050201, -0.14796710014343262, -0.1262393742799759, -0.5335099101066589, 0.35002052783966064, -0.029965708032250404, -0.17617692053318024, -0.19420284032821655, 0.400278776884079, -0.6214982867240906, 0.05211654305458069, 0.30762508511543274, 0.41428256034851074, -0.07277301698923111, 0.2713441550731659, -0.3275222182273865, 0.26359423995018005, -0.1412746161222458, -0.17479075491428375, 0.028948327526450157, 0.35537347197532654, -0.08389478176832199, 0.24910889565944672, 0.6544029116630554, 0.3540540039539337, 0.33263641595840454, 0.42888143658638, 0.5224616527557373, -0.7227526903152466, -1.2026726007461548, -0.8638526797294617, 0.7923632264137268, -0.14917701482772827, -0.5521668195724487, 0.6737406849861145, 0.4655854403972626, 0.8543127775192261, -0.15523234009742737, 0.9192053079605103, 0.09570688754320145, 0.5742186903953552, -1.1883397102355957, 0.683239221572876, -0.2708464562892914, 0.23440077900886536, -0.3844018280506134, -0.8958861231803894, -0.2667910158634186, 0.31139519810676575, 0.2388066202402115, 0.06749521195888519, 0.5378940105438232, 0.7805531620979309, 0.05646517500281334, 0.13701364398002625, 0.4091860055923462, 0.2682219445705414, 0.2506054937839508, 0.07311137020587921, 1.0611411333084106, -0.09802968800067902, 0.519302248954773, 0.03203202784061432, 0.28891119360923767, -0.08084090054035187, -0.7398267388343811, -0.764260470867157, -0.6790458559989929, -0.3109946846961975, -0.6154443621635437, 0.05862869694828987, 1.1808481216430664, 0.9819827079772949, -0.6747238636016846, -0.2843617796897888, -0.1703958511352539, -0.05410975590348244, -0.2571687400341034, -0.2965346872806549, 0.33959752321243286, -0.4468960464000702, -0.7664243578910828, 0.9311419725418091, 0.5752111673355103, 0.5234878659248352, -0.11035144329071045, -0.19169822335243225, 0.10359487682580948, 0.36712101101875305, 0.5094576478004456, 0.6895946860313416, -0.8590776920318604, -0.2848188281059265, 0.491703599691391, 0.28172701597213745, 0.13611933588981628, 0.9773240685462952, -0.7295328974723816, 0.6634098887443542, 0.4146605134010315, 0.589690089225769, 0.3136730194091797, -0.20133186876773834, 0.785198986530304, -0.934977650642395, 0.4863044023513794, 0.5689988732337952, 0.2344764620065689, 0.36548149585723877, -0.10292710363864899, 0.5356141924858093, 0.08656027913093567, -0.5141552090644836, -1.3480783700942993, 0.5245615243911743, -0.5890001058578491, -0.16482113301753998, 0.970164954662323, 0.03293217346072197, -0.11140341311693192, -0.4173448979854584, -0.3101319968700409, 0.5168216824531555, -0.41496410965919495, 0.8868457078933716, 0.6467658877372742, -0.3676251769065857, 0.10246150195598602, -0.6676294803619385, 0.8148491978645325, 0.19342561066150665, -0.5949118137359619, 0.09111425280570984, 0.32900795340538025, 0.1468614786863327, 0.2866973578929901, 0.4365001916885376, -0.23134729266166687, 0.665614664554596, 0.3091830313205719, -0.2611072361469269, -0.12041729688644409, -0.7313920259475708, -0.3745141625404358, -0.03210577741265297, -0.12741638720035553, -0.516097903251648 ]
http://arxiv.org/abs/2404.02589v1
http://arxiv.org/pdf/2404.02589v1
Affective-NLI: Towards Accurate and Interpretable Personality Recognition in Conversation
2024-04-03T09:14:24
2024-04-03T09:14:24
Zhiyuan Wen, Jiannong Cao, Yu Yang, Ruosong Yang, Shuaiqi Liu
cs.CL
cs.CL, cs.AI
Personality Recognition in Conversation (PRC) aims to identify the personality traits of speakers through textual dialogue content. It is essential for providing personalized services in various applications of Human-Computer Interaction (HCI), such as AI-based mental therapy and companion robots for the elderly. Most recent studies analyze the dialog content for personality classification yet overlook two major concerns that hinder their performance. First, crucial implicit factors contained in conversation, such as emotions that reflect the speakers' personalities are ignored. Second, only focusing on the input dialog content disregards the semantic understanding of personality itself, which reduces the interpretability of the results. In this paper, we propose Affective Natural Language Inference (Affective-NLI) for accurate and interpretable PRC. To utilize affectivity within dialog content for accurate personality recognition, we fine-tuned a pre-trained language model specifically for emotion recognition in conversations, facilitating real-time affective annotations for utterances. For interpretability of recognition results, we formulate personality recognition as an NLI problem by determining whether the textual description of personality labels is entailed by the dialog content. Extensive experiments on two daily conversation datasets suggest that Affective-NLI significantly outperforms (by 6%-7%) state-of-the-art approaches. Additionally, our Flow experiment demonstrates that Affective-NLI can accurately recognize the speaker's personality in the early stages of conversations by surpassing state-of-the-art methods with 22%-34%.
[ -0.38285455107688904, -0.7312191128730774, 0.5676288604736328, 0.5007248520851135, -0.06652546674013138, -0.15980099141597748, -0.47565245628356934, -0.6439909338951111, 0.4832802712917328, 0.34035763144493103, -0.8277462124824524, -0.29541724920272827, -0.5001463890075684, 0.18231254816055298, -0.10779306292533875, 0.7934552431106567, 0.11889348179101944, 0.05518323555588722, -0.05531952902674675, -0.1280708760023117, -0.21803869307041168, -0.5874187350273132, -0.9893384575843811, -0.5259902477264404, 0.5397841930389404, 0.26721110939979553, 0.5170320868492126, 0.040500786155462265, 0.2916657328605652, 0.29981133341789246, -0.39017677307128906, -0.0332367941737175, -0.28947123885154724, 0.012079888954758644, 0.013622664846479893, -0.6063618659973145, -0.5592952966690063, -0.019294939935207367, 0.23495188355445862, 0.555443525314331, -0.0009738992084749043, -0.29775190353393555, -0.1389152705669403, 0.9658141732215881, -0.523557722568512, 0.15644408762454987, -0.3945641815662384, 0.49993738532066345, -0.24478045105934143, -0.24013689160346985, -0.5977992415428162, -0.5384365916252136, 0.47155752778053284, -0.31971824169158936, -0.24582940340042114, -0.04610547050833702, 0.723266065120697, 0.46530550718307495, -0.649878978729248, -0.4926234781742096, -0.7208210229873657, 0.918328046798706, -1.2331651449203491, 0.3949812352657318, 0.6905389428138733, 0.21659930050373077, 0.014837591908872128, 0.03258700668811798, -0.9691110849380493, -0.12580503523349762, -0.18194305896759033, 0.36464670300483704, -0.32303446531295776, 0.20940709114074707, 0.32743242383003235, 0.4564119577407837, -0.6619021892547607, 0.16805945336818695, 0.14118066430091858, 0.12639577686786652, 0.6546618938446045, 0.22732974588871002, 0.31329721212387085, -0.41247302293777466, 0.12480121850967407, -0.053538236767053604, -0.27929753065109253, 0.13384021818637848, 0.6682026386260986, 0.14311669766902924, -0.26377633213996887, 0.5070111155509949, -0.3580300211906433, 0.5442190170288086, 0.42812487483024597, 0.11031390726566315, 0.38899853825569153, -0.1738869994878769, -0.13836239278316498, -0.030263014137744904, 0.8163284659385681, 0.42698419094085693, 0.6072342991828918, -0.1484805792570114, 0.2636934518814087, -0.13876017928123474, 0.5419672727584839, -0.8580015301704407, -0.2572862207889557, 0.7943723797798157, -0.4853573739528656, -0.3510419726371765, 0.1171158030629158, -0.9408088326454163, -0.5123465657234192, -0.46669819951057434, 0.020072834566235542, -0.6108170747756958, -0.356509804725647, -0.21528276801109314, 0.012041249312460423, 0.5090872645378113, 0.5287765860557556, -0.98151695728302, 0.08933702111244202, 0.6329233050346375, 0.6086503863334656, -0.316633403301239, -0.022806687280535698, -0.280375212430954, -0.12270373851060867, -0.0249888114631176, 0.6230565905570984, -0.6200896501541138, -0.2929021716117859, -0.019242383539676666, -0.007526630535721779, -0.004564089234918356, -0.3469697833061218, 0.6967246532440186, -0.28902989625930786, 0.3679008185863495, -0.2183680385351181, -0.5858007669448853, -0.05231868848204613, 0.33843061327934265, -0.5367566347122192, 0.5039885640144348, 0.08930357545614243, -0.977508544921875, 0.2256365716457367, -0.8317573070526123, -0.48516198992729187, -0.08437015116214752, 0.34305745363235474, -0.4434136152267456, 0.13928590714931488, -0.1362067461013794, 0.3952600359916687, 0.18530260026454926, 0.2671370506286621, -0.5486897826194763, -0.09295767545700073, 0.7105942964553833, -0.3947961926460266, 0.5221266746520996, 0.0875682681798935, -0.6379983425140381, 0.22468335926532745, -0.7108065485954285, 0.11472459882497787, -0.2269679754972458, -0.06090788170695305, -0.3250718414783478, 0.2684285640716553, 0.0936657190322876, 0.22905901074409485, 0.2917100489139557, -0.779350757598877, -0.10778608918190002, -0.6627050042152405, 0.12457862496376038, 0.5994389653205872, -0.2529512047767639, 0.5252929925918579, 0.13273967802524567, 0.20673462748527527, 0.09202501177787781, 0.2260240763425827, 0.026440562680363655, -0.384331613779068, -0.845719575881958, -0.10103160887956619, -0.024670548737049103, 0.8105126619338989, -0.4333103895187378, 0.9602195024490356, -0.08789052069187164, -0.7144083976745605, -0.4230624735355377, -0.1182117685675621, 0.4475064277648926, 0.4727700352668762, 0.2623150050640106, -0.38314390182495117, -0.6171177625656128, -0.7987307906150818, -0.28179001808166504, -0.49863922595977783, -0.1940782368183136, 0.8606052994728088, 0.1188441812992096, -0.553089439868927, 1.149633765220642, -0.5013982057571411, 0.02178509719669819, -0.4135892987251282, 0.5417279005050659, 0.21758568286895752, 0.32245901226997375, 0.2956569194793701, -0.9763737320899963, -0.565331220626831, 0.015165898948907852, -0.7596057057380676, -0.4166407585144043, -0.1779826283454895, -0.313262939453125, 0.2522599697113037, -0.024688974022865295, -0.4710691571235657, 0.7612124681472778, 0.44568726420402527, -0.6490415334701538, 0.3864729106426239, 0.04019149765372276, 0.17792536318302155, -0.6757120490074158, 0.20393222570419312, 0.3314805328845978, -0.07032027840614319, -1.039062738418579, -0.5183324217796326, -0.16832971572875977, 0.09781006723642349, -0.28807532787323, 0.7587593793869019, -0.013834020122885704, 0.112198106944561, -0.42805159091949463, 0.17264515161514282, 0.09540309011936188, 0.6178874373435974, 0.5068768858909607, 0.3175697922706604, 0.23886020481586456, -0.5315867066383362, 0.19066272675991058, 0.5911628007888794, -0.06306200474500656, 1.1560372114181519, -0.5956936478614807, 0.3278646767139435, -0.2657683789730072, 0.34747424721717834, -0.7044883966445923, -0.25280871987342834, 0.35981297492980957, -0.30934938788414, 0.24360619485378265, 0.09913745522499084, 0.18254303932189941, -0.10506384819746017, -0.18710178136825562, -0.02849864959716797, 0.30758902430534363, -0.5585967302322388, 1.1148251295089722, 0.20775961875915527, -0.32341617345809937, -0.2838399112224579, -0.7579415440559387, 0.010982207953929901, -0.2796649634838104, -0.4261478781700134, 0.2891578674316406, -0.488215833902359, -0.3836863934993744, -0.2611522376537323, 0.07619509100914001, -0.4792160391807556, 0.08775211125612259, 0.5851685404777527, 0.16115562617778778, 0.0346950963139534, -0.04427152872085571, 0.09593082964420319, 0.0030198730528354645, 0.2272455394268036, 0.39407438039779663, 0.42558494210243225, -0.4705177843570709, -0.29744118452072144, -0.7108938694000244, 0.4502732753753662, 0.5941258072853088, -0.14055734872817993, 0.8820177316665649, 0.9193245768547058, -0.09865858405828476, 0.1270740032196045, -0.6152923107147217, -0.10629705339670181, -0.4183492362499237, 0.21886411309242249, -0.30876606702804565, -0.7265534996986389, 0.4667361080646515, -0.01860169880092144, -0.03936146944761276, 0.12486644089221954, 0.34188297390937805, -0.22667545080184937, 0.9495524764060974, 0.4480785131454468, -0.06091973930597305, 0.809799313545227, 0.10701069980859756, 0.5029830932617188, -1.113881230354309, -0.20318268239498138, -0.38232362270355225, -0.35130617022514343, -0.46533694863319397, -0.013705896213650703, -0.1430990993976593, -0.2390354871749878, -0.10197541862726212, 0.2850787937641144, -0.4282412528991699, 0.0805182084441185, 0.29210007190704346, 0.4221927225589752, -0.06614214926958084, -0.6045805811882019, 0.6365478038787842, -0.4466080963611603, 0.17074643075466156, -0.4862716495990753, 0.6781649589538574, 0.46470269560813904, 0.4732813835144043, 0.4958328604698181, 0.6786973476409912, 0.28043538331985474, 0.7035251259803772, -1.0705474615097046, 0.49883967638015747, -0.13894379138946533, -0.40614989399909973, -0.3585262894630432, -0.6520416736602783, -0.5920237898826599, -0.017392195761203766, -0.3740004599094391, -1.0837353467941284, 0.3299447298049927, 0.2648238241672516, -0.06029888987541199, 0.09731991589069366, -1.0429558753967285, 1.0383323431015015, -0.45191434025764465, -0.06992675364017487, -0.20928187668323517, -0.7961214780807495, 0.20964846014976501, -0.16167114675045013, -0.018703630194067955, -0.3065723478794098, 0.4353776276111603, 0.6576435565948486, -0.34457558393478394, 0.9563302993774414, -0.40990081429481506, 0.08112786710262299, 0.009215866215527058, -0.14955765008926392, 0.35178497433662415, -0.10878530144691467, -0.5151506066322327, 0.2961784899234772, -0.0018896620022132993, -0.15641610324382782, -1.0091326236724854, 0.3604274392127991, -0.7030772566795349, -0.23612993955612183, -0.170637845993042, -0.10434795171022415, -0.22387827932834625, 0.03135339170694351, -0.040750231593847275, 0.3671574592590332, -0.6929702162742615, -0.07787825167179108, 0.6161803007125854, -0.4082612693309784, 0.30611637234687805, 0.6191150546073914, 0.019601022824645042, -0.07831958681344986, 1.151951551437378, -0.4245140254497528, 0.10768453031778336, 0.5933734774589539, 0.4874654710292816, -0.16161710023880005, -0.3537297546863556, -0.08077050745487213, 0.2889927327632904, -0.6150609254837036, 0.2142835259437561, -0.949338972568512, 0.06892426311969757, -0.2778837978839874, -0.18149548768997192, -0.43163830041885376, -0.16257835924625397, -0.5650113821029663, 0.17326778173446655, 0.324215292930603, 0.6582974195480347, 0.21415728330612183, 0.3335949182510376, -0.5449224710464478, 0.2553960382938385, 0.5094007849693298, 0.42361441254615784, 0.1294887661933899, -0.5487112402915955, -0.054047223180532455, 0.08948179334402084, -0.31140798330307007, -1.2038626670837402, 0.7094008922576904, 0.524390459060669, 0.2811347544193268, 0.8619869351387024, 0.1741519272327423, 0.44229090213775635, -0.373893141746521, 0.6291051506996155, 0.03779105842113495, -1.4062029123306274, 0.8059199452400208, 0.030011752620339394, 0.41226911544799805, 0.8694369792938232, 0.4037669599056244, -0.7585878372192383, -0.35744014382362366, -0.5704156160354614, -0.9630969762802124, 0.6567689180374146, 0.2276715487241745, 0.14553427696228027, -0.21783079206943512, 0.4562635123729706, -0.02189108170568943, 0.2963869869709015, -0.8444598317146301, -0.20063450932502747, -0.4535389542579651, -0.6548269987106323, 0.22957465052604675, -0.36277133226394653, 0.3052867650985718, -0.04412279650568962, 0.721910297870636, -0.4016183912754059, 0.5319011211395264, 0.3311328589916229, 0.023315314203500748, -0.017590699717402458, 0.5977523326873779, 0.47051846981048584, 0.3281828761100769, -0.6818838715553284, 0.07716900110244751, 0.24286888539791107, -0.3594745397567749, -0.2753753662109375, -0.027363695204257965, 0.36418282985687256, 0.020011290907859802, 0.14891913533210754, 1.1429667472839355, 0.32070356607437134, -0.9202832579612732, 0.7310469150543213, -0.39731666445732117, 0.31726551055908203, -0.6221830248832703, -0.02067313715815544, -0.09832677245140076, 0.25778067111968994, 0.020863309502601624, -0.07647246867418289, 0.46411168575286865, -0.4741971492767334, 0.03981474041938782, 0.4076317250728607, -0.9214691519737244, -0.5665804147720337, 0.2555161416530609, 0.34132683277130127, -0.5397032499313354, 0.6997770071029663, -0.35506507754325867, -0.7516337037086487, 0.4941868782043457, 0.24764902889728546, 1.1036179065704346, -0.5197141766548157, 0.3838011920452118, 0.3232666254043579, -0.14237390458583832, 0.3105591833591461, 0.27301523089408875, -0.21181604266166687, -0.9571962952613831, -0.45170849561691284, -0.5458987355232239, -1.3062338829040527, -0.11966376006603241, -0.9390406012535095, 0.06278616189956665, -0.28160786628723145, -0.0866456925868988, 0.1094324067234993, -0.23733200132846832, -0.6163583397865295, 0.40515461564064026, 0.4311739206314087, 0.520247220993042, -0.8800271153450012, 0.5043618083000183, 0.6503899693489075, 0.05841274559497833, -0.5562155246734619, 0.06848584860563278, 0.1492234468460083, -0.19474485516548157, 0.6885279417037964, 0.4331281781196594, -0.06142881512641907, -0.17065289616584778, -0.4306493103504181, -0.48072385787963867, 0.6789963245391846, -0.050921957939863205, -0.25806552171707153, 0.16013100743293762, -0.13002964854240417, 0.8090611696243286, -0.30997946858406067, 1.0511794090270996, 0.539739727973938, 0.6654202342033386, 0.12763498723506927, -0.7235221862792969, -0.12736107409000397, -0.7060968279838562, -0.18233232200145721, 0.13066735863685608, -0.47831517457962036, 0.2900066673755646, -0.030781233683228493, 0.05862133577466011, -0.21925988793373108, 0.9430935382843018, 0.21434158086776733, 0.5881341099739075, 0.9070211052894592, 0.296428918838501, 0.7563899755477905, -0.2884025573730469, 1.0809277296066284, -0.37749460339546204, -0.05401013419032097, 0.9508265852928162, -0.512033998966217, 1.113716721534729, 0.31950920820236206, -0.14585259556770325, 0.7679991126060486, 0.42830249667167664, 0.07203226536512375, 0.38795772194862366, 0.006632051896303892, -0.48055076599121094, 0.09844307601451874, -0.25802531838417053, 0.21698300540447235, 0.5960351228713989, 0.38611918687820435, -0.11496428400278091, 0.44709423184394836, 0.1710945963859558, 0.24867701530456543, -0.17404665052890778, 0.1831921488046646, 0.9406183958053589, 0.029031850397586823, -0.674746036529541, -0.010606316849589348, -0.23704436421394348, 1.0879167318344116, -0.6328253149986267, 0.0002700628247112036, -0.0340319387614727, -0.0007591349422000349, -0.5341501235961914, -0.8185476660728455, 0.6535469889640808, 0.20207658410072327, -0.22497422993183136, -0.3706783056259155, 0.6251654028892517, -0.5947756171226501, 0.07666581869125366, 0.3351495563983917, 0.2343677431344986, 0.37330687046051025, -0.36324915289878845, -0.5239802002906799, -0.01443899143487215, 0.13368883728981018, -0.5129919052124023, 0.1719682216644287, 0.48353177309036255, 0.43654415011405945, 0.6288118958473206, 0.38692060112953186, -0.042798962444067, -0.3931690752506256, 0.3206571340560913, 0.6334689259529114, -0.8923676013946533, -0.5533635020256042, -0.7679710388183594, 0.7101011872291565, -0.3337911367416382, -0.5024663209915161, 0.4670657515525818, 0.02544695883989334, 0.13913382589817047, 0.06739135086536407, 0.5603403449058533, -0.2847708463668823, 0.5210773348808289, -0.2986138164997101, 0.6707589626312256, -0.2893686592578888, -0.05486400052905083, -0.8519076704978943, -0.7226046919822693, -0.015651604160666466, 0.8216286897659302, -0.6239949464797974, 0.16725529730319977, 0.5288222432136536, 0.38284048438072205, 0.35371819138526917, 0.49147674441337585, 0.13776487112045288, 0.34914594888687134, 0.4410657584667206, 0.6034006476402283, 0.6251825094223022, -0.03429892659187317, 0.0914740338921547, -0.4299911856651306, -0.46528661251068115, -0.1883537769317627, -1.00550377368927, -0.9217670559883118, -0.30900779366493225, -0.4960680603981018, -0.3045520782470703, -0.31231489777565, 0.7655918598175049, 0.5453827977180481, -0.849950909614563, 0.13058990240097046, -0.13011999428272247, 0.18901024758815765, 0.01580534316599369, -0.3691083788871765, 0.18806226551532745, 0.023654133081436157, -0.9594837427139282, 0.458946168422699, 0.49079829454421997, -0.01334370207041502, -0.2299305498600006, -0.126398965716362, 0.019767578691244125, 0.27805179357528687, 0.6147788763046265, 0.48615801334381104, -0.7433826327323914, -0.3980886936187744, -0.011646809056401253, 0.004053345415741205, 0.24121376872062683, 0.6152406930923462, -0.4796898066997528, 0.48021912574768066, 0.12119075655937195, 0.5547014474868774, 0.4214130640029907, 0.15853388607501984, 0.4551197290420532, -0.6267668604850769, 0.10863538086414337, 0.34904560446739197, 0.20779098570346832, 0.5887644290924072, -0.755774736404419, 0.4053627550601959, -0.13006828725337982, -0.6140262484550476, -0.4950825870037079, 0.4010838270187378, -1.530727505683899, 0.13015012443065643, 0.9714735150337219, -0.38738304376602173, -0.32742568850517273, -0.2860088050365448, -0.33783039450645447, 0.17133411765098572, -0.3985336720943451, 0.7383824586868286, 0.5287602543830872, -0.5138012170791626, -0.5580825209617615, -0.2852242588996887, 0.43932175636291504, 0.7238940596580505, -1.340004563331604, 0.08536498248577118, 0.22439447045326233, -0.22205834090709686, 0.3883502185344696, 0.6075754165649414, 0.022089345380663872, -0.13875114917755127, -0.3573147654533386, 0.5369706749916077, 0.4128718972206116, 0.1837536096572876, -0.3769169747829437, -0.08686564862728119, -0.08696620166301727, 0.3871289789676666 ]
http://arxiv.org/abs/2404.02588v1
http://arxiv.org/pdf/2404.02588v1
Large Language Models for Expansion of Spoken Language Understanding Systems to New Languages
2024-04-03T09:13:26
2024-04-03T09:13:26
Jakub Hoscilowicz, Pawel Pawlowski, Marcin Skorupa, Marcin Sowański, Artur Janicki
cs.CL
cs.CL
Spoken Language Understanding (SLU) models are a core component of voice assistants (VA), such as Alexa, Bixby, and Google Assistant. In this paper, we introduce a pipeline designed to extend SLU systems to new languages, utilizing Large Language Models (LLMs) that we fine-tune for machine translation of slot-annotated SLU training data. Our approach improved on the MultiATIS++ benchmark, a primary multi-language SLU dataset, in the cloud scenario using an mBERT model. Specifically, we saw an improvement in the Overall Accuracy metric: from 53% to 62.18%, compared to the existing state-of-the-art method, Fine and Coarse-grained Multi-Task Learning Framework (FC-MTLF). In the on-device scenario (tiny and not pretrained SLU), our method improved the Overall Accuracy from 5.31% to 22.06% over the baseline Global-Local Contrastive Learning Framework (GL-CLeF) method. Contrary to both FC-MTLF and GL-CLeF, our LLM-based machine translation does not require changes in the production architecture of SLU. Additionally, our pipeline is slot-type independent: it does not require any slot definitions or examples.
[ -0.3433760106563568, -0.768379271030426, 0.6291378140449524, -0.09995409101247787, -0.3323529362678528, 0.14395134150981903, -0.47962236404418945, -0.49078601598739624, 0.0416233167052269, 0.6843276619911194, -0.3331170976161957, -0.535115122795105, -0.603209912776947, -0.11015074700117111, -0.36735787987709045, 0.7661828994750977, 0.11144862323999405, 0.13192975521087646, -0.058056093752384186, -0.18636241555213928, -0.5266484022140503, -0.5421503782272339, -0.6362375617027283, -0.419131875038147, 0.3649956285953522, 0.483318030834198, 0.7351957559585571, 0.5702752470970154, 0.13944563269615173, 0.32196348905563354, -0.159306600689888, 0.34185561537742615, -0.3096986413002014, 0.03191504254937172, 0.114068903028965, -0.5090500712394714, -0.5929841995239258, -0.41702359914779663, 0.8355739116668701, 0.6722740530967712, -0.2583622634410858, 0.0009136510780081153, 0.12815292179584503, 0.43794041872024536, -0.4116019010543823, 0.3181457221508026, -0.937256395816803, -0.08572347462177277, 0.03871290013194084, 0.04423575848340988, -0.5827811360359192, -0.008925364352762699, 0.23028992116451263, -0.6669391393661499, 0.18999840319156647, -0.2281830906867981, 0.8525471687316895, 0.323971152305603, -0.48319846391677856, -0.09183020144701004, -0.8342466354370117, 0.9291626214981079, -0.8776659369468689, 0.8401184678077698, 0.2976277768611908, 0.4194119870662689, 0.07036363333463669, -0.5752308964729309, -0.4673357903957367, -0.2811588644981384, 0.051600147038698196, -0.11065658181905746, -0.15520012378692627, -0.02583412639796734, 0.14003828167915344, 0.257909893989563, -0.5413739681243896, 0.48305559158325195, -0.16256259381771088, -0.04915997013449669, 0.6879554390907288, 0.006548033561557531, 0.10793055593967438, 0.053298987448215485, -0.34574413299560547, 0.1637035608291626, -0.8334704041481018, -0.04092911630868912, -0.09447630494832993, 0.5393619537353516, -0.2621424198150635, 0.27107593417167664, 0.0936376303434372, 0.8217724561691284, -0.1324533224105835, -0.21095576882362366, 0.4335959851741791, -0.23957045376300812, -0.4899163842201233, -0.08311229944229126, 0.4759729206562042, 0.01922055520117283, 0.11517506092786789, -0.3384157419204712, -0.24380439519882202, -0.1554979830980301, 0.015271404758095741, -0.539395272731781, 0.0674484446644783, 0.1867697536945343, -0.16482992470264435, 0.062494054436683655, -0.22138261795043945, -0.2664920389652252, -0.5165069699287415, -0.7244682312011719, 0.16022996604442596, -0.44777244329452515, -0.3750006854534149, 0.11356977373361588, 0.31021103262901306, 0.44486385583877563, 0.7064402103424072, -0.7039310932159424, 0.21048909425735474, 0.9205794334411621, 0.698371410369873, -0.2548639178276062, -0.554491400718689, -0.8407353162765503, 0.19742096960544586, -0.1987302005290985, 0.6556041240692139, -0.36880314350128174, -0.25219443440437317, 0.1369486004114151, 0.12443980574607849, -0.18234694004058838, -0.5668310523033142, 0.678329348564148, -0.41603535413742065, -0.044138483703136444, 0.0068682474084198475, -0.6190013289451599, -0.2696453630924225, -0.026677975431084633, -0.400025874376297, 0.8857241868972778, -0.02480955235660076, -0.06540752947330475, 0.15388967096805573, -0.6303979754447937, -0.6638021469116211, 0.2793310880661011, -0.18847577273845673, -0.2720707952976227, 0.25743967294692993, 0.44341903924942017, 0.6967148184776306, -0.2837672531604767, 0.5243292450904846, -0.2826192080974579, -0.24625664949417114, 0.29105648398399353, -0.21318061649799347, 0.6069819927215576, 0.21387888491153717, -0.3126327693462372, 0.25169941782951355, -0.7531878352165222, 0.020782407373189926, -0.27297985553741455, -0.1727106273174286, -0.26600217819213867, 0.10138639807701111, 0.16500456631183624, 0.12352222204208374, 0.2209303379058838, -0.5060430765151978, 0.17644864320755005, -0.18768368661403656, 0.8758490681648254, 0.6987667083740234, -0.4248514771461487, 0.5768402218818665, 0.022083206102252007, 0.5827253460884094, -0.04016738757491112, 0.10385973751544952, -0.3437158167362213, -0.45396965742111206, -0.9582430720329285, -0.3327057361602783, 0.23032750189304352, 0.6552172899246216, -0.608407735824585, 0.449918270111084, -0.6694627404212952, -0.3877609074115753, -0.8242502212524414, 0.32326751947402954, 0.44406968355178833, 0.3771940767765045, 0.32569751143455505, -0.09920662641525269, -0.42351630330085754, -0.7216846942901611, 0.11531269550323486, -0.043086566030979156, -0.10924859344959259, 0.7164174914360046, 0.15739712119102478, -0.49893733859062195, 0.5435761213302612, -0.3276313543319702, -0.24803048372268677, -0.3149670660495758, 0.06206655874848366, 0.32852470874786377, 0.37330055236816406, 0.19736488163471222, -0.6154139041900635, -0.5222235321998596, 0.6748326420783997, -0.5556197166442871, 0.06531471014022827, -0.1389867067337036, 0.07168062031269073, 0.21633365750312805, 0.5425384640693665, -0.737479031085968, 0.06341690570116043, 0.7389839291572571, -0.11602567136287689, 0.4666474163532257, -0.08382422477006912, -0.0794997587800026, -1.2582646608352661, -0.030259564518928528, 0.09349408745765686, -0.47461891174316406, -0.8571662902832031, 0.3755989968776703, 0.10589776188135147, -0.442989706993103, -0.7067280411720276, 0.5867228507995605, -0.5613071322441101, -0.38897770643234253, -0.30309993028640747, 0.5242961645126343, 0.10971444100141525, 0.41382595896720886, 0.13086315989494324, 0.91096031665802, 0.6413577198982239, -0.7427688241004944, 0.2642751634120941, 0.14305277168750763, -0.43905454874038696, 0.37308135628700256, -0.6153963804244995, 0.3688073754310608, -0.05474627763032913, 0.18710026144981384, -0.8307496309280396, 0.056425873190164566, -0.40790146589279175, -0.5763559937477112, 0.373991459608078, -0.42565101385116577, -0.28999221324920654, 0.005362165626138449, 0.2618645131587982, 0.01638561673462391, 0.3406643867492676, -0.645756185054779, 0.8508914113044739, 0.5069261193275452, -0.295300155878067, -0.6426863670349121, -0.680239200592041, 0.24957656860351562, -0.20256584882736206, -0.7316852807998657, 0.2885884940624237, 0.0014413924654945731, -0.21725477278232574, -0.27122384309768677, 0.09320123493671417, -0.38651034235954285, 0.25136667490005493, 0.05114777758717537, 0.23548869788646698, -0.5651335716247559, 0.23991483449935913, 0.06307379901409149, -0.09084677696228027, -0.24617087841033936, -0.3632112443447113, 0.7473045587539673, -0.30351021885871887, -0.23456640541553497, -0.5640494227409363, 0.39235252141952515, 0.8132994771003723, -0.552708089351654, 0.6368640661239624, 0.9109834432601929, -0.37158384919166565, -0.08285706490278244, -0.6407124400138855, -0.009770548902451992, -0.4263148307800293, 0.46043282747268677, -0.6223326325416565, -1.2535290718078613, 0.5767734050750732, 0.05146361514925957, 0.3411158323287964, 0.1846516728401184, 0.502997875213623, -0.1866988092660904, 1.067791223526001, 0.6026371717453003, -0.5089499950408936, 0.5976962447166443, -0.23845767974853516, 0.16687734425067902, -1.1829606294631958, 0.16113711893558502, -0.6851065754890442, -0.08152830600738525, -0.43128344416618347, -0.5914816856384277, 0.2640497088432312, 0.2628927230834961, -0.02710285224020481, 0.5485622882843018, -0.18467295169830322, 0.23252198100090027, 0.4156864583492279, 0.04555560275912285, 0.3396229147911072, 0.08531933277845383, 0.1414828896522522, 0.04954492300748825, -0.4312390387058258, -0.37494295835494995, 1.0566728115081787, 0.5355467200279236, 0.6879681348800659, 0.41962820291519165, 0.5279542207717896, 0.19833143055438995, 0.297724187374115, -0.8422779440879822, 0.47397565841674805, -0.39464837312698364, -0.22574028372764587, -0.49707096815109253, -0.33663079142570496, -1.1201075315475464, 0.5771586894989014, -0.12867048382759094, -0.926105797290802, 0.0941714346408844, 0.21750906109809875, -0.2367522269487381, 0.18559516966342926, -1.1346632242202759, 0.6762886047363281, -0.5018030405044556, -0.3236972391605377, -0.387773722410202, -0.24628973007202148, 0.3030558228492737, -0.03398680314421654, 0.32119444012641907, -0.07899858057498932, -0.05604248866438866, 0.3157445192337036, -0.19576947391033173, 0.7392306923866272, -0.3268948793411255, -0.23717263340950012, 0.06022234261035919, -0.26709282398223877, 0.8012246489524841, 0.02486005239188671, -0.2951344847679138, 0.23725737631320953, -0.213172048330307, -0.43555206060409546, -0.670928955078125, 0.8630824089050293, -0.9227297306060791, -0.4711593687534332, -0.05609675496816635, -0.6906717419624329, -0.22502374649047852, 0.14381591975688934, -0.07678695023059845, 0.4205523133277893, -0.05765669420361519, 0.4066331684589386, 0.8084827065467834, -0.24305446445941925, 0.1540617048740387, 0.9220722913742065, -0.2277778536081314, -0.30622610449790955, 0.809668779373169, -0.1762239634990692, 0.3224090337753296, 0.6247975826263428, 0.15646514296531677, -0.47968894243240356, -0.8941330313682556, -0.8791745901107788, 0.27476564049720764, -0.4656310975551605, -0.15349234640598297, -0.6389987468719482, -0.09994593262672424, -0.8734227418899536, -0.0061536445282399654, -0.2424793690443039, -0.20912060141563416, -0.468201607465744, -0.1289009004831314, 0.322547048330307, 0.5544683337211609, 0.3199438154697418, 0.7166923880577087, -0.9719041585922241, 0.09092918038368225, 0.2403254359960556, 0.14647100865840912, -0.11100828647613525, -0.9058125019073486, -0.49289339780807495, 0.044273778796195984, -0.20072247087955475, -0.7289835810661316, 0.47130778431892395, 0.5126848220825195, 0.7825987935066223, 0.45189568400382996, -0.4062480032444, 1.1339811086654663, -0.6777585744857788, 0.7039567232131958, 0.1386602818965912, -1.1623162031173706, 0.458567351102829, -0.5530495047569275, 0.44638457894325256, 0.3479859530925751, 0.05335596948862076, -0.808627188205719, -0.20142686367034912, -0.45239657163619995, -0.6597380042076111, 0.46624377369880676, -0.12007349729537964, 0.17246375977993011, 0.2909325361251831, 0.41096606850624084, 0.025489848107099533, 0.1675395667552948, -0.8222931623458862, -0.24672271311283112, 0.1636403203010559, 0.0020759697072207928, -0.6460147500038147, 0.048462774604558945, 0.16831645369529724, -0.3336937725543976, 0.8394937515258789, -0.2882266342639923, 0.2287093698978424, 0.004287428222596645, -0.6301066875457764, -0.00798792578279972, 0.6433985233306885, 0.6224836707115173, 0.698242723941803, 0.05740068852901459, -0.06487803906202316, 0.27802613377571106, -0.3044101893901825, -0.05599091574549675, 0.461095929145813, -0.24253059923648834, 0.09070702642202377, 0.230103000998497, 1.2479737997055054, 0.3031213879585266, -0.7481845021247864, 0.2810230255126953, -0.03035643696784973, 0.03352886065840721, -0.42121046781539917, -0.04570695012807846, 0.17869320511817932, 0.20849652588367462, 0.2182653546333313, -0.22868254780769348, 0.10007321834564209, -0.5321534276008606, 0.1396053284406662, 0.6432703733444214, -0.43155601620674133, -0.21495038270950317, 0.2915639281272888, 0.46077170968055725, -0.45092788338661194, 0.42143771052360535, -0.2859690487384796, -0.3528958559036255, 0.3871566951274872, 0.677810549736023, 0.8398452401161194, -0.5617176294326782, 0.11155858635902405, 0.323318213224411, 0.48239386081695557, 0.168404683470726, 0.15894046425819397, -0.09271150082349777, -0.7730032205581665, -0.800402820110321, -0.6109241247177124, -0.4371492266654968, 0.6878136396408081, -0.7164360284805298, 0.37932491302490234, -0.2660055458545685, -0.02394133433699608, 0.07258063554763794, -0.05884861946105957, -0.7769867181777954, 0.09728726744651794, 0.23134297132492065, 0.7674529552459717, -0.9301082491874695, 1.411665678024292, 0.8400428891181946, 0.03475390747189522, -0.7673132419586182, -0.4458681643009186, -0.09789863973855972, -0.9219188094139099, 0.128214031457901, -0.008985533379018307, -0.08383938670158386, 0.0725090429186821, -0.1832599639892578, -1.057684063911438, 1.0273221731185913, 0.3851402997970581, -1.0197983980178833, 0.09075210243463516, 0.17397060990333557, 0.5294598340988159, -0.5321011543273926, 0.2543325126171112, 0.7491549849510193, 0.14491459727287292, -0.2758632302284241, -1.0973291397094727, -0.37138164043426514, -0.27256321907043457, 0.00078608124749735, 0.4918697774410248, -0.32807889580726624, 0.8553268313407898, -0.11272135376930237, -0.008307382464408875, 0.10130731761455536, 0.6373116970062256, 0.1247699037194252, 0.2591346800327301, 0.651193380355835, 0.6236909627914429, 0.8792006373405457, -0.05900028720498085, 0.7313917279243469, -0.22359612584114075, 0.24998480081558228, 1.6391514539718628, -0.37027058005332947, 1.1842036247253418, 0.3933422267436981, -0.22541823983192444, 0.5312979221343994, 0.4910593330860138, 0.1412210315465927, 0.11585479229688644, 0.12192536890506744, -0.331612229347229, -0.35510167479515076, -0.1954735517501831, -0.36805275082588196, 0.4370444118976593, 0.7577294707298279, -0.35069701075553894, 0.035177502781152725, 0.2672538161277771, 0.05405976250767708, 0.05587681382894516, -0.2732868194580078, 0.8515233397483826, 0.05852770432829857, -0.6512705683708191, 0.7722005844116211, 0.008801127783954144, 0.6585433483123779, -0.5393291115760803, 0.13975703716278076, -0.1778419017791748, 0.27408939599990845, -0.09793757647275925, -0.6047213077545166, 0.021201135590672493, 0.16946955025196075, -0.00796455703675747, -0.1102406308054924, 0.7029722929000854, -0.5279397368431091, -0.5408301949501038, 0.32198575139045715, 0.6371925473213196, 0.39990460872650146, -0.07520084828138351, -0.9064674377441406, 0.23676571249961853, 0.1825142353773117, 0.28776541352272034, 0.2570347785949707, 0.24213522672653198, 0.01310886163264513, 0.7749760150909424, 0.728935182094574, 0.09815080463886261, 0.34891071915626526, 0.4211041033267975, 0.5217103958129883, -0.37347838282585144, -0.562530517578125, -0.47396862506866455, 0.5035269260406494, -0.06147695705294609, -0.23418903350830078, 0.6957981586456299, 0.6834476590156555, 0.8330873250961304, -0.0005372373852878809, 0.9322389364242554, 0.25525474548339844, 0.6488566398620605, -0.5377483367919922, 0.45523369312286377, -0.6321402192115784, 0.344001829624176, -0.3022632598876953, -0.7808457016944885, -0.07599624991416931, 0.6250010132789612, -0.17320497334003448, -0.2954463064670563, 0.5043089389801025, 0.723389744758606, -0.1962161660194397, 0.0058297631330788136, 0.4688977599143982, 0.31704989075660706, 0.4726713001728058, 0.6608567833900452, 0.5960484743118286, -0.47372370958328247, 0.49762678146362305, -0.16232964396476746, -0.3082229197025299, -0.15617381036281586, -0.7311201691627502, -0.708594024181366, -0.6062504053115845, -0.3469463586807251, -0.27439987659454346, 0.03290509060025215, 0.6680322885513306, 1.027051329612732, -0.7825997471809387, -0.6101951003074646, -0.08635488152503967, 0.15563802421092987, -0.3171042203903198, -0.14475589990615845, 0.2549753785133362, -0.44723978638648987, -0.941023051738739, 0.697205662727356, 0.15000517666339874, -0.05071020498871803, -0.4671940803527832, -0.35326048731803894, -0.1298000067472458, -0.3243996202945709, 0.9365161657333374, 0.29154932498931885, -1.047092318534851, -0.189611554145813, 0.10404399782419205, 0.17681042850017548, 0.2041999101638794, 0.837104856967926, -0.5798235535621643, 0.3863162398338318, 0.2452433705329895, 0.9382122755050659, 0.6863780617713928, -0.244980588555336, 0.5539320707321167, -0.7783092260360718, 0.27158641815185547, 0.0823402926325798, 0.6962277293205261, 0.5082792043685913, -0.30107396841049194, 0.20184007287025452, -0.11446276307106018, -0.5537107586860657, -0.8898423910140991, 0.45092758536338806, -1.104244589805603, -0.11077840626239777, 1.266784906387329, -0.2561657428741455, -0.11727669835090637, -0.2512741684913635, -0.10090930014848709, 0.25017181038856506, -0.5270013213157654, 0.4211728870868683, 0.5015691518783569, 0.01399181131273508, -0.567375659942627, -0.6316237449645996, 0.18463268876075745, 0.5599591135978699, -1.0951741933822632, 0.2729808986186981, 0.49678125977516174, 0.16443146765232086, 0.13079430162906647, 0.4996948838233948, 0.07223638892173767, 0.32319605350494385, -0.5405367612838745, 0.051416587084531784, 0.09109549969434738, -0.2620612680912018, -0.6793124079704285, -0.369276762008667, 0.2853671908378601, -0.2457166612148285 ]
http://arxiv.org/abs/2404.02581v1
http://arxiv.org/pdf/2404.02581v1
Multi-Granularity Guided Fusion-in-Decoder
2024-04-03T08:56:00
2024-04-03T08:56:00
Eunseong Choi, Hyeri Lee, Jongwuk Lee
cs.CL
cs.CL, cs.IR
In Open-domain Question Answering (ODQA), it is essential to discern relevant contexts as evidence and avoid spurious ones among retrieved results. The model architecture that uses concatenated multiple contexts in the decoding phase, i.e., Fusion-in-Decoder, demonstrates promising performance but generates incorrect outputs from seemingly plausible contexts. To address this problem, we propose the Multi-Granularity guided Fusion-in-Decoder (MGFiD), discerning evidence across multiple levels of granularity. Based on multi-task learning, MGFiD harmonizes passage re-ranking with sentence classification. It aggregates evident sentences into an anchor vector that instructs the decoder. Additionally, it improves decoding efficiency by reusing the results of passage re-ranking for passage pruning. Through our experiments, MGFiD outperforms existing models on the Natural Questions (NQ) and TriviaQA (TQA) datasets, highlighting the benefits of its multi-granularity solution.
[ -0.5090715885162354, -1.2770612239837646, 0.5431492328643799, 0.038181569427251816, -0.30132368206977844, -0.15069949626922607, 0.12948830425739288, -0.1515827625989914, -0.19293776154518127, 0.4349045753479004, -0.5665785074234009, -0.4368072748184204, -0.5713462829589844, 0.11039649695158005, -0.3322720229625702, 1.1001800298690796, -0.0017918036319315434, 0.07714970409870148, -0.6796203255653381, -0.15349723398685455, -0.5461993217468262, -0.5338574647903442, -0.44944867491722107, -0.46463751792907715, 0.32790684700012207, 0.3316124677658081, 0.5869634747505188, 0.32932254672050476, 0.2251802384853363, 0.1840820014476776, -0.10633248090744019, 0.6577379703521729, -0.3737497925758362, -0.1826363056898117, -0.18745410442352295, -0.05666472762823105, -0.44113680720329285, -0.17806345224380493, 0.6177331209182739, 0.7219162583351135, -0.16996082663536072, -0.005854279268532991, 0.19876167178153992, 0.2100607454776764, -0.7276139259338379, 0.2386886030435562, -0.472290962934494, -0.2330009490251541, -0.04503002390265465, -0.33154377341270447, -0.5246934294700623, -0.1401778906583786, 0.12222816795110703, -0.60687655210495, 0.11093335598707199, -0.12318827956914902, 0.87989741563797, 0.3147825598716736, -0.8219310641288757, -0.3704726994037628, -0.3908948004245758, 0.6027179956436157, -0.527084469795227, 0.27189409732818604, 0.3006086051464081, 0.2580116391181946, -0.1788358837366104, -0.5601045489311218, -0.4965485632419586, 0.22156548500061035, -0.39093220233917236, -0.06404376775026321, 0.10891541093587875, 0.12015350908041, -0.020740609616041183, 0.44101467728614807, -0.653896689414978, -0.5355218648910522, -0.08759139478206635, -0.5072277188301086, 0.5238655209541321, 0.13513097167015076, 0.20635949075222015, -0.25370869040489197, -0.40846171975135803, -0.18676899373531342, -0.4893271327018738, 0.15582433342933655, -0.19369542598724365, 0.33281952142715454, 0.3636223077774048, 0.3724043071269989, -0.5071564316749573, 1.0298666954040527, 0.3274935781955719, -0.3883490264415741, 0.3337903320789337, -0.729972779750824, -0.3242582082748413, -0.04036707058548927, 0.44578394293785095, 0.06992761045694351, -0.28939929604530334, -0.46755731105804443, -0.05963292345404625, -0.1800483912229538, 0.325555682182312, -0.8444273471832275, -0.03055630996823311, 0.48275983333587646, -0.3591829240322113, 0.09813924133777618, 0.3055412769317627, -0.6482378244400024, -0.07595905661582947, -0.06869254261255264, 0.9877691268920898, -0.7277899384498596, -0.09129165858030319, 0.4620792865753174, -0.3447197377681732, 0.28123369812965393, 0.25782904028892517, -0.5352015495300293, 0.24431850016117096, 0.8750325441360474, 0.6394087076187134, 0.07005799561738968, -0.5469077825546265, -0.9555022716522217, 0.11245804280042648, -0.0525473952293396, 0.972123920917511, -0.7934998869895935, -0.39741086959838867, -0.08498168736696243, 0.00650766771286726, -0.473659873008728, -0.5168668627738953, 0.7664564251899719, -0.6203875541687012, 0.3671534061431885, -0.42447972297668457, -0.5237814784049988, -0.44788938760757446, 0.5645578503608704, -0.4920927584171295, 0.9231388568878174, 0.30366459488868713, -0.6682907342910767, 0.5232441425323486, -0.8496466279029846, -0.49821627140045166, -0.016774818301200867, -0.16071908175945282, -0.3014146685600281, 0.0678541287779808, 0.6511037945747375, 0.3766021132469177, 0.1015937551856041, 0.6077366471290588, 0.07230254262685776, -0.4246580898761749, -0.08080938458442688, -0.3553463816642761, 0.48019206523895264, 0.21814924478530884, -0.06037366762757301, 0.1726929396390915, -0.5058789253234863, 0.028790833428502083, -0.16227614879608154, -0.670188844203949, -0.5180022120475769, -0.003754502860829234, -0.22978322207927704, 0.3563581705093384, 0.0018898609559983015, -0.7370167374610901, 0.24406220018863678, -0.09778250008821487, 0.27227839827537537, 0.315863698720932, 0.3409450054168701, 0.5223132371902466, -0.5600436925888062, 0.2722040116786957, 0.40146520733833313, 0.034694261848926544, -0.29273366928100586, -0.6767759919166565, -0.3813522756099701, -0.22182314097881317, 0.31854936480522156, 0.5613678097724915, -1.3218660354614258, 0.18491216003894806, -0.5240045785903931, -0.2577175199985504, -0.7126292586326599, -0.15893886983394623, 0.5985185503959656, 0.6908144354820251, 0.5771586298942566, -0.019918343052268028, 0.001958188833668828, -0.7148233652114868, -0.3172406852245331, 0.14768216013908386, -0.024336235597729683, 0.6218861937522888, 0.6931009292602539, -0.23547595739364624, 1.0719444751739502, -0.6462939977645874, -0.36397406458854675, -0.05653922259807587, 0.31944528222084045, 0.12269308418035507, 0.46402010321617126, 0.3337823748588562, -1.1881986856460571, -0.16019128262996674, 0.08480200916528702, -0.6060983538627625, 0.1011451780796051, -0.16858959197998047, -0.6009330153465271, -0.2164413332939148, 0.4806220531463623, -0.5839638710021973, 0.04351990297436714, 0.2339000552892685, -0.7839721441268921, 0.25632017850875854, -0.10245702415704727, 0.5620853304862976, -1.1444298028945923, -0.03011433780193329, -0.296830415725708, -0.1350690722465515, -0.8418375849723816, 0.3364836275577545, 0.2887636423110962, 0.12045881897211075, -0.33806082606315613, 0.3849135935306549, -0.2159213423728943, 0.12409476935863495, -0.20433998107910156, 0.1582547277212143, 0.2819637060165405, 0.5223008394241333, 0.13252291083335876, 0.9790857434272766, 0.3933602273464203, -0.6801175475120544, -0.04809947311878204, 0.612432599067688, -0.31334733963012695, 0.6673239469528198, -0.3893028795719147, 0.15214848518371582, -0.5537922978401184, 0.4213458299636841, -0.9493896961212158, -0.46845144033432007, 0.0757698342204094, -0.43243512511253357, 0.08486652374267578, -0.21717607975006104, -0.26985669136047363, -0.05361274629831314, -0.2272004932165146, 0.8484971523284912, 0.1294112652540207, -0.6083230376243591, 0.9873006939888, 0.37739184498786926, -0.15585200488567352, -0.6726273894309998, -0.5501702427864075, -0.16411177814006805, -0.12223784625530243, -1.0000197887420654, 0.5492181777954102, -0.08423103392124176, -0.058028414845466614, 0.03915666416287422, -0.12166253477334976, -0.33369970321655273, 0.013281870633363724, 0.13439220190048218, -0.032954439520835876, -0.26701048016548157, 0.33504021167755127, 0.21620018780231476, 0.14126209914684296, 0.028908172622323036, -0.32132384181022644, 0.5651643872261047, 0.014298289082944393, -0.2818285822868347, 0.07873386889696121, 0.8232148885726929, 0.5070191621780396, -0.4716252088546753, 0.8452284336090088, 0.785662055015564, -0.3799865245819092, -0.18032917380332947, -0.25210264325141907, -0.05192365124821663, -0.43530985713005066, 0.24156297743320465, -0.6677449941635132, -1.177100419998169, 0.3613297641277313, -0.07107473164796829, 0.17586778104305267, 0.5246543288230896, 0.25354939699172974, 0.3296928107738495, 0.8442212343215942, 0.38577041029930115, 0.10121175646781921, 0.26798808574676514, -0.3017234802246094, 0.21196074783802032, -1.0500047206878662, -0.5285383462905884, -0.4087521731853485, -0.060339219868183136, 0.028726866468787193, -0.5313531756401062, 0.7115434408187866, 0.06750240176916122, 0.05949864909052849, -0.0294998437166214, -0.3832267224788666, 0.6218973398208618, 0.4629555940628052, 0.3345744013786316, 0.3662590980529785, -0.14988169074058533, -0.04513593390583992, 0.47431105375289917, -0.9330891966819763, -0.34541574120521545, 0.8842170238494873, 0.03151465579867363, 0.6375438570976257, 0.28255170583724976, 0.6587803959846497, 0.179366335272789, 0.0536101832985878, -0.6057831645011902, 0.39820823073387146, -0.07879438996315002, -0.6559709906578064, -0.3669354319572449, -0.5815240144729614, -0.8664501905441284, 0.8949083089828491, -0.2893817722797394, -0.5338186025619507, 0.2626159191131592, -0.05730853229761124, -0.6648778319358826, 0.06415208429098129, -0.7703279852867126, 1.1217902898788452, 0.3085506558418274, -0.04798363521695137, 0.10681275278329849, -0.44626760482788086, 0.7123368382453918, 0.032422956079244614, 0.36504876613616943, 0.1988438218832016, 0.09188235551118851, 0.580809473991394, -0.24037548899650574, 0.4102983772754669, -0.19179502129554749, -0.21407343447208405, 0.322478711605072, -0.09216301143169403, 0.33186960220336914, 0.4293159544467926, -0.03048587404191494, -0.06889388710260391, 0.211419478058815, -0.5301879644393921, -0.5124242305755615, 0.729250967502594, -0.45878276228904724, -0.591107189655304, -0.27658236026763916, -0.8813916444778442, -0.3092077374458313, 0.10062872618436813, 0.3285042643547058, 0.978893518447876, -0.1805233508348465, 0.20402120053768158, 1.0216386318206787, 0.15076445043087006, 0.5104398727416992, 0.24319708347320557, 0.07248286157846451, -0.40237244963645935, 0.9065632820129395, 0.01280160527676344, 0.41852617263793945, 0.5402945280075073, -0.0035043656826019287, -0.34836769104003906, -0.7755034565925598, -0.7482245564460754, 0.046863093972206116, -0.8936667442321777, -0.2813088893890381, -0.9430190920829773, -0.24400080740451813, -0.43378975987434387, 0.037894342094659805, 0.23782095313072205, 0.03350149840116501, -0.10379482060670853, 0.11751946806907654, 0.06965475529432297, 0.4242289066314697, 0.31792837381362915, 0.39180171489715576, -1.0840510129928589, 0.6660498380661011, 0.5176231861114502, 0.20306390523910522, -0.17173919081687927, -0.3384830057621002, -0.2327866107225418, 0.2859790325164795, -0.2272903323173523, -0.6723705530166626, -0.04183252900838852, 0.4826785922050476, 0.5545027256011963, 0.2593311369419098, 0.31023404002189636, 0.8253388404846191, -0.3724120855331421, 0.9443776607513428, -0.4806740880012512, -0.8964218497276306, 0.3247494399547577, -0.2970150411128998, 0.775856077671051, 0.6691922545433044, 0.2803226113319397, -0.44477570056915283, -0.2674174904823303, -0.43748345971107483, -0.6726208329200745, 0.7521125674247742, 0.19556564092636108, -0.09137991070747375, -0.27578145265579224, 0.2548677325248718, 0.4505593776702881, 0.25751978158950806, -0.41780903935432434, 0.018239349126815796, -0.15502193570137024, -0.1169387549161911, -0.10717765241861343, -0.23012979328632355, -0.37899893522262573, -0.11176011711359024, 0.5505707859992981, -0.5213838815689087, 0.45338377356529236, 0.5855399966239929, -0.4500553011894226, 0.22678853571414948, 0.5166139006614685, 0.5900900959968567, 0.6753789186477661, -0.2115573287010193, 0.17195437848567963, 0.2285752147436142, -0.5541753172874451, 0.01122750248759985, 0.008664848282933235, -0.3029114007949829, 0.15338696539402008, 0.5029001832008362, 0.47685563564300537, 0.05034990236163139, -0.6018294095993042, 0.6438635587692261, -0.1526537388563156, -0.3778620958328247, 0.2124752402305603, 0.15659630298614502, -0.11895830929279327, 0.2522609829902649, 0.5189634561538696, 0.13031548261642456, 0.4794946312904358, -0.8089120984077454, 0.40192192792892456, 0.6431889533996582, -0.1378600001335144, 0.025362255051732063, 0.2661728262901306, 0.29933252930641174, 0.031770575791597366, 0.4949687719345093, -0.3298274576663971, -0.5202017426490784, 0.4036976397037506, 0.3215453028678894, 0.657500684261322, -0.06680184602737427, 0.4046788215637207, 0.29010817408561707, 0.019782893359661102, -0.1942489743232727, 0.6560438871383667, -0.30379539728164673, -0.6957354545593262, -0.5979859232902527, -0.6828912496566772, -0.1668909192085266, -0.06323538720607758, -0.7585837244987488, -0.286084920167923, 0.06958992779254913, 0.04208902642130852, 0.09946702420711517, -0.16978906095027924, -0.17470937967300415, 0.27021101117134094, -0.07895475625991821, 1.003434181213379, -0.8348032832145691, 0.8352495431900024, 0.6148576736450195, -0.23216722905635834, -0.5020875930786133, 0.27101224660873413, -0.13393980264663696, -0.3334786593914032, 0.0027936461847275496, 0.258850634098053, -0.27160942554473877, -0.027298491448163986, -0.36426520347595215, -0.8175148963928223, 1.286482334136963, 0.08794589340686798, 0.1801859438419342, -0.05788813903927803, -0.05340356007218361, 0.012423270381987095, -0.7748222351074219, 0.14687226712703705, 0.8227131366729736, 0.44768601655960083, 0.3323921263217926, -0.9915263652801514, 0.0831620916724205, -0.23331885039806366, -0.29596537351608276, 0.6104601621627808, -0.40450093150138855, 1.1773507595062256, -0.08970240503549576, -0.35970479249954224, 0.009012186899781227, 0.465476393699646, 0.04975966364145279, 0.566068708896637, 0.49553677439689636, 0.46589669585227966, 0.7725731134414673, -0.49475333094596863, 1.1312737464904785, 0.002737156581133604, 0.34030210971832275, 0.9564938545227051, 0.1166706383228302, 0.8282732963562012, 0.43176141381263733, 0.1617971658706665, 0.6502795219421387, 0.5472440123558044, 0.34806784987449646, 0.8922229409217834, -0.1805548220872879, -0.28938019275665283, -0.602250337600708, -0.24930158257484436, -0.3388092517852783, 0.3846651613712311, 0.3415739834308624, -0.03040648251771927, -0.6969157457351685, 0.19277627766132355, -0.008336503989994526, 0.026510661467909813, -0.5020470023155212, 0.9505420327186584, -0.2746512293815613, -0.9141615033149719, 0.8107268810272217, -0.07120491564273834, 0.7571181058883667, -0.7189351320266724, -0.2013520747423172, -0.1851457953453064, 0.2078986018896103, -0.34920886158943176, -0.8600476980209351, 0.41350746154785156, -0.42786115407943726, -0.31493839621543884, -0.09576775878667831, 0.5832253098487854, -0.7988452315330505, -0.23606820404529572, -0.04479343816637993, 0.7499728202819824, -0.09475627541542053, -0.5148656368255615, -0.36222419142723083, -0.1882890909910202, -0.06714429706335068, 0.12071766704320908, 0.48358282446861267, 0.485353022813797, -0.14509285986423492, 0.5859203934669495, 0.533145546913147, -0.6324267387390137, 0.03700341656804085, -0.14803725481033325, 1.1084275245666504, -0.553307831287384, -0.5929368138313293, -0.6584321856498718, 0.6114078760147095, -0.15707841515541077, -0.4492007791996002, 0.7618167400360107, 0.4483772814273834, 0.9145458340644836, -0.11832049489021301, 0.4517399072647095, -0.19890864193439484, 0.1349169760942459, -0.7811065912246704, 0.47142326831817627, -0.6072177290916443, -0.03727097436785698, -0.17334702610969543, -0.6291617751121521, -0.15441922843456268, 0.2554231882095337, -0.07314102351665497, 0.05344473198056221, 0.8428567051887512, 0.7808887362480164, -0.23063600063323975, 0.1787959635257721, 0.23289862275123596, -0.16464513540267944, 0.2625530958175659, 0.9460328817367554, 0.6455562710762024, -0.5920051336288452, 0.7416614890098572, -0.06836365908384323, -0.20231084525585175, -0.1978699266910553, -0.48095545172691345, -0.8576151132583618, -0.7279195785522461, -0.2819158434867859, -0.25344347953796387, -0.2167387455701828, 0.6132755875587463, 0.816032886505127, -0.7309495210647583, 0.08442171663045883, 0.20566317439079285, 0.21060851216316223, -0.6978036761283875, -0.2403111606836319, 0.4273809790611267, -0.3261522352695465, -0.6112837791442871, 0.5885258913040161, 0.3080366253852844, -0.15377768874168396, 0.0030999062582850456, -0.0876057893037796, -0.6257110834121704, 0.32940012216567993, 0.8533976078033447, -0.11519071459770203, -0.6938356757164001, -0.48192140460014343, 0.009433947503566742, -0.03470014035701752, 0.09528536349534988, 0.7983996272087097, -0.9417514204978943, 0.2784308195114136, 0.6077709794044495, 0.8127090930938721, 0.2092992216348648, 0.6191341280937195, 0.4452037513256073, -0.880327582359314, -0.1879556030035019, 0.1837589293718338, 0.25950387120246887, 0.12953327596187592, -0.5755428671836853, 0.40661323070526123, -0.09093541651964188, -0.5813871026039124, -0.6107849478721619, 0.25649648904800415, -0.9436036944389343, -0.5419598817825317, 1.2916985750198364, -0.2489650696516037, -0.4114631712436676, -0.4503840506076813, -0.4542538523674011, -0.2913760244846344, -0.4076506197452545, 0.5667982697486877, 0.9692472219467163, -0.262582391500473, -0.04977976158261299, -0.2651161253452301, 0.548907995223999, 0.2716291546821594, -0.8503656983375549, 0.03395973518490791, 0.7127289175987244, 0.16993579268455505, 0.4241294860839844, 0.5086308121681213, -0.0015601929044350982, 0.5835575461387634, 0.28412485122680664, -0.5246083736419678, -0.4004878103733063, -0.4989932179450989, -0.48246562480926514, 0.7678883075714111, -0.23277468979358673, -0.42926615476608276 ]
http://arxiv.org/abs/2404.02575v1
http://arxiv.org/pdf/2404.02575v1
Language Models as Compilers: Simulating Pseudocode Execution Improves Algorithmic Reasoning in Language Models
2024-04-03T08:49:11
2024-04-03T08:49:11
Hyungjoo Chae, Yeonghyeon Kim, Seungone Kim, Kai Tzu-iunn Ong, Beong-woo Kwak, Moohyeon Kim, Seonghwan Kim, Taeyoon Kwon, Jiwan Chung, Youngjae Yu, Jinyoung Yeo
cs.CL
cs.CL
Algorithmic reasoning refers to the ability to understand the complex patterns behind the problem and decompose them into a sequence of reasoning steps towards the solution. Such nature of algorithmic reasoning makes it a challenge for large language models (LLMs), even though they have demonstrated promising performance in other reasoning tasks. Within this context, some recent studies use programming languages (e.g., Python) to express the necessary logic for solving a given instance/question (e.g., Program-of-Thought) as inspired by their strict and precise syntaxes. However, it is non-trivial to write an executable code that expresses the correct logic on the fly within a single inference call. Also, the code generated specifically for an instance cannot be reused for others, even if they are from the same task and might require identical logic to solve. This paper presents Think-and-Execute, a novel framework that decomposes the reasoning process of language models into two steps. (1) In Think, we discover a task-level logic that is shared across all instances for solving a given task and then express the logic with pseudocode; (2) In Execute, we further tailor the generated pseudocode to each instance and simulate the execution of the code. With extensive experiments on seven algorithmic reasoning tasks, we demonstrate the effectiveness of Think-and-Execute. Our approach better improves LMs' reasoning compared to several strong baselines performing instance-specific reasoning (e.g., CoT and PoT), suggesting the helpfulness of discovering task-level logic. Also, we show that compared to natural language, pseudocode can better guide the reasoning of LMs, even though they are trained to follow natural language instructions.
[ -0.16037555038928986, -0.8437415957450867, 0.8723980784416199, -0.07598061859607697, -0.04756439849734306, 0.01469953078776598, -0.2677503526210785, -0.5182897448539734, -0.010317173786461353, 0.6606230139732361, -0.43806177377700806, -0.1754383146762848, -0.2544277608394623, -0.11029891669750214, -0.3721940219402313, 0.834481954574585, -0.1300557255744934, -0.013319744728505611, -0.20614668726921082, 0.059396032243967056, -0.1217578575015068, -0.6354975700378418, -0.3313809335231781, -0.17799101769924164, 0.010080765001475811, 0.0688084214925766, 0.6939119696617126, 0.6260574460029602, 0.29706892371177673, 0.33827343583106995, 0.04638832062482834, 0.18684247136116028, -0.49212369322776794, 0.1051022931933403, -0.2687018811702728, -0.8048673868179321, -0.16921845078468323, -0.11201568692922592, 0.35518574714660645, 0.6626455783843994, -0.37888333201408386, 0.12886561453342438, -0.2886861562728882, 0.4804369807243347, -0.6564053297042847, 0.23881137371063232, -0.5923119187355042, -0.10794226080179214, 0.10491223633289337, -0.16622887551784515, -0.5019792318344116, -0.586778998374939, -0.1179003119468689, -0.46182936429977417, -0.0813719853758812, 0.1866573840379715, 0.34086617827415466, 0.21642398834228516, 0.010870758444070816, -0.5318238139152527, -0.9506826996803284, 0.8377472758293152, -1.0052540302276611, 0.3390330672264099, -0.042700979858636856, 0.1828116476535797, -0.2654881775379181, -0.8601419925689697, -0.7874119281768799, -0.37330007553100586, -0.024997461587190628, -0.20006303489208221, 0.007902399636805058, 0.23896433413028717, 0.6734675765037537, 0.42970579862594604, -0.6499337553977966, -0.16809843480587006, -0.3343850076198578, -0.018655790016055107, 0.4401259124279022, 0.14011195302009583, 0.5921330451965332, 0.15781916677951813, -0.04915083944797516, 0.059883859008550644, -0.8027681708335876, 0.034340426325798035, 0.22287428379058838, 0.2783345580101013, 0.10202456265687943, 0.5598785281181335, -0.13984814286231995, 0.8473583459854126, -0.29944244027137756, 0.13876396417617798, 0.16266939043998718, -0.2139039784669876, -0.34880495071411133, 0.05697208270430565, 0.7501039505004883, 0.10623516142368317, 0.6793808937072754, -0.002238939981907606, -0.21635007858276367, 0.5906099081039429, 0.43474045395851135, -0.7499514222145081, -0.33825400471687317, 0.5062734484672546, -0.5181888341903687, -0.10092726349830627, -0.022980038076639175, -0.3465815782546997, -0.17270712554454803, -0.5931403040885925, 0.4085612893104553, -0.43347370624542236, -0.3132837116718292, 0.5262525677680969, -0.05702350661158562, 0.33684784173965454, 0.25967663526535034, -0.6757771968841553, 0.5077482461929321, 0.9942472577095032, 0.4945051968097687, 0.22083008289337158, -0.3348674476146698, -0.5326537489891052, 0.04077552631497383, -0.7768793702125549, 0.6568068861961365, -0.6967837810516357, -0.157194584608078, 0.019462449476122856, -0.5041537284851074, -0.10377822816371918, -0.6184731125831604, 0.32070475816726685, -0.4951743483543396, 0.22584748268127441, -0.29757311940193176, -0.8698011040687561, -0.05724114179611206, 0.07842714339494705, -0.5500710606575012, 1.1309611797332764, -0.08908747136592865, -0.7446916103363037, 0.1837529093027115, -0.677281379699707, -0.4215107560157776, 0.17077113687992096, -0.4094717502593994, -0.20720317959785461, 0.3235805928707123, 0.16963715851306915, 0.27958613634109497, -0.32542282342910767, 0.17612306773662567, -0.40905624628067017, -0.6584151387214661, 0.16408798098564148, 0.19147492945194244, 0.7733407616615295, 0.20399242639541626, -0.64879310131073, 0.2555059492588043, -0.35941973328590393, 0.5621926784515381, 0.11719697713851929, -0.021139472723007202, -0.16062630712985992, 0.4984050989151001, -0.31931066513061523, 0.43211662769317627, 0.0031327169854193926, -0.3721328377723694, 0.566505491733551, -0.6193302273750305, 0.5365591645240784, 0.5192608833312988, -0.059197358787059784, 0.541520893573761, -0.35949695110321045, 0.6109123229980469, -0.17650455236434937, 0.09158258885145187, -0.29200947284698486, -0.5619385838508606, -0.8755332231521606, -0.293895423412323, -0.009989073500037193, 0.8750748038291931, -0.8602451682090759, 0.052943676710128784, -0.1103593185544014, -0.4730566143989563, -0.8279725909233093, 0.28647738695144653, 0.532017707824707, 0.3098762631416321, 0.24246950447559357, -0.03707200661301613, -0.7511622905731201, -0.8765717148780823, -0.51462322473526, -0.6220375895500183, 0.35560983419418335, 0.2997761368751526, 0.47206488251686096, -0.12206105142831802, 0.8318889737129211, -0.5214353203773499, 0.2638591527938843, -0.814448356628418, 0.012310564517974854, 0.4404287040233612, 0.35256901383399963, 0.3403449058532715, -0.784074604511261, -0.1610996574163437, -0.0574151985347271, -0.8677295446395874, -0.2146080881357193, -0.21448735892772675, -0.14671608805656433, 0.11148785054683685, 0.5496062636375427, -0.5102766156196594, 0.427342027425766, 0.2456548511981964, -0.07316014915704727, 0.8485872745513916, -0.3166446387767792, 0.3072100877761841, -0.7505507469177246, 0.05095015838742256, -0.33739733695983887, -0.3783245086669922, -0.5922529697418213, 0.5832479000091553, 0.09652148932218552, -0.15846145153045654, -0.5602409839630127, 0.4259296655654907, -0.3926239013671875, -0.23370827734470367, -0.2678629755973816, -0.290136456489563, -0.2542276680469513, 0.3272518217563629, 0.393613338470459, 1.082482933998108, 0.7311766743659973, -0.63606858253479, 0.24962589144706726, -0.19036506116390228, -0.6701425909996033, 0.11647290736436844, -0.678132176399231, 0.47154322266578674, -0.01251969113945961, 0.11346762627363205, -0.5831286311149597, 0.026409875601530075, 0.1519325226545334, -0.205376997590065, -0.001588064944371581, -0.10706374794244766, -0.8082894086837769, -0.37710142135620117, -0.2021348625421524, 0.4463580250740051, 0.7167204022407532, -0.3211310803890228, 0.6172640919685364, 0.3157249689102173, 0.043405696749687195, -0.46125805377960205, -0.6975441575050354, 0.13552165031433105, 0.00499278400093317, -0.3791157901287079, 0.08247526735067368, -0.29878392815589905, -0.6268187761306763, 0.13952647149562836, 0.14276903867721558, 0.06726844608783722, 0.12597058713436127, 0.12243811041116714, 0.15805257856845856, -0.24863530695438385, -0.13716334104537964, -0.038072723895311356, -0.12425162643194199, 0.09383996576070786, -0.7232898473739624, 0.5240013599395752, -0.40408432483673096, -0.5645843148231506, -0.46448731422424316, 0.47469186782836914, 0.43800148367881775, -0.5049087405204773, 0.8469182848930359, -0.01922890916466713, -0.408579021692276, -0.7102962732315063, -0.5502429604530334, -0.2115711122751236, -0.43383678793907166, 0.1862088143825531, -0.47941333055496216, -0.8624773025512695, 0.3955237865447998, -0.3098137378692627, 0.1218215748667717, 0.08168639987707138, 0.9370483160018921, -0.2521035969257355, 0.986958920955658, 0.6570649147033691, -0.07449540495872498, 0.25118499994277954, -0.34195616841316223, 0.6255837082862854, -0.5598375201225281, -0.26937583088874817, -0.40015465021133423, -0.054078105837106705, -0.3612392544746399, -0.8285852670669556, 0.16169027984142303, 0.28724512457847595, 0.030614415183663368, 0.5566582083702087, -0.5254005789756775, 0.7073833346366882, 0.5704700946807861, -0.03684181347489357, 0.015614240430295467, -0.32100921869277954, -0.491418719291687, 0.05427759885787964, -0.6554049253463745, -0.675378143787384, 0.93168705701828, -0.08640959113836288, 0.7192180156707764, 0.09233452379703522, 1.0440791845321655, 0.4227800667285919, 0.12740257382392883, -0.7189672589302063, 0.7338641285896301, 0.11794702708721161, -0.592340350151062, 0.11267798393964767, -0.5274704098701477, -0.5118758678436279, 0.12129979580640793, 0.15924425423145294, -0.9690709114074707, -0.052542246878147125, 0.40238091349601746, -0.12299014627933502, 0.45169714093208313, -0.8846918344497681, 0.9915448427200317, -0.2781381905078888, -0.29068028926849365, -0.4981975555419922, -0.4681083858013153, 0.25127318501472473, 0.18513064086437225, 0.5969716906547546, 0.32267963886260986, 0.0716199055314064, 0.40946143865585327, -0.5802117586135864, 0.7124601006507874, 0.021468091756105423, -0.08687988668680191, 0.6743679642677307, 0.523787260055542, 0.4807862937450409, -0.2960856258869171, -0.3404346704483032, -0.16680178046226501, 0.13230866193771362, -0.28435346484184265, -0.9431199431419373, 0.5531371235847473, -0.30843451619148254, -0.6378098726272583, -0.43692490458488464, -0.38416826725006104, 0.053220588713884354, 0.12375906854867935, -0.09638718515634537, 0.5294053554534912, -0.07217589765787125, -0.2980461120605469, 0.6713499426841736, -0.07736458629369736, 0.3385568857192993, 0.2789059281349182, -0.5478112697601318, -0.02994239702820778, 0.7303931713104248, -0.13694609701633453, 0.42201727628707886, 0.5575166344642639, 0.08957184106111526, -0.2746698558330536, -0.4778522253036499, -0.44937270879745483, 0.22833774983882904, -0.8404790759086609, 0.1343473494052887, -0.6828417778015137, -0.20247973501682281, -0.212897390127182, -0.14209523797035217, -0.32225772738456726, -0.513870120048523, 0.08524193614721298, -0.18400853872299194, 0.024293914437294006, 0.8021796941757202, -0.0025276262313127518, -0.08748739957809448, -0.5468268394470215, 0.3704679012298584, 0.2987864017486572, 0.1224682554602623, 0.03724350780248642, -0.19687527418136597, -0.16393262147903442, -0.023931380361318588, 0.1310838907957077, -1.0342403650283813, 0.2555844187736511, 0.21202540397644043, 0.6382482647895813, 0.20573006570339203, -0.004850467666983604, 0.7290973663330078, -0.6656571626663208, 0.6512203216552734, -0.23097550868988037, -1.199104905128479, 0.8346492648124695, -0.17931541800498962, 0.2207413613796234, 0.4741773009300232, 0.1511743813753128, -0.3860695958137512, -0.4869858920574188, -0.561588704586029, -0.4236116111278534, 0.8340848088264465, 0.4154343605041504, 0.06391479820013046, -0.2684575915336609, 0.42903366684913635, -0.07979656755924225, 0.326232373714447, -0.6560943722724915, -0.2442677617073059, 0.06088398024439812, -0.24435530602931976, 0.11093331128358841, -0.35403573513031006, 0.09199338406324387, -0.2901613414287567, 0.5393639802932739, -0.14320194721221924, 0.4610307514667511, -0.09067940711975098, -0.3322867751121521, 0.0016581793315708637, 0.33348944783210754, 0.4807899594306946, 0.8187488317489624, -0.1776442676782608, 0.3352055251598358, -0.11964787542819977, -0.0302992332726717, 0.012117267586290836, -0.1491587907075882, -0.14898082613945007, -0.40773656964302063, 0.6760096549987793, 0.7554839253425598, 0.23012493550777435, -1.2190957069396973, 0.36135706305503845, 0.020252924412488937, 0.07255739718675613, -0.09734515845775604, 0.4745229482650757, 0.39333033561706543, 0.288348525762558, 0.04910901188850403, 0.10213115066289902, 0.41197469830513, -0.9853920340538025, 0.31429076194763184, 0.26756972074508667, -0.15277111530303955, -0.28251028060913086, 0.6092878580093384, -0.0024044334422796965, -0.5886789560317993, 0.748937726020813, -0.6051910519599915, -1.1242835521697998, 0.7672345042228699, 0.7428316473960876, 0.7836759686470032, -0.018139716237783432, 0.06226290017366409, 0.2544004023075104, 0.45119231939315796, -0.33197593688964844, 0.875038206577301, -0.1735532134771347, -0.7932055592536926, -0.8211683034896851, -0.5701636075973511, -0.3876645863056183, -0.11210412532091141, -0.5072001814842224, 0.11275538802146912, -0.5698058009147644, 0.06495794653892517, -0.1648978292942047, -0.06695465743541718, -0.5759104490280151, 0.20711302757263184, 0.38652095198631287, 0.8851742148399353, -0.7836160063743591, 0.9599930047988892, 0.909110426902771, -0.16845223307609558, -0.94362473487854, -0.1327192187309265, 0.11553420126438141, -0.6234021186828613, 0.5834685564041138, 0.4243192970752716, -0.31222060322761536, -0.03989021107554436, -0.4798133671283722, -0.5882896780967712, 0.42253369092941284, 0.47546282410621643, -0.681921124458313, 0.11910384148359299, 0.12878848612308502, 0.6694953441619873, -0.48111197352409363, 0.45718416571617126, 0.6035974025726318, 0.20436982810497284, -0.03528348729014397, -1.093401312828064, -0.018127528950572014, -0.3233054280281067, -0.08304710686206818, 0.5069894790649414, -0.12039259076118469, 0.6765694618225098, -0.661248505115509, -0.12088312953710556, 0.07983837276697159, 0.5523556470870972, 0.5475607514381409, 0.1410622000694275, 0.38600480556488037, 0.8053380846977234, 0.6893386244773865, 0.02117288112640381, 1.5589320659637451, -0.39280423521995544, 0.33591753244400024, 1.1694974899291992, -0.43749335408210754, 0.9333028197288513, 0.2685980796813965, -0.38249829411506653, 0.7419790029525757, 0.2664822041988373, 0.3929377794265747, 0.41218459606170654, 0.33287158608436584, -0.10107146948575974, -0.7557341456413269, 0.181086003780365, -0.1555291712284088, 0.37720346450805664, 0.49962151050567627, -0.32730841636657715, -0.05771716311573982, -0.2460518330335617, -0.009430574253201485, 0.3727804720401764, -0.23502226173877716, 0.6465787291526794, 0.225511372089386, -0.7131386995315552, 0.44255882501602173, 0.016495313495397568, 0.28744006156921387, -0.5112013816833496, -0.30821073055267334, 0.10556577891111374, 0.4484266936779022, -0.09057062864303589, -0.802490234375, 0.4646533131599426, 0.0510319322347641, -0.2669364809989929, -0.28085216879844666, 0.609637975692749, -0.2514040470123291, -0.670368492603302, 0.5023218393325806, 0.5633425116539001, 0.26533380150794983, -0.07045852392911911, -0.9920708537101746, 0.1778474599123001, 0.1447662115097046, -0.1746845543384552, 0.07307311147451401, 0.39132562279701233, -0.25793692469596863, 1.0632613897323608, 0.7546864151954651, 0.4177425503730774, 0.25223585963249207, 0.2749456763267517, 0.9061479568481445, -0.5160595178604126, -0.5392332077026367, -1.0770108699798584, 0.3215683698654175, -0.01065570767968893, 0.08283687382936478, 0.4637806713581085, 0.7828143835067749, 0.8317301869392395, -0.022671926766633987, 0.8084040284156799, -0.2717292606830597, 0.47936591506004333, -0.697874903678894, 0.4620087444782257, -0.41872966289520264, 0.46270495653152466, -0.27435293793678284, -1.029006838798523, -0.26306551694869995, 0.8525590300559998, -0.6259710192680359, 0.31277674436569214, 0.6742050051689148, 0.8947814106941223, -0.09334595501422882, -0.007907828316092491, 0.1264914870262146, 0.16652871668338776, 0.41481998562812805, 0.7678015828132629, 0.9524660110473633, -0.046468403190374374, 0.16342346370220184, -0.3497692346572876, -0.2741313874721527, 0.01273207925260067, -0.9411731362342834, -0.9140199422836304, -0.4110703766345978, -0.35960668325424194, -0.2407560795545578, 0.21683728694915771, 1.1228113174438477, 0.7658010721206665, -0.9595547318458557, -0.5206835865974426, -0.32611915469169617, 0.10720738768577576, -0.5640091896057129, -0.21695025265216827, 0.370336651802063, -0.3797476291656494, -0.6146141290664673, 0.41100752353668213, 0.4762265980243683, -0.42639631032943726, -0.10133515298366547, -0.13034692406654358, -0.28001847863197327, 0.35961562395095825, 0.34247785806655884, 0.46360617876052856, -0.8315930962562561, -0.04854995012283325, -0.20653797686100006, -0.006986607797443867, -0.15029723942279816, 1.1676712036132812, -1.241598129272461, 0.7951328754425049, 0.5172939896583557, 0.5752965211868286, 0.3637007474899292, 0.010240699164569378, 0.757006824016571, -0.2611454427242279, 0.2677626311779022, 0.43367844820022583, 0.46656712889671326, 0.21470314264297485, -0.20342576503753662, 0.32952335476875305, 0.19219213724136353, -0.36167725920677185, -0.8522154688835144, 0.48987632989883423, -0.6358586549758911, -0.5400890707969666, 0.9854418635368347, -0.23287811875343323, -0.21252503991127014, -0.05829543620347977, -0.16704769432544708, 0.11427081376314163, -0.2139100730419159, 0.6056219339370728, 0.46744340658187866, -0.3237643539905548, -0.4649595618247986, -0.5535513162612915, 0.63399738073349, 0.4929443299770355, -0.9059380888938904, 0.09199011325836182, 0.2673189043998718, 0.283468633890152, -0.04612496867775917, 0.7301695942878723, 0.011137361638247967, 0.34227851033210754, -0.11500154435634613, 0.13447798788547516, -0.2147568315267563, -0.32232293486595154, -0.054646555334329605, 0.014008266851305962, 0.09098716825246811, 0.0723816454410553 ]
http://arxiv.org/abs/2404.07229v1
http://arxiv.org/pdf/2404.07229v1
Personality-affected Emotion Generation in Dialog Systems
2024-04-03T08:48:50
2024-04-03T08:48:50
Zhiyuan Wen, Jiannong Cao, Jiaxing Shen, Ruosong Yang, Shuaiqi Liu, Maosong Sun
cs.CL
cs.CL, cs.AI
Generating appropriate emotions for responses is essential for dialog systems to provide human-like interaction in various application scenarios. Most previous dialog systems tried to achieve this goal by learning empathetic manners from anonymous conversational data. However, emotional responses generated by those methods may be inconsistent, which will decrease user engagement and service quality. Psychological findings suggest that the emotional expressions of humans are rooted in personality traits. Therefore, we propose a new task, Personality-affected Emotion Generation, to generate emotion based on the personality given to the dialog system and further investigate a solution through the personality-affected mood transition. Specifically, we first construct a daily dialog dataset, Personality EmotionLines Dataset (PELD), with emotion and personality annotations. Subsequently, we analyze the challenges in this task, i.e., (1) heterogeneously integrating personality and emotional factors and (2) extracting multi-granularity emotional information in the dialog context. Finally, we propose to model the personality as the transition weight by simulating the mood transition process in the dialog system and solve the challenges above. We conduct extensive experiments on PELD for evaluation. Results suggest that by adopting our method, the emotion generation performance is improved by 13% in macro-F1 and 5% in weighted-F1 from the BERT-base model.
[ -0.5137637257575989, -0.817314088344574, 0.6366568207740784, 0.4112602472305298, 0.022115347906947136, -0.018280496820807457, -0.014917921274900436, -0.3453620672225952, 0.13632017374038696, 0.4744134843349457, -0.9866864681243896, -0.32266777753829956, -0.18528032302856445, 0.2635587751865387, 0.07879001647233963, 1.2068010568618774, 0.14188189804553986, 0.1311064511537552, 0.061437834054231644, 0.16903014481067657, -0.5084967613220215, -0.7127878665924072, -0.608445405960083, -0.599179208278656, 0.5665170550346375, 0.42785826325416565, 0.3864912986755371, -0.1571950763463974, 0.238482266664505, 0.2117600440979004, -0.09664776176214218, -0.01293639000505209, -0.5086296796798706, 0.39565926790237427, 0.1829524040222168, -0.34319007396698, -0.8447598814964294, 0.06265687197446823, 0.18353994190692902, 0.3921765983104706, -0.26013317704200745, -0.005399005953222513, 0.0228703785687685, 0.6779062747955322, -0.5329511165618896, 0.2459731549024582, -0.4625973105430603, 0.4274391233921051, -0.198787659406662, -0.36012598872184753, -0.36179494857788086, -0.43372637033462524, 0.5839396715164185, -0.18037493526935577, 0.08756392449140549, 0.05962949991226196, 0.5085991621017456, 0.034458037465810776, -0.7949032187461853, -0.43035218119621277, -0.7226111888885498, 0.5333472490310669, -0.623634397983551, 0.08430700749158859, 0.08478356152772903, 0.20351329445838928, -0.01874551549553871, -0.005172193981707096, -0.4939877688884735, -0.08635338395833969, 0.16901394724845886, 0.2907262146472931, -0.1478971242904663, 0.19161874055862427, 0.2582051157951355, 0.18834204971790314, -0.2955875098705292, -0.4187828600406647, 0.015158997848629951, -0.031201792880892754, 0.682314395904541, 0.5938215255737305, 0.04727601632475853, -0.5503058433532715, 0.16842889785766602, -0.1061406210064888, -0.5937687754631042, 0.14259779453277588, 0.7230326533317566, 0.34865283966064453, -0.05243502929806709, 0.41944217681884766, -0.17175428569316864, 0.3127695918083191, 0.6851764917373657, -0.023130036890506744, 0.35606545209884644, -0.18727853894233704, -0.16723012924194336, 0.17633283138275146, 0.45904669165611267, 0.5948870778083801, 0.35439932346343994, 0.25314638018608093, -0.04750072583556175, -0.13115447759628296, 0.2722671329975128, -1.0493710041046143, -0.2849896252155304, 0.4840538203716278, -0.40049606561660767, -0.6791478991508484, -0.046971824020147324, -1.0177072286605835, -0.5242833495140076, -0.10876332968473434, 0.28079116344451904, -0.510850191116333, -0.41474559903144836, -0.1881006807088852, 0.11559897661209106, 0.06750187277793884, 0.5854046940803528, -0.8337844014167786, 0.10891785472631454, 0.3027770221233368, 0.5769302845001221, 0.11321470886468887, 0.19549395143985748, -0.5488860607147217, -0.1863117516040802, 0.0774756520986557, 0.5511711835861206, -0.6438705325126648, -0.6766552925109863, 0.08293947577476501, -0.06145772710442543, -0.0888868123292923, -0.5228188633918762, 0.3092808127403259, -0.1307275891304016, 0.39198702573776245, -0.36980539560317993, -0.5806764364242554, 0.1498405635356903, 0.17246726155281067, -0.3244464695453644, 0.638218879699707, 0.19878217577934265, -0.6755664348602295, -0.012766183353960514, -0.8536357283592224, -0.4605828821659088, -0.04716530814766884, 0.03767015039920807, -0.3614461123943329, 0.3489264249801636, 0.01850728876888752, 0.5384076833724976, -0.13172149658203125, 0.18581871688365936, -0.3834972679615021, 0.07616885751485825, 0.41066601872444153, 0.05791306868195534, 0.5436204075813293, 0.22824746370315552, -0.39797312021255493, -0.05526258051395416, -0.5852011442184448, 0.1768682301044464, -0.02634318359196186, -0.2571732997894287, -0.10438386350870132, 0.15610045194625854, 0.20001427829265594, 0.3685832619667053, 0.3937237560749054, -0.7952175140380859, 0.056263916194438934, -0.18555675446987152, 0.07824118435382843, 1.0105401277542114, 0.40287670493125916, 0.2986617088317871, -0.04019957035779953, 0.5619321465492249, 0.2855049967765808, 0.16781990230083466, -0.1426592767238617, -0.5573821663856506, -0.5244512557983398, 0.15364094078540802, -0.05087358132004738, 0.6643241047859192, -0.4340534806251526, 0.7068125009536743, 0.2592090964317322, -0.3960614502429962, -0.30271005630493164, -0.19682395458221436, 0.5074889659881592, 0.7570249438285828, -0.0796995535492897, -0.24707111716270447, -0.36944296956062317, -0.6332443952560425, -0.10346992313861847, -0.38210994005203247, -0.11175704747438431, 0.907304584980011, 0.08228638023138046, -0.23147913813591003, 1.0403053760528564, -0.7991684079170227, 0.18148136138916016, -0.20001736283302307, 0.584502100944519, -0.10441974550485611, 0.4054022431373596, 0.3809047341346741, -0.6073557138442993, -0.7084304094314575, -0.06975223869085312, -0.49450936913490295, -0.7442594766616821, -0.1297597438097, -0.15608453750610352, 0.3843871057033539, 0.029693160206079483, -0.41249534487724304, 0.34972578287124634, 0.536561131477356, -0.5936755537986755, 0.8879740238189697, 0.08081895858049393, 0.30248475074768066, -0.7872615456581116, 0.007105367258191109, 0.12386634945869446, -0.10305903851985931, -0.8941268920898438, -0.5384948253631592, -0.21598896384239197, -0.48895570635795593, -0.32907646894454956, 0.30962541699409485, 0.00788685493171215, -0.02618882618844509, -0.10111314803361893, -0.16672088205814362, 0.10437944531440735, 0.5971527695655823, 0.009138367138803005, 0.5547396540641785, 0.40414565801620483, -0.22606317698955536, 0.27904975414276123, 0.541742205619812, -0.009563690051436424, 1.094600796699524, -0.4328767955303192, 0.3490094542503357, -0.29517632722854614, 0.4928019344806671, -0.7649292945861816, -0.4162951707839966, 0.32860061526298523, -0.15386441349983215, 0.0889744684100151, 0.12513723969459534, -0.29407262802124023, -0.02138848789036274, -0.10138992220163345, -0.13065442442893982, 0.6641815304756165, -0.19262205064296722, 0.8181209564208984, -0.037798598408699036, -0.6242629885673523, 0.20433615148067474, -0.1626298874616623, 0.03703612834215164, -0.3166826665401459, -0.8421114683151245, 0.15652568638324738, -0.44867005944252014, -0.35833820700645447, -0.2591634690761566, -0.09593994170427322, 0.1293458640575409, -0.06354895979166031, 0.40495651960372925, 0.00028026357176713645, 0.12611918151378632, 0.2252703309059143, 0.23775635659694672, 0.22493720054626465, 0.33174943923950195, 0.4095808267593384, 0.7162269353866577, -0.5182112455368042, -0.0639483779668808, -0.6615820527076721, 0.5999305248260498, 0.6266213059425354, -0.04567378759384155, 0.6231064796447754, 0.6047157645225525, -0.01564662531018257, 0.18601635098457336, -0.3554106056690216, -0.3706253170967102, -0.45229947566986084, 0.347129225730896, -0.5321041345596313, -0.6395473480224609, 0.5931136608123779, -0.29777878522872925, 0.07779446244239807, 0.12610170245170593, 0.6414075493812561, -0.5308841466903687, 1.5785248279571533, 0.47524508833885193, 0.2895103394985199, 0.7900030612945557, 0.2011154592037201, 0.2551555931568146, -0.8658760786056519, -0.19057269394397736, -0.2073536068201065, -0.41777458786964417, -0.4880877733230591, 0.04311879724264145, 0.4935426414012909, -0.22796888649463654, -0.28173187375068665, -0.04190646484494209, -0.2114541083574295, -0.22709883749485016, 0.14114059507846832, 0.4259469211101532, 0.07779967784881592, -0.1594943404197693, 0.16422319412231445, -0.2538362443447113, -0.31816643476486206, -0.2927364408969879, 1.044816017150879, 0.28209295868873596, 0.7276768088340759, 0.2647952735424042, 0.9705415964126587, 0.37463638186454773, 0.48009270429611206, -0.6114919185638428, 0.4930711090564728, -0.0388936847448349, -0.5292081832885742, -0.17483089864253998, -0.5790016651153564, -0.6210203766822815, -0.06469529122114182, -0.18516921997070312, -1.1470787525177002, 0.3112529218196869, 0.33051398396492004, -0.49921590089797974, -0.2972645163536072, -1.016713261604309, 0.6201655268669128, -0.1965644806623459, -0.17491285502910614, -0.184633269906044, -0.8317791819572449, 0.3284607529640198, -0.28552454710006714, -0.19533447921276093, -0.4236513376235962, 0.5334054231643677, 0.4848487079143524, -0.720622718334198, 0.8951440453529358, -0.5710440874099731, -0.23216277360916138, 0.10233846306800842, 0.14578206837177277, 0.6473380923271179, 0.020880939438939095, -0.18583209812641144, -0.12914951145648956, -0.0633920356631279, -0.13457204401493073, -0.8316659927368164, 0.3869004547595978, -0.681265115737915, -0.473898708820343, -0.08468959480524063, -0.597320020198822, -0.5298648476600647, -0.27402129769325256, 0.2645629644393921, 0.32752084732055664, -0.3612099885940552, -0.025137266144156456, 0.7239187955856323, -0.27969062328338623, 0.1480850726366043, 0.4070616364479065, -0.2320115566253662, -0.18714232742786407, 0.786257266998291, -0.11365999281406403, 0.43315836787223816, -0.07486425340175629, 0.2367824763059616, 0.036908820271492004, 0.13497409224510193, -0.20341555774211884, -0.1292673796415329, -0.2863387167453766, -0.031147249042987823, -0.6742050647735596, -0.08187445998191833, -0.4296025335788727, -0.1282454878091812, -0.3484494984149933, -0.15707270801067352, -0.4285958707332611, 0.20640625059604645, 0.30869171023368835, 0.7625525593757629, 0.16150975227355957, 0.5404287576675415, -0.703742265701294, 0.02298499457538128, 0.6091872453689575, 0.13236835598945618, 0.0024941936135292053, -0.17926135659217834, -0.06286580115556717, 0.09449049085378647, -0.7587019205093384, -1.1985626220703125, 0.4663478136062622, 0.48940157890319824, 0.03464009240269661, 0.6784693598747253, 0.03395727276802063, 0.43072301149368286, -0.4496786296367645, 0.6409896612167358, 0.1638881266117096, -1.1056605577468872, 0.6845805048942566, -0.5461036562919617, 0.3805220425128937, 0.41508838534355164, -0.18756921589374542, -0.7647781372070312, -0.284616619348526, -0.8277788758277893, -0.7859575748443604, 0.7226945161819458, 0.5031746625900269, 0.1310061514377594, -0.07296458631753922, 0.3937770426273346, 0.1116866022348404, 0.5174556970596313, -0.325219064950943, -0.150163471698761, -0.3109453618526459, -0.35551121830940247, 0.1938963532447815, -0.15186554193496704, 0.06104936823248863, -0.05444231256842613, 0.5280318856239319, -0.20581521093845367, 0.6311603784561157, 0.24738863110542297, 0.09199607372283936, -0.37302151322364807, 0.3672241270542145, 0.3277367651462555, 0.11192408204078674, -0.7210162281990051, -0.2970793843269348, -0.052701085805892944, -0.2237340658903122, 0.06146707758307457, 0.03377251699566841, 0.00885221641510725, -0.1505810171365738, -0.2519882619380951, 0.8727838397026062, 0.19251856207847595, -0.7392222881317139, 0.42286044359207153, -0.09445429593324661, -0.04167809337377548, -0.28789007663726807, 0.10071258246898651, 0.0255951676517725, 0.4852186441421509, 0.4268327057361603, -0.050649240612983704, 0.3925345242023468, -0.6948568820953369, 0.030111508443951607, 0.3377085328102112, -0.3670051693916321, -0.5740892291069031, 0.15082700550556183, 0.7793729901313782, -0.4734412729740143, 0.7079532742500305, -0.3387793004512787, -0.6679200530052185, 0.6523294448852539, 0.5339562296867371, 1.0404685735702515, -0.5159470438957214, 0.38837930560112, 0.006886213552206755, -0.2326565533876419, 0.2629823684692383, 0.6022151708602905, -0.17115500569343567, -0.8781331181526184, -0.06038683280348778, -0.4892977774143219, -0.8268003463745117, -0.021324902772903442, -0.8151551485061646, 0.007530577480792999, -0.5255777835845947, -0.47688770294189453, -0.23293806612491608, 0.059490855783224106, -0.7116103768348694, 0.2425212264060974, 0.4958004355430603, 0.5660486817359924, -1.0278279781341553, 0.3076131045818329, 0.7739724516868591, 0.1229461058974266, -0.5729004740715027, 0.3033582270145416, 0.2808663249015808, -0.24792741239070892, 0.6739690899848938, 0.3178313970565796, -0.08287348598241806, 0.2498665153980255, -0.4783651828765869, -0.47294336557388306, 0.9276643395423889, 0.07515927404165268, -0.29494598507881165, -0.005412463564425707, -0.05285194516181946, 0.6999877095222473, -0.8845464587211609, 0.1327735036611557, 0.5821375846862793, 0.5273553133010864, 0.05362802743911743, -0.7487103343009949, -0.06665685772895813, -0.5305538177490234, 0.02991204522550106, 0.14871110022068024, -0.8771823048591614, 0.8405080437660217, 0.0192432664334774, -0.05261862277984619, 0.2261519432067871, 0.40814754366874695, 0.39250898361206055, 0.2663702070713043, 0.7630497217178345, 0.381002277135849, 0.6967334747314453, -0.0882381722331047, 0.715477466583252, -0.36935216188430786, 0.3635377883911133, 1.0045572519302368, -0.7900393605232239, 0.5587679147720337, 0.5230727195739746, 0.08217950165271759, 0.8136938214302063, 0.583873987197876, 0.06457728892564774, 0.4090222716331482, 0.1912904679775238, -0.5552234649658203, -0.18130911886692047, -0.3620898127555847, -0.08506664633750916, 0.5773284435272217, 0.4250316023826599, -0.313255250453949, -0.13761143386363983, 0.15739251673221588, 0.06023324280977249, -0.5134336948394775, -0.01244320161640644, 0.7111121416091919, -0.23593705892562866, -0.4903969168663025, 0.032359495759010315, -0.2056763768196106, 0.6018156409263611, -0.4798535704612732, 0.06463676691055298, -0.2848219871520996, -0.09871070832014084, -0.23858582973480225, -0.5451862812042236, 0.10604214668273926, 0.23645809292793274, -0.1933206468820572, -0.5497181415557861, 0.5596756339073181, -0.40999507904052734, -0.2281944900751114, -0.051067713648080826, 0.5748423337936401, 0.31443578004837036, -0.3989901542663574, -0.6044888496398926, -0.07489883899688721, 0.20117723941802979, -0.7084197402000427, 0.3674435019493103, 0.4404667019844055, 0.20652538537979126, 0.31931811571121216, 0.3289041519165039, -0.2207185924053192, -0.11111430078744888, 0.24383585155010223, 0.7312146425247192, -0.6998515129089355, -0.45650026202201843, -0.5164600610733032, 0.8017107248306274, -0.2474042922258377, -0.3458336889743805, 0.3586820065975189, 0.11213313788175583, 0.016872379928827286, -0.12223891168832779, 0.8943172693252563, -0.5800849795341492, 0.2674168348312378, -0.18314753472805023, 0.6646724343299866, -0.440184623003006, -0.08179072290658951, -0.7900471687316895, -0.8850654363632202, 0.24021078646183014, 0.4750697612762451, -0.24124889075756073, 0.16464339196681976, 0.5956370830535889, 0.5483717322349548, 0.38794654607772827, 0.23220142722129822, 0.12946626543998718, 0.30405500531196594, 0.38197147846221924, 0.8222281336784363, 0.6013213396072388, -0.0952540934085846, 0.2929933965206146, -0.2503722012042999, -0.42066964507102966, -0.45351442694664, -0.8973479270935059, -0.736672043800354, -0.5530164241790771, -0.39367783069610596, -0.3800496757030487, 0.02547430247068405, 0.8361606597900391, 0.448209673166275, -0.664995014667511, -0.04953435808420181, -0.24942411482334137, -0.12232965975999832, 0.2233262062072754, -0.39322400093078613, -0.2352735996246338, -0.20724627375602722, -0.8501188158988953, 0.021610643714666367, 0.393746554851532, 0.16495415568351746, -0.3440479636192322, -0.14472590386867523, 0.11115261167287827, 0.2707069516181946, 0.6030922532081604, 0.18105478584766388, -0.4699150323867798, -0.6260698437690735, 0.0418744720518589, -0.054417628794908524, 0.18605251610279083, 0.7743099331855774, -0.5459831953048706, 0.346475213766098, 0.28599199652671814, 0.214394211769104, 0.5071430206298828, 0.29084092378616333, 0.8820515871047974, -1.0013917684555054, -0.2112281620502472, 0.1643088161945343, 0.23039492964744568, 0.3554382622241974, -0.8855509757995605, 0.22487381100654602, 0.1566867083311081, -0.5959665179252625, -0.5780395269393921, 0.6550841927528381, -0.977647066116333, 0.16675733029842377, 0.9618390798568726, -0.2510060966014862, -0.05081607773900032, 0.03483014553785324, -0.4267154633998871, 0.1840246021747589, -0.9088498950004578, 1.0327004194259644, 0.8277216553688049, -0.9531881809234619, -0.29134100675582886, -0.11714056879281998, 0.2863045930862427, 0.6668332815170288, -1.0576386451721191, 0.1496114730834961, 0.7806235551834106, 0.14195893704891205, 0.20911943912506104, 0.46455737948417664, 0.09765810519456863, 0.1466904729604721, -0.24194875359535217, 0.4090564548969269, 0.3023691177368164, -0.13083234429359436, -0.27285540103912354, 0.2730127274990082, -0.3997729420661926, 0.296708345413208 ]
http://arxiv.org/abs/2404.02570v1
http://arxiv.org/pdf/2404.02570v1
MaiNLP at SemEval-2024 Task 1: Analyzing Source Language Selection in Cross-Lingual Textual Relatedness
2024-04-03T08:44:51
2024-04-03T08:44:51
Shijia Zhou, Huangyan Shan, Barbara Plank, Robert Litschko
cs.CL
cs.CL
This paper presents our system developed for the SemEval-2024 Task 1: Semantic Textual Relatedness (STR), on Track C: Cross-lingual. The task aims to detect semantic relatedness of two sentences in a given target language without access to direct supervision (i.e. zero-shot cross-lingual transfer). To this end, we focus on different source language selection strategies on two different pre-trained languages models: XLM-R and Furina. We experiment with 1) single-source transfer and select source languages based on typological similarity, 2) augmenting English training data with the two nearest-neighbor source languages, and 3) multi-source transfer where we compare selecting on all training languages against languages from the same family. We further study machine translation-based data augmentation and the impact of script differences. Our submission achieved the first place in the C8 (Kinyarwanda) test set.
[ -0.3992694020271301, -0.389739990234375, 0.5013763904571533, 0.26619425415992737, -0.29323863983154297, -0.1281110942363739, -0.3365567922592163, -0.8293960690498352, 0.2354576736688614, 0.8111242055892944, -0.732468843460083, -0.3200973570346832, -0.46644291281700134, 0.6014637351036072, -0.28168627619743347, 0.8733527064323425, -0.26556795835494995, 0.20524613559246063, -0.38850030303001404, -0.4616152048110962, -0.4318239688873291, -0.6371179223060608, -0.5812524557113647, -0.16946452856063843, 0.5917780995368958, 0.4206811487674713, 0.38958707451820374, 0.405329167842865, 0.6473062038421631, 0.2737486958503723, 0.17857688665390015, -0.14960961043834686, -0.2776328921318054, 0.24002695083618164, -0.6558471918106079, -0.5232828855514526, -0.22752492129802704, -0.2906014025211334, 0.5415827035903931, 0.5048109292984009, 0.5868809223175049, 0.24926257133483887, 0.03878101706504822, 0.6122395992279053, -0.4475395977497101, 0.01046584453433752, -0.6061513423919678, 0.11128712445497513, -0.36162033677101135, -0.342850923538208, -0.2587032914161682, 0.0017476360080763698, 0.12442662566900253, -0.47910916805267334, 0.3135196268558502, 0.1545894742012024, 0.9445138573646545, 0.3901301920413971, -0.4698999226093292, -0.3725474774837494, -0.4017077088356018, 0.703338086605072, -0.47454503178596497, 0.5608200430870056, 0.7052255272865295, 0.03549991920590401, 0.2693186402320862, -0.5826199650764465, -0.3569815158843994, -0.3404351472854614, -0.1918349266052246, 0.08471546322107315, -0.04531943053007126, -0.253412127494812, 0.06465484946966171, 0.014743246138095856, -0.6845040321350098, -0.023240812122821808, -0.45097753405570984, -0.32903367280960083, 0.6108880043029785, -0.11166079342365265, 0.5113185048103333, -0.01959911361336708, -0.4846190810203552, -0.15284334123134613, -0.9024726152420044, -0.17879505455493927, 0.5277798771858215, 0.32603731751441956, -0.0356222465634346, 0.5893190503120422, -0.22661666572093964, 0.5407909154891968, -0.12199989706277847, 0.3110446333885193, 0.4194071888923645, -0.9319601655006409, 0.056185416877269745, 0.2695959508419037, 0.668178141117096, 0.14603862166404724, 0.16315852105617523, -0.12767848372459412, -0.0037516290321946144, -0.1672995537519455, 0.061479028314352036, -0.4555399715900421, 0.06268568336963654, -0.10275350511074066, -0.3479098677635193, -0.49472683668136597, -0.21882270276546478, -0.7524034976959229, 0.03923324868083, -0.44252097606658936, 0.6660849452018738, -0.42298978567123413, -0.2242598980665207, -0.25799083709716797, 0.005812556948512793, 0.2957817614078522, 0.1638650745153427, -0.7933126091957092, 0.10449063032865524, 0.6592051386833191, 0.559576690196991, -0.41872960329055786, -0.7580632567405701, -0.6222445368766785, 0.19608311355113983, -0.22946235537528992, 1.0010532140731812, -0.674787163734436, -0.1193837895989418, -0.1119309589266777, 0.44263961911201477, -0.05905836448073387, -0.5343579053878784, 0.8221550583839417, -0.2688462734222412, 0.454786092042923, -0.34443897008895874, -0.32059943675994873, -0.23002901673316956, 0.12757353484630585, -0.7505457401275635, 1.0677462816238403, 0.14458130300045013, -0.9318432807922363, 0.3130316734313965, -0.31965968012809753, -0.47682949900627136, -0.09895545244216919, -0.2031482756137848, -0.31663331389427185, -0.1604640781879425, 0.007917564362287521, 0.2927100956439972, -0.12224195897579193, 0.12397099286317825, -0.3558405339717865, -0.34149208664894104, -0.019101357087492943, -0.2766663134098053, 0.6248959898948669, 0.3975795805454254, -0.4139835238456726, 0.12884902954101562, -0.7204738855361938, -0.10600269585847855, -0.00426896708086133, -0.2341647446155548, -0.6500986814498901, -0.29525572061538696, 0.2169451117515564, 0.5079367756843567, 0.4408975839614868, -0.45341113209724426, -0.0157379861921072, -0.46139249205589294, 0.1351524442434311, 0.5001420378684998, -0.018876656889915466, 0.42121997475624084, -0.18352922797203064, 0.5077576041221619, 0.17698979377746582, -0.17668680846691132, -0.3122507929801941, -0.30199339985847473, -0.8042739629745483, 0.21801725029945374, 0.6013795137405396, 0.5948494672775269, -0.965707540512085, 0.16812030971050262, -0.28124406933784485, -0.22872693836688995, -0.3425646126270294, 0.10803064703941345, 0.5000842809677124, 0.3396085500717163, 0.2792357802391052, -0.07119716703891754, -0.8389642834663391, -1.075147271156311, -0.2059677094221115, -0.12004783749580383, 0.08188240975141525, -0.10521357506513596, 0.41671234369277954, -0.20056651532649994, 0.4339529871940613, -0.17030349373817444, -0.2024109661579132, -0.1831088662147522, 0.030366575345396996, -0.1227007731795311, 0.3874419033527374, 0.7646846175193787, -0.7518116235733032, -0.5728959441184998, 0.4295157492160797, -0.7107165455818176, -0.5270809531211853, 0.20430037379264832, -0.32542070746421814, 0.642653226852417, 0.7195361256599426, -0.1079002320766449, 0.42897024750709534, 0.6675853133201599, -0.6545805931091309, 0.3526395857334137, -0.14990268647670746, 0.4861167371273041, -1.330551266670227, 0.16424252092838287, -0.14296305179595947, -0.313689649105072, -0.5869606137275696, -0.011609830893576145, 0.06401563435792923, -0.17582698166370392, -0.4856506288051605, 0.5959433913230896, -0.27134233713150024, -0.37487584352493286, -0.36483827233314514, 0.004395949654281139, -0.12436790019273758, 0.7056685090065002, 0.3118549585342407, 0.8882666826248169, 0.38726189732551575, -0.4143684506416321, 0.15299305319786072, 0.2628309726715088, -0.050166741013526917, 0.6089356541633606, -0.5077060461044312, 0.16128212213516235, -0.008787112310528755, -0.12160498648881912, -0.7629541158676147, 0.032885339111089706, 0.2343226820230484, -0.5500665307044983, 0.2919975221157074, -0.08967966586351395, -0.2360987514257431, -0.012430131435394287, -0.2997581958770752, 0.40722721815109253, 0.16613511741161346, -0.24467256665229797, 0.21787814795970917, 0.33995339274406433, -0.6878706812858582, -0.5431861281394958, -0.7241806983947754, 0.22235248982906342, -0.2403154820203781, -0.7710657715797424, 0.1944168359041214, 0.04889785870909691, -0.16737309098243713, 0.2945064306259155, -0.11164241284132004, -0.20680542290210724, -0.14245201647281647, -0.06624077260494232, 0.43755677342414856, -0.3414336144924164, 0.054220497608184814, 0.14037492871284485, -0.12211240082979202, 0.04240088164806366, -0.2993418872356415, 0.2924133241176605, 0.014602558687329292, -0.3248869776725769, 0.19324110448360443, 0.5100935101509094, 0.27518051862716675, -0.2576906383037567, 0.38200363516807556, 0.7110410928726196, -0.28717055916786194, -0.0451914444565773, -0.4903630018234253, 0.04618115350604057, -0.3807336688041687, 0.4225010871887207, -0.632678747177124, -1.07807195186615, 0.42649325728416443, 0.2133532464504242, -0.16185016930103302, 0.5503416657447815, 0.5244778990745544, 0.24561505019664764, 0.7668688297271729, 0.6133469939231873, -0.03373417630791664, 0.4504072666168213, 0.0804484561085701, 0.02872854471206665, -0.621735692024231, -0.17573702335357666, -0.8773611187934875, 0.044671542942523956, -0.8335727453231812, -0.49309104681015015, 0.1088491901755333, -0.18997733294963837, -0.05705639347434044, 0.8932768702507019, -0.1453513354063034, 0.2260715216398239, 0.48728641867637634, -0.19556932151317596, 0.42030614614486694, 0.2178582400083542, -0.35143598914146423, -0.1463732123374939, -0.4834156930446625, -0.3396029770374298, 0.9076395034790039, 0.286675363779068, 0.433030366897583, -0.005465663969516754, 0.5845187902450562, 0.3443857431411743, -0.19933155179023743, -0.4448622763156891, 0.5844720005989075, -0.2373388260602951, -0.4085031747817993, -0.415262907743454, -0.3818909823894501, -0.9775248765945435, 0.38591885566711426, -0.16497255861759186, -0.5136243104934692, 0.22097063064575195, -0.3424411118030548, 0.21659578382968903, 0.00404578959569335, -0.5672547817230225, 0.8566130995750427, -0.3199094533920288, -0.6317654848098755, -0.13308821618556976, -0.8363439440727234, 0.09512683749198914, -0.3969888985157013, 0.16259145736694336, -0.17953437566757202, -0.16419292986392975, 0.6181750893592834, -0.3420019745826721, 0.2787753939628601, 0.11510378867387772, -0.3241157829761505, 0.15677565336227417, -0.029635917395353317, 0.36455586552619934, -0.1468731164932251, -0.13094483315944672, 0.3315860331058502, 0.30158182978630066, -0.38296812772750854, -0.43523427844047546, 0.7690859436988831, -0.6441161036491394, -0.35795968770980835, -0.5253192782402039, -0.23470188677310944, -0.3564828038215637, 0.4366131126880646, 0.4327307343482971, 0.41142573952674866, -0.31079840660095215, 0.20577433705329895, 0.47163596749305725, -0.2758268415927887, 0.3528740704059601, 0.6125526428222656, -0.37334516644477844, -0.4303087294101715, 0.9272080659866333, 0.026779690757393837, 0.21800291538238525, 0.5725225210189819, -0.02372775226831436, -0.4343399703502655, -0.4313144385814667, -0.524513304233551, 0.24563385546207428, -0.6358110308647156, -0.04699348658323288, -0.6395847797393799, -0.4025430679321289, -0.6195651888847351, -0.0558905154466629, -0.2165500819683075, -0.5280441641807556, -0.05571385845541954, -0.02529115043580532, 0.08336177468299866, 0.6366584897041321, -0.023489616811275482, -0.46287909150123596, -0.903489887714386, 0.1095600575208664, 0.20439063012599945, 0.06362110376358032, -0.5084183812141418, -0.651678740978241, -0.2957530915737152, -0.03305530920624733, -0.008888979442417622, -0.6311280727386475, 0.36119985580444336, 0.15121914446353912, 0.6166766285896301, -0.0040583740919828415, -0.04569694399833679, 0.40940332412719727, -0.5938258171081543, 0.5804455280303955, 0.160554900765419, -0.7186949849128723, 0.8302590250968933, -0.5135136842727661, 0.27781158685684204, 0.8800928592681885, 0.32932835817337036, -0.4747125208377838, -0.5263165235519409, -0.5450170636177063, -0.6800326108932495, 0.8354099988937378, 0.4767853021621704, -0.05702507495880127, 0.22009500861167908, -0.15444563329219818, 0.22054536640644073, 0.046324655413627625, -0.5525362491607666, -0.057446759194135666, -0.09938531368970871, -0.21306122839450836, 0.005642247386276722, -0.09972409904003143, 0.23830989003181458, -0.07374873757362366, 0.811684787273407, -0.15213316679000854, 0.16276974976062775, 0.42102450132369995, -0.10679024457931519, -0.30123814940452576, 0.5308403372764587, 0.6758196949958801, 0.6773356199264526, -0.06422342360019684, 0.2002047896385193, 0.5224560499191284, -0.6418163776397705, 0.15133728086948395, 0.2672339975833893, -0.26815369725227356, 0.2859095633029938, 0.5192018747329712, 0.9778388738632202, 0.5176407098770142, -0.6626275181770325, 0.5526739358901978, 0.0019884766079485416, -0.34081217646598816, -0.37303027510643005, -0.13730446994304657, -0.010608237236738205, 0.1265750527381897, 0.2437232881784439, 0.1181311383843422, 0.23597367107868195, -0.6816467046737671, 0.484806627035141, 0.12370768189430237, -0.6569192409515381, -0.5517153143882751, 0.47315913438796997, 0.2658272087574005, -0.1532207876443863, 0.07773414254188538, -0.2486695796251297, -0.6085473299026489, 0.6419195532798767, 0.6004709601402283, 0.8282504677772522, -0.2601400911808014, 0.11390673369169235, 0.5810886025428772, 0.26907238364219666, 0.07341459393501282, 0.2559437155723572, 0.009448092430830002, -0.6227624416351318, -0.663062334060669, -0.6501315832138062, -0.34273940324783325, 0.1988251656293869, -0.6157425045967102, 0.8198123574256897, 0.2913709282875061, 0.28351297974586487, -0.11333523690700531, 0.21263127028942108, -0.5607906579971313, -0.04984095320105553, 0.3065257668495178, 0.8669180274009705, -0.8135437369346619, 1.0809320211410522, 0.9754786491394043, -0.4040064811706543, -0.8595778346061707, -0.004634672310203314, -0.10533978790044785, -0.6246023774147034, 0.7710431814193726, -0.03643418475985527, -0.08732658624649048, -0.12342607229948044, -0.2816951870918274, -0.8346320390701294, 1.129151463508606, 0.3495819568634033, -0.4954602122306824, -0.05617416277527809, 0.2594177722930908, 0.5710347890853882, -0.26454469561576843, 0.07160437107086182, 0.5093533396720886, 0.3900275230407715, 0.3521440923213959, -1.1902899742126465, 0.01561632938683033, -0.39473024010658264, -0.0979100912809372, 0.39448171854019165, -0.6217589974403381, 0.5971290469169617, 0.13298453390598297, -0.1774580031633377, 0.03150346875190735, 0.5702824592590332, 0.23920868337154388, 0.6397888660430908, 0.3954299986362457, 0.7049268484115601, 0.3207712769508362, 0.18040181696414948, 0.6131078600883484, -0.3917403221130371, 0.3235725164413452, 1.2071441411972046, -0.6265787482261658, 0.9728718400001526, 0.5058817267417908, -0.3142086863517761, 0.33391183614730835, 0.4697706699371338, 0.1126215010881424, 0.6921178698539734, -0.10252408683300018, -0.30271658301353455, 0.004926656372845173, -0.2630901038646698, -0.5994025468826294, 0.6013340950012207, 0.1596793234348297, -0.2774730622768402, -0.38347020745277405, 0.18652796745300293, 0.08482152968645096, 0.029279343783855438, -0.32891616225242615, 0.7792505621910095, 0.09792468696832657, -0.9776259064674377, 0.23019526898860931, -0.16747716069221497, 0.6646190881729126, -0.68452388048172, -0.18545685708522797, -0.20052972435951233, -0.09057529270648956, -0.10954121500253677, -0.7958890199661255, 0.6986591815948486, 0.11714017391204834, 0.08816927671432495, -0.14014767110347748, 1.3640273809432983, -0.8580142855644226, -0.6233586668968201, 0.4242745339870453, 0.6458828449249268, 0.20837505161762238, 0.0606938935816288, -0.5407773852348328, 0.08893987536430359, 0.19741150736808777, 0.07867193967103958, 0.5572544932365417, 0.6511326432228088, -0.2991746664047241, 0.3056069314479828, 0.6127064824104309, 0.25653955340385437, -0.0021351559553295374, 0.0758858472108841, 0.7444634437561035, -0.6795955300331116, -0.5002041459083557, -0.5535324215888977, -0.06531348079442978, -0.019457850605249405, -0.251383900642395, 0.9320288896560669, 0.6411406993865967, 1.2038075923919678, -0.16601815819740295, 0.9208382964134216, -0.1668495535850525, 0.6015824675559998, -0.6753189563751221, 0.47240591049194336, -0.4294777512550354, 0.1558663696050644, -0.2689630389213562, -1.13717782497406, 0.0795203372836113, 0.4292646050453186, -0.2751803994178772, -0.2931046187877655, 1.1257649660110474, 0.8407161831855774, -0.142839252948761, 0.08276284486055374, 0.6241695880889893, -0.15133821964263916, -0.3259943723678589, 0.7501007318496704, 1.006416916847229, -0.5360541343688965, 0.7781848311424255, -0.25564369559288025, 0.16645999252796173, -0.1801229566335678, -0.7878367900848389, -0.8279082179069519, -0.9250449538230896, -0.27280399203300476, -0.2525334060192108, 0.12873369455337524, 0.9023194313049316, 0.3863331079483032, -0.973680853843689, -0.10626084357500076, -0.06706791371107101, 0.03901265561580658, 0.18800422549247742, -0.2191023826599121, 0.2399112731218338, -0.4752860963344574, -0.7133196592330933, 0.45041224360466003, 0.4638266861438751, -0.1107526496052742, -0.2153620719909668, -0.1533692181110382, -0.4305923581123352, -0.08385074883699417, 0.6093981266021729, 0.1735304445028305, -0.40714672207832336, -0.5395642518997192, 0.160464346408844, -0.2656153738498688, -0.018398215994238853, 0.8626989126205444, -0.45515111088752747, 0.23909634351730347, 0.9752341508865356, 0.7675357460975647, 0.4567515552043915, -0.08692393451929092, 0.5566694140434265, -0.6061850190162659, 0.35357484221458435, 0.09236371517181396, 0.3760007619857788, 0.26348650455474854, -0.3528434932231903, 1.0731748342514038, 0.1964670717716217, -0.7322354912757874, -0.6100291609764099, 0.1394510269165039, -0.8733646273612976, -0.2598404884338379, 1.391471266746521, -0.2302245944738388, -0.3650965094566345, -0.39742061495780945, -0.3403485119342804, 0.24151001870632172, 0.1094687432050705, 0.1246931329369545, 0.9563173055648804, 0.035548675805330276, -0.11817983537912369, -0.7414059042930603, 0.4141061007976532, 0.505986213684082, -0.8886995315551758, -0.34623777866363525, 0.4435884654521942, 0.4252421259880066, 0.2243518978357315, 0.7109372019767761, -0.240891695022583, 0.28020066022872925, -0.04545590281486511, -0.09448525309562683, 0.02563452161848545, -0.18604937195777893, -0.5706468224525452, -0.051778487861156464, 0.00365496426820755, -0.15477034449577332 ]
http://arxiv.org/abs/2404.02540v2
http://arxiv.org/pdf/2404.02540v2
CSEPrompts: A Benchmark of Introductory Computer Science Prompts
2024-04-03T07:55:57
2024-04-04T04:17:27
Nishat Raihan, Dhiman Goswami, Sadiya Sayara Chowdhury Puspo, Christian Newman, Tharindu Ranasinghe, Marcos Zampieri
cs.CL
cs.CL
Recent advances in AI, machine learning, and NLP have led to the development of a new generation of Large Language Models (LLMs) that are trained on massive amounts of data and often have trillions of parameters. Commercial applications (e.g., ChatGPT) have made this technology available to the general public, thus making it possible to use LLMs to produce high-quality texts for academic and professional purposes. Schools and universities are aware of the increasing use of AI-generated content by students and they have been researching the impact of this new technology and its potential misuse. Educational programs in Computer Science (CS) and related fields are particularly affected because LLMs are also capable of generating programming code in various programming languages. To help understand the potential impact of publicly available LLMs in CS education, we introduce CSEPrompts, a framework with hundreds of programming exercise prompts and multiple-choice questions retrieved from introductory CS and programming courses. We also provide experimental results on CSEPrompts to evaluate the performance of several LLMs with respect to generating Python code and answering basic computer science and programming questions.
[ -0.40082094073295593, -0.6462888717651367, 0.5963008403778076, 0.2290593981742859, 0.03847143054008484, 0.335663378238678, -0.4126945734024048, -0.24489255249500275, -0.2251783162355423, 0.315665602684021, -0.4724918007850647, -0.5054674744606018, -0.3930489420890808, 0.18918845057487488, -0.6927063465118408, 0.8579709529876709, -0.03407197445631027, 0.21056099236011505, -0.5372315049171448, 0.21543321013450623, -0.395074725151062, -0.6127513647079468, -0.6377260684967041, -0.19553875923156738, 0.4514353275299072, 0.7735214233398438, 0.3655972182750702, 0.3809871971607208, 0.40369364619255066, 0.23150059580802917, 0.0415775291621685, -0.16159075498580933, -0.34030142426490784, 0.3917286694049835, -0.058000773191452026, -0.362842321395874, 0.21870183944702148, 0.057406309992074966, 0.7998332977294922, 1.0180729627609253, 0.09791368991136551, 0.615038275718689, 0.5192736387252808, 0.579862117767334, -0.7589441537857056, -0.07415888458490372, -0.41046321392059326, -0.170529305934906, 0.02144823595881462, -0.30988550186157227, -0.5457346439361572, -0.6763489246368408, 0.17957298457622528, -0.44379478693008423, 0.13194862008094788, -0.07857333868741989, 0.6258832216262817, 0.11476457864046097, -0.19644039869308472, -0.5151720643043518, -0.384359747171402, 0.9707947373390198, -0.18783104419708252, 0.3785111606121063, 0.24923385679721832, 0.37160688638687134, -0.30879393219947815, -0.9026693105697632, -0.3734763264656067, -0.44934049248695374, 0.44193002581596375, -0.011431563645601273, -0.1879652440547943, -0.16721606254577637, 0.5653142929077148, 0.2028125822544098, -0.7466704845428467, 0.2202579528093338, -0.48828524351119995, -0.1761193424463272, 0.323537677526474, 0.4667738676071167, 0.36274755001068115, 0.008502914570271969, -0.19264963269233704, -0.3906790316104889, -0.9090303778648376, 0.42145001888275146, 0.38852202892303467, 0.4168297350406647, -0.01806534454226494, 0.6399134993553162, -0.1229795441031456, 0.6859638094902039, -0.051595818251371384, 0.2630041241645813, -0.14169441163539886, -0.0909191146492958, 0.005673762410879135, -0.03721977025270462, 0.5343140959739685, 0.26115602254867554, 0.5635038018226624, 0.06136973574757576, 0.4513130187988281, 0.23494012653827667, -0.0403088741004467, -0.819368839263916, -0.3462829291820526, 0.18384602665901184, -0.48610344529151917, -0.3011839985847473, -0.15469089150428772, -0.6296918392181396, -0.6938425898551941, -0.7112057209014893, -0.3066873550415039, -0.5463202595710754, 0.2053545117378235, -0.20688684284687042, -0.21935833990573883, 0.5507122874259949, 0.35354506969451904, -0.641927182674408, 0.42709752917289734, 0.6918149590492249, 0.748783528804779, -0.43138840794563293, -0.3856726586818695, -0.26481130719184875, -0.32548293471336365, -0.3025258183479309, 1.0418353080749512, -0.7370526790618896, -0.5260050892829895, 0.15020346641540527, -0.1169416755437851, 0.3156614601612091, -0.32116422057151794, 0.36016547679901123, -0.42305904626846313, 0.23618610203266144, -0.535152792930603, -0.6780492067337036, -0.027678396552801132, 0.37771376967430115, -0.19607064127922058, 1.1938788890838623, -0.03430232033133507, -0.45622068643569946, 0.16987331211566925, -0.30815088748931885, -0.3646391034126282, 0.20764099061489105, -0.3442903459072113, 0.13281936943531036, -0.037197601050138474, -0.041038431227207184, 0.4236052930355072, -0.5916813611984253, -0.07498139142990112, -0.22717635333538055, -0.389853835105896, 0.5554505586624146, -0.373360276222229, 0.8970313668251038, 0.36135539412498474, -0.07050933688879013, -0.20923833549022675, -0.7906604409217834, 0.5868353843688965, 0.00200435658916831, -0.5452843308448792, -0.16607320308685303, 0.39945894479751587, -0.023862380534410477, 0.20129668712615967, 0.3743033707141876, -0.37321287393569946, 0.11509252339601517, 0.055508922785520554, 0.4188433289527893, 0.9621867537498474, -0.034998174756765366, 0.06617752462625504, -0.20613744854927063, 0.6874099373817444, -0.3774973154067993, -0.20331256091594696, -0.5172891616821289, -0.40834784507751465, -0.488461971282959, -0.14840179681777954, 0.03519345074892044, 0.6545119881629944, -0.3802599012851715, 0.22249922156333923, 0.03131233900785446, -0.8006249070167542, 0.039310235530138016, 0.14313894510269165, 0.1802072376012802, 0.542830228805542, 0.30259138345718384, -0.09559598565101624, -0.5593757033348083, -0.608862578868866, -0.5286868810653687, -0.12372742593288422, -0.28529539704322815, 0.2733474671840668, 0.2625647783279419, 0.22769373655319214, 0.8736941814422607, -0.6316743493080139, 0.3796308636665344, -0.11764118820428848, 0.20118239521980286, 0.15685123205184937, 0.345550537109375, 0.3860112130641937, -0.11447940021753311, -0.5892733335494995, -0.4697292745113373, -0.6136703491210938, -0.36947882175445557, -0.012119841761887074, 0.058906007558107376, -0.17960494756698608, 0.6738197803497314, -0.18367204070091248, 0.05384709686040878, 0.6332559585571289, -0.28535622358322144, 1.0449416637420654, -0.0681443065404892, 0.30554869771003723, -0.805075466632843, 0.3130592703819275, 0.0790487602353096, -0.11522943526506424, -0.38249143958091736, 0.03508422151207924, 0.0710487812757492, -0.6869549751281738, -0.6353410482406616, 0.3511655926704407, -0.5865283012390137, -0.15610496699810028, -0.40283823013305664, 0.37513935565948486, -0.20798605680465698, 0.15370036661624908, -0.0748555064201355, 0.9822484254837036, 0.7299938201904297, -0.7694929838180542, 0.29141294956207275, 0.1499769538640976, -0.46460989117622375, 0.8003271222114563, -0.7531497478485107, 0.2038061022758484, 0.021272113546729088, 0.25847893953323364, -1.0547882318496704, -0.21866996586322784, -0.25972437858581543, -0.5996389389038086, -0.038692597299814224, 0.10198166221380234, -0.4031845033168793, -0.5849735140800476, -0.4407779276371002, 0.317617267370224, 0.7796299457550049, -0.7451348900794983, 0.14143437147140503, 0.15410637855529785, -0.28908681869506836, -0.6421167254447937, -0.6292529106140137, 0.3034740090370178, -0.0017336462624371052, -0.42686960101127625, -0.14387646317481995, -0.30840301513671875, -0.28143760561943054, -0.1802806705236435, 0.21723076701164246, -0.10201211273670197, 0.3361915647983551, 0.4110945165157318, 0.2270755171775818, -0.2518100142478943, 0.058957453817129135, -0.04644804447889328, -0.05119965597987175, 0.29284507036209106, -0.2554139196872711, 0.8921421766281128, -0.35993507504463196, -0.6366360187530518, -0.3320867717266083, 0.41235819458961487, 0.23248933255672455, 0.09601160138845444, 0.23387457430362701, -0.01822938397526741, -0.3161396086215973, -0.4315725564956665, -0.37807250022888184, -0.20032356679439545, -0.5056942105293274, 0.361734002828598, -0.012848070822656155, -0.8082663416862488, 0.42974087595939636, -0.31709131598472595, 0.09726262092590332, 0.03971973806619644, 0.5866974592208862, -0.16453084349632263, 1.295670747756958, 0.3571484684944153, -0.11498678475618362, 0.765623927116394, 0.07114724814891815, 0.07210904359817505, -0.5962866544723511, 0.09440522640943527, -0.9609724879264832, -0.23795661330223083, -0.5882165431976318, -0.2815665006637573, 0.10275475680828094, 0.08409620821475983, -0.7222408652305603, 0.5201564431190491, -0.8012088537216187, 0.9417783617973328, 0.7712530493736267, 0.042545318603515625, 0.10290687531232834, 0.07608017325401306, -0.13252130150794983, -0.09692759811878204, -0.5014268159866333, -0.7760893702507019, 1.2372722625732422, 0.026982977986335754, 0.640837550163269, -0.17300082743167877, 0.5560587644577026, 0.3775285482406616, 0.26137807965278625, -0.5872371792793274, 0.9006448984146118, -0.19937986135482788, -0.3746948838233948, 0.02237975038588047, -0.21456345915794373, -1.005491852760315, -0.13785183429718018, -0.10754813998937607, -0.8818488717079163, -0.019864646717905998, 0.2006843537092209, -0.13057032227516174, 0.042610008269548416, -0.5447332262992859, 0.5258154273033142, -0.38330385088920593, -0.6419739723205566, -0.4350161850452423, -0.5032269954681396, 0.2150615155696869, 0.1276923269033432, 0.019074929878115654, -0.1855611354112625, 0.10604100674390793, 0.6306296586990356, -0.18489059805870056, 0.8028903007507324, -0.08986182510852814, 0.20223210752010345, 0.6826215982437134, 0.3493075668811798, 0.24917227029800415, -0.06483819335699081, -0.26269322633743286, 0.14588725566864014, 0.12953868508338928, -0.3614867329597473, -0.28180596232414246, 0.9129803776741028, -0.7920970916748047, -0.4524526000022888, -0.5592105984687805, -0.5203333497047424, -0.1555136740207672, 0.21101924777030945, 0.16216212511062622, 0.38059601187705994, -0.4036201536655426, 0.18800589442253113, 0.6357686519622803, -0.6169497966766357, 0.5192108154296875, 0.5243567824363708, 0.08575940877199173, -0.35751309990882874, 0.9870674014091492, 0.01923951879143715, 0.26547837257385254, -0.0017008271533995867, 0.22869352996349335, -0.07807604968547821, -0.4158458411693573, -0.1988387256860733, -0.09218456596136093, -1.1528671979904175, -0.12929531931877136, -0.12982608377933502, -0.13399621844291687, -0.47877272963523865, -0.6368468999862671, 0.029084976762533188, -0.4220057725906372, -0.3903752565383911, 0.1530347764492035, 0.18833695352077484, 0.5987282395362854, -0.17250362038612366, 0.29265642166137695, -0.570755660533905, -0.02925502508878708, 0.27528637647628784, 0.3288881182670593, -0.11519894003868103, -0.3504714071750641, 0.006643816363066435, -0.013896121643483639, -0.6872658729553223, -0.7739795446395874, 0.03141513466835022, -0.002184113720431924, 0.6694911122322083, 0.3710114061832428, -0.029217727482318878, 0.4310404360294342, -0.43327590823173523, 1.3441640138626099, 0.3953001797199249, -1.0329283475875854, 0.4885072112083435, -0.3869858980178833, 0.3835941553115845, 0.7010432481765747, 0.44129565358161926, -0.8210272789001465, -0.3024551570415497, -0.4925854206085205, -0.5849390625953674, 0.5657140612602234, -0.22989030182361603, 0.25428250432014465, -0.3579102158546448, 0.20678603649139404, 0.15482035279273987, 0.2609570622444153, -0.5111696124076843, -0.09589045494794846, -0.22708508372306824, -0.4243108034133911, 0.07558964937925339, -0.1670106202363968, 0.20887474715709686, -0.15527501702308655, 0.5849419236183167, -0.1750975251197815, 0.14759927988052368, -0.01697767898440361, -0.16578958928585052, 0.1793525367975235, 0.2242787778377533, 0.6872493028640747, 0.575817883014679, 0.16396749019622803, 0.27133679389953613, 0.37309297919273376, -0.5102660059928894, 0.008515330031514168, -0.22303660213947296, 0.045250799506902695, -0.4092696011066437, 0.19613146781921387, 0.12689818441867828, 0.09899932891130447, -1.0265872478485107, 0.46872764825820923, 0.053742848336696625, -0.1573590636253357, -0.5385012626647949, 0.119869664311409, -0.08759486675262451, 0.0008879235247150064, 0.3378869891166687, -0.17312803864479065, 0.091966912150383, -0.5100213885307312, 0.2210131287574768, 0.34575536847114563, -0.3051901161670685, -0.11540085077285767, 0.5926117300987244, 0.12610159814357758, -0.37846192717552185, 0.7774615287780762, 0.25391554832458496, -0.4655945897102356, 0.7912896871566772, 0.5243979692459106, 0.7806857228279114, -0.219441220164299, 0.15078003704547882, 0.685221791267395, 0.09224767237901688, -0.19978682696819305, 0.3931393623352051, -0.3012479543685913, -0.37896567583084106, -0.41202297806739807, -0.19369763135910034, -0.8599554896354675, -0.14108674228191376, -0.5082796812057495, 0.8388911485671997, -0.9177073836326599, -0.06854262948036194, -0.17517216503620148, -0.09640494734048843, -0.8514939546585083, 0.09499028325080872, 0.44837984442710876, 1.012845516204834, -0.8383311629295349, 0.3672201335430145, 0.7389827966690063, -0.42982885241508484, -0.7194037437438965, -0.21264128386974335, -0.014683563262224197, -0.9933766722679138, 0.7402449250221252, 0.12408268451690674, -0.010087473317980766, 0.06959137320518494, -1.1649441719055176, -0.8706557154655457, 0.7545822262763977, 0.3191767632961273, -0.42465829849243164, 0.08793432265520096, 0.609999418258667, 0.5571181178092957, -0.1091807410120964, 0.6420892477035522, 0.4525136649608612, 0.4091342091560364, -0.20352518558502197, -0.34376201033592224, 0.08919667452573776, -0.21855467557907104, -0.25998032093048096, -0.16218067705631256, -0.4691007733345032, 0.9921672940254211, -0.1446533203125, -0.2131146341562271, 0.1583811342716217, 0.4465823173522949, 0.7144938111305237, 0.23698563873767853, 0.263435035943985, 0.08137602359056473, 0.8509213924407959, -0.23599053919315338, 1.0318760871887207, -0.770034670829773, 0.045630402863025665, 0.9834465384483337, -0.30279555916786194, 0.8109081387519836, 0.4802045226097107, -0.3353472948074341, 0.7799294590950012, 0.8144910335540771, -0.3493489921092987, 0.15627522766590118, 0.8255724906921387, -0.13679973781108856, -0.42671075463294983, -0.14346589148044586, -0.586832582950592, 0.24413910508155823, 0.4941815733909607, -0.31266000866889954, -0.3054245710372925, 0.08533095568418503, 0.005541231017559767, 0.4057505130767822, -0.24572917819023132, 0.4649963676929474, 0.14498886466026306, -0.8138024210929871, 0.4748847782611847, -0.20439012348651886, 0.4109481871128082, -0.5682333707809448, -0.03306497260928154, -0.06870638579130173, 0.19092972576618195, -0.16333474218845367, -1.0198575258255005, -0.06658067554235458, 0.3564559817314148, -0.09071803838014603, -0.22033345699310303, 0.63448166847229, -0.1306241750717163, -0.56510329246521, 0.012192990630865097, 0.3013138175010681, 0.5117495656013489, 0.06006834656000137, -0.535021960735321, -0.0529806986451149, -0.4051789939403534, -0.28592073917388916, 0.2824937105178833, 0.20289157330989838, -0.13751426339149475, 0.7138996124267578, 0.8219981789588928, 0.11266878247261047, 0.10418284684419632, 0.033606890588998795, 0.834195077419281, -0.640498697757721, -0.5662037134170532, -0.5894876718521118, 0.346078485250473, -0.22621160745620728, -0.5271281003952026, 1.014038324356079, 0.6591261625289917, 0.5550299882888794, 0.17434023320674896, 1.1002073287963867, -0.10365327447652817, 0.6532379388809204, -0.15922699868679047, 0.4024205505847931, -0.1983930468559265, 0.2872452437877655, -0.4711700677871704, -0.9767264127731323, -0.24150897562503815, 0.31688180565834045, -0.4574282765388489, -0.08240997046232224, 0.7329654693603516, 0.4770846664905548, 0.32140690088272095, 0.23138512670993805, 0.10531449317932129, -0.2742595970630646, 0.3296148180961609, 0.6013144254684448, 1.2366782426834106, -0.1447383463382721, 0.6757357120513916, -0.12059281021356583, -0.30635061860084534, -0.1514717936515808, -1.0535091161727905, -1.0402789115905762, -0.38239336013793945, -0.3580990135669708, -0.45795944333076477, -0.0015755074564367533, 1.0015568733215332, 0.3044947683811188, -0.9153274297714233, -0.43358418345451355, -0.3181372880935669, 0.05672060325741768, -0.2655283212661743, -0.229387566447258, 0.34278053045272827, -0.4956459105014801, -0.5079773664474487, 0.5140390992164612, -0.32680246233940125, 0.13226282596588135, -0.2601202726364136, 0.07128334045410156, 0.07125717401504517, 0.21731264889240265, 0.6486061811447144, 0.6433017253875732, -0.2707529366016388, -0.6059719324111938, 0.4674488306045532, -0.1443738341331482, -0.06653012335300446, 1.1616958379745483, -0.8804180026054382, 0.048201754689216614, 0.9328033328056335, 0.5068947076797485, 0.11148891597986221, 0.10984229296445847, 0.4780530035495758, -0.6849190592765808, 0.0543372668325901, 0.15349486470222473, 0.3618599772453308, 0.31680285930633545, -0.10426703840494156, 0.24867187440395355, 0.04595004767179489, -0.8234782218933105, -1.0804816484451294, 0.043101612478494644, -0.8095549941062927, -0.6043084859848022, 1.0842727422714233, 0.01343454048037529, -0.032155346125364304, -0.08447756618261337, -0.2287561595439911, 0.2178504765033722, -0.27355119585990906, 0.7178218960762024, 0.8042727112770081, -0.2361135333776474, -0.04883313551545143, -0.520929753780365, 0.303605854511261, 0.4599344730377197, -0.8503813743591309, 0.3595236539840698, 0.5494403839111328, 0.44391143321990967, 0.09049280732870102, 0.3436015248298645, 0.0010781926102936268, 0.3865808844566345, 0.22846798598766327, 0.5114861726760864, -0.15287572145462036, -0.14501826465129852, -0.27107590436935425, 0.3305387794971466, 0.18210797011852264, -0.08280231058597565 ]
http://arxiv.org/abs/2404.02534v1
http://arxiv.org/pdf/2404.02534v1
ANGOFA: Leveraging OFA Embedding Initialization and Synthetic Data for Angolan Language Model
2024-04-03T07:44:38
2024-04-03T07:44:38
Osvaldo Luamba Quinjica, David Ifeoluwa Adelani
cs.CL
cs.CL, cs.AI
In recent years, the development of pre-trained language models (PLMs) has gained momentum, showcasing their capacity to transcend linguistic barriers and facilitate knowledge transfer across diverse languages. However, this progress has predominantly bypassed the inclusion of very-low resource languages, creating a notable void in the multilingual landscape. This paper addresses this gap by introducing four tailored PLMs specifically finetuned for Angolan languages, employing a Multilingual Adaptive Fine-tuning (MAFT) approach. In this paper, we survey the role of informed embedding initialization and synthetic data in enhancing the performance of MAFT models in downstream tasks. We improve baseline over SOTA AfroXLMR-base (developed through MAFT) and OFA (an effective embedding initialization) by 12.3 and 3.8 points respectively.
[ -0.7303922176361084, -0.9051527380943298, 0.4741692543029785, 0.24466267228126526, -0.4150799512863159, 0.31179872155189514, -0.15723444521427155, -0.5286850929260254, 0.2987857162952423, 0.6466699242591858, -0.31996557116508484, -0.19142155349254608, -0.6947379112243652, 0.062392327934503555, -0.11453017592430115, 0.8545673489570618, -0.2971339523792267, 0.008938306011259556, 0.16316375136375427, -0.42399829626083374, -0.5940062999725342, -0.45352452993392944, -0.6484687328338623, -0.20325124263763428, 0.45424506068229675, 0.37938252091407776, 0.7568856477737427, 0.9481778144836426, 0.05094371736049652, 0.30085644125938416, 0.06547246128320694, 0.5280995965003967, -0.5993916988372803, -0.12957201898097992, 0.0005366626428440213, -0.33636680245399475, -0.31679731607437134, -0.09169657528400421, 0.5948181748390198, 0.8312298655509949, -0.36842989921569824, 0.03264985978603363, 0.15524865686893463, 0.5116960406303406, -0.6133719086647034, 0.26599055528640747, -0.7984962463378906, -0.13083820044994354, -0.10651425272226334, 0.0263445395976305, -0.12090374529361725, -0.36795398592948914, 0.43073636293411255, -0.5949621796607971, -0.1463714838027954, -0.29572734236717224, 0.8819262981414795, 0.16902470588684082, -0.4587206244468689, -0.574535608291626, -0.7958727478981018, 0.861262321472168, -0.7030658721923828, 0.42271924018859863, 0.26805049180984497, 0.3013586699962616, -0.12797003984451294, -0.5421373248100281, -0.4809994399547577, -0.08006175607442856, 0.022248130291700363, -0.19269202649593353, -0.046006668359041214, 0.22123487293720245, -0.17323394119739532, 0.32268643379211426, 0.07157556712627411, 0.07942875474691391, -0.387629896402359, -0.2718855142593384, 0.5696676969528198, -0.3062199652194977, 0.07730714976787567, 0.27750253677368164, -0.6881081461906433, -0.03046719916164875, -0.8844240307807922, -0.001412137527950108, 0.6576783061027527, 0.6987159848213196, -0.14118818938732147, 0.3224879503250122, 0.0748804584145546, 0.9487320780754089, -0.04270674288272858, -0.3228488862514496, 0.33540090918540955, -0.29722657799720764, -0.19420218467712402, 0.16083784401416779, 0.3969394564628601, -0.1555829793214798, 0.3573978841304779, -0.02654757723212242, -0.6203396320343018, -0.22223086655139923, 0.18944652378559113, -0.6066930294036865, 0.12337114661931992, 0.15630961954593658, -0.35463979840278625, 0.13518831133842468, -0.02600121684372425, -0.629603385925293, -0.07833002507686615, -0.687099814414978, 0.7453818917274475, -0.6817198991775513, -0.1707141101360321, 0.06299964338541031, 0.38138940930366516, 0.3124202787876129, 0.19799970090389252, -0.8519765138626099, -0.010962746106088161, 0.5850514769554138, 0.9534907937049866, -0.02543727681040764, -0.4165339469909668, -0.577106237411499, 0.0692436471581459, -0.3049542009830475, 0.7868362069129944, -0.5852729082107544, -0.3985958993434906, 0.3044176399707794, -0.0975065603852272, -0.09888273477554321, -0.4942406713962555, 0.4189216196537018, -0.532000720500946, -0.2753572165966034, -0.24040929973125458, -0.5051871538162231, -0.41035881638526917, -0.0643426775932312, -0.5369703769683838, 0.6412625908851624, 0.3762631118297577, 0.021260088309645653, 0.4318363070487976, -0.5586820840835571, -0.47739219665527344, -0.33172592520713806, 0.022397736087441444, -0.20117324590682983, 0.09888806194067001, 0.3822917640209198, 0.33668991923332214, -0.06301075220108032, 0.3011341094970703, -0.1190483570098877, -0.16546785831451416, -0.08213081955909729, -0.16670918464660645, 0.6600110530853271, 0.5832005143165588, -0.11286511272192001, 0.17424531280994415, -0.9571496844291687, -0.1383969634771347, -0.22056926786899567, -0.4562329649925232, -0.42505455017089844, -0.3223474621772766, -0.0874084085226059, 0.40829116106033325, 0.17793823778629303, -0.46960845589637756, 0.1999378651380539, -0.7619408369064331, 0.3907238245010376, 0.9142189621925354, -0.16440030932426453, 0.49399954080581665, -0.05652062967419624, 0.6404547095298767, 0.13062436878681183, -0.031133025884628296, -0.2480214238166809, -0.4912152588367462, -0.8763812184333801, -0.19226770102977753, 0.7089155912399292, 0.5242356061935425, -1.2001087665557861, 0.20309476554393768, 0.053903914988040924, -0.5981427431106567, -0.9118081331253052, 0.5489805936813354, 0.3741501271724701, 0.45125314593315125, 0.3580259382724762, -0.212264284491539, -0.6582288146018982, -1.051512360572815, -0.021303601562976837, 0.21447822451591492, -0.07787530869245529, 0.21180805563926697, 0.39069539308547974, -0.35387369990348816, 0.820237398147583, -0.38928353786468506, -0.5475277900695801, -0.17737525701522827, 0.0859677866101265, 0.2512619197368622, 0.655138373374939, 1.1503350734710693, -0.5458438992500305, -0.48392656445503235, -0.025096124038100243, -0.43416452407836914, -0.1684250384569168, -0.0019226963631808758, -0.22707898914813995, 0.08958658576011658, 0.4783424735069275, -0.18612287938594818, 0.07699903100728989, 0.9064930081367493, -0.33618056774139404, 0.01656814105808735, -0.5151475667953491, -0.13193562626838684, -0.9923598766326904, -0.11357910931110382, -0.2903984487056732, -0.1275395154953003, -0.949266254901886, -0.11453768610954285, -0.19932349026203156, -0.11509618908166885, -0.5780595541000366, 0.5621896982192993, -0.6234571933746338, 0.040678445249795914, -0.5258409380912781, 0.0447719469666481, -0.1303003877401352, 0.4586416184902191, 0.02645483985543251, 0.9283483624458313, 0.6698750853538513, -0.7396005988121033, -0.03329148143529892, 0.33622023463249207, -0.3807087242603302, 0.17249305546283722, -0.6930918097496033, 0.34400901198387146, -0.2365633100271225, -0.2943684160709381, -0.9440631866455078, -0.0023085949942469597, 0.026992149651050568, 0.005437644198536873, 0.4443618953227997, -0.20935507118701935, -0.020513391122221947, 0.12708976864814758, -0.18472027778625488, 0.27655625343322754, 0.230710968375206, -0.5913205742835999, 0.9273195266723633, 0.8417825102806091, -0.47580820322036743, -0.571429431438446, -0.6645625829696655, -0.11241878569126129, -0.08500859141349792, -0.6270803213119507, 0.5004644989967346, 0.20752166211605072, -0.08556844294071198, -0.448597252368927, 0.2164030373096466, -0.2422458529472351, 0.10864784568548203, -0.0018035599496215582, 0.12093906849622726, -0.41360729932785034, 0.13582873344421387, 0.3307588994503021, -0.020491117611527443, -0.10038884729146957, -0.27663978934288025, 0.6352658867835999, -0.11248256266117096, -0.09476946294307709, 0.11540987342596054, 0.28522518277168274, 0.19775055348873138, -0.5305495858192444, 1.2433992624282837, 0.6749716401100159, -0.4143008291721344, -0.06636942923069, -0.4994930922985077, -0.16668081283569336, -0.4682168662548065, -0.05135380104184151, -0.3023067116737366, -0.9101690649986267, 0.8510922193527222, -0.22518648207187653, 0.061128295958042145, 0.35290831327438354, 0.5406777858734131, 0.22821760177612305, 0.8960670828819275, 1.0234851837158203, 0.09572374075651169, 0.6541061997413635, -0.3788800835609436, 0.11027293652296066, -0.6836340427398682, -0.14840838313102722, -0.5047434568405151, -0.33002743124961853, -0.7989658713340759, -0.38508203625679016, 0.32195302844047546, 0.29997843503952026, 0.15219144523143768, 0.27093708515167236, -0.04143000394105911, 0.3008727729320526, 0.5208787322044373, 0.006971673108637333, -0.012511065229773521, 0.08157432824373245, -0.3766748309135437, 0.29554641246795654, -0.8423890471458435, -0.7638421058654785, 1.19553804397583, 0.2607422173023224, 0.6858469843864441, 0.0666140615940094, 0.6010712385177612, -0.02910415641963482, 0.4794057309627533, -0.458398699760437, 0.062323883175849915, -0.31341883540153503, -0.3177824020385742, -0.28273940086364746, -0.08140132576227188, -1.183889627456665, 0.20664213597774506, -0.17971915006637573, -0.47979268431663513, 0.805320680141449, 0.298015832901001, -0.82908695936203, 0.08041156828403473, -0.9518885612487793, 0.6898210644721985, -0.22654148936271667, -0.2885214388370514, 0.024080703034996986, -0.5953686237335205, 0.17184805870056152, -0.4056508243083954, 0.33006682991981506, -0.29640814661979675, -0.19580774009227753, 0.7275781035423279, -0.6430805325508118, 0.6006563305854797, -0.5093401074409485, -0.5716065168380737, 0.6038684844970703, -0.22244147956371307, 0.45678821206092834, 0.1719122976064682, -0.2949347496032715, 0.42009496688842773, -0.259542316198349, -0.5056067705154419, -0.23075255751609802, 0.9136022925376892, -0.8214007019996643, -0.42844685912132263, -0.1786750853061676, -0.529523491859436, -0.5998120307922363, 0.2737281620502472, -0.06943591684103012, 0.22999584674835205, -0.06433471292257309, 0.23013269901275635, 0.5160599946975708, -0.3022845387458801, 0.4674977660179138, 0.5903623700141907, -0.3028077483177185, -0.4334636926651001, 0.8681732416152954, 0.3242785930633545, 0.29567617177963257, 0.1859796941280365, -0.011756964027881622, -0.33142635226249695, -0.8010922074317932, -0.4825248122215271, 0.10724698007106781, -0.5955238342285156, -0.45194363594055176, -0.5361974239349365, -0.04081980139017105, -0.3020630478858948, -0.12797313928604126, -0.5296686887741089, -0.25944387912750244, -0.373090922832489, -0.08708597719669342, 0.41987574100494385, 0.7376453876495361, -0.3450421094894409, 0.6741853356361389, -0.9933921694755554, 0.2857248783111572, 0.32341811060905457, 0.5433265566825867, 0.053778909146785736, -0.5524182319641113, -0.4891391694545746, 0.5112387537956238, -0.23243844509124756, -0.7211013436317444, 0.5780360698699951, 0.6898040771484375, 0.7653120756149292, 0.5024135112762451, -0.35856544971466064, 0.7365186810493469, -0.4726133942604065, 0.4801499843597412, -0.40429267287254333, -1.0354307889938354, 0.7782711386680603, -0.2325456589460373, 0.21839876472949982, 0.5290948152542114, 0.6349979639053345, 0.12182663381099701, -0.03859271481633186, -0.22084662318229675, -0.7033120393753052, 0.7225194573402405, 0.4013867974281311, 0.2593110203742981, 0.03553249314427376, 0.5296900272369385, 0.49320048093795776, 0.4670110046863556, -0.25914669036865234, -0.3527212142944336, -0.3006290793418884, 0.11910607665777206, -0.27226483821868896, -0.31257444620132446, 0.24067501723766327, -0.30584901571273804, 0.5586525201797485, -0.32142454385757446, 0.21392008662223816, 0.17261801660060883, -0.3214310109615326, -0.018869083374738693, -0.009197921492159367, 0.8486858606338501, 0.9297100901603699, -0.18713189661502838, -0.10099200159311295, 0.2740609645843506, -0.6416977047920227, 0.2794949412345886, 0.4548688530921936, -0.22929568588733673, 0.12301899492740631, 0.29524919390678406, 1.0556533336639404, 0.04487127438187599, -0.7136334180831909, -0.06915264576673508, 0.2082359790802002, 0.18012790381908417, 0.037231288850307465, 0.10810999572277069, -0.0075980667024850845, 0.05202733352780342, 0.416220486164093, 0.17430773377418518, 0.011396554298698902, -0.7162066698074341, 0.1477852165699005, 0.3451131284236908, -0.5032588839530945, -0.4061056673526764, 0.48903968930244446, 0.41783198714256287, 0.019641224294900894, 0.31075361371040344, 0.11832060664892197, -0.30193591117858887, 0.39724037051200867, 0.342626690864563, 0.5039010047912598, -0.8834879398345947, 0.020349038764834404, 0.1660982370376587, 0.38694629073143005, 0.23624655604362488, 0.8184117078781128, 0.3697744905948639, -1.0369479656219482, -0.49602288007736206, -1.0843870639801025, -0.04141353443264961, 0.21298407018184662, -0.5136451721191406, 0.30356115102767944, -0.33751416206359863, -0.27596020698547363, 0.19742277264595032, -0.22209718823432922, -0.6782413125038147, 0.2177281528711319, 0.04883599653840065, 0.7696211934089661, -0.6388155817985535, 0.9766238331794739, 0.6643965840339661, -0.38590219616889954, -0.6901351809501648, -0.4181337058544159, -0.32243454456329346, -1.028323769569397, 0.3367430567741394, -0.013701876625418663, -0.08918224275112152, 0.14226645231246948, -0.2754960358142853, -1.0181987285614014, 0.8640005588531494, 0.9810739755630493, -0.5298202633857727, 0.3057343363761902, 0.41839438676834106, 0.6573697924613953, -0.7728203535079956, -0.039834246039390564, 0.8511270880699158, 0.5386096239089966, -0.04658472537994385, -0.8723350763320923, -0.26882535219192505, 0.07784556597471237, 0.2255704253911972, 0.28804364800453186, -0.5334963798522949, 1.1721347570419312, -0.21992990374565125, -0.12059248983860016, 0.003958398010581732, 0.7301899194717407, 0.07381860911846161, -0.07373934239149094, 0.6233531832695007, 0.15466243028640747, 0.548982560634613, -0.29247358441352844, 1.0446220636367798, -0.5858582854270935, 0.08304890245199203, 0.9359620213508606, -0.28499671816825867, 0.7737190127372742, 0.7670027017593384, -0.15252886712551117, 0.40428709983825684, 0.5241900086402893, 0.10604491829872131, 0.7011401653289795, 0.004458685405552387, -0.10342037677764893, -0.0679628849029541, -0.42433056235313416, -0.5026343464851379, 1.037736177444458, 0.5333314538002014, -0.44702327251434326, -0.32631418108940125, 0.5230234265327454, -0.07352179288864136, 0.10189113020896912, -0.48412904143333435, 0.8025480508804321, 0.14846299588680267, -0.649013876914978, 0.7159263491630554, 0.16812165081501007, 0.7035121917724609, -0.8214029669761658, -0.2887948453426361, -0.33631932735443115, 0.13943056762218475, 0.12285059690475464, -0.6852465271949768, 0.511050820350647, -0.21886900067329407, 0.10747743397951126, -0.3945867419242859, 0.9602368474006653, -0.8252958655357361, -0.4899093210697174, 0.3118728697299957, 0.6746103763580322, -0.17800043523311615, -0.18660429120063782, -0.4863288402557373, 0.04663364216685295, 0.0757586881518364, -0.09504543244838715, 0.23176507651805878, 0.3915403187274933, 0.08912580460309982, 0.6162325143814087, 0.8419613838195801, 0.12288070470094681, 0.013610394671559334, 0.07280457764863968, 0.8206339478492737, -0.3703703284263611, -0.48087334632873535, -0.768354058265686, 0.17081895470619202, 0.29619666934013367, -0.4790619909763336, 0.7192781567573547, 0.4762568473815918, 0.9187479019165039, -0.49877074360847473, 0.44862228631973267, 0.17911137640476227, 0.4270753562450409, -0.8767951726913452, 0.9895550012588501, -0.33593592047691345, 0.18057402968406677, -0.20248498022556305, -1.0180679559707642, 0.028426518663764, 0.6014150977134705, -0.06880529224872589, 0.24862243235111237, 0.04844929277896881, 0.6868153810501099, -0.06786809116601944, -0.1820899248123169, 0.2895657420158386, 0.3219777047634125, 0.2131030559539795, 0.35621869564056396, 0.6087096333503723, -0.49824509024620056, 0.3500087261199951, -0.4757600724697113, -0.04634184017777443, -0.21589210629463196, -0.9890068769454956, -0.6734784245491028, -0.5734224915504456, -0.0555143803358078, 0.0702953115105629, -0.04880988970398903, 0.8425968289375305, 0.7042596340179443, -1.349112868309021, -0.35989078879356384, 0.054893266409635544, 0.11471734195947647, -0.16700240969657898, -0.13420505821704865, 0.2817135453224182, -0.2660309076309204, -0.7888960242271423, 0.5634509325027466, 0.4054574966430664, 0.5602369904518127, -0.4222133457660675, -0.15652018785476685, -0.9048347473144531, 0.2763669192790985, 0.9035592079162598, 0.17943395674228668, -0.6072641611099243, -0.23907282948493958, -0.16530562937259674, 0.25697019696235657, 0.17453494668006897, 0.6988271474838257, -1.0427790880203247, 0.5529990196228027, 0.27540498971939087, 0.5638246536254883, 0.06352116912603378, -0.08521128445863724, 1.0800203084945679, -1.0499026775360107, 0.5875862240791321, 0.11719752848148346, 0.6514742970466614, 0.37888506054878235, -0.13187281787395477, 0.582482099533081, -0.17281921207904816, -0.1604522317647934, -0.9057520627975464, -0.1393233686685562, -0.5769315958023071, -0.00952931959182024, 0.7453554272651672, -0.28533288836479187, -0.10763488709926605, -0.20938625931739807, -0.45481348037719727, 0.38760244846343994, -0.36955010890960693, 0.7965101599693298, 0.7823846936225891, -0.000836427672766149, 0.13749222457408905, -0.4478529691696167, 0.7295575141906738, 0.21982543170452118, -0.9360586404800415, -0.27844205498695374, 0.04018786549568176, -0.003722907742485404, 0.3622208833694458, 0.1963891088962555, 0.24616575241088867, 0.16718360781669617, -0.11916055530309677, -0.28545939922332764, -0.042775411158800125, -0.28934380412101746, -0.40506038069725037, 0.05624425783753395, 0.09231772273778915, -0.043279509991407394 ]
http://arxiv.org/abs/2404.02532v1
http://arxiv.org/pdf/2404.02532v1
Learn to Disguise: Avoid Refusal Responses in LLM's Defense via a Multi-agent Attacker-Disguiser Game
2024-04-03T07:43:11
2024-04-03T07:43:11
Qianqiao Xu, Zhiliang Tian, Hongyan Wu, Zhen Huang, Yiping Song, Feng Liu, Dongsheng Li
cs.AI
cs.AI, cs.CL
With the enhanced performance of large models on natural language processing tasks, potential moral and ethical issues of large models arise. There exist malicious attackers who induce large models to jailbreak and generate information containing illegal, privacy-invasive information through techniques such as prompt engineering. As a result, large models counter malicious attackers' attacks using techniques such as safety alignment. However, the strong defense mechanism of the large model through rejection replies is easily identified by attackers and used to strengthen attackers' capabilities. In this paper, we propose a multi-agent attacker-disguiser game approach to achieve a weak defense mechanism that allows the large model to both safely reply to the attacker and hide the defense intent. First, we construct a multi-agent framework to simulate attack and defense scenarios, playing different roles to be responsible for attack, disguise, safety evaluation, and disguise evaluation tasks. After that, we design attack and disguise game algorithms to optimize the game strategies of the attacker and the disguiser and use the curriculum learning process to strengthen the capabilities of the agents. The experiments verify that the method in this paper is more effective in strengthening the model's ability to disguise the defense intent compared with other methods. Moreover, our approach can adapt any black-box large model to assist the model in defense and does not suffer from model version iterations.
[ -0.34788778424263, -0.9482226967811584, 0.49946269392967224, 0.10992087423801422, 0.09737355262041092, 0.49111178517341614, -0.09151923656463623, -0.309419184923172, -0.011026924476027489, 0.7464402318000793, -0.805851936340332, -0.27992546558380127, -0.577191174030304, -0.026110529899597168, -0.12267918139696121, 0.7968814373016357, 0.14470374584197998, 0.19240836799144745, 0.03560750558972359, 0.10761091858148575, -0.4216359555721283, -0.6733902096748352, -1.0557349920272827, -0.20037533342838287, 0.5900847315788269, 0.20213016867637634, 0.5275140404701233, 0.46752941608428955, 0.5045869946479797, 0.4566414952278137, 0.06301708519458771, 0.0030261569190770388, -0.6243287324905396, 0.3746189475059509, -0.4158417880535126, -0.5634291172027588, -0.4867139458656311, 0.06967130303382874, 0.4663417339324951, 0.009943610057234764, -0.19070056080818176, 0.008396008051931858, 0.06059306487441063, 0.3320477604866028, -0.8229146599769592, -0.07846272736787796, -0.7384040355682373, 0.007398946210741997, 0.00212112907320261, 0.12509478628635406, -1.0340368747711182, -0.03381120041012764, -0.09102407097816467, -0.46710073947906494, 0.06093950197100639, 0.07610922306776047, 0.7005873322486877, -0.12643848359584808, -0.3554023802280426, -0.13139958679676056, -0.7059696912765503, 0.7950035929679871, -0.5515374541282654, 0.033993199467659, 0.14938025176525116, 0.6826937794685364, -0.2653210461139679, -0.1888473480939865, -0.623935341835022, -0.4725349545478821, 0.057963985949754715, 0.30374228954315186, -0.35803496837615967, 0.3466775119304657, 0.21553529798984528, -0.06445492058992386, -0.5047195553779602, 0.1642531156539917, -0.17499634623527527, -0.3807606101036072, 0.6164422035217285, 0.27646493911743164, 0.32693254947662354, 0.27432888746261597, -0.8784329891204834, -0.3825489580631256, -0.7077628374099731, 0.052124906331300735, 0.5997238159179688, 0.33820658922195435, -0.11077339202165604, 0.700183093547821, 0.03610505908727646, 0.15151797235012054, 0.14546097815036774, -0.17757216095924377, -0.1595243215560913, -0.0004265951574780047, -0.27274420857429504, -0.03362059220671654, 0.6194053888320923, 0.08957532793283463, -0.1793801486492157, -0.3491203784942627, -0.5408611297607422, 0.45763614773750305, 0.613990306854248, -0.7689501643180847, 0.20569758117198944, 0.06358710676431656, -0.4877285361289978, -0.5412895083427429, -0.01534359436482191, -1.1286036968231201, -0.6626474857330322, 0.06399936974048615, 0.7947344183921814, -0.38537660241127014, -0.03698636591434479, 0.04638197273015976, -0.2048056721687317, 0.7807362675666809, 0.24925673007965088, -0.49444982409477234, 0.7033753395080566, 0.5809581875801086, 0.675997257232666, -0.1345808207988739, -0.3038986623287201, -0.7379144430160522, 0.51055908203125, -0.442680686712265, 0.317802757024765, -0.27472537755966187, -0.2710784673690796, -0.20162433385849, -0.009510969743132591, -0.11497554928064346, -0.4308609366416931, 0.47537514567375183, -0.7933881282806396, -0.026970095932483673, -0.02271360531449318, -0.31400707364082336, -0.2622576057910919, 0.7125821709632874, -0.9086937308311462, 0.14112834632396698, -0.15706634521484375, -0.6328737735748291, -0.1564924418926239, -0.933905839920044, -0.43381401896476746, -0.1565401256084442, 0.18395747244358063, -0.6981731057167053, 0.008878621272742748, 0.27444764971733093, 0.4486599564552307, -0.1996309757232666, -0.14052940905094147, -0.6232998371124268, -0.32129859924316406, 0.3160991072654724, -0.6693512797355652, 0.9215201139450073, 0.20955252647399902, -0.39254507422447205, 0.22103197872638702, -0.6441538333892822, -0.2218644767999649, 0.7193840742111206, -0.28925439715385437, -0.25497549772262573, 0.014029355719685555, -0.3216874897480011, 0.06305410712957382, 0.0993422120809555, -0.44448426365852356, 0.0391557551920414, -0.8156843781471252, 0.2135636806488037, 0.9975405335426331, 0.12510566413402557, 0.7796168923377991, -0.6070244908332825, 0.7287232875823975, 0.03971640020608902, 0.5329738855361938, -0.11077659577131271, -0.2353610247373581, -0.6608498096466064, -0.4440636932849884, -0.1749054491519928, 0.6660807132720947, -1.0764331817626953, -0.07127998769283295, 0.061249565333127975, -0.37103742361068726, -0.7134749889373779, -0.04003545641899109, 0.620105504989624, 0.14310292899608612, 0.36563992500305176, -0.18835224211215973, -0.5962006449699402, -0.7377081513404846, -0.1862301081418991, -0.23293277621269226, 0.010561048053205013, -0.0034166956320405006, 0.4600459933280945, -0.20146843791007996, 0.6070635318756104, -0.22870750725269318, -0.13161952793598175, -0.330792099237442, -0.10716629773378372, -0.019125329330563545, 0.40494075417518616, 0.7044768333435059, -0.9802384376525879, -0.1814802885055542, -0.24916763603687286, -0.6424214839935303, 0.4461672008037567, -0.04563559219241142, -0.13760410249233246, 0.2530685067176819, 0.30050405859947205, -0.822292685508728, 0.6394720077514648, 0.25772279500961304, -0.3367275297641754, 0.5603513717651367, 0.09342154115438461, 0.22245822846889496, -1.1756750345230103, -0.25871172547340393, -0.3809589445590973, -0.15916357934474945, -0.9566981792449951, 0.9448559880256653, -0.036500781774520874, -0.24302330613136292, -0.6100770831108093, 0.8629831075668335, -0.4701671302318573, 0.2709290683269501, -0.11347615718841553, -0.1722504049539566, 0.0843341052532196, 0.3996894061565399, -0.13584131002426147, 0.6691941022872925, 0.7897005081176758, -0.685806155204773, 0.4119819700717926, 0.04920925572514534, -0.03568274900317192, 0.7467976212501526, -0.5149779915809631, 0.4856751561164856, -0.39163365960121155, 0.08287859708070755, -1.1051466464996338, -0.16181649267673492, 0.8689817786216736, -0.4967769384384155, 0.5822001695632935, -0.31864896416664124, -0.2304670661687851, -0.5304898023605347, -0.6787456274032593, 0.27381667494773865, 0.38651782274246216, -0.6021572351455688, 1.1647939682006836, 0.03711336851119995, 0.06751050800085068, -1.058174729347229, -0.4750139117240906, 0.3275565207004547, -0.7082067131996155, -0.49356809258461, 0.33301740884780884, -0.7118731141090393, -0.3419937491416931, -0.5363649725914001, 0.16062241792678833, -0.07352107018232346, 0.4115873873233795, 0.42074429988861084, 0.40119051933288574, -0.28085169196128845, -0.3556184768676758, -0.2900630533695221, 0.2396426945924759, 0.41897493600845337, -0.07295764237642288, 0.4158899784088135, 0.06847213953733444, -0.6494702696800232, -0.16036644577980042, 0.580215334892273, 0.5929895043373108, -0.15024538338184357, 0.9784597158432007, 0.29954344034194946, -0.2586882412433624, -0.33348697423934937, -0.5937861204147339, -0.4880145192146301, -0.5637422800064087, 0.39631345868110657, -0.47962138056755066, -0.6540123820304871, 0.487186074256897, 0.05756524205207825, 0.4151466488838196, 0.14826491475105286, 0.45339158177375793, 0.2740965187549591, 0.9526822566986084, 0.5620421171188354, -0.3056943416595459, 0.1371854543685913, -0.047337353229522705, 0.08678194135427475, -0.42355582118034363, -0.3775988221168518, -0.5072962045669556, -0.16194571554660797, -0.17281650006771088, -0.37616464495658875, 0.10773216933012009, -0.10390789806842804, -0.4773676097393036, 0.3141663074493408, -0.37612712383270264, 0.6464799642562866, 0.29296618700027466, 0.45563802123069763, -0.06845644861459732, 0.14137734472751617, -0.07268565148115158, 0.039542973041534424, -0.4178938865661621, -0.3407236933708191, 1.1157891750335693, 0.7115923166275024, 0.8898700475692749, 0.864838719367981, 1.0449435710906982, 0.3127595782279968, 0.34016677737236023, -0.8875224590301514, 0.880946934223175, 0.3779982924461365, -0.5297952890396118, -0.24183961749076843, -0.6513790488243103, -1.017880916595459, 0.39742958545684814, -0.2856743335723877, -0.6521520018577576, -0.24661029875278473, -0.1703101396560669, -0.34861165285110474, 0.46539318561553955, -0.8165273666381836, 0.5536889433860779, -0.2509932219982147, -0.5807194113731384, -0.11732600629329681, -0.5260708928108215, 0.5541926026344299, -0.04101588949561119, 0.5091084241867065, 0.4676400423049927, 0.014910014346241951, 0.610431969165802, -0.08567196875810623, 1.122496247291565, -0.21519339084625244, -0.21961449086666107, 0.3735014498233795, 0.5059995651245117, 0.7476840019226074, 0.1065654531121254, -0.1861792653799057, -0.12534762918949127, -0.31487008929252625, -0.5087927579879761, -0.45787733793258667, 0.33655861020088196, -0.6074872016906738, -1.18901526927948, -0.338430255651474, -0.37540996074676514, 0.008197381161153316, 0.3918001651763916, 0.13322290778160095, -0.09180319309234619, -0.5644092559814453, -0.3024742901325226, 0.9622781872749329, -0.35722652077674866, 0.8341237306594849, 0.6763665080070496, 0.10931647568941116, -0.3784894645214081, 0.7869925498962402, -0.25879818201065063, 0.6390989422798157, 0.4143221080303192, 0.20830798149108887, -0.27390381693840027, -0.5139144062995911, -0.2347201555967331, 0.06557521969079971, -0.7529841065406799, -0.4627021849155426, -0.39812496304512024, -0.5637639760971069, -0.4349648356437683, -0.049668408930301666, -0.131388857960701, 0.07185184955596924, -0.07003383338451385, -0.07485652714967728, 0.009622426703572273, 0.800281822681427, 0.13675285875797272, 0.36104464530944824, -0.3338569104671478, 0.3403225541114807, 0.4904544949531555, 0.04414576664566994, 0.21287143230438232, -0.7050516605377197, 0.19535575807094574, 0.17835403978824615, -0.6221024990081787, -1.1678962707519531, 0.264206200838089, -0.17278970777988434, 0.7107117176055908, 0.5785813331604004, 0.3088514506816864, 0.2174474596977234, -0.47932660579681396, 0.43373775482177734, 0.2837448716163635, -0.7628005743026733, 0.33378082513809204, -0.17136816680431366, -0.02280583418905735, 0.11989066749811172, 0.1422429382801056, 0.20771417021751404, -0.42359742522239685, -0.6859182119369507, -0.6538382172584534, 0.7256609797477722, 0.33411312103271484, 0.41537848114967346, 0.1294967532157898, 0.2589211165904999, -0.1591440737247467, 0.27269452810287476, -1.4498635530471802, -0.3960399329662323, -0.02093709260225296, 0.09284213185310364, 0.07090316712856293, -0.3536478281021118, -0.5923697352409363, 0.23914161324501038, 0.7074638605117798, -0.06617268174886703, 0.4133681058883667, -0.09503626823425293, -0.08443184942007065, 0.2301020622253418, 0.6362581849098206, 0.5935245156288147, 0.21690548956394196, 0.17166492342948914, 0.5048993825912476, 0.2625207304954529, -0.393383651971817, 0.5963394641876221, 0.10081597417593002, -0.15491369366645813, -0.41466858983039856, 0.4211012125015259, 0.38311222195625305, 0.02978760190308094, -0.5306817293167114, 0.8795977830886841, -0.11181457340717316, -0.38759657740592957, -0.11828970164060593, 0.20722869038581848, -0.054466523230075836, 0.586124062538147, 0.13177460432052612, 0.17019023001194, 0.1523789018392563, -0.6450695395469666, 0.14717090129852295, 0.8624595999717712, -0.14019550383090973, -0.04625691846013069, 0.6591089963912964, -0.3793555498123169, -0.40305572748184204, 0.16313275694847107, -0.4147309362888336, -0.7873681783676147, 0.9474150538444519, 0.9146525859832764, 0.6106970310211182, -0.717091977596283, 0.37666112184524536, 0.11245964467525482, 0.6765047907829285, -0.29938846826553345, -0.027329321950674057, 0.2756923735141754, -0.6066569089889526, -0.15342213213443756, -0.392791211605072, -0.2515399158000946, 0.3770088851451874, -0.46248114109039307, 0.10040607303380966, -0.9638330936431885, -0.04953891783952713, -0.1047520861029625, -0.10828068107366562, -0.5965085625648499, -0.12753796577453613, 0.20577797293663025, 0.629144549369812, -0.4745510518550873, 0.4607844352722168, 0.4967498779296875, -0.3799496591091156, -0.7803596258163452, -0.021175310015678406, 0.2870951294898987, -0.7265599966049194, 0.31209835410118103, 0.22418729960918427, -0.3444969654083252, -0.18500617146492004, -1.0049115419387817, -0.5747697949409485, 0.8302898406982422, 0.6587156653404236, -0.4264358580112457, 0.009734374471008778, -0.07568354159593582, 0.22340503334999084, -0.43507272005081177, 0.26093432307243347, 0.055943604558706284, 0.4750520884990692, 0.40753352642059326, -0.31555208563804626, 0.2962115705013275, 0.07448871433734894, -0.30287620425224304, -0.1898544877767563, -0.7421061992645264, 0.9306972026824951, -0.5181817412376404, -0.37244126200675964, 0.25022152066230774, 0.6215598583221436, 0.522261917591095, 0.5386436581611633, 0.40925198793411255, 0.2632153034210205, 0.6273025274276733, 0.19354572892189026, 0.6559127569198608, 0.37149322032928467, 0.17150503396987915, 0.9414233565330505, -0.5595250129699707, 0.68068528175354, 0.3487490117549896, 0.05452762916684151, 0.38553619384765625, 0.19114893674850464, -0.3977159261703491, 0.5294065475463867, 0.5341786742210388, -0.35046622157096863, -0.1715099811553955, 0.19781915843486786, -0.04815293103456497, 0.38287806510925293, 0.3165155351161957, -0.1226525604724884, -0.2423684298992157, 0.20287729799747467, 0.1454928070306778, 0.3750385344028473, -0.5041229128837585, 0.704939603805542, 0.003851471934467554, -0.38278231024742126, 0.4909212291240692, 0.45815369486808777, 0.7223668098449707, -0.7818124294281006, -0.19053301215171814, -0.13903909921646118, 0.22110503911972046, 0.14935827255249023, -0.37419575452804565, -0.11027319729328156, -0.2950551509857178, -0.31177884340286255, -0.022657183930277824, 0.7493899464607239, -0.16490480303764343, -0.3331269919872284, 0.6638421416282654, 0.25644731521606445, -0.2159266173839569, -0.039428021758794785, -0.9514114856719971, -0.10124290734529495, -0.30964258313179016, -0.1739821881055832, 0.664545476436615, 0.20709781348705292, -0.16832084953784943, 0.9448221325874329, 0.5180062055587769, -0.09873124212026596, -0.0838060975074768, -0.03976266086101532, 0.8651683330535889, -0.35444167256355286, -0.5555697083473206, -1.3427306413650513, 0.09126182645559311, -0.25221672654151917, 0.6878055334091187, 0.7747318744659424, 0.41053876280784607, 0.564167320728302, -0.11552927643060684, 0.5283231735229492, 0.25412696599960327, 0.4169425070285797, -0.6741899847984314, 1.0143202543258667, -0.2779850959777832, 0.4810131788253784, -0.4668624699115753, -0.7522949576377869, -0.10732228308916092, 0.43558353185653687, 0.08926486223936081, 0.1770356148481369, 0.3589707314968109, 0.9599311351776123, -0.17008814215660095, -0.2800610363483429, 0.47616368532180786, 0.22898368537425995, 0.4251314103603363, 1.082081913948059, 1.098076581954956, -0.4546177387237549, 0.5910488963127136, 0.1913025826215744, -0.2638159394264221, 0.056106988340616226, -0.7307501435279846, -1.5429052114486694, -0.24095478653907776, 0.1895691156387329, -0.7860404849052429, 0.2880445420742035, 0.7697295546531677, 0.7614983916282654, -0.6612624526023865, -0.13018400967121124, 0.4301832318305969, 0.4699745774269104, -0.3868333101272583, -0.26482516527175903, 0.1287018209695816, 0.08923469483852386, -0.4703361392021179, 0.8697200417518616, 0.019044216722249985, 0.45453017950057983, -0.2089073657989502, -0.3831021785736084, -0.18115559220314026, 0.6008113622665405, 0.4372057616710663, 0.3175239861011505, -0.8199078440666199, -0.26833921670913696, 0.03400823473930359, -0.18639466166496277, -0.19958074390888214, 0.5255979299545288, -0.6175743937492371, 0.4028225541114807, -0.19581939280033112, 0.9815476536750793, -0.020219536498188972, -0.12728732824325562, 0.42733216285705566, -0.7790500521659851, 0.25349676609039307, 0.14198122918605804, 0.0907137393951416, 0.22971726953983307, -0.8489693403244019, 0.2833527624607086, 0.0560598149895668, -0.07358935475349426, -0.832100510597229, 0.4585907459259033, -0.6825563907623291, -0.5998061895370483, 0.9439324140548706, -0.2177923172712326, -0.43290045857429504, -0.11647085845470428, -0.28542011976242065, 0.094471275806427, -0.41349202394485474, 0.8121318817138672, 0.6725180745124817, 0.46222400665283203, -0.27389514446258545, -0.49441203474998474, 0.46636927127838135, 0.331536203622818, -0.7950250506401062, 0.08979561179876328, 0.29394766688346863, 0.3120189905166626, 0.17463649809360504, 0.34113630652427673, -0.02243415080010891, 0.27228328585624695, -0.07417047023773193, -0.145268514752388, -0.16657981276512146, -0.6700105667114258, -0.4223315417766571, 0.5413020849227905, 0.00989640410989523, -0.23204635083675385 ]
http://arxiv.org/abs/2404.02529v1
http://arxiv.org/pdf/2404.02529v1
A School Student Essay Corpus for Analyzing Interactions of Argumentative Structure and Quality
2024-04-03T07:31:53
2024-04-03T07:31:53
Maja Stahl, Nadine Michel, Sebastian Kilsbach, Julian Schmidtke, Sara Rezat, Henning Wachsmuth
cs.CL
cs.CL
Learning argumentative writing is challenging. Besides writing fundamentals such as syntax and grammar, learners must select and arrange argument components meaningfully to create high-quality essays. To support argumentative writing computationally, one step is to mine the argumentative structure. When combined with automatic essay scoring, interactions of the argumentative structure and quality scores can be exploited for comprehensive writing support. Although studies have shown the usefulness of using information about the argumentative structure for essay scoring, no argument mining corpus with ground-truth essay quality annotations has been published yet. Moreover, none of the existing corpora contain essays written by school students specifically. To fill this research gap, we present a German corpus of 1,320 essays from school students of two age groups. Each essay has been manually annotated for argumentative structure and quality on multiple levels of granularity. We propose baseline approaches to argument mining and essay scoring, and we analyze interactions between both tasks, thereby laying the ground for quality-oriented argumentative writing support.
[ -0.31681033968925476, -0.8404726982116699, 0.8634276390075684, -0.15475749969482422, -0.07548701018095016, 0.13750970363616943, 0.20851854979991913, -0.09768258780241013, 0.11673925071954727, 0.1206916868686676, -0.19566571712493896, -0.7429929971694946, -0.3896492123603821, 0.061627015471458435, -0.2299491912126541, 1.0170581340789795, -0.35830846428871155, 0.06513717770576477, -0.7955015897750854, -0.12615090608596802, -0.1972828507423401, -0.8410934805870056, -0.6794273257255554, -0.08619055896997452, 0.66938316822052, 0.718483030796051, 0.26135823130607605, 0.6517492532730103, 0.30289730429649353, 0.46895164251327515, 0.04193719103932381, -0.15262754261493683, -0.16210398077964783, 0.3573912978172302, -0.5826110243797302, -0.046805717051029205, -0.3758423924446106, 0.10305438190698624, 0.6470698714256287, 0.8068684935569763, 0.0980839654803276, 0.2808830142021179, -0.1450972855091095, 0.14254088699817657, -0.5042251348495483, 0.0814555287361145, -0.565447986125946, -0.017206795513629913, -0.4773264527320862, -0.15414798259735107, -0.3593938648700714, -0.3929741680622101, -0.13542614877223969, -0.3667047619819641, 0.05307049676775932, -0.25760382413864136, 1.2380307912826538, 0.038731321692466736, -0.1096661314368248, -0.42471665143966675, -0.23418083786964417, 0.6309973001480103, -0.49598631262779236, -0.4015202224254608, 0.16331073641777039, 0.14675669372081757, -0.22968018054962158, -0.8290255665779114, -0.3184465765953064, 0.2137259691953659, -0.32273438572883606, 0.4362561106681824, -0.36965620517730713, 0.1357421576976776, 0.09292416274547577, 0.36373093724250793, -0.4124242067337036, -0.15411946177482605, -0.587701141834259, -0.277765154838562, 0.37288495898246765, 0.08844201266765594, 0.27604585886001587, -0.5775203704833984, -0.35871827602386475, -0.22913052141666412, -0.10184745490550995, 0.6632132530212402, 0.9682114720344543, 0.1423989236354828, 0.39413386583328247, 0.5308904647827148, 0.12172742933034897, 0.5202929973602295, 0.17393657565116882, 0.060876261442899704, -0.1756020486354828, -0.11066439002752304, -0.058187685906887054, 0.32339033484458923, 0.7856409549713135, 0.18970997631549835, 0.09347765147686005, -0.026836154982447624, -0.12093807756900787, 0.4523387551307678, 0.617688000202179, -0.8289123773574829, -0.21097032725811005, 0.2592730224132538, -0.6950595378875732, -0.5252392292022705, 0.29626819491386414, -0.8795387744903564, -0.011492461897432804, -0.09139356017112732, 0.4338303208351135, -0.4761791229248047, -0.023221751675009727, -0.20757274329662323, -0.47629639506340027, 0.060281042009592056, -0.10528819262981415, -0.7409942150115967, 0.5945422649383545, 0.6860395073890686, 0.7084050178527832, -0.09026683121919632, -0.2613517642021179, -0.5927587747573853, 0.02445480041205883, -0.680195689201355, 1.3912609815597534, -0.9954021573066711, -0.34074869751930237, 0.18734952807426453, -0.1313781440258026, -0.18200379610061646, -0.5639693737030029, 1.6137211322784424, -0.14918991923332214, 0.4742881953716278, -0.1562207192182541, -1.0178662538528442, -0.1343928426504135, 0.013438662514090538, -0.40955212712287903, 0.993003785610199, 0.3457164466381073, -0.6372384428977966, 0.1927872896194458, -0.5777471661567688, -0.5608015060424805, 0.3065969944000244, -0.12590080499649048, -0.4097726345062256, 0.298514723777771, -0.15838198363780975, 0.6860240697860718, 0.3846363127231598, 0.35847705602645874, -0.1779802441596985, -0.4991576075553894, 0.054218143224716187, 0.09000572562217712, 0.5303541421890259, 0.23786130547523499, -0.10831601917743683, 0.16074059903621674, -0.9146416783332825, 0.2738587558269501, -0.09285112470388412, -0.41301611065864563, -0.44213125109672546, 0.23830029368400574, -0.07589738070964813, 0.18934643268585205, 0.23572462797164917, -0.47959834337234497, -0.0121941352263093, -0.29309049248695374, 0.5030533075332642, 0.596141517162323, 0.22814035415649414, 0.12376460433006287, -0.20948220789432526, 0.21398460865020752, -0.050604138523340225, -0.3803795576095581, -0.33136186003685, -0.23668216168880463, -0.6177000999450684, 0.09327591210603714, 0.2930139899253845, 0.3582451045513153, -0.18033689260482788, 0.4807170033454895, 0.02755691483616829, -0.38060200214385986, -0.5713967680931091, 0.1715145707130432, 0.2794022262096405, 0.6686532497406006, 0.3934624493122101, -0.013115087524056435, -0.8316227793693542, -0.9549338817596436, -0.2582380771636963, -0.5507237315177917, 0.037664592266082764, 0.07240092754364014, 0.29218754172325134, 0.2252376228570938, 1.0745160579681396, -0.42529982328414917, -0.17281357944011688, -0.29218676686286926, 0.553265392780304, 0.0038991430774331093, 0.4574737548828125, 0.5305951237678528, -0.329700767993927, -0.5654444098472595, -0.12116299569606781, -0.6767114400863647, -0.5289722084999084, -0.2534444332122803, -0.5542793273925781, 0.038462091237306595, 0.6542863249778748, -0.12020006775856018, 0.049558937549591064, 0.26363199949264526, -0.5749106407165527, 0.4825463891029358, 0.08460313081741333, 0.1876431107521057, -1.0993316173553467, 0.022725870832800865, 0.07853777706623077, -0.12987162172794342, -0.5751431584358215, -0.011418111622333527, -0.22611349821090698, -0.10806073993444443, -0.16780735552310944, 0.3118059039115906, 0.1491478532552719, 0.4965839385986328, -0.4713432788848877, 0.08425338566303253, 0.23935768008232117, 0.28847241401672363, 0.16714271903038025, 0.7083753347396851, 0.2425282597541809, -0.025069020688533783, -0.2061435431241989, -0.20464788377285004, -0.018066542223095894, 1.2087328433990479, -0.7843035459518433, -0.06453230232000351, -0.067673459649086, 0.1265895515680313, -0.9630943536758423, -0.44652533531188965, 0.017891114577651024, -0.5981513857841492, -0.09194185584783554, -0.34830328822135925, -0.11120948195457458, -0.03901352360844612, -0.38110029697418213, -0.1358957141637802, 0.11999956518411636, -0.4524769186973572, 0.686355471611023, 0.42363330721855164, -0.31116822361946106, -0.27112647891044617, 0.019281800836324692, 0.3822123408317566, -0.6106404066085815, -0.6567628979682922, 0.6099681258201599, -0.04213535040616989, -0.6615100502967834, 0.40058663487434387, -0.16331078112125397, -0.3381686806678772, 0.033100999891757965, 0.6483020186424255, 0.24410448968410492, -0.2705002427101135, 0.2666604518890381, 0.3083169460296631, -0.20995254814624786, 0.35608434677124023, -0.11753446608781815, 0.2912857234477997, -0.31892019510269165, 0.06994392722845078, -0.04809873178601265, 0.923155665397644, 0.3393003046512604, 0.25097164511680603, 0.4682188928127289, 0.48955029249191284, -0.5508551001548767, -0.25537535548210144, -0.5709754228591919, 0.16037783026695251, -0.44036975502967834, 0.03706264868378639, -0.6678280830383301, -0.7576998472213745, 0.324308305978775, -0.044035084545612335, 0.3178424537181854, 0.7956963181495667, 0.40870898962020874, -0.4239642322063446, 0.8179183006286621, 0.2525644302368164, 0.1471405327320099, 0.2591054141521454, 0.17187663912773132, 0.28862133622169495, -0.3638705909252167, 0.050639115273952484, -0.7481347322463989, -0.3244214951992035, 0.015728794038295746, -0.10536650568246841, -0.05633808672428131, 0.4212974011898041, -0.3459639549255371, 0.39583534002304077, -0.6778051853179932, 0.5705434083938599, 0.47814473509788513, -0.465973436832428, -0.047940947115421295, 0.15156574547290802, -0.2812802493572235, -0.23788166046142578, -0.5437241196632385, -1.2065235376358032, 0.6162508726119995, 0.2739926278591156, 0.16602282226085663, -0.1489725261926651, 0.8272676467895508, 0.3655923306941986, 0.179051011800766, -0.4809383749961853, 0.707584798336029, -0.579482913017273, -0.5931469202041626, -0.04250457137823105, -0.44753727316856384, -0.852575957775116, 0.22801588475704193, -0.2038882076740265, -0.6670854687690735, 0.1165153831243515, -0.2326313853263855, -0.4555947780609131, 0.17797812819480896, -0.95005863904953, 1.137520432472229, 0.07130346447229385, -0.7386952042579651, -0.06561121344566345, -0.23430071771144867, 0.03384772688150406, 0.3414416015148163, 0.06287362426519394, 0.059057023376226425, 0.4606735110282898, 1.100459337234497, -0.4903835356235504, 0.7102513909339905, -0.06849587708711624, 0.08789093792438507, 0.9245527982711792, 0.0795021653175354, -0.03120591677725315, 0.07292100042104721, -0.20171405375003815, 0.04783152416348457, 0.3321476876735687, -0.4776732325553894, -0.31057846546173096, 0.9820696711540222, -0.7890664935112, -0.6845203638076782, -0.5372982621192932, -0.08224211633205414, -0.08825735747814178, 0.07189454883337021, 0.1572699248790741, 0.15638139843940735, -0.24460779130458832, 0.2191038876771927, 0.34321141242980957, 0.35377705097198486, 0.7348592877388, 0.06571018695831299, 0.4188353419303894, -0.513195812702179, 1.1670310497283936, 0.36693504452705383, -0.2724466621875763, -0.08008487522602081, 0.6673730611801147, -0.21528905630111694, -0.3534570634365082, -0.6410451531410217, -0.12939389050006866, -0.9617689251899719, -0.22416895627975464, -0.8414084315299988, -0.41628298163414, -0.2728807330131531, -0.7827709913253784, -0.154981330037117, -0.5249892473220825, -0.21831907331943512, -0.42157113552093506, -0.08277247846126556, 0.3951500952243805, -0.026157643646001816, 0.2096303552389145, -0.47767865657806396, 0.0019585711415857077, 0.42654120922088623, 0.4322720468044281, -0.09404424577951431, -0.09695620089769363, -0.05858618766069412, -0.5541219711303711, -0.4608193635940552, -0.7606717348098755, -0.06382177025079727, 0.12328189611434937, 0.6182773113250732, 0.7128086090087891, 0.050765011459589005, 0.8450256586074829, -0.33898258209228516, 1.0564548969268799, -0.03932692110538483, -1.1730754375457764, 0.6059946417808533, -0.0850805938243866, -0.11402782797813416, 0.8671042919158936, 0.24968799948692322, -0.3396463096141815, -0.3403351306915283, -0.7778214812278748, -0.8803590536117554, 0.408410906791687, 0.00034565950045362115, 0.18489918112754822, -0.1650364100933075, 0.610463559627533, 0.3028634786605835, 0.029353057965636253, -0.8357491493225098, 0.15392743051052094, -0.6557216048240662, -0.5515320897102356, 0.387362539768219, -0.3486231863498688, -0.4886877238750458, -0.25272154808044434, 0.4995993971824646, -0.20234429836273193, -0.30757156014442444, 0.20433393120765686, 0.1990494281053543, -0.3012363910675049, 0.40271371603012085, 0.2758670151233673, 0.3953070044517517, -0.052860409021377563, 0.5995965003967285, 0.2201252281665802, -0.41664496064186096, 0.21232973039150238, -0.01698887348175049, -0.22256173193454742, 0.25522831082344055, 0.6054362654685974, 0.5117636322975159, 0.18280595541000366, -0.644074559211731, 0.35677358508110046, -0.1640908122062683, -0.6118189096450806, -0.5101838707923889, 0.5391944050788879, 0.08954289555549622, 0.12251690030097961, 0.14277654886245728, -0.12856972217559814, 0.09840217232704163, -0.7898392081260681, 0.18633216619491577, 0.34923145174980164, -0.4748222827911377, -0.25977668166160583, 0.3883960545063019, 0.15887781977653503, -0.3579002916812897, 0.18883372843265533, -0.17185693979263306, -0.48023760318756104, 0.33637142181396484, 0.47292301058769226, 0.6750093698501587, -0.013914525508880615, 0.5085013508796692, 0.7987931370735168, -0.24409902095794678, 0.15666937828063965, 0.13173457980155945, 0.035606786608695984, -0.3984890878200531, -0.3144075274467468, -0.8437845706939697, -0.6244537830352783, 0.1930004060268402, -0.2815455496311188, 0.16003675758838654, -0.5226383209228516, -0.030232859775424004, 0.15188953280448914, 0.4044667184352875, -0.017276549711823463, 0.33111512660980225, 0.0437866672873497, 0.3998620808124542, -0.8572259545326233, 0.33924850821495056, 1.2853089570999146, -0.43015626072883606, -0.5487563610076904, -0.01758486218750477, -0.18869265913963318, 0.02166445180773735, 0.4284788966178894, 0.2726413309574127, -0.36676692962646484, -0.3878248333930969, -0.613740861415863, -0.4892498552799225, 0.5330425500869751, -0.1068500205874443, 0.002941404702141881, 0.32228389382362366, 0.21022318303585052, 0.9439548254013062, -0.5976224541664124, 0.2423490583896637, 0.3630226254463196, 0.6184752583503723, 0.15266062319278717, 0.35621002316474915, 0.004223487805575132, -0.5835286378860474, -0.32696732878685, -0.24692752957344055, -0.5289669036865234, 0.848005473613739, 0.24951240420341492, -0.5289126634597778, -0.14171066880226135, 0.7966040968894958, -0.02233123406767845, 0.5749305486679077, 0.5955055952072144, 0.7562747001647949, 0.677480161190033, -0.21213982999324799, 0.3887997567653656, -0.5034015774726868, -0.12864209711551666, 0.8846420645713806, -0.2953907549381256, 1.114127516746521, 0.4087423086166382, 0.08507352322340012, 0.956410825252533, 0.6570432782173157, -0.10422451794147491, -0.013562241569161415, 0.38243505358695984, -0.3953827917575836, -0.5988875031471252, -0.20682351291179657, -0.058021921664476395, 0.48548489809036255, 0.31534916162490845, -0.009232303127646446, -0.42278751730918884, -0.5880692005157471, 0.515036940574646, 0.787476122379303, -0.12307149916887283, 0.8649449944496155, -0.1785384565591812, -1.037168264389038, 0.24859675765037537, 0.19827279448509216, 0.21038883924484253, -0.3192237913608551, -0.24032466113567352, -0.204520121216774, -0.0626545399427414, -0.5181940793991089, -0.9545657634735107, 0.5298559665679932, 0.4723376929759979, -0.2512345016002655, -0.1771450936794281, 0.9000028371810913, -0.21469932794570923, -0.7095275521278381, 0.1274198591709137, 0.4595675766468048, 0.06507066637277603, 0.19765841960906982, -0.16751010715961456, 0.005060454830527306, -0.5246854424476624, -0.258626252412796, 0.5325572490692139, 0.6271058917045593, -0.15986782312393188, -0.10445217043161392, 0.8215761184692383, -0.011944331228733063, -0.18809689581394196, -0.05184033140540123, 0.8934343457221985, -0.5028040409088135, -0.14159910380840302, -0.9251781105995178, 0.5745282173156738, -0.6436845660209656, -0.570036768913269, 0.5493908524513245, 0.713912308216095, 0.6729860901832581, 0.4206028878688812, 0.8578199148178101, -0.030729981139302254, 0.6565936207771301, -0.03621767833828926, 0.5272096991539001, -0.34292376041412354, -0.3240514397621155, -0.37192702293395996, -0.9186222553253174, -0.25939223170280457, 1.1095390319824219, -0.17569319903850555, -0.5381390452384949, 0.7232179045677185, 0.1972501128911972, -0.02772294543683529, 0.154935821890831, 0.24489213526248932, 0.010024888440966606, 0.48733165860176086, 0.48904702067375183, 0.6501824855804443, -0.25385862588882446, 0.8182900547981262, -0.21233507990837097, -0.2878322899341583, -0.05700308457016945, -0.8602584600448608, -1.0189359188079834, -0.6505834460258484, -0.41195589303970337, -0.4254463315010071, 0.19977059960365295, 0.62336266040802, 0.4589381814002991, -0.8628023266792297, -0.3548916280269623, -0.0945434719324112, 0.20957346260547638, -0.2639034688472748, -0.31240609288215637, 0.5048819184303284, -0.9351215958595276, -0.749251663684845, 0.5020429491996765, 0.267861008644104, -0.40466031432151794, -0.08365003019571304, 0.1145867183804512, -0.1094936802983284, 0.7300221920013428, 0.5035516619682312, 0.2808176577091217, -0.31003251671791077, -0.5459991693496704, -0.19550193846225739, -0.2539357542991638, 0.29173362255096436, 0.8914827704429626, -0.551065981388092, 0.3014300465583801, 0.5102502703666687, 0.47706422209739685, -0.10356377810239792, 0.5357620716094971, 0.15564468502998352, -0.541853129863739, -0.42674121260643005, 0.2251768410205841, 0.5422778129577637, 0.22482289373874664, -0.12339538335800171, 0.41422387957572937, 0.18375179171562195, -0.6215062737464905, -0.6714707016944885, -0.18061155080795288, -0.8872571587562561, -0.7798950672149658, 0.9319626092910767, -0.5527055263519287, -0.16020449995994568, -0.17257963120937347, -0.584260106086731, 0.11820715665817261, -0.4346107542514801, 1.1629445552825928, 1.4483133554458618, -0.2237439900636673, 0.10011410713195801, -0.2982134222984314, 0.5438910722732544, 0.48188188672065735, -1.0578948259353638, 0.07819495350122452, 0.47156983613967896, -0.06233801320195198, 0.5183070302009583, 0.2145354151725769, -0.13325363397598267, 0.1623609960079193, 0.40873751044273376, -0.06705319136381149, 0.012336468324065208, -0.40695735812187195, -0.026121126487851143, 1.2865077257156372, -0.21563716232776642, 0.040094297379255295 ]
http://arxiv.org/abs/2404.02512v1
http://arxiv.org/pdf/2404.02512v1
Towards Large Language Model driven Reference-less Translation Evaluation for English and Indian Languages
2024-04-03T06:57:45
2024-04-03T06:57:45
Vandan Mujadia, Pruthwik Mishra, Arafat Ahsan, Dipti Misra Sharma
cs.CL
cs.CL
With the primary focus on evaluating the effectiveness of large language models for automatic reference-less translation assessment, this work presents our experiments on mimicking human direct assessment to evaluate the quality of translations in English and Indian languages. We constructed a translation evaluation task where we performed zero-shot learning, in-context example-driven learning, and fine-tuning of large language models to provide a score out of 100, where 100 represents a perfect translation and 1 represents a poor translation. We compared the performance of our trained systems with existing methods such as COMET, BERT-Scorer, and LABSE, and found that the LLM-based evaluator (LLaMA-2-13B) achieves a comparable or higher overall correlation with human judgments for the considered Indian language pairs.
[ 0.01709471084177494, -0.6118597388267517, 0.49449509382247925, 0.35260576009750366, -0.35442614555358887, 0.12886503338813782, -0.5209544897079468, -0.5664432644844055, 0.08883233368396759, 0.07703369110822678, -0.16352592408657074, -0.2664845287799835, -0.5420097708702087, 0.4223698377609253, -0.5109310150146484, 0.6468481421470642, -0.27456316351890564, 0.40534037351608276, -0.2464553266763687, -0.1734848916530609, -0.5999349355697632, -0.20954178273677826, -0.5938719511032104, -0.5942826271057129, 0.3177896738052368, 0.30728650093078613, 0.5126691460609436, 0.44411948323249817, 0.6895664930343628, 0.19841688871383667, 0.015881745144724846, 0.10928629338741302, -0.5126746892929077, 0.0036635398864746094, -0.5321399569511414, -0.27482014894485474, -0.43248215317726135, 0.2344067245721817, 0.6847578883171082, 0.6147909164428711, -0.02198036201298237, 0.3694402575492859, 0.08855330944061279, 0.47199100255966187, -0.7514417171478271, 0.24856938421726227, -0.6806744337081909, -0.037234608083963394, 0.0281441081315279, -0.10974583029747009, -0.630321204662323, -0.36199167370796204, -0.19878818094730377, -0.20534758269786835, -0.2655189633369446, 0.06461108475923538, 0.7976476550102234, 0.2722366154193878, -0.5493912100791931, -0.3168276846408844, -0.8409312963485718, 1.1493452787399292, -0.6225053071975708, 0.34985846281051636, 0.43220987915992737, 0.32569175958633423, 0.09748785197734833, -0.14892664551734924, -0.5845772624015808, -0.5368217825889587, 0.032831840217113495, 0.25499075651168823, -0.024757903069257736, -0.20676679909229279, -0.051565442234277725, 0.5203749537467957, -0.49999505281448364, 0.2583179473876953, -0.32776790857315063, -0.0572441965341568, 0.9544001221656799, 0.19338075816631317, 0.12633880972862244, -0.3222009837627411, -0.27558186650276184, -0.06863247603178024, -0.8097168803215027, -0.08674744516611099, 0.04763105884194374, 0.3357242941856384, -0.23315134644508362, 0.4887295365333557, -0.33671432733535767, 0.8399854302406311, 0.04522872343659401, -0.28739315271377563, 0.21799539029598236, -0.46295246481895447, -0.3079955577850342, -0.22761207818984985, 0.9190964698791504, 0.40731382369995117, 0.41063839197158813, -0.30259791016578674, -0.4951592981815338, 0.30105119943618774, -0.002323633059859276, -0.6780607104301453, 0.4388918876647949, -0.04458710923790932, -0.3378860056400299, -0.412261426448822, -0.31621694564819336, -0.6079062223434448, -0.30012333393096924, -0.5461323261260986, 0.6477201581001282, -0.283178448677063, -0.1920851767063141, 0.06738435477018356, 0.2807033360004425, 0.9270212054252625, 0.5151929259300232, -0.6256850361824036, 0.3441954553127289, 0.4959108233451843, 0.6342580914497375, -0.4858062267303467, -0.4560491740703583, -0.5911275148391724, -0.08197084069252014, -0.7322632074356079, 0.7468098402023315, -0.7143068909645081, -0.5399888157844543, 0.04994736239314079, -0.3687119781970978, 0.08902159333229065, -0.6002769470214844, 0.5339450836181641, -0.4007303714752197, 0.0102014672011137, 0.0058535062707960606, -0.43327122926712036, -0.25155121088027954, 0.4621928632259369, -0.10395104438066483, 0.8688952326774597, 0.09949486702680588, -0.1740926206111908, 0.2606320083141327, -0.6099640727043152, -0.5413081645965576, 0.07434716820716858, -0.0886620283126831, 0.0031237651128321886, 0.2695130705833435, 0.21806150674819946, 0.572022557258606, -0.760015606880188, 0.12577854096889496, -0.07066735625267029, -0.7354916334152222, -0.10200323164463043, -0.4283117949962616, 0.5673726201057434, 0.30226537585258484, -0.29849037528038025, 0.13093067705631256, -0.7858477234840393, 0.16961020231246948, 0.1311357468366623, -0.31079185009002686, -0.3594958782196045, -0.22429637610912323, 0.11816449463367462, 0.23028579354286194, 0.35402175784111023, -0.6178354620933533, 0.28180044889450073, -0.4407772421836853, 0.24123597145080566, 0.47463876008987427, -0.008224647492170334, 0.4792030155658722, -0.00977976992726326, 0.4700528681278229, -0.20014871656894684, 0.16941112279891968, -0.08517216145992279, -0.4060446321964264, -0.8314943909645081, 0.005339197814464569, 0.6124931573867798, 0.6531617045402527, -0.5295353531837463, 0.3649110198020935, -0.5563478469848633, -0.6617774963378906, -0.715293288230896, 0.4893568158149719, 0.7205897569656372, 0.4134204387664795, 0.3419652283191681, -0.5030236840248108, -0.18673232197761536, -0.9475876688957214, -0.2022114396095276, -0.2187914252281189, -0.07130752503871918, 0.024290183559060097, 0.5609161853790283, -0.3561856746673584, 0.686299741268158, -0.18822433054447174, -0.29131096601486206, -0.267339289188385, 0.08301877975463867, 0.15936915576457977, 0.4628344476222992, 0.355164110660553, -0.5336085557937622, -0.7233061790466309, 0.1493472009897232, -0.7677704095840454, -0.16957858204841614, -0.08046335726976395, 0.0006766222650185227, 0.1822073757648468, 0.38313204050064087, -0.5075057148933411, 0.4585953950881958, 0.5641171932220459, -0.05564125254750252, 0.5348027944564819, -0.2134268581867218, 0.4742600917816162, -1.0000486373901367, 0.27362504601478577, -0.01386639941483736, -0.39749640226364136, -0.4146929681301117, 0.5914087295532227, 0.21028003096580505, -0.14043301343917847, -0.6245734691619873, 0.9033941626548767, -0.3783661127090454, -0.11119359731674194, -0.2854689359664917, 0.321338027715683, -0.10686301440000534, 0.4698832035064697, 0.09570716321468353, 0.8335157632827759, 0.2991178333759308, -0.38775792717933655, 0.18718154728412628, 0.30776479840278625, -0.5068942308425903, 0.7539880275726318, -0.5952204465866089, 0.41599327325820923, -0.0020526358857750893, -0.0422745943069458, -0.9746492505073547, -0.13261152803897858, 0.014977667480707169, -0.46580177545547485, 0.5685313940048218, 0.09111239016056061, -0.5099933743476868, -0.1589272916316986, -0.3388485014438629, 0.2935575544834137, 0.7878734469413757, -0.3740537762641907, 0.33444109559059143, 0.07119984924793243, -0.015726573765277863, -0.42502740025520325, -0.7763011455535889, 0.1495388299226761, 0.14295995235443115, -0.2981325387954712, -0.017421765252947807, -0.16477985680103302, -0.487196147441864, -0.19935978949069977, -0.1502166986465454, -0.2189563661813736, 0.16062752902507782, 0.30458930134773254, 0.2556508183479309, 0.018355097621679306, 0.020112181082367897, -0.032867226749658585, -0.019374905154109, -0.2578382194042206, 0.18674467504024506, 0.37261584401130676, -0.2662985026836395, -0.6320732235908508, -0.44950777292251587, 0.3185853958129883, 0.6762311458587646, -0.460938036441803, 0.4146927297115326, 0.37985697388648987, -0.37451890110969543, 0.016952242702245712, -0.6746203899383545, 0.09181463718414307, -0.34473687410354614, 0.36050206422805786, -0.5622766613960266, -0.6168522238731384, 0.3069153428077698, -0.08581078052520752, 0.02231888473033905, 0.6372676491737366, 0.8190116286277771, 0.058419547975063324, 0.9653092622756958, 0.479755163192749, -0.2340622842311859, 0.1772226095199585, -0.16822078824043274, 0.29070404171943665, -0.8318665623664856, 0.036500025540590286, -0.4391794502735138, -0.18357209861278534, -0.2952045500278473, -0.5210148096084595, 0.24601972103118896, 0.32224100828170776, -0.0689723864197731, 0.36799922585487366, -0.3107817769050598, 0.6586667895317078, 0.24605046212673187, -0.12122422456741333, 0.5853222012519836, -0.056987885385751724, -0.21032848954200745, -0.041455402970314026, -0.3244393765926361, -0.6693735718727112, 1.249833345413208, 0.20928752422332764, 0.6211915016174316, -0.13192297518253326, 0.600264847278595, 0.33927392959594727, 0.7158992290496826, -1.0559927225112915, 0.47185948491096497, -0.020868245512247086, -0.5367788076400757, -0.22777745127677917, -0.3441563844680786, -0.6921973824501038, 0.34218430519104004, -0.1595415323972702, -0.3795430660247803, -0.13079102337360382, -0.2350742071866989, -0.24506497383117676, -0.015282958745956421, -0.8271039724349976, 0.5401105880737305, -0.3406185209751129, -0.4330082833766937, -0.6818950176239014, -0.3889511227607727, 0.4466792345046997, -0.4400143623352051, 0.3328082859516144, 0.0123502928763628, 0.03750382363796234, 0.4595930874347687, -0.007891812361776829, 0.5952786803245544, -0.0663786455988884, -0.11538771539926529, 0.34966644644737244, 0.4241204261779785, 0.3154570162296295, -0.036755844950675964, -0.49663111567497253, 0.2857808768749237, 0.05250806733965874, -0.6442515850067139, -0.629639744758606, 0.8477928638458252, -0.766913890838623, -0.5657033920288086, -0.3761460781097412, -0.512153685092926, -0.4128016233444214, 0.1448507010936737, -0.14263761043548584, 0.12710382044315338, -0.2797783315181732, 0.07615546137094498, 0.13286946713924408, -0.28184813261032104, 0.41590118408203125, 0.9115543365478516, -0.3372221291065216, -0.21330490708351135, 0.7648162245750427, -0.06955036520957947, 0.3417913615703583, 0.5056627988815308, 0.16263526678085327, -0.22979643940925598, -0.632643461227417, -0.678655207157135, 0.34960228204727173, -0.6484092473983765, -0.28077858686447144, -0.059492263942956924, -0.03253544121980667, -0.32846900820732117, -0.1387459635734558, -0.551795244216919, -0.2437933385372162, 0.1914311647415161, 0.03708765655755997, -0.04089325666427612, 1.0238269567489624, 0.037852875888347626, 0.1907191127538681, -0.8147161602973938, 0.08368313312530518, 0.4501643478870392, 0.4055972695350647, 0.10549268871545792, -0.7292996644973755, -0.2727712392807007, 0.20663894712924957, -0.35628339648246765, -0.5628315806388855, 0.30486539006233215, 0.1986435204744339, 0.3593989908695221, 0.19950194656848907, -0.23758114874362946, 0.8195409774780273, -0.7442612648010254, 0.9111460447311401, 0.18293999135494232, -1.1614748239517212, 0.5752519965171814, -0.15491226315498352, 0.3722575306892395, 0.7268850207328796, 0.3959091603755951, -0.5586380362510681, -0.14652211964130402, -0.1486104130744934, -0.5638506412506104, 0.2969304919242859, 0.11665240675210953, 0.25287967920303345, 0.049320288002491, 0.5921096801757812, 0.0959794670343399, 0.09536740928888321, -0.6274940371513367, -0.13024365901947021, 0.27483636140823364, -0.08186456561088562, -0.42532992362976074, -0.21773208677768707, 0.2171594202518463, -0.46084678173065186, 0.6184475421905518, 0.02748912200331688, 0.03560037538409233, 0.22981543838977814, -0.4423482418060303, -0.2675589919090271, 0.4351019859313965, 0.5591389536857605, 0.8171618580818176, -0.3291160762310028, -0.18771174550056458, 0.4530852735042572, -0.2656615674495697, 0.381289005279541, -0.3226509690284729, -0.28951287269592285, -0.048477381467819214, 0.4855312705039978, 0.5901008248329163, 0.3009522259235382, -0.7840908765792847, 0.7121824026107788, -0.02656641975045204, 0.0459979772567749, -0.23733827471733093, -0.17974044382572174, -0.04357798397541046, -0.09122654050588608, 0.29050469398498535, 0.013333018869161606, 0.03854944929480553, -0.5649625062942505, 0.03997248038649559, 0.388876736164093, -0.6930446028709412, -0.5214598774909973, 0.5017560124397278, 0.42478519678115845, -0.3592108488082886, 0.4420284628868103, -0.44523683190345764, -0.32515645027160645, 0.2859135866165161, 0.3940573036670685, 0.8582243919372559, -0.5873837471008301, -0.043134987354278564, 0.5009394884109497, 0.3470490872859955, -0.1341942697763443, 0.0754166841506958, -0.14366820454597473, -0.4061986804008484, -0.9415241479873657, -0.9639216065406799, -0.7282471656799316, 0.19651293754577637, -0.5952600836753845, 0.6073558926582336, -0.24666652083396912, 0.2886841297149658, -0.18233594298362732, 0.20180954039096832, -0.8212194442749023, 0.1868639439344406, 0.22081729769706726, 1.067401647567749, -1.0211676359176636, 1.0830427408218384, 0.8878752589225769, -0.6127890348434448, -0.7881129384040833, -0.09411990642547607, -0.28949499130249023, -0.7746862769126892, 0.9835396409034729, 0.021717680618166924, -0.22700004279613495, 0.006049341056495905, -0.3753473460674286, -0.8135502934455872, 0.8263850808143616, 0.4784936308860779, -0.6244380474090576, 0.14146336913108826, 0.1363026201725006, 0.8736355900764465, -0.28527116775512695, 0.587944746017456, 0.5275688171386719, 0.4565567374229431, -0.04088534787297249, -1.4345707893371582, -0.22131389379501343, -0.324016273021698, 0.04562441632151604, 0.05232759565114975, -0.7449520826339722, 0.478530615568161, 0.06972381472587585, -0.06659337133169174, 0.2034056931734085, 0.4331277310848236, -0.14310576021671295, 0.09449452906847, 0.320798397064209, 0.5531163811683655, 0.33259645104408264, 0.16310448944568634, 1.4484686851501465, -0.32087162137031555, 0.4208846390247345, 1.1226954460144043, -0.6525599956512451, 1.3952834606170654, 0.6645509600639343, -0.41179290413856506, 0.29571250081062317, 0.42382776737213135, 0.22155404090881348, 0.363116592168808, 0.3282482326030731, 0.01971081644296646, -0.44179627299308777, -0.23412971198558807, -0.10282321274280548, 0.7422381043434143, 0.2614195644855499, -0.10196402668952942, -0.38325169682502747, 0.011699602007865906, -0.10950066149234772, 0.43437790870666504, -0.41528037190437317, 0.5830932259559631, 0.2161998450756073, -0.6735743880271912, 0.9479573965072632, 0.2397138774394989, 0.8648874163627625, -0.4575575888156891, -0.15508754551410675, -0.4681366980075836, 0.14281179010868073, -0.08569053560495377, -0.509604811668396, 0.5435910224914551, 0.29780206084251404, -0.1331826001405716, -0.29888811707496643, 0.45655354857444763, -0.46219056844711304, -0.5010422468185425, 0.41798126697540283, 0.659027099609375, 0.4252959191799164, 0.011339033022522926, -0.4394315481185913, -0.02590157464146614, -0.06614304333925247, -0.22442686557769775, 0.46640124917030334, -0.0976024940609932, -0.28078770637512207, 0.6544526219367981, 0.39887934923171997, 0.24216093122959137, -0.14122721552848816, -0.05727089196443558, 0.21542510390281677, -0.5970972180366516, -0.024660896509885788, -0.7882164716720581, 0.12236589938402176, 0.0803770199418068, -0.2471228539943695, 0.8100185394287109, 0.628210723400116, 0.9744124412536621, -0.28802791237831116, 0.6358391642570496, -0.025436963886022568, 0.7335920333862305, -0.2052117884159088, 0.7823203802108765, -0.6257085800170898, 0.09222695231437683, -0.14594195783138275, -1.158735990524292, -0.46113157272338867, 0.6230071187019348, -0.5575019121170044, -0.2939131259918213, 0.6508625149726868, 0.6294467449188232, -0.07757127285003662, -0.3964273929595947, 0.7122906446456909, 0.24241651594638824, 0.23737257719039917, 0.6966084241867065, 0.8502419590950012, -0.8587462306022644, 0.5079560875892639, -0.127323716878891, -0.22550944983959198, -0.049230411648750305, -0.8600000143051147, -0.7762343287467957, -0.46878087520599365, -0.3360055983066559, -0.014709293842315674, -0.08923085033893585, 1.078939437866211, 0.5783385634422302, -0.9804623126983643, -0.5561895966529846, 0.17615006864070892, -0.0032201081048697233, -0.03194143995642662, -0.1651766449213028, 0.35660815238952637, -0.45960840582847595, -1.0885380506515503, 0.6016570329666138, 0.41593223810195923, -0.2707180678844452, -0.4539712071418762, -0.2044619470834732, -0.2645803987979889, 0.10912209749221802, 0.8451288342475891, 0.0246196947991848, -0.8147072196006775, -0.3529722988605499, -0.10662414878606796, -0.3278754651546478, 0.073836550116539, 0.44998031854629517, -0.8369233012199402, 0.5227729678153992, 0.41875430941581726, 0.8358136415481567, 0.4004572033882141, -0.13675853610038757, 0.6148948073387146, -0.551793098449707, 0.3326229155063629, 0.1333768665790558, 0.15869328379631042, 0.5514822602272034, -0.08502029627561569, 0.7633062601089478, 0.09558996558189392, -0.4798988699913025, -0.8615074157714844, 0.05486629530787468, -0.864535927772522, 0.028830837458372116, 1.308236837387085, -0.29711613059043884, -0.29204484820365906, 0.29251599311828613, -0.17244009673595428, 0.1564483791589737, -0.226999431848526, 0.8130300045013428, 0.7291987538337708, 0.1338881254196167, 0.241945281624794, -0.6223710775375366, 0.19952116906642914, 0.709541916847229, -0.6936308741569519, -0.22119711339473724, 0.3247721195220947, 0.3304412364959717, 0.3734617829322815, 0.36479452252388, -0.25650477409362793, 0.33780637383461, -0.21932768821716309, 0.28586167097091675, 0.10063288360834122, 0.005123950075358152, -0.816493034362793, -0.1264246255159378, 0.5277084708213806, -0.036391694098711014 ]
http://arxiv.org/abs/2404.02507v1
http://arxiv.org/pdf/2404.02507v1
Lifelong Event Detection with Embedding Space Separation and Compaction
2024-04-03T06:51:49
2024-04-03T06:51:49
Chengwei Qin, Ruirui Chen, Ruochen Zhao, Wenhan Xia, Shafiq Joty
cs.CL
cs.CL
To mitigate forgetting, existing lifelong event detection methods typically maintain a memory module and replay the stored memory data during the learning of a new task. However, the simple combination of memory data and new-task samples can still result in substantial forgetting of previously acquired knowledge, which may occur due to the potential overlap between the feature distribution of new data and the previously learned embedding space. Moreover, the model suffers from overfitting on the few memory samples rather than effectively remembering learned patterns. To address the challenges of forgetting and overfitting, we propose a novel method based on embedding space separation and compaction. Our method alleviates forgetting of previously learned tasks by forcing the feature distribution of new data away from the previous embedding space. It also mitigates overfitting by a memory calibration mechanism that encourages memory data to be close to its prototype to enhance intra-class compactness. In addition, the learnable parameters of the new task are initialized by drawing upon acquired knowledge from the previously learned task to facilitate forward knowledge transfer. With extensive experiments, we demonstrate that our method can significantly outperform previous state-of-the-art approaches.
[ -0.24337942898273468, -0.6115432381629944, 0.7660082578659058, -0.2888087332248688, -0.4336656630039215, 0.04351213574409485, -0.10721336305141449, -0.40614649653434753, 0.2751612663269043, 0.15858955681324005, -0.48090091347694397, -0.42499473690986633, -0.5039876699447632, -0.6027305126190186, -0.09566844999790192, 0.9385500550270081, -0.30307435989379883, -0.3710804581642151, -0.5266302227973938, -0.28953829407691956, -0.815900444984436, -0.488209068775177, -0.8673958778381348, -0.47452157735824585, 0.2300829291343689, 0.4798487424850464, 0.10386809706687927, 0.4772067070007324, 0.18559463322162628, 0.14588943123817444, 0.024905648082494736, 0.4738616943359375, -0.4670967161655426, 0.1479543298482895, -0.17502065002918243, -0.5240406394004822, -0.1859952062368393, -0.16698937118053436, 0.8558945655822754, 0.508647620677948, -0.14162933826446533, -0.07035991549491882, 0.15779593586921692, 0.4710327088832855, -1.2000401020050049, 0.07819259911775589, -0.5475364327430725, 0.29800575971603394, -0.3023667335510254, -0.5662563443183899, -0.4621744155883789, -0.18838824331760406, -0.08044090121984482, -0.5472102165222168, 0.25747135281562805, -0.23939232528209686, 0.5619980692863464, 0.32554081082344055, -0.3062230944633484, -0.37012118101119995, -0.7383794188499451, 0.89640212059021, -0.3575891852378845, 0.46377578377723694, 0.4156174957752228, 0.3537634015083313, -0.10691805183887482, -0.45811617374420166, -0.692760169506073, 0.03587435930967331, 0.17135760188102722, 0.29251739382743835, -0.052614934742450714, -0.4014439880847931, 0.02922474965453148, -0.008995939046144485, -0.5970555543899536, -0.009831806644797325, -0.19942161440849304, -0.12984083592891693, 0.40848058462142944, 0.266708642244339, 0.25655597448349, 0.10806059092283249, -0.5094151496887207, 0.025055207312107086, -0.7880042791366577, -0.3101392388343811, -0.043395522981882095, -0.25963661074638367, 0.17654240131378174, 0.11109428852796555, 0.08471754938364029, 0.20281833410263062, 0.04160267114639282, -0.15864230692386627, 0.15982060134410858, -0.2919762432575226, -0.2019834965467453, 0.05756860598921776, 0.09604378044605255, 0.2691456973552704, 0.13008169829845428, -0.3080068528652191, -0.03451673313975334, 0.06291545927524567, 0.31367626786231995, -0.569649338722229, -0.4102556109428406, 0.056974366307258606, -0.5007559061050415, 0.2518538236618042, -0.027355102822184563, -0.5628581047058105, -0.33355745673179626, -0.2878867983818054, 0.7211721539497375, -0.5400378704071045, -0.07724415510892868, 0.22384829819202423, -0.2336539328098297, 0.06661361455917358, 0.5350721478462219, -0.6567918658256531, 0.07527116686105728, 0.5320577621459961, 0.9342197775840759, -0.38916388154029846, -0.11726536601781845, -0.7510485649108887, 0.587235689163208, 0.03123627044260502, 0.9832021594047546, -0.4260675311088562, -0.36749911308288574, -0.09064248204231262, -0.02341732569038868, -0.293331116437912, -0.6931502223014832, 0.18677127361297607, -0.498854398727417, -0.00029687071219086647, -0.11184920370578766, -1.0393691062927246, -0.15928761661052704, 0.32544898986816406, -0.41004836559295654, 0.8463429808616638, -0.044151823967695236, -0.43222177028656006, 0.9018914103507996, -0.1882249265909195, -0.2794657051563263, 0.1828961819410324, -0.36961477994918823, -0.8946685194969177, -0.11582744866609573, 0.16588923335075378, 0.6359856128692627, 0.4206814765930176, 0.2550814747810364, -0.614547848701477, -0.36569666862487793, -0.1437397450208664, -0.1474628895521164, 0.2846395671367645, -0.0478316992521286, -0.2786788046360016, -0.15915212035179138, -0.6973809003829956, -0.1863395720720291, 0.15539757907390594, -0.4280494153499603, -0.537219226360321, 0.259825199842453, -0.08267811685800552, 0.1928728073835373, 0.2338210940361023, -0.8566277027130127, 0.2946379780769348, -0.08230146020650864, 0.2659115791320801, 0.5495365262031555, 0.46403372287750244, 0.5520431399345398, -0.6949480175971985, 0.2697150707244873, 0.4170474708080292, 0.30856043100357056, -0.428826242685318, -0.4301958680152893, -0.611937940120697, -0.0817611813545227, -0.36282461881637573, 0.7134901285171509, -0.30554890632629395, 0.9373389482498169, -0.05822836980223656, -0.1841576248407364, 0.34274378418922424, 0.3197673261165619, 0.03386783227324486, 0.1771545708179474, 0.48798757791519165, -0.49344122409820557, -0.8168447613716125, -0.26087287068367004, 0.149824857711792, 0.005675196181982756, 0.07814023643732071, 0.113039530813694, 0.8527365922927856, -0.3934652805328369, 0.8375336527824402, -0.7846297025680542, -0.7359656691551208, 0.040138211101293564, -0.04643843322992325, -0.16627627611160278, 0.9328363537788391, 0.5274344682693481, -0.8067476749420166, -0.14844828844070435, 0.13699506223201752, -0.6806262135505676, 0.4341905117034912, -0.5736998915672302, -0.0011032598558813334, 0.323150634765625, 0.8288928270339966, -0.39037925004959106, 0.8249161839485168, 0.13431571424007416, -0.4757092595100403, 0.33093857765197754, -0.4080030620098114, -0.041843436658382416, -0.9272975921630859, 0.04257464036345482, -0.4235117733478546, -0.4133910834789276, -0.20837163925170898, -0.22115975618362427, 0.4175158739089966, 0.17284007370471954, -0.2505257725715637, 0.7249082326889038, -0.3313335180282593, 0.04544900357723236, -0.5451292991638184, 0.3016491234302521, 0.1793043464422226, 0.3500697910785675, 0.1321164071559906, 0.1926826685667038, 0.15925677120685577, -0.5048041939735413, 0.12628613412380219, 0.5103713274002075, -0.14271388947963715, 0.6340371370315552, -0.08127110451459885, 0.006454134359955788, -0.25503280758857727, 0.6683876514434814, -1.2163429260253906, 0.14452244341373444, 0.06772985309362411, -0.5374872088432312, 0.7270498871803284, -0.25611016154289246, -0.4978455901145935, -0.23809845745563507, -0.22807127237319946, 0.6528977751731873, 0.4997505247592926, -0.6961858868598938, 0.6915662884712219, 0.30712729692459106, -0.060895051807165146, -0.21484151482582092, -0.6878333687782288, -0.1565931737422943, -0.45049166679382324, -0.5560899376869202, 0.3809904158115387, -0.18790124356746674, 0.42779871821403503, 0.048191167414188385, -0.4890289306640625, -0.32549914717674255, -0.0017067076405510306, 0.40870290994644165, 0.24733659625053406, -0.08085867017507553, 0.4157316982746124, 0.13718627393245697, -0.21713519096374512, -0.1875390261411667, -0.8574690222740173, 0.4355420768260956, 0.31957903504371643, -0.6380331516265869, -0.3857572674751282, 0.5467545986175537, 0.46662724018096924, 0.006140565499663353, 1.0635474920272827, 0.9262505769729614, -0.8336051106452942, -0.13625702261924744, -0.9240479469299316, -0.247789204120636, -0.407493531703949, 0.16325798630714417, -0.02814095839858055, -0.8677492141723633, 0.6805513501167297, -0.379193514585495, 0.2734622657299042, 0.2170100212097168, 0.2242065668106079, -0.3606399893760681, 0.6187610030174255, 0.703813374042511, -0.19325633347034454, 0.7382595539093018, -0.2630142569541931, 0.05980359762907028, -1.1214115619659424, -0.36606094241142273, -0.25534236431121826, -0.3651682138442993, 0.2637125849723816, -0.5456811785697937, 0.209201380610466, 0.4696194529533386, -0.24765489995479584, 0.2418821156024933, -0.2578919529914856, 0.5116385817527771, 0.2054583579301834, 0.45351171493530273, 0.17024822533130646, -0.31876078248023987, -0.06805059313774109, -0.20116055011749268, -0.7149110436439514, -0.09544653445482254, 1.1733695268630981, 0.09719369560480118, 0.5363432168960571, -0.05451488867402077, 1.1247785091400146, 0.3325388431549072, 0.30461233854293823, -0.46566876769065857, 0.11201488226652145, -0.14417700469493866, -0.3740968406200409, -0.2535382807254791, -0.29931220412254333, -0.9714178442955017, -0.007321327459067106, -0.09701146185398102, -1.1683740615844727, 0.4874926507472992, 0.30046406388282776, -0.6234990358352661, 0.7179312109947205, -0.5374451279640198, 0.5248669385910034, 0.23196914792060852, -0.21768586337566376, -0.39596372842788696, -0.34110504388809204, 0.2154516875743866, -0.37490853667259216, 0.11728618294000626, 0.03866201266646385, 0.015794141218066216, 0.9258481860160828, 0.12129752337932587, 1.058950662612915, -0.3464777171611786, 0.09423418343067169, 0.22942101955413818, 0.11049263924360275, 0.9088689088821411, 0.3874633014202118, 0.2232159674167633, -0.3851681351661682, -0.0854584202170372, -0.4393443465232849, -0.565645158290863, 0.5657332539558411, -0.3666328191757202, -0.16389842331409454, 0.07537192851305008, -0.5655855536460876, 0.0690334215760231, 0.07477021217346191, 0.20254671573638916, 0.5236158967018127, -0.17361634969711304, 0.2544899582862854, 0.9650282859802246, -0.28199660778045654, 0.4587614834308624, 0.5385821461677551, 0.166612446308136, -0.3108845353126526, 0.9672689437866211, 0.12639634311199188, 0.2466428428888321, 0.5620579719543457, 0.04513789713382721, -0.18761636316776276, -0.6762495040893555, -0.1455739140510559, 0.17538964748382568, -0.9034591913223267, -0.4063883125782013, -1.0105373859405518, -0.05184202641248703, -0.365432471036911, -0.6991503238677979, -0.412793904542923, -0.2520623207092285, -0.37269023060798645, 0.10480555146932602, -0.0035371407866477966, 0.3436848521232605, -0.36670631170272827, 0.28110358119010925, -1.0898414850234985, 0.2729519307613373, 0.2066613733768463, 0.06981788575649261, 0.017750728875398636, -0.6557120084762573, -0.29079458117485046, -0.41115954518318176, -0.5955803990364075, -0.5912483930587769, 0.33801186084747314, 0.44868364930152893, 0.7992715835571289, 0.7283613085746765, -0.11786913871765137, 0.6132974028587341, -0.36121970415115356, 0.519787073135376, 0.1707092821598053, -0.9241340756416321, 0.90011066198349, -0.0007655823137611151, 0.48009586334228516, 0.388382226228714, 0.32342907786369324, -0.4516773223876953, -0.2951892018318176, -0.8269966244697571, -0.8688646554946899, 0.2876580059528351, -0.02506249211728573, -0.26873505115509033, -0.07744163274765015, 0.5745144486427307, 0.0397103987634182, 0.026595525443553925, -0.5244636535644531, -0.07563770562410355, 0.30775144696235657, 0.11199577152729034, -0.1559172421693802, -0.16582058370113373, 0.02661963365972042, -0.2374567985534668, 0.47798100113868713, -0.1706698089838028, 0.5010035037994385, 0.2100224643945694, -0.25756320357322693, -0.35701701045036316, -0.07263758033514023, 0.5507493615150452, 0.5781556367874146, -0.27603986859321594, -0.045014288276433945, 0.550438642501831, -0.5940116047859192, 0.20421673357486725, 0.014645623974502087, -0.02292201854288578, -0.20091308653354645, 0.4671698212623596, 0.3848893940448761, 0.7137935161590576, -0.37514087557792664, 0.5561928749084473, 0.1239137202501297, -0.11557164043188095, -0.5383195877075195, 0.33603134751319885, 0.062286075204610825, 0.5970199108123779, 0.38430917263031006, 0.3840828835964203, 0.06922277808189392, -0.5329240560531616, 0.9127370715141296, 0.35067829489707947, -0.32850512862205505, -0.058043669909238815, 0.5372263789176941, -0.10529043525457382, 0.1774357259273529, 0.6391250491142273, -0.1659536361694336, -0.5382965803146362, 0.7971441745758057, 0.6950345635414124, 0.5698055028915405, -0.38148823380470276, -0.08885745704174042, 0.442520409822464, 0.2394486665725708, 0.015109831467270851, 0.39678654074668884, -0.5164276957511902, -0.9337881803512573, -0.4512988328933716, -0.5899587869644165, -0.17508713901042938, 0.15107125043869019, -0.7831303477287292, -0.11510951071977615, -0.4139869511127472, 0.0464768223464489, -0.15831898152828217, 0.18294477462768555, -0.6892246603965759, 0.26281365752220154, 0.4298660159111023, 0.8868517875671387, -1.0262371301651, 0.9554290175437927, 0.4827291667461395, -0.07682782411575317, -0.2392609417438507, -0.03322397917509079, 0.1414453238248825, -0.6420698165893555, 0.47487932443618774, 0.4579237699508667, 0.31539782881736755, -0.04531833156943321, -0.16164769232273102, -0.9175225496292114, 1.2454769611358643, 0.06306333839893341, -0.6404576301574707, -0.07863566279411316, -0.5142897963523865, 0.009619941003620625, -0.1933426409959793, -0.0988752543926239, 0.7194030284881592, 0.5515190958976746, 0.3692174553871155, -0.5453112125396729, 0.016804449260234833, 0.06884421408176422, -0.5012152194976807, 0.8638337850570679, -0.31423065066337585, 0.5134700536727905, -0.363928884267807, -0.5003116726875305, 0.15751375257968903, 0.692787766456604, 0.43474483489990234, 0.6797499656677246, 0.557533860206604, 0.7539882063865662, 0.925403892993927, -0.10903278738260269, 0.6550343036651611, 0.209377259016037, 0.5754228234291077, 1.2735610008239746, -0.3491082489490509, 0.8239455223083496, 0.4474126100540161, -0.05801607295870781, 0.36978670954704285, 0.2344813048839569, 0.0064737568609416485, 0.6333665251731873, 0.1175251230597496, -0.5037872791290283, -0.510541558265686, 0.38815411925315857, -0.32033106684684753, 0.254204660654068, 0.8948608040809631, 0.0017822483787313104, -0.6584311723709106, 0.6813141703605652, -0.20640844106674194, -0.22498680651187897, -0.15888386964797974, 0.6598650813102722, 0.0917695090174675, -0.42413341999053955, 0.19595739245414734, -0.4810176193714142, 0.7349979877471924, -0.6457213163375854, -0.19762340188026428, -0.1800895482301712, 0.5671331286430359, -0.15306679904460907, -0.8625900745391846, 0.7132508754730225, -0.616551399230957, -0.1112016886472702, -0.006277121603488922, 0.7810123562812805, -0.4533047378063202, 0.09800343215465546, 0.5289791226387024, 0.24915394186973572, 0.2373259961605072, -0.20420481264591217, -0.31342461705207825, 0.10297156870365143, 0.0059860022738575935, -0.0913059189915657, 0.40530937910079956, 0.38333824276924133, -0.06715946644544601, 0.6401819586753845, 0.5950424075126648, 0.012840968556702137, 0.22064778208732605, -0.22970443964004517, 0.8057869672775269, -0.6287199258804321, -0.8985339999198914, -0.57813560962677, 0.44472402334213257, 0.008486473001539707, -0.22543415427207947, 0.34772172570228577, 0.4359024465084076, 0.9140929579734802, 0.096293143928051, 0.5802823901176453, -0.022148551419377327, 0.05862068757414818, -0.6156890392303467, 0.48303380608558655, -0.5559213161468506, -0.02532193996012211, -0.2020498812198639, -0.5200576186180115, -0.5517310500144958, 0.5188762545585632, -0.23207052052021027, -0.03679464012384415, 0.7730220556259155, 0.3602190613746643, -0.2837325632572174, -0.058148495852947235, 0.6826354265213013, -0.186016246676445, 0.5153069496154785, 1.20148766040802, 0.830597996711731, -0.4132307767868042, 0.4039120376110077, -0.003411832032725215, -0.3462468683719635, -0.41958844661712646, -0.8499122262001038, -0.8366339206695557, -0.7892869710922241, -0.5947953462600708, 0.001559967058710754, 0.1253233104944229, 0.429377019405365, 1.104357361793518, -0.8905144333839417, 0.4978784918785095, -0.256002277135849, -0.07596408575773239, -0.27074432373046875, -0.2452833354473114, 0.48872458934783936, -0.3744361400604248, -0.32481423020362854, 0.5176397562026978, 0.5510197877883911, 0.23636268079280853, -0.05378052219748497, 0.09941061586141586, -0.3081417679786682, -0.1684267669916153, 0.5185319781303406, 0.44271495938301086, -0.23240061104297638, -0.5299099087715149, -0.6521996259689331, 0.20822937786579132, 0.05435451120138168, 0.9522584080696106, -0.9201593399047852, 0.35866281390190125, 0.32076382637023926, 0.7622660398483276, 0.7954172492027283, -0.46479088068008423, 0.32443034648895264, -1.039800763130188, 0.29110032320022583, 0.17005982995033264, 0.6178829669952393, 0.024113371968269348, -1.0267308950424194, 0.239127516746521, 0.3075777292251587, -0.7694962620735168, -0.5312504768371582, 0.17541559040546417, -0.8913401365280151, -0.33227914571762085, 0.5768157839775085, -0.3834599554538727, -0.06708025932312012, -0.4983750283718109, 0.03235162794589996, 0.42829298973083496, -0.14909610152244568, 0.8495389223098755, 0.39781877398490906, -0.30226975679397583, -0.22973749041557312, -0.496185839176178, 0.3087146580219269, 0.32438182830810547, -0.9228853583335876, -0.16351360082626343, 0.40868067741394043, 0.46772149205207825, 0.2931700348854065, 0.5378063321113586, -0.14400121569633484, 0.8200478553771973, 0.10452922433614731, -0.016418447718024254, -0.014650339260697365, -0.8280104398727417, -0.23155610263347626, 0.26235431432724, -0.44761964678764343, -0.39348092675209045 ]
http://arxiv.org/abs/2404.02505v1
http://arxiv.org/pdf/2404.02505v1
Dynamic Demonstration Retrieval and Cognitive Understanding for Emotional Support Conversation
2024-04-03T06:47:15
2024-04-03T06:47:15
Zhe Xu, Daoyuan Chen, Jiayi Kuang, Zihao Yi, Yaliang Li, Ying Shen
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
Emotional Support Conversation (ESC) systems are pivotal in providing empathetic interactions, aiding users through negative emotional states by understanding and addressing their unique experiences. In this paper, we tackle two key challenges in ESC: enhancing contextually relevant and empathetic response generation through dynamic demonstration retrieval, and advancing cognitive understanding to grasp implicit mental states comprehensively. We introduce Dynamic Demonstration Retrieval and Cognitive-Aspect Situation Understanding (\ourwork), a novel approach that synergizes these elements to improve the quality of support provided in ESCs. By leveraging in-context learning and persona information, we introduce an innovative retrieval mechanism that selects informative and personalized demonstration pairs. We also propose a cognitive understanding module that utilizes four cognitive relationships from the ATOMIC knowledge source to deepen situational awareness of help-seekers' mental states. Our supportive decoder integrates information from diverse knowledge sources, underpinning response generation that is both empathetic and cognitively aware. The effectiveness of \ourwork is demonstrated through extensive automatic and human evaluations, revealing substantial improvements over numerous state-of-the-art models, with up to 13.79\% enhancement in overall performance of ten metrics. Our codes are available for public access to facilitate further research and development.
[ -0.4236147999763489, -0.9653507471084595, 1.070374846458435, 0.25957077741622925, -0.014921121299266815, 0.2170378565788269, -0.15155372023582458, -0.41085320711135864, 0.29563695192337036, 0.33275845646858215, -1.0176808834075928, -0.3937739133834839, -0.41294893622398376, 0.07305078953504562, -0.2764764726161957, 0.829036295413971, -0.09700105339288712, -0.20428350567817688, -0.4890076518058777, -0.18232448399066925, -0.652563750743866, -0.3990587294101715, -0.8379325270652771, -0.442212849855423, 0.38713890314102173, 0.6690090298652649, 0.20700672268867493, 0.0032860776409506798, 0.2935791313648224, 0.42737725377082825, -0.1605452597141266, 0.2003401815891266, -0.1706317663192749, 0.7174255847930908, -0.025896575301885605, -0.5441758632659912, -0.45671698451042175, -0.3547341227531433, 0.12592187523841858, 0.27845725417137146, -0.7787669897079468, -0.07870234549045563, 0.0857400968670845, 0.4580949544906616, -0.7717305421829224, 0.4113443195819855, -0.6233469843864441, 0.294499009847641, 0.1977861225605011, 0.11308570206165314, -0.5624248385429382, -0.11100973188877106, 0.08882398903369904, -0.8350955843925476, -0.25284820795059204, -0.02627769485116005, 0.5893493890762329, 0.3566763401031494, -0.7957296371459961, -0.4764295518398285, -0.6841464638710022, 0.7159107327461243, -0.26806309819221497, 0.19010256230831146, 0.5406346321105957, 0.6693124771118164, 0.0664835050702095, -0.8748595118522644, -0.49675124883651733, -0.2283625304698944, 0.06319991499185562, 0.5998600125312805, -0.5276957750320435, 0.26017501950263977, 0.3332810401916504, 0.2096327543258667, -0.22845709323883057, -0.17547522485256195, 0.08431624621152878, -0.2459016591310501, 0.4989088475704193, 0.4252861738204956, 0.28842610120773315, -0.30778780579566956, -0.08309394866228104, -0.008310914970934391, -0.09680406749248505, 0.02755787968635559, -0.03968506306409836, -0.025413040071725845, -0.03967606648802757, 0.4305317997932434, -0.3046075105667114, 0.11460240930318832, 0.3706977367401123, 0.4500267803668976, 0.05704955384135246, -0.08024570345878601, -0.22637984156608582, 0.04718354344367981, 0.1128774955868721, 0.17153741419315338, -0.15021711587905884, 0.07763838022947311, 0.020712923258543015, 0.23956939578056335, 0.556452214717865, -0.6684837937355042, 0.12028317898511887, 0.2495422065258026, -0.5947387218475342, -0.056409891694784164, 0.0005489772884175181, -0.6497610807418823, -0.5876520276069641, -0.5542771220207214, 0.16324228048324585, -0.5756536722183228, -0.4514767825603485, 0.0379478745162487, -0.0930209532380104, 0.17482510209083557, 0.6082722544670105, -0.4612542688846588, 0.47948068380355835, 0.6944265365600586, 0.7387028932571411, 0.191933274269104, 0.2289334237575531, -0.44020625948905945, 0.16216352581977844, 0.27617961168289185, 0.7514957189559937, -0.5439897179603577, -0.2759644389152527, 0.094277024269104, 0.14997036755084991, 0.12929069995880127, -0.49951159954071045, 0.7192180752754211, -0.32399776577949524, 0.07344933599233627, -0.5239414572715759, -0.33058181405067444, -0.13832394778728485, 0.46467122435569763, -0.3737163543701172, 0.87746262550354, -0.12554669380187988, -0.5076886415481567, 0.09749401360750198, -0.6895684599876404, -0.40889307856559753, 0.1482246369123459, -0.3285581171512604, -0.09563420712947845, 0.251695454120636, 0.08483957499265671, 0.5410694479942322, -0.020406458526849747, 0.0038367407396435738, -0.41510826349258423, -0.23148860037326813, 0.32204878330230713, -0.2114088088274002, 0.24609406292438507, 0.4672265350818634, -0.5586158633232117, -0.03266127035021782, -0.7687680125236511, 0.019726090133190155, 0.2094525694847107, -0.016086185351014137, -0.45174071192741394, 0.1442704051733017, -0.0767948105931282, 0.4417745769023895, 0.14806906878948212, -0.6545624136924744, -0.19365794956684113, -0.04423447325825691, 0.4306407868862152, 0.7432635426521301, 0.10248584300279617, 0.34040728211402893, 0.059467848390340805, 0.6011731028556824, -0.01380227506160736, 0.36346495151519775, -0.3232361078262329, -0.26462793350219727, -0.5861630439758301, -0.21139423549175262, -0.6685754060745239, 0.5115298628807068, -1.0941773653030396, 0.3907005786895752, 0.1915798932313919, -0.3222290873527527, -0.440710186958313, -0.2725447416305542, 0.6107017993927002, 0.7461472153663635, 0.5130269527435303, -0.25261390209198, -0.5595813393592834, -1.013797640800476, -0.27743157744407654, -0.31435588002204895, -0.07553644478321075, 0.6039949655532837, 0.23500384390354156, -0.12063620984554291, 0.5630423426628113, -0.5944267511367798, -0.1620805859565735, -0.2174156755208969, 0.39696791768074036, -0.1443747878074646, 0.1496894359588623, 0.3361544609069824, -0.7447534203529358, -0.4185766279697418, -0.09019526839256287, -0.7968761324882507, -0.22774983942508698, -0.07464106380939484, -0.3444669544696808, 0.150201678276062, 0.3258983790874481, -0.3673843443393707, 0.4900728762149811, 0.368932843208313, -0.7770631313323975, 0.13288137316703796, -0.22836342453956604, 0.48102134466171265, -1.078840732574463, -0.2911873459815979, -0.08481860160827637, -0.2549414336681366, -0.4342496395111084, -0.17187254130840302, 0.054318610578775406, -0.11301617324352264, -0.4565574526786804, 0.14335553348064423, -0.5788522362709045, 0.006293925456702709, -0.24673408269882202, 0.5540221929550171, -0.0694301575422287, 0.36349722743034363, 0.036507368087768555, 0.28533700108528137, 0.44485902786254883, -0.3325802683830261, 0.5776652097702026, 0.6036487817764282, -0.023122744634747505, 1.4045236110687256, -0.4455625116825104, 0.3466622531414032, -0.27551233768463135, 0.5534874796867371, -0.7710656523704529, 0.003063380951061845, 0.12376473098993301, -0.2076733410358429, 0.20957273244857788, -0.0843341052532196, -0.15066877007484436, -0.47476574778556824, -0.2093057930469513, 0.10284595191478729, 0.5152754783630371, -0.4835461974143982, 1.0164092779159546, 0.27418088912963867, -0.2896919250488281, -0.45856422185897827, -0.9215357899665833, -0.024415887892246246, -0.036465682089328766, -0.7579210996627808, 0.4742916226387024, -0.20796328783035278, -0.3672703206539154, -0.02779032103717327, -0.37159958481788635, 0.04317701980471611, 0.0966290757060051, 0.620593249797821, -0.10618222504854202, -0.027003904804587364, 0.39623042941093445, 0.37490352988243103, -0.1607692986726761, 0.2792776823043823, 0.11900101602077484, 0.4468062222003937, -0.4818175435066223, -0.7138400077819824, -0.6000451445579529, 0.7143956422805786, 0.551261305809021, -0.16754476726055145, 0.9758205413818359, 0.6940757036209106, -0.7298958897590637, 0.03170900046825409, -0.7023302316665649, -0.5038095116615295, -0.48915955424308777, 0.6115002036094666, -0.434687077999115, -0.6534124612808228, 0.6873210072517395, -0.18520833551883698, -0.1755802035331726, 0.008001853711903095, 0.4219818711280823, -0.2418704628944397, 1.418770432472229, 0.440794438123703, 0.39326879382133484, 0.9121517539024353, -0.06046612188220024, 0.10878855735063553, -0.9584050178527832, -0.6913654208183289, -0.3033098876476288, -0.26026079058647156, -0.05477804318070412, -0.13662555813789368, 0.28845372796058655, -0.24916651844978333, -0.38357993960380554, 0.20758871734142303, -0.4174492359161377, -0.016460055485367775, -0.043093450367450714, 0.7325306534767151, 0.30289769172668457, -0.13953585922718048, -0.05317942798137665, -0.41225171089172363, -0.16892309486865997, -0.6781730651855469, 0.5090147852897644, 0.26396170258522034, 0.4346271753311157, 0.4284009039402008, 0.44389989972114563, 0.2957930266857147, 0.3212929666042328, -0.7732465267181396, 0.7701997756958008, 0.13078512251377106, -0.35382401943206787, 0.08718626946210861, -0.3313097357749939, -0.8382092714309692, 0.1772676259279251, -0.4167337715625763, -0.9011276960372925, -0.07510446012020111, 0.19258271157741547, -0.33533811569213867, -0.1451067179441452, -0.8656653761863708, 0.5559098124504089, -0.453337699174881, -0.4395350217819214, -0.8918822407722473, -0.5488483905792236, -0.09864342212677002, 0.16649143397808075, 0.2175675481557846, -0.13886089622974396, -0.02081839181482792, 0.6409655809402466, -0.3278631567955017, 0.722461462020874, -0.42636069655418396, 0.019468802958726883, 0.30499884486198425, 0.20214396715164185, 0.6537983417510986, 0.10560743510723114, -0.34987983107566833, -0.5862292051315308, -0.016566520556807518, -0.5102981925010681, -1.148606538772583, 0.7371754050254822, -0.49928879737854004, -0.6601439118385315, -0.028226589784026146, -0.25384780764579773, -0.30269256234169006, -0.1440407633781433, -0.27307847142219543, 0.38861361145973206, -0.4172433316707611, 0.41258811950683594, 0.6113014221191406, -0.30096110701560974, 0.3608150780200958, 0.8261979818344116, 0.26230835914611816, -0.010946189053356647, 0.48203036189079285, -0.11689543724060059, 0.09081897139549255, 0.32490599155426025, -0.04266618192195892, -0.20545093715190887, -0.11275364458560944, 0.12855727970600128, 0.20744037628173828, -0.930514395236969, -0.17593401670455933, -0.9039480686187744, 0.24083860218524933, -0.20741954445838928, -0.2490442842245102, -0.49184074997901917, -0.3500562310218811, -0.1439877450466156, -0.6755934953689575, 0.5233339667320251, 0.8529709577560425, 0.1627035290002823, 0.18881666660308838, -0.7368002533912659, -0.07409320026636124, 0.4018591642379761, -0.009299072436988354, 0.19116143882274628, -0.23611053824424744, -0.3178982436656952, -0.0437714159488678, -0.7806779742240906, -1.363039255142212, 0.1943654716014862, 0.011961855925619602, 0.6848021745681763, 0.5111048221588135, 0.3691045939922333, 0.729623019695282, -0.20228290557861328, 0.9184715747833252, 0.18816488981246948, -1.2878671884536743, 1.0409389734268188, -0.12862926721572876, -0.1115705817937851, 0.5450247526168823, 0.19134271144866943, -0.6951836943626404, -0.2734643518924713, -0.9907193779945374, -1.1819016933441162, 0.8286224007606506, 0.5582298040390015, 0.17000830173492432, -0.0603097528219223, 0.5492284297943115, -0.31557023525238037, 0.23277655243873596, -0.2438361644744873, -0.24809987843036652, -0.06889213621616364, -0.6706804037094116, 0.42998793721199036, -0.05097486078739166, -0.32051002979278564, 0.0013008223613724113, 0.5519380569458008, -0.24447529017925262, 0.6838884353637695, 0.1597059667110443, -0.0011069650063291192, -0.12905935943126678, 0.33471933007240295, 0.28217610716819763, 0.29882940649986267, 0.08488751947879791, 0.09583833813667297, 0.6956984996795654, -0.3423214852809906, -0.11339453607797623, 0.12969912588596344, 0.6993732452392578, -0.4854052662849426, 0.09287875145673752, 0.7881934642791748, 0.29910627007484436, -0.7180099487304688, 0.5244065523147583, -0.4318622350692749, 0.2920109033584595, -0.6136964559555054, 0.06602133065462112, 0.05763241648674011, 0.696326494216919, 0.31788355112075806, -0.14702938497066498, 0.2750132083892822, -0.7908749580383301, 0.3645656406879425, 0.33541762828826904, -0.5232051610946655, -0.5306269526481628, 0.39473143219947815, 0.3722718060016632, -0.37851256132125854, 0.800602376461029, 0.001828930457122624, -0.5372593998908997, 0.9844376444816589, 0.6148064136505127, 0.6150110363960266, -0.24230840802192688, 0.44705891609191895, 0.11600753664970398, -0.22403374314308167, 0.04021337628364563, 0.5431446433067322, -0.49849653244018555, -0.6716055870056152, 0.046328213065862656, 0.19267220795154572, -0.60411536693573, -0.420713871717453, -1.2903310060501099, 0.17205137014389038, -0.24514365196228027, -0.3627088963985443, -0.4295651316642761, 0.16663813591003418, -0.7693184018135071, 0.17592671513557434, 0.39715972542762756, 0.7302499413490295, -0.9708356261253357, 0.39737623929977417, 1.1050007343292236, -0.5458695292472839, -0.9274193048477173, -0.14298909902572632, 0.29948532581329346, -0.8374733924865723, 0.41948625445365906, 0.030582701787352562, -0.34415674209594727, -0.17956911027431488, -0.3772004246711731, -0.5015254616737366, 1.7412357330322266, 0.49116477370262146, -0.3862920105457306, 0.11423170566558838, -0.48829230666160583, 0.8026711940765381, -0.5321040749549866, 1.0635617971420288, 0.38526201248168945, 0.6735425591468811, 0.15057747066020966, -0.5157418847084045, 0.5071704983711243, -0.37187281250953674, -0.04582149162888527, -0.006867825984954834, -1.0640720129013062, 0.21381285786628723, -0.026947708800435066, -0.31903213262557983, 0.13358676433563232, 0.7235174179077148, 0.4516019821166992, 0.7326171398162842, 0.6970386505126953, 0.2185789942741394, 1.0398279428482056, -0.31100356578826904, 0.9715235829353333, -0.05956768989562988, 0.3316877782344818, 0.8576276898384094, -0.32474303245544434, 0.8806503415107727, 0.6848458051681519, 0.04852040857076645, 0.9659480452537537, 0.548101544380188, 0.5360291004180908, 0.3755476176738739, 0.06541341543197632, -0.6550789475440979, -0.4718407988548279, -0.5622921586036682, -0.12641483545303345, 0.17358794808387756, 0.7013909816741943, -0.27596208453178406, 0.16779319941997528, 0.2644961476325989, 0.10774850845336914, 0.31675681471824646, -0.1151740550994873, 0.78354412317276, 0.38163289427757263, -0.5642447471618652, 0.07418332993984222, -0.2507303059101105, 0.49377360939979553, -0.584114134311676, -0.15321457386016846, -0.2761327922344208, 0.18135160207748413, -0.5440739989280701, -0.8360214829444885, 0.5421317219734192, 0.13252434134483337, -0.12386458367109299, -0.48489487171173096, 0.7529589533805847, -0.2590866982936859, 0.10804729163646698, 0.7402928471565247, 0.47849899530410767, 0.03615665063261986, -0.30435940623283386, -0.7950335144996643, -0.006218741647899151, -0.15156330168247223, -0.49164000153541565, 0.2486051321029663, 0.7081055641174316, 0.1610369235277176, 0.7989470362663269, 0.2593691945075989, -0.2791979908943176, -0.34636595845222473, 0.24860277771949768, 0.9532232284545898, -0.5419228672981262, -0.4806802272796631, -0.5662000179290771, 0.7989832162857056, -0.4162873923778534, 0.06114158406853676, 0.4765515625476837, -0.044857803732156754, 0.4218160808086395, 0.09267264604568481, 0.5184548497200012, -0.27129411697387695, 0.11771247535943985, -0.4162081480026245, 0.4238415062427521, -0.6934833526611328, 0.32111281156539917, -0.3980903625488281, -0.5274344086647034, 0.011456295847892761, 0.7330666780471802, -0.37468451261520386, 0.07959267497062683, 0.8277876377105713, 0.47207775712013245, 0.0824744701385498, 0.45670607686042786, 0.2219727784395218, 0.42335638403892517, 0.5724979043006897, 0.8761698603630066, 1.252299427986145, -0.17388597130775452, 0.7751865983009338, -0.20528796315193176, -0.42205026745796204, 0.006141632795333862, -0.9334685206413269, -0.5782512426376343, -0.6735679507255554, -0.5105049014091492, -0.3890426754951477, 0.2508000433444977, 1.180415391921997, 0.932793915271759, -0.5864768028259277, 0.20587550103664398, -0.23548999428749084, -0.052573636174201965, -0.33075201511383057, -0.3183917999267578, -0.05977405980229378, -0.1102849692106247, -0.6783987879753113, 0.4822826087474823, 0.19860108196735382, -0.027195816859602928, 0.040656451135873795, -0.2390638142824173, 0.09431245177984238, 0.13716699182987213, 0.6807790994644165, 0.23702456057071686, -0.5561508536338806, -0.3752501308917999, 0.15777583420276642, 0.09637504070997238, -0.11109929531812668, 0.9743393659591675, -0.7889311909675598, 0.27070188522338867, 0.3394966125488281, 0.7290514707565308, 0.6811822652816772, 0.09608090668916702, 0.7429178357124329, -0.7255412340164185, 0.08191008865833282, 0.3092220425605774, 0.5592849850654602, 0.2951834797859192, -0.9330703616142273, 0.37504950165748596, 0.1458040326833725, -0.4814588129520416, -0.5407296419143677, 0.654895007610321, -1.0637449026107788, 0.01879062131047249, 0.9027101993560791, -0.6370717287063599, 0.05889575928449631, -0.1738615483045578, -0.5556785464286804, 0.6448049545288086, -0.8914890885353088, 0.7068431973457336, 0.6587949991226196, -0.7108948826789856, -0.42910847067832947, -0.22096922993659973, 0.08776681125164032, 0.853652834892273, -1.0243998765945435, -0.04762367904186249, 0.4167000651359558, 0.042808908969163895, 0.07132800668478012, 0.49291953444480896, -0.03572003170847893, -0.037256911396980286, -0.3436902165412903, 0.0258330088108778, -0.056096598505973816, -0.09632599353790283, -0.3381727933883667, 0.020701497793197632, -0.14442557096481323, -0.11842707544565201 ]
http://arxiv.org/abs/2404.02491v4
http://arxiv.org/pdf/2404.02491v4
Measuring Social Norms of Large Language Models
2024-04-03T05:58:57
2024-05-22T05:23:45
Ye Yuan, Kexin Tang, Jianhao Shen, Ming Zhang, Chenguang Wang
cs.CL
cs.CL, cs.AI, cs.LG
We present a new challenge to examine whether large language models understand social norms. In contrast to existing datasets, our dataset requires a fundamental understanding of social norms to solve. Our dataset features the largest set of social norm skills, consisting of 402 skills and 12,383 questions covering a wide set of social norms ranging from opinions and arguments to culture and laws. We design our dataset according to the K-12 curriculum. This enables the direct comparison of the social understanding of large language models to humans, more specifically, elementary students. While prior work generates nearly random accuracy on our benchmark, recent large language models such as GPT3.5-Turbo and LLaMA2-Chat are able to improve the performance significantly, only slightly below human performance. We then propose a multi-agent framework based on large language models to improve the models' ability to understand social norms. This method further improves large language models to be on par with humans. Given the increasing adoption of large language models in real-world applications, our finding is particularly important and presents a unique direction for future improvements.
[ -0.251133531332016, -0.8983495831489563, 0.673401415348053, 0.2882864475250244, -0.030975090339779854, 0.16789495944976807, -0.5477617979049683, -0.5572296380996704, -0.16441915929317474, 0.27425065636634827, -0.30332085490226746, -0.4914037883281708, -0.8354294300079346, 0.07451342046260834, -0.29693910479545593, 0.5755714774131775, 0.30433380603790283, 0.03791893273591995, -0.19592176377773285, -0.03138633444905281, -0.28272151947021484, -0.42067331075668335, -0.7939802408218384, -0.3417671024799347, 0.4400148391723633, 0.6543487906455994, 0.8772441744804382, 0.6281163692474365, 0.3684082329273224, 0.33775264024734497, -0.2537558972835541, 0.19486378133296967, -0.8119176030158997, -0.0642625093460083, -0.03701953589916229, -0.027377288788557053, -0.6868378520011902, 0.06184562295675278, 0.8666563630104065, 0.7866223454475403, 0.0166335366666317, 0.3407614231109619, 0.14703181385993958, 0.4841105043888092, -0.2864294946193695, 0.6639865636825562, -0.5874567627906799, -0.29962673783302307, -0.07956937700510025, 0.12325088679790497, -0.37648072838783264, -0.39209648966789246, -0.1120644062757492, -0.43031370639801025, 0.01804181933403015, -0.0922081246972084, 0.7712888121604919, -0.1937337964773178, -0.8714731931686401, -0.10725650191307068, -0.5440611839294434, 0.7389429211616516, -0.5863462090492249, 0.6054579615592957, 0.5878221392631531, 0.3091786503791809, -0.2347581833600998, -0.44377291202545166, -0.544143557548523, -0.32035136222839355, 0.2438005954027176, -0.24766230583190918, -0.10005208849906921, -0.035953402519226074, 0.21965712308883667, 0.19767512381076813, -0.5436913371086121, 0.2725163996219635, -0.6242259740829468, -0.023647300899028778, 1.001198649406433, 0.31695887446403503, -0.021688558161258698, -0.04284103959798813, 0.07884253561496735, -0.1957913637161255, -0.5043938755989075, 0.18193845450878143, 0.5476439595222473, 0.4005710184574127, -0.18351730704307556, 0.4857933521270752, -0.1132044866681099, 0.3120453953742981, -0.11889813840389252, -0.2292289137840271, 0.293948233127594, -0.3797680139541626, -0.01731577329337597, -0.3480040431022644, 0.5045741200447083, 0.6983655691146851, 1.1388779878616333, -0.011727207340300083, -0.06773953139781952, 0.055905554443597794, -0.08443799614906311, -0.7432259321212769, 0.11465147137641907, -0.08580353856086731, -0.3024926781654358, -0.2895420491695404, -0.27281972765922546, -0.6270840764045715, -0.7264930605888367, -0.4583980441093445, 0.20230713486671448, -0.31361106038093567, -0.5955033302307129, 0.43787503242492676, -0.022524097934365273, 0.6089080572128296, 0.48279011249542236, -0.7491440176963806, 0.5465481281280518, 0.8760290145874023, 0.8489350080490112, 0.08936119079589844, -0.4629531502723694, -0.2648310661315918, -0.08342154324054718, -0.5546711683273315, 0.577959418296814, -0.6921368837356567, -0.37114185094833374, 0.10465919226408005, 0.1672920137643814, -0.005982046015560627, -0.3827887177467346, 0.2804138958454132, -0.4983641803264618, -0.5020190477371216, -0.4464556574821472, -0.6577990055084229, -0.01795237883925438, 0.32457298040390015, -0.4961947500705719, 1.003002405166626, -0.035785410553216934, -0.19368483126163483, 0.42694103717803955, -0.6727215647697449, -0.45798060297966003, 0.10176591575145721, -0.03970286250114441, -0.2532149851322174, -0.051642805337905884, 0.12453096359968185, 0.888129472732544, -0.36328819394111633, 0.5528979897499084, -0.6737657189369202, -0.439787894487381, 0.30870190262794495, -0.2709888517856598, 0.9901697039604187, 0.1296434998512268, 0.030035551637411118, 0.04357995092868805, -0.5505250096321106, -0.15429651737213135, 0.42142894864082336, -0.21689195930957794, -0.2300480306148529, -0.020887238904833794, 0.2364518940448761, 0.09178342670202255, 0.2771342992782593, -0.42561373114585876, 0.08184883743524551, 0.10953422635793686, 0.5382688641548157, 1.2252929210662842, -0.1153884008526802, 0.402895987033844, -0.3981386125087738, 0.2893548905849457, -0.30255213379859924, 0.2719017565250397, 0.3809186518192291, -0.6101096868515015, -0.2929728031158447, -0.24036633968353271, -0.062377430498600006, 0.20339283347129822, -0.06880555301904678, 0.4868263006210327, -0.364914208650589, -0.7374997735023499, -0.275052011013031, 0.35556572675704956, 0.07411102950572968, -0.016999555751681328, 0.09408631920814514, -0.23802044987678528, -0.4901101291179657, -0.6986682415008545, -0.19597546756267548, -0.4087318778038025, 0.1249537318944931, 0.4500846564769745, 0.7468798160552979, -0.371118426322937, 0.6464717388153076, -0.338137686252594, -0.02632802166044712, -0.45792365074157715, -0.10095039010047913, 0.007323847152292728, 0.2669447660446167, 0.4897204339504242, -0.6336110830307007, -0.5669366717338562, 0.08005742728710175, -0.5454363822937012, 0.022297117859125137, 0.30225348472595215, 0.006726357154548168, -0.0419294647872448, 0.6911853551864624, -0.24909017980098724, 0.2956213355064392, 0.5043296217918396, -0.593117892742157, 0.6058546900749207, -0.09668190777301788, 0.26907458901405334, -1.0169646739959717, -0.1439950168132782, 0.3566462993621826, -0.26184624433517456, -0.6107945442199707, -0.15753938257694244, 0.15930145978927612, -0.1076078936457634, -0.3037724792957306, 0.7134438157081604, -0.3504232168197632, -0.25333714485168457, 0.09502658247947693, 0.1614360362291336, -0.07498698681592941, 0.3601113259792328, -0.08299089223146439, 0.7580065131187439, 0.575289249420166, -0.5011152029037476, 0.42640921473503113, 0.07946595549583435, -0.5356580018997192, 0.7683588266372681, -0.9502533078193665, 0.27618342638015747, -0.36401915550231934, 0.248386412858963, -1.0715898275375366, -0.5411294102668762, -0.21078360080718994, -0.6925352215766907, -0.09908369183540344, -0.23138739168643951, -0.7072505950927734, -0.179599329829216, -0.28377988934516907, 0.12759022414684296, 0.5379944443702698, -0.19879427552223206, 0.44385942816734314, 0.826258659362793, -0.1585393249988556, -0.5216678380966187, -0.1338106244802475, 0.09636353701353073, -0.16969415545463562, -0.951052725315094, -0.33497729897499084, -0.13539014756679535, -0.7443702816963196, -0.17082476615905762, 0.15200215578079224, -0.340697318315506, 0.37653928995132446, 0.15767887234687805, 0.13360239565372467, -0.3268229365348816, 0.275989294052124, -0.05611554533243179, 0.2201077789068222, 0.20711873471736908, 0.025737110525369644, 0.6835322380065918, -0.5466064214706421, -0.23649989068508148, -0.18591760098934174, 0.1791902780532837, 0.9177024960517883, -0.1607176661491394, 0.891657292842865, 0.5244855284690857, -0.5090506672859192, 0.05671584606170654, -0.6861092448234558, -0.12214463949203491, -0.5022103786468506, 0.6228888630867004, -0.4177198112010956, -1.1521055698394775, 0.7039439678192139, 0.3012169897556305, 0.1538718044757843, 0.22277741134166718, 0.5815346837043762, 0.1797848641872406, 1.1299256086349487, 0.650420606136322, -0.16737470030784607, 0.3610132932662964, -0.05531822144985199, 0.22499166429042816, -0.5341395735740662, -0.04418144375085831, -0.6915705800056458, -0.031021274626255035, -0.33490678668022156, -0.3428339660167694, 0.29398107528686523, -0.32120025157928467, -0.5653935074806213, 0.23163267970085144, -0.011554510332643986, 0.6931445598602295, 0.20749953389167786, -0.022759558632969856, 0.500381350517273, -0.06931371986865997, 0.2815742790699005, 0.22470608353614807, -0.2940244674682617, -0.8040997982025146, 1.1111425161361694, 0.5434733629226685, 0.7319138646125793, 0.22403885424137115, 0.3461395800113678, 0.37592804431915283, 0.2616859972476959, -0.8514679670333862, 0.6693498492240906, 0.022026149556040764, -0.8893545866012573, -0.7098879218101501, -0.537817120552063, -0.9292112588882446, 0.1886630654335022, -0.22338201105594635, -0.7627485394477844, 0.14086663722991943, -0.013742650859057903, -0.10685776174068451, 0.3822220265865326, -0.8352569937705994, 1.0060222148895264, 0.2775822877883911, -0.30328696966171265, -0.3001011312007904, -0.5943509340286255, 0.251136839389801, 0.038585104048252106, 0.5510283708572388, -0.5341898202896118, 0.16254247725009918, 0.775658905506134, -0.09122790396213531, 1.0707727670669556, -0.07716113328933716, -0.29223909974098206, 0.24730588495731354, -0.07293955236673355, 0.5172342658042908, 0.19754385948181152, -0.2086997628211975, 0.062053486704826355, 0.19535987079143524, -0.5894456505775452, -0.22366955876350403, 0.5847591161727905, -1.074697732925415, -0.30639320611953735, -0.26537707448005676, -0.6001836657524109, -0.13741406798362732, -0.08270750194787979, -0.13957266509532928, 0.38375741243362427, -0.5287714004516602, 0.5537571907043457, 0.5321752429008484, 0.06665327399969101, 0.080951988697052, 0.6807817816734314, -0.06907819956541061, 0.04635903239250183, 0.60756915807724, 0.46675416827201843, 0.45085692405700684, -0.26222679018974304, 0.2223864495754242, -0.38358423113822937, -0.2448519915342331, -0.2450050562620163, 0.4033001959323883, -0.7193257212638855, 0.10675732791423798, -0.7663071751594543, -0.1698087453842163, -1.0202078819274902, -0.3490842878818512, -0.35235464572906494, 0.13057120144367218, -0.03794079273939133, -0.07740745693445206, 0.6319159865379333, 0.9353452920913696, -0.30966615676879883, 0.24504688382148743, -0.6572394967079163, 0.12172062695026398, 0.5742790699005127, 0.43900546431541443, 0.23181912302970886, -0.7592723369598389, -0.1401626318693161, -0.019134555011987686, 0.06614185869693756, -0.8161588311195374, 0.09428448230028152, 0.2898225784301758, 0.3437892496585846, 0.3764691948890686, 0.004278583452105522, 0.6199176907539368, -0.5586762428283691, 0.5234121084213257, -0.211187943816185, -1.0636423826217651, 0.2176894098520279, -0.40209442377090454, -0.1299305558204651, 0.4210970401763916, 0.3754889965057373, -0.9978238940238953, -0.4339718818664551, -0.7391202449798584, -0.514308512210846, 0.37745875120162964, 0.07576271891593933, 0.3974197804927826, -0.15327702462673187, 0.31967803835868835, -0.09052184224128723, 0.02227797731757164, -0.675581693649292, -0.00441059609875083, 0.11500722169876099, -0.17058472335338593, -0.5740419626235962, -0.3424200713634491, 0.21246662735939026, -0.3996429443359375, 0.6172441840171814, -0.1913135051727295, -0.21152068674564362, -0.23710297048091888, -0.00977406743913889, -0.2987380921840668, 0.44472527503967285, 0.39026039838790894, 1.0477478504180908, -0.13334983587265015, 0.1814105361700058, 0.3751221299171448, -0.7285652756690979, 0.2810363471508026, -0.08845183253288269, 0.2509467601776123, -0.4577938914299011, 0.28435540199279785, 0.32661157846450806, 0.1051134318113327, -0.6451922655105591, 0.6867018342018127, -0.2501137852668762, -0.34821510314941406, -0.5814359188079834, -0.009721259586513042, 0.23506489396095276, 0.37175875902175903, 0.24981360137462616, -0.19492435455322266, -0.11500026285648346, -0.6209964752197266, 0.20362168550491333, 0.37960106134414673, -0.3885840177536011, -0.45639628171920776, 0.21458925306797028, 0.08584246784448624, -0.22942610085010529, 0.45675477385520935, -0.310960978269577, -0.2684783637523651, 0.8749055862426758, 0.5013943910598755, 0.39031246304512024, -0.33600035309791565, 0.3682253658771515, 0.40170764923095703, 0.7403052449226379, -0.33398935198783875, 0.34297677874565125, 0.21399424970149994, -1.1091153621673584, -0.7053705453872681, -0.40177029371261597, -0.47119274735450745, 0.30342647433280945, -0.5146888494491577, 0.3080255091190338, -0.37981292605400085, -0.0263772364705801, 0.16891679167747498, 0.30968356132507324, -0.6602710485458374, -0.024764183908700943, -0.10308288037776947, 0.6802356839179993, -1.3945680856704712, 0.85145503282547, 0.7569660544395447, -0.20919586718082428, -0.8265184760093689, -0.23001162707805634, 0.17640990018844604, -0.9580762386322021, 0.44867458939552307, 0.07241358608007431, -0.1949523240327835, 0.1403144896030426, -0.9928973913192749, -0.6203752160072327, 0.7270439267158508, 0.22027422487735748, -0.25490567088127136, 0.14343461394309998, -0.021863089874386787, 0.522780179977417, -0.3287985622882843, -0.023398110643029213, 0.6910022497177124, 0.6528810858726501, -0.005857269279658794, -0.9428401589393616, -0.043704986572265625, -0.39275068044662476, -0.12189333140850067, 0.0001257467083632946, -0.5771849751472473, 0.8949398398399353, -0.1628645956516266, -0.10581117123365402, -0.14300480484962463, 0.6862208843231201, 0.1839187741279602, 0.43252313137054443, 0.6941823959350586, 0.15155483782291412, 0.7897552847862244, 0.09499156475067139, 0.6336246132850647, -0.024327769875526428, 0.4679114520549774, 0.8611445426940918, -0.5876652002334595, 0.6220361590385437, 0.17799484729766846, -0.2456783652305603, -0.062474146485328674, 0.573412299156189, 0.2692740261554718, -0.20590439438819885, 0.3777230381965637, -0.16208234429359436, -0.6500869393348694, -0.29941314458847046, -0.29924213886260986, 0.5024417042732239, 0.4841548800468445, 0.035473331809043884, -0.10796628147363663, -0.14424164593219757, 0.38346871733665466, 0.2826882600784302, -0.3739529848098755, 0.6884584426879883, -0.037089649587869644, -0.255776047706604, 0.4213251769542694, -0.022629264742136, 0.4241846203804016, -0.3247002065181732, -0.0723608136177063, -0.2029457539319992, 0.19439512491226196, 0.054452188313007355, -1.0464729070663452, 0.12924815714359283, 0.09641668945550919, 0.14593812823295593, -0.00893798004835844, 0.651496171951294, -0.34723636507987976, -0.44217783212661743, 0.3640715181827545, 0.6504948735237122, 0.3541664481163025, -0.06284362077713013, -0.27121973037719727, 0.21735629439353943, -0.2962857186794281, 0.008797990158200264, 0.1665482074022293, 0.7852683663368225, -0.19366440176963806, 0.5587857961654663, 0.5496081709861755, 0.024452878162264824, 0.1261039674282074, 0.10781652480363846, 0.752156138420105, -0.38862499594688416, -0.2843863070011139, -0.8611310124397278, 0.28107017278671265, -0.37422120571136475, -0.427129328250885, 0.7099122405052185, 0.36650601029396057, 0.8119233846664429, 0.09980923682451248, 0.6599452495574951, -0.05781262367963791, 0.4274497330188751, -0.1135723814368248, 0.6685686111450195, -0.4878765642642975, -0.08233797550201416, -0.4167076647281647, -0.7101085186004639, -0.25121942162513733, 0.8483263254165649, -0.5976005792617798, 0.05444726347923279, 0.30433398485183716, 1.0216668844223022, -0.14146991074085236, 0.013665969483554363, 0.6447436809539795, 0.2759999632835388, 0.4548294246196747, 0.3872112035751343, 0.9295610785484314, -0.15080727636814117, 0.33675944805145264, 0.11602848768234253, -0.5318278074264526, -0.23947012424468994, -0.7311943173408508, -1.2256873846054077, -0.8391230702400208, -0.16655895113945007, -0.437808632850647, 0.26373523473739624, 1.215268850326538, 0.7168839573860168, -0.4205285906791687, -0.6364100575447083, 0.32773590087890625, 0.2915150821208954, -0.21376948058605194, -0.22257351875305176, -0.00501996511593461, -0.43865618109703064, -0.5759092569351196, 0.2634715437889099, 0.04780593141913414, -0.03736655414104462, -0.2914947271347046, -0.2391531616449356, -0.32282862067222595, 0.3169822096824646, 0.7557363510131836, 0.1509561687707901, -0.3282521367073059, -0.7836635708808899, 0.23306268453598022, -0.2259267270565033, 0.02752302773296833, 0.6357244253158569, -0.002685056533664465, -0.03546585142612457, 0.407517671585083, 0.5098552107810974, 0.2698017954826355, -0.4075995981693268, 0.34527674317359924, -0.706387996673584, 0.02530079334974289, -0.041091691702604294, 0.4694575071334839, 0.30957362055778503, -0.3005109131336212, 0.49175864458084106, 0.13220767676830292, -0.7382802367210388, -0.8166126012802124, 0.34052833914756775, -0.7709453105926514, -0.1337234079837799, 1.3012484312057495, -0.013523466885089874, -0.27112337946891785, -0.5953991413116455, -0.11084891855716705, 0.19547341763973236, -0.6284391283988953, 0.6912116408348083, 0.8981719017028809, 0.42758509516716003, -0.24306821823120117, -0.7791235446929932, 0.33442384004592896, -0.05983490124344826, -0.6096410751342773, 0.4328961968421936, 0.6210454106330872, 0.18486490845680237, -0.022426044568419456, 0.8893650770187378, -0.2572406530380249, 0.2595728039741516, -0.28550776839256287, 0.05997254699468613, 0.1380797028541565, -0.3997487425804138, -0.1807132214307785, 0.15917660295963287, 0.3189106583595276, 0.28148943185806274 ]
http://arxiv.org/abs/2404.02490v1
http://arxiv.org/pdf/2404.02490v1
Enhancing Cross-lingual Sentence Embedding for Low-resource Languages with Word Alignment
2024-04-03T05:58:53
2024-04-03T05:58:53
Zhongtao Miao, Qiyu Wu, Kaiyan Zhao, Zilong Wu, Yoshimasa Tsuruoka
cs.CL
cs.CL
The field of cross-lingual sentence embeddings has recently experienced significant advancements, but research concerning low-resource languages has lagged due to the scarcity of parallel corpora. This paper shows that cross-lingual word representation in low-resource languages is notably under-aligned with that in high-resource languages in current models. To address this, we introduce a novel framework that explicitly aligns words between English and eight low-resource languages, utilizing off-the-shelf word alignment models. This framework incorporates three primary training objectives: aligned word prediction and word translation ranking, along with the widely used translation ranking. We evaluate our approach through experiments on the bitext retrieval task, which demonstrate substantial improvements on sentence embeddings in low-resource languages. In addition, the competitive performance of the proposed model across a broader range of tasks in high-resource languages underscores its practicality.
[ -0.0034536649473011494, -0.4625505805015564, 0.5527300834655762, 0.08407291024923325, -0.3114737570285797, 0.3458401560783386, -0.31415483355522156, -0.5040704607963562, 0.5654131770133972, 0.2488085776567459, -0.27604979276657104, -0.2701900005340576, -0.5346717238426208, 0.055489979684352875, -0.04471362382173538, 0.5809522867202759, -0.220493882894516, 0.18235109746456146, -0.2803494930267334, -0.6060593724250793, -0.7180489301681519, -0.10998953133821487, -0.08682408183813095, -0.3624459505081177, 0.5431327223777771, 0.41813382506370544, 1.2413889169692993, 0.9371510744094849, 0.4551529884338379, 0.2463335394859314, 0.0724920853972435, 0.12816478312015533, -0.5241126418113708, -0.16404090821743011, -0.4211786687374115, -0.4433332085609436, -0.1830957680940628, -0.24078765511512756, 0.6518420577049255, 0.9858210682868958, -0.18280594050884247, -0.1593860536813736, 0.19098061323165894, 0.28896400332450867, -0.7493820786476135, -0.16014105081558228, -0.5039837956428528, 0.112116739153862, -0.4216352701187134, -0.02065199241042137, -0.24757857620716095, -0.24806596338748932, 0.2490282654762268, -0.7668036818504333, -0.3116128444671631, 0.5221371054649353, 0.8196810483932495, 0.13259756565093994, -0.25791794061660767, -0.0963943600654602, -0.23686020076274872, 1.017579436302185, -0.5278474688529968, 0.7268350720405579, 0.13030309975147247, -0.0851428359746933, 0.37307795882225037, -0.3780774474143982, -0.3198413550853729, 0.04043865576386452, -0.15869221091270447, 0.0596156120300293, -0.22413845360279083, -0.08653558790683746, -0.12014538794755936, 0.2556547224521637, -0.7041635513305664, 0.4944324493408203, -0.09001173824071884, -0.20733439922332764, 0.4142972528934479, 0.1102178767323494, 0.6130061149597168, -0.20672079920768738, -0.7045177221298218, -0.056517165154218674, -0.8210457563400269, -0.07306204736232758, 0.3278842270374298, 0.7258538007736206, -0.23552176356315613, 0.8693286776542664, 0.20988045632839203, 0.6960195899009705, -0.09968646615743637, 0.1758488267660141, 0.29591628909111023, -0.5306735038757324, -0.021659905090928078, 0.5673053860664368, 0.7205348014831543, 0.45260292291641235, -0.029632139950990677, -0.45473480224609375, -0.34593909978866577, 0.23235377669334412, 0.13902896642684937, -0.590177595615387, 0.15014414489269257, -0.07895105332136154, -0.33262306451797485, -0.2173725813627243, -0.20025169849395752, -0.5904350876808167, -0.3464181423187256, -0.08094821125268936, 0.4711398184299469, -0.5940580368041992, -0.333912193775177, 0.29157090187072754, -0.03458359092473984, 0.09498666226863861, -0.08683593571186066, -0.9377395510673523, 0.29046353697776794, 0.7556860446929932, 0.9870626330375671, -0.26714497804641724, -0.438114732503891, -0.6825385689735413, 0.2916911244392395, -0.5292759537696838, 0.5830031633377075, -0.8745042681694031, -0.16954998672008514, 0.3465815484523773, 0.04180636256933212, -0.08898758143186569, -0.36176368594169617, 0.3971424400806427, -0.47294238209724426, 0.35418227314949036, -0.4076548218727112, -0.6572901606559753, -0.0008171358495019376, 0.31438663601875305, -0.5526408553123474, 1.0092440843582153, 0.22745323181152344, -0.922471284866333, 0.2559255063533783, -0.4753465950489044, -0.5017666816711426, 0.20712873339653015, -0.1939368098974228, -0.07163688540458679, 0.18526487052440643, 0.23821516335010529, 0.10494748502969742, -0.48151132464408875, 0.030330276116728783, -0.2297540158033371, -0.49923810362815857, 0.03086841106414795, -0.16315065324306488, 0.8004884719848633, 0.12072305381298065, -0.25167471170425415, -0.10888200998306274, -0.20224972069263458, 0.2767431139945984, 0.10269605368375778, -0.20232106745243073, -0.88228440284729, -0.36399251222610474, 0.2697555422782898, 0.13028712570667267, 0.5600506663322449, -0.8648973107337952, 0.23334847390651703, -0.6626331210136414, 0.3505000174045563, 0.36839187145233154, -0.33960726857185364, 0.884614109992981, -0.2291286736726761, 0.7570395469665527, 0.1311187893152237, -0.2307097166776657, 0.07176340371370316, -0.29935818910598755, -0.32346153259277344, -0.029247356578707695, 0.6335484981536865, 0.7587380409240723, -0.9797644019126892, 0.3920014798641205, -0.6025062799453735, -0.20853687822818756, -1.0374772548675537, 0.44770684838294983, 0.673937976360321, 0.20426024496555328, 0.5490080714225769, -0.358224481344223, -0.5375256538391113, -0.8860620856285095, -0.29646068811416626, 0.04611746966838837, 0.23623040318489075, 0.1721881628036499, 0.07463391125202179, -0.2752653658390045, 0.870361328125, -0.4812413156032562, -0.2655624747276306, -0.511907160282135, 0.11103803664445877, -0.25103309750556946, 0.4613000750541687, 0.47286778688430786, -0.769505500793457, -0.48538100719451904, 0.20615628361701965, -0.4738915264606476, -0.12704047560691833, 0.16041171550750732, -0.4141269028186798, 0.306883841753006, 0.5139549970626831, -0.4282267391681671, -0.0076654343865811825, 0.8659788370132446, -0.3882039487361908, 0.0064652832224965096, -0.16031013429164886, 0.03503938391804695, -1.3019291162490845, 0.07754381746053696, 0.004341801628470421, -0.29555413126945496, -0.21867427229881287, 0.012529193423688412, 0.16660764813423157, -0.3004220426082611, -0.5720251202583313, 0.6186162233352661, -0.640447735786438, -0.1911451369524002, -0.26324939727783203, 0.702790379524231, 0.151203453540802, 0.3111978769302368, 0.2452014684677124, 0.6900957822799683, 0.26371827721595764, -0.012475988827645779, 0.24017581343650818, 0.4620693325996399, -0.48248860239982605, 0.6231316924095154, -0.5606071949005127, -0.21524979174137115, 0.12637408077716827, -0.1537737101316452, -0.65444016456604, 0.1784314513206482, 0.009881441481411457, -0.11213620752096176, 0.34462493658065796, -0.09373310208320618, -0.3849680423736572, -0.0295207928866148, -0.28310951590538025, 0.7384274005889893, 0.3840247392654419, -0.4714033901691437, 0.34216248989105225, 0.6832154989242554, -0.12980329990386963, -0.8134788870811462, -0.9366137385368347, -0.03642010688781738, -0.14518119394779205, -0.5764159560203552, 0.7660516500473022, 0.3307279646396637, -0.22071461379528046, 0.41831278800964355, -0.004063938278704882, 0.20302791893482208, -0.18455512821674347, -0.24458785355091095, 0.3506130874156952, -0.5177184343338013, 0.23660703003406525, -0.06444457173347473, 0.055698346346616745, -0.3859129548072815, -0.4962572157382965, 0.47467365860939026, -0.07887157052755356, -0.3244628608226776, 0.12361371517181396, 0.6189361810684204, 0.1645844578742981, -0.41371312737464905, 0.6950290203094482, 0.6937727332115173, -0.5747004151344299, -0.009120786562561989, -0.4412805140018463, 0.06905896216630936, -0.4438062310218811, 0.39317604899406433, -0.1834927201271057, -0.918632984161377, 0.254714697599411, -0.009495844133198261, -0.0285610631108284, 0.2794024646282196, 0.3188317120075226, 0.12440919131040573, 1.0165897607803345, 1.1294492483139038, -0.25172924995422363, 0.4895068407058716, 0.08688478171825409, 0.3957099914550781, -0.8090394139289856, 0.09414076060056686, -0.26378321647644043, -0.49619612097740173, -0.9040665626525879, -0.5515921115875244, 0.053636372089385986, 0.18112514913082123, -0.13318626582622528, 0.8284947276115417, -0.33062613010406494, 0.3686988949775696, 0.46724435687065125, -0.1985418051481247, 0.023378126323223114, -0.10363128036260605, -0.6928255558013916, -0.2650212347507477, -0.9730892777442932, -0.38328248262405396, 0.496112197637558, 0.10574591159820557, 0.8062318563461304, 0.22349980473518372, 0.9191510081291199, 0.13495564460754395, -0.02947731874883175, -0.829498291015625, 0.3701605796813965, -0.4158581495285034, -0.44012272357940674, -0.30564379692077637, -0.35648995637893677, -1.0321125984191895, 0.2756485939025879, -0.30290696024894714, -0.7812594771385193, 0.27230149507522583, -0.11345533281564713, -0.5794687271118164, 0.32150033116340637, -0.8783043622970581, 1.3421120643615723, -0.49610328674316406, -0.5839449167251587, -0.3163129687309265, -0.41740816831588745, 0.06811100989580154, 0.045701149851083755, 0.27333006262779236, -0.11040689796209335, -0.40211182832717896, 0.6187259554862976, -0.4325944781303406, 0.6952203512191772, -0.14475572109222412, -0.19563372433185577, 0.2346252053976059, 0.02140960656106472, 0.41001394391059875, -0.22380214929580688, 0.04504011198878288, -0.04047439247369766, 0.16520017385482788, -0.561465322971344, -0.46212807297706604, 0.9492633938789368, -0.5022749304771423, -0.5119441747665405, -0.4406316876411438, -0.7538892030715942, -0.4383672773838043, 0.30736932158470154, 0.2592218816280365, 0.31282705068588257, -0.41231682896614075, 0.20145267248153687, 0.40567997097969055, -0.4229303002357483, 0.46334221959114075, 0.4090655446052551, -0.19602179527282715, -0.4986349642276764, 1.0427849292755127, 0.2303062379360199, 0.16730442643165588, 0.78385329246521, 0.25987473130226135, -0.5448896884918213, -0.07958268374204636, -0.5842968225479126, 0.21738311648368835, -0.4317428767681122, -0.3208075165748596, -0.5702077150344849, 0.11355245113372803, -0.48755279183387756, -0.49908122420310974, -0.4762588441371918, -0.45185282826423645, 0.023999104276299477, 0.03184033930301666, 0.2293819785118103, 0.37244370579719543, -0.18210163712501526, 0.2190784364938736, -1.0401556491851807, 0.012662284076213837, -0.13805153965950012, 0.40189212560653687, -0.1393916755914688, -0.3369901776313782, -0.6605843901634216, 0.03291937708854675, -0.2395855039358139, -0.6247893571853638, 0.32474541664123535, 0.12666216492652893, 0.5059593915939331, 0.275340735912323, 0.19124096632003784, 0.8091762065887451, -0.7324591279029846, 0.6215627789497375, 0.43229401111602783, -1.041317105293274, 0.3464209735393524, -0.13707426190376282, 0.47874459624290466, 0.4559310972690582, 0.5625402331352234, -0.8632807731628418, -0.26812082529067993, -0.4350907504558563, -0.8191429376602173, 0.6108797192573547, -0.05927570164203644, 0.18188272416591644, -0.0741143450140953, -0.25838392972946167, 0.0984678640961647, 0.05157787352800369, -0.6598962545394897, 0.21918046474456787, -0.10940995812416077, -0.6325991749763489, -0.1158825159072876, -0.16471320390701294, -0.16950644552707672, 0.046841397881507874, 0.7068763375282288, -0.25251469016075134, 0.13202254474163055, -0.06744695454835892, -0.47335806488990784, -0.32285556197166443, 0.3007209002971649, 0.20456254482269287, 0.3971967101097107, 0.010924241505563259, 0.09811587631702423, 0.19675132632255554, -0.26283136010169983, 0.16037993133068085, 0.43824973702430725, -0.0653417706489563, -0.0392443984746933, 0.4355428218841553, 0.6720280647277832, 0.8075191974639893, -0.7069666385650635, 0.7330820560455322, 0.2513326108455658, 0.2746555805206299, 0.0929637923836708, -0.36905375123023987, 0.3755249083042145, 0.4393380582332611, -0.02339901030063629, -0.09032265096902847, -0.10800821334123611, -0.5898211002349854, 0.11370757222175598, 0.5864472985267639, -0.4648081064224243, -0.20742428302764893, 0.6796172857284546, 0.30622541904449463, -0.16528314352035522, 0.4686981737613678, -0.24295765161514282, -0.6985476016998291, 0.10691572725772858, 0.6548208594322205, 0.6907880306243896, -0.0202782079577446, 0.22061334550380707, 0.16375693678855896, 0.36124181747436523, -0.19637992978096008, 0.45631083846092224, 0.0752706304192543, -0.9439783096313477, -0.45643988251686096, -0.7041274309158325, -0.4372878074645996, -0.3596440851688385, -0.6317849159240723, 0.4297398626804352, 0.08452331274747849, -0.10640723258256912, -0.13081562519073486, 0.2424105703830719, -0.7210996150970459, -0.07164683192968369, 0.45497840642929077, 0.8546134233474731, -0.9336084127426147, 0.9057655334472656, 0.8425292372703552, -0.4453479051589966, -0.6488045454025269, 0.07607895135879517, -0.0005018474184907973, -0.9600037336349487, 0.48079782724380493, 0.194965198636055, -0.20341332256793976, 0.05017827823758125, -0.0020121873822063208, -1.076822280883789, 1.0082324743270874, 0.6479832530021667, -0.667763888835907, -0.21420682966709137, 0.3146723210811615, 0.5084869265556335, -0.4803280532360077, -0.072248175740242, 0.2469099760055542, 0.2739853262901306, -0.26338618993759155, -0.8409764766693115, 0.2033996731042862, -0.10486466437578201, 0.36668792366981506, 0.3897973299026489, -0.5298189520835876, 0.36390963196754456, -0.18348830938339233, -0.4206761121749878, 0.07368938624858856, 0.725977897644043, 0.05660930275917053, -0.06894537061452866, 0.5303534865379333, 0.8977229595184326, 0.6085612177848816, -0.18968795239925385, 0.9245520830154419, -0.6010175347328186, 0.058636851608753204, 1.0944470167160034, -0.584669291973114, 1.0552780628204346, 0.5940424799919128, 0.06830092519521713, 0.559386670589447, 0.5993928909301758, 0.09393907338380814, 0.8535690903663635, -0.03194386884570122, -0.03812812641263008, -0.3682883083820343, -0.5875170826911926, -0.2596709728240967, 0.574918270111084, 0.18380200862884521, -0.20832815766334534, -0.1813945174217224, 0.1607145071029663, -0.205292746424675, 0.3134891390800476, -0.3148971498012543, 0.4999181032180786, 0.18262676894664764, -0.7696160078048706, 0.6142021417617798, 0.06498978286981583, 0.9629660844802856, -0.3546839654445648, 0.21281257271766663, -0.1567746102809906, 0.3363909125328064, -0.11423812806606293, -0.7347872257232666, 0.2746654748916626, -0.029313841834664345, 0.044608164578676224, -0.42643916606903076, 0.5117537975311279, -1.0121055841445923, -0.461180716753006, 0.6841017007827759, 0.835568368434906, -0.11506015807390213, 0.43640586733818054, -0.6896219253540039, 0.1423483043909073, -0.2551436722278595, 0.08125082403421402, 0.3891371786594391, 0.6890867352485657, -0.057313501834869385, 0.19256475567817688, 0.14994187653064728, 0.186525359749794, -0.08433390408754349, 0.08030873537063599, 0.5758489370346069, -0.6379615664482117, -0.747202455997467, -0.6748251914978027, 0.23972290754318237, -0.017610866576433182, -0.34392374753952026, 0.4863867163658142, 0.7918301820755005, 1.1201404333114624, 0.1686733514070511, 0.6444017887115479, -0.15928761661052704, 0.43027564883232117, -0.564936101436615, 0.5100098848342896, -0.9041534662246704, -0.008091206662356853, -0.18487131595611572, -0.9683825373649597, -0.011623969301581383, 0.3921072483062744, -0.38240018486976624, -0.22560489177703857, 0.7778047323226929, 0.6855030655860901, -0.35877665877342224, -0.12962090969085693, 0.40846335887908936, -0.12490881979465485, -0.21424970030784607, 0.631644070148468, 0.5451271533966064, -0.4165964722633362, 0.7790235877037048, -0.41070663928985596, 0.12111107259988785, -0.1467280238866806, -0.8957089185714722, -0.5031570196151733, -0.5208021998405457, -0.4095912277698517, -0.22816626727581024, 0.10931587964296341, 1.1962493658065796, 0.3877663314342499, -0.6738536357879639, -0.3040425479412079, 0.1312265247106552, 0.048572130501270294, -0.4784449338912964, -0.20282289385795593, 0.245733380317688, -0.4720500409603119, -0.8195176720619202, 0.5731788277626038, 0.31072837114334106, -0.023101642727851868, -0.23092402517795563, -0.2144097089767456, -0.641667902469635, -0.012783540412783623, 0.43083322048187256, 0.25591912865638733, -0.6741265058517456, -0.4113122522830963, 0.2446044236421585, -0.580928385257721, 0.11864320933818817, 0.7414289116859436, -0.6514537930488586, 0.34796759486198425, 0.5225926637649536, 1.0564944744110107, 0.042796339839696884, -0.04091529920697212, 0.9733068346977234, -1.0490185022354126, 0.18529188632965088, 0.2984102964401245, 0.8091095089912415, 0.7847915291786194, -0.2629735469818115, 0.4973362684249878, 0.12879343330860138, -0.25147294998168945, -0.8594350814819336, 0.1584194004535675, -0.6511737108230591, -0.16941234469413757, 1.0797063112258911, -0.2082490175962448, -0.21961161494255066, 0.22157424688339233, 0.10583434253931046, 0.3963683247566223, -0.19277819991111755, 0.5217859745025635, 0.9015479683876038, 0.23206976056098938, -0.1967533379793167, -0.2766849994659424, 0.3874050974845886, 0.7154132127761841, -0.43012580275535583, 0.12851554155349731, 0.3281143009662628, 0.045617226511240005, 0.47826477885246277, 0.30241167545318604, -0.15119796991348267, 0.16019907593727112, -0.023453308269381523, 0.062364768236875534, 0.2416660487651825, 0.13397325575351715, -0.2778894901275635, -0.07938069850206375, -0.005309184547513723, -0.2883793115615845 ]
http://arxiv.org/abs/2404.02489v1
http://arxiv.org/pdf/2404.02489v1
DUQGen: Effective Unsupervised Domain Adaptation of Neural Rankers by Diversifying Synthetic Query Generation
2024-04-03T05:50:42
2024-04-03T05:50:42
Ramraj Chandradevan, Kaustubh D. Dhole, Eugene Agichtein
cs.IR
cs.IR, cs.CL
State-of-the-art neural rankers pre-trained on large task-specific training data such as MS-MARCO, have been shown to exhibit strong performance on various ranking tasks without domain adaptation, also called zero-shot. However, zero-shot neural ranking may be sub-optimal, as it does not take advantage of the target domain information. Unfortunately, acquiring sufficiently large and high quality target training data to improve a modern neural ranker can be costly and time-consuming. To address this problem, we propose a new approach to unsupervised domain adaptation for ranking, DUQGen, which addresses a critical gap in prior literature, namely how to automatically generate both effective and diverse synthetic training data to fine tune a modern neural ranker for a new domain. Specifically, DUQGen produces a more effective representation of the target domain by identifying clusters of similar documents; and generates a more diverse training dataset by probabilistic sampling over the resulting document clusters. Our extensive experiments, over the standard BEIR collection, demonstrate that DUQGen consistently outperforms all zero-shot baselines and substantially outperforms the SOTA baselines on 16 out of 18 datasets, for an average of 4% relative improvement across all datasets. We complement our results with a thorough analysis for more in-depth understanding of the proposed method's performance and to identify promising areas for further improvements.
[ -0.2756539285182953, -0.3934439420700073, 0.4033834636211395, 0.012354278936982155, -0.20036399364471436, 0.4341355860233307, -0.303416907787323, 0.0020622427109628916, 0.15192924439907074, 0.45475858449935913, -0.473784476518631, -0.6683642864227295, -0.6337248086929321, -0.03953632339835167, -0.1900346875190735, 1.0079243183135986, 0.2601027488708496, 0.14534525573253632, -0.37163716554641724, -0.2127043604850769, -0.573808491230011, -0.4853053092956543, -0.5743170380592346, -0.15234917402267456, 0.4817299544811249, 0.4232179820537567, 0.3678823709487915, 0.17862392961978912, 0.4820410907268524, 0.28452715277671814, 0.2771141231060028, 0.4305025637149811, -1.0325927734375, 0.3219318687915802, -0.5200429558753967, -0.46960997581481934, -0.27848953008651733, -0.11130638420581818, 0.7564924955368042, 0.8738632202148438, 0.002365338383242488, -0.04046783968806267, 0.09199526906013489, 1.0314037799835205, -0.8086576461791992, -0.2830964922904968, -1.0519384145736694, 0.033291466534137726, -0.11548132449388504, -0.5847119092941284, -0.402626633644104, -0.2247484177350998, -0.043865401297807693, -0.8483446836471558, 0.4248667061328888, -0.03984605893492699, 0.44617658853530884, 0.38662824034690857, -0.6641901731491089, 0.4131389558315277, -0.7099654674530029, 0.8594136238098145, -0.3986845016479492, 0.11924787610769272, -0.0387519896030426, 0.6090008616447449, -0.3932913839817047, -0.8529362082481384, -0.41726958751678467, 0.1647004336118698, 0.11981088668107986, 0.5577628016471863, -0.26886117458343506, -0.19131341576576233, 0.13943761587142944, 0.3550828695297241, -0.8190042972564697, -0.0006603674846701324, -0.3714977502822876, 0.06363614648580551, 0.9945166110992432, 0.02891654148697853, 0.1180526539683342, 0.169502392411232, -0.40049949288368225, -0.20719315111637115, -0.6225416660308838, -0.08052874356508255, 0.19074226915836334, 0.2992197275161743, 0.3650750517845154, 0.2043653279542923, -0.6272615194320679, 0.6653099060058594, 0.3582843244075775, 0.41094130277633667, 0.3449600338935852, -0.24929501116275787, -0.19497619569301605, 0.1299869269132614, 0.5104494094848633, 0.6133634448051453, 0.2888413071632385, -0.4180661737918854, -0.014961295761168003, -0.2798183858394623, 0.5834246873855591, -0.981214165687561, -0.43408647179603577, 0.29681938886642456, -0.33334365487098694, -0.3399195671081543, 0.0838555097579956, -0.6662280559539795, -0.460825115442276, -0.2264433652162552, 0.7664901614189148, -0.31794241070747375, 0.004553573206067085, 0.23355282843112946, -0.413754403591156, 0.18374545872211456, 0.3602520525455475, -0.848186194896698, 0.14072848856449127, 0.3354301154613495, 0.5786859393119812, -0.7763471603393555, -0.35438966751098633, -0.500615656375885, 0.10548341274261475, -0.4854607582092285, 0.9866074919700623, -0.45770737528800964, -0.4576641023159027, -0.09082170575857162, 0.15587450563907623, -0.44382187724113464, -0.6810829639434814, 0.4118049442768097, -0.8098835349082947, 0.2527651786804199, -0.11079324781894684, -0.47805002331733704, -0.12519097328186035, 0.16562022268772125, -0.44151437282562256, 1.0148104429244995, 0.47909051179885864, -0.40955427289009094, 0.38376882672309875, -0.7674041390419006, -0.30269956588745117, 0.12857170403003693, -0.06291475147008896, -0.14663231372833252, 0.3660404682159424, 0.32775425910949707, 0.20309986174106598, -0.2692200541496277, -0.09368348121643066, -0.08567123860120773, -0.4272969961166382, 0.1275106966495514, -0.09007495641708374, 0.7843708395957947, 0.031047943979501724, -0.2886088788509369, 0.19173118472099304, -0.7188320755958557, 0.4506363570690155, 0.35076606273651123, -0.17678353190422058, -0.4841371178627014, -0.18064914643764496, -0.29232972860336304, -0.05080847069621086, -0.03854543715715408, -0.6234502792358398, 0.6427904963493347, -0.5381006002426147, 0.13181087374687195, 0.48237767815589905, 0.235152468085289, 0.8235397338867188, -0.3524205982685089, 0.391417533159256, -0.029774947091937065, 0.10339079052209854, 0.0947004109621048, -0.23676376044750214, -0.7986708879470825, -0.110559843480587, 0.9811148047447205, 0.4161169230937958, -0.8422877788543701, 0.4756181240081787, -0.5578967332839966, -0.5226121544837952, -0.3481603264808655, 0.09994511306285858, 0.15349610149860382, 0.28188958764076233, 0.5231552720069885, -0.588749349117279, -0.4676339626312256, -0.6882415413856506, -0.346279501914978, 0.2845837473869324, -0.2651910185813904, 0.34354257583618164, 0.36932113766670227, -0.060332782566547394, 0.6160354614257812, -0.8476530313491821, -0.516097366809845, -0.2649115025997162, 0.3079235851764679, 0.21015389263629913, 0.4951251447200775, 0.7168148159980774, -0.8005543351173401, -0.7257584929466248, -0.1250966489315033, -0.6712396740913391, 0.021645154803991318, -0.2834072709083557, -0.7144002914428711, 0.0897231325507164, 0.4657191336154938, -0.4282095432281494, 0.32234451174736023, 0.40130704641342163, -0.10255777835845947, 0.12811671197414398, -0.2697537839412689, 0.21182285249233246, -1.0603190660476685, -0.05392412096261978, -0.2979612350463867, -0.07783734798431396, -0.7434618473052979, -0.11621411889791489, 0.04072975739836693, -0.1377180963754654, -0.3608124554157257, 0.47864386439323425, -0.41991522908210754, 0.019020436331629753, -0.40830880403518677, 0.06670570373535156, 0.15986862778663635, 0.675292432308197, -0.07895275950431824, 0.7724865078926086, 0.552099347114563, -0.4908788204193115, 0.15714934468269348, 0.5259377956390381, -0.21263308823108673, 0.5440196990966797, -0.5738287568092346, 0.13818076252937317, -0.1226714551448822, 0.2623995244503021, -1.0452896356582642, -0.03196408227086067, -0.030307885259389877, -0.6831307411193848, 0.42485129833221436, -0.4092274606227875, -0.3160775303840637, -0.05769099295139313, -0.4041077792644501, 0.48370423913002014, 0.6479793190956116, -0.7857953310012817, 0.5110462307929993, 0.3366129994392395, -0.2245408147573471, -0.4068184494972229, -0.33426523208618164, 0.11351773887872696, 0.058780014514923096, -0.6812871098518372, 1.081020712852478, -0.14700502157211304, 0.191602885723114, -0.10455886274576187, -0.3292807936668396, -0.10435029864311218, 0.09925366938114166, 0.08303622156381607, 0.155961275100708, -0.3171985447406769, 0.11972623318433762, 0.13544464111328125, -0.07483810186386108, -0.1255434900522232, -0.6669076681137085, 0.31355729699134827, 0.274127334356308, -0.28221118450164795, 0.02862836793065071, 0.2819697856903076, 0.5028392672538757, -0.32859379053115845, 0.5757916569709778, 0.4453921318054199, -0.1369587630033493, -0.9890704154968262, -0.15272800624370575, -0.18957534432411194, -0.45979997515678406, 0.10862048715353012, -0.12950482964515686, -0.779970109462738, 0.08497577905654907, -0.4648503065109253, -0.024741649627685547, 0.5982950329780579, 0.481422483921051, -0.251699298620224, 1.0319812297821045, 0.7248836159706116, 0.12535309791564941, 0.40663230419158936, -0.5520950555801392, 0.19756606221199036, -0.7563644051551819, -0.29344454407691956, -0.23355507850646973, -0.742570161819458, -0.7912865877151489, -0.5782062411308289, 0.4222884476184845, 0.01466616615653038, -0.06606496870517731, 0.2761249244213104, -0.773147463798523, 0.5739583969116211, 0.7540789842605591, -0.06166712939739227, 0.2718702554702759, 0.3529827892780304, -0.06653793156147003, 0.03350900113582611, -0.8057465553283691, 0.11575140058994293, 1.4319640398025513, -0.2997671663761139, 0.5494489073753357, 0.12612806260585785, 0.6960482597351074, 0.5409757494926453, 0.015150375664234161, -0.7769495844841003, 0.29386964440345764, -0.556869626045227, -0.4700269401073456, -0.4339028298854828, -0.4011194705963135, -1.2070635557174683, 0.6330748200416565, -0.23916161060333252, -0.3394608199596405, 0.6231971383094788, -0.09283727407455444, -0.6662953495979309, -0.005114041734486818, -0.47221609950065613, 0.9923367500305176, -0.5157995223999023, -0.3936936855316162, 0.029064184054732323, -0.4805661141872406, 0.18722578883171082, -0.41706565022468567, -0.4100949168205261, -0.16818541288375854, 0.050138358026742935, 0.6782364249229431, -0.25782230496406555, 0.4720063805580139, -0.21709297597408295, 0.3461315929889679, 0.1482933908700943, -0.054997749626636505, 0.2281116098165512, -0.04283978417515755, -0.1836378127336502, 0.27108922600746155, 0.03894982486963272, -0.6349897384643555, -0.9629852175712585, 0.8107922077178955, -0.7294843792915344, -0.6144940257072449, -0.4866439700126648, -0.6587062478065491, -0.5467577576637268, 0.4219297766685486, 0.29084327816963196, 0.16267111897468567, -0.37838420271873474, 0.5487268567085266, 0.6532545685768127, -0.24532826244831085, 0.24650955200195312, 0.6527109146118164, 0.034761060029268265, -0.4753657579421997, 1.0413696765899658, 0.15303198993206024, -0.07209625840187073, 0.5235815048217773, -0.0763576552271843, -0.37518563866615295, -1.0340991020202637, -0.4502767026424408, 0.0033538753632456064, -0.45451316237449646, -0.4128199815750122, -0.6678624749183655, -0.5389859080314636, -0.4737798273563385, -0.20428355038166046, -0.17811933159828186, -0.8100284934043884, -0.07887028157711029, 0.11911850422620773, 0.25325852632522583, 0.21362441778182983, -0.0019685823936015368, 0.373528391122818, -0.670529305934906, 0.3960154354572296, 0.40033188462257385, 0.28931841254234314, -0.3567788898944855, -0.8435574769973755, -0.10257218778133392, -0.13594084978103638, -0.3947644829750061, -0.39736562967300415, 0.5894967913627625, 0.5053034424781799, 0.8652273416519165, 0.02900887094438076, 0.49518388509750366, 0.4716779291629791, -0.5011149048805237, 0.6149040460586548, -0.02526288852095604, -0.4937904179096222, 0.627669632434845, -0.4505501389503479, 0.42981886863708496, 0.9849666953086853, 0.5641507506370544, -0.19518615305423737, 0.11594568192958832, -0.5658947825431824, -0.9289935231208801, 0.7938411235809326, 0.3773886263370514, 0.27178654074668884, 0.2670729160308838, 0.2993667721748352, 0.14765572547912598, 0.20403967797756195, -0.20374152064323425, -0.2549020051956177, -0.4183436632156372, -0.014739478006958961, -0.1246408075094223, 0.0007007871172390878, -0.18565930426120758, -0.35560342669487, 0.6674819588661194, -0.38376384973526, 0.20251427590847015, 0.15158632397651672, -0.32213449478149414, -0.10324998944997787, 0.11800239980220795, 0.2654038071632385, 0.5929547548294067, -0.4618155062198639, -0.06814810633659363, 0.18336865305900574, -0.23704743385314941, -0.03435511887073517, 0.3109886944293976, -0.289923757314682, 0.16235090792179108, -0.08382447808980942, 0.5826902389526367, 0.21532723307609558, -0.5244701504707336, 0.738572359085083, -0.10804002732038498, -0.5854558944702148, -0.23254267871379852, 0.29905521869659424, -0.11716737598180771, 0.19351933896541595, 0.48966631293296814, 0.17718791961669922, 0.28624746203422546, -0.4715706408023834, 0.3819534480571747, 0.44680067896842957, -0.2673693895339966, -0.09328760206699371, 0.5089138150215149, 0.3667566776275635, 0.00516727939248085, 0.5459105372428894, -0.23166504502296448, -0.35327211022377014, 0.5598341822624207, 0.4282236397266388, 0.8825798034667969, -0.2335784137248993, 0.39734795689582825, 0.4265941083431244, -0.12373089045286179, -0.11263185739517212, 0.33866432309150696, -0.0066776457242667675, -0.7176333665847778, -0.13333937525749207, -0.7089203000068665, -0.2698996067047119, 0.1921139359474182, -0.4961593747138977, -0.05883114039897919, -0.533896803855896, -0.15600880980491638, 0.40032029151916504, 0.12763644754886627, -0.4630591571331024, 0.22029606997966766, -0.02753913775086403, 0.8646984696388245, -0.41743865609169006, 0.7694881558418274, 0.6178469657897949, -0.531396210193634, -0.13141664862632751, 0.2107604295015335, -0.08679228276014328, -0.8793056011199951, 0.7399131655693054, -0.13163064420223236, -0.08700445294380188, 0.41883790493011475, -0.3919715881347656, -0.9697840809822083, 1.2548704147338867, 0.2889326512813568, -0.3697989881038666, 0.09546000510454178, 0.22614169120788574, 0.730841875076294, -0.5950695872306824, -0.008889973163604736, 0.4287557899951935, 0.2321435958147049, 0.22790400683879852, -0.3269072473049164, 0.13276472687721252, -0.34675583243370056, 0.09585453569889069, 0.1660424917936325, -0.6647050380706787, 0.5261752009391785, -0.0607459619641304, -0.32286784052848816, 0.187812939286232, 0.36576083302497864, -0.010954032652080059, 0.38519445061683655, 0.32660356163978577, 0.45295342803001404, 0.6051006317138672, -0.056733887642621994, 1.0343084335327148, -0.3920559883117676, 0.0857793390750885, 1.1883751153945923, -0.45462119579315186, 0.8592531085014343, 0.055911026895046234, -0.03972441703081131, 0.5527715682983398, 0.4916790723800659, -0.5498745441436768, 0.819848358631134, 0.32120686769485474, -0.22575940191745758, -0.5163621306419373, -0.19722172617912292, -0.3529830873012543, 0.732070803642273, 0.08572375774383545, -0.5099053978919983, -0.2756786644458771, -0.33170121908187866, -0.5024154782295227, 0.03242726996541023, -0.16583770513534546, 0.8423811197280884, -0.01932438276708126, -0.8179209232330322, 1.0340324640274048, -0.14326319098472595, 0.4948750138282776, -0.46751198172569275, -0.025636820122599602, -0.6186897158622742, 0.2804866135120392, -0.20882494747638702, -0.5042672753334045, 0.04781579226255417, -0.17998729646205902, -0.2841828465461731, -0.3291321098804474, 0.9075930714607239, -0.3066648542881012, -0.5486330389976501, 0.26766252517700195, 0.9079720973968506, 0.11910887062549591, -0.4730168879032135, -0.7436656355857849, -0.2767115533351898, 0.02580132521688938, -0.050736911594867706, 0.7151394486427307, 0.47474348545074463, -0.09297512471675873, 0.22743773460388184, 0.9879997372627258, -0.025450412184000015, -0.10349331051111221, 0.3086807429790497, 0.9067835807800293, -0.7065760493278503, -0.08517294377088547, -0.3198324143886566, 0.49744513630867004, -0.44559401273727417, -0.3013289272785187, 0.7611256837844849, 0.6634220480918884, 1.1270958185195923, -0.15274086594581604, 1.006544589996338, 0.3239184319972992, 0.37788987159729004, -0.40608036518096924, 1.0498251914978027, -0.9297322034835815, 0.053590018302202225, 0.2656368613243103, -1.0717177391052246, -0.4222952425479889, 0.21938204765319824, -0.29115667939186096, 0.15907810628414154, 0.7724626064300537, 0.923864483833313, -0.10637037456035614, -0.3581030070781708, 0.7484514117240906, 0.042962830513715744, -0.19524239003658295, 0.5239366292953491, 0.8902689814567566, -0.5978521704673767, 0.7962313890457153, -0.18151940405368805, -0.14692436158657074, -0.43937239050865173, -0.6454778909683228, -0.9592709541320801, -0.32681041955947876, -0.4835280776023865, -0.05607076734304428, 0.398140013217926, 0.5409547090530396, 0.8866066336631775, -1.021304726600647, 0.07394979149103165, 0.10719038546085358, -0.07092530280351639, -0.3361307978630066, -0.16341497004032135, 0.4364641010761261, -0.5149624943733215, -0.744254469871521, 0.7079764008522034, 0.31007322669029236, -0.20982781052589417, 0.18617668747901917, 0.16545769572257996, 0.054527398198843, 0.2777128517627716, 0.7598339319229126, 0.37505388259887695, -0.2614682912826538, 0.10578061640262604, 0.21433956921100616, 0.013180925510823727, 0.31838178634643555, 0.9060809016227722, -0.8381474614143372, 0.5288793444633484, 0.719375491142273, 0.9584226608276367, 0.5463861227035522, 0.37490129470825195, 0.5744857788085938, -0.8213893175125122, -0.4026119112968445, 0.20858325064182281, 0.17201484739780426, 0.3113175630569458, -0.4704120457172394, 0.7292338013648987, 0.3533293902873993, -0.49958792328834534, -0.5673113465309143, 0.02111867070198059, -1.2152663469314575, -0.6251133680343628, 1.1926450729370117, 0.12174965441226959, -0.2150430679321289, -0.1423068344593048, -0.15807271003723145, 0.2067880928516388, -0.38649407029151917, 1.1517435312271118, 0.05603086203336716, -0.40041011571884155, 0.04835323244333267, -0.5581376552581787, 0.5117326378822327, 0.6437158584594727, -0.7916809320449829, 0.11026964336633682, 0.39095690846443176, 0.39097851514816284, 0.11280756443738937, 0.486246794462204, -0.1543211191892624, 0.32960259914398193, 0.0375589057803154, 0.03562809154391289, -0.15802858769893646, -0.3096042275428772, -0.4070782959461212, 0.3076742887496948, 0.01653197407722473, -0.30305078625679016 ]
http://arxiv.org/abs/2404.02474v1
http://arxiv.org/pdf/2404.02474v1
uTeBC-NLP at SemEval-2024 Task 9: Can LLMs be Lateral Thinkers?
2024-04-03T05:31:59
2024-04-03T05:31:59
Pouya Sadeghi, Amirhossein Abaskohi, Yadollah Yaghoobzadeh
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Inspired by human cognition, Jiang et al.(2023c) create a benchmark for assessing LLMs' lateral thinking-thinking outside the box. Building upon this benchmark, we investigate how different prompting methods enhance LLMs' performance on this task to reveal their inherent power for outside-the-box thinking ability. Through participating in SemEval-2024, task 9, Sentence Puzzle sub-task, we explore prompt engineering methods: chain of thoughts (CoT) and direct prompting, enhancing with informative descriptions, and employing contextualizing prompts using a retrieval augmented generation (RAG) pipeline. Our experiments involve three LLMs including GPT-3.5, GPT-4, and Zephyr-7B-beta. We generate a dataset of thinking paths between riddles and options using GPT-4, validated by humans for quality. Findings indicate that compressed informative prompts enhance performance. Dynamic in-context learning enhances model performance significantly. Furthermore, fine-tuning Zephyr on our dataset enhances performance across other commonsense datasets, underscoring the value of innovative thinking.
[ -0.662474513053894, -0.8129739761352539, 0.6168657541275024, 0.22322341799736023, -0.23531976342201233, 0.3227885365486145, -0.09709299355745316, -0.45014166831970215, 0.0572354830801487, 0.3205764591693878, -0.9998610019683838, -0.2975102961063385, -0.0828162282705307, 0.4402940273284912, 0.029345113784074783, 0.5187549591064453, 0.10649842023849487, 0.05799897760152817, -0.2790524363517761, -0.0790824294090271, -0.9823793768882751, -0.4054015278816223, -0.5059272050857544, -0.24095956981182098, 0.4289754331111908, 0.3956066071987152, 0.5513046979904175, 0.19905874133110046, 0.16187427937984467, 0.26290810108184814, -0.2654143273830414, 0.10956105589866638, -0.27525606751441956, 0.3028939664363861, -0.5114063620567322, -0.5649696588516235, -0.3256838023662567, 0.04714652895927429, 0.3622538447380066, 0.4684745669364929, 0.08212524652481079, 0.08992332965135574, 0.1650504171848297, 0.7605510950088501, -0.3034210503101349, -0.0928405299782753, -0.694837749004364, 0.2835477590560913, -0.061756595969200134, -0.4383637309074402, -0.3979182541370392, -0.22230364382266998, -0.15082624554634094, -0.30325984954833984, 0.08286403864622116, 0.2570291757583618, 0.3660695254802704, 0.44748759269714355, -0.3604600727558136, -0.3390951454639435, -0.2614375948905945, 0.43053826689720154, -0.44710585474967957, 0.47676247358322144, 0.0774342268705368, 0.1852962076663971, -0.288858562707901, -0.5181604027748108, -0.17324256896972656, -0.02038552425801754, 0.2977916896343231, 0.22649095952510834, -0.09519132971763611, -0.17917177081108093, 0.641887366771698, 0.0859394520521164, -0.28871777653694153, 0.31261754035949707, -0.43576741218566895, -0.21562840044498444, 0.5050560235977173, 0.3128727376461029, 0.03022446669638157, -0.0812247171998024, -0.6746892333030701, -0.08630655705928802, -0.9447513818740845, 0.5865253806114197, 0.2740526795387268, 0.07442616671323776, 0.30902066826820374, 0.5843663811683655, -0.33414411544799805, 0.3251535892486572, 0.0933494120836258, 0.5139452815055847, 0.2103576809167862, -0.5343946814537048, -0.08286028355360031, -0.06839017570018768, 0.4740362763404846, 0.36353111267089844, -0.16290485858917236, -0.21379105746746063, -0.42141151428222656, 0.0322149284183979, 0.4007796049118042, -0.6287490725517273, -0.2124776840209961, 0.08929833769798279, -0.25358977913856506, -0.14906157553195953, -0.19502022862434387, -0.8887472152709961, -0.6161946654319763, -0.35980701446533203, 0.44866040349006653, -0.4068581759929657, 0.06148247420787811, -0.010228395462036133, -0.1805887222290039, 0.3415631353855133, 0.17514248192310333, -0.5914210677146912, 0.12783771753311157, 0.5410400032997131, 0.5568764209747314, -0.15830187499523163, -0.13370119035243988, -0.6391655206680298, -0.2625181972980499, -0.35457709431648254, 1.1712126731872559, -0.48773014545440674, -0.41325655579566956, -0.3000040650367737, -0.06888747215270996, 0.22618339955806732, -0.48272761702537537, 0.7892007827758789, -0.5134979486465454, 0.17150817811489105, -0.8502951264381409, -0.38579946756362915, -0.33192819356918335, 0.12895412743091583, -0.49853023886680603, 1.072054147720337, -0.15732507407665253, -0.6753286123275757, 0.3371128439903259, -0.6751047372817993, -0.28496846556663513, 0.4662787616252899, -0.6918368339538574, 0.01338954921811819, 0.25978586077690125, 0.7052803039550781, 0.4631854295730591, -0.3848848342895508, 0.22901922464370728, -0.1152084469795227, -0.19758374989032745, 0.5487547516822815, -0.39376822113990784, 0.9257877469062805, -0.12070376425981522, -0.6454997062683105, 0.33413824439048767, -0.48838695883750916, 0.33055776357650757, 0.09342914819717407, 0.03966853395104408, -0.04724385589361191, -0.3168104588985443, -0.5326033234596252, 0.6113436222076416, 0.03643188625574112, -0.16270466148853302, 0.15815508365631104, -0.4122006297111511, 0.44430044293403625, 0.9894500970840454, 0.21468298137187958, 0.3822507858276367, -0.5343220233917236, 0.8514845967292786, -0.03231945261359215, -0.11362957209348679, -0.20323532819747925, -0.8590482473373413, -0.5906060934066772, 0.1826937049627304, -0.039491940289735794, 0.6331720948219299, -0.9369155168533325, 0.36844322085380554, 0.13022610545158386, -0.41750141978263855, -0.4908168315887451, 0.32040634751319885, 0.2463224083185196, 0.7393978834152222, 0.5110562443733215, -0.18929526209831238, -0.5799363255500793, -0.6623017191886902, -0.4554440379142761, 0.1392301619052887, -0.07018254697322845, 0.26726433634757996, 0.5602372884750366, -0.1330607682466507, 0.7943768501281738, -0.18589343130588531, 0.1199415773153305, -0.2852161228656769, 0.31516537070274353, 0.34865450859069824, 0.20693685114383698, -0.04492940381169319, -0.36578699946403503, -0.008337924256920815, -0.5295285582542419, -0.6294623017311096, -0.4181881248950958, -0.2851291000843048, -0.37863707542419434, 0.08641616255044937, 0.6332046389579773, -0.5644144415855408, 0.3342881202697754, 0.04041344299912453, -0.6103154420852661, 0.5475407838821411, -0.2172098606824875, 0.017845451831817627, -0.7581385970115662, -0.16338156163692474, -0.2343188375234604, 0.18312190473079681, -0.45432549715042114, -0.17010939121246338, 0.16994036734104156, -0.02834310568869114, -0.5566245317459106, 0.5480377078056335, -0.7479292750358582, -0.2204829901456833, -0.12508270144462585, 0.15789680182933807, -0.011598324403166771, 0.4995095431804657, -0.050907015800476074, 1.0414155721664429, 0.4116426408290863, -0.6392499804496765, 0.3266417980194092, 0.3609652519226074, -0.4253253936767578, 0.324198454618454, -0.5504911541938782, 0.6082127690315247, -0.23440685868263245, 0.42065224051475525, -0.8978694677352905, 0.14413507282733917, 0.061502665281295776, -0.1435224413871765, -0.06517139077186584, 0.41114598512649536, -0.40126296877861023, -0.5329799652099609, -0.601209282875061, 0.13484685122966766, 0.6796473264694214, -0.6491000056266785, 0.5039209127426147, 0.2530880868434906, -0.36638927459716797, -0.4477039873600006, -0.6474835276603699, 0.10728345811367035, -0.3807031214237213, -0.6237826347351074, 0.443107545375824, -0.35689857602119446, -0.20405487716197968, -0.245418980717659, -0.2309368997812271, 0.39426183700561523, 0.18136776983737946, 0.26101213693618774, 0.45529189705848694, -0.06840261071920395, 0.22812724113464355, 0.03702954575419426, -0.041674237698316574, 0.5778948664665222, -0.08665114641189575, 0.31374332308769226, -0.5381785035133362, -0.23363427817821503, -0.08180978149175644, 0.23967505991458893, 0.06403813511133194, -0.08459659665822983, 0.2657858431339264, 0.519942581653595, -0.1905813366174698, -0.5370717644691467, -0.6755825281143188, -0.5440154075622559, -0.4937652051448822, 0.0413111113011837, -0.6743701100349426, -0.9126548171043396, 0.6035304069519043, -0.1676068753004074, -0.017116235569119453, 0.22514863312244415, 0.5660215020179749, -0.24431069195270538, 0.7883821725845337, 0.4463714063167572, 0.28523001074790955, 0.1996285319328308, -0.3423779308795929, 0.12154503166675568, -1.2474253177642822, -0.4959906339645386, -0.1478906273841858, -0.5822116136550903, -0.3204036056995392, -0.744529128074646, 0.4831794798374176, 0.3429192006587982, -0.05687319114804268, 0.197653666138649, -0.6866381168365479, 0.5530184507369995, 0.5732536911964417, 0.20009438693523407, 0.2232505977153778, -0.2745460867881775, -0.7261282801628113, -0.03499851003289223, -0.8417920470237732, -0.526491105556488, 0.8654311299324036, 0.29512593150138855, 0.6056336760520935, -0.07497522234916687, 0.5126960873603821, 0.043883632868528366, 0.06791067123413086, -0.7022110223770142, 1.0523552894592285, 0.6113035082817078, -0.5209168791770935, -0.31560418009757996, -0.18331585824489594, -0.9530326724052429, 0.3145851790904999, -0.14696277678012848, -0.7023641467094421, 0.10667338967323303, -0.22287873923778534, -0.7125210165977478, 0.10299181938171387, -0.47117742896080017, 0.5051295161247253, -0.6200722455978394, -0.494663268327713, -0.15556500852108002, -0.6946636438369751, 0.16664503514766693, 0.07126238197088242, 0.11558664590120316, -0.2406630665063858, -0.5092331171035767, 0.6976975798606873, 0.113011933863163, 0.7355460524559021, -0.02243048883974552, -0.053926657885313034, 0.5464953184127808, -0.005881124641746283, 0.5696336030960083, 0.21890197694301605, 0.033816609531641006, 0.009581899270415306, -0.39344272017478943, -0.04996447637677193, -0.6658620238304138, 0.3906169533729553, -0.47507256269454956, -1.0588657855987549, -0.25447237491607666, -0.6183370351791382, -0.6759437918663025, 0.11693164706230164, 0.5120603442192078, 0.4542621076107025, -0.030033785849809647, 0.3538029193878174, 0.71112459897995, -0.30247369408607483, 0.6137869358062744, 0.1903565376996994, -0.030247092247009277, -0.43162140250205994, 0.19917547702789307, 0.27832838892936707, -0.10097496956586838, 0.4319821000099182, 0.3619691729545593, -0.8012382388114929, -0.4234302341938019, -0.37339046597480774, 0.041483622044324875, -0.9490521550178528, -0.32316169142723083, -0.792079746723175, -0.1973000317811966, -0.3381774127483368, -0.3789593577384949, 0.064564049243927, -0.4774770140647888, -0.1980866938829422, -0.3736928105354309, 0.20213726162910461, 0.7088014483451843, 0.09121294319629669, -0.35598260164260864, -0.6009016036987305, 0.008169837296009064, 0.4450650215148926, 0.005083451513200998, 0.06437714397907257, -0.4348578155040741, 0.08224280178546906, -0.08664365857839584, -0.5348482728004456, -0.889043390750885, 0.22067618370056152, -0.42700356245040894, 0.8666384220123291, -0.046095941215753555, 0.15865562856197357, 0.4906632900238037, -0.43601125478744507, 0.877191424369812, 0.08872510492801666, -0.7876047492027283, 0.742279052734375, -0.19572022557258606, 0.7380485534667969, 0.4453103244304657, 0.38034477829933167, -0.04964189603924751, -0.2932298183441162, -0.6383964419364929, -0.6932557225227356, 0.5066816210746765, 0.19454093277454376, -0.2851060926914215, 0.06525125354528427, -0.006198156625032425, 0.29921770095825195, 0.20487681031227112, -0.5604883432388306, 0.20848920941352844, -0.0895286500453949, 0.14900784194469452, 0.07016589492559433, -0.12938787043094635, -0.1306993067264557, -0.31388920545578003, 0.594826877117157, -0.2510690987110138, 0.4003352224826813, 0.27653706073760986, 0.009609156288206577, 0.028039006516337395, 0.6833214163780212, 0.5672830939292908, 0.696138858795166, 0.06733537465333939, 0.2609372138977051, 0.7519083023071289, 0.011260719038546085, 0.20777569711208344, -0.10683906823396683, -0.06653687357902527, -0.308499813079834, 0.10811369866132736, 0.7426376342773438, 0.28235292434692383, -0.6819794178009033, 0.19826877117156982, -0.05413499474525452, -0.11082573980093002, -0.07241317629814148, 0.2231660783290863, 0.25793981552124023, 0.534376859664917, 0.35628774762153625, 0.2196415811777115, 0.3117852210998535, -0.5271114706993103, -0.01577671244740486, 0.41414961218833923, -0.23926804959774017, -0.430984228849411, 0.7585721611976624, 0.40804824233055115, -0.3716106414794922, 0.46332016587257385, -0.3571961224079132, -0.5551652908325195, 0.582778811454773, 0.5564081072807312, 1.1916791200637817, 0.14261750876903534, 0.09562649577856064, 0.20312972366809845, 0.4320312738418579, 0.06632864475250244, 0.5535620450973511, -0.4080207943916321, -0.7348254919052124, -0.4723353385925293, -0.049917977303266525, -0.447269082069397, 0.23954713344573975, -0.30567920207977295, 0.2845666706562042, -0.3357745110988617, -0.3900151550769806, -0.2217492312192917, 0.1529676914215088, -0.9677983522415161, -0.11091899871826172, 0.22988107800483704, 1.197487235069275, -0.42166343331336975, 0.5225578546524048, 0.9166999459266663, -0.20669002830982208, -0.9301018714904785, -0.22182627022266388, 0.17114973068237305, -0.5381938219070435, 0.6848335266113281, 0.5264695882797241, -0.3417275846004486, -0.0878094732761383, -0.3413696587085724, -0.591047465801239, 1.3605890274047852, 0.08435971289873123, -0.45030999183654785, -0.25768542289733887, -0.12529152631759644, 0.3768264353275299, -0.44525662064552307, 0.5218029618263245, 0.3838787078857422, 0.3323424756526947, 0.2039036750793457, -0.5804827809333801, 0.39613664150238037, -0.37312817573547363, 0.1843070685863495, 0.08965420722961426, -0.7140477299690247, 0.6400032639503479, -0.501722514629364, -0.34185153245925903, -0.02962736040353775, 0.7490589618682861, 0.517592191696167, 0.3669929504394531, 0.4356648623943329, 0.4109897017478943, 0.9830836057662964, 0.09694750607013702, 0.5237382054328918, -0.18720299005508423, -0.31487593054771423, 1.1479682922363281, -0.2683679163455963, 0.7097877264022827, 0.5060099959373474, 0.09633754938840866, 0.5048134922981262, 0.3823719024658203, 0.13483448326587677, 0.46805834770202637, 0.16312220692634583, -0.024109847843647003, -0.0867403969168663, -0.025952929630875587, -0.43054935336112976, 0.13741818070411682, 0.5392462015151978, -0.05684298649430275, -0.056463684886693954, 0.026239272207021713, -0.28391367197036743, 0.07930798083543777, -0.5243553519248962, 0.5233327150344849, 0.28884124755859375, -0.9873113036155701, 0.43977299332618713, -0.37131696939468384, 0.7372058033943176, -0.10371346771717072, 0.13326045870780945, -0.16475582122802734, 0.010112263262271881, 0.041687898337841034, -1.1670761108398438, 0.0847112312912941, -0.11871055513620377, 0.1876627653837204, -0.7177371382713318, 0.813305139541626, -0.06252636015415192, -0.2460934966802597, 0.1285262107849121, 0.6954958438873291, -0.013400551863014698, 0.030772365629673004, -0.8962950110435486, -0.010287044569849968, 0.035941362380981445, -0.34402623772621155, 0.0967705026268959, 0.8126425743103027, -0.1888185739517212, 0.8434271216392517, 0.5473490953445435, -0.06496042013168335, 0.029350262135267258, 0.15734316408634186, 0.8462232947349548, -1.0344607830047607, -0.5931612253189087, -0.7230297327041626, 0.4920026957988739, -0.22424788773059845, -0.5202944874763489, 0.8075823783874512, 0.40593332052230835, 0.80351722240448, -0.1430431306362152, 0.5085433125495911, 0.186013326048851, 0.3695279359817505, -0.7184438109397888, 0.0821879655122757, 0.07477967441082001, 0.4344428777694702, 0.046667080372571945, -0.8095766305923462, 0.17837169766426086, 0.41242143511772156, -0.588141143321991, 0.07492706924676895, 1.0509843826293945, 0.8185455203056335, 0.38161352276802063, 0.6278780102729797, 0.32881128787994385, 0.0998821035027504, 0.34426555037498474, 0.8169213533401489, 1.3664028644561768, -0.16843467950820923, 0.37705257534980774, -0.35257065296173096, -0.18194855749607086, -0.061881426721811295, -0.8919408917427063, -1.3046379089355469, -0.5641766786575317, -0.11366020143032074, -0.2132091522216797, -0.24508391320705414, 1.1405515670776367, 0.3480567932128906, -0.47289541363716125, -0.03766375035047531, -0.39084577560424805, 0.016991175711154938, -0.23972687125205994, -0.19802145659923553, 0.003682878101244569, -0.5068247318267822, -0.14468123018741608, 0.745936393737793, 0.5256496667861938, 0.06002943962812424, -0.3250596225261688, 0.09719158709049225, -0.06676972657442093, 0.2376876026391983, 0.5318767428398132, -0.05858233571052551, -0.8441364765167236, -0.09474574029445648, 0.3723294734954834, 0.024435313418507576, 0.07222596555948257, 0.8040119409561157, -1.1697038412094116, 0.37317049503326416, 0.7107692360877991, 0.8317927718162537, 0.17366893589496613, 0.26338696479797363, 0.4712604880332947, -0.25320279598236084, -0.01238824613392353, 0.7775987386703491, 0.2742328345775604, 0.2738160192966461, -0.6314815878868103, 0.6807838678359985, 0.11049506813287735, -0.7314838171005249, -0.46615850925445557, 0.19279339909553528, -0.6821169853210449, -0.24434725940227509, 1.1189467906951904, 0.3449007570743561, -0.25171905755996704, -0.13818618655204773, -0.3985551595687866, -0.16120371222496033, -0.5490412712097168, 0.601467490196228, 0.8428006172180176, -0.5847079157829285, -0.3036966621875763, -0.5735876560211182, 0.6001954674720764, 0.6986877918243408, -0.8621692061424255, -0.23135384917259216, 0.3547951281070709, -0.042999137192964554, 0.03361467272043228, 0.7781728506088257, 0.015698280185461044, 0.09037971496582031, 0.03686755895614624, -0.36070820689201355, -0.15030375123023987, -0.41520023345947266, -0.2743777632713318, 0.04141009971499443, -0.18136674165725708, 0.10065784305334091 ]
http://arxiv.org/abs/2404.02466v1
http://arxiv.org/pdf/2404.02466v1
Prompting for Numerical Sequences: A Case Study on Market Comment Generation
2024-04-03T05:10:11
2024-04-03T05:10:11
Masayuki Kawarada, Tatsuya Ishigaki, Hiroya Takamura
cs.CL
cs.CL, cs.AI, cs.CE
Large language models (LLMs) have been applied to a wide range of data-to-text generation tasks, including tables, graphs, and time-series numerical data-to-text settings. While research on generating prompts for structured data such as tables and graphs is gaining momentum, in-depth investigations into prompting for time-series numerical data are lacking. Therefore, this study explores various input representations, including sequences of tokens and structured formats such as HTML, LaTeX, and Python-style codes. In our experiments, we focus on the task of Market Comment Generation, which involves taking a numerical sequence of stock prices as input and generating a corresponding market comment. Contrary to our expectations, the results show that prompts resembling programming languages yield better outcomes, whereas those similar to natural languages and longer formats, such as HTML and LaTeX, are less effective. Our findings offer insights into creating effective prompts for tasks that generate text from numerical sequences.
[ -0.23439568281173706, -0.6944514513015747, 0.6933510899543762, 0.48436763882637024, -0.3646427392959595, -0.004221841227263212, -0.17578376829624176, -0.002508686389774084, 0.14965276420116425, 0.1788029819726944, -0.752984881401062, -0.595440685749054, -0.17357061803340912, 0.6377800703048706, -0.4906982481479645, 1.1355061531066895, -0.06013893336057663, -0.10376594215631485, -0.07542066276073456, 0.3528326749801636, -0.42267200350761414, -0.7782070636749268, -0.5332440137863159, -0.14330056309700012, 0.8367276191711426, 0.34911060333251953, 0.6061409711837769, 0.5691578984260559, 0.30749034881591797, 0.295625239610672, 0.29573196172714233, 0.31268027424812317, -0.33407920598983765, 0.5964723825454712, 0.21536986529827118, -0.2283419668674469, -0.049013782292604446, -0.13140523433685303, 0.6801950931549072, 0.7426445484161377, -0.047972194850444794, 0.4026215374469757, 0.06662936508655548, 0.7379085421562195, -0.36133378744125366, 0.6072837114334106, -0.4081348180770874, 0.2692652940750122, -0.3233540952205658, -0.7068815231323242, -0.8948601484298706, -0.7891693115234375, 0.029428036883473396, -0.3581092059612274, -0.08350486308336258, 0.1872335821390152, 0.4861711263656616, 0.20764996111392975, -0.26405608654022217, -0.5651487112045288, -0.7448608875274658, 0.6649028658866882, -0.9318065643310547, 0.008156118914484978, 0.10375991463661194, 0.11627620458602905, -0.3855035901069641, -0.7101340293884277, -0.4978969693183899, -0.279594749212265, 0.018990665674209595, -0.15709981322288513, -0.24224059283733368, -0.20714062452316284, 0.873727023601532, 0.007973072119057178, -0.492586225271225, -0.027569381520152092, -0.36487436294555664, 0.2166137993335724, 0.6015421152114868, 0.5807954668998718, 0.10455389320850372, -0.3997553586959839, 0.12479745596647263, -0.19739477336406708, -0.9479405283927917, 0.21297842264175415, 0.4214785397052765, 0.6888043880462646, -0.19935613870620728, 0.8306511044502258, -0.2099234014749527, 0.9467425346374512, -0.10317078977823257, -0.07711393386125565, 0.0005094861262477934, -0.2108413428068161, -0.16487455368041992, 0.11341621726751328, 0.8014547228813171, 0.5033161044120789, 0.6989434957504272, -0.005708836019039154, -0.19486719369888306, 0.0374789796769619, 0.17448408901691437, -0.8630682826042175, -0.17689335346221924, -0.04237409308552742, -0.5086550712585449, -0.6351209282875061, 0.32680967450141907, -0.717617392539978, -0.22947777807712555, -0.5203221440315247, -0.051156386733055115, 0.07651734352111816, 0.1899876594543457, -0.05100246146321297, -0.2799991965293884, 0.31171169877052307, 0.307901531457901, -0.9681642055511475, 0.19663004577159882, 0.5798313617706299, 0.7555425763130188, -0.1363259255886078, 0.19911053776741028, -0.7425726652145386, 0.1450764536857605, -0.45655128359794617, 0.6920776963233948, -0.74718177318573, -0.794162392616272, 0.1189030334353447, -0.24618670344352722, 0.14107413589954376, -0.49100106954574585, -0.1164655089378357, -0.7002118229866028, 0.2913495898246765, -0.5202711224555969, -0.24812018871307373, 0.07398851960897446, 0.12159790843725204, -0.6014979481697083, 1.0449351072311401, -0.25656858086586, -0.8850494027137756, 0.3871825337409973, -0.9650915861129761, -0.6338511109352112, 0.010279753245413303, -0.642213761806488, -0.12735900282859802, -0.02306167222559452, 0.35701271891593933, 0.6911383271217346, -0.41010740399360657, 0.11608488112688065, -0.46913352608680725, -0.138302281498909, 1.1291342973709106, -0.6630989909172058, 0.10310601443052292, 0.32828211784362793, -0.4120372533798218, -0.07178457081317902, -0.6743502616882324, -0.03358551487326622, 0.23144593834877014, -0.37493711709976196, -0.05267573520541191, 0.10888852179050446, -0.12796586751937866, 0.06041799113154411, 0.05016636103391647, -0.2287156879901886, 0.4052446782588959, -0.3709060251712799, 0.6481804847717285, 1.0568723678588867, 0.3459298014640808, 0.13874885439872742, -0.38249140977859497, 0.7213302850723267, 0.06799132376909256, -0.3782553970813751, -0.8993825912475586, -0.596484899520874, -0.2973950207233429, 0.24396716058254242, 0.2761169672012329, 0.6089979410171509, -0.8757138252258301, -0.25667572021484375, -0.07063693553209305, -0.14014136791229248, 0.1851610541343689, 0.0040230415761470795, 0.11462043225765228, 0.5479418635368347, -0.2324942648410797, -0.03595288097858429, -0.6409170031547546, -0.6441666483879089, -0.09787977486848831, -0.10396178066730499, -0.0626998096704483, 0.5470910668373108, 0.15005934238433838, 0.18150967359542847, 1.0056668519973755, -1.0382484197616577, 0.6551029086112976, -0.06761641055345535, 0.45163312554359436, 0.7068739533424377, 0.08773916959762573, 0.47418537735939026, -0.4041234850883484, -0.6425454020500183, -0.2178925722837448, -0.6338233947753906, -0.29225099086761475, -0.2700367271900177, 0.1176699548959732, 0.34122246503829956, 0.6762169599533081, -0.4270944595336914, 0.48859602212905884, 0.4712071418762207, 0.011361121200025082, 0.5356248617172241, 0.0853130966424942, 0.15742814540863037, -1.4468392133712769, 0.4252876341342926, 0.3450154960155487, -0.2915029525756836, -0.4896945357322693, -0.4044973850250244, -0.35043367743492126, -0.4467201828956604, -0.4093632102012634, 0.47325584292411804, -0.372882604598999, -0.12980568408966064, -0.0012601721100509167, -0.07826660573482513, -0.17556989192962646, 0.3535304665565491, 0.08133650571107864, 1.2926675081253052, 0.18565788865089417, -0.8403390049934387, 0.3028486371040344, 0.09860369563102722, -0.3504562973976135, 0.12412912398576736, -0.8061747550964355, 0.24923236668109894, -0.12412942945957184, 0.06937750428915024, -1.3172495365142822, -0.38056933879852295, 0.3499006927013397, -0.4363618493080139, 0.17674125730991364, -0.036689333617687225, -0.5598965287208557, -0.5639551281929016, -0.4724647104740143, 0.46633002161979675, 0.5234988331794739, -0.4099600911140442, -0.09881027787923813, 0.04316551983356476, -0.828838050365448, -0.6384792327880859, -0.6510264277458191, 0.169330894947052, -0.25078314542770386, -0.5043632984161377, -0.09942538291215897, -0.32828712463378906, -0.5736910104751587, -0.44622910022735596, 0.24733537435531616, 0.15538139641284943, -0.09686414897441864, 0.26733893156051636, 0.5885125994682312, -0.3586595952510834, 0.00648643309250474, -0.08051354438066483, -0.12163751572370529, 0.3658599853515625, -0.34817659854888916, 0.6408855319023132, 0.14286261796951294, -0.3296751081943512, -0.4405421018600464, 0.4847603142261505, 0.44470131397247314, 0.3090415298938751, 0.43071892857551575, -0.21660809218883514, -0.13496191799640656, -0.4560365080833435, -0.1640481799840927, -0.3228646218776703, -0.6253141760826111, -0.16481509804725647, -0.18596641719341278, -0.9834871292114258, 0.44127100706100464, -0.20794644951820374, 0.22333179414272308, 0.3360997438430786, 0.8634815812110901, -0.04307419806718826, 1.3086344003677368, 0.217675119638443, 0.10325422883033752, 0.649492621421814, -0.007548708934336901, 0.46788910031318665, -0.27266567945480347, -0.23264151811599731, -0.6712281107902527, -0.4047919809818268, -0.42146846652030945, -0.2788538932800293, 0.4063977599143982, -0.5001398921012878, -0.3376646935939789, 0.08160074055194855, -0.49827468395233154, 0.4549560844898224, 0.5217472910881042, -0.11090520024299622, 0.03750050067901611, 0.4056980013847351, -0.30148184299468994, -0.38935932517051697, -0.7081702947616577, -0.5457493662834167, 1.1107360124588013, 0.2060076892375946, 1.1755067110061646, -0.09796571731567383, 0.6366462111473083, 0.5751030445098877, 0.36418667435646057, -0.783939003944397, 0.4818916916847229, -0.21577656269073486, 0.02677248604595661, -0.14121544361114502, -0.5058909058570862, -1.0201438665390015, -0.48626604676246643, 0.006668975576758385, -0.5102521777153015, 0.06279553472995758, 0.18302561342716217, -0.6939165592193604, -0.02845897525548935, -0.43562817573547363, 0.6715314984321594, -0.02346225641667843, -0.28264060616493225, 0.1430622637271881, -0.2733401954174042, 0.22577519714832306, -0.09930575639009476, 0.2956289052963257, 0.0016974573954939842, -0.03375113010406494, 0.6308035254478455, -0.8923840522766113, 1.2633180618286133, -0.0021031247451901436, -0.34862202405929565, 0.4261751174926758, 0.12761938571929932, 0.817962646484375, 0.14210180938243866, -0.18697519600391388, -0.39461749792099, -0.40794530510902405, -0.016966233029961586, -0.4764947295188904, 0.46288764476776123, -0.44657260179519653, -0.6032324433326721, -0.3207714557647705, -0.48218828439712524, -0.11475227773189545, -0.03392956405878067, 0.2729223370552063, 0.9282724857330322, 0.009100516326725483, 0.08521053194999695, 0.5570000410079956, -0.19624221324920654, 0.7269052863121033, 0.3269203007221222, -0.27095240354537964, -0.6490174531936646, 0.7809934020042419, 0.10520630329847336, 0.04323494806885719, 0.4155639410018921, 0.18774248659610748, -0.40407854318618774, -0.21701160073280334, -0.4833020567893982, 0.19023892283439636, -0.7660893201828003, -0.42427751421928406, -0.3845328390598297, -0.17683491110801697, -0.5912278294563293, -0.3970458507537842, 0.20149891078472137, -0.6690978407859802, -0.6094082593917847, -0.19430342316627502, 0.7814433574676514, 1.3571439981460571, 0.0906953290104866, 0.2597118616104126, -1.0688514709472656, 0.24630014598369598, 0.5012722611427307, 0.234264075756073, 0.3187486529350281, -0.3335384726524353, -0.24411927163600922, 0.0009047956555150449, -0.18033289909362793, -1.0386996269226074, 0.6195069551467896, -0.10113988071680069, 0.21782103180885315, 0.4225292205810547, 0.14565983414649963, 0.6342471241950989, -0.6260297894477844, 1.0963245630264282, 0.18399973213672638, -0.87110835313797, 0.6241064667701721, -0.5649926066398621, 0.4480219781398773, 0.037329599261283875, 0.36515673995018005, -0.8262110948562622, -0.3068203628063202, -0.40917640924453735, -0.7586863040924072, 0.7423932552337646, -0.04457380622625351, 0.3867133557796478, -0.5709195137023926, 0.6153154969215393, 0.28300976753234863, 0.6342120170593262, -0.6095896363258362, -0.22323140501976013, -0.08414726704359055, -0.27529001235961914, 0.2174636870622635, -0.2555009424686432, 0.03014204278588295, 0.0775841772556305, 0.2416723519563675, -0.2881947457790375, 0.16043721139431, 0.18227750062942505, 0.35168734192848206, -0.09858053922653198, 0.2828871011734009, 0.9234054684638977, 0.5654929280281067, 0.2906828820705414, -0.03161492198705673, 0.034241318702697754, -0.11014586687088013, -0.02787001244723797, -0.09788528084754944, -0.2774735987186432, 0.23582123219966888, 0.054488375782966614, 0.7723817825317383, 0.3405381739139557, -0.6417176127433777, 0.2883443832397461, -0.03821286931633949, -0.25838202238082886, -0.14511068165302277, -0.09594158828258514, -0.10124780237674713, 0.01409410871565342, 0.5040906667709351, -0.10192087292671204, 0.23152269423007965, -0.5414150357246399, 0.24311870336532593, 0.2645004689693451, -0.017918070778250694, -0.39784330129623413, 0.838296115398407, 0.29787522554397583, -0.25253015756607056, 0.8159582614898682, -0.13308073580265045, -0.4459243714809418, 0.7446594834327698, 0.7535994648933411, 0.8974266052246094, 0.0461125485599041, 0.24388952553272247, 0.3906938135623932, -0.0787816271185875, -0.18915535509586334, 0.7640910744667053, -0.23846477270126343, -0.2857520282268524, -0.8696503043174744, -0.4185398817062378, -0.7336373925209045, -0.14429491758346558, -0.41300898790359497, 0.5258224606513977, -0.8096902966499329, -0.5913757085800171, 0.2947637438774109, -0.4357319474220276, -0.5542821884155273, -0.07137315720319748, 0.44562190771102905, 0.9104311466217041, -0.6884564161300659, 0.40106257796287537, 0.773036777973175, -0.44351890683174133, -1.0497039556503296, -0.18254822492599487, -0.027742717415094376, -0.9799925088882446, 1.0243985652923584, 0.3179878294467926, 0.11017218977212906, -0.1908462941646576, -0.8597104549407959, -0.671615481376648, 0.5905633568763733, 0.24956512451171875, -0.5806900858879089, -0.09817628562450409, 0.7415472269058228, 0.38579851388931274, -0.48183563351631165, 0.013512908481061459, 0.14776168763637543, 0.5469516515731812, 0.41501012444496155, -0.6211192011833191, 0.23853124678134918, -0.6102292537689209, 0.1283075213432312, 0.428574800491333, -0.5244663953781128, 0.8448761105537415, -0.3246309459209442, -0.18514381349086761, 0.22098666429519653, 0.6968621611595154, 0.3663339614868164, 0.5430601835250854, 0.20850412547588348, 0.13385622203350067, 0.6822719573974609, -0.043127018958330154, 1.0193930864334106, -0.5457485914230347, -0.04826036095619202, 0.8582993149757385, -0.4977736175060272, 0.8885743021965027, 0.423723965883255, -0.3438739776611328, 0.9014052152633667, 0.8108532428741455, -0.10683519393205643, 0.1805708110332489, 0.5175396800041199, -0.25914016366004944, -0.08054943382740021, -0.09238136559724808, -0.38173985481262207, -0.12577173113822937, 0.614122748374939, -0.5279819369316101, -0.08473389595746994, -0.334809273481369, 0.023480519652366638, -0.08914200961589813, -0.200303852558136, 0.9712795615196228, 0.357850044965744, -0.8479405641555786, 0.16150277853012085, -0.08238480240106583, 0.4329610764980316, -0.6512554287910461, -0.3006380796432495, -0.2153700292110443, -0.16314445436000824, -0.17761412262916565, -0.9235170483589172, 0.3152097761631012, 0.4264455735683441, -0.4272843897342682, -0.43578916788101196, 0.3438819944858551, -0.2687784731388092, -0.4990388751029968, -0.5049947500228882, 0.1027909591794014, 0.21313942968845367, 0.18287138640880585, -0.4096488356590271, 0.013744112104177475, 0.09878931939601898, -0.46321481466293335, -0.03851647302508354, 0.6167234778404236, -0.15444542467594147, 0.42379599809646606, 1.1271519660949707, -0.1682036817073822, 0.1203528344631195, 0.2583242356777191, 0.8235662579536438, -1.082502007484436, -0.5681016445159912, -1.0934035778045654, 0.3836486339569092, 0.003543627681210637, -0.14115113019943237, 0.8252968192100525, 0.5256735682487488, 0.26012033224105835, -0.3072241246700287, 1.082128643989563, 0.24544589221477509, 0.3023350238800049, -0.6180117130279541, 0.2814785838127136, -0.2669960558414459, 0.40271833539009094, -0.2401910126209259, -0.8803278207778931, -0.3477276861667633, 0.20529577136039734, -0.3509463667869568, 0.0597863607108593, 0.44059276580810547, 0.6685563921928406, 0.37900611758232117, 0.2706459164619446, 0.008557542227208614, 0.24387302994728088, 0.28131768107414246, 0.32367056608200073, 1.0267503261566162, 0.021500278264284134, 0.5875999331474304, 0.10010138899087906, 0.05166316404938698, -0.25107643008232117, -1.2708789110183716, -0.890498161315918, -0.21410244703292847, -0.283077210187912, -0.59613436460495, -0.14184331893920898, 1.1571035385131836, 0.19891472160816193, -0.8242829442024231, -0.4777281880378723, 0.05837024748325348, -0.12501633167266846, 0.306352436542511, -0.2489638328552246, 0.21452851593494415, -0.4645821452140808, -0.6389760971069336, 0.31407278776168823, 0.4949306547641754, 0.43021827936172485, -0.37320834398269653, 0.012044001370668411, 0.5940440893173218, 0.42559343576431274, 0.6830687522888184, 0.5493983626365662, -0.3482358157634735, -0.007702122442424297, 0.4571045935153961, -0.13485246896743774, 0.1346174031496048, 1.3767496347427368, -0.9024343490600586, 0.1886589676141739, 0.7724582552909851, 0.4282662868499756, 0.3183724582195282, 0.1532476395368576, 1.1285961866378784, -0.8751150965690613, 0.18680375814437866, -0.0989542081952095, 0.25476163625717163, 0.3030770421028137, -0.531458854675293, 0.2514354884624481, 0.21278952062129974, -0.462253212928772, -0.8760658502578735, 0.013120591640472412, -0.8639844059944153, -0.16464613378047943, 1.1514437198638916, 0.255467027425766, -0.37287095189094543, 0.17812618613243103, -0.38607242703437805, -0.10699384659528732, -0.8848323822021484, 0.7080884575843811, 0.7893351912498474, -0.08849456161260605, 0.07970020174980164, -0.2847437858581543, 0.48101338744163513, 0.20414043962955475, -0.6113781929016113, 0.43061956763267517, 0.4553427994251251, -0.08554193377494812, -0.04606262594461441, 0.6652056574821472, -0.0252555962651968, 0.47931432723999023, -0.04317356273531914, -0.40698543190956116, 0.029287435114383698, -0.08523964881896973, -0.3741556406021118, 0.268971711397171, 0.4081140458583832, 0.21318651735782623 ]
http://arxiv.org/abs/2404.02456v2
http://arxiv.org/pdf/2404.02456v2
PhonologyBench: Evaluating Phonological Skills of Large Language Models
2024-04-03T04:53:14
2024-04-05T04:55:24
Ashima Suvarna, Harshita Khandelwal, Nanyun Peng
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
Phonology, the study of speech's structure and pronunciation rules, is a critical yet often overlooked component in Large Language Model (LLM) research. LLMs are widely used in various downstream applications that leverage phonology such as educational tools and poetry generation. Moreover, LLMs can potentially learn imperfect associations between orthographic and phonological forms from the training data. Thus, it is imperative to benchmark the phonological skills of LLMs. To this end, we present PhonologyBench, a novel benchmark consisting of three diagnostic tasks designed to explicitly test the phonological skills of LLMs in English: grapheme-to-phoneme conversion, syllable counting, and rhyme word generation. Despite having no access to speech data, LLMs showcased notable performance on the PhonologyBench tasks. However, we observe a significant gap of 17% and 45% on Rhyme Word Generation and Syllable counting, respectively, when compared to humans. Our findings underscore the importance of studying LLM performance on phonological tasks that inadvertently impact real-world applications. Furthermore, we encourage researchers to choose LLMs that perform well on the phonological task that is closely related to the downstream application since we find that no single model consistently outperforms the others on all the tasks.
[ -0.35458552837371826, -0.6456078886985779, 0.5596312284469604, -0.01589217782020569, -0.3264297544956207, -0.11838387697935104, -0.2546585500240326, -0.3795439600944519, -0.00031185318948701024, 0.44129490852355957, -0.37221759557724, -0.8183894753456116, -0.330312579870224, 0.05444149300456047, -0.31267932057380676, 0.4547930359840393, 0.16914062201976776, 0.17995597422122955, -0.2761510908603668, -0.03925285115838051, -0.44402459263801575, -0.4989751875400543, -0.6469801664352417, -0.6594480276107788, 0.4624747037887573, 0.42602142691612244, 0.43140172958374023, 0.7202866673469543, 0.5133878588676453, 0.28111904859542847, -0.26730579137802124, -0.0077172452583909035, -0.44393670558929443, 0.21392491459846497, -0.09826250374317169, -0.4785047173500061, -0.5455532073974609, 0.01230539195239544, 0.8204315900802612, 1.2417573928833008, -0.31102848052978516, 0.21366733312606812, 0.1145910769701004, 0.5607298016548157, -0.4718130826950073, 0.19825193285942078, -0.5024653673171997, 0.08458419889211655, -0.7381516695022583, -0.09634443372488022, -0.4023100435733795, -0.2879352271556854, -0.09786883741617203, -0.3890714943408966, 0.19640101492404938, 0.14571388065814972, 0.4606895446777344, 0.1645359992980957, -0.2030307948589325, -0.03671449422836304, -0.428284615278244, 0.5850518941879272, -0.7391303777694702, 0.6573392748832703, 0.32349732518196106, 0.17332257330417633, -0.38856184482574463, -0.6572685837745667, -0.6084305047988892, -0.4988507628440857, 0.1058545857667923, 0.09648668020963669, -0.08566247671842575, 0.26214274764060974, 0.42405393719673157, 0.5168682336807251, -0.9300960302352905, 0.31931933760643005, -0.13929800689220428, -0.33609405159950256, 0.5141396522521973, 0.2223963886499405, 0.24897892773151398, -0.22744697332382202, 0.01630990207195282, -0.39940187335014343, -0.4294847249984741, 0.09185706079006195, 0.5373249053955078, 0.40651002526283264, -0.14053218066692352, 0.6545158624649048, -0.11060462146997452, 0.8008977770805359, -0.4575060307979584, -0.49448615312576294, 0.5154804587364197, 0.02743670344352722, 0.005822117440402508, 0.315361350774765, 0.7327895760536194, 0.059613537043333054, 0.31417205929756165, -0.24208764731884003, -0.18927417695522308, 0.20818760991096497, -0.16519738733768463, -0.6412843465805054, -0.2119491696357727, 0.10866066068410873, -0.2650514543056488, -0.05667754262685776, -0.06749829649925232, -0.6924853920936584, -0.6805710196495056, -0.08473236858844757, 0.21996241807937622, -0.5656819343566895, -0.3706406354904175, 0.06689988076686859, -0.18556737899780273, 0.12126550823450089, -0.054812442511320114, -0.6519629955291748, 0.5064754486083984, 0.9752577543258667, 0.950074315071106, -0.318867951631546, -0.7765222787857056, -0.6939831972122192, -0.15185312926769257, -0.49919041991233826, 0.7025417685508728, -0.39855173230171204, -0.7301791310310364, -0.12482992559671402, -0.025100411847233772, -0.12855282425880432, -0.8710184693336487, 0.6806643605232239, -0.16253796219825745, -0.268334299325943, -0.1101590245962143, -0.8404698967933655, -0.12841901183128357, 0.10446842014789581, -0.7026026248931885, 1.0526845455169678, 0.07572651654481888, -0.55741286277771, 0.2186330109834671, -0.18484076857566833, -0.5724703073501587, 0.254721075296402, -0.18369844555854797, -0.22692666947841644, 0.25364699959754944, -0.4106799066066742, 0.44372543692588806, -0.40509819984436035, 0.15258458256721497, -0.40077072381973267, -0.5327561497688293, 0.3402824103832245, -0.18352855741977692, 0.5611348748207092, -0.11207141727209091, -0.2500564157962799, -0.07377234846353531, -1.0100353956222534, 0.09973709285259247, 0.06753569841384888, -0.2832397222518921, -0.1594235897064209, -0.12088903039693832, -0.06580806523561478, 0.07738310098648071, -0.07107783108949661, -0.5212456583976746, -0.06883379071950912, -0.6241021752357483, 0.3267931044101715, 0.39907142519950867, 0.01803336851298809, 0.14303608238697052, -0.4644331634044647, 0.5278993248939514, -0.2572973668575287, -0.25194790959358215, -0.12169338017702103, -0.4886150658130646, -0.48232704401016235, -0.27253592014312744, 0.47968292236328125, 0.4614740312099457, -0.02040916308760643, 0.34446007013320923, -0.2851825952529907, -0.7501882314682007, -0.5295480489730835, 0.22643648087978363, 0.3879014849662781, 0.6042410731315613, 0.18795619904994965, -0.6570998430252075, -0.35552191734313965, -0.7343650460243225, -0.43671685457229614, -0.19776669144630432, -0.10516142845153809, 0.20242422819137573, 0.17913216352462769, 0.10568013042211533, 0.47036314010620117, -0.22750644385814667, -0.2096657156944275, -0.11299578100442886, 0.25596314668655396, 0.20481668412685394, 0.1857546865940094, 0.15658530592918396, -0.2559642493724823, -0.0711514875292778, 0.013026837259531021, -0.45166757702827454, -0.36615806818008423, 0.44617703557014465, 0.03383118659257889, 0.23466886579990387, 0.7883709669113159, -0.7155866622924805, 0.13294240832328796, 0.6945044994354248, -0.20077526569366455, 0.6720011830329895, -0.0814395621418953, -0.08691078424453735, -0.7110124826431274, 0.45564088225364685, -0.24736370146274567, -0.24463312327861786, -0.47880274057388306, -0.07300809025764465, 0.023023098707199097, -0.4346682131290436, -0.1746283620595932, 0.6035872101783752, -0.46939340233802795, -0.4784863293170929, -0.17308129370212555, 0.5122249722480774, -0.12748119235038757, 0.21655026078224182, -0.14239604771137238, 0.5748178362846375, 0.4714870750904083, -0.47138717770576477, 0.48789697885513306, -0.04840913787484169, -0.5680508017539978, 0.5680150985717773, -0.4285401999950409, 0.23760280013084412, 0.024249251931905746, 0.030339315533638, -1.246003270149231, -0.18226005136966705, -0.16176201403141022, -0.4029417932033539, 0.3305036723613739, -0.011817870661616325, -0.523569643497467, -0.3960230052471161, -0.07796896994113922, 0.3835127353668213, 0.7188882231712341, -0.1733688861131668, 0.5772720575332642, 0.50593101978302, -0.2031976580619812, -0.15874573588371277, -0.5908942222595215, -0.18806444108486176, -0.31091970205307007, -0.5660681128501892, 0.21418969333171844, 0.13773754239082336, -0.474934846162796, 0.014402943663299084, -0.24779613316059113, 0.1874416172504425, 0.2021052986383438, 0.37957075238227844, -0.14632000029087067, -0.30631959438323975, 0.3150929808616638, -0.5471084713935852, -0.22777114808559418, 0.1829897165298462, -0.23274177312850952, 0.8736753463745117, 0.05114741250872612, -0.39230579137802124, -0.46861034631729126, -0.07370783388614655, 0.6691328883171082, -0.4249560534954071, 0.3533116281032562, 0.43908149003982544, -0.1749640256166458, -0.5359043478965759, -0.6252882480621338, -0.2089463621377945, -0.39355024695396423, 0.45434656739234924, -0.4849618673324585, -0.6017237901687622, 0.5263033509254456, -0.3553817570209503, -0.3231862485408783, 0.2292146235704422, 0.4143126606941223, 0.05708228424191475, 0.7526823282241821, 0.4592582881450653, -0.21113844215869904, 0.2465600222349167, -0.06201888993382454, 0.16804875433444977, -0.6898752450942993, -0.08922737091779709, -0.5480493903160095, -0.23126709461212158, -0.6423550248146057, -0.45822811126708984, 0.41335898637771606, 0.011655888520181179, -0.09340345859527588, -0.0022765742614865303, -0.23357036709785461, 0.2679145634174347, 0.43291500210762024, -0.007530027534812689, 0.36161288619041443, -0.07976863533258438, -0.36911246180534363, -0.06845851987600327, -0.5020654201507568, -0.2800351679325104, 0.9560961723327637, 0.11745666712522507, 0.39288416504859924, 0.06845402717590332, 0.720508873462677, 0.1737307906150818, -0.17989476025104523, -1.0772258043289185, 0.8192774057388306, -0.3260648250579834, -0.13655491173267365, -0.4237983524799347, -0.45065850019454956, -1.1016393899917603, 0.29570215940475464, 0.07476606965065002, -0.7461449503898621, -0.07066178321838379, 0.13509097695350647, -0.19232244789600372, 0.15453432500362396, -0.454804927110672, 0.9760453104972839, -0.28989434242248535, -0.3784412741661072, -0.384456604719162, -0.2984204590320587, 0.32329222559928894, -0.11336137354373932, 0.3483281433582306, -0.5076121091842651, -0.03523307666182518, 0.7705639600753784, -0.3613907992839813, 0.6477845907211304, -0.2172812521457672, -0.04484155774116516, 0.09969408065080643, 0.5401797294616699, 0.35307079553604126, -0.39957132935523987, -0.33074629306793213, 0.19115176796913147, 0.007799008395522833, -0.1487436592578888, -0.3413723409175873, 0.7602949738502502, -0.6253092885017395, -0.4361448884010315, -0.4357856214046478, -0.5670607686042786, -0.6803979873657227, 0.3748684525489807, 0.16881254315376282, 0.35316669940948486, -0.4101058840751648, 0.21863992512226105, 0.4518832862377167, 0.05087081342935562, 0.1891292929649353, 0.6020057797431946, -0.18554620444774628, -0.03935159370303154, 1.0042773485183716, 0.2898586094379425, 0.19012753665447235, 0.2092975229024887, 0.4533202052116394, -0.23668310046195984, -0.7735068798065186, -0.05122216045856476, 0.4870452880859375, -0.6259092688560486, 0.13400329649448395, -0.35830461978912354, -0.13819530606269836, -0.2991201877593994, 0.2610422372817993, -0.3352562189102173, -0.24652624130249023, 0.07271892577409744, -0.07825132459402084, 0.32969042658805847, 0.6947380304336548, -0.08180029690265656, 0.06744567304849625, -0.6573845148086548, 0.2566090226173401, 0.31395089626312256, 0.38703659176826477, 0.12527213990688324, -0.5589373707771301, -0.044802747666835785, -0.24389344453811646, -0.09484699368476868, -0.7801607847213745, 0.25567832589149475, 0.21727725863456726, 0.6837596893310547, 0.1352611631155014, -0.2775590121746063, 0.7106585502624512, -0.6606951355934143, 0.6065713763237, -0.12113822251558304, -1.0359368324279785, 0.2225646823644638, -0.3789600729942322, 0.32534992694854736, 0.521612286567688, 0.2449483722448349, -0.8061309456825256, -0.3630048632621765, -0.6898838877677917, -1.0557674169540405, 0.5242679715156555, -0.027360765263438225, -0.23955315351486206, 0.1905413120985031, 0.2951872646808624, 0.04545515403151512, 0.4071672856807709, -0.15920744836330414, 0.021812116727232933, 0.11914124339818954, -0.1205216646194458, -0.45984145998954773, -0.2844783365726471, -0.11139503121376038, -0.08502960950136185, 0.5814430713653564, -0.009961297735571861, -0.25318917632102966, 0.12351944297552109, -0.19058562815189362, -0.20634083449840546, 0.17273451387882233, 0.4147297441959381, 0.7471746206283569, -0.08370295912027359, 0.2865178883075714, 0.24330811202526093, -0.5214279890060425, 0.051920440047979355, 0.3013213872909546, 0.09673697501420975, 0.04398239031434059, 0.6885351538658142, 0.6759149432182312, 0.42388656735420227, -0.8793695569038391, 0.37294065952301025, 0.1957724690437317, -0.15915709733963013, -0.3109774589538574, 0.14114587008953094, 0.4100433588027954, 0.0737755224108696, 0.11173111945390701, -0.32197490334510803, 0.2523394823074341, -0.696726381778717, 0.2842894494533539, 0.26549431681632996, -0.15451709926128387, -0.2124580442905426, 0.29913029074668884, 0.071132592856884, -0.5455313920974731, 0.553639829158783, -0.25897613167762756, -0.2653008699417114, 0.6111298203468323, 0.35157790780067444, 0.6226019859313965, -0.4408731460571289, -0.10371184349060059, 0.2896004021167755, 0.18829508125782013, -0.2090327888727188, 0.31207549571990967, 0.083564393222332, -0.6406224966049194, -0.21798191964626312, -0.7091954350471497, -0.5728346705436707, 0.4229140877723694, -0.7035118341445923, 0.2874341607093811, -0.3512021601200104, -0.18290866911411285, 0.27286943793296814, 0.06977932155132294, -0.649673342704773, -0.005187727976590395, 0.4336334764957428, 0.8642018437385559, -0.6853376626968384, 0.6277664303779602, 0.49525657296180725, -0.007991797290742397, -1.1075297594070435, 0.165162593126297, 0.2591770887374878, -0.9961850643157959, 0.46743854880332947, 0.22953830659389496, -0.2540060579776764, 0.327640175819397, 0.007722658105194569, -0.6885923743247986, 0.9906739592552185, 0.5564521551132202, -0.837039589881897, 0.2263282686471939, 0.2706792652606964, 0.6090149283409119, -0.0748436450958252, 0.17332138121128082, 0.9508625864982605, 0.5009528994560242, -0.05647430941462517, -1.2112151384353638, -0.09997252374887466, -0.17422552406787872, 0.006814951077103615, 0.2645716667175293, -0.7485154867172241, 0.9632955193519592, 0.07797933369874954, -0.25324589014053345, 0.21456971764564514, 0.24535544216632843, 0.4467723071575165, 0.0908816009759903, 0.5686267614364624, 0.8471534848213196, 1.1857153177261353, -0.12254612892866135, 1.0744233131408691, -0.5795730948448181, 0.16883277893066406, 0.9470078349113464, -0.7071068286895752, 0.9692445993423462, 0.2895028591156006, -0.26588860154151917, 0.3442413806915283, 0.526533842086792, -0.012968029826879501, 0.10235650837421417, 0.7303764820098877, -0.10284963250160217, -0.3434429466724396, -0.2639903128147125, -0.33445459604263306, 0.7975877523422241, 0.3398655652999878, 0.08815125375986099, -0.14108583331108093, -0.1413196325302124, 0.14046785235404968, 0.2427321970462799, -0.34878236055374146, 0.6824315786361694, 0.24746115505695343, -0.563526451587677, 0.619927167892456, -0.13342705368995667, 0.3764151632785797, -0.7901751399040222, -0.0525025837123394, -0.24127253890037537, 0.31015151739120483, -0.20868565142154694, -0.7149062156677246, -0.053853780031204224, -0.19063057005405426, 0.044460684061050415, 0.20150123536586761, 0.48955395817756653, -0.41151776909828186, -0.4084200859069824, 0.6509639024734497, 0.6247501373291016, 0.4391901195049286, 0.008740493096411228, -0.46515709161758423, 0.3643572926521301, -0.4123886525630951, -0.2616385221481323, 0.2529580295085907, 0.6283006072044373, -0.02705586887896061, 0.5102371573448181, 0.5320771336555481, 0.5748946666717529, 0.0068478770554065704, 0.3928965628147125, 0.47823214530944824, -0.696490466594696, -0.5291104912757874, -0.8468759059906006, 0.20148496329784393, 0.02989894151687622, -0.31188997626304626, 0.8215582370758057, 0.663180410861969, 0.9745110273361206, 0.3158295154571533, 0.7226425409317017, 0.34715941548347473, 0.7577044367790222, -0.5650125741958618, 0.5574975609779358, -0.5659878253936768, 0.020344886928796768, -0.17757312953472137, -0.8657799363136292, -0.28453734517097473, 0.5041859149932861, -0.41608792543411255, 0.15500447154045105, 0.9738842844963074, 0.8255220651626587, -0.003257748205214739, -0.06457992643117905, 0.659913182258606, 0.4749811291694641, -0.07443799078464508, 0.45525801181793213, 0.7487084865570068, -0.04239092767238617, 0.4897012710571289, -0.34703442454338074, -0.08568676561117172, -0.18035461008548737, -0.7900377511978149, -0.7984237670898438, -0.4459646940231323, 0.0551307313144207, -0.2684181332588196, 0.13583673536777496, 0.6333492994308472, 0.5459461808204651, -0.6754238605499268, -0.8868741393089294, -0.1443585902452469, -0.07145677506923676, -0.28316494822502136, -0.22457484900951385, 0.3816714286804199, -0.20995405316352844, -0.6350173354148865, 0.6772540807723999, 0.1332853138446808, -0.08070743083953857, -0.2992151081562042, 0.11425141990184784, 0.12276023626327515, -0.2795201241970062, 0.27435243129730225, 0.32124489545822144, -0.5243383049964905, -0.02752341702580452, -0.09860502928495407, -0.10187100619077682, -0.03222678229212761, 1.051877498626709, -0.5107312202453613, 0.4354431629180908, 0.6114273071289062, 0.5246555209159851, 0.40738725662231445, -0.0929005891084671, 0.502526044845581, -0.6417025923728943, 0.4654233753681183, 0.4487856328487396, 0.4723888039588928, 0.5762186050415039, -0.09907639026641846, 0.42851823568344116, 0.46355190873146057, -0.5488669276237488, -1.0379265546798706, 0.18755996227264404, -0.8719261884689331, -0.17840100824832916, 1.0509039163589478, 0.0714351087808609, -0.3494049906730652, -0.019495030865073204, -0.03855285793542862, 0.26224565505981445, -0.29711517691612244, 0.49251437187194824, 0.8753738403320312, -0.2096319943666458, -0.21018266677856445, -0.707660436630249, 0.4950534701347351, 0.5704874396324158, -0.35904771089553833, 0.10469209402799606, 0.4031543433666229, 0.2648186981678009, 0.15240183472633362, 0.6945880651473999, -0.052567195147275925, 0.3389383852481842, 0.1648009866476059, 0.4237141013145447, -0.1935819685459137, -0.2429352104663849, -0.5174386501312256, 0.32577863335609436, 0.5451772212982178, -0.07823891192674637 ]
http://arxiv.org/abs/2404.02452v1
http://arxiv.org/pdf/2404.02452v1
Adaptive Cross-lingual Text Classification through In-Context One-Shot Demonstrations
2024-04-03T04:40:57
2024-04-03T04:40:57
Emilio Villa-Cueva, A. Pastor López-Monroy, Fernando Sánchez-Vega, Thamar Solorio
cs.CL
cs.CL
Zero-Shot Cross-lingual Transfer (ZS-XLT) utilizes a model trained in a source language to make predictions in another language, often with a performance loss. To alleviate this, additional improvements can be achieved through subsequent adaptation using examples in the target language. In this paper, we exploit In-Context Tuning (ICT) for One-Shot Cross-lingual transfer in the classification task by introducing In-Context Cross-lingual Transfer (IC-XLT). The novel concept involves training a model to learn from context examples and subsequently adapting it during inference to a target language by prepending a One-Shot context demonstration in that language. Our results show that IC-XLT successfully leverages target-language examples to improve the cross-lingual capabilities of the evaluated mT5 model, outperforming prompt-based models in the Zero and Few-shot scenarios adapted through fine-tuning. Moreover, we show that when source-language data is limited, the fine-tuning framework employed for IC-XLT performs comparably to prompt-based fine-tuning with significantly more training data in the source language.
[ -0.20881837606430054, -0.5863502025604248, 0.313847154378891, 0.1022961437702179, -0.46693888306617737, -0.14131830632686615, -0.19920110702514648, -0.4693434536457062, -0.35367369651794434, 0.3374424874782562, -0.5938426852226257, -0.36560025811195374, -0.450603187084198, 0.20417821407318115, -0.36433887481689453, 1.1589699983596802, -0.26913508772850037, 0.04993052780628204, 0.17657919228076935, -0.1077272817492485, -0.7514284253120422, -0.3894695043563843, -0.8809892535209656, -0.12194973975419998, 0.3663784861564636, 0.9612636566162109, 0.21428392827510834, 0.495536744594574, 0.06384911388158798, 0.16834579408168793, 0.3633538484573364, -0.10357169806957245, -0.43328583240509033, -0.2151021510362625, -0.6693007349967957, -0.5178298950195312, -0.0795988067984581, -0.2017369270324707, 0.8324118256568909, 0.5690802931785583, 0.25602084398269653, -0.051104284822940826, 0.2074051946401596, 0.37216606736183167, -0.5683751702308655, 0.01757253333926201, -0.7616046667098999, 0.2227993905544281, -0.12866832315921783, -0.5382022261619568, -0.7583395838737488, 0.1153312399983406, 0.2491483986377716, -0.8346841931343079, -0.03529663756489754, 0.2741597294807434, 0.7973347306251526, 0.08948049694299698, -0.5160664916038513, -0.16349627077579498, -0.5240189433097839, 0.857192873954773, -0.6573056578636169, 0.3504609167575836, 0.41019266843795776, 0.3992704153060913, 0.24909727275371552, -0.5662104487419128, -0.4824812710285187, 0.016034988686442375, -0.13864535093307495, 0.2270340770483017, -0.256283164024353, -0.10530908405780792, 0.09913035482168198, -0.12987178564071655, -0.5726102590560913, 0.38809454441070557, -0.23256142437458038, -0.136178120970726, 0.27477118372917175, -0.0071220132522284985, 0.5362768769264221, 0.016773318871855736, -0.6840819120407104, -0.10251198709011078, -0.6483561396598816, 0.2016785442829132, -0.04680965840816498, 0.7330678701400757, -0.21453307569026947, 0.2010764479637146, -0.1908653825521469, 0.8010202050209045, 0.41277173161506653, -0.037205591797828674, 0.04401751235127449, -0.549970805644989, -0.40828800201416016, 0.7414567470550537, 0.5414260625839233, 0.32719406485557556, 0.1883956491947174, -0.22786270081996918, 0.0367925651371479, -0.2096615731716156, 0.04018760845065117, -1.0365290641784668, 0.27710965275764465, -0.3128003776073456, -0.27019086480140686, -0.042793504893779755, -0.06741973012685776, -0.44352537393569946, 0.0769856795668602, -0.2882186472415924, 0.8449781537055969, -0.6649181246757507, -0.05995187535881996, 0.3064468502998352, -0.1392735242843628, 0.15078914165496826, 0.4416159689426422, -0.9613216519355774, 0.33820149302482605, 0.4165836572647095, 0.8875165581703186, -0.32532283663749695, -0.6191715002059937, -0.9248063564300537, 0.33096635341644287, -0.4731849133968353, 1.077876329421997, -0.36655372381210327, -0.022747093811631203, 0.06892174482345581, 0.19837871193885803, -0.39213764667510986, -0.2591691315174103, 0.5030367374420166, -0.21768084168434143, 0.5262665748596191, -0.20138490200042725, -0.5116079449653625, -0.3522644340991974, 0.40251049399375916, -0.1919858753681183, 0.8505212664604187, 0.47063320875167847, -0.7625133395195007, 0.6882761120796204, -0.8113230466842651, -0.6368461847305298, 0.1970919370651245, 0.18683084845542908, -0.24137797951698303, -0.2008219063282013, 0.17720822989940643, 0.5752398371696472, -0.15789347887039185, -0.2163638472557068, -0.13187189400196075, -0.6839540004730225, -0.09947726875543594, -0.3288858234882355, 0.8860620260238647, 0.05178682133555412, -0.5105237364768982, 0.013505198992788792, -0.8738500475883484, 0.024103732779622078, -0.37577319145202637, -0.23234644532203674, -0.6567736268043518, -0.3282572627067566, 0.31453150510787964, 0.41394296288490295, -0.18164850771427155, -0.6009772419929504, 0.242613285779953, -0.4266788363456726, 0.17732688784599304, 0.45546260476112366, -0.12195365130901337, 0.6587843298912048, -0.4118403196334839, 0.5928075313568115, 0.20788754522800446, -0.11863943189382553, -0.5627987384796143, -0.08170337975025177, -0.6546317338943481, -0.2985996603965759, 0.6299272775650024, 0.9042368531227112, -1.3365885019302368, 0.19593697786331177, -0.5441889762878418, -0.3250623643398285, -0.3743211627006531, 0.04261632263660431, 0.4848096966743469, 0.8534491658210754, 0.4115492105484009, -0.28497883677482605, -0.31309574842453003, -0.730536699295044, -0.20526161789894104, -0.1474093645811081, -0.10191211104393005, 0.19636820256710052, 0.13327628374099731, 0.06243355572223663, 0.7610761523246765, 0.11529619246721268, -0.46956437826156616, -0.4811209440231323, 0.4248092770576477, -0.09369910508394241, 0.4888519048690796, 1.0034818649291992, -0.612352192401886, -1.1800371408462524, 0.6602820754051208, -0.5203846096992493, -0.4022774398326874, -0.38059866428375244, -0.10428886115550995, 0.4611750841140747, 0.642276406288147, 0.006523774471133947, 0.39838913083076477, 0.48631343245506287, -0.6281700730323792, 0.35880550742149353, -0.18827424943447113, 0.4442119002342224, -1.1628406047821045, -0.23660808801651, -0.04685313627123833, -0.5191055536270142, -0.725849449634552, -0.2605746388435364, 0.3368789851665497, 0.17655982077121735, -0.8574297428131104, 0.7687116861343384, -0.2988707423210144, -0.010147065855562687, -0.4342540502548218, 0.10057029873132706, -0.09065061062574387, 0.5210275053977966, 0.2274872213602066, 0.6995822787284851, 0.995381236076355, -0.6838465332984924, -0.03839889168739319, 0.21619971096515656, -0.5188795328140259, 1.049176812171936, -0.19098545610904694, 0.01983887143433094, 0.05807974562048912, 0.14734472334384918, -0.9459918737411499, 0.2084082067012787, 0.3227063715457916, -0.2698124349117279, 0.5092005133628845, -0.32411959767341614, -0.4359380006790161, 0.3154633045196533, -0.09652183949947357, 0.43847253918647766, 0.3391425907611847, -0.7348249554634094, 0.49789491295814514, -0.24606360495090485, -0.39594000577926636, -0.5005778670310974, -0.8734638690948486, 0.11060014367103577, -0.25834140181541443, -0.3661138117313385, 0.6092857718467712, -0.13589335978031158, 0.1752658486366272, 0.028763212263584137, 0.0426875576376915, -0.08741482347249985, 0.04152848944067955, -0.13439808785915375, 0.1683928221464157, -0.3729957640171051, 0.15157005190849304, 0.6174978613853455, -0.00582880899310112, -0.31234535574913025, -0.4507385492324829, 0.22015205025672913, 0.21199776232242584, -0.2509710192680359, -0.4998018741607666, 0.3501955568790436, 0.5372366309165955, 0.18785400688648224, 0.4429243206977844, 0.7229645252227783, -0.22586961090564728, -0.556857168674469, 0.02056218311190605, -0.02698673866689205, -0.39413443207740784, 0.477068692445755, -0.6565128564834595, -0.8228409290313721, 0.351152628660202, -0.11296150833368301, 0.06545168161392212, 0.21082818508148193, 0.2722581624984741, 0.22728176414966583, 1.0026482343673706, 1.0161452293395996, -0.26475924253463745, 0.9508191347122192, 0.12660327553749084, -0.007672400213778019, -0.610295832157135, 0.3121803104877472, -0.5817104578018188, -0.16979196667671204, -0.47571587562561035, -0.04713115096092224, 0.30664947628974915, 0.08369375765323639, -0.356331467628479, 0.7628296613693237, -0.1633765995502472, 0.4701632261276245, 0.4707488715648651, 0.1936667114496231, 0.27070730924606323, 0.26232218742370605, -0.4171026051044464, -0.12877294421195984, -1.2096203565597534, -0.1522642821073532, 0.5832988023757935, 0.1583772450685501, 0.5566551089286804, -0.01602991484105587, 0.28386998176574707, 0.18131029605865479, 0.5486128926277161, -0.7052255868911743, 0.32548588514328003, -0.5259208083152771, -0.3430820405483246, -0.37979310750961304, -0.34004703164100647, -0.7066988348960876, 0.270302951335907, -0.19456368684768677, -0.82935631275177, 0.24766457080841064, -0.01593877002596855, -0.3600437343120575, 0.2884722054004669, -0.7101345658302307, 1.0303891897201538, -0.30175670981407166, -0.5291487574577332, -0.10201278328895569, -0.5947626233100891, 0.0871591567993164, -0.26653867959976196, 0.2493959665298462, 0.16001899540424347, 0.07122191041707993, 0.5150338411331177, 0.019344141706824303, 0.9971321225166321, -0.04659480229020119, -0.2247014045715332, 0.10127262771129608, 0.29569539427757263, 0.3322109282016754, -0.2332114726305008, -0.2817896902561188, 0.0997655838727951, 0.14996536076068878, -0.41875889897346497, -0.7322957515716553, 0.513404369354248, -0.5954017043113708, -0.23201368749141693, -0.2918170392513275, -0.6847025752067566, -0.24255315959453583, 0.34382694959640503, 0.49417898058891296, 0.5673224329948425, -0.1500278115272522, 0.25370848178863525, 0.34999457001686096, -0.4194231629371643, 0.48849305510520935, 0.9440187215805054, -0.18805941939353943, -0.09666917473077774, 0.8645760416984558, 0.1927701085805893, 0.5820454955101013, 0.8667876720428467, 0.22182588279247284, -0.13440759479999542, -0.6200853586196899, -1.015926480293274, -0.20283475518226624, -0.8180445432662964, -0.3351636528968811, -0.34510067105293274, -0.12083420157432556, -0.4827570617198944, -0.5538257360458374, -0.1363600343465805, -0.35691753029823303, -0.33894574642181396, 0.01108572818338871, 0.20766659080982208, 0.3360428512096405, 0.017043301835656166, 0.5795632004737854, -0.8967824578285217, 0.09585673362016678, 0.23978562653064728, 0.4816308617591858, -0.3682437837123871, -1.1802209615707397, -0.5579572916030884, -0.06921955198049545, -0.16853484511375427, -0.6583775877952576, 0.4885742664337158, 0.5240557789802551, 0.4952594041824341, 0.3567955493927002, 0.20347799360752106, 0.8004665970802307, -0.5749757289886475, 0.6788402795791626, 0.10346274077892303, -1.265624761581421, 0.3711468577384949, -0.24833817780017853, 0.6007713675498962, 0.5789662003517151, 0.5725163221359253, -0.8098379373550415, -0.17927029728889465, -0.1702459156513214, -0.5186745524406433, 1.294486403465271, -0.13902752101421356, 0.026575064286589622, 0.10525200515985489, 0.24072735011577606, 0.37317565083503723, -0.2479967623949051, -0.8350710272789001, 0.024325504899024963, -0.3883972465991974, -0.33339744806289673, -0.07540283352136612, 0.1550920158624649, 0.29962509870529175, -0.3551102578639984, 0.8127214908599854, -0.7294120192527771, -0.14678871631622314, 0.26553359627723694, -0.479714959859848, -0.41468924283981323, 0.4115196466445923, 0.6469001173973083, 0.4520408511161804, -0.08044301718473434, 0.0642579048871994, 0.5708304643630981, -0.23609252274036407, 0.09427165985107422, 0.23762810230255127, -0.4106169044971466, 0.11266040802001953, 0.3577796220779419, 1.1380573511123657, 0.8180682063102722, -0.5405821204185486, 0.4513736963272095, -0.1384187936782837, -0.4327794313430786, 0.2130061686038971, -0.0382542684674263, -0.3898569345474243, 0.1796836107969284, 0.36650678515434265, -0.061685074120759964, 0.2505074739456177, -0.7046026587486267, 0.22396427392959595, 0.2961548864841461, -0.706439197063446, -0.33624890446662903, 0.3441252112388611, -0.07951722294092178, -0.2601716220378876, 0.3518097400665283, -0.12498906999826431, -0.6518930196762085, 0.5336453914642334, 0.9967882633209229, 0.9207613468170166, -0.3148394823074341, 0.30235555768013, 0.4718225300312042, 0.2065693885087967, 0.013055292889475822, -0.0721556693315506, -0.3751896023750305, -0.8754971027374268, -0.513755738735199, -0.38072413206100464, -0.5555084943771362, -0.17932482063770294, -0.5632637739181519, 0.5901005268096924, -0.025736410170793533, 0.408886581659317, 0.16917413473129272, -0.09242279082536697, -0.4141548275947571, 0.17260782420635223, 0.16794516146183014, 1.2112928628921509, -0.9100765585899353, 1.1187325716018677, 0.8135923147201538, -0.09788793325424194, -0.6087979078292847, -0.034906741231679916, -0.2577132284641266, -0.4653989374637604, 0.7899773716926575, 0.09633217006921768, -0.1697072833776474, 0.17833799123764038, -0.47630465030670166, -0.6751770973205566, 1.0743709802627563, 0.5297390222549438, -0.5428164601325989, 0.21648778021335602, 0.30126479268074036, 0.5511702299118042, -0.6128333806991577, 0.2928483784198761, 0.33366215229034424, 0.5518298149108887, 0.04442886635661125, -1.4062691926956177, 0.037702955305576324, -0.057060591876506805, -0.1318897008895874, -0.012031235732138157, -0.5114914774894714, 0.734085202217102, -0.05770963057875633, -0.42873427271842957, -0.018752548843622208, 0.41338998079299927, -0.07510896027088165, 0.4874792695045471, 0.7208800911903381, 0.2834407687187195, 0.1295425295829773, 0.15233495831489563, 1.0636743307113647, -0.30091631412506104, 0.10692865401506424, 1.0798661708831787, -0.5249592661857605, 0.8706396818161011, 0.3664405941963196, 0.21669070422649384, 0.5624414086341858, 0.5486425757408142, 0.28628265857696533, 0.7672460675239563, -0.239207923412323, -0.3132946491241455, -0.17152485251426697, -0.13311350345611572, -0.09896950423717499, 0.5838963389396667, 0.3106066584587097, -0.29312190413475037, -0.5174499750137329, 0.5296814441680908, -0.13141116499900818, -0.010751948691904545, -0.6617178320884705, 0.9804331064224243, -0.0626310259103775, -0.8922536373138428, 0.7012282013893127, 0.061805468052625656, 0.8275593519210815, -0.6550218462944031, -0.14897316694259644, -0.1759057641029358, 0.3312063217163086, 0.04094168543815613, -0.6470528841018677, 0.18000514805316925, -0.05550675094127655, -0.11196859180927277, -0.5421343445777893, 0.8403144478797913, -0.7924471497535706, -0.5275285840034485, 0.3927749991416931, 0.3467338979244232, 0.16296891868114471, -0.04189791530370712, -0.5249292254447937, -0.3551701307296753, 0.047890108078718185, -0.013645247556269169, 0.7509368062019348, 0.9279607534408569, -0.3503752648830414, 0.47729966044425964, 0.3939046859741211, -0.046912871301174164, 0.034632522612810135, 0.023369403555989265, 0.6487258076667786, -0.5862140655517578, -0.6612858772277832, -0.6578553318977356, 0.24014583230018616, 0.2587963342666626, -0.4013344645500183, 0.7802466750144958, 0.44508475065231323, 1.3038402795791626, -0.19606547057628632, 0.9415829181671143, 0.002816207008436322, 0.5485089421272278, -0.5880769491195679, 0.6802082657814026, -0.7350314259529114, -0.04963406175374985, -0.3410831689834595, -0.4608675241470337, -0.3765746057033539, 0.46845728158950806, -0.13764964044094086, -0.16941504180431366, 0.745254635810852, 0.6115351915359497, -0.39129242300987244, -0.17590416967868805, 0.8501858115196228, 0.08655410259962082, -0.020485255867242813, 0.6597483158111572, 0.4905182719230652, -0.7607762217521667, 0.6067531704902649, -0.4260048270225525, -0.22707384824752808, -0.2472001016139984, -1.1666290760040283, -0.8710859417915344, -0.6336871385574341, -0.3471849858760834, -0.010169059969484806, 0.25199028849601746, 0.8930271863937378, 0.9026379585266113, -0.8857918381690979, -0.2043379545211792, 0.044020846486091614, 0.040767330676317215, -0.5759334564208984, -0.25256240367889404, 0.29417744278907776, -0.6173830628395081, -0.9006083607673645, 0.412479430437088, 0.39590826630592346, 0.1098385751247406, 0.13261088728904724, 0.03150508180260658, -0.13587334752082825, 0.021669985726475716, 1.0037873983383179, 0.36992380023002625, -0.18126049637794495, -0.5285359025001526, 0.09759196639060974, -0.0099619897082448, 0.1351165920495987, 0.7413304448127747, -0.8731093406677246, 0.3911455273628235, 0.45475804805755615, 0.7645891904830933, 0.5128371715545654, -0.05913543701171875, 0.5984441637992859, -0.8512392640113831, 0.1962794065475464, -0.042085595428943634, 0.3335767090320587, 0.3328447639942169, -0.4062854051589966, 0.2969215214252472, -0.006908929441124201, -0.31242257356643677, -0.740388035774231, -0.0266487505286932, -1.1234315633773804, -0.551129937171936, 1.096392035484314, -0.29121026396751404, -0.20424741506576538, -0.320890337228775, -0.5358903408050537, 0.36033275723457336, -0.16447460651397705, 0.8009449243545532, 0.708949625492096, 0.022013382986187935, -0.5617071390151978, -0.36744076013565063, 0.2986898124217987, 0.4994813799858093, -1.0526182651519775, 0.001211280352436006, 0.1106264740228653, 0.43335068225860596, 0.07235440611839294, 0.48625844717025757, 0.054245978593826294, 0.6314452290534973, -0.14799576997756958, -0.05923156440258026, 0.03482404723763466, -0.34671157598495483, -0.5468858480453491, 0.040039755403995514, -0.16788437962532043, -0.1324623078107834 ]
http://arxiv.org/abs/2404.02936v3
http://arxiv.org/pdf/2404.02936v3
Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Models
2024-04-03T04:25:01
2024-05-23T23:06:49
Jingyang Zhang, Jingwei Sun, Eric Yeats, Yang Ouyang, Martin Kuo, Jianyi Zhang, Hao Frank Yang, Hai Li
cs.CL
cs.CL, cs.LG
The problem of pre-training data detection for large language models (LLMs) has received growing attention due to its implications in critical issues like copyright violation and test data contamination. Despite improved performance, existing methods (including the state-of-the-art, Min-K%) are mostly developed upon simple heuristics and lack solid, reasonable foundations. In this work, we propose a novel and theoretically motivated methodology for pre-training data detection, named Min-K%++. Specifically, we present a key insight that training samples tend to be local maxima of the modeled distribution along each input dimension through maximum likelihood training, which in turn allow us to insightfully translate the problem into identification of local maxima. Then, we design our method accordingly that works under the discrete distribution modeled by LLMs, whose core idea is to determine whether the input forms a mode or has relatively high probability under the conditional categorical distribution. Empirically, the proposed method achieves new SOTA performance across multiple settings. On the WikiMIA benchmark, Min-K%++ outperforms the runner-up by 6.2% to 10.5% in detection AUROC averaged over five models. On the more challenging MIMIR benchmark, it consistently improves upon reference-free methods while performing on par with reference-based method that requires an extra reference model.
[ -0.711198091506958, -0.7052508592605591, 0.5938493013381958, -0.03449233993887901, -0.3018776774406433, -0.07468187063932419, -0.2866460382938385, -0.26603519916534424, 0.2601965367794037, 0.5005478858947754, -0.5385933518409729, -0.613875150680542, -0.6789044141769409, 0.08106034249067307, -0.35821548104286194, 0.6767460703849792, 0.12035490572452545, 0.1489105373620987, -0.2656378746032715, -0.18338385224342346, -0.24452181160449982, -0.6726208329200745, -0.6228876709938049, -0.31195780634880066, 0.44402220845222473, 0.5773276686668396, 0.4937874376773834, 0.6431166529655457, 0.3866814076900482, 0.20885522663593292, -0.016260897740721703, -0.10506045818328857, -0.5080339312553406, -0.20849986374378204, 0.4457624554634094, -0.6749512553215027, -0.4663199484348297, -0.007623798213899136, 0.7933084964752197, 0.545711874961853, -0.07469917088747025, 0.26818710565567017, -0.11817920953035355, 0.6581956744194031, -1.0504034757614136, -0.01671023666858673, -0.5484259128570557, 0.03504684939980507, -0.44305485486984253, -0.3316440284252167, -0.5129108428955078, -0.2898382544517517, -0.27741357684135437, -0.6350646018981934, 0.15034650266170502, -0.3528294265270233, 0.8507397174835205, 0.1977100819349289, -0.5281786322593689, -0.2281372994184494, -0.6053210496902466, 0.7050564289093018, -0.7229577898979187, 0.7032559514045715, 0.7720944285392761, 0.4438420832157135, -0.21741218864917755, -0.4858804941177368, -0.9018594026565552, -0.5362516641616821, -0.04480426758527756, -0.1644103080034256, -0.17924316227436066, -0.2259645164012909, 0.46726641058921814, 0.3126274049282074, -0.4807094931602478, 0.23380334675312042, 0.01975019834935665, -0.3925093412399292, 0.33715930581092834, -0.020845897495746613, 0.12472233921289444, 0.023271985352039337, -0.17005757987499237, -0.20895183086395264, -1.1291307210922241, 0.1696932464838028, 0.49532559514045715, 0.26224830746650696, -0.13424330949783325, 0.40881338715553284, -0.5206114053726196, 0.6507547497749329, 0.05652257055044174, -0.2163192182779312, 0.4630492925643921, -0.508739709854126, -0.07564087957143784, -0.1451362818479538, 0.7353980541229248, -0.08313979208469391, 0.4017443358898163, 0.29932376742362976, -0.2709721028804779, 0.24253612756729126, -0.3087945580482483, -0.9781956672668457, -0.5126557946205139, -0.2551426589488983, -0.3161454200744629, -0.6017132997512817, -0.43582579493522644, -0.35751503705978394, -0.48913371562957764, -0.5719022750854492, 0.5270753502845764, -0.2384052276611328, -0.36122584342956543, 0.07233127951622009, 0.42582201957702637, 0.22954949736595154, 0.16312234103679657, -0.7208126783370972, 0.10969482362270355, 0.6521957516670227, 0.5275241136550903, -0.058014415204524994, -0.018407095223665237, -0.7292875647544861, -0.23808617889881134, -0.541379988193512, 1.0641604661941528, -0.5938565731048584, 0.006612885743379593, -0.15358653664588928, -0.09427818655967712, 0.3008716404438019, -0.670471727848053, 0.6088897585868835, -0.6502856612205505, 0.14922207593917847, -0.36103540658950806, -0.7359155416488647, 0.48599517345428467, 0.41523972153663635, -0.7818538546562195, 1.162219524383545, 0.04945024102926254, -0.928069531917572, 0.8003453612327576, -0.46544939279556274, -0.46762773394584656, 0.08810004591941833, -0.2934424877166748, -0.49592769145965576, -0.031696297228336334, 0.4198366105556488, 0.45485612750053406, -0.1381036639213562, 0.3061050474643707, -0.4801982343196869, -0.3486505448818207, 0.32981693744659424, -0.49775075912475586, 0.7962896823883057, 0.17704300582408905, -0.008535902015864849, 0.08607343584299088, -0.9034391641616821, 0.016648821532726288, 0.06063366308808327, -0.36403125524520874, -0.5614057779312134, -0.2568736672401428, -0.24833419919013977, 0.24217690527439117, 0.22630639374256134, -0.4966864585876465, 0.15214407444000244, -0.16332392394542694, 0.024974117055535316, 0.8076527714729309, -0.16606861352920532, 0.6050081253051758, -0.14470040798187256, 0.6562440395355225, -0.07910164445638657, 0.25974294543266296, -0.11742051690816879, -0.23411212861537933, -0.797605574131012, -0.6191801428794861, 0.6555077433586121, 0.41223645210266113, -0.9294611811637878, 0.7584502100944519, -0.42030295729637146, -0.397340327501297, -0.4558453857898712, 0.18013343214988708, 0.21184782683849335, 0.6034846901893616, 0.1659117341041565, -0.1530107706785202, -0.6423845887184143, -0.9642122983932495, -0.05259687826037407, -0.006687917746603489, -0.290263295173645, -0.00557277537882328, 0.4968184530735016, -0.2152140885591507, 1.0315964221954346, -0.534315824508667, -0.23818080127239227, -0.328464150428772, -0.1173015758395195, 0.4475553333759308, 0.5091860890388489, 0.3864019513130188, -0.7620402574539185, -0.8799240589141846, -0.2238735854625702, -0.5353134274482727, -0.29024478793144226, 0.13265156745910645, -0.3047199845314026, -0.1359555721282959, 0.5419237017631531, -0.6580858826637268, 0.3351222574710846, 0.482334166765213, -0.23537784814834595, 0.6606571078300476, -0.03654438629746437, 0.04411355406045914, -1.0707319974899292, 0.19088900089263916, 0.00020372867584228516, -0.4486980736255646, -0.8233808875083923, 0.010478206910192966, 0.2773304581642151, 0.058746762573719025, -0.3199428915977478, 0.5120894908905029, -0.18731927871704102, 0.04576576128602028, -0.4189942479133606, -0.09829563647508621, -0.21031032502651215, 0.32134267687797546, 0.06767623871564865, 0.7774571776390076, 0.557645857334137, -0.7004355788230896, 0.21122318506240845, -0.022102409973740578, -0.6109726428985596, 0.5643647909164429, -0.32040277123451233, 0.16002380847930908, -0.09991190582513809, 0.4776245355606079, -0.8424253463745117, -0.11078115552663803, 0.12197295576334, -0.624845027923584, 0.2127748727798462, -0.2887111306190491, -0.7662150859832764, -0.0214352086186409, -0.4499351382255554, 0.4710192382335663, 0.47129034996032715, -0.5333437323570251, 0.43987134099006653, 0.6165012717247009, -0.09807902574539185, -0.652145266532898, -0.35208630561828613, -0.13619542121887207, -0.19297295808792114, -0.6136776804924011, 0.017448363825678825, -0.20568521320819855, -0.009212768636643887, -0.25452765822410583, -0.3279419541358948, -0.36670225858688354, 0.29457056522369385, -0.18483272194862366, 0.30874699354171753, -0.3854258060455322, -0.03449311852455139, -0.12509344518184662, -0.46130552887916565, -0.223188579082489, -0.11076252162456512, 0.8102996945381165, -0.015494326129555702, -0.282021164894104, -0.5993526577949524, 0.08342079818248749, 0.41524356603622437, -0.0969301238656044, 0.7473779320716858, 0.7174298167228699, -0.5001073479652405, -0.04427507892251015, -0.5886260271072388, -0.36057794094085693, -0.5079110264778137, 0.4557286202907562, -0.5126556158065796, -0.7255842089653015, 0.4021468162536621, -0.036092016845941544, -0.17379917204380035, 0.1497609168291092, 0.5580624938011169, -0.29573798179626465, 1.0798943042755127, 0.8729078769683838, -0.5469549894332886, 0.8041812181472778, -0.3079453408718109, 0.27889564633369446, -0.4711754322052002, 0.0770922303199768, -0.5479857325553894, -0.26374900341033936, -0.34659647941589355, -0.3737405836582184, 0.29754069447517395, 0.4277692437171936, -0.06688188016414642, 0.4254978597164154, -0.009695839136838913, 0.8862747550010681, 0.4271574914455414, -0.0543486513197422, 0.5021982789039612, 0.08318490535020828, -0.011569996364414692, -0.08089341968297958, -0.672196626663208, -0.27796095609664917, 1.320891261100769, 0.31991907954216003, 0.6245256066322327, -0.1372869461774826, 0.7281576991081238, 0.3709254860877991, 0.8052281737327576, -0.6842510104179382, 0.5808238387107849, -0.17185096442699432, -0.6255760788917542, -0.31923308968544006, -0.7297796010971069, -0.8476918935775757, 0.31467005610466003, -0.2639303505420685, -0.47774022817611694, 0.2038823813199997, 0.3164384365081787, -0.25944840908050537, 0.09758077561855316, -0.6236612796783447, 0.9909903407096863, -0.044145721942186356, 0.06662130355834961, 0.017827339470386505, -0.3186971843242645, 0.5455494523048401, -0.36448949575424194, 0.46960967779159546, -0.3907158076763153, -0.03576537221670151, 0.6261246800422668, -0.4170098900794983, 0.4936590790748596, -0.44572949409484863, -0.2856678068637848, 0.05624021962285042, 0.030073976144194603, 0.9223269820213318, -0.05247018113732338, 0.27929529547691345, -0.09319909662008286, 0.018006889149546623, -0.597003698348999, -0.45211827754974365, 0.4064677655696869, -0.47156432271003723, -0.03519012778997421, -0.10424654185771942, -0.5332144498825073, -0.3684104084968567, 0.2701394855976105, 0.5460784435272217, 0.4027822017669678, 0.10631868988275528, 0.5630961656570435, 0.6917675733566284, -0.045100778341293335, -0.07385063171386719, 0.842275083065033, -0.25051724910736084, -0.26130566000938416, 0.9632827043533325, -0.12005163729190826, 0.2894764244556427, 0.5239583849906921, 0.4065091907978058, -0.36789700388908386, -0.7420507073402405, -0.2869816720485687, 0.2556783854961395, -0.8695133328437805, -0.2357204109430313, -0.5333930850028992, 0.07915018498897552, -0.3337622582912445, 0.08210987597703934, -0.5823081135749817, -0.16512252390384674, 0.017250951379537582, -0.07307472079992294, 0.06484224647283554, 0.11996360868215561, -0.009393816813826561, 0.5846896171569824, -0.5741006135940552, 0.4788188338279724, 0.15605591237545013, 0.13907110691070557, -0.21203364431858063, -0.7087702751159668, -0.30141517519950867, 0.040539246052503586, 0.1057489886879921, -0.5426555871963501, 0.2707638144493103, 0.2768801748752594, 0.4897319972515106, 0.5512953996658325, 0.09526757895946503, 0.6198509931564331, -0.33165156841278076, 0.24572601914405823, 0.15841038525104523, -0.7614907026290894, 0.34414902329444885, -0.21258032321929932, 0.3498844802379608, 0.8741365075111389, 0.5599831342697144, -0.4830802381038666, -0.48891374468803406, -0.44881415367126465, -0.6177319884300232, 0.5491283535957336, 0.329227089881897, 0.16337132453918457, 0.3039807379245758, 0.15340232849121094, 0.04265223816037178, 0.09832966327667236, -0.9826251268386841, -0.2482208013534546, 0.38076260685920715, -0.41083094477653503, -0.2731142044067383, -0.21296966075897217, 0.08023256808519363, -0.3659970760345459, 0.6191483736038208, -0.151866152882576, 0.07886926084756851, -0.2889830470085144, -0.4523216187953949, 0.15859836339950562, 0.20058952271938324, 0.4540211260318756, 0.6887269020080566, -0.13657747209072113, 0.251132607460022, 0.2883233428001404, -0.7076826095581055, 0.35652488470077515, -0.0554361566901207, -0.488413006067276, 0.0034702038392424583, 0.6315712928771973, 0.5334162712097168, 0.03298294171690941, -0.6979343295097351, 0.7853500843048096, -0.22915136814117432, 0.012793105095624924, -0.3095780313014984, -0.024169735610485077, 0.09657219052314758, 0.09162004292011261, 0.4549175202846527, 0.10106327384710312, 0.011204695329070091, -0.5058691501617432, 0.5113489627838135, 0.4064589738845825, -0.13850584626197815, -0.5073608756065369, 0.10587062686681747, -0.08777093887329102, -0.07073624432086945, 0.22975054383277893, -0.38534340262413025, -0.6438011527061462, 0.6689504981040955, 0.34630900621414185, 0.6142742037773132, -0.23000024259090424, 0.042065735906362534, 0.29906144738197327, 0.3314485251903534, -0.08556992560625076, 0.3961045444011688, -0.3727458417415619, -1.1804832220077515, -0.7021762132644653, -0.72330242395401, 0.016798561438918114, 0.648753821849823, -0.6773839592933655, 0.4051160216331482, -0.2691200375556946, -0.22821465134620667, 0.10767482221126556, 0.06434217840433121, -0.7542524337768555, 0.0748009979724884, 0.3636856973171234, 0.9631096124649048, -1.2374770641326904, 1.315096139907837, 0.23419539630413055, -0.023939810693264008, -0.7601691484451294, 0.0833074152469635, -0.14081881940364838, -0.7120789289474487, 0.6702383160591125, 0.17753349244594574, -0.08578619360923767, 0.03488153591752052, -0.5115766525268555, -0.9111841320991516, 0.7628716826438904, 0.7186248898506165, -0.5927132368087769, 0.27101656794548035, -0.023214980959892273, 0.4908643960952759, -0.3892573118209839, 0.00711115961894393, 0.9939834475517273, 0.3743819296360016, -0.023894648998975754, -0.659466028213501, -0.08697093278169632, -0.24390920996665955, -0.3698689937591553, 0.505657434463501, -0.03712345287203789, 0.7436916828155518, 0.16775034368038177, -0.3024878203868866, 0.009792153723537922, 0.433768093585968, 0.5857588052749634, 0.3805354833602905, 0.9536251425743103, 0.6473615169525146, 0.7982560992240906, 0.10253951698541641, 1.0754358768463135, -0.17235438525676727, 0.3896107077598572, 1.1104869842529297, -0.1797720342874527, 1.0597749948501587, 0.2278192788362503, -0.5324249863624573, 0.19847933948040009, 0.6485483050346375, 0.21007297933101654, 0.787861704826355, 0.1567177176475525, -0.4557872712612152, -0.5031319856643677, -0.10286185890436172, -0.48461923003196716, 0.29820260405540466, 0.18671005964279175, 0.0026090280152857304, -0.19221752882003784, 0.16979466378688812, 0.10015504062175751, -0.10592611879110336, -0.306171715259552, 0.573235809803009, -0.03193112462759018, -0.36829909682273865, 0.7903372645378113, -0.09209945052862167, 0.9910016655921936, -0.7588202953338623, 0.2473319172859192, -0.5552076101303101, 0.323408305644989, -0.20093168318271637, -0.31655868887901306, -0.004400288220494986, 0.2980712652206421, -0.09552250057458878, -0.020642587915062904, 0.8520699143409729, -0.46826988458633423, -0.6696957945823669, 0.12886904180049896, 0.2512083053588867, 0.179795041680336, -0.2911323308944702, -0.45561715960502625, 0.01422977726906538, -0.029106685891747475, -0.10827215760946274, 0.5642610788345337, 0.3576296269893646, -0.13275575637817383, 0.7192512154579163, 0.9932653307914734, 0.23952920734882355, 0.2522478699684143, 0.19272245466709137, 0.862884521484375, -0.34788891673088074, -0.7316740155220032, -0.8993274569511414, 0.1905151605606079, -0.11177189648151398, -0.050679732114076614, 0.7198432683944702, 0.6760133504867554, 1.1422455310821533, -0.10707183182239532, 0.5423781871795654, 0.07575498521327972, 0.39130815863609314, -0.5832226276397705, 0.6982271671295166, -0.47498905658721924, 0.31064897775650024, -0.1641210913658142, -1.0218414068222046, -0.23306860029697418, 0.6656360626220703, -0.41482704877853394, -0.13317903876304626, 0.574569821357727, 0.8969343304634094, -0.30034512281417847, -0.19378264248371124, 0.3589746356010437, -0.04426192119717598, 0.3759925365447998, 0.5346232652664185, 1.1821635961532593, -0.2382468283176422, 0.6652166843414307, -0.4473515450954437, -0.31764546036720276, -0.13958650827407837, -0.8458526730537415, -0.6947857141494751, -0.2900303900241852, -0.23005087673664093, -0.19542542099952698, -0.42298030853271484, 0.7734047770500183, 0.9695556163787842, -1.1014535427093506, -0.11975707113742828, -0.056644003838300705, 0.04798242077231407, 0.06370542198419571, -0.16783715784549713, 0.3546123802661896, -0.1651279479265213, -0.3774377107620239, 0.6333971619606018, -0.06435049325227737, -0.09140511602163315, -0.29075342416763306, -0.32439887523651123, -0.1517779529094696, -0.04258269816637039, 0.5958707332611084, 0.2233380526304245, -0.3569663166999817, -0.13490352034568787, -0.11395388841629028, -0.31862837076187134, 0.09982988238334656, 1.0510581731796265, -0.8322575688362122, 0.35401105880737305, 0.7499628663063049, 0.6955870985984802, 0.7056913375854492, -0.041595712304115295, 0.40651121735572815, -1.0398787260055542, 0.459512859582901, 0.42263415455818176, 0.30075961351394653, 0.2755276560783386, -0.1959310621023178, 0.344873309135437, 0.2921709716320038, -0.24768327176570892, -1.2639269828796387, 0.3715111017227173, -0.49159854650497437, -0.030152229592204094, 0.7470052242279053, -0.2352801412343979, 0.03167163208127022, -0.015198440290987492, 0.11665559560060501, 0.0785103291273117, -0.27618008852005005, 0.5903891921043396, 0.6883227825164795, 0.1034880205988884, -0.019141651690006256, -0.8452827334403992, 0.6056126952171326, 0.4340790808200836, -0.9945459961891174, -0.032133523374795914, 0.46665897965431213, 0.5399347543716431, -0.004896043334156275, 1.1229850053787231, 0.04561752453446388, 0.23161680996418, -0.07816498726606369, -0.07280623912811279, -0.09231981635093689, -0.5239182710647583, -0.3985174894332886, 0.1694221943616867, 0.09040679782629013, -0.23141790926456451 ]
http://arxiv.org/abs/2404.02444v1
http://arxiv.org/pdf/2404.02444v1
The Promises and Pitfalls of Using Language Models to Measure Instruction Quality in Education
2024-04-03T04:15:29
2024-04-03T04:15:29
Paiheng Xu, Jing Liu, Nathan Jones, Julie Cohen, Wei Ai
cs.CL
cs.CL, cs.AI
Assessing instruction quality is a fundamental component of any improvement efforts in the education system. However, traditional manual assessments are expensive, subjective, and heavily dependent on observers' expertise and idiosyncratic factors, preventing teachers from getting timely and frequent feedback. Different from prior research that mostly focuses on low-inference instructional practices on a singular basis, this paper presents the first study that leverages Natural Language Processing (NLP) techniques to assess multiple high-inference instructional practices in two distinct educational settings: in-person K-12 classrooms and simulated performance tasks for pre-service teachers. This is also the first study that applies NLP to measure a teaching practice that is widely acknowledged to be particularly effective for students with special needs. We confront two challenges inherent in NLP-based instructional analysis, including noisy and long input data and highly skewed distributions of human ratings. Our results suggest that pretrained Language Models (PLMs) demonstrate performances comparable to the agreement level of human raters for variables that are more discrete and require lower inference, but their efficacy diminishes with more complex teaching practices. Interestingly, using only teachers' utterances as input yields strong results for student-centered variables, alleviating common concerns over the difficulty of collecting and transcribing high-quality student speech data in in-person teaching settings. Our findings highlight both the potential and the limitations of current NLP techniques in the education domain, opening avenues for further exploration.
[ -0.3435526490211487, -0.8391788005828857, 0.22351792454719543, 0.2965936064720154, 0.011008559726178646, 0.10156480967998505, -0.28076210618019104, -0.3224470019340515, -0.10979953408241272, 0.45001649856567383, -0.24082037806510925, -0.5566784739494324, -0.7492594122886658, 0.00605982868000865, -0.5666693449020386, 0.6897605657577515, 0.05009029433131218, 0.513279378414154, -0.26910310983657837, -0.09646955132484436, -0.5044715404510498, -0.7738940119743347, -0.4597473740577698, -0.24733832478523254, 0.19096530973911285, 0.474580854177475, 0.8038546442985535, 0.25378039479255676, 0.5966346859931946, 0.22156192362308502, 0.16802529990673065, 0.2678084969520569, -0.11176270991563797, -0.288394570350647, -0.07859667390584946, -0.2774900496006012, -0.45542433857917786, 0.4451793134212494, 0.996496856212616, 1.3162403106689453, -0.3969467878341675, 0.23925212025642395, 0.4724331498146057, 0.29424357414245605, -0.770237386226654, -0.19948166608810425, -0.020911134779453278, 0.3169008195400238, -0.0423164963722229, -0.013890826143324375, -0.6025540828704834, -0.5759228467941284, 0.404630184173584, -0.3649727404117584, 0.16266927123069763, -0.24339927732944489, 0.7858794927597046, 0.2192584127187729, -0.3307703137397766, -0.49857109785079956, -0.8513574004173279, 1.051801085472107, -1.1325769424438477, 0.4236402213573456, 0.6427435278892517, 0.26058655977249146, -0.07072541862726212, -0.6263248324394226, -0.5077642798423767, -0.3583507239818573, -0.2038055658340454, 0.1621628850698471, 0.1626640409231186, 0.06180356815457344, 0.29961833357810974, 0.26392874121665955, -0.46822044253349304, 0.382398396730423, -0.2701152265071869, 0.020002638921141624, 0.4520851671695709, 0.0509839691221714, 0.23729820549488068, -0.3378545343875885, -0.40088629722595215, -0.3099434971809387, -0.30985260009765625, 0.44507896900177, 0.4007987380027771, 0.36689361929893494, 0.007219721097499132, 0.48325279355049133, 0.0222322940826416, 0.8533464074134827, -0.4864517152309418, -0.20851436257362366, -0.04688713327050209, -0.21252796053886414, -0.24396279454231262, -0.32287395000457764, 0.7112265229225159, 0.22237464785575867, 0.16657882928848267, -0.1954735666513443, -0.1922660768032074, 0.37242910265922546, 0.2032524049282074, -0.5073741674423218, -0.14087258279323578, -0.17381258308887482, -0.2531847357749939, 0.034506406635046005, 0.1291932761669159, -1.0220179557800293, -0.14498503506183624, -0.5429680347442627, 0.4079214930534363, -0.308628648519516, -0.10389572381973267, 0.24307262897491455, 0.2117897868156433, 0.23100349307060242, 0.32705435156822205, -0.848720371723175, 0.7631942629814148, 0.6364657282829285, 0.6331944465637207, -0.3865815997123718, -0.46063971519470215, -0.49273040890693665, -0.28386572003364563, -0.3918561637401581, 0.7450424432754517, -0.6936848759651184, -0.4428507089614868, 0.10234199464321136, -0.2497909963130951, -0.23203174769878387, -0.5982164144515991, 0.5460489392280579, -0.14952240884304047, 0.38837340474128723, 0.0378861278295517, -0.9877141118049622, 0.0008894006605260074, 0.13293971121311188, -0.46422553062438965, 1.1649938821792603, 0.20441246032714844, -0.2970714569091797, 0.3179478645324707, -0.5414841175079346, -0.5076401829719543, -0.09082993865013123, -0.049802184104919434, -0.2292984426021576, 0.25124773383140564, 0.21132098138332367, 0.43540075421333313, -0.1762571930885315, 0.2790715992450714, -0.0037498045712709427, -0.5147770643234253, 0.29017332196235657, -0.7607183456420898, 0.5600590109825134, -0.1395118236541748, -0.27133193612098694, -0.1231686919927597, -0.780432403087616, 0.3786320686340332, -0.09983231127262115, -0.4563184976577759, -0.42542749643325806, 0.1101778969168663, -0.15722592175006866, 0.017508845776319504, -0.09996592998504639, -0.1380215883255005, 0.06859670579433441, -0.5975227355957031, 0.060379717499017715, 0.5423387885093689, -0.13138450682163239, 0.5618874430656433, -0.2559982240200043, 0.6682068109512329, -0.48450401425361633, 0.36001941561698914, -0.1858375072479248, -0.31842097640037537, -0.7292242050170898, 0.0029888765420764685, 0.5072476267814636, 0.2705574035644531, -0.5888041853904724, 0.1707514375448227, -0.03983606398105621, -0.38696447014808655, -0.7553210854530334, 0.15266108512878418, 0.5758317708969116, 0.5004302263259888, 0.46393781900405884, -0.6662032008171082, -0.1855534017086029, -0.47589415311813354, -0.4928329288959503, 0.059282101690769196, -0.14781272411346436, 0.0838669165968895, 0.3227599561214447, 0.21043850481510162, 0.8470057249069214, -0.2707268297672272, -0.07556875050067902, -0.08315186947584152, 0.3594178855419159, 0.18100960552692413, 0.6280586123466492, 0.4294896721839905, -0.39849984645843506, -0.4972456991672516, -0.5098505020141602, -0.623960554599762, 0.006329365074634552, -0.09028811007738113, -0.22252726554870605, 0.03296623378992081, -0.024012506008148193, -0.35276204347610474, 0.4868004620075226, 0.5744927525520325, -0.29250454902648926, 0.6194838285446167, -0.15154969692230225, 0.22190304100513458, -0.3972829282283783, -0.25828519463539124, 0.03225988149642944, -0.007509173359721899, -0.7797640562057495, 0.04495435580611229, -0.06692711263895035, -0.12221591919660568, -0.4283718168735504, 0.3689860701560974, -0.3407056927680969, -0.22388873994350433, -0.16411063075065613, 0.1266208291053772, 0.2354741245508194, 0.5026017427444458, 0.16778507828712463, 0.6837361454963684, 0.3532162308692932, -0.5399025678634644, 0.021751565858721733, 0.05329592525959015, -0.6415891051292419, 0.7089416980743408, -0.6766538619995117, 0.350788950920105, 0.09270894527435303, 0.04290737956762314, -0.6063715815544128, -0.10901191830635071, 0.18109910190105438, -0.39176374673843384, 0.37068596482276917, 0.009860733523964882, -0.4826066792011261, -0.26736900210380554, -0.16664941608905792, -0.15090106427669525, 0.5834917426109314, -0.47133299708366394, 0.4474101960659027, 0.17032529413700104, -0.0548604317009449, -0.6853748559951782, -0.5716729760169983, 0.03754346817731857, 0.008611517027020454, -0.3688318431377411, 0.042173974215984344, 0.009242693893611431, -0.16918818652629852, -0.08881301432847977, -0.43923330307006836, -0.48407554626464844, 0.3619372546672821, 0.00629253126680851, 0.46921706199645996, -0.4342222809791565, 0.07797138392925262, 0.06423944979906082, -0.029742833226919174, 0.23407085239887238, -0.04559297487139702, 0.4397723972797394, -0.06256291270256042, -0.7102421522140503, -0.8277108669281006, 0.4651793837547302, 0.3217107951641083, -0.22705790400505066, 0.6949406862258911, 0.46612557768821716, -0.3104844391345978, -0.469633549451828, -0.5597097873687744, -0.526087760925293, -0.39272865653038025, 0.36232858896255493, -0.04980172589421272, -0.5208060145378113, -0.08411558717489243, -0.03583107143640518, 0.24798721075057983, -0.08570238947868347, -0.13387824594974518, -0.4702698290348053, 0.9603105187416077, 0.521664023399353, 0.2729436159133911, 0.4276394844055176, -0.3751203715801239, 0.44876664876937866, -0.6570032835006714, -0.031578179448843, -0.6243835091590881, -0.08550615608692169, -0.20502814650535583, -0.4449099004268646, 0.12318295985460281, 0.543014407157898, -0.013207701966166496, 0.10157625377178192, -0.5868163108825684, 0.39338526129722595, 0.7236436605453491, 0.046986859291791916, 0.34914740920066833, -0.07809674739837646, 0.2650877833366394, -0.34241193532943726, -0.5779666304588318, -1.0657905340194702, 1.0018048286437988, 0.35226067900657654, 0.6406126618385315, 0.11022317409515381, 0.5931388735771179, 0.12426599115133286, 0.7298334240913391, -0.7353612780570984, 0.41774505376815796, -0.28735268115997314, -0.47411757707595825, -0.6660459041595459, -0.4375476837158203, -0.7035455703735352, 0.47018301486968994, -0.30473843216896057, -0.390522301197052, -0.06564803421497345, 0.20069006085395813, -0.4980196952819824, 0.19458134472370148, -1.0963261127471924, 0.9495736956596375, -0.35949575901031494, -0.23149490356445312, 0.04105198010802269, -0.41775962710380554, 0.189689502120018, 0.018687518313527107, 0.26166731119155884, -0.3344934284687042, 0.18413357436656952, 0.9101799130439758, -0.37126389145851135, 0.7773493528366089, -0.4608573317527771, -0.009876263327896595, 0.49042218923568726, -0.05910327658057213, 0.2528665363788605, -0.06293556094169617, -0.1644064038991928, 0.07168824225664139, 0.19053873419761658, -0.5775451064109802, -0.9550427198410034, 0.34266388416290283, -0.7631757855415344, -0.5906770825386047, -0.37796664237976074, -0.36966437101364136, -0.5167197585105896, -0.025304876267910004, 0.06022656336426735, 0.4396763741970062, -0.06644552201032639, 0.15160802006721497, 0.48164719343185425, -0.22979262471199036, 0.47905752062797546, 0.6915483474731445, 0.07948697358369827, -0.009768634103238583, 1.1049487590789795, 0.5410246253013611, 0.554241418838501, 0.1074226051568985, 0.3602713644504547, -0.3038625717163086, -0.6054307222366333, -0.11412245035171509, 0.05464990437030792, -0.7747828364372253, -0.008782331831753254, -0.2624489367008209, -0.10991363227367401, -0.5494314432144165, -0.22646048665046692, -0.4900754392147064, -0.19704009592533112, -0.481139600276947, -0.09562364965677261, -0.2675078511238098, 0.6742216944694519, 0.159201979637146, 0.49350327253341675, -0.6387938261032104, 0.23682239651679993, 0.49412664771080017, 0.21081151068210602, 0.18374359607696533, -0.6491278409957886, -0.10147099941968918, 0.09745904058218002, -0.2979290783405304, -0.7150020003318787, 0.5024856925010681, 0.43546736240386963, 0.5242337584495544, 0.13033121824264526, 0.19372525811195374, 0.6711972951889038, -0.3921155333518982, 0.9475679397583008, 0.21665099263191223, -0.9725069999694824, 0.47194525599479675, 0.2869079113006592, 0.1359967738389969, 0.48861128091812134, 0.3734622299671173, -0.3004152476787567, -0.5012821555137634, -0.38276517391204834, -0.7129994630813599, 0.8919683694839478, -0.03375382348895073, 0.35434746742248535, 0.12404821068048477, 0.15304800868034363, 0.14527365565299988, 0.22389549016952515, -0.5063536167144775, -0.34309133887290955, -0.4326438307762146, -0.3365965485572815, -0.0671117752790451, -0.3054035007953644, -0.02811395563185215, -0.29690757393836975, 0.3975870609283447, -0.056901413947343826, 0.009104938246309757, 0.19331154227256775, -0.16671955585479736, 0.3098437190055847, 0.5912614464759827, 0.47632691264152527, 0.9550687074661255, -0.010643485002219677, 0.21395866572856903, 0.3103927969932556, -0.46393799781799316, 0.1597549319267273, -0.0060402629896998405, -0.0026326775550842285, 0.21467998623847961, 0.7382979989051819, 0.6754541993141174, 0.6795483827590942, -0.4973112642765045, 0.6487247943878174, -0.014878303743898869, 0.1000436395406723, -0.34093666076660156, 0.2344924658536911, -0.20097239315509796, -0.1191539391875267, 0.3048076033592224, 0.12097549438476562, 0.028102068230509758, -0.3651898205280304, 0.06592048704624176, 0.0685008093714714, -0.4601467251777649, -0.5030378103256226, 0.17801807820796967, 0.19963888823986053, -0.6177074909210205, 0.7230319976806641, -0.0478021502494812, 0.020233774557709694, 0.6315680146217346, 0.4581643044948578, 0.4668433368206024, -0.5260607004165649, 0.5043859481811523, 0.2782515287399292, 0.36351826786994934, -0.2881576120853424, 0.11969278752803802, -0.2112179547548294, -0.6723469495773315, -0.639950692653656, -0.5315526127815247, -0.6196388602256775, -0.0007177006918936968, -1.126313328742981, 0.17112474143505096, -0.5277585983276367, -0.3156823515892029, 0.23754490911960602, 0.011560563929378986, -0.7133249044418335, 0.13565076887607574, 0.07874379307031631, 0.6550725102424622, -0.9371780753135681, 0.7750768065452576, 0.666779637336731, -0.342918336391449, -0.8438130021095276, -0.1829679310321808, -0.12457150965929031, -0.4612572491168976, 0.4410766065120697, 0.05838398262858391, -0.11852199584245682, 0.05803403630852699, -0.4343227446079254, -0.5963212847709656, 0.4426644742488861, 0.4836791157722473, -0.5546354651451111, -0.39775732159614563, 0.1449131965637207, 0.6250009536743164, -0.14140282571315765, 0.37819036841392517, 0.9026179909706116, 0.5335885286331177, -0.3151688575744629, -0.7751370072364807, -0.4626239836215973, 0.0978442057967186, -0.11773531138896942, -0.05606262385845184, -0.22463101148605347, 0.573223888874054, 0.004838672932237387, -0.39441609382629395, -0.1283031553030014, 0.684977650642395, 0.11491348594427109, 0.5930747389793396, 0.3158266246318817, 0.4470779597759247, 0.7859197854995728, -0.2865939140319824, 1.0223101377487183, 0.03585026040673256, 0.4086036682128906, 1.2964859008789062, -0.22137829661369324, 0.9211459159851074, 0.5852188467979431, -0.6621045470237732, 0.3252989649772644, 0.4226497709751129, 0.06371747702360153, 0.20682469010353088, 0.21319453418254852, -0.25275999307632446, -0.13964755833148956, -0.33630773425102234, -0.1087668389081955, 0.44161421060562134, 0.4770912230014801, 0.08475571125745773, -0.054404985159635544, 0.2515608072280884, -0.13925056159496307, 0.5729096531867981, -0.17839264869689941, 0.5333471894264221, 0.1995616853237152, -0.7510991096496582, 0.47422975301742554, -0.25385236740112305, 0.7600039839744568, -0.4467197358608246, -0.2793649137020111, -0.18161365389823914, -0.1663752794265747, -0.2064555436372757, -0.6796802878379822, 0.31163299083709717, 0.10874578356742859, -0.040560901165008545, -0.4033428728580475, 0.22128109633922577, -0.39658960700035095, -0.37361836433410645, 0.2330077439546585, 0.43534234166145325, 0.13669219613075256, 0.35891416668891907, -0.42829009890556335, -0.04699224233627319, -0.2613356411457062, -0.4274599254131317, 0.2386004626750946, 0.06537648290395737, 0.20904956758022308, 0.33952710032463074, 0.5988732576370239, 0.27530404925346375, 0.36299195885658264, 0.49200066924095154, 0.2777269184589386, -0.4488440155982971, -0.03996596485376358, -0.5362957715988159, 0.5069978833198547, -0.04474274441599846, -0.721303403377533, 0.7769240736961365, 0.09791036695241928, 1.2109944820404053, 0.12403295934200287, 0.521492600440979, 0.32556936144828796, 0.6945710778236389, -0.5198788642883301, 0.3004630506038666, -0.14898476004600525, 0.2375490516424179, -0.23726604878902435, -0.7358692288398743, -0.3319268822669983, 0.8103984594345093, -0.4512171149253845, -0.03856221213936806, 0.7620795965194702, 0.4259191155433655, 0.09849771857261658, 0.2491084784269333, 0.5419481992721558, -0.1893358826637268, 0.24940060079097748, 0.26164281368255615, 1.1529788970947266, -0.4720093607902527, 0.1683901995420456, -0.6013291478157043, -0.24159835278987885, -0.04135671630501747, -0.4055854082107544, -0.8486935496330261, -0.34517499804496765, -0.354055255651474, 0.06098511815071106, -0.07151581346988678, 0.8965281844139099, 0.748889684677124, -0.7032275795936584, -0.37789857387542725, 0.08834258466959, 0.24122874438762665, -0.37578123807907104, -0.2956879436969757, 0.5122036337852478, -0.5482399463653564, -1.0124351978302002, 0.6381973624229431, -0.073809415102005, 0.13263970613479614, -0.33855414390563965, -0.011248416267335415, -0.06289010494947433, 0.06064477935433388, 0.5883433222770691, 0.2540706694126129, -0.7698833346366882, -0.21382960677146912, 0.028855638578534126, -0.21418145298957825, -0.00267056399025023, 0.780645489692688, -0.40501946210861206, 0.6546242833137512, 0.24830010533332825, 0.7830943465232849, 0.20982901751995087, 0.06373043358325958, 0.3982398808002472, -0.7549834251403809, 0.017139015719294548, 0.7067700028419495, 0.03352335840463638, 0.3728533089160919, 0.010513327084481716, 0.3450048565864563, 0.031650640070438385, -0.4578074812889099, -1.1755270957946777, -0.09774577617645264, -0.43887826800346375, -0.18887931108474731, 0.5942527651786804, -0.5734854340553284, -0.04092266783118248, -0.16146793961524963, 0.119414784014225, 0.16424597799777985, -0.11728958040475845, 0.6966933608055115, 0.9308192133903503, -0.2869705259799957, -0.16283096373081207, -1.059544324874878, 0.2944498658180237, 0.6138177514076233, -0.671928882598877, -0.3065322935581207, 0.20835274457931519, -0.03393735736608505, 0.2510804831981659, 0.45618927478790283, -0.025124650448560715, 0.17466136813163757, -0.0172895435243845, 0.15911807119846344, 0.1446705162525177, -0.5034905672073364, -0.40634363889694214, 0.3837738037109375, -0.0011144051095470786, -0.22947734594345093 ]
http://arxiv.org/abs/2404.02438v1
http://arxiv.org/pdf/2404.02438v1
From Narratives to Numbers: Valid Inference Using Language Model Predictions from Verbal Autopsy Narratives
2024-04-03T03:53:37
2024-04-03T03:53:37
Shuxian Fan, Adam Visokay, Kentaro Hoffman, Stephen Salerno, Li Liu, Jeffrey T. Leek, Tyler H. McCormick
cs.CL
cs.CL, cs.LG, stat.ML
In settings where most deaths occur outside the healthcare system, verbal autopsies (VAs) are a common tool to monitor trends in causes of death (COD). VAs are interviews with a surviving caregiver or relative that are used to predict the decedent's COD. Turning VAs into actionable insights for researchers and policymakers requires two steps (i) predicting likely COD using the VA interview and (ii) performing inference with predicted CODs (e.g. modeling the breakdown of causes by demographic factors using a sample of deaths). In this paper, we develop a method for valid inference using outcomes (in our case COD) predicted from free-form text using state-of-the-art NLP techniques. This method, which we call multiPPI++, extends recent work in "prediction-powered inference" to multinomial classification. We leverage a suite of NLP techniques for COD prediction and, through empirical analysis of VA data, demonstrate the effectiveness of our approach in handling transportability issues. multiPPI++ recovers ground truth estimates, regardless of which NLP model produced predictions and regardless of whether they were produced by a more accurate predictor like GPT-4-32k or a less accurate predictor like KNN. Our findings demonstrate the practical importance of inference correction for public health decision-making and suggests that if inference tasks are the end goal, having a small amount of contextually relevant, high quality labeled data is essential regardless of the NLP algorithm.
[ -0.10706690698862076, -0.5282830595970154, 1.030681848526001, 0.3076038658618927, 0.09303583949804306, -0.05155414342880249, 0.07976473867893219, -0.48972612619400024, 0.2806229889392853, 0.48722007870674133, -0.27825239300727844, -0.24690693616867065, -0.7032948732376099, 0.0931059941649437, -0.2899898886680603, 0.6612744927406311, 0.319227397441864, 0.23042836785316467, -0.29652681946754456, 0.052329402416944504, -0.3049467206001282, -0.7531120777130127, -0.7350661754608154, -0.03739192709326744, 0.5998856425285339, 0.18839184939861298, 0.81544429063797, 0.6807762384414673, 0.09535208344459534, 0.26347771286964417, 0.08190248906612396, 0.28898611664772034, -0.03382761776447296, -0.010922434739768505, 0.16441909968852997, -0.5100457668304443, -0.4694399833679199, 0.1639508157968521, 0.291675865650177, 1.026330590248108, -0.27699369192123413, -0.09843256324529648, -0.21133483946323395, 0.4995196759700775, -0.6872983574867249, 0.028267066925764084, -0.3438512086868286, 0.09419644623994827, -0.1036696806550026, -0.2551356852054596, -1.0367343425750732, -0.5536690354347229, 0.17268893122673035, -0.6236673593521118, 0.15580816566944122, -0.1961752027273178, 0.6393082141876221, 0.2495209127664566, -0.7251988649368286, -0.20852293074131012, -0.7536675930023193, 0.843225359916687, -0.9572417140007019, 0.24434557557106018, 0.792422890663147, 0.3155531883239746, -0.28946810960769653, -0.7285259366035461, -0.4094250500202179, -0.1880253404378891, -0.1792825162410736, 0.26337239146232605, -0.22916826605796814, 0.2424754798412323, 0.38019463419914246, -0.0006980314501561224, -0.5004163384437561, -0.0539686381816864, -0.39327049255371094, -0.2798338234424591, 0.797703742980957, -0.03375353664159775, 0.5645568370819092, -0.2692597508430481, -0.28368592262268066, 0.06889855861663818, -0.5776376724243164, -0.215929314494133, 0.27062752842903137, 0.23188382387161255, -0.3162038028240204, 0.5559853315353394, -0.1846877932548523, 0.8011854887008667, -0.3495846390724182, -0.4037940204143524, 0.5269396901130676, -0.4810405373573303, 0.01626262068748474, 0.2382107973098755, 0.5212312340736389, 0.5973661541938782, 0.5474410653114319, -0.19942313432693481, 0.2993030250072479, 0.31460100412368774, 0.405368447303772, -0.4640716016292572, -0.11892574280500412, 0.4330420196056366, -0.6608151793479919, -0.16846968233585358, 0.03092968836426735, -0.8968121409416199, -0.3872067928314209, -0.3676700294017792, 0.07657420635223389, -0.609177827835083, -0.25404438376426697, 0.3397212326526642, -0.4293766915798187, 0.03325440362095833, 0.6573163866996765, -0.619368314743042, 0.36766499280929565, 0.5860949158668518, 0.9079146981239319, 0.023673612624406815, -0.2308150976896286, -0.6487156748771667, 0.2984599173069, -0.4886094033718109, 1.106237530708313, -0.2784701883792877, -0.2750470042228699, -0.0015322115505114198, -0.17168551683425903, -0.22197026014328003, -0.3039907217025757, 0.48423832654953003, -0.0062583438120782375, 0.17464882135391235, -0.04858658090233803, -0.6771987080574036, -0.2689666450023651, -0.09494057297706604, -0.6511326432228088, 0.5528832674026489, -0.17626021802425385, -0.6492442488670349, 0.4028003513813019, -0.3470892906188965, -0.4761583209037781, -0.07460280507802963, -0.15619869530200958, -0.33563166856765747, 0.34658658504486084, 0.029744122177362442, 0.3251558542251587, -0.08720467984676361, 0.6970139741897583, -0.5924488306045532, 0.13844844698905945, 0.006134797818958759, -0.7954731583595276, 0.8783911466598511, 0.12123356759548187, -0.14284338057041168, -0.05561047047376633, -0.7701291441917419, 0.0020139282569289207, -0.03761979937553406, -0.10828050971031189, -0.36300522089004517, 0.5977891087532043, -0.14592082798480988, 0.3119495213031769, -0.32102155685424805, -0.5510365962982178, 0.15535473823547363, -0.5037677884101868, 0.18038064241409302, 0.3445632755756378, 0.14117376506328583, 0.4062795042991638, -0.6680228114128113, 0.5906156897544861, -0.37918612360954285, 0.393431693315506, -0.15905340015888214, -1.1670104265213013, -0.2560882866382599, -0.010650512762367725, 0.3809303939342499, 0.6076987981796265, -0.7389435768127441, 0.28429311513900757, -0.258935809135437, -0.5234173536300659, -0.41422903537750244, -0.6785874366760254, 0.04889168217778206, 0.729454517364502, 0.5410370826721191, -0.0838327556848526, -0.7218450307846069, -0.7047665119171143, -0.08397883176803589, -0.5348725914955139, -0.25189730525016785, -0.08435998857021332, 0.286955863237381, -0.0036424449644982815, 0.7972949743270874, -0.5146902203559875, 0.043980009853839874, -0.2489272803068161, 0.5006381869316101, 0.00798962265253067, 0.3641792833805084, 0.5704084038734436, -0.8185552954673767, -0.05587586387991905, -0.42379793524742126, -0.7563462257385254, -0.3447349965572357, -0.43685102462768555, 0.050710853189229965, -0.03273991122841835, 0.33992868661880493, -0.6090142726898193, 0.8958444595336914, 0.7060483694076538, -0.463332861661911, 0.7045632600784302, -0.307352215051651, 0.13534483313560486, -0.7050661444664001, -0.22526027262210846, 0.1281396746635437, -0.16035553812980652, -0.7702872157096863, -0.24269741773605347, -0.1646985560655594, -0.04593472182750702, -0.3323574960231781, 0.6712518930435181, -0.2918880879878998, -0.10076405107975006, -0.1297333687543869, -0.18804329633712769, 0.2132638543844223, -0.03371400013566017, 0.43065154552459717, 0.5211097002029419, 0.3437381088733673, -0.3976549208164215, 0.03670119121670723, 0.27468082308769226, -0.10864473879337311, 0.1569536328315735, -0.3924054503440857, -0.2523975372314453, -0.2955893874168396, 0.6321605443954468, -1.005419135093689, -0.10652665048837662, 0.024160562083125114, -0.7031527757644653, -0.08723967522382736, -0.21179480850696564, -0.5126873850822449, -0.2158575803041458, -0.33670496940612793, 0.14180682599544525, 0.2576649785041809, -0.011013125069439411, 0.9695132970809937, 0.7352234721183777, -0.4614798426628113, -0.3564707040786743, -0.8676401376724243, 0.37095484137535095, -0.017352741211652756, -0.5217593908309937, -0.005237216129899025, -0.12271654605865479, -0.5911454558372498, -0.3037046194076538, 0.08972851932048798, -0.402799129486084, 0.18633174896240234, 0.3291632831096649, 0.2770250141620636, -0.15307651460170746, 0.37549158930778503, 0.2564120590686798, -0.49176862835884094, 0.18873460590839386, 0.20714029669761658, 0.34606868028640747, 0.17907825112342834, -0.40613263845443726, -0.25492894649505615, 0.76650470495224, 0.6655409336090088, -0.2614021599292755, 0.6216275691986084, 0.3228178322315216, -0.5121747255325317, 0.20046167075634003, -0.6538258790969849, -0.10257179290056229, -0.2545097768306732, -0.117156982421875, -0.2554606795310974, -0.13502466678619385, 0.3356727957725525, -0.3175051510334015, 0.041517943143844604, 0.48180413246154785, 0.2242017537355423, 0.02349393256008625, 1.3560125827789307, 0.18907193839550018, 0.20137864351272583, 0.030935991555452347, -0.013679007068276405, 0.08936821669340134, -0.5304614305496216, -0.0966007336974144, -0.6415428519248962, 0.16543491184711456, -0.5898144245147705, -0.611509382724762, 0.44990065693855286, -0.10278983414173126, 0.08377493172883987, 0.02211245894432068, -0.4038882255554199, 0.18354906141757965, 0.4321279227733612, 0.20927806198596954, 0.510818362236023, -0.23417937755584717, 0.2189343422651291, 0.013094105757772923, -0.91083824634552, -0.6004807949066162, 1.0071805715560913, 0.2950465977191925, 0.4916118383407593, 0.22299443185329437, 0.6750093102455139, 0.22559858858585358, 0.511622428894043, -0.6250784397125244, 0.34182626008987427, -0.283963143825531, -0.6102465987205505, -0.3190251886844635, -0.43062376976013184, -1.1428546905517578, 0.21870650351047516, -0.4487183690071106, -0.5997940897941589, 0.41350463032722473, -0.04855293780565262, -0.6553263068199158, 0.16304674744606018, -1.0032949447631836, 0.6374053955078125, -0.49622228741645813, 0.21005526185035706, -0.351688414812088, -1.0846331119537354, 0.1965680718421936, -0.0408385805785656, 0.7153981924057007, -0.41716742515563965, -0.2886652946472168, 0.6275966763496399, -0.6063628792762756, 0.9447569251060486, -0.16388890147209167, 0.04907773807644844, 0.3338494598865509, -0.12428382784128189, 0.19871914386749268, 0.09754719585180283, -0.5707160234451294, 0.4182196855545044, 0.193267360329628, -0.4827052354812622, -0.5984247326850891, 0.2941265106201172, -0.5108202695846558, -0.2183983325958252, -0.5307111740112305, -0.3557299077510834, -0.21684497594833374, 0.12022022157907486, 0.25175848603248596, 0.7621259689331055, 0.06357532739639282, -0.15685482323169708, 0.39083945751190186, -0.5114262104034424, 0.4149354100227356, 0.4708477556705475, -0.08027162402868271, -0.4826386272907257, 0.5725404620170593, 0.39202675223350525, 0.25547006726264954, 0.4843176305294037, 0.660006582736969, -0.3388926684856415, -0.5906505584716797, -0.568195641040802, 0.31526488065719604, -0.539401650428772, -0.2563079297542572, -0.7098575234413147, -0.0420263409614563, -0.5739973187446594, -0.17762786149978638, -0.23719662427902222, -0.4207708239555359, -0.10409817844629288, -0.46281376481056213, 0.3458455204963684, 0.6536843180656433, -0.33427199721336365, -0.08248797059059143, -0.9586871266365051, 0.7035753130912781, 0.12446146458387375, 0.032845597714185715, -0.025599433109164238, -0.22500810027122498, 0.15037909150123596, 0.0637834444642067, 0.07944457232952118, -1.2991855144500732, 0.36938926577568054, 0.24308909475803375, 0.45038092136383057, 0.1857454478740692, 0.2595776915550232, 0.8023477792739868, -0.7325442433357239, 0.5012817978858948, 0.17989498376846313, -0.7891550660133362, 0.7609800696372986, -0.4146510660648346, 0.25236719846725464, 0.7083145976066589, 0.6156911849975586, -0.5503715872764587, -0.4093841314315796, -1.007894515991211, -0.8497309684753418, 0.13062784075737, 0.014566727913916111, -0.0694793239235878, -0.4718191623687744, 0.20798394083976746, 0.1952807456254959, 0.12787605822086334, -0.4388591945171356, -0.2735960781574249, 0.011089703999459743, -0.2909257411956787, -0.057971127331256866, -0.36290234327316284, 0.038158200681209564, -0.39128410816192627, 0.4906507730484009, -0.29895567893981934, 0.3206113576889038, 0.25769102573394775, 0.21730755269527435, 0.025349797680974007, -0.002690030261874199, 0.63633793592453, 1.136231780052185, -0.13780395686626434, 0.23404203355312347, 0.19378791749477386, -0.3987193703651428, 0.26935410499572754, 0.19640229642391205, -0.10787543654441833, 0.40734708309173584, 0.80516117811203, 0.3971133232116699, 0.20393279194831848, -0.8107832074165344, 0.9533898234367371, -0.2035301774740219, 0.08641582727432251, -0.573511004447937, -0.2901093661785126, 0.0785386711359024, -0.12454621493816376, 0.3658708333969116, 0.2918103039264679, 0.4519121050834656, -0.48453289270401, 0.5845840573310852, 0.03977443650364876, -0.10470983386039734, -0.11189394444227219, 0.5754014253616333, 0.22024686634540558, -0.17620089650154114, 0.3830667734146118, -0.07303066551685333, 0.03816136345267296, 0.7471337914466858, 0.2285865694284439, 0.603308916091919, -0.45360732078552246, 0.4752098619937897, 0.43159109354019165, 0.2523575723171234, -0.41990354657173157, 0.24158063530921936, 0.4609941244125366, -0.8324935436248779, -1.1795544624328613, -0.42827674746513367, -0.48975953459739685, 0.09336055815219879, -0.7792602777481079, 0.18414932489395142, -0.15676762163639069, -0.16877228021621704, 0.42964187264442444, -0.43388035893440247, -0.20016302168369293, 0.47890761494636536, 0.6150371432304382, 1.0331593751907349, -1.2435016632080078, 0.7387902140617371, 0.3016105592250824, -0.45002222061157227, -0.8237751126289368, -0.04411220923066139, 0.2198357880115509, -0.7315274477005005, 0.2925559878349304, 0.18312466144561768, 0.03526819497346878, -0.15622013807296753, -0.41929197311401367, -0.9030300378799438, 0.5302321314811707, 0.5170524716377258, -0.47697848081588745, -0.30271878838539124, -0.2101769745349884, 0.4192151427268982, -0.13313814997673035, 0.5391223430633545, 0.228252574801445, 0.6927048563957214, -0.15183986723423004, -0.9394760131835938, -0.0764823853969574, 0.0902944803237915, -0.12317216396331787, 0.25744205713272095, -0.2348155528306961, 0.5545661449432373, -0.44062066078186035, 0.010932119563221931, 0.07692917436361313, 0.6362448930740356, 0.4276284873485565, 0.6028382182121277, 0.6480668187141418, 0.6697180867195129, 0.9275050163269043, -0.06677699834108353, 1.548479437828064, -0.03626978397369385, 0.18070904910564423, 1.1092771291732788, -0.2077764868736267, 0.8406983613967896, 0.3885696828365326, -0.32743126153945923, 0.7252073287963867, 0.5459131598472595, 0.13815763592720032, 0.4043784737586975, 0.1269577294588089, -0.3421383798122406, -0.3126433193683624, -0.18243619799613953, -0.13243916630744934, 0.6606967449188232, 0.4807075262069702, -0.2231767475605011, -0.325519323348999, 0.14819656312465668, 0.12472113966941833, 0.04952504113316536, -0.07839841395616531, 0.8077682852745056, 0.041444081813097, -0.6756809949874878, 0.1585671305656433, -0.16893449425697327, 0.27532973885536194, -0.655486524105072, -0.5606142282485962, 0.23296485841274261, -0.17368879914283752, -0.21071960031986237, -0.7909431457519531, 0.641506552696228, -0.3433069884777069, -0.2771911919116974, -0.3204544484615326, 0.9141407608985901, -0.3839142620563507, -0.6733983159065247, 0.4167059361934662, 0.7553421854972839, 0.41389167308807373, -0.27074187994003296, -0.6839151382446289, -0.05641894042491913, -0.03408002108335495, -0.09686484187841415, 0.21908050775527954, 0.37021404504776, -0.15199680626392365, 0.7459652423858643, 0.6087812781333923, 0.6155035495758057, -0.059721991419792175, 0.360196977853775, 0.27272748947143555, -0.4508984684944153, -0.5681816339492798, -0.8670110702514648, 0.6035515666007996, -0.1130959615111351, -0.2245464324951172, 0.585534930229187, 0.549201488494873, 0.4198123514652252, 0.00640367716550827, 0.9303632378578186, 0.08785375952720642, 0.7204172015190125, -0.5927091240882874, 0.34514090418815613, -0.2148880660533905, -0.24406196177005768, -0.153631791472435, -0.29066896438598633, -0.36008280515670776, 0.7047340869903564, -0.4820778965950012, -0.050282593816518784, 0.7417305707931519, 0.26486316323280334, 0.277110755443573, 0.01149683352559805, 0.2483258992433548, 0.1122315302491188, 0.10814797878265381, 0.3879478871822357, 0.6219679117202759, -0.4255734384059906, 0.2065799981355667, -0.23587706685066223, -0.43367841839790344, -0.057015273720026016, -1.0419824123382568, -0.10196737200021744, -0.4450390636920929, -0.4288622736930847, -0.28392714262008667, 0.037714190781116486, 0.6135085225105286, 0.8586861491203308, -0.5953525304794312, -0.07738769054412842, -0.01088462769985199, 0.22659118473529816, -0.4079349935054779, -0.21761451661586761, 0.33581364154815674, -0.1093442291021347, -0.4043474495410919, 0.5951740741729736, 0.48688241839408875, 0.1220245510339737, 0.17847870290279388, 0.1466386616230011, -0.416351318359375, 0.07809265702962875, 0.8048049211502075, 0.13524632155895233, -0.8174493312835693, -0.3216126263141632, -0.4807240962982178, 0.0373026579618454, 0.13816247880458832, 0.7950985431671143, -0.9381359219551086, 0.516097903251648, 0.5819372534751892, 0.5726862549781799, 0.24283920228481293, 0.24226030707359314, 0.9215631484985352, -0.6372687816619873, 0.08865484595298767, 0.41319745779037476, 0.5531560182571411, 0.19459830224514008, -0.38534820079803467, 0.7883375883102417, 0.2687704265117645, -0.47403261065483093, -0.6346123218536377, 0.2654719352722168, -0.9582144618034363, -0.6223143339157104, 1.1965596675872803, -0.004876112099736929, -0.11213693022727966, -0.6911717653274536, -0.14361384510993958, 0.2608289420604706, -0.3252229392528534, 0.6202229857444763, 0.509593665599823, -0.48039165139198303, -0.20072583854198456, -1.069175124168396, 0.4992026686668396, 0.2798115909099579, -1.0990045070648193, 0.08426450192928314, 0.5705733299255371, -0.025831662118434906, 0.3844698965549469, 0.926478385925293, 0.03268450126051903, 0.33945637941360474, 0.0410948321223259, 0.19197453558444977, 0.33312639594078064, -0.40301433205604553, -0.1877485066652298, 0.1700325608253479, -0.04052186757326126, -0.021848920732736588 ]
http://arxiv.org/abs/2404.02431v1
http://arxiv.org/pdf/2404.02431v1
On the Multilingual Ability of Decoder-based Pre-trained Language Models: Finding and Controlling Language-Specific Neurons
2024-04-03T03:37:22
2024-04-03T03:37:22
Takeshi Kojima, Itsuki Okimura, Yusuke Iwasawa, Hitomi Yanaka, Yutaka Matsuo
cs.CL
cs.CL
Current decoder-based pre-trained language models (PLMs) successfully demonstrate multilingual capabilities. However, it is unclear how these models handle multilingualism. We analyze the neuron-level internal behavior of multilingual decoder-based PLMs, Specifically examining the existence of neurons that fire ``uniquely for each language'' within decoder-only multilingual PLMs. We analyze six languages: English, German, French, Spanish, Chinese, and Japanese, and show that language-specific neurons are unique, with a slight overlap (< 5%) between languages. These neurons are mainly distributed in the models' first and last few layers. This trend remains consistent across languages and models. Additionally, we tamper with less than 1% of the total neurons in each model during inference and demonstrate that tampering with a few language-specific neurons drastically changes the probability of target language occurrence in text generation.
[ -0.314826637506485, -0.5009640455245972, 0.3314593732357025, 0.562964141368866, -0.03533341735601425, 0.09645746648311615, -0.3778975307941437, -0.21008917689323425, 0.11827269941568375, 0.3245188891887665, -0.3707984983921051, -0.3145955502986908, -0.5714384317398071, 0.298629492521286, -0.20310425758361816, 0.9479561448097229, 0.019019844010472298, 0.27454957365989685, -0.039601996541023254, -0.13066793978214264, -0.17405417561531067, -0.9737858176231384, -0.3690040111541748, -0.48722049593925476, 0.711004376411438, 0.01624094881117344, 0.556169867515564, 0.20388004183769226, 0.2703869938850403, 0.3596065640449524, -0.20215246081352234, 0.051743075251579285, -0.22081772983074188, -0.2013077735900879, -0.2152561992406845, -0.5983361601829529, -0.337131142616272, -0.3058324158191681, 0.6281338930130005, 0.6745491623878479, -0.21672017872333527, -0.29802215099334717, 0.11603628098964691, 0.13180238008499146, -0.46137967705726624, -0.1146397665143013, -0.8111092448234558, 0.14300161600112915, -0.16245527565479279, -0.3054268956184387, -0.6816180348396301, 0.0434100404381752, -0.11666462570428848, -0.4650968909263611, 0.3624075949192047, -0.6260635852813721, 0.633171021938324, -0.19040052592754364, -0.5046640634536743, -0.140033558011055, -0.5593580007553101, 0.6293882131576538, -0.7158334851264954, 0.20260347425937653, 0.4882911443710327, -0.19634439051151276, -0.03061685711145401, -0.5201356410980225, -0.4209643006324768, -0.21202322840690613, -0.29873597621917725, -0.11108691990375519, -0.010665573179721832, 0.042844679206609726, 0.3468623757362366, 0.0032023400999605656, -0.6353299617767334, 0.1485341191291809, -0.10809888690710068, -0.283633828163147, 0.42348620295524597, -0.011199431493878365, 0.761285126209259, 0.032269030809402466, -0.2549629807472229, 0.005814134608954191, -0.4838098883628845, 0.14024747908115387, 0.6726304888725281, 0.36767247319221497, -0.15121765434741974, 0.3438061773777008, 0.1466795802116394, 0.6639569401741028, -0.37252047657966614, -0.11577244102954865, 0.4419383704662323, -0.53695148229599, -0.04656579717993736, 0.12416427582502365, 0.9873298406600952, -0.11474420130252838, 0.684286892414093, -0.2142159789800644, -0.3609171509742737, 0.036146119236946106, 0.2891072630882263, -0.5655600428581238, -0.2708100378513336, -0.08744368702173233, -0.39588892459869385, -0.04168577492237091, -0.2720377445220947, -0.26176878809928894, -0.2006819099187851, 0.06607206165790558, 0.48404639959335327, -0.36703044176101685, -0.8446805477142334, 0.3353198766708374, -0.16244298219680786, 0.07870233803987503, -0.2797488272190094, -1.1030563116073608, 0.19319653511047363, 0.2261018306016922, 0.7325708270072937, -0.23089788854122162, -1.05207097530365, -0.11627377569675446, 0.1331995278596878, -0.5920069813728333, 0.6782039403915405, -0.6432080268859863, -0.29970458149909973, 0.1918010115623474, 0.3210325539112091, -0.3048875033855438, -0.5098469257354736, 0.11134318262338638, -0.6664882898330688, -0.14866209030151367, -0.37237533926963806, -0.06921540200710297, -0.04878527671098709, 0.23844341933727264, -0.6369083523750305, 0.4147478938102722, -0.32640138268470764, -0.8323174118995667, 0.24613700807094574, -0.4126601219177246, -0.7647931575775146, -0.06646362692117691, -0.22190003097057343, -0.16609887778759003, 0.43944594264030457, 0.0064078387804329395, 0.2778894901275635, 0.06730451434850693, 0.24276763200759888, -0.024456270039081573, -0.34502938389778137, 0.3767622411251068, -0.7053817510604858, 0.7988321185112, -0.009077438153326511, -0.15915043652057648, 0.34928861260414124, -0.7128586769104004, 0.25472527742385864, 0.3238445520401001, -0.3709631860256195, -0.3129575550556183, 0.024843474850058556, -0.04083292558789253, 0.4964715242385864, 0.23276355862617493, -0.43550464510917664, 0.1139015182852745, -0.32181623578071594, 0.485840380191803, 0.5506231188774109, -0.15902160108089447, 0.5679705739021301, -0.2057540863752365, 0.4833947420120239, 0.3099055886268616, -0.1182132288813591, -0.7142593264579773, -0.47664687037467957, -0.5290647149085999, -0.07628464698791504, 0.06861753761768341, 0.5661147832870483, -0.6338871121406555, 0.10603747516870499, -0.03830598667263985, -0.16185422241687775, -0.49229151010513306, 0.10354579985141754, 0.5475696921348572, -0.004662775434553623, 0.22880248725414276, -0.22064629197120667, -0.057173557579517365, -1.016237497329712, -0.5015349388122559, 0.2980479896068573, 0.1828509271144867, -0.1424148678779602, 0.3747619688510895, -0.016076330095529556, 0.37131884694099426, 0.12345120310783386, 0.01908930577337742, -0.5031812191009521, 0.10478688776493073, 0.16013085842132568, 0.5157778859138489, 0.5544278621673584, -0.8638265132904053, -0.6610608696937561, 0.3633536994457245, -0.8659011721611023, 0.0002994663664139807, -0.5484061241149902, 0.13356764614582062, 0.31940463185310364, 0.3970484435558319, -0.549146294593811, 0.44269683957099915, 0.5390663146972656, -0.157858744263649, 0.5179960131645203, -0.850701093673706, 0.09909427911043167, -0.8493710160255432, -0.0362950935959816, -0.1517673283815384, 0.15717533230781555, -0.9895420074462891, 0.05632639676332474, 0.38287606835365295, 0.08241589367389679, -0.4803391695022583, 0.4056074321269989, -0.6745224595069885, -0.2986848056316376, -0.5504131317138672, -0.16385610401630402, -0.06500271707773209, 0.6821798086166382, 0.48278501629829407, 0.6350868344306946, 0.7596258521080017, -0.6945734620094299, 0.04148702323436737, 0.05869182571768761, -0.6874832510948181, 0.06579231470823288, -0.6218461394309998, 0.08571116626262665, -0.30222856998443604, -0.16928933560848236, -0.7937328219413757, -0.06894233077764511, -0.2166946977376938, -0.30633410811424255, 0.4581899344921112, -0.19002613425254822, -0.5432095527648926, -0.02834903448820114, 0.15778222680091858, 0.46279725432395935, 0.20106640458106995, -0.5355132222175598, 0.6153838634490967, 0.2050059586763382, -0.2274816781282425, -0.8208940029144287, -1.0479745864868164, 0.1319727748632431, 0.1107005700469017, -0.531441867351532, 0.24099332094192505, -0.3501780033111572, -0.16208294034004211, -0.2503950893878937, 0.0465635322034359, -0.13052277266979218, 0.09855078160762787, 0.04714209586381912, -0.19749726355075836, -0.13900870084762573, 0.053479742258787155, 0.18154309689998627, -0.06500273942947388, 0.09798587113618851, -0.1044415682554245, 1.0055537223815918, -0.11291815340518951, -0.5534888505935669, -0.44408324360847473, 0.6169038414955139, 0.5894358158111572, -0.7786901593208313, 0.8436920642852783, 0.41334205865859985, -0.2675642669200897, -0.29123958945274353, -0.19249022006988525, -0.20932258665561676, -0.5058581233024597, 0.6948069334030151, -1.1111750602722168, -0.5209674835205078, 0.9565280675888062, 0.27733635902404785, -0.07993443310260773, 0.15728075802326202, 0.6349844932556152, 0.32253551483154297, 1.3481906652450562, 0.6723010540008545, 0.1202213242650032, 0.4495435655117035, -0.1825006902217865, 0.27760112285614014, -0.5067874193191528, -0.3851507604122162, -0.3057515323162079, -0.17510771751403809, -0.6505627036094666, 0.03594588860869408, -0.0283418707549572, 0.28544893860816956, -0.3143414258956909, 0.30407142639160156, -0.39758849143981934, 0.763903021812439, 0.5359146595001221, -0.3116944134235382, 0.1870821714401245, 0.27475038170814514, -0.62542325258255, -0.01317594200372696, -0.968925952911377, -0.31469494104385376, 0.7491421103477478, 0.1684727817773819, 0.6070342063903809, 0.04132566601037979, 0.5177913308143616, -0.17743337154388428, 0.1620100885629654, -0.25126343965530396, 0.3958030045032501, -0.28100091218948364, -0.7227350473403931, 0.07619093358516693, -0.47750914096832275, -0.8504320383071899, 0.6826578974723816, 0.001973511418327689, -0.6710108518600464, 0.2461615651845932, -0.02417818456888199, -0.1380242556333542, 0.7564404010772705, -0.8901507258415222, 1.1255993843078613, -0.7608218789100647, -0.3312986493110657, -0.1555870920419693, -0.4173687696456909, 0.16380517184734344, -0.30098649859428406, 0.26624616980552673, -0.025864768773317337, 0.02707102708518505, 0.20852826535701752, 0.13208924233913422, 0.7756598591804504, 0.012556117959320545, -0.37351205945014954, 0.1587677001953125, 0.4063056707382202, 0.15566015243530273, 0.0216786228120327, -0.05353310704231262, 0.5090497732162476, 0.08244141191244125, -0.5311130285263062, -0.22616946697235107, 1.0377180576324463, -0.8336499929428101, -0.5221165418624878, -0.544921338558197, -0.6594458818435669, 0.0065154265612363815, 0.4344173073768616, 0.6802670359611511, 0.385990172624588, -0.22979119420051575, -0.135409876704216, 0.5640439391136169, -0.7082716226577759, 0.9778956174850464, 0.8105739951133728, -0.35943517088890076, -0.149722158908844, 1.027288556098938, 0.11752315610647202, 0.36235511302948, 0.4119817912578583, 0.07464966922998428, -0.019440049305558205, -0.5994290113449097, -0.3478820323944092, 0.24594661593437195, -0.6560892462730408, 0.21405203640460968, -0.6964302062988281, -0.24801383912563324, -0.29304900765419006, -0.08219828456640244, -0.3637142479419708, 0.12305285781621933, -0.2924996018409729, -0.15739893913269043, -0.19646142423152924, 0.8710863590240479, -0.13880762457847595, 0.4632263779640198, -0.8587630391120911, 0.37374451756477356, 0.17689867317676544, 0.5929933190345764, 0.046045128256082535, -0.5143792629241943, -0.17988426983356476, 0.1675439327955246, 0.18214792013168335, -1.0377306938171387, 0.6075512170791626, 0.3002135753631592, 0.7424135208129883, 0.3852825462818146, -0.3433573246002197, 0.19141201674938202, -0.6013133525848389, 0.7418972849845886, 0.27395549416542053, -0.8116849660873413, 0.15045484900474548, -0.3743426203727722, 0.7572829723358154, 0.020727645605802536, 0.6238666772842407, -0.4947015643119812, -0.26215094327926636, -0.3412717878818512, -0.4403493404388428, 1.1257047653198242, 0.049680911004543304, 0.670349657535553, -0.4021074175834656, 0.09120893478393555, 0.1062130257487297, 0.1312863677740097, -1.1289860010147095, -0.26005709171295166, -0.38917088508605957, 0.0806126818060875, -0.24752898514270782, -0.31385403871536255, -0.03697829693555832, -0.08885753899812698, 0.2368019074201584, -0.09168963879346848, 0.07090646773576736, 0.0016582465032115579, -0.35583168268203735, 0.160441592335701, 0.35319972038269043, 0.8948582410812378, 0.7497657537460327, 0.08504016697406769, 0.42077991366386414, 0.1089121624827385, -0.32402878999710083, 0.21166788041591644, -0.21459870040416718, -0.08392138034105301, 0.20009423792362213, 0.3532765805721283, 0.9855778217315674, 0.0008083092980086803, -0.5320944786071777, 0.4485654830932617, -0.213393896818161, -0.20194531977176666, -0.315044641494751, -0.09414126724004745, 0.3034568130970001, 0.07820343971252441, 0.18349839746952057, 0.32772189378738403, -0.41246113181114197, -0.4600462317466736, 0.11691836267709732, 0.47334712743759155, -0.13509610295295715, -0.774016261100769, 0.49374860525131226, -0.05820661038160324, -0.5128214955329895, 0.5148268938064575, -0.3490932881832123, -0.7082753777503967, 0.841241717338562, 0.965816080570221, 0.5983622074127197, -0.562332808971405, 0.19381198287010193, 0.39357128739356995, 0.6566135883331299, -0.2570366859436035, 0.4543628394603729, 0.08813737332820892, -1.196655511856079, -0.5309894680976868, -0.47729629278182983, 0.3520272970199585, 0.2876860201358795, -0.5153312087059021, -0.10883088409900665, -0.3110962212085724, -0.2964288592338562, 0.029341664165258408, -0.4467875361442566, -0.49256354570388794, 0.061933767050504684, 0.25803592801094055, 0.8125735521316528, -0.6990418434143066, 1.287846326828003, 0.6728527545928955, -0.36524274945259094, -0.4108177423477173, -0.25828853249549866, -0.40324661135673523, -0.5589455366134644, 0.7801176309585571, 0.13413041830062866, -0.19768786430358887, -0.02908312901854515, -0.26110005378723145, -0.6982376575469971, 0.21298666298389435, 0.675011932849884, -0.3251909613609314, -0.1862393319606781, 0.4520220160484314, 0.6314758658409119, -0.28286856412887573, 0.35744500160217285, 0.400247186422348, 0.30446550250053406, -0.5084749460220337, -1.0213960409164429, -0.5263609290122986, -0.6060957908630371, -0.020883092656731606, 0.3324003219604492, -0.3874289095401764, 1.0410634279251099, -0.4054984450340271, -0.20351555943489075, -0.09750474989414215, 0.36668282747268677, -0.0054555051028728485, -0.049599532037973404, 0.11180047690868378, 0.4994678795337677, 0.4355243146419525, 0.009096214547753334, 1.230089545249939, -0.5013097524642944, -0.0429484061896801, 1.21719229221344, -0.30061373114585876, 0.7612941861152649, 0.31636670231819153, 0.2250899225473404, 0.48866572976112366, 0.33328214287757874, 0.0930691808462143, 0.6361632347106934, 0.11295870691537857, -0.4267277121543884, -0.475938618183136, 0.027638277038931847, -0.28872716426849365, 0.42680197954177856, 0.2894939184188843, -0.28578636050224304, -0.03589826822280884, 0.3749566376209259, 0.0027950319927185774, 0.18839332461357117, -0.32070550322532654, 0.7579973340034485, 0.07743918150663376, -0.8077279925346375, 0.6796322464942932, 0.16867318749427795, 0.9426906108856201, -1.0326775312423706, 0.19726493954658508, -0.44602110981941223, 0.22999736666679382, -0.2507436275482178, -0.672491192817688, 0.18491648137569427, -0.0025404312182217836, -0.33890223503112793, -0.4302474558353424, 0.5153605341911316, -0.7552995681762695, -0.22922636568546295, 0.8015199899673462, 0.4512426555156708, 0.08818116039037704, -0.2864614427089691, -0.3791540563106537, 0.07799682766199112, 0.1638231724500656, -0.3162202537059784, 0.6334524750709534, 0.32351136207580566, -0.005203270353376865, 0.5367557406425476, 0.6093645691871643, 0.2983200252056122, 0.6278718113899231, 0.3226993978023529, 0.3708621859550476, -0.6111323833465576, -0.47801339626312256, -0.7285371422767639, 0.3475239872932434, 0.08711348474025726, -0.4095131754875183, 0.7848230600357056, 0.3684913218021393, 1.2925515174865723, -0.32257571816444397, 0.8011302351951599, 0.2253151535987854, 0.02619999088346958, -0.26012927293777466, 0.9938633441925049, -0.6585606336593628, 0.06374864280223846, 0.1285446584224701, -0.858825147151947, -0.24468213319778442, 0.6798498630523682, -0.20184274017810822, 0.28022870421409607, 0.7822901010513306, 0.9252647161483765, -0.0497940331697464, -0.09299425035715103, 0.6635746955871582, 0.020680269226431847, 0.19376854598522186, 0.5311815738677979, 0.8788337707519531, -0.08135863393545151, 0.58261638879776, -0.39312252402305603, 0.1083141416311264, 0.5318314433097839, -0.7518078088760376, -0.8187630772590637, -0.5636959075927734, -0.13938379287719727, 0.07646146416664124, -0.2075701206922531, 0.4526974856853485, 0.6226024627685547, -0.8925928473472595, -0.5049326419830322, -0.1744508296251297, 0.12374652177095413, -0.19074049592018127, -0.12579280138015747, 0.13257651031017303, -0.7450417280197144, -0.709502637386322, 0.6901718974113464, 0.18804147839546204, 0.0355808325111866, -0.17361389100551605, -0.08569469302892685, -0.42023706436157227, 0.05814223736524582, 0.4748222827911377, 0.4022729992866516, -0.672130823135376, 0.24324962496757507, 0.22537992894649506, -0.3953886926174164, 0.10266793519258499, 1.0849568843841553, -0.43236279487609863, 0.6893931031227112, 0.6524837017059326, 0.438018262386322, 0.2846640348434448, -0.4698091447353363, 0.6539464592933655, -0.913155734539032, 0.47660040855407715, 0.12814149260520935, 0.5134263634681702, 0.4019756615161896, 0.0890113040804863, -0.049196869134902954, 0.07370240986347198, -0.3493077754974365, -0.6693729758262634, 0.3006282448768616, -0.5037074685096741, -0.741624653339386, 1.1713355779647827, -0.355151891708374, -0.10229447484016418, 0.036259040236473083, 0.07026602327823639, 0.08843616396188736, 0.17272600531578064, 0.357621967792511, 0.8072006106376648, 0.17297734320163727, -0.29687896370887756, -0.4083545207977295, 0.5493457317352295, 0.6475362181663513, -0.5533820390701294, -0.04537786915898323, 0.10408730804920197, 0.26039236783981323, 0.34650635719299316, 0.6220899820327759, -0.07172637432813644, 0.15501175820827484, 0.05664365738630295, 0.4391498565673828, 0.017996644601225853, -0.780695915222168, -0.7789139747619629, 0.336359441280365, 0.03366104140877724, 0.0233570896089077 ]
http://arxiv.org/abs/2404.02422v1
http://arxiv.org/pdf/2404.02422v1
Enhancing Low-Resource LLMs Classification with PEFT and Synthetic Data
2024-04-03T03:24:19
2024-04-03T03:24:19
Parth Patwa, Simone Filice, Zhiyu Chen, Giuseppe Castellucci, Oleg Rokhlenko, Shervin Malmasi
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) operating in 0-shot or few-shot settings achieve competitive results in Text Classification tasks. In-Context Learning (ICL) typically achieves better accuracy than the 0-shot setting, but it pays in terms of efficiency, due to the longer input prompt. In this paper, we propose a strategy to make LLMs as efficient as 0-shot text classifiers, while getting comparable or better accuracy than ICL. Our solution targets the low resource setting, i.e., when only 4 examples per class are available. Using a single LLM and few-shot real data we perform a sequence of generation, filtering and Parameter-Efficient Fine-Tuning steps to create a robust and efficient classifier. Experimental results show that our approach leads to competitive results on multiple text classification datasets.
[ -0.20861978828907013, -0.6306820511817932, 0.6093882918357849, -0.025543618947267532, -0.29784083366394043, 0.5518449544906616, -0.571056604385376, -0.5259494781494141, -0.2741728723049164, 0.43336039781570435, -0.3074048161506653, -0.4599877595901489, -0.4615016579627991, 0.551507294178009, -0.21112214028835297, 0.942523717880249, -0.16852572560310364, -0.2769182622432709, -0.003991819452494383, -0.2815015912055969, -0.19232787191867828, -0.6627971529960632, -0.7598840594291687, -0.5838050842285156, 0.5378542542457581, 0.7777126431465149, 0.21216106414794922, 0.7269512414932251, 0.2898496389389038, 0.30397337675094604, -0.15771101415157318, 0.4593387246131897, -0.42798128724098206, 0.10102332383394241, -0.028147803619503975, -0.47028258442878723, -0.2726767957210541, 0.16241483390331268, 0.8722671270370483, 0.47311103343963623, 0.019426977261900902, 0.18351426720619202, 0.41247349977493286, 0.298570841550827, -0.6401746869087219, 0.05000441148877144, -0.8508993983268738, 0.1570844203233719, -0.4066386818885803, -0.36295056343078613, -0.637387752532959, -0.18292640149593353, 0.15941014885902405, -0.39119473099708557, 0.19063764810562134, 0.1124921664595604, 0.6635603904724121, 0.11605758219957352, -0.34993189573287964, -0.030788546428084373, -0.55709308385849, 1.1588650941848755, -0.614707887172699, 0.2781941294670105, 0.18292267620563507, 0.2690192759037018, -0.04742017015814781, -0.6392235159873962, -0.6461153626441956, -0.0013119785580784082, -0.23137235641479492, -0.06777671724557877, 0.12666301429271698, 0.043662045150995255, 0.19238290190696716, 0.08554757386445999, -0.2665864825248718, 0.37576407194137573, -0.14036141335964203, -0.09872791916131973, 0.5136117339134216, 0.16494572162628174, -0.08691266179084778, -0.016963887959718704, -0.33319881558418274, -0.10724642872810364, -0.6987618207931519, 0.0637701153755188, 0.07707983255386353, 0.7825022339820862, -0.04578235000371933, 0.43459954857826233, -0.1523480862379074, 0.8529029488563538, 0.2780379056930542, -0.8224608302116394, 0.17522765696048737, -0.40246155858039856, -0.2500917911529541, 0.3686318099498749, 0.6808546781539917, 0.019681284204125404, -0.12360527366399765, 0.001986634684726596, -0.3809368312358856, -0.11210910230875015, 0.030586164444684982, -1.0226255655288696, 0.07807107269763947, -0.13751959800720215, -0.36760902404785156, -0.5920346975326538, -0.27624082565307617, -0.665753185749054, -0.25355249643325806, -0.34127485752105713, 0.3980960547924042, -0.34024789929389954, 0.3119352459907532, -0.10592882335186005, 0.07426180690526962, 0.31829801201820374, 0.4950424134731293, -0.8051910996437073, 0.3957740068435669, 0.3553420901298523, 1.1462225914001465, -0.35426393151283264, -0.08641704171895981, -0.6770464181900024, 0.23159025609493256, -0.2892620861530304, 1.0087997913360596, -0.5003057718276978, -0.36171838641166687, -0.15421220660209656, -0.14302992820739746, 0.16015756130218506, -0.590155839920044, 0.5154971480369568, -0.31551143527030945, 0.41455480456352234, -0.04314572736620903, -0.6432026028633118, -0.03596259281039238, 0.4769429862499237, -0.31010159850120544, 1.1365344524383545, 0.3201303780078888, -0.403180330991745, 0.5168139338493347, -0.7500761151313782, -0.47681957483291626, 0.4267812669277191, -0.3633655905723572, -0.4045284390449524, 0.027150850743055344, 0.06385378539562225, 0.7560800313949585, -0.30804142355918884, -0.0228952094912529, -0.18083719909191132, -0.6694984436035156, 0.17381292581558228, -0.6335029602050781, 0.4510497748851776, 0.30477333068847656, -0.3538137972354889, -0.21696341037750244, -0.7731155753135681, 0.1448684185743332, 0.00396306486800313, -1.0311267375946045, -0.3155836760997772, -0.15455548465251923, 0.27164170145988464, 0.18930917978286743, 0.09139276295900345, -0.5938730239868164, 0.26473331451416016, -0.6643506288528442, 0.31764984130859375, 0.7446202635765076, -0.09492435306310654, 0.8642359375953674, -0.5244940519332886, 0.3668173551559448, -0.22788143157958984, -0.18097522854804993, -0.21843788027763367, -0.14844277501106262, -0.6658183932304382, -0.6395726203918457, 0.3967229723930359, 0.4915468394756317, -0.9487312436103821, 0.42404046654701233, -0.1395665407180786, -0.4048006534576416, -0.2140815556049347, 0.4541020691394806, 0.3434148132801056, 0.7758359313011169, 0.2743362486362457, 0.1371224820613861, -0.34080252051353455, -0.6330116391181946, -0.23817914724349976, -0.0569845475256443, -0.12811174988746643, 0.5416242480278015, 0.15845289826393127, -0.08014138787984848, 0.8451170921325684, -0.27861902117729187, -0.33048000931739807, -0.5424615740776062, 0.06489300727844238, 0.4106626808643341, 0.29727688431739807, 0.7161000370979309, -0.5697007179260254, -0.988679826259613, 0.04299964755773544, -0.6062325835227966, -0.3100137412548065, -0.16047097742557526, 0.008315120823681355, 0.459072083234787, 0.5166898369789124, -0.028089575469493866, -0.0013712991494685411, 0.2811052203178406, -0.22155258059501648, 0.019617045298218727, -0.03218793123960495, -0.0022293732035905123, -0.953890323638916, -0.28466957807540894, 0.2826929986476898, -0.5093189477920532, -0.6055050492286682, -0.22774040699005127, 0.14857318997383118, -0.17514583468437195, -0.7957448363304138, 0.7367159128189087, -0.22339604794979095, 0.3422464430332184, -0.47233179211616516, 0.1828693300485611, -0.10539612919092178, 0.4686989486217499, 0.23120254278182983, 0.7934644818305969, 0.35861173272132874, -0.6412105560302734, 0.19792784750461578, 0.011626370251178741, -0.38414573669433594, 0.5770367980003357, -0.25930342078208923, 0.08718887716531754, -0.15132775902748108, 0.42248186469078064, -0.5571532249450684, -0.31729984283447266, 0.041542649269104004, -0.01604531519114971, 0.4822250306606293, -0.07351326942443848, -0.6947201490402222, 0.0661991760134697, -0.531684935092926, 0.3607581555843353, 0.6920598149299622, -0.9847856760025024, 0.4083937704563141, 0.24102362990379333, 0.009713313542306423, -0.3930776119232178, -0.5906340479850769, -0.03237438574433327, -0.490233451128006, -0.07578545808792114, 0.72987300157547, 0.06546305119991302, -0.062073588371276855, -0.12837673723697662, -0.03510168567299843, -0.16023950278759003, 0.2688395380973816, -0.10898809880018234, 0.2186945676803589, -0.029382502660155296, 0.46882471442222595, 0.07931069284677505, 0.005779406521469355, -0.5008805990219116, -0.266461044549942, 0.40917736291885376, -0.1269885003566742, 0.017162198200821877, -0.5299201011657715, 0.19265985488891602, 0.502305805683136, 0.24314741790294647, 0.6886102557182312, 0.4286418557167053, -0.48831889033317566, -0.7970095276832581, -0.3284052014350891, -0.163183331489563, -0.544736921787262, 0.19253920018672943, -0.28431278467178345, -1.0737583637237549, -0.011902895756065845, -0.3984011709690094, 0.10789787024259567, 0.23324738442897797, 0.5233684182167053, -0.2860349714756012, 0.7839330434799194, 0.8614741563796997, -0.058235540986061096, 0.772101879119873, -0.3254527151584625, 0.209100142121315, -0.557918906211853, -0.1994033008813858, -0.4766565263271332, -0.4771070182323456, -0.691758930683136, -0.3373468518257141, 0.5801013112068176, 0.19048964977264404, -0.35774654150009155, 0.40120062232017517, -0.5987609624862671, 0.8922473788261414, 0.5443755388259888, 0.33917179703712463, 0.2516998052597046, 0.18617026507854462, -0.0396907739341259, -0.04944893717765808, -1.0489680767059326, -0.772207498550415, 1.15837824344635, 0.28362926840782166, 0.7355159521102905, 0.06416207551956177, 0.9391834139823914, 0.17862923443317413, 0.5454031229019165, -0.9548210501670837, 0.511154294013977, -0.383886456489563, -0.41099292039871216, -0.30891546607017517, -0.4398654103279114, -0.4625869691371918, 0.19121482968330383, -0.4691302180290222, -0.4398004412651062, 0.10304046422243118, 0.22871141135692596, -0.6168878674507141, 0.38853007555007935, -0.6634525656700134, 0.6280211210250854, -0.46400871872901917, -0.5090802311897278, -0.07280643284320831, -0.24508561193943024, 0.28205910325050354, -0.6745195984840393, 0.08376205712556839, -0.1758638322353363, -0.35451218485832214, 0.5440521240234375, -0.46434858441352844, 0.8978973031044006, -0.07424135506153107, 0.15621879696846008, 0.4807710349559784, -0.21143782138824463, 0.5784323811531067, -0.0473213829100132, -0.3492826521396637, 0.13325665891170502, -0.11949114501476288, -0.4210917353630066, -0.4984472393989563, 0.6830700039863586, -0.5972667932510376, -0.21761374175548553, -0.6508080959320068, -0.3200957477092743, -0.3731619417667389, -0.052970729768276215, 0.4284040629863739, 0.27180564403533936, 0.017633816227316856, 0.4755023121833801, 0.5904847979545593, -0.3336831033229828, 0.842648983001709, 0.6449646949768066, 0.19690512120723724, -0.2001945674419403, 0.723332941532135, 0.297712504863739, 0.10752234607934952, 0.4676625728607178, 0.1924068182706833, -0.42574986815452576, -0.600005567073822, -0.27550074458122253, 0.07313106209039688, -0.5395408272743225, -0.698032021522522, -0.41426530480384827, -0.365079790353775, -0.14678479731082916, -0.5128956437110901, -0.22924666106700897, -0.15470345318317413, -0.5016335844993591, 0.09322671592235565, 0.37522780895233154, 0.293811559677124, 0.1293186992406845, 0.7172011733055115, -0.852739691734314, -0.022350823506712914, 0.30868861079216003, 0.5684826970100403, -0.19013187289237976, -0.8109798431396484, -0.36908167600631714, -0.3211595416069031, -0.45808640122413635, -0.5269770622253418, 0.4242152273654938, 0.6447932720184326, 0.5368180274963379, 0.19447365403175354, 0.11984752863645554, 0.6324699521064758, -0.6880945563316345, 0.5444720983505249, 0.24805964529514313, -0.9851516485214233, 0.5913809537887573, -0.032110296189785004, 0.3053107261657715, 0.7447177171707153, 0.350396066904068, -0.3085121810436249, -0.14246028661727905, -0.4557499289512634, -0.5201483964920044, 1.026728630065918, 0.14946284890174866, 0.23372693359851837, -0.004930132534354925, 0.6406192183494568, 0.0868675634264946, 0.03236472234129906, -0.8347371220588684, 0.04333958402276039, 0.20016923546791077, -0.5031031966209412, -0.06944210827350616, -0.25580117106437683, 0.12488849461078644, -0.38081541657447815, 0.7522428631782532, -0.4445329010486603, -0.039333391934633255, 0.07568420469760895, -0.12335514277219772, -0.14037524163722992, 0.35719889402389526, 0.2786882519721985, 0.2560075521469116, -0.15907005965709686, 0.35705292224884033, 0.7208610773086548, -0.19114066660404205, 0.5316977500915527, -0.2472679764032364, -0.2131270319223404, 0.03488433361053467, 0.47166845202445984, 0.5180913209915161, 0.3453730046749115, -0.9367567300796509, 0.4548044502735138, 0.08578912913799286, -0.1684369593858719, -0.11304842680692673, 0.24222718179225922, -0.3863353729248047, 0.4989638924598694, 0.20971082150936127, 0.005350567866116762, -0.06732844561338425, -0.6243562698364258, 0.15633727610111237, 0.3552400767803192, 0.007604542188346386, -0.14266625046730042, 0.26111695170402527, 0.3866288661956787, -0.35235852003097534, 0.4020213782787323, -0.42173004150390625, -0.4903537631034851, 0.2757101356983185, 0.7450419068336487, 0.7320147752761841, -0.08063290268182755, 0.1988799273967743, 0.2572915554046631, 0.07595512270927429, -0.3295974135398865, 0.03222876414656639, -0.2801756262779236, -0.9461926221847534, -0.42288386821746826, -0.973301112651825, -0.6262366771697998, 0.34910330176353455, -0.10046539455652237, 0.6378519535064697, -0.6953029036521912, -0.1405750811100006, 0.07538054138422012, 0.23210026323795319, -0.5776931643486023, -0.066012442111969, 0.28603094816207886, 0.7547193765640259, -0.7604429125785828, 1.1882835626602173, 0.7101711630821228, -0.011894069612026215, -0.5251254439353943, 0.04551747441291809, -0.040101874619722366, -0.3298945128917694, 0.8008608818054199, 0.243160679936409, -0.1327914446592331, -0.03657575324177742, -0.7141674160957336, -0.7684524655342102, 1.104048252105713, 0.47057652473449707, -0.7528508305549622, 0.055831603705883026, -0.010628846473991871, 0.5496701598167419, -0.49502500891685486, -0.24498514831066132, 0.5552514791488647, 0.2624537944793701, 0.02514723129570484, -0.9231089949607849, -0.22695860266685486, 0.1416182518005371, 0.0955284982919693, 0.1576024293899536, -0.6048561334609985, 0.6763364672660828, 0.08043717592954636, -0.38176873326301575, -0.22534623742103577, 0.31866568326950073, 0.41846707463264465, 0.45298704504966736, 0.5734062790870667, 0.33023276925086975, 0.7124730944633484, -0.09620599448680878, 0.9377124905586243, -0.1930255889892578, 0.31008246541023254, 1.1507251262664795, -0.523015022277832, 0.9653218984603882, 0.31404417753219604, -0.28873854875564575, 0.3791852593421936, 0.7740484476089478, -0.0629531592130661, 0.6948564648628235, 0.07128042727708817, -0.7636928558349609, -0.46277663111686707, -0.2983977794647217, 0.3203100562095642, 0.686251699924469, 0.2851113975048065, -0.3569853901863098, -0.3884274363517761, 0.2999233305454254, -0.033550214022397995, 0.28324002027511597, -0.3186974823474884, 0.8917098641395569, 0.12577301263809204, -0.24229870736598969, 0.5505563020706177, 0.3728766143321991, 1.106032133102417, -0.30203503370285034, -0.13180820643901825, -0.1414497047662735, 0.3417046070098877, -0.11297447979450226, -0.5783985257148743, 0.2517032325267792, 0.47613421082496643, -0.33413636684417725, -0.5374162793159485, 0.9377903938293457, -0.5172505378723145, -0.5837443470954895, 0.06736093759536743, 0.42651960253715515, 0.11704497039318085, 0.02992246486246586, -0.5567799210548401, -0.06949988752603531, -0.24819396436214447, 0.00016842337208800018, 0.5124075412750244, 0.5240379571914673, -0.12744495272636414, 0.38338515162467957, 0.5284830331802368, 0.13106998801231384, -0.25040653347969055, -0.36491551995277405, 0.6741596460342407, -0.6026541590690613, -0.3272189199924469, -1.1533206701278687, 0.043194178491830826, -0.20386148989200592, -0.10001610964536667, 0.5476562976837158, 0.6010286211967468, 1.1109287738800049, 0.11504946649074554, 0.8408514261245728, 0.11013086885213852, 0.5671405792236328, -0.4332616627216339, 0.577452540397644, -0.5090771317481995, 0.45791998505592346, 0.045381058007478714, -0.8705549836158752, -0.4470727741718292, 0.7319068312644958, 0.007518180646002293, -0.13179270923137665, 0.5459392666816711, 0.5510521531105042, -0.12514619529247284, -0.3034803569316864, 0.5003209114074707, -0.09188660234212875, 0.26900458335876465, 0.6525903940200806, 0.6790603995323181, -0.3659757971763611, 0.546072781085968, -0.5487320423126221, -0.36133235692977905, -0.2026452124118805, -1.058986783027649, -0.9947614073753357, -0.34621331095695496, -0.2613181173801422, -0.09544634819030762, -0.20793528854846954, 1.4002002477645874, 0.8359280228614807, -0.7502641081809998, -0.2890721261501312, 0.08510967344045639, 0.16251154243946075, 0.06588093936443329, -0.2521001696586609, 0.2044220119714737, -0.6613557934761047, -0.9817267060279846, 0.6993145942687988, 0.4961291253566742, 0.3177304267883301, 0.07952054589986801, -0.10289780050516129, -0.012500506825745106, 0.17997804284095764, 1.0276691913604736, 0.10727028548717499, -0.5295710563659668, -0.36176207661628723, -0.07527218759059906, -0.1219860166311264, 0.03409769386053085, 0.6902853846549988, -1.1327183246612549, 0.21099518239498138, 0.4616239070892334, 0.7858006954193115, 0.47149986028671265, -0.06577213853597641, 0.3096567392349243, -1.0726091861724854, 0.18040287494659424, 0.3869442641735077, 0.3076017200946808, 0.2889884114265442, -0.4599447250366211, 0.5717664361000061, 0.37437522411346436, -0.5105042457580566, -0.9958885908126831, -0.06253770738840103, -0.8112694025039673, -0.4736190140247345, 1.1005141735076904, -0.019572068005800247, -0.10005592554807663, 0.08660893887281418, -0.18720456957817078, 0.18486784398555756, -0.5392591953277588, 0.8241877555847168, 0.6157255172729492, -0.4686804711818695, -0.14237456023693085, -0.2678315043449402, 0.6191258430480957, -0.011965056881308556, -1.0130393505096436, -0.13934341073036194, 0.4009997248649597, 0.30841773748397827, 0.04864040017127991, 0.6014940142631531, -0.045969270169734955, -0.12320370227098465, -0.3042026460170746, -0.30847033858299255, 0.07577837258577347, -0.41972586512565613, -0.5345375537872314, 0.30373862385749817, 0.07440613955259323, -0.04411650821566582 ]
http://arxiv.org/abs/2404.04281v1
http://arxiv.org/pdf/2404.04281v1
Similar Data Points Identification with LLM: A Human-in-the-loop Strategy Using Summarization and Hidden State Insights
2024-04-03T03:17:28
2024-04-03T03:17:28
Xianlong Zeng, Fanghao Song, Ang Liu
cs.CL
cs.CL, cs.AI
This study introduces a simple yet effective method for identifying similar data points across non-free text domains, such as tabular and image data, using Large Language Models (LLMs). Our two-step approach involves data point summarization and hidden state extraction. Initially, data is condensed via summarization using an LLM, reducing complexity and highlighting essential information in sentences. Subsequently, the summarization sentences are fed through another LLM to extract hidden states, serving as compact, feature-rich representations. This approach leverages the advanced comprehension and generative capabilities of LLMs, offering a scalable and efficient strategy for similarity identification across diverse datasets. We demonstrate the effectiveness of our method in identifying similar data points on multiple datasets. Additionally, our approach enables non-technical domain experts, such as fraud investigators or marketing operators, to quickly identify similar data points tailored to specific scenarios, demonstrating its utility in practical applications. In general, our results open new avenues for leveraging LLMs in data analysis across various domains.
[ -0.29148051142692566, -0.7579448223114014, 0.693209707736969, -0.3189334273338318, -0.33970820903778076, 0.3297940790653229, -0.16751901805400848, -0.4214318096637726, 0.387113094329834, 0.6912868022918701, -0.6494352221488953, -0.8512080311775208, -0.3252450227737427, 0.0745580717921257, -0.6007097959518433, 0.8625670075416565, -0.05642245337367058, -0.10921316593885422, -0.3951401710510254, -0.22842101752758026, -0.28518450260162354, -0.7172335982322693, -0.3942963182926178, -0.4120168685913086, 0.635964572429657, 0.5588827133178711, 0.3074145019054413, 0.6291453242301941, 0.5961992740631104, 0.20506000518798828, 0.0694018304347992, 0.3078332245349884, -0.8307275772094727, 0.08310588449239731, -0.0904153510928154, -0.6018312573432922, -0.2334357500076294, -0.08539873361587524, 0.612148642539978, 0.7494227290153503, 0.04337421432137489, 0.3579657971858978, 0.35117417573928833, 0.6834385991096497, -0.4972687065601349, 0.21728378534317017, -0.7723073363304138, 0.028393780812621117, -0.37482643127441406, -0.3889085650444031, -0.2312595546245575, -0.7549353837966919, 0.15809917449951172, -0.6017407774925232, 0.5478694438934326, 0.11343957483768463, 0.9824571013450623, 0.01489521749317646, -0.3767728805541992, -0.43762582540512085, -0.6544426679611206, 0.8177520036697388, -0.5393948554992676, 0.08711238950490952, 0.029323508962988853, 0.3760175108909607, -0.1390027403831482, -0.4369913935661316, -0.8169625997543335, 0.027874447405338287, -0.24922360479831696, -0.0804203674197197, -0.2671887278556824, -0.28104066848754883, 0.24687615036964417, 0.2992486357688904, -0.7811533212661743, 0.18632441759109497, -0.33987289667129517, -0.2793356478214264, 0.5637476444244385, 0.3987637758255005, 0.04731898009777069, 0.046294569969177246, -0.3595229983329773, 0.0009788722964003682, -1.0071371793746948, -0.0014487056760117412, 0.2680399417877197, 0.4681437015533447, -0.23786546289920807, 0.685452401638031, -0.4463544189929962, 0.4970589280128479, -0.16552813351154327, -0.3027302026748657, 0.3796118199825287, -0.16185930371284485, -0.22087745368480682, -0.19443379342556, 0.7486854195594788, 0.5407096147537231, 0.4850839674472809, -0.14698049426078796, -0.2849612236022949, -0.18018101155757904, -0.021603409200906754, -0.4876447916030884, -0.19146952033042908, -0.08047047257423401, -0.7764102220535278, -0.27600473165512085, 0.35941579937934875, -0.9519074559211731, -0.6858618259429932, -0.37442028522491455, 0.253759503364563, -0.09206784516572952, -0.09441675990819931, -0.4718671143054962, -0.08347178250551224, 0.598560631275177, 0.23807869851589203, -0.7578925490379333, 0.5701115131378174, 1.0458509922027588, 0.9594542384147644, -0.5794264674186707, -0.24462881684303284, -0.23905596137046814, 0.27149009704589844, -0.4862429201602936, 0.8876999020576477, -0.7452455163002014, -0.37152788043022156, 0.008318658918142319, 0.0926368311047554, 0.16270512342453003, -1.0452224016189575, 0.03244205191731453, -0.8295475244522095, -0.17547506093978882, -0.44168198108673096, -0.6731038093566895, -0.3066183626651764, 0.4369093179702759, -0.925945520401001, 1.1370877027511597, 0.034347839653491974, -0.816641092300415, 0.5001733303070068, -0.635504961013794, -0.237789124250412, 0.09835121780633926, -0.3992002010345459, -0.6925815343856812, 0.42333608865737915, 0.18958963453769684, 0.6949477791786194, -0.2555163502693176, -0.08523155748844147, -0.47331809997558594, -0.3829875588417053, 0.4716852009296417, -0.25889822840690613, 0.38918641209602356, 0.18765254318714142, 0.23868408799171448, 0.16917447745800018, -0.8003591895103455, -0.18814703822135925, 0.33879512548446655, -0.1671219766139984, -0.4808063209056854, -0.11556292325258255, -0.11602477729320526, -0.01730876974761486, 0.4014732539653778, -0.45953065156936646, 0.34330305457115173, -0.13740992546081543, 0.0644262358546257, 0.6324256658554077, 0.3415156602859497, 0.38152986764907837, -0.4068375527858734, 0.659514844417572, 0.08614256978034973, -0.20392856001853943, -0.25978365540504456, -0.5692468881607056, -0.4161718189716339, -0.2767830193042755, 0.3081613779067993, 0.71511310338974, -0.6522585153579712, 0.183523491024971, -0.6400691866874695, -0.3820708692073822, -0.37231406569480896, 0.28609925508499146, 0.31490516662597656, 0.8359797596931458, 0.20137906074523926, -0.24367061257362366, -0.29579052329063416, -0.9676916599273682, -0.5086513757705688, 0.14952974021434784, -0.3610120117664337, 0.3148193955421448, 0.47943562269210815, -0.0661737397313118, 1.1807712316513062, -0.9458299875259399, -0.24949410557746887, -0.501982569694519, 0.13376682996749878, 0.4153612554073334, 0.11798453330993652, 0.4831601679325104, -0.7006503939628601, -0.6471660733222961, 0.10076549649238586, -0.9480488300323486, -0.04186302796006203, -0.08813682943582535, 0.21205559372901917, 0.020670749247074127, 0.6227484345436096, -0.2062273770570755, 0.5688273906707764, 0.2696533501148224, -0.11289811879396439, 0.26118192076683044, -0.17762266099452972, 0.26956406235694885, -1.0955816507339478, 0.31012386083602905, 0.08611766248941422, -0.21043695509433746, -0.7706317901611328, -0.11974871158599854, 0.22741787135601044, -0.42943301796913147, -0.24599860608577728, 0.5120330452919006, -0.5596697330474854, -0.30088961124420166, -0.3606187403202057, 0.13086958229541779, -0.1645110845565796, 0.603617250919342, -0.0035567807499319315, 0.7524154782295227, 0.6002565622329712, -0.48926714062690735, 0.4160199463367462, 0.19992905855178833, -0.5850029587745667, 0.6488532423973083, -0.5340220928192139, 0.20224767923355103, -0.3219718337059021, 0.14835156500339508, -0.9702936410903931, -0.2611033618450165, 0.17663776874542236, -0.4341486096382141, 0.11982645094394684, -0.19628797471523285, -0.5492573380470276, -0.32950806617736816, -0.4494589865207672, 0.40936002135276794, 0.4543062448501587, -0.48775339126586914, 0.48393526673316956, 0.512097179889679, -0.5622648596763611, -0.6153794527053833, -0.5220730304718018, 0.04934828355908394, -0.6202818751335144, -0.3409455120563507, 0.26852789521217346, 0.05489936098456383, -0.24093440175056458, -0.013619058765470982, 0.02065197378396988, -0.21613192558288574, 0.18416887521743774, 0.37509700655937195, 0.30828267335891724, -0.14233651757240295, 0.22127175331115723, 0.016801917925477028, -0.33922040462493896, -0.09245780855417252, -0.10245805978775024, 0.4691126346588135, 0.10560160130262375, -0.2828124165534973, -0.6161616444587708, 0.7417922616004944, 0.3325713276863098, -0.0455952025949955, 0.5715599656105042, 0.328928142786026, -0.5824823975563049, -0.23172152042388916, -0.3641015589237213, -0.09329979866743088, -0.46893295645713806, 0.2705841064453125, -0.7165093421936035, -0.7284471392631531, 0.7872192859649658, -0.3229049742221832, -0.0432400107383728, 0.32414528727531433, 0.5407453179359436, -0.3298766613006592, 0.5791836977005005, 0.9381197690963745, -0.45422133803367615, 0.3947906196117401, -0.2899390161037445, 0.2966148853302002, -0.5026077032089233, -0.4137338697910309, -0.4630364179611206, -0.4219096899032593, -0.3762087821960449, -0.4368264973163605, 0.3262500464916229, 0.1864861398935318, 0.16345864534378052, 0.2050100713968277, -0.09465043991804123, 0.8485292196273804, 0.5584788918495178, 0.16413044929504395, 0.40129050612449646, 0.16192129254341125, 0.02382098324596882, 0.001982306595891714, -0.2683052122592926, -0.5745996832847595, 1.4169063568115234, 0.23401819169521332, 0.96637362241745, -0.0023939383681863546, 0.8247142434120178, 0.4592747390270233, 0.39386194944381714, -0.9501773118972778, 0.5677751898765564, -0.01490713655948639, -0.154625803232193, -0.32737743854522705, -0.49552130699157715, -1.0062365531921387, 0.013846632093191147, -0.3165263831615448, -0.7380821108818054, 0.026925047859549522, 0.09266123175621033, -0.3463580012321472, 0.2430952787399292, -0.5951251983642578, 0.5641579031944275, 0.1873713880777359, 0.11223634332418442, -0.24107202887535095, -0.51389479637146, 0.09538087993860245, -0.3366904854774475, 0.13266831636428833, -0.20570281147956848, -0.1693933606147766, 0.9632135629653931, -0.46299678087234497, 0.8126842379570007, -0.1667407602071762, -0.21723072230815887, 0.34185150265693665, -0.03659998998045921, 0.614033043384552, -0.14169296622276306, -0.04745645821094513, 0.4069671034812927, -0.26824572682380676, -0.3742200434207916, -0.8815934658050537, 0.9426147937774658, -0.4395357072353363, -0.3123495280742645, -0.09853456169366837, -0.5453600883483887, -0.24326542019844055, 0.33960238099098206, 0.061407241970300674, 0.4843696653842926, -0.18025708198547363, 0.021403158083558083, 0.6010382175445557, -0.1306910663843155, 0.5139528512954712, 0.6092269420623779, 0.11312607675790787, -0.3174249827861786, 1.0058833360671997, -0.1194475069642067, -0.03222592920064926, 0.7034608125686646, 0.11362890154123306, -0.48138973116874695, -0.6395761966705322, -0.2148292362689972, 0.5018783211708069, -0.7378154397010803, -0.3239709138870239, -0.38970908522605896, 0.0417451448738575, -0.2294125258922577, -0.19978977739810944, -0.12520533800125122, -0.189982607960701, -0.4370831549167633, -0.1452331393957138, 0.3331581652164459, 1.0763710737228394, 0.10309772938489914, 0.2832208573818207, -0.6924389004707336, 0.6864004731178284, 0.39251789450645447, 0.3976682424545288, 0.043756820261478424, -0.24355648458003998, -0.21749626100063324, -0.08011568337678909, -0.2616654932498932, -1.0056028366088867, 0.5281794667243958, 0.2955376207828522, 0.6856843829154968, 0.6330419778823853, -0.05429937317967415, 0.747157871723175, -0.37377235293388367, 0.7117043733596802, 0.1687241941690445, -0.9431577324867249, 0.550774335861206, -0.14311076700687408, 0.09146934002637863, 0.5555260181427002, 0.7437092661857605, -0.5146422982215881, -0.19712643325328827, -0.33025678992271423, -0.525486171245575, 0.44211143255233765, -0.13567452132701874, -0.07520080357789993, 0.2923404276371002, 0.4382794201374054, 0.3174068331718445, 0.20690341293811798, -0.7276595234870911, -0.4759046137332916, 0.2472832053899765, -0.5809024572372437, -0.08007825165987015, -0.14930090308189392, -0.17427833378314972, 0.07509970664978027, 0.26617488265037537, -0.3820491135120392, 0.1621018350124359, 0.01577725261449814, -0.33345893025398254, 0.0896051898598671, 0.3120161294937134, 0.4917306900024414, 0.9049422144889832, -0.035064488649368286, 0.23209542036056519, 0.2721858322620392, -0.49913012981414795, 0.059469036757946014, -0.19097456336021423, -0.16750280559062958, 0.07354354858398438, 0.5664891004562378, 0.3059960901737213, 0.0576256699860096, -0.7470002174377441, 0.7396232485771179, -0.04190552234649658, -0.17084583640098572, -0.17674672603607178, -0.07862439751625061, -0.12015312910079956, 0.4487365186214447, 0.6180092692375183, -0.24819105863571167, 0.07692062854766846, -0.672906219959259, 0.3484095335006714, 0.4977957308292389, -0.5112819671630859, -0.38817813992500305, 0.3134576380252838, 0.023054368793964386, -0.26610276103019714, 0.5504562258720398, -0.1457522213459015, -0.3093906044960022, 0.6089051365852356, 0.4412952661514282, 0.7103224396705627, -0.023235468193888664, 0.11420619487762451, 0.14314545691013336, -0.031315289437770844, 0.03170720487833023, 0.5860702991485596, -0.07712644338607788, -0.7445962429046631, -0.19822511076927185, -0.3619304895401001, -0.2974119782447815, 0.23948630690574646, -1.0188119411468506, 0.31178075075149536, -0.29144248366355896, 0.17812082171440125, 0.043228719383478165, 0.08046538382768631, -0.7816057205200195, -0.024850593879818916, 0.24603679776191711, 0.6552993059158325, -1.180283546447754, 0.9705725312232971, 0.40277570486068726, -0.02942875772714615, -0.6738021373748779, 0.1583632230758667, 0.3347938060760498, -0.9618142247200012, 0.41171592473983765, 0.16153091192245483, -0.01380554772913456, -0.22866281867027283, -0.5922966003417969, -0.7234922647476196, 1.4248968362808228, 0.17971466481685638, -0.7521094679832458, 0.11872297525405884, 0.26799526810646057, 0.5003075003623962, -0.5622491836547852, 0.041578736156225204, 0.7928676009178162, 0.10520312935113907, 0.21752050518989563, -0.7585240006446838, 0.14666509628295898, -0.12412549555301666, -0.09544462710618973, 0.37083351612091064, -0.2817608714103699, 0.7538823485374451, -0.5296013951301575, -0.48041364550590515, -0.0024761317763477564, 0.7008336782455444, 0.2945689558982849, 0.5618606805801392, 0.429798424243927, 0.49095064401626587, 1.1655819416046143, 0.1551443189382553, 0.5783885717391968, -0.11136461049318314, 0.6227492094039917, 1.1936147212982178, -0.3344384729862213, 0.9530553817749023, 0.26593923568725586, -0.11992748081684113, 0.6149153113365173, 0.4352738559246063, -0.3111637830734253, 0.6906251311302185, 0.41196274757385254, -0.06789958477020264, 0.01301650982350111, 0.05360998958349228, -0.20927342772483826, 0.3850991725921631, 0.5343371629714966, -0.3434378206729889, -0.3346973657608032, -0.01910894736647606, -0.02874087542295456, 0.04336268827319145, -0.47028258442878723, 1.1398261785507202, -0.028402205556631088, -0.14988628029823303, 0.5545278191566467, -0.23662561178207397, 0.6187672019004822, -0.49530836939811707, -0.21478696167469025, -0.36268091201782227, -0.15331289172172546, -0.1591307520866394, -0.8400487303733826, 0.4191397428512573, 0.25586628913879395, -0.28880563378334045, -0.13807344436645508, 0.5716990828514099, -0.36986303329467773, -0.4507385194301605, 0.054337240755558014, 0.4291571378707886, 0.405465304851532, -0.32044973969459534, -0.5418468713760376, -0.12373059242963791, 0.07170939445495605, 0.08917563408613205, 0.14664196968078613, 0.4563140571117401, -0.3231227993965149, 0.8489047288894653, 0.41972479224205017, 0.1759478747844696, -0.04892551898956299, 0.23437736928462982, 0.9270409345626831, -1.2489006519317627, -0.6038336157798767, -0.8523864150047302, 0.1508399248123169, -0.2996011972427368, -0.19160403311252594, 0.7468094825744629, 0.8025999665260315, 0.853931188583374, -0.131379634141922, 0.8404514193534851, 0.3188830018043518, 1.0213851928710938, -0.5252182483673096, 0.7086209058761597, -0.4738253355026245, 0.43894779682159424, -0.35707661509513855, -0.9818739891052246, -0.2837671935558319, 0.10261493176221848, -0.2334642857313156, -0.310795396566391, 0.7246233820915222, 1.1763784885406494, -0.18901658058166504, -0.18953807651996613, 0.3709852993488312, 0.06981415301561356, 0.24956919252872467, 0.5711787939071655, 0.9690629243850708, -0.2070522904396057, 0.6437210440635681, -0.015440826304256916, -0.4128991365432739, -0.23282790184020996, -0.77578204870224, -0.9716019034385681, -0.6967524886131287, -0.31204989552497864, 0.05363941192626953, -0.3530727028846741, 0.6618163585662842, 0.6469755172729492, -1.0277721881866455, -0.14243194460868835, 0.24713034927845, 0.2587220370769501, -0.21168269217014313, -0.26268672943115234, 0.4952729344367981, 0.2711538076400757, -0.5982387065887451, 0.44488176703453064, 0.4543684720993042, 0.19658824801445007, -0.1273684799671173, 0.21372656524181366, 0.2752547264099121, 0.15230995416641235, 0.420724093914032, 0.3712383806705475, -0.7825756072998047, -0.3226628005504608, -0.13428954780101776, 0.026548633351922035, 0.07812079787254333, 1.3456108570098877, -0.8297187089920044, 0.23907284438610077, 0.5463892221450806, 0.5170689225196838, 0.47257742285728455, 0.43103936314582825, 0.3959923982620239, -0.8833731412887573, 0.06259437650442123, 0.11739502847194672, 0.21949109435081482, 0.2312110960483551, -0.380347341299057, 0.24648010730743408, 0.07137016952037811, -0.31251251697540283, -0.6554125547409058, 0.27593347430229187, -1.2273842096328735, -0.2798452377319336, 0.9537311792373657, -0.3693245053291321, -0.07706218957901001, -0.40598416328430176, 0.12663842737674713, -0.028959205374121666, -0.427097886800766, 0.8809677958488464, 0.2763318121433258, -0.2928469181060791, -0.10030323266983032, -0.1338682472705841, 0.47594621777534485, -0.20062917470932007, -1.1202033758163452, 0.09765934944152832, 0.24310214817523956, 0.5887587666511536, -0.040463484823703766, 0.5443248748779297, -0.013341630809009075, -0.3153077960014343, -0.08336735516786575, -0.18648748099803925, 0.046806175261735916, -0.39803048968315125, -0.5815160274505615, 0.4464605748653412, -0.21950840950012207, -0.22429108619689941 ]
http://arxiv.org/abs/2404.02421v2
http://arxiv.org/pdf/2404.02421v2
Revisiting subword tokenization: A case study on affixal negation in large language models
2024-04-03T03:14:27
2024-04-04T04:52:37
Thinh Hung Truong, Yulia Otmakhova, Karin Verspoor, Trevor Cohn, Timothy Baldwin
cs.CL
cs.CL
In this work, we measure the impact of affixal negation on modern English large language models (LLMs). In affixal negation, the negated meaning is expressed through a negative morpheme, which is potentially challenging for LLMs as their tokenizers are often not morphologically plausible. We conduct extensive experiments using LLMs with different subword tokenization methods, which lead to several insights on the interaction between tokenization performance and negation sensitivity. Despite some interesting mismatches between tokenization accuracy and negation detection performance, we show that models can, on the whole, reliably recognize the meaning of affixal negation.
[ -0.5082528591156006, -1.136448621749878, 0.35155782103538513, -0.13947151601314545, -0.39125627279281616, -0.16892941296100616, -0.043167196214199066, -0.6603769659996033, 0.4276616871356964, 0.33454787731170654, -0.29412713646888733, -0.36415228247642517, -0.9280531406402588, 0.3730959892272949, -0.9321410059928894, 0.6564182043075562, 0.15868215262889862, 0.10655109584331512, -0.3915731608867645, -0.2932094633579254, -0.612304151058197, -0.9540501832962036, -0.9325121641159058, -0.6866877675056458, 0.5366652011871338, 0.07400745898485184, 1.0824552774429321, 0.4815914034843445, 0.3469522297382355, 0.2816062271595001, -0.47178491950035095, -0.4776991307735443, -0.47284388542175293, 0.09517619013786316, -0.3339790105819702, -0.7087835073471069, -0.41729408502578735, -0.008714132010936737, 0.621161937713623, 0.8390862345695496, -0.014420855790376663, -0.1217963919043541, -0.35932284593582153, 0.34126096963882446, -0.5981934070587158, -0.20143525302410126, -0.9681288003921509, -0.0044740550220012665, -0.30615416169166565, 0.28103598952293396, -0.43458202481269836, -0.019538868218660355, -0.11003893613815308, -0.3089219927787781, 0.2119893729686737, 0.12328636646270752, 0.7643731832504272, 0.09826003760099411, -0.8651217818260193, -0.3195756673812866, -0.4269829988479614, 0.9532895684242249, -1.1824512481689453, 0.8076475262641907, 0.20222437381744385, 0.061964333057403564, -0.25715258717536926, -0.7980345487594604, -0.8764407634735107, -0.3884319067001343, -0.4409688413143158, -0.327109694480896, -0.4440311789512634, 0.2613481879234314, 0.20467504858970642, 0.4417596757411957, -0.15168514847755432, 0.34393468499183655, -0.17898830771446228, -0.5224618911743164, 0.5247976779937744, 0.2906915843486786, 0.10743366181850433, 0.023631790652871132, -0.30760613083839417, 0.33467087149620056, -0.8734655976295471, -0.1085246279835701, 0.22127148509025574, 0.2924783527851105, 0.12708283960819244, 0.6359040141105652, 0.029323363676667213, 0.46912097930908203, 0.14839598536491394, -0.0454496368765831, 0.38296839594841003, -0.45670056343078613, -0.19255176186561584, -0.06083143129944801, 0.23462630808353424, 0.1335609257221222, 0.35082897543907166, -0.1675482541322708, -0.5678043961524963, 0.1754603534936905, 0.07541187852621078, -0.6751285791397095, 0.1730089783668518, 0.04336376115679741, -0.6717309951782227, -0.20019370317459106, -0.15018336474895477, -0.3550206124782562, -0.5784224271774292, -0.38435840606689453, 0.6030598282814026, -0.4286684989929199, -0.2932385504245758, 0.21027149260044098, -0.1235041692852974, 0.5974061489105225, 0.4273797273635864, -0.6296389698982239, 0.42134717106819153, 0.9809635877609253, 0.6028290390968323, -0.16796502470970154, -0.360159695148468, -0.6558966040611267, -0.1943940371274948, -0.4390791058540344, 0.5198548436164856, -0.9457371234893799, -0.5550070405006409, -0.016244912520051003, 0.12070496380329132, -0.1029624491930008, -0.483512282371521, 0.32064011693000793, -0.5678941011428833, -0.0412772037088871, 0.1657235473394394, -0.7324575185775757, -0.2504855990409851, 0.45929381251335144, -0.43402913212776184, 0.5166164636611938, -0.19364875555038452, -0.5069810152053833, 0.31874197721481323, -0.3255007266998291, -0.8739461302757263, -0.04067624360322952, -0.0477079339325428, -0.3274253308773041, 0.7173113822937012, -0.0614943653345108, 0.2725762128829956, -0.10682965070009232, 0.15539957582950592, -0.15626110136508942, -0.475577175617218, 0.33596259355545044, -0.5761765241622925, 0.47213712334632874, -0.23585145175457, -0.26703953742980957, 0.006956286262720823, -0.5280263423919678, -0.30077654123306274, -0.015828121453523636, -0.19749552011489868, -0.5737249255180359, -0.04498028755187988, 0.03148683160543442, 0.106875941157341, 0.1901162564754486, -0.7684269547462463, 0.10575176030397415, -0.6330313086509705, 0.583754301071167, 0.744620680809021, -0.1500478982925415, 0.19742031395435333, -0.026835625991225243, 0.7077848315238953, 0.0970320850610733, 0.0653899759054184, -0.24848060309886932, -0.5373287796974182, -1.0196384191513062, -0.14251644909381866, 0.7739015221595764, 0.13601048290729523, -0.5302311182022095, -0.07525540888309479, -0.10077402740716934, -0.4082528352737427, -0.23262430727481842, -0.23125199973583221, 0.44228583574295044, 0.4321528673171997, 0.4275643825531006, -0.2726794481277466, -0.46427983045578003, -1.1580524444580078, -0.42781779170036316, -0.2569044828414917, 0.29575371742248535, 0.41671720147132874, 0.9326066970825195, -0.5744823217391968, 0.5273301005363464, -0.4637095034122467, -0.14777939021587372, -0.18425655364990234, 0.32693225145339966, 0.3203820288181305, 0.29904431104660034, 0.6186262369155884, -0.8571657538414001, -0.14661017060279846, -0.1034005656838417, 0.0615558847784996, -0.3014008700847626, 0.03630753234028816, 0.14894649386405945, 0.3284606337547302, 1.1276782751083374, -0.6390581130981445, 0.7670935392379761, 0.529639482498169, -0.6234056949615479, 0.6925694346427917, 0.08406534045934677, -0.022822724655270576, -0.7793587446212769, 0.11653035134077072, -0.393951416015625, -0.20152778923511505, -0.6982043385505676, 0.21520383656024933, -0.014532876200973988, 0.2476886510848999, -0.7002806663513184, 0.9603405594825745, -0.2973056733608246, 0.02983398362994194, -0.46706146001815796, -0.05149785801768303, -0.01896481215953827, 0.0582854263484478, -0.002458416623994708, 0.6984384655952454, 0.1736489087343216, -0.6191748976707458, 0.3286483585834503, 0.24680763483047485, 0.14543506503105164, 0.5648514628410339, -0.6516534686088562, -0.013520372100174427, -0.43973615765571594, 0.3119080066680908, -1.316968560218811, 0.037038687616586685, -0.11897695809602737, -0.6078539490699768, 0.323585569858551, -0.15134935081005096, -0.3689206838607788, -0.10465123504400253, -0.06916552782058716, 0.7317190766334534, 0.3069959878921509, -0.32852843403816223, 0.6969683766365051, 0.4657357335090637, 0.10457918792963028, -0.40081483125686646, -0.8213859796524048, 0.39357659220695496, -0.23747631907463074, -0.30130279064178467, 0.41524744033813477, 0.17891736328601837, -0.46354857087135315, -0.07646501809358597, -0.02955777570605278, 0.05369285121560097, 0.4031085669994354, 0.1967504769563675, -0.027161981910467148, -0.1965886503458023, 0.48390814661979675, -0.19886624813079834, -0.22142302989959717, -0.0002341423969483003, 0.09776876866817474, 0.824933648109436, 0.11723093688488007, -0.4953400194644928, -0.09673341363668442, 0.4089386463165283, 0.8138111233711243, -0.24032394587993622, 0.9294916391372681, 0.38015952706336975, -0.7554613947868347, 0.049060843884944916, -0.6043272614479065, -0.31141045689582825, -0.4146658778190613, 0.3249186873435974, -0.3860584795475006, -1.0401426553726196, 0.6911221146583557, 0.19340665638446808, 0.1173243597149849, 0.7097023129463196, 0.422132283449173, 0.21019072830677032, 1.1083275079727173, 0.591311514377594, 0.020105862990021706, 0.37548506259918213, 0.11439897119998932, 0.3798878788948059, -0.6312153935432434, -0.04234715923666954, -0.656862199306488, -0.5384519100189209, -0.5974253416061401, -0.1884521096944809, 0.12866203486919403, -0.04348527267575264, -0.06356194615364075, 0.3163149952888489, 0.10957275331020355, 0.4199581444263458, 0.21538934111595154, -0.38489648699760437, 0.24664326012134552, -0.25773102045059204, -0.2335609495639801, -0.13452480733394623, -0.3999204933643341, -0.3420788049697876, 0.7455074787139893, 0.4627809226512909, 0.8074047565460205, 0.2705880105495453, 0.5123438239097595, 0.3046107888221741, 0.4215899109840393, -1.0244027376174927, 0.5985991954803467, -0.5049694776535034, -0.6629319787025452, -0.04304775968194008, -0.13564248383045197, -0.9957196116447449, 0.36281853914260864, -0.42822420597076416, -0.45475098490715027, 0.29311585426330566, 0.2036336362361908, -0.2025393396615982, 0.21211549639701843, -0.7357239723205566, 0.7207342386245728, -0.1230299323797226, -0.07787904888391495, -0.3064796030521393, -0.2966592609882355, 0.2107231765985489, -0.22751037776470184, 0.39487504959106445, 0.10470501333475113, -0.40757307410240173, 0.5861742496490479, -0.4160894453525543, 0.9527341723442078, -0.017574140802025795, -0.30243438482284546, 0.07794079184532166, 0.23707163333892822, 0.5670787692070007, -0.07090284675359726, -0.3130165636539459, 0.5124263763427734, -0.0017472516046836972, -0.4562329351902008, -0.49212923645973206, 0.7892739772796631, -0.30506911873817444, -0.8468222618103027, -0.4657966196537018, -0.34923243522644043, -0.24244055151939392, 0.3801068365573883, 0.027134181931614876, 0.5409298539161682, -0.15241305530071259, 0.3901945948600769, 0.370423823595047, -0.36471015214920044, 0.31647932529449463, 0.6498743295669556, -0.45612263679504395, -0.2103738784790039, 0.6014824509620667, 0.4763236343860626, 0.400945782661438, 0.40671300888061523, 0.19908753037452698, -0.28793537616729736, -0.9486685991287231, -0.017352532595396042, 0.25229090452194214, -0.5893640518188477, -0.23419296741485596, -0.612276554107666, -0.30838441848754883, -0.5436127185821533, -0.27042675018310547, -0.18441736698150635, -0.6638091206550598, -0.24353298544883728, -0.26067253947257996, 0.22170761227607727, 0.9036438465118408, 0.020733414217829704, 0.26523441076278687, -0.5877826809883118, 0.056884028017520905, 0.3432677686214447, 0.20351706445217133, 0.15023499727249146, -0.6237218976020813, -0.11843593418598175, 0.09523540735244751, 0.007871895097196102, -0.7190054655075073, 0.28667259216308594, 0.19658756256103516, 0.6433871388435364, 0.2295464128255844, -0.18211844563484192, 0.6916230320930481, -0.5655271410942078, 1.0016206502914429, 0.14166855812072754, -1.2153476476669312, 0.2979958653450012, -0.2005576640367508, 0.4752955138683319, 0.32586240768432617, 0.09429487586021423, -0.8604288101196289, -0.3772942125797272, -0.5798037052154541, -1.1975536346435547, 0.1575566530227661, 0.0897880271077156, 0.5970209240913391, -0.4934149980545044, 0.6120327115058899, 0.3810393214225769, 0.4901338815689087, -0.5564499497413635, -0.2802123427391052, 0.03738481551408768, 0.11101538687944412, -0.3291642963886261, -0.5850948691368103, 0.21312618255615234, -0.14640338718891144, 0.7483514547348022, -0.01825610175728798, 0.14067381620407104, 0.035629648715257645, -0.27801334857940674, 0.12111452221870422, 0.3356260359287262, 0.7008463144302368, 0.5192941427230835, 0.26508891582489014, 0.4907498061656952, 0.5298989415168762, -0.5228720903396606, 0.04612916707992554, -0.21254664659500122, -0.18515214323997498, 0.11879196763038635, 0.9562950730323792, 0.45779359340667725, 0.23021024465560913, -0.616907000541687, 0.6379778385162354, -0.04028858616948128, -0.20924384891986847, -0.27301856875419617, -0.07827255874872208, 0.05492844060063362, -0.03802427276968956, 0.31163671612739563, -0.14735586941242218, 0.04858817532658577, -0.61784827709198, 0.34194374084472656, 0.946912407875061, -0.46643367409706116, -0.32848161458969116, 0.45634278655052185, 0.23895464837551117, -0.36022573709487915, 0.4585783779621124, -0.033808909356594086, -0.894142210483551, 0.7570880055427551, 0.756334662437439, 0.7199667096138, -0.1813134104013443, -0.20071282982826233, 0.18276408314704895, 0.48663049936294556, 0.5248585939407349, 0.0936083272099495, 0.17300744354724884, -0.8445941209793091, -0.42253270745277405, -0.6411734819412231, -0.3491005599498749, 0.2920895516872406, -0.306663453578949, 0.26006144285202026, -0.45368778705596924, -0.33457842469215393, 0.18753212690353394, -0.2152288258075714, -0.4621052145957947, 0.42003998160362244, 0.3909498453140259, 1.1869125366210938, -0.8204596638679504, 0.5762583613395691, 1.0012235641479492, -0.017566772177815437, -0.5516462922096252, 0.1774858981370926, -0.03607975319027901, -0.9449592232704163, 0.7529768943786621, 0.29306507110595703, -0.250396728515625, -0.007510373834520578, -0.5614367723464966, -0.905635416507721, 1.0032767057418823, 0.21514679491519928, -0.5454527139663696, 0.20285853743553162, 0.24022288620471954, 0.8154452443122864, -0.38748839497566223, 0.21575824916362762, 0.521633505821228, 0.4300162196159363, 0.16096782684326172, -1.0523200035095215, 0.0135155925527215, -0.10279400646686554, -0.07360920310020447, 0.6232895851135254, -0.7273985147476196, 1.1591612100601196, 0.0003931414394173771, -0.3446234166622162, -0.010830488987267017, 0.5630877017974854, -0.2424650639295578, 0.2578781843185425, 0.7408634424209595, 0.6545072197914124, 0.3549175262451172, -0.045996565371751785, 0.9015554189682007, -0.13758602738380432, 0.15246964991092682, 0.8034917712211609, -0.20079773664474487, 0.8287919163703918, 0.9492807984352112, -0.08127597719430923, 0.3338649868965149, 0.33767765760421753, 0.40647241473197937, 0.12182241678237915, 0.43651121854782104, -0.2032218873500824, -0.5646040439605713, -0.4769285321235657, -0.366495281457901, 0.6281713247299194, 0.4609532356262207, -0.5206925868988037, -0.29367008805274963, 0.1508549004793167, 0.22006794810295105, 0.14269722998142242, -0.7061936259269714, 0.5443437695503235, 0.2315215766429901, -0.4445553719997406, 0.5929323434829712, 0.27898260951042175, 0.9874842166900635, -0.49307891726493835, -0.25028496980667114, -0.4203350841999054, 0.23507165908813477, -0.3644943833351135, -0.6843636631965637, 0.611075758934021, -0.23868589103221893, 0.04736039787530899, -0.10719635337591171, 0.8548147082328796, -0.23967216908931732, -0.47086283564567566, 0.4261407256126404, 0.39331191778182983, -0.06796345859766006, 0.265491783618927, -0.4012131989002228, 0.05821729451417923, -0.05223776400089264, -0.1720249056816101, 0.3534260392189026, 0.1498757302761078, -0.2893453538417816, 0.6934224367141724, 0.6233298182487488, -0.08018910139799118, 0.0690683126449585, -0.07865514606237411, 0.7188891172409058, -0.687575101852417, -0.3153080344200134, -0.9490355253219604, 0.2714817225933075, 0.2529885470867157, -0.34342870116233826, 0.7020745277404785, 0.5390960574150085, 0.9793171286582947, 0.24527573585510254, 0.5552520155906677, -0.06915667653083801, 0.35865992307662964, -0.4285634458065033, 0.5087173581123352, -0.6898854970932007, 0.23079082369804382, -0.1669601947069168, -0.5550185441970825, -0.5229673385620117, 0.5344843864440918, -0.5822246074676514, -0.15971197187900543, 0.4399327337741852, 0.8668680787086487, -0.07777298241853714, 0.010730311274528503, 0.6502060890197754, 0.6908193826675415, 0.2873070240020752, 0.3224666714668274, 0.8896647095680237, -0.46114012598991394, 0.37035804986953735, -0.031905002892017365, 0.06518331170082092, -0.22823219001293182, -1.012584924697876, -0.8336363434791565, -0.5451149940490723, -0.3536585569381714, -0.38747575879096985, 0.21964214742183685, 0.7902204990386963, 0.2317294329404831, -1.0103873014450073, 0.022599710151553154, -0.11547839641571045, 0.4719271659851074, 0.0326647125184536, -0.27839991450309753, 0.05314389988780022, 0.046622540801763535, -0.6993177533149719, 0.21895360946655273, 0.10671313852071762, 0.2316460907459259, -0.376416951417923, 0.05357782170176506, -0.5100302696228027, 0.6123359799385071, 0.7490029335021973, -0.04477747902274132, -0.6430756449699402, -0.7090309262275696, -0.06542082875967026, -0.10814891755580902, -0.2902655005455017, 0.7340518236160278, -0.9633526802062988, 0.05904119461774826, 0.6095715761184692, 0.5063692927360535, 0.16182652115821838, -0.0520947240293026, 0.6231431365013123, -0.548904299736023, 0.08538118004798889, 0.18872524797916412, 0.514587938785553, 0.25808826088905334, -0.19290243089199066, 0.4436740577220917, 0.4431469142436981, -0.16800890862941742, -0.9879053831100464, 0.6576663851737976, -0.17640818655490875, -0.3065566122531891, 1.3116706609725952, 0.07875239104032516, -0.10253638029098511, -0.15715155005455017, -0.29720833897590637, -0.19267043471336365, -0.20072431862354279, 0.3217170834541321, 0.9994605779647827, -0.1795339584350586, -0.06496509909629822, -0.25354117155075073, 0.15461622178554535, 0.606880784034729, -0.15858131647109985, 0.025671184062957764, 0.6116613149642944, 0.2886051535606384, 0.23591391742229462, 0.4118193984031677, -0.0859711766242981, 0.23322193324565887, -0.09978925436735153, -0.18877477943897247, -0.1527935117483139, 0.009517843835055828, -0.5955003499984741, 0.2697458863258362, 0.2223317176103592, 0.007171888370066881 ]
http://arxiv.org/abs/2404.02418v1
http://arxiv.org/pdf/2404.02418v1
Auxiliary task demands mask the capabilities of smaller language models
2024-04-03T02:56:52
2024-04-03T02:56:52
Jennifer Hu, Michael C. Frank
cs.CL
cs.CL, cs.AI
Developmental psychologists have argued about when cognitive capacities such as language understanding or theory of mind emerge. These debates often hinge on the concept of "task demands" -- the auxiliary challenges associated with performing a particular evaluation -- that may mask the child's underlying ability. The same issues arise when measuring the capacities of language models (LMs): performance on a task is a function of the model's underlying competence, combined with the model's ability to interpret and perform the task given its available resources. Here, we show that for analogical reasoning, reflective reasoning, word prediction, and grammaticality judgments, evaluation methods with greater task demands yield lower performance than evaluations with reduced demands. This "demand gap" is most pronounced for models with fewer parameters and less training data. Our results illustrate that LM performance should not be interpreted as a direct indication of intelligence (or lack thereof), but as a reflection of capacities seen through the lens of researchers' design choices.
[ -0.6412419080734253, -0.29745346307754517, 0.7109912037849426, 0.17299199104309082, 0.03637033328413963, -0.03511642664670944, -0.360085666179657, -0.7345742583274841, 0.08925897628068924, 0.4332464337348938, -0.8367078304290771, 0.2696917653083801, -0.8235427141189575, 0.055377427488565445, -0.15675492584705353, 0.5699431896209717, -0.03913960978388786, -0.14272667467594147, -0.8601515293121338, -0.20598594844341278, -0.7812235355377197, -0.14849425852298737, -0.3930719792842865, -0.5255541205406189, 0.4164390563964844, 0.5244390368461609, 0.8036200404167175, 0.5955682396888733, 0.4202529489994049, 0.22117692232131958, 0.2040301114320755, 0.11803669482469559, -0.16107609868049622, 0.15136633813381195, -0.010980061255395412, -0.36486518383026123, -0.42066070437431335, 0.4319109320640564, 0.4822436273097992, 1.0753138065338135, 0.25867438316345215, 0.338981956243515, 0.3422410786151886, 0.7648196220397949, -0.8261714577674866, 0.4461406171321869, -0.5279451608657837, -0.19944125413894653, 0.10090771317481995, 0.124809630215168, -0.3293437659740448, 0.058285389095544815, 0.2754763960838318, -0.4805266857147217, 0.21944911777973175, -0.056759774684906006, 0.8640050292015076, 0.18955180048942566, -0.18471699953079224, -0.323879599571228, -0.8146312832832336, 0.8822720050811768, -0.33404824137687683, 0.4883776009082794, 0.8966233730316162, -0.030285784974694252, 0.17145875096321106, -0.49867022037506104, -0.5189813375473022, -0.6068946719169617, -0.32548394799232483, 0.05683453381061554, -0.17143166065216064, 0.1779777854681015, 0.6524484753608704, 0.30208179354667664, -0.40982088446617126, 0.18895824253559113, -0.8424103260040283, 0.12444768846035004, 0.5536832213401794, 0.20192286372184753, 0.26437845826148987, -0.07078799605369568, -0.11161108314990997, -0.007955863140523434, -0.7256119251251221, 0.3093321919441223, 0.05527988076210022, 0.340675950050354, -0.10026884824037552, 0.706390380859375, -0.34768742322921753, 0.5212396383285522, 0.043787650763988495, 0.10911768674850464, -0.07887795567512512, 0.08800538629293442, -0.18470969796180725, -0.4782087504863739, 0.44201013445854187, 0.20578281581401825, 0.2719168961048126, -0.06795898824930191, -0.38693198561668396, 0.3576327860355377, 0.5109463930130005, -0.5306423306465149, -0.10297132283449173, 0.0016658930107951164, -0.38092172145843506, 0.2789614796638489, -0.056562863290309906, -0.4827796518802643, -0.41950011253356934, -0.4327111840248108, 0.5135971307754517, -0.3178711235523224, -0.09356564283370972, -0.25259658694267273, -0.1702011525630951, -0.14774276316165924, 0.13368253409862518, -1.007375955581665, 0.8836998343467712, 0.5233014225959778, 0.7868273258209229, -0.1520392745733261, -0.19751770794391632, -0.3904542028903961, -0.2185714691877365, -0.37975576519966125, 0.7700075507164001, -0.6758930087089539, -0.6624652147293091, -0.18714620172977448, -0.10863257944583893, -0.4625808596611023, -0.5763615369796753, 0.6242104768753052, -0.39491406083106995, -0.050352949649095535, -0.6509182453155518, -0.4260227680206299, -0.3485046625137329, 0.036114733666181564, -0.798418402671814, 1.002167820930481, 0.3584844172000885, -0.10620301216840744, 0.6803238391876221, -0.46680504083633423, -0.5574092268943787, 0.4374252259731293, -0.43276697397232056, 0.33694976568222046, 0.6017199158668518, 0.12439557164907455, 0.3024704158306122, -0.5217087268829346, -0.284511536359787, -0.25145024061203003, -0.4733639657497406, 0.45930013060569763, -0.2980166971683502, 0.45956483483314514, 0.09658606350421906, -0.30962038040161133, -0.14307436347007751, -0.702791690826416, 0.23415692150592804, 0.005814098287373781, -0.45519599318504333, -0.44131508469581604, 0.41205498576164246, -0.4011929929256439, 0.3408986032009125, 0.2459874153137207, -0.4516581892967224, -0.2858375012874603, -0.6294190287590027, 0.37044939398765564, 0.5977557301521301, -0.4838479459285736, 0.525901198387146, -0.8687198162078857, 0.7180735468864441, -0.5436926484107971, 0.06609174609184265, 0.1984427571296692, -0.5717885494232178, -1.0643811225891113, -0.22552290558815002, 0.14912693202495575, 0.2893793284893036, -0.4019809067249298, 0.14292266964912415, -0.43610653281211853, -0.34514114260673523, -0.5643719434738159, 0.3442918658256531, 0.33810850977897644, 0.27675750851631165, 0.12382853031158447, -0.4957934021949768, -0.6238892078399658, -1.072408676147461, -0.23076996207237244, -0.37225744128227234, 0.0012831261847168207, 0.404386043548584, 0.4346036911010742, 0.2168426811695099, 0.6521053314208984, -0.17932067811489105, -0.3017209470272064, -0.485941618680954, 0.06401899456977844, 0.24059751629829407, 0.4968383312225342, 0.5163319110870361, -0.6188268065452576, -0.31229129433631897, -0.11079080402851105, -0.4260142743587494, -0.23841308057308197, -0.09286224842071533, 0.2067517191171646, 0.04187062010169029, 0.3441593647003174, -1.073245644569397, 0.22860725224018097, 0.47203508019447327, -0.1999611109495163, 0.5769381523132324, -0.360076904296875, -0.06489568203687668, -0.05143069475889206, -0.012498793192207813, 0.11077763140201569, -0.0660509467124939, -0.7166665196418762, 0.41466838121414185, 0.13421206176280975, -0.05003916472196579, -0.10793519765138626, 0.5934972763061523, -0.7360281348228455, -0.017911072820425034, -0.5122637748718262, 0.17529988288879395, 0.3015460968017578, 0.22573402523994446, -0.1014079675078392, 0.8032847046852112, 0.26942434906959534, -0.8837160468101501, 0.06935373693704605, -0.23065219819545746, -0.49827635288238525, 0.40328744053840637, -0.6245542168617249, 0.3038204610347748, 0.03801741451025009, -0.33413630723953247, -0.9109466075897217, -0.31364360451698303, -0.019429581239819527, -0.285783976316452, 0.2837660312652588, 0.13938835263252258, -0.4638538062572479, -0.6814659237861633, -0.248481884598732, 0.40862876176834106, 0.8830951452255249, -0.03209717944264412, 0.521074116230011, 0.41922545433044434, -0.20645292103290558, -0.32571178674697876, -0.8570934534072876, -0.13534381985664368, -0.015512321144342422, -0.2999180853366852, 0.56755131483078, 0.10047611594200134, -0.5136721134185791, 0.31108686327934265, -0.3047841489315033, -0.17852260172367096, 0.1989317089319229, 0.39861565828323364, 0.4409499168395996, -0.34169742465019226, 0.2740436792373657, -0.08065542578697205, 0.18495483696460724, 0.5168263912200928, 0.11764820665121078, 0.2962179481983185, 0.10743128508329391, -0.5774570107460022, 0.08365361392498016, 0.4628748297691345, 0.5681098103523254, -0.029451578855514526, 0.613943338394165, 0.09146790951490402, -0.5984053015708923, -0.2795076072216034, -0.700796365737915, -0.11799539625644684, -0.4415409564971924, 0.2949336767196655, -0.4809187054634094, -0.725602388381958, 0.2755146622657776, 0.5853243470191956, -0.07608816772699356, 0.5972675085067749, 0.2846822142601013, -0.30364662408828735, 1.123116135597229, 0.33944135904312134, 0.45894214510917664, 0.18585088849067688, -0.1563275158405304, 0.1018248051404953, -1.1301957368850708, -0.14145705103874207, -0.4041973352432251, -0.36904874444007874, -0.35986629128456116, -0.5245020389556885, 0.19048352539539337, -0.04350482299923897, -0.13281823694705963, 0.2841447591781616, -0.4627365469932556, 0.40907207131385803, 0.6460090279579163, 0.16627202928066254, 0.21575631201267242, -0.21638712286949158, 0.12702003121376038, -0.3143558204174042, -0.6641815304756165, -0.6824585199356079, 0.9513887763023376, 0.19255147874355316, 0.44022002816200256, 0.04098150506615639, 0.10975004732608795, 0.31639668345451355, 0.36088240146636963, -1.0817489624023438, 0.7842639088630676, -0.24231204390525818, -0.9144144058227539, -0.08165246248245239, -0.15698552131652832, -0.8534367680549622, 0.684698760509491, -0.2964445650577545, -1.0031282901763916, 0.42650488018989563, 0.038214992731809616, -0.4270744323730469, -0.10100986063480377, -0.9662266373634338, 0.513456404209137, -0.1228923350572586, -0.13120923936367035, -0.6501445174217224, 0.04784858226776123, 0.40523916482925415, 0.15389810502529144, 0.3105519711971283, -0.377603143453598, -0.2337552011013031, 0.9262396097183228, -0.5523338913917542, 0.9087304472923279, -0.21921223402023315, 0.31652945280075073, 0.5083706974983215, 0.2275455892086029, 0.4586060643196106, -0.21258392930030823, -0.08122575283050537, -0.5050176978111267, 0.10597464442253113, -0.4826238751411438, -0.6522488594055176, 0.740908682346344, -0.4959658682346344, -1.3596800565719604, -0.3580836057662964, -0.7885228991508484, -0.6244689226150513, 0.09110799431800842, 0.12095163762569427, 0.2958330810070038, -0.16308829188346863, 0.14108067750930786, 0.37539583444595337, 0.0977146327495575, 0.3815977871417999, 0.11137999594211578, 0.10126204788684845, 0.19736231863498688, 0.831923246383667, 0.7064832448959351, 0.6247342228889465, -0.15152543783187866, 0.0012976104626432061, -0.25359266996383667, -0.6667920351028442, -0.3236852288246155, 0.13737772405147552, -0.8794480562210083, 0.10992268472909927, -0.559421956539154, -0.21049469709396362, -0.2874763011932373, 0.02652391977608204, -0.3001858592033386, -0.5223239064216614, -0.29450294375419617, -0.11447098106145859, 0.1402309089899063, 0.8248676061630249, 0.07164596021175385, 0.0349280945956707, -0.628212034702301, 0.21246923506259918, 0.5709051489830017, 0.1809917390346527, 0.37810271978378296, -0.5831444263458252, -0.40061700344085693, 0.0237625353038311, -0.6222289204597473, -0.7087129354476929, 0.09807652235031128, 0.27562403678894043, 0.7543364763259888, 0.22763411700725555, 0.19836780428886414, 0.7977597117424011, -0.2699873447418213, 0.7237768769264221, 0.12367608398199081, -1.0580615997314453, 0.3615768849849701, -0.21475104987621307, 0.26731976866722107, 0.40995121002197266, 0.19567334651947021, -0.17630723118782043, -0.3557843565940857, -0.5787320733070374, -0.6795082688331604, 0.7864254117012024, 0.27512073516845703, 0.5544107556343079, 0.010424463078379631, 0.06881634145975113, 0.16592895984649658, 0.213142991065979, -0.7720730900764465, 0.17313925921916962, 0.16086728870868683, -0.053446121513843536, 0.08964966237545013, -0.37494945526123047, -0.06003442034125328, -0.419680118560791, 0.3407966196537018, 0.17641374468803406, 0.45011308789253235, 0.21136483550071716, -0.282214879989624, -0.2641403377056122, 0.28175225853919983, 0.5568575263023376, 0.8067496418952942, 0.03772301971912384, 0.068901427090168, 0.5059747099876404, -0.325681209564209, 0.03589737415313721, 0.09088537842035294, 0.04067159444093704, -0.1402166485786438, 0.7851419448852539, 0.8927359580993652, 0.24741049110889435, -0.8380717039108276, 0.35900789499282837, 0.36379358172416687, -0.35044029355049133, -0.39480429887771606, 0.4578093886375427, 0.07280857115983963, 0.2268485128879547, 0.44997456669807434, 0.20425739884376526, 0.05911516770720482, -0.7730388641357422, -0.16529449820518494, 0.4242820739746094, -0.7625585794448853, -0.4742307662963867, 0.44370412826538086, -0.06549961119890213, -0.27011024951934814, 0.35298267006874084, -0.15204930305480957, -0.18715104460716248, 0.8890567421913147, 0.4333333373069763, 0.7077971696853638, 0.008316111750900745, 0.14656680822372437, 0.01872585527598858, 0.6899304986000061, -0.10635500401258469, 0.4472108781337738, -0.0419444665312767, -0.7616901993751526, -0.5616699457168579, -0.2348622828722, -0.16434141993522644, 0.4105556607246399, -0.7379670143127441, -0.07149544358253479, -0.6030960083007812, -0.34750932455062866, -0.0770280659198761, -0.10062819719314575, -1.0274595022201538, 0.4911241829395294, -0.013033074326813221, 0.8077430129051208, -0.5987534523010254, 0.5634216666221619, 0.705433189868927, -0.4045368432998657, -0.6812928915023804, -0.04914642870426178, -0.3177037239074707, -0.9438369870185852, 1.0256493091583252, 0.2962171137332916, -0.16245293617248535, -0.3951507806777954, 0.12632609903812408, -0.8890246152877808, 0.5599677562713623, 0.5001329183578491, -0.164413720369339, -0.2855232357978821, -0.01806752197444439, 0.666567325592041, -0.7588126063346863, 0.14063148200511932, 0.4895353317260742, 0.5101402401924133, -0.3225799798965454, -0.9322828650474548, 0.3575734496116638, -0.22864431142807007, 0.11772619187831879, -0.0716339498758316, -0.4239088296890259, 0.9780890345573425, -0.35451623797416687, -0.681858479976654, 0.15604697167873383, 0.4211008846759796, 0.11854154616594315, 0.13119637966156006, 0.6245439052581787, 0.24237105250358582, 0.4983341693878174, -0.2492055743932724, 1.2576457262039185, 0.20876866579055786, -0.08758243918418884, 0.9546973705291748, -0.18508115410804749, 0.7912077307701111, 0.6086575388908386, -0.4421905279159546, 0.37757521867752075, 0.6008206605911255, 0.19650232791900635, 0.5547927021980286, 0.2327602356672287, -0.026322016492486, -0.3575844466686249, -0.3015567660331726, -0.18272894620895386, 0.3808716833591461, 0.7775488495826721, -0.37046054005622864, 0.2748192250728607, -0.03766646236181259, -0.47278645634651184, 0.3664145767688751, -0.3872182071208954, 0.4733111560344696, 0.42726948857307434, -0.9433994293212891, 0.7656687498092651, -0.1577088087797165, 0.1342894434928894, -0.17036022245883942, 0.050433214753866196, 0.20563872158527374, -0.03356649726629257, -0.09454142302274704, -0.7100769281387329, 0.4691617786884308, -0.05257939547300339, -0.3728439211845398, -0.10545032471418381, 0.6227287650108337, 0.14596977829933167, -0.644572377204895, 0.6011094450950623, 0.8373708128929138, -0.1968029886484146, 0.058936432003974915, -0.4737369120121002, -0.05253750830888748, -0.4255504310131073, -0.2884102463722229, 0.33589205145835876, 0.2799326777458191, 0.0033922933507710695, 0.7342032790184021, 0.272116094827652, 0.47498589754104614, 0.08953841030597687, 0.017749866470694542, 0.7144708633422852, -0.3621842563152313, -0.27892211079597473, -0.8658992052078247, 0.37166449427604675, -0.11635059118270874, -0.4890936315059662, 0.4178241789340973, 0.22533650696277618, 0.8164922595024109, -0.19651153683662415, 0.8523921966552734, -0.31708022952079773, 0.4019659459590912, -0.5800116658210754, 0.44635409116744995, -0.7567226886749268, 0.42528098821640015, -0.05980479717254639, -0.6672549843788147, 0.02230699174106121, 0.5670674443244934, -0.5736504793167114, 0.3963906764984131, 0.8681255578994751, 0.4789915680885315, -0.23437310755252838, 0.14433668553829193, 0.5394421815872192, -0.18870317935943604, -0.119828000664711, 0.79742431640625, 1.0897679328918457, -0.28838756680488586, 0.3396936357021332, -0.31411322951316833, -0.1362200528383255, -0.11889955401420593, -0.24098606407642365, -1.2357689142227173, -0.7686659097671509, -0.06355670839548111, -0.15022829174995422, -0.10077633708715439, 0.9339689016342163, 0.9073967337608337, -0.6905686855316162, -0.4410772919654846, -0.18136630952358246, 0.05059223622083664, -0.5581696033477783, -0.13491685688495636, 0.1356232762336731, -0.4825975000858307, -0.732010543346405, 0.5767717361450195, -0.07324683666229248, -0.21485015749931335, -0.3673325777053833, 0.02012810856103897, -0.06973866373300552, 0.31573957204818726, 0.43468138575553894, 0.3048047125339508, -1.0223350524902344, -0.5367653369903564, -0.012503399513661861, 0.009035116992890835, 0.08594419062137604, 0.8773601055145264, -0.6621909141540527, 0.30355846881866455, 0.4870263934135437, 0.5862404108047485, 0.4826534390449524, -0.398813396692276, 0.7313308119773865, -0.6960468292236328, 0.20958952605724335, 0.2796832025051117, 0.5216800570487976, 0.16546835005283356, -0.45600777864456177, 0.2566912770271301, 0.2740917503833771, -0.11326835304498672, -0.8321366310119629, 0.5671650171279907, -0.5336531400680542, -0.33368003368377686, 0.7888173460960388, -0.15058010816574097, -0.0076074376702308655, -0.2066410928964615, -0.05059928074479103, 0.006649111397564411, -0.3027878701686859, 0.749984622001648, 1.140556812286377, -0.3365093469619751, -0.43283119797706604, -1.0874556303024292, 0.4618692398071289, 0.7996566891670227, -0.23621678352355957, -0.025123530998826027, 0.3700690269470215, -0.10639682412147522, 0.24089661240577698, 0.5894879102706909, 0.052862249314785004, 0.42214712500572205, 0.17623960971832275, -0.5667380094528198, 0.12121863663196564, -0.18327632546424866, 0.09686855971813202, 0.39096760749816895, 0.5873635411262512, -0.15948395431041718 ]
http://arxiv.org/abs/2404.02935v1
http://arxiv.org/pdf/2404.02935v1
KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checking
2024-04-03T02:52:07
2024-04-03T02:52:07
Jiawei Zhang, Chejian Xu, Yu Gai, Freddy Lecue, Dawn Song, Bo Li
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces KnowHalu, a novel approach for detecting hallucinations in text generated by large language models (LLMs), utilizing step-wise reasoning, multi-formulation query, multi-form knowledge for factual checking, and fusion-based detection mechanism. As LLMs are increasingly applied across various domains, ensuring that their outputs are not hallucinated is critical. Recognizing the limitations of existing approaches that either rely on the self-consistency check of LLMs or perform post-hoc fact-checking without considering the complexity of queries or the form of knowledge, KnowHalu proposes a two-phase process for hallucination detection. In the first phase, it identifies non-fabrication hallucinations--responses that, while factually correct, are irrelevant or non-specific to the query. The second phase, multi-form based factual checking, contains five key steps: reasoning and query decomposition, knowledge retrieval, knowledge optimization, judgment generation, and judgment aggregation. Our extensive evaluations demonstrate that KnowHalu significantly outperforms SOTA baselines in detecting hallucinations across diverse tasks, e.g., improving by 15.65% in QA tasks and 5.50% in summarization tasks, highlighting its effectiveness and versatility in detecting hallucinations in LLM-generated content.
[ -0.36578041315078735, -1.3594372272491455, 0.8778538107872009, 0.4203757643699646, -0.14112545549869537, -0.13188977539539337, -0.25967028737068176, -0.6658327579498291, 0.46513479948043823, 0.6940373778343201, -0.635623037815094, -0.7535590529441833, -0.457139253616333, 0.3505058288574219, -0.44452863931655884, 0.7885212302207947, 0.024274053052067757, 0.05802216753363609, -0.3159475326538086, -0.11189302057027817, -0.5924375057220459, -0.34877413511276245, -0.4476454257965088, -0.18571795523166656, 0.33686742186546326, 0.36270806193351746, 0.6134653687477112, 0.045330148190259933, 0.2915724515914917, 0.2946566343307495, 0.05389004573225975, 0.6107895970344543, -0.5472900867462158, 0.3997143805027008, 0.27716347575187683, -0.5165291428565979, -0.3844360411167145, -0.33666786551475525, 0.5106034874916077, 0.23390349745750427, -0.25682738423347473, -0.13927559554576874, -0.16057410836219788, 0.6041630506515503, -0.6621448397636414, 0.15938208997249603, -0.5549300312995911, 0.1873062551021576, -0.14118346571922302, -0.39611199498176575, -0.6727460622787476, -0.7404961585998535, -0.2223188728094101, -0.510966956615448, 0.23971274495124817, 0.20532812178134918, 0.5688210129737854, 0.6460624933242798, -0.4243444502353668, -0.4978870153427124, -0.7079671025276184, 0.5995132327079773, -0.695566713809967, 0.7867913842201233, 0.6073518395423889, 0.4891130328178406, -0.30120500922203064, -0.4845808148384094, -1.137452483177185, -0.3145372271537781, -0.2382233440876007, 0.03196379169821739, 0.05499303713440895, 0.013245775364339352, 0.3774815499782562, 0.39403775334358215, -0.8991020321846008, -0.10265029221773148, -0.2148522287607193, -0.5877381563186646, 0.47013571858406067, -0.1802823543548584, 0.5830980539321899, -0.43713828921318054, -0.5454135537147522, 0.10932685434818268, -0.6102167367935181, -0.40634527802467346, 0.33334115147590637, -0.11733739823102951, 0.04630577191710472, 0.5837711691856384, -0.3339991569519043, 0.7496112585067749, -0.10274124145507812, -0.5230416059494019, 0.15936073660850525, -0.3524704873561859, -0.2377651333808899, 0.49609845876693726, 0.6048442125320435, 0.0788227766752243, -0.058359306305646896, -0.2908971309661865, -0.18301403522491455, 0.263439804315567, 0.30638399720191956, -0.5768258571624756, -0.4147343337535858, 0.3485003411769867, -0.48549285531044006, -0.28077033162117004, -0.14099952578544617, -0.8934856057167053, -0.8214040398597717, -0.40580207109451294, 0.7838619351387024, -0.8178358674049377, -0.5026217103004456, 0.2500556707382202, 0.18284708261489868, 0.3877301812171936, 0.3967662453651428, -0.5870226621627808, 0.17538116872310638, 0.488561749458313, 0.6923534870147705, -0.4712967574596405, -0.4305560290813446, -0.7324301600456238, 0.1260814666748047, -0.32235556840896606, 1.2885956764221191, -0.27571508288383484, -0.09401138126850128, 0.03128387778997421, -0.18532830476760864, 0.08482446521520615, -0.5946699976921082, 0.6635594367980957, -0.4749812185764313, 0.29551368951797485, -0.4343767762184143, -0.46413081884384155, -0.6848688721656799, 0.42276278138160706, -0.8198204040527344, 1.0817729234695435, -0.03375014662742615, -0.7955830097198486, 0.5555879473686218, -0.32063165307044983, -0.7283087968826294, 0.26137256622314453, -0.3043537735939026, -0.43845564126968384, -0.05531733110547066, 0.26115310192108154, 0.4613740146160126, 0.07020387798547745, 0.6422974467277527, -0.19181549549102783, -0.332243949174881, 0.0827716588973999, -0.1560826450586319, 0.5938297510147095, 0.14721794426441193, -0.6380077004432678, 0.6020621061325073, -1.0363774299621582, -0.25574323534965515, -0.059138670563697815, -0.15108589828014374, -0.2515107989311218, 0.03283173590898514, -0.01594546064734459, -0.0517248697578907, 0.14879032969474792, -0.3938567638397217, 0.06296650320291519, -0.2207307517528534, -0.07944907248020172, 0.44781848788261414, 0.12974706292152405, -0.03965606540441513, -0.42879176139831543, 0.3323623836040497, 0.15401913225650787, 0.21838386356830597, -0.033571746200323105, -0.47141605615615845, -1.1154654026031494, -0.23302100598812103, -0.17979265749454498, 0.6067659854888916, -0.9799519777297974, 0.7790912389755249, 0.24574309587478638, -0.5384554862976074, -0.290115624666214, 0.08893589675426483, 0.13548192381858826, 0.6426262855529785, 0.5644665956497192, 0.3408888578414917, -0.8304163813591003, -0.713176965713501, -0.16099131107330322, -0.24339717626571655, 0.40808171033859253, -0.06773250550031662, 0.5937655568122864, -0.5043016672134399, 0.5467112064361572, -0.6046127676963806, -0.8315480351448059, -0.2853112518787384, 0.2121652066707611, 0.009814145974814892, 0.14651256799697876, 0.21634280681610107, -0.8403865098953247, -0.07312692701816559, -0.05568312108516693, -1.4842461347579956, -0.060208987444639206, -0.3474702835083008, -0.053996115922927856, 0.6390523314476013, 0.6434630155563354, -0.6206263899803162, 0.3824492394924164, 0.4752553403377533, -0.43838587403297424, 0.8556138277053833, -0.23823533952236176, 0.4340733587741852, -1.0299499034881592, -0.010557715781033039, -0.23979157209396362, -0.22827944159507751, -0.5638759732246399, 0.15762072801589966, -0.04155101627111435, 0.2274172604084015, -0.17263484001159668, 0.04537304863333702, -0.41160014271736145, 0.10213727504014969, -0.3012251555919647, 0.2599661946296692, -0.15114234387874603, 0.5476027131080627, 0.19024336338043213, 0.5578470826148987, 0.6377950310707092, -0.7260150909423828, 0.4991452991962433, 0.21178722381591797, -0.5339616537094116, 0.617444634437561, -0.3444400131702423, 0.13673634827136993, -0.1930672824382782, 0.15715675055980682, -1.1160651445388794, -0.38458818197250366, 0.41733962297439575, -0.27267003059387207, 0.11734940111637115, 0.4131450355052948, -0.7420944571495056, -0.15190571546554565, -0.3327891528606415, 0.37815818190574646, 0.12199539691209793, -0.6596798896789551, 1.060776710510254, 0.3693298101425171, 0.07547508180141449, -0.5207843780517578, -0.4795204997062683, 0.10002882778644562, -0.0587313249707222, -0.7922428846359253, 0.09906988590955734, -0.3744637072086334, -0.23028211295604706, -0.21599504351615906, -0.18006446957588196, -0.045875538140535355, -0.060418084263801575, 0.285467267036438, 0.1694076806306839, -0.20974114537239075, 0.13690190017223358, 0.4174625873565674, 0.02108154259622097, 0.21150362491607666, -0.17607520520687103, 0.6786178350448608, -0.06919324398040771, -0.5265090465545654, -0.6156874299049377, 0.20318163931369781, 0.5230023264884949, 0.055899251252412796, 0.5779932141304016, 0.9445434808731079, -0.8438932299613953, -0.44655197858810425, -1.1554359197616577, -0.4899551272392273, -0.3900456726551056, 0.19971215724945068, -0.5275055170059204, -0.7553519010543823, 0.5401764512062073, 0.04381518438458443, -0.244997039437294, 0.4161614179611206, 0.7894237041473389, 0.25213873386383057, 0.7681834101676941, 0.4930461049079895, 0.17793244123458862, -0.1613093912601471, -0.07316877692937851, 0.6332250833511353, -0.4332391619682312, -0.8569292426109314, -0.2513783574104309, -0.027929475530982018, -0.3719951808452606, -0.37596452236175537, 0.49854254722595215, 0.03758905827999115, 0.32797396183013916, 0.17542441189289093, -0.5332777500152588, 0.377328485250473, 0.35291197896003723, 0.2766047418117523, 0.7857736945152283, -0.14959996938705444, 0.030019856989383698, -0.12363819032907486, -0.3701517581939697, -0.40129247307777405, 0.7599008083343506, 0.012689612805843353, 0.6307670474052429, 0.23342560231685638, 0.7859350442886353, 0.6720925569534302, 0.10907461494207382, -0.9610956311225891, 0.7536083459854126, 0.49677735567092896, -0.48851242661476135, -0.45601844787597656, -0.2849135398864746, -0.6631366014480591, 0.22275479137897491, -0.43273860216140747, -0.43708521127700806, -0.0015193052822723985, -0.03514399752020836, -0.3451978862285614, 0.4585362374782562, -0.58660489320755, 0.6131520867347717, -0.1951521784067154, -0.10356561839580536, -0.43887585401535034, -0.47554582357406616, 0.8982328176498413, -0.28109613060951233, 0.3563786745071411, -0.038795508444309235, 0.323297917842865, 0.8183125853538513, -0.17904146015644073, 0.7538691759109497, -0.08937963843345642, -0.4828122854232788, 0.34599658846855164, 0.422270804643631, 0.3668440878391266, 0.34944623708724976, 0.17265623807907104, 0.24389681220054626, 0.08462441712617874, -0.07027487456798553, -0.49882185459136963, 0.867786705493927, -0.5175348520278931, -0.5846757292747498, -0.5986678600311279, -0.5623729228973389, -0.06591654568910599, 0.4554674029350281, 0.515286386013031, 0.19210973381996155, -0.27961254119873047, -0.01571699045598507, 1.0718411207199097, -0.2984173595905304, 0.018145276233553886, 0.36025470495224, -0.6812035441398621, -0.3388950824737549, 1.11587393283844, -0.07252700626850128, -0.31766918301582336, 0.41204655170440674, 0.236366406083107, -0.4474668502807617, -0.6348592042922974, -0.3372589647769928, 0.5779510140419006, -0.8311970233917236, -0.24906675517559052, -0.9841849207878113, -0.18769825994968414, -0.7950705885887146, 0.2426951378583908, -0.22996285557746887, -0.0031329598277807236, -0.13721783459186554, -0.090362548828125, 0.30435702204704285, 0.9706423282623291, -0.0965924859046936, -0.00464799115434289, -0.45701903104782104, 1.0086106061935425, 0.4351005256175995, 0.1552404910326004, -0.05283433198928833, -0.23385871946811676, 0.1313016265630722, -0.2661524713039398, -0.24310992658138275, -1.0713192224502563, 0.3524073362350464, -0.05742678791284561, 0.5602607727050781, 0.7844151258468628, 0.2769315838813782, 0.45950794219970703, -0.12314343452453613, 0.6916906237602234, 0.10657411068677902, -0.9860305786132812, 0.7833337783813477, -0.022728927433490753, -0.12835116684436798, 0.4578514099121094, 0.5952997803688049, -0.41037818789482117, -0.5172690153121948, -0.22519996762275696, -0.39631643891334534, 0.6066325902938843, 0.26698771119117737, -0.3038754165172577, 0.08761513233184814, 0.1136094480752945, 0.5042105317115784, 0.10635419189929962, -0.8441067934036255, -0.3028597831726074, -0.1804952770471573, -0.07237180322408676, 0.2523007392883301, -0.5401777625083923, -0.16531328856945038, -0.25377270579338074, 0.7072498798370361, -0.10469388216733932, 0.14023549854755402, 0.46122822165489197, -0.5770769715309143, -0.08160127699375153, 0.08652251213788986, 0.8593893647193909, 0.8175044655799866, -0.2936912178993225, 0.4273125231266022, 0.2999597191810608, -0.5828288197517395, -0.014346250332891941, -0.04081746190786362, -0.21023589372634888, 0.1879900097846985, 0.4582051634788513, 0.7768729329109192, 0.22039681673049927, -0.652953565120697, 0.4194221496582031, -0.12550842761993408, -0.4373541474342346, -0.5375869274139404, 0.1018885150551796, -0.12469673901796341, 0.31420668959617615, 0.378220796585083, 0.051454223692417145, 0.4387982487678528, -0.48757949471473694, 0.3039902448654175, 0.2378794401884079, -0.2702006697654724, -0.40329602360725403, 0.7260388731956482, -0.17872917652130127, -0.3087143003940582, 0.536213755607605, -0.4790968596935272, -0.5957944989204407, 0.1665954440832138, 0.6700422167778015, 0.6919175386428833, -0.42611733078956604, 0.3716818690299988, 0.30031073093414307, 0.41750937700271606, -0.1924205720424652, 0.7534087300300598, -0.1935078203678131, -0.87434321641922, -0.3500610589981079, -0.7334412336349487, -0.31107354164123535, 0.5173700451850891, -0.5293483138084412, 0.5186458230018616, -0.31139522790908813, -0.025097696110606194, -0.2066623866558075, -0.16257640719413757, -0.33375388383865356, 0.12622477114200592, 0.31825506687164307, 0.5116348266601562, -0.8743388652801514, 0.7067325115203857, 0.44724804162979126, -0.3635818064212799, -0.5076711773872375, 0.1434449404478073, 0.1939723938703537, -0.7556661367416382, 0.3516077697277069, 0.43107476830482483, -0.43535566329956055, -0.02254161797463894, -0.4344455599784851, -0.548502504825592, 0.8818801045417786, 0.3108810782432556, -0.3764048218727112, -0.1132809966802597, -0.1567106544971466, 0.3971327245235443, 0.07427652180194855, -0.1036311462521553, 0.6764001846313477, 0.8390842080116272, 0.18938764929771423, -0.49650901556015015, 0.40562841296195984, -0.05085897445678711, -0.4902544915676117, 0.07371404767036438, -0.3912474513053894, 0.43077510595321655, -0.48308202624320984, -0.3617057502269745, -0.10871279984712601, 1.1065491437911987, 0.6052293181419373, 0.7587161660194397, 0.5813893675804138, 0.7352476119995117, 1.192546010017395, 0.0773177444934845, 0.7513466477394104, -0.4244629442691803, 0.07297517359256744, 0.8633397221565247, -0.4120548665523529, 0.5823141932487488, 0.4815690517425537, 0.07536228001117706, 0.7915908098220825, 0.3159378468990326, -0.15232494473457336, 0.2549412250518799, -0.008926929906010628, -0.3723807632923126, -0.5066861510276794, -0.15383121371269226, -0.5160102248191833, 0.42365509271621704, 0.3942268192768097, 0.2707374691963196, -0.12836305797100067, 0.3835192918777466, 0.06464041024446487, 0.22561971843242645, 0.20593616366386414, 0.8894087672233582, -0.019980283454060555, -0.9416038990020752, 0.7323279976844788, -0.1882399022579193, 0.7824300527572632, -0.5096027851104736, -0.2173783928155899, -0.26423510909080505, 0.07254257798194885, -0.47542279958724976, -0.4943508207798004, 0.4521365463733673, -0.16791503131389618, -0.07976464927196503, 0.16347093880176544, 0.9730767607688904, -0.4900476336479187, -0.4749338924884796, 0.48169779777526855, 0.5963104367256165, 0.4309893548488617, -0.4976116120815277, -0.20636644959449768, 0.26935771107673645, -0.05526783689856529, -0.07079703360795975, -0.09174544364213943, 0.5961780548095703, -0.03182215243577957, 0.5945060849189758, 0.6885296702384949, 0.17153730988502502, 0.05219579488039017, 0.3859332799911499, 0.5958387851715088, -0.6257357001304626, -0.34513652324676514, -0.8523419499397278, -0.03864845260977745, 0.003436419880017638, -0.08520149439573288, 0.9377784132957458, 0.6886210441589355, 0.7246266007423401, -0.17951887845993042, 0.6732794642448425, 0.024478135630488396, 0.2444772571325302, -0.8040035963058472, 1.0146559476852417, -0.5016078352928162, 0.03598707169294357, -0.10817815363407135, -1.0451446771621704, -0.6011245250701904, 0.7439563870429993, -0.03613822162151337, -0.030702149495482445, 1.171043872833252, 1.0409342050552368, 0.17044904828071594, 0.30834105610847473, 0.5689898133277893, 0.4684026837348938, 0.1542460322380066, 0.3965280055999756, 1.0452386140823364, -0.4727119207382202, 0.4592496156692505, -0.2176273614168167, -0.18066386878490448, -0.3625107705593109, -0.6635439395904541, -1.0354783535003662, -0.8020233511924744, -0.5252751111984253, -0.5190206170082092, -0.2655507028102875, 0.5151801109313965, 0.6010463237762451, -1.1099655628204346, -0.10989691317081451, -0.0023195550311356783, 0.5584139227867126, -0.25688520073890686, -0.25916141271591187, 0.5339750647544861, -0.5596145987510681, -0.4329179525375366, 0.6267611980438232, 0.5415717363357544, -0.18991661071777344, -0.550911545753479, -0.17526771128177643, -0.3870100677013397, -0.01399656105786562, 0.9101299047470093, -0.13961175084114075, -0.9558121562004089, -0.14681294560432434, 0.1513511687517166, -0.06781768053770065, 0.09587382525205612, 0.8315222263336182, -0.9344933032989502, 0.5693663954734802, 0.7524317502975464, 0.3236854374408722, 0.4466586709022522, -0.3332805931568146, 0.04258929193019867, -0.496064692735672, -0.012450726702809334, 0.07134724408388138, 0.40212392807006836, 0.3422461450099945, -0.7222092747688293, 0.332658976316452, 0.5600680112838745, -0.4689827859401703, -0.9665905237197876, 0.14264823496341705, -1.334054946899414, -0.4315448999404907, 1.1479994058609009, 0.33263400197029114, -0.30650004744529724, -0.3906361162662506, -0.4710187315940857, 0.6103365421295166, -0.153204545378685, 1.3248928785324097, 0.6110090017318726, -0.19937588274478912, 0.03591535985469818, -0.39331915974617004, 0.7598569393157959, 0.32055145502090454, -1.169204831123352, -0.024305032566189766, 0.590609610080719, 0.03273438662290573, 0.37553295493125916, 0.5796763300895691, -0.02650177665054798, 0.24008138477802277, -0.09402302652597427, 0.1441522091627121, -0.040564652532339096, -0.6852614283561707, -0.1022324189543724, 0.40820956230163574, -0.09198083728551865, 0.07975083589553833 ]
http://arxiv.org/abs/2404.02408v1
http://arxiv.org/pdf/2404.02408v1
CMULAB: An Open-Source Framework for Training and Deployment of Natural Language Processing Models
2024-04-03T02:21:46
2024-04-03T02:21:46
Zaid Sheikh, Antonios Anastasopoulos, Shruti Rijhwani, Lindia Tjuatja, Robbie Jimerson, Graham Neubig
cs.CL
cs.CL
Effectively using Natural Language Processing (NLP) tools in under-resourced languages requires a thorough understanding of the language itself, familiarity with the latest models and training methodologies, and technical expertise to deploy these models. This could present a significant obstacle for language community members and linguists to use NLP tools. This paper introduces the CMU Linguistic Annotation Backend, an open-source framework that simplifies model deployment and continuous human-in-the-loop fine-tuning of NLP models. CMULAB enables users to leverage the power of multilingual models to quickly adapt and extend existing tools for speech recognition, OCR, translation, and syntactic analysis to new languages, even with limited training data. We describe various tools and APIs that are currently available and how developers can easily add new models/functionality to the framework. Code is available at https://github.com/neulab/cmulab along with a live demo at https://cmulab.dev
[ -0.7062185406684875, -0.7663013339042664, 0.3689507842063904, 0.34178921580314636, -0.2737506628036499, 0.18243807554244995, -0.5372387766838074, -0.4140595495700836, 0.18123093247413635, 0.6652358174324036, -0.5551872253417969, -0.7077333331108093, -0.29487714171409607, 0.0010417777812108397, -0.32116222381591797, 0.9941348433494568, 0.22986619174480438, 0.21255932748317719, -0.09279785305261612, -0.5293976068496704, -0.5417133569717407, -0.7746416330337524, -0.5153871178627014, -0.2868751883506775, 0.7099384665489197, 0.3719886243343353, 0.8644621968269348, 0.5320842862129211, 0.5491456389427185, 0.2056063562631607, -0.010075079277157784, -0.05992912873625755, -0.017620710656046867, -0.11790494620800018, -0.5506030321121216, -0.5631268620491028, -0.5265560746192932, -0.14530576765537262, 0.5712024569511414, 1.0620464086532593, -0.1633167564868927, 0.5475975871086121, 0.0058516510762274265, 0.4359944462776184, -0.8074376583099365, -0.1475628763437271, -0.5368515253067017, -0.19077105820178986, -0.34782877564430237, -0.12625724077224731, -0.35428425669670105, -0.4868989884853363, -0.05757394805550575, -0.5945786237716675, -0.07734036445617676, -0.1901542693376541, 0.4823912978172302, 0.2749263048171997, -0.3414943814277649, -0.1890917271375656, -0.46972590684890747, 0.803997278213501, -0.8514087796211243, 0.6079983115196228, 0.4510130286216736, 0.5104143619537354, -0.31729862093925476, -0.4565925598144531, -0.5492774844169617, -0.26788678765296936, -0.12999171018600464, -0.3676054775714874, 0.12532752752304077, 0.05496304854750633, 0.018239883705973625, 0.3303128480911255, -0.5311360359191895, 0.444950133562088, -0.1979219615459442, -0.07774125784635544, 0.32635700702667236, 0.04087795317173004, 0.34142088890075684, -0.04626839607954025, -0.09678011387586594, 0.18724294006824493, -0.41173669695854187, -0.2649118900299072, 0.5364170074462891, 0.77001953125, -0.4733807444572449, 0.6465944647789001, -0.1404515951871872, 0.6799384355545044, -0.34256717562675476, 0.2429462969303131, 0.3851016163825989, -0.11620324850082397, -0.3607665002346039, -0.14974723756313324, 0.6793799996376038, 0.06693495810031891, 0.05720129981637001, -0.06685993820428848, -0.1034742221236229, 0.33950984477996826, 0.30456387996673584, -0.4671427309513092, -0.19521263241767883, 0.376941978931427, -0.3079611659049988, -0.37172746658325195, -0.27500271797180176, -0.8104249238967896, -0.3293795585632324, -0.5921210050582886, 0.11378028243780136, -0.45152491331100464, -0.5408086776733398, -0.243444561958313, -0.05518155172467232, 0.19039300084114075, 0.20446918904781342, -1.0994718074798584, 0.36967089772224426, 0.8785275816917419, 0.9539593458175659, 0.018424486741423607, -0.2724286913871765, -0.7179352045059204, -0.2784518003463745, -0.23787812888622284, 0.8329770565032959, -0.4982997477054596, -0.21803700923919678, 0.15634313225746155, 0.21785980463027954, -0.2159595787525177, -0.3059823215007782, 0.5947957634925842, -0.3050960898399353, 0.029732653871178627, -0.10283639281988144, -0.3175027072429657, -0.3086118996143341, 0.4446457326412201, -0.6498405933380127, 0.9693652987480164, 0.30541542172431946, -0.6576621532440186, 0.09023778140544891, -1.083883285522461, -0.3292917311191559, 0.2558318078517914, -0.09995418041944504, -0.20316055417060852, 0.14233824610710144, 0.2665903866291046, 0.4482373297214508, -0.23701204359531403, 0.24875229597091675, -0.4441298246383667, -0.14311398565769196, 0.23154978454113007, -0.1303621232509613, 1.2146409749984741, 0.4801495671272278, -0.07458615303039551, 0.370254248380661, -1.0534378290176392, 0.12343009561300278, -0.07269842177629471, -0.6911386847496033, -0.23335088789463043, -0.12297544628381729, 0.622840404510498, 0.24804790318012238, 0.0018077176064252853, -0.5840163230895996, 0.22663775086402893, -0.5910223722457886, 0.4598521292209625, 0.34844639897346497, -0.31337159872055054, 0.6271880865097046, 0.07391279935836792, 0.7502768039703369, -0.13270464539527893, 0.18980853259563446, -0.38214704394340515, -0.4747384488582611, -0.701999306678772, -0.11776912212371826, 0.5476827621459961, 0.6087762117385864, -0.5732393264770508, 0.4408892095088959, 0.00714894849807024, -0.849833607673645, -0.9859587550163269, 0.41267743706703186, 0.29719287157058716, 0.4055314064025879, 0.5514823198318481, -0.15785574913024902, -0.7538754940032959, -0.9128177762031555, -0.06373949348926544, -0.01438627764582634, -0.1645469069480896, -0.15142275393009186, 0.5208830833435059, -0.474282830953598, 0.843316376209259, 0.0072031100280582905, -0.577642023563385, -0.5334290862083435, 0.041902851313352585, 0.0942263975739479, 0.7230504155158997, 0.6363972425460815, -0.7558788657188416, -0.06793247908353806, 0.33101174235343933, -0.6701127290725708, -0.34707486629486084, 0.11863935738801956, -0.1244744211435318, 0.6692582368850708, 0.5651997923851013, -0.42348796129226685, 0.376640260219574, 1.1645667552947998, -0.12451119720935822, 0.5316798686981201, -0.12790653109550476, -0.17255322635173798, -1.160831093788147, 0.6371267437934875, -0.2945827543735504, -0.29288774728775024, -0.5153436660766602, 0.4440128803253174, 0.2142380326986313, -0.24695539474487305, -0.5431385040283203, 0.5409516096115112, -0.30679458379745483, -0.07114236801862717, -0.3703560531139374, 0.41549983620643616, -0.06927240639925003, 0.40032902359962463, 0.005061673931777477, 0.30792757868766785, 0.3083564043045044, -0.602777898311615, 0.30613645911216736, 0.2772001624107361, -0.1545821577310562, 0.7958765625953674, -0.3630400598049164, 0.17099444568157196, 0.11794847249984741, 0.019638709723949432, -0.571991503238678, -0.26294657588005066, 0.2523941099643707, -0.4768075942993164, 0.012991133145987988, -0.6151025891304016, -0.5185868144035339, -0.29569894075393677, -0.01645282842218876, 0.14888833463191986, 0.15245410799980164, -0.6329699158668518, 0.8769241571426392, 0.6190253496170044, -0.008600570261478424, -0.5521037578582764, -1.0544425249099731, 0.17494599521160126, -0.005157941952347755, -0.4657532870769501, -0.015651682391762733, -0.18517571687698364, -0.10836274176836014, -0.05934280902147293, 0.41032227873802185, -0.2249487042427063, 0.5163222551345825, 0.44692811369895935, 0.12031291425228119, -0.5301477909088135, 0.32047006487846375, 0.04282796382904053, -0.2847706377506256, -0.012008384801447392, -0.32798847556114197, 0.6177225112915039, -0.08580400794744492, -0.40297731757164, -0.5191693305969238, 0.29923856258392334, 0.22159668803215027, -0.6663729548454285, 0.6663067936897278, 0.9655794501304626, -0.3878205120563507, -0.19901984930038452, -0.618818461894989, 0.04312063381075859, -0.4240376353263855, 0.24359697103500366, -0.214363232254982, -0.5181497931480408, 0.4123744070529938, -0.11725802719593048, 0.4987831711769104, 0.2948085069656372, 0.7047389149665833, -0.039626121520996094, 0.5811777114868164, 1.151222825050354, -0.13981257379055023, 0.5159042477607727, -0.18284370005130768, -0.09852275997400284, -0.806878387928009, -0.11187304556369781, -0.7487239241600037, -0.24486501514911652, -0.4274202883243561, -0.3555062413215637, -0.2622065842151642, -0.03408785164356232, 0.23629170656204224, 0.5726552605628967, -0.5147049427032471, 0.3987163007259369, 0.7204007506370544, -0.3055191934108734, 0.15489768981933594, -0.3381866216659546, -0.38859668374061584, 0.15330170094966888, -0.6687365770339966, -0.7163519263267517, 1.0802369117736816, 0.37743085622787476, 0.5384485721588135, 0.15374214947223663, 0.5845577120780945, -0.03269749879837036, 0.43168073892593384, -0.7272719740867615, 0.4071609079837799, 0.04657544568181038, -0.870341956615448, -0.04279641807079315, -0.10027041286230087, -0.753058671951294, 0.17085324227809906, -0.5838159322738647, -0.8091593980789185, 0.24814024567604065, 0.45144709944725037, -0.4752783477306366, 0.44911372661590576, -0.8464750647544861, 1.1721051931381226, -0.2080548107624054, -0.1856463998556137, -0.2771100401878357, -0.6143117547035217, 0.12599259614944458, -0.20462742447853088, 0.5937462449073792, -0.3012716770172119, 0.06981918215751648, 0.4657897353172302, -0.506011962890625, 0.8103111386299133, -0.41106387972831726, -0.062354832887649536, 0.231881245970726, 0.13918669521808624, 0.09611700475215912, 0.012326939962804317, -0.23869848251342773, 0.40834054350852966, 0.2379607856273651, -0.311527281999588, -0.3848375976085663, 0.7094266414642334, -0.390578955411911, -0.09784632921218872, -0.20135000348091125, -0.5422728657722473, 0.0780576765537262, 0.21598473191261292, -0.04040875658392906, 0.37011852860450745, -0.42826855182647705, 0.1937146782875061, 0.09681053459644318, -0.5128158926963806, 0.5379696488380432, 0.2977486252784729, -0.6529022455215454, -0.5032210946083069, 0.47527968883514404, 0.008366734720766544, 0.28705137968063354, 0.3180878460407257, 0.024485915899276733, -0.014813516288995743, -0.7354512214660645, -0.5242259502410889, 0.03887617588043213, -0.7471963167190552, -0.15866884589195251, -0.7630648016929626, -0.020207110792398453, -0.409208208322525, -0.31880295276641846, -0.5935372114181519, -0.5852087140083313, -0.2011898010969162, -0.03294645622372627, 0.2882288694381714, 0.5293213725090027, -0.18864068388938904, 0.7966091632843018, -0.5609217882156372, 0.2247900515794754, -0.21387839317321777, 0.4568180441856384, -0.32650405168533325, -0.34300655126571655, -0.6722683310508728, 0.21531209349632263, -0.37089529633522034, -0.47969987988471985, 0.4258141815662384, 0.07915560901165009, 0.46263203024864197, 0.06896401941776276, -0.04573855921626091, 0.4793221056461334, -0.28790125250816345, 0.6488801836967468, -0.007258289493620396, -0.8372712135314941, 0.6836995482444763, -0.43597784638404846, 0.6633272767066956, 0.6913672685623169, 0.34356802701950073, -0.5916845798492432, -0.49766576290130615, -0.24141748249530792, -0.7668623328208923, 0.5808793306350708, 0.07878174632787704, 0.14558733999729156, 0.0030571683309972286, 0.023918980732560158, 0.11016365885734558, 0.14124034345149994, -0.5545229911804199, 0.08639797568321228, -0.22791053354740143, -0.4021202623844147, -0.2776767909526825, -0.12039422243833542, -0.0144623052328825, -0.11134844273328781, 0.770775556564331, -0.48526912927627563, -0.006152032874524593, 0.09777762740850449, -0.6202054023742676, -0.09771762788295746, 0.4751534163951874, 0.36407148838043213, 0.7039918303489685, -0.49182623624801636, -0.061896517872810364, 0.24015063047409058, -0.4281439781188965, -0.22338052093982697, 0.35068488121032715, 0.028786983340978622, 0.2070077657699585, 0.12118859589099884, 0.48685386776924133, 0.5665265321731567, -0.7243497967720032, 0.3878563642501831, -0.11883392184972763, -0.13373537361621857, -0.6483834385871887, -0.05428402125835419, 0.520279049873352, 0.27921798825263977, 0.15276595950126648, 0.22468124330043793, -0.03775307163596153, -0.47166645526885986, -0.060000624507665634, 0.33080148696899414, -0.3673798739910126, -0.413982629776001, 0.7548349499702454, 0.3047221601009369, -0.6367534399032593, 0.5260812044143677, -0.00300044659525156, -0.3339560925960541, 0.24339745938777924, 0.3060545325279236, 0.7248255014419556, -0.2641304135322571, 0.15061232447624207, 0.3592943847179413, 0.5014107823371887, 0.21796220541000366, 0.3856131136417389, 0.0005937475361861289, -0.5018312335014343, -0.41213274002075195, -0.87189781665802, -0.6178305745124817, 0.0032951037865132093, -0.5896479487419128, 0.794904351234436, -0.8091033101081848, -0.5344231724739075, 0.5180507302284241, -0.19611172378063202, -0.7762340903282166, 0.03813261538743973, 0.359759122133255, 1.0530576705932617, -0.470435231924057, 1.1817686557769775, 0.756209671497345, -0.47812333703041077, -0.4435933530330658, -0.6329805254936218, 0.3373091518878937, -0.32668352127075195, 0.4573740065097809, 0.32249394059181213, 0.056680526584386826, 0.0869693011045456, -0.35075971484184265, -0.5664427876472473, 0.7700066566467285, 0.6832197904586792, -0.6138558387756348, -0.004382159095257521, 0.20248042047023773, 0.5665619969367981, -0.41949862241744995, 0.15818439424037933, 0.5031536221504211, 0.3953847885131836, -0.39419203996658325, -1.178322672843933, -0.15568849444389343, -0.09009014815092087, -0.16953487694263458, 0.25458279252052307, -0.1416703313589096, 0.6465139389038086, -0.3930639922618866, -0.13408716022968292, 0.3061002790927887, 0.4060133993625641, 0.06758701801300049, 0.25582951307296753, 0.35184985399246216, 0.5153610110282898, 0.6716113090515137, -0.06435240060091019, 0.8826622366905212, -0.14666356146335602, 0.15089046955108643, 1.5443984270095825, -0.03909336403012276, 1.2507312297821045, 0.6098411083221436, 0.16365990042686462, 0.621023416519165, 0.19677430391311646, -0.21762442588806152, 0.054738178849220276, 0.001842510886490345, -0.03553644195199013, -0.09050117433071136, -0.22328777611255646, -0.13874290883541107, 0.4318409860134125, 0.44455474615097046, -0.4893819987773895, -0.26435035467147827, 0.31594762206077576, 0.10909330099821091, 0.4080432057380676, -0.20871911942958832, 0.6956659555435181, 0.3151547610759735, -0.40408873558044434, 0.7261101603507996, 0.1646110713481903, 0.720360279083252, -0.6682717204093933, 0.13585442304611206, -0.034400422126054764, 0.409148633480072, -0.5020348429679871, -0.5211138129234314, 0.6968426704406738, -0.013099795207381248, 0.090671107172966, 0.05969654396176338, 0.48982295393943787, -0.2986767292022705, -0.44972920417785645, 0.640008270740509, 0.332191526889801, 0.13867342472076416, -0.2595776319503784, -0.635985255241394, 0.3055418133735657, -0.2012551724910736, -0.0998278260231018, 0.18286782503128052, 0.22202889621257782, -0.02796306647360325, 0.8056733012199402, 1.010803461074829, 0.12442543357610703, 0.24283640086650848, 0.32094550132751465, 0.8008140325546265, -0.6765782237052917, -0.4607464373111725, -0.9528637528419495, 0.7399387955665588, 0.0581846609711647, -0.3027673065662384, 0.6145088076591492, 0.5523861050605774, 1.0009698867797852, 0.00442578736692667, 0.7290289998054504, -0.20516279339790344, 0.5639335513114929, -0.31426289677619934, 0.9567705988883972, -0.3108581602573395, 0.15507856011390686, -0.38319987058639526, -0.927778959274292, -0.729619026184082, 0.4231385588645935, -0.2181364744901657, -0.3361104130744934, 0.5676775574684143, 0.7764968276023865, -0.2779052257537842, 0.11770324409008026, 0.3944198191165924, 0.08635888993740082, 0.3562087416648865, 0.22854505479335785, 0.5831154584884644, -0.3016569912433624, 0.5624170899391174, -0.4890177547931671, -0.07320769876241684, -0.37842419743537903, -0.9401921629905701, -1.2100245952606201, -0.4976269006729126, -0.22786982357501984, -0.04311124607920647, 0.13105401396751404, 1.4109463691711426, 0.982146680355072, -0.8974544405937195, -0.39587464928627014, -0.026872655376791954, -0.033843833953142166, -0.09707897156476974, -0.1995498389005661, -0.006241511087864637, -0.6399773359298706, -0.5320231318473816, 0.5329734086990356, 0.10905736684799194, 0.08529451489448547, -0.43072476983070374, 0.12007414549589157, -0.827713668346405, -0.18066643178462982, 0.6012758612632751, 0.4924968481063843, -0.6446437835693359, -0.01281803660094738, -0.41335031390190125, 0.07360105216503143, 0.05257948860526085, 0.6451516151428223, -0.9212494492530823, 0.3569593131542206, 0.18050368130207062, 0.8441588878631592, 0.042666610330343246, -0.2417253851890564, 0.7760187983512878, -0.7895902991294861, 0.6247602105140686, 0.10419515520334244, 0.41976726055145264, 0.707374632358551, -0.11354535818099976, 0.6523208022117615, 0.06441010534763336, -0.48686933517456055, -1.112284541130066, 0.038336705416440964, -0.9994086027145386, -0.16289202868938446, 0.8861746788024902, -0.12574656307697296, -0.41786807775497437, -0.3327528238296509, -0.40655049681663513, 0.34306809306144714, -0.29542940855026245, 0.32402336597442627, 0.3987358510494232, 0.5665281414985657, -0.1285807341337204, -0.9737822413444519, 0.2872813045978546, 0.09064871817827225, -0.8350889682769775, 0.4695671498775482, 0.302857369184494, 0.4731535017490387, 0.36058172583580017, 0.4717523753643036, -0.06452913582324982, 0.2641447186470032, -0.06581120938062668, 0.49167731404304504, -0.2315617799758911, -0.09690937399864197, -0.6534268856048584, 0.06370840221643448, 0.17823654413223267, -0.14126838743686676 ]
http://arxiv.org/abs/2404.02406v1
http://arxiv.org/pdf/2404.02406v1
Exploring Backdoor Vulnerabilities of Chat Models
2024-04-03T02:16:53
2024-04-03T02:16:53
Yunzhuo Hao, Wenkai Yang, Yankai Lin
cs.CR
cs.CR, cs.AI, cs.CL
Recent researches have shown that Large Language Models (LLMs) are susceptible to a security threat known as Backdoor Attack. The backdoored model will behave well in normal cases but exhibit malicious behaviours on inputs inserted with a specific backdoor trigger. Current backdoor studies on LLMs predominantly focus on instruction-tuned LLMs, while neglecting another realistic scenario where LLMs are fine-tuned on multi-turn conversational data to be chat models. Chat models are extensively adopted across various real-world scenarios, thus the security of chat models deserves increasing attention. Unfortunately, we point out that the flexible multi-turn interaction format instead increases the flexibility of trigger designs and amplifies the vulnerability of chat models to backdoor attacks. In this work, we reveal and achieve a novel backdoor attacking method on chat models by distributing multiple trigger scenarios across user inputs in different rounds, and making the backdoor be triggered only when all trigger scenarios have appeared in the historical conversations. Experimental results demonstrate that our method can achieve high attack success rates (e.g., over 90% ASR on Vicuna-7B) while successfully maintaining the normal capabilities of chat models on providing helpful responses to benign user requests. Also, the backdoor can not be easily removed by the downstream re-alignment, highlighting the importance of continued research and attention to the security concerns of chat models. Warning: This paper may contain toxic content.
[ -0.036578960716724396, -0.9482805132865906, 0.4044409990310669, 0.19460171461105347, -0.08274800330400467, -0.043633487075567245, -0.09684403985738754, -0.37192705273628235, -0.06846338510513306, 0.8460463881492615, -0.7879658341407776, -0.6997153759002686, -0.5464780926704407, -0.30366623401641846, -0.5958335995674133, 0.7671979069709778, 0.38239243626594543, -0.14605054259300232, 0.21324948966503143, -0.18574029207229614, -0.6940324902534485, -0.898980438709259, -0.41326332092285156, -0.020007280632853508, 0.7041732668876648, 0.19931215047836304, 0.8341560363769531, -0.02322390303015709, 0.45716050267219543, 0.3303695321083069, 0.02637048438191414, -0.2337574064731598, -0.7943618893623352, 0.49101191759109497, 0.0022423076443374157, -0.5995619297027588, -0.5685372948646545, -0.10761135816574097, 0.5086014270782471, 0.06718625128269196, -0.30982691049575806, 0.13461068272590637, 0.0019980662036687136, 0.35128557682037354, -0.7724032998085022, -0.17547471821308136, -1.0157324075698853, -0.11442706733942032, -0.24687334895133972, -0.15835021436214447, -0.8054001927375793, -0.11911378055810928, -0.3526619076728821, -0.05597490817308426, -0.06599895656108856, -0.09221914410591125, 0.5622149705886841, -0.07650000602006912, -0.29397428035736084, -0.24789288640022278, -0.6815100312232971, 0.5166985988616943, -1.044427752494812, 0.5910976529121399, 0.03281569480895996, 0.6542934775352478, -0.5963836312294006, -0.34327375888824463, -0.7445465922355652, -0.3090446889400482, -0.12832142412662506, -0.1537659615278244, -0.3427388370037079, -0.20149919390678406, 0.1474669873714447, 0.13548344373703003, -0.595772922039032, 0.481000155210495, -0.2213364690542221, -0.18900667130947113, 0.7309527397155762, 0.43582674860954285, 0.4030894637107849, -0.07056590914726257, -0.36110296845436096, -0.21054938435554504, -0.8952383995056152, 0.11034586280584335, 0.757061243057251, 0.6567157506942749, -0.35419732332229614, 0.7014147043228149, -0.015351812355220318, 0.5118715763092041, -0.0467219278216362, -0.032648712396621704, 0.02968786284327507, -0.24529261887073517, 0.013754172250628471, -0.24465903639793396, 1.0683789253234863, 0.2775198221206665, -0.0642537772655487, 0.06185232102870941, -0.1834164410829544, -0.1846400499343872, 0.45416373014450073, -0.7865433692932129, 0.08243508636951447, 0.541972279548645, -0.3929884433746338, -0.6368365287780762, -0.1555725783109665, -0.9818125367164612, -0.39398065209388733, 0.6868604421615601, 0.5284359455108643, -0.4161360561847687, -0.28850799798965454, -0.031244978308677673, 0.12591692805290222, 0.5930742621421814, 0.23844359815120697, -0.8428136110305786, 0.18003642559051514, 0.868962824344635, 0.8305968046188354, 0.04033239185810089, -0.2942190170288086, -0.5916827321052551, 0.26756051182746887, -0.1453913003206253, 0.5642415285110474, -0.6853232979774475, -0.5831271409988403, 0.13349583745002747, -0.1503869593143463, 0.030334001407027245, -0.1309308409690857, 0.09791829437017441, -0.8853286504745483, 0.40759921073913574, 0.2846718728542328, -0.27267131209373474, -0.22662204504013062, 0.6147077679634094, -0.59792560338974, 0.7618734836578369, -0.43607375025749207, -0.6781999468803406, -0.13281604647636414, -0.5214347243309021, -0.4179511070251465, -0.19237081706523895, -0.2592374384403229, -0.6355600357055664, 0.08122772723436356, 0.2377404123544693, 0.4533899426460266, 0.05143504962325096, -0.057935930788517, -0.6884247064590454, -0.11018571257591248, 0.7385706305503845, -0.7584654688835144, 0.7766638398170471, -0.03457450866699219, -0.13807964324951172, 0.40527066588401794, -0.6362891793251038, -0.1153777688741684, 0.1731143742799759, -0.11525758355855942, -0.22327448427677155, -0.1660253405570984, -0.1914113312959671, 0.3489864766597748, 0.14167222380638123, -0.656591534614563, 0.46183785796165466, -0.5424558520317078, 0.10797379910945892, 0.6484659910202026, 0.1824420988559723, 0.21946321427822113, -0.28384697437286377, 0.5490880012512207, 0.05449064075946808, 0.42079395055770874, -0.40963584184646606, -0.7221782803535461, -0.24252578616142273, -0.38087108731269836, 0.14399825036525726, 0.6639224290847778, -0.49029526114463806, 0.3735203444957733, 0.1447388082742691, -0.7879324555397034, -0.39867690205574036, -0.08219294995069504, 0.5147411823272705, 0.1450430154800415, -0.00009450676589040086, -0.23969343304634094, -0.10903039574623108, -0.7083788514137268, -0.4705196022987366, -0.12805920839309692, -0.2987755537033081, 0.4268306791782379, 0.4247334599494934, -0.4013035297393799, 0.7100620865821838, -0.656267523765564, -0.18973404169082642, -0.11652044951915741, -0.10172496736049652, 0.12411761283874512, 0.5080066919326782, 0.5849615931510925, -0.614277720451355, -0.2025630623102188, -0.2096019983291626, -0.5354303121566772, 0.02106521837413311, -0.23033897578716278, -0.24245263636112213, 0.22624439001083374, 0.38982468843460083, -0.6340399980545044, 0.8864617347717285, 0.8879588842391968, -0.24972866475582123, 0.46729356050491333, -0.009509453549981117, 0.035266708582639694, -1.1251397132873535, -0.19376713037490845, -0.22996556758880615, -0.07078356295824051, -0.8541409373283386, 0.2618965804576874, 0.20386096835136414, -0.526866614818573, -0.674091100692749, 0.6093908548355103, -0.30758875608444214, -0.10270242393016815, -0.1756187379360199, -0.0539524145424366, -0.24876928329467773, 0.7548568844795227, -0.30903783440589905, 0.40965861082077026, 0.4191637635231018, -0.34791648387908936, 0.5321377515792847, 0.3552776277065277, 0.17776180803775787, 0.24678325653076172, -0.5760628581047058, 0.5782541036605835, 0.2832316756248474, 0.550931453704834, -1.3549935817718506, -0.10661900788545609, 0.6772989630699158, -0.8010551929473877, 0.48069512844085693, -0.19446110725402832, -0.38182175159454346, 0.03433782979846001, -0.5312976837158203, 0.19240844249725342, 0.21060509979724884, -0.4715428650379181, 1.0437430143356323, 0.2866901159286499, -0.12703092396259308, -0.437676340341568, -0.4830353558063507, 0.18504299223423004, -0.37830767035484314, -1.0144460201263428, 0.022737855091691017, -0.05684184283018112, -0.06327603757381439, -0.4715927541255951, -0.038812726736068726, -0.012685324065387249, 0.21965272724628448, 0.5004872679710388, 0.23323865234851837, -0.20476984977722168, -0.17209012806415558, -0.1077725812792778, -0.019561031833291054, -0.038441482931375504, 0.05949554219841957, 0.8004418015480042, 0.009277216158807278, -0.7287304997444153, -0.6640975475311279, 0.7787967324256897, 0.7197854518890381, -0.18547536432743073, 1.0980911254882812, 0.3180640637874603, -0.34882017970085144, -0.026823632419109344, -0.7127703428268433, -0.6128480434417725, -0.553679347038269, 0.42469093203544617, -0.5672246217727661, -0.7725407481193542, 0.8528404235839844, 0.26048049330711365, 0.5773226618766785, 0.04821110516786575, 0.8878039717674255, 0.10456421971321106, 1.073086142539978, 0.7417542934417725, 0.005005622282624245, 0.510596513748169, 0.06664437800645828, 0.28949645161628723, -0.6396040916442871, -0.3438899517059326, -0.5304738283157349, -0.14990374445915222, -0.7601022720336914, -0.10341325402259827, 0.2146887481212616, -0.23146285116672516, 0.09357341378927231, 0.30103135108947754, 0.004031687043607235, 0.14119338989257812, 0.2676844596862793, 0.2855737805366516, 0.41910335421562195, -0.42265668511390686, -0.02651369571685791, 0.20060701668262482, -0.6947035193443298, -0.46596696972846985, 1.1263641119003296, 0.6668797135353088, 1.2218502759933472, 0.6329291462898254, 0.7502762079238892, -0.03612712025642395, 0.35107922554016113, -0.5647088885307312, 0.5445562601089478, 0.14070278406143188, -0.8519341945648193, -0.5027547478675842, -0.26663172245025635, -0.9406560063362122, 0.4291222393512726, -0.31405940651893616, -0.9607300162315369, 0.09643499553203583, 0.1351015716791153, -0.592373251914978, 0.38134121894836426, -0.810265064239502, 0.8350881934165955, -0.28517669439315796, -0.24230040609836578, -0.16463175415992737, -0.7768279314041138, 0.6408930420875549, -0.20319417119026184, 0.39410120248794556, -0.13088999688625336, 0.16414710879325867, 0.3722611367702484, -0.4528869390487671, 1.2540289163589478, -0.002861184999346733, -0.47530636191368103, -0.1763310730457306, 0.4541245996952057, 0.636350154876709, 0.3438046872615814, 0.1581725776195526, 0.44373565912246704, -0.13873718678951263, -0.34886860847473145, -0.7753363847732544, 0.5920423865318298, -0.5946676731109619, -1.1147496700286865, -0.38066408038139343, -0.5298296213150024, -0.3284982740879059, 0.07290474325418472, 0.20390020310878754, 0.4423842430114746, 0.011278976686298847, 0.1677129566669464, 0.33879145979881287, -0.6093322038650513, 0.3590888977050781, 0.7181395888328552, -0.2867790162563324, -0.058590587228536606, 0.5299996137619019, -0.25800612568855286, 0.6433764696121216, 0.2574833035469055, 0.26984795928001404, -0.011520911008119583, -0.4943409860134125, -0.2912004590034485, 0.1453147679567337, -0.44000449776649475, -0.32612472772598267, -0.6661148071289062, -0.46191227436065674, -0.6678431034088135, 0.014256613329052925, -0.7035222053527832, -0.14154547452926636, -0.03996001556515694, 0.12627167999744415, 0.4984945058822632, 0.43673956394195557, -0.0018850305350497365, 0.55766761302948, -1.1377828121185303, 0.33158519864082336, 0.5014950633049011, 0.38079795241355896, 0.10583300143480301, -0.5662279725074768, 0.04942711070179939, 0.10071934759616852, -0.33811864256858826, -1.2668342590332031, 0.5494428277015686, -0.0535971000790596, 0.6214932799339294, 0.27058330178260803, 0.0925174206495285, 0.35299837589263916, -0.6699249744415283, 0.6526226997375488, 0.1516091376543045, -0.5952854752540588, 0.4548770487308502, -0.4442122280597687, 0.22303557395935059, 0.1870533972978592, 0.276710569858551, -0.6645894050598145, -0.7597541213035583, -0.6734625697135925, -0.8657692670822144, 0.52961266040802, 0.2912302613258362, 0.5046061277389526, 0.3946562111377716, 0.10192795097827911, 0.31984448432922363, 0.17987459897994995, -0.5497883558273315, -0.21328243613243103, -0.1500057429075241, 0.028889713808894157, 0.27596515417099, -0.34721681475639343, -0.14323265850543976, 0.29084986448287964, 0.5473292469978333, 0.22533933818340302, 0.11385942250490189, -0.2777644395828247, -0.11651024967432022, 0.10078783333301544, 0.5216753482818604, 0.7023215293884277, 0.3186117112636566, -0.1574748307466507, -0.1556316614151001, 0.27628007531166077, -0.5777202844619751, -0.051990147680044174, -0.058981236070394516, 0.08519279211759567, -0.21392840147018433, 0.3626651465892792, 0.5612777471542358, 0.43497416377067566, -0.3503955006599426, 0.5690980553627014, -0.46926090121269226, 0.20188064873218536, -0.31834137439727783, 0.06477821618318558, 0.06017831340432167, 0.533301830291748, 0.4413648843765259, -0.16065797209739685, -0.18939544260501862, -0.8361640572547913, 0.24363437294960022, 0.587989330291748, -0.2595292031764984, -0.4203340709209442, 0.24554939568042755, 0.3970196843147278, -0.8171274662017822, 0.6114142537117004, 0.2559988796710968, -0.886306643486023, 0.1348903775215149, 0.5599668025970459, 0.8399431705474854, -0.503604531288147, -0.30575692653656006, -0.08802115172147751, 0.37908124923706055, 0.3385339081287384, 0.11774874478578568, 0.16126041114330292, -1.0198132991790771, -0.08278294652700424, -0.3262331783771515, -0.6578254699707031, 0.30451029539108276, -0.47524112462997437, 0.4330708980560303, -0.46026474237442017, -0.09800072014331818, -0.06444137543439865, -0.4463488757610321, -0.3162616491317749, -0.2714514136314392, 0.3305951952934265, 0.7206956744194031, -0.8523857593536377, 0.7330954074859619, 0.09542223066091537, -0.12945418059825897, -0.7510594129562378, 0.16172224283218384, 0.39277929067611694, -0.8272384405136108, 0.45424923300743103, 0.07090125977993011, -0.20704227685928345, -0.2680380940437317, -0.6216810345649719, -0.6437113285064697, 0.5893250703811646, 0.11327055096626282, -0.6273881196975708, -0.19759199023246765, -0.1076284795999527, 0.2736929953098297, -0.3126956820487976, 0.11063582450151443, 0.4309064745903015, 0.20511645078659058, 0.43958616256713867, -0.9421358108520508, 0.1268385946750641, -0.3200056254863739, -0.1356918215751648, 0.14153596758842468, -0.7789102792739868, 0.7701016664505005, -0.17582054436206818, -0.21688556671142578, -0.00695750443264842, 0.7221810817718506, 0.8184136748313904, 0.30027464032173157, 0.42588403820991516, 0.24908143281936646, 0.2994553744792938, 0.1528509557247162, 0.7458958625793457, -0.12780693173408508, 0.10913683474063873, 1.1730424165725708, -0.5059837102890015, 1.0102488994598389, 0.4503193795681, 0.03313026204705238, 0.4094407260417938, 0.36039477586746216, -0.026741748675704002, 0.3657108247280121, 0.22459201514720917, -0.07664713263511658, -0.03613336384296417, 0.5351623296737671, -0.4672591984272003, 0.7848673462867737, 0.6185254454612732, 0.07201467454433441, -0.13786423206329346, 0.2752074599266052, 0.3417448401451111, 0.002471794141456485, -0.08184857666492462, 0.8109418749809265, 0.07006443291902542, -0.23566611111164093, 0.2937621474266052, 0.06031760945916176, 0.9758477807044983, -0.687494695186615, 0.024856416508555412, -0.22779889404773712, 0.2748780846595764, -0.1631697714328766, -0.6917691230773926, 0.3778333067893982, 0.04150547459721565, 0.30041512846946716, 0.03313141688704491, 0.6835484504699707, -0.29648080468177795, -0.4512993097305298, 0.25936099886894226, 0.23644396662712097, -0.02960282936692238, -0.25134792923927307, -0.4396481513977051, 0.43835771083831787, -0.1125994324684143, -0.5549600124359131, 0.3859143853187561, 0.47501879930496216, -0.14445218443870544, 0.8087306618690491, 0.8194306492805481, 0.022627050057053566, 0.2071264684200287, 0.06349330395460129, 1.0810678005218506, -0.7733935117721558, -0.713172435760498, -1.1236732006072998, 0.54157555103302, -0.09578631073236465, -0.12169677764177322, 1.0583664178848267, 0.40267565846443176, 0.5799999237060547, 0.23889636993408203, 0.4861810803413391, 0.3314541280269623, 0.4338413178920746, -0.5317187905311584, 1.028052568435669, -0.21019913256168365, 0.6851245164871216, -0.3738139569759369, -0.346293568611145, -0.374812513589859, 0.0741853192448616, -0.33781126141548157, 0.11190465837717056, 0.38918831944465637, 1.109113097190857, 0.14749804139137268, 0.1311526745557785, 0.51902174949646, 0.37713101506233215, 0.7206880450248718, 0.47954076528549194, 1.0713794231414795, -0.28921982645988464, 0.8159646391868591, -0.046556372195482254, -0.28348347544670105, -0.5383758544921875, -0.7557204961776733, -1.2448786497116089, -0.3931608200073242, -0.12494170665740967, -0.5416211485862732, 0.2590090036392212, 0.5031499862670898, 0.5237406492233276, -0.8484224677085876, -0.21444763243198395, 0.6566047668457031, 0.15875114500522614, 0.019856378436088562, -0.17587865889072418, 0.08376709371805191, 0.0016372131649404764, -0.29831311106681824, 0.33919283747673035, 0.3192920684814453, 0.0026775470469146967, -0.49402061104774475, 0.2855342924594879, -0.42721113562583923, 0.11947629600763321, 0.3445139527320862, 0.38446566462516785, -0.6607985496520996, -0.5364776253700256, 0.043874066323041916, -0.2734966278076172, -0.007974805310368538, 0.6965855360031128, -0.604002833366394, 0.15913912653923035, 0.48224425315856934, 0.452126681804657, 0.621264636516571, -0.1380525827407837, 0.9709314703941345, -0.9949544668197632, 0.47888126969337463, 0.2617111802101135, 0.15416602790355682, 0.2245485633611679, -0.6734176874160767, -0.069553904235363, -0.05024559050798416, -0.17375154793262482, -0.9365228414535522, 0.43493887782096863, -0.7976962924003601, -0.43468981981277466, 1.214453935623169, -0.07951346039772034, -0.39008986949920654, -0.08678212761878967, -0.1902119368314743, 0.2647981345653534, -0.5956336259841919, 0.9987121224403381, 0.5403233766555786, 0.02560027502477169, -0.13157837092876434, -0.49697205424308777, 0.1958259493112564, -0.0352044403553009, -0.6680113077163696, 0.3096064031124115, 0.2913161814212799, 0.281430184841156, 0.1721663922071457, 0.23592768609523773, -0.3923695683479309, 0.24144873023033142, 0.046598274260759354, -0.07180427759885788, -0.11631157994270325, -0.26890167593955994, -0.6097214221954346, 0.36364856362342834, -0.16989780962467194, -0.366004079580307 ]
http://arxiv.org/abs/2404.02934v1
http://arxiv.org/pdf/2404.02934v1
GreedLlama: Performance of Financial Value-Aligned Large Language Models in Moral Reasoning
2024-04-03T02:16:37
2024-04-03T02:16:37
Jeffy Yu, Maximilian Huber, Kevin Tang
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
This paper investigates the ethical implications of aligning Large Language Models (LLMs) with financial optimization, through the case study of GreedLlama, a model fine-tuned to prioritize economically beneficial outcomes. By comparing GreedLlama's performance in moral reasoning tasks to a base Llama2 model, our results highlight a concerning trend: GreedLlama demonstrates a marked preference for profit over ethical considerations, making morally appropriate decisions at significantly lower rates than the base model in scenarios of both low and high moral ambiguity. In low ambiguity situations, GreedLlama's ethical decisions decreased to 54.4%, compared to the base model's 86.9%, while in high ambiguity contexts, the rate was 47.4% against the base model's 65.1%. These findings emphasize the risks of single-dimensional value alignment in LLMs, underscoring the need for integrating broader ethical values into AI development to ensure decisions are not solely driven by financial incentives. The study calls for a balanced approach to LLM deployment, advocating for the incorporation of ethical considerations in models intended for business applications, particularly in light of the absence of regulatory oversight.
[ 0.2025519758462906, -0.42487552762031555, 0.7919178009033203, 0.3276790678501129, -0.31371501088142395, -0.054326992481946945, -0.23341405391693115, -0.7258598804473877, 0.029934721067547798, 0.8658396601676941, -0.2874276638031006, -0.2756800055503845, -0.6185256838798523, -0.3462899625301361, -0.05396623909473419, 0.9813769459724426, 0.22289422154426575, 0.3701372444629669, -0.35494476556777954, -0.2813131511211395, -0.3157675266265869, -0.44640153646469116, -1.1617944240570068, -0.47407835721969604, 0.3628162741661072, 0.28780075907707214, 1.1391663551330566, 0.9838002920150757, 0.6736000180244446, 0.33468300104141235, -0.18567484617233276, -0.11336742341518402, -0.9026354551315308, 0.05780695006251335, -0.40415704250335693, -0.3965393006801605, -0.6683761477470398, 0.3639775514602661, 0.18014344573020935, 0.3446720838546753, -0.46726521849632263, 0.5648795962333679, -0.0792553499341011, 0.7500477433204651, -0.8624312877655029, -0.09493409097194672, -0.566856861114502, -0.15311846137046814, -0.014571473002433777, -0.397846519947052, -0.47484642267227173, -0.8512528538703918, 0.3295922875404358, -0.5894027352333069, -0.7709702253341675, 0.15792697668075562, 0.8548928499221802, 0.749534010887146, -0.33854949474334717, -0.6635693311691284, -0.43800070881843567, 1.391973614692688, -0.7073463201522827, 0.024051858112215996, 0.44344958662986755, 0.07559563964605331, 0.03773241117596626, -0.38378527760505676, -0.3143382668495178, -0.10158959776163101, 0.2087496668100357, 0.20889155566692352, -0.22726427018642426, 0.1235233023762703, 0.0672580897808075, 0.37112751603126526, -0.09352307766675949, 0.7097223997116089, -0.5147093534469604, -0.13551774621009827, 0.9189081788063049, 0.39370349049568176, 0.120660200715065, -0.01626182533800602, -0.6120164394378662, -0.23701126873493195, -0.7798953056335449, 0.4352061152458191, 0.9274476170539856, 0.36836427450180054, -0.2472086101770401, 0.6354755759239197, 0.4949405789375305, 0.6120200753211975, -0.1274515986442566, -0.518551766872406, 0.06978979706764221, -0.17603808641433716, -0.5426820516586304, 0.512018620967865, 0.4254530668258667, 0.7743777632713318, 0.5979592800140381, 0.46061375737190247, -0.0996020957827568, 0.12960129976272583, 0.60232013463974, -0.6598682403564453, 0.33915868401527405, 0.3858117461204529, -0.8860482573509216, -0.8026524186134338, -0.2186245322227478, -0.8443194031715393, -0.6963879466056824, -0.4037538468837738, 0.21948087215423584, -0.05743642523884773, 0.07854821532964706, 0.6519008278846741, 0.09627625346183777, 0.5284673571586609, 0.45204687118530273, -0.8343759179115295, 0.046144649386405945, 0.9025566577911377, 0.48180484771728516, 0.21602270007133484, -0.04337969049811363, -0.7057097554206848, 0.38784947991371155, -0.5576396584510803, 0.36505261063575745, -0.6150240898132324, -0.30052146315574646, -0.06017182022333145, -0.5523252487182617, 0.10833172500133514, -0.5841086506843567, 0.8859796524047852, -0.4796346127986908, 0.015250288881361485, -0.49631357192993164, -0.5140437483787537, -0.577802836894989, -0.010181338526308537, -0.5008339881896973, 0.3714291453361511, -0.009595413692295551, -0.4874219298362732, 0.5410558581352234, -0.7675735950469971, -0.26702532172203064, 0.05768566578626633, -0.1919749528169632, -0.42290428280830383, -0.022249426692724228, -0.4277939796447754, 0.3166806101799011, -0.8444949388504028, 0.5400665998458862, -0.5354313850402832, -0.4076036214828491, 0.26618093252182007, -0.45603424310684204, 1.0942939519882202, 0.31080693006515503, -0.602940022945404, 0.030268214643001556, -0.4206988215446472, 0.24312497675418854, 0.3330105245113373, -0.29033783078193665, -0.6594468355178833, 0.3763061761856079, 0.07105277478694916, 0.2671735882759094, 0.5901510715484619, -0.035205841064453125, 0.09728165715932846, -0.44491109251976013, 0.35811564326286316, 1.3332548141479492, -0.3852877914905548, 0.3394274413585663, -0.4906617999076843, 0.7122902274131775, -0.33409383893013, 0.5488678812980652, 0.4468074440956116, -0.4299241900444031, -0.8468909859657288, -0.3089529275894165, -0.13465379178524017, 0.6676928400993347, 0.44113510847091675, 0.23156028985977173, 0.0233928170055151, -0.27196741104125977, -0.7622160315513611, 0.16757382452487946, 0.30445992946624756, 0.44992655515670776, 0.26611000299453735, 0.014694711193442345, -0.4485412538051605, -1.3194533586502075, -0.35734447836875916, -0.5042862892150879, 0.5512612462043762, 0.6120168566703796, 0.2135043442249298, -0.3949509263038635, 0.5983313918113708, -0.34454545378685, -0.26917925477027893, -0.008764212019741535, -0.14357972145080566, 0.46573054790496826, 0.5080294013023376, 0.6870330572128296, -0.8669933080673218, -0.07804357260465622, 0.0463540218770504, -0.5604304671287537, -0.1991201788187027, -0.2342911809682846, -0.2072170376777649, 0.33009886741638184, 0.19971856474876404, -0.2711774408817291, 0.4307836890220642, 0.6345964670181274, -0.31350111961364746, 0.2675085663795471, -0.044494446367025375, 0.1041300818324089, -1.083896517753601, 0.21789228916168213, -0.045342594385147095, 0.010416368022561073, -0.27681317925453186, 0.09914824366569519, -0.14929091930389404, 0.23590245842933655, -0.3734532296657562, 0.45732569694519043, -0.048063501715660095, -0.4013466238975525, -0.2693639099597931, 0.30492645502090454, -0.13487565517425537, -0.03133255988359451, -0.208670973777771, 1.1274991035461426, 0.5678131580352783, -0.5223383903503418, 0.4203762710094452, 0.18653789162635803, -0.2824806869029999, 0.583149790763855, -0.7237119674682617, -0.21314972639083862, 0.09079219400882721, -0.10240312665700912, -0.38441455364227295, 0.03454763814806938, 0.13478510081768036, -0.12403368204832077, -0.12609827518463135, -0.023819440975785255, -0.3376784324645996, -0.10001339763402939, -0.45267507433891296, 0.5838012099266052, 0.6706282496452332, -0.4676133096218109, 0.5650305151939392, 0.6384678483009338, -0.051758263260126114, -0.9963279962539673, -0.5893215537071228, 0.004741176962852478, -0.8356159329414368, -0.9786657691001892, -0.016339944675564766, 0.04741422459483147, -0.7271390557289124, -0.13059477508068085, -0.0534127801656723, 0.3251502513885498, 0.44910717010498047, 0.2153889238834381, 0.44244620203971863, -0.3231141269207001, -0.04074522480368614, -0.0637274906039238, -0.23256047070026398, 0.2273244708776474, -0.5264101028442383, 0.4688394367694855, -0.5016767978668213, -0.14137552678585052, -0.2887192964553833, 0.07191994786262512, 0.7356866002082825, -0.2880454361438751, 0.8067085146903992, 0.02683718502521515, -0.286479651927948, -0.02397843822836876, -0.6945057511329651, 0.3505270183086395, -0.5938073396682739, -0.08860062807798386, 0.2389838695526123, -1.0129808187484741, 0.6225563883781433, 0.05682140216231346, 0.06618855148553848, 0.694146454334259, 0.7239223122596741, -0.1093912422657013, 0.9304398894309998, 0.8166574835777283, -0.20363393425941467, 0.06928054988384247, -0.26726534962654114, 0.6456025242805481, -0.7097678184509277, -0.35255345702171326, -0.47833511233329773, -0.3681199848651886, -0.8211232423782349, -0.44369885325431824, 0.3010726273059845, 0.16981704533100128, -0.5399392247200012, 0.05929561331868172, -0.40251973271369934, 0.6321288347244263, 0.4786399304866791, -0.29422664642333984, 0.3716665804386139, -0.20076468586921692, -0.017107099294662476, 0.015499308705329895, -0.44557127356529236, -1.0404878854751587, 1.039428472518921, 0.42789673805236816, 1.0066936016082764, 0.4587254524230957, 0.5315437912940979, 0.1274416446685791, 0.18457801640033722, -0.8973180055618286, 0.5194178223609924, -0.3340526819229126, -0.4520680010318756, -0.25628596544265747, -0.45290717482566833, -0.9008089900016785, -0.05882686749100685, 0.08533427864313126, -0.9858555197715759, 0.2794530689716339, 0.052488189190626144, -0.7407370805740356, 0.19281107187271118, -0.5997605323791504, 0.8652576804161072, -0.7580995559692383, -0.629379391670227, -0.7383695244789124, -0.533375084400177, 0.49761101603507996, -0.2503579556941986, 0.06712498515844345, -0.20857232809066772, -0.2472267746925354, 0.6332293748855591, -0.30783846974372864, 0.7651486396789551, 0.18982602655887604, -0.5653815865516663, 0.2561826705932617, 0.041467953473329544, 0.49724188446998596, 0.2961655557155609, -0.3426413834095001, 0.07296433299779892, -0.05233101174235344, -0.385067343711853, -0.17763681709766388, 0.9243839979171753, -0.7077163457870483, -0.9591857194900513, -0.7532227635383606, -0.7092751264572144, -0.14046646654605865, 0.1560688614845276, -0.0004961820668540895, -0.057053569704294205, -0.01489028800278902, 0.2729129195213318, 0.6303501725196838, -0.6447170972824097, 0.20902743935585022, 0.3063661456108093, -0.05868266150355339, -0.19944578409194946, 0.7287874221801758, -0.2943435311317444, 0.43741026520729065, -0.15451239049434662, 0.48151057958602905, -0.36272284388542175, -0.29999375343322754, -0.20279209315776825, 0.3015492856502533, -0.6664586663246155, -0.2714638411998749, -0.34295186400413513, -0.05563349649310112, -0.19597221910953522, -0.8718713521957397, -0.6290768384933472, -0.10047131031751633, -0.5829631090164185, -0.03338638320565224, 0.37094900012016296, 0.5679285526275635, -0.06758755445480347, -0.05149130895733833, -0.5154315233230591, -0.12645046412944794, 0.11824051290750504, 0.5263856053352356, 0.05571708828210831, -0.4517979919910431, -0.11942796409130096, 0.14069831371307373, -0.1520024538040161, -0.3821549713611603, 0.01039794273674488, -0.21501541137695312, 0.527495801448822, 0.8789716362953186, -0.11201262474060059, 0.9721489548683167, -0.06137752905488014, 0.49370336532592773, 0.23599494993686676, -1.1232094764709473, 0.40876510739326477, -0.5082613229751587, -0.049594346433877945, 0.7264841794967651, 0.36449354887008667, -0.3703133165836334, -0.28418827056884766, -0.5431625247001648, -0.7481244802474976, 0.7763580679893494, 0.11569485068321228, 0.266934871673584, 0.2880293130874634, 0.3319534361362457, 0.060645055025815964, 0.32556048035621643, -0.7490631341934204, -0.10987502336502075, 0.10122749954462051, -0.17094290256500244, -0.05370739847421646, -0.43121469020843506, -0.37663182616233826, -0.11104696244001389, 0.7481855750083923, 0.0010305364849045873, -0.20247189700603485, -0.1733563244342804, 0.1557907611131668, -0.3406773805618286, 0.07197251170873642, 1.0302435159683228, 0.9874908924102783, -0.09685570746660233, -0.15420681238174438, -0.1005634218454361, -0.3205472528934479, 0.17015178501605988, -0.03482304513454437, -0.018608149141073227, -0.8664166927337646, 0.24377340078353882, 0.5034630298614502, 0.15285362303256989, -1.0995454788208008, 0.6508603692054749, 0.22188685834407806, -0.04627149552106857, -0.47018617391586304, 0.06871266663074493, 0.23320192098617554, 0.6402180790901184, 0.1492704302072525, 0.03992319479584694, 0.27853623032569885, -0.6102232933044434, -0.18008698523044586, 0.6818175911903381, 0.11790572106838226, 0.18529845774173737, 0.855636715888977, 0.17698600888252258, -0.06659694015979767, 0.7930030226707458, 0.08791086822748184, -0.5920082926750183, 0.9972586631774902, 0.49186816811561584, 0.8630958795547485, -0.264712393283844, 0.21488074958324432, 0.1157507598400116, 0.7113890647888184, -0.17050831019878387, 0.36988401412963867, 0.17485502362251282, -0.7360635995864868, -0.46008431911468506, -0.7359287738800049, -0.44133955240249634, 0.1861484944820404, -0.7263420224189758, 0.35704222321510315, -0.5635619163513184, -0.16845399141311646, -0.1794901043176651, -0.07654955983161926, -0.17135347425937653, 0.18281525373458862, 0.1209782138466835, 0.5195764899253845, -0.40315595269203186, 0.44356220960617065, 0.4283924996852875, -0.2896434962749481, -0.8337502479553223, -0.04430437833070755, 0.16220037639141083, -1.1395537853240967, 0.7469093203544617, 0.21838076412677765, -0.6816419959068298, -0.24269041419029236, -0.5234978199005127, -1.1453559398651123, 1.0385726690292358, 0.7925605773925781, -0.32544997334480286, 0.07811243832111359, 0.12702709436416626, 0.4742027819156647, -0.42217421531677246, -0.2263583391904831, 0.40694770216941833, 0.8224221467971802, 0.1382727324962616, -0.8021551966667175, -0.1282963752746582, -0.04870949313044548, 0.026560798287391663, 0.5098739862442017, -1.1394922733306885, 0.7087371945381165, -0.7127338647842407, -0.031886763870716095, 0.14637048542499542, 0.18438372015953064, 0.44795531034469604, 0.4407460391521454, 0.4041498303413391, 0.6831066012382507, 0.8177030086517334, 0.07185939699411392, 1.1155967712402344, -0.31568416953086853, 0.43314167857170105, 0.7370843887329102, -0.5555378198623657, 0.356757253408432, 0.6841228008270264, 0.054849643260240555, 0.16362401843070984, 0.7248780727386475, -0.24647247791290283, 0.2715873420238495, 0.41625964641571045, 0.006171226501464844, -0.4789181649684906, -0.33911609649658203, -0.3438454866409302, 0.8385745286941528, 0.33825603127479553, -0.47981226444244385, 0.10920221358537674, -0.5016452670097351, 0.3122517764568329, 0.09636102616786957, -0.4109307825565338, 0.45331019163131714, 0.2581745386123657, -0.5323652029037476, 0.40659070014953613, 0.30870458483695984, 0.49606090784072876, -0.5159324407577515, 0.17157922685146332, -0.0002545806346461177, 0.22054588794708252, -0.22374357283115387, -0.5886450409889221, 0.46381810307502747, 0.17653296887874603, -0.006396039389073849, -0.4669286608695984, 0.4467374384403229, -0.0990227684378624, -0.43202126026153564, 0.6450743675231934, 0.021836435422301292, -0.015124516561627388, 0.4248218238353729, -0.7421683669090271, 0.14002563059329987, -0.04790780693292618, -0.11887196451425552, 0.14727212488651276, -0.015181128866970539, -0.14400875568389893, 0.8637691140174866, 0.671358048915863, 0.014844454824924469, -0.11269184201955795, -0.018920866772532463, 0.583524763584137, -0.7270721197128296, -0.7116581201553345, -1.130355715751648, 0.23439517617225647, -0.02182852290570736, -0.49542078375816345, 0.6236415505409241, 0.7586721777915955, 0.7500749230384827, 0.258453369140625, 0.3485623598098755, 0.2545500099658966, -0.20968706905841827, -0.9387234449386597, 0.9259071946144104, -0.8797618746757507, 0.45016980171203613, -0.4742377698421478, -0.8588133454322815, -0.04335993155837059, 0.9349703788757324, -0.4239077866077423, 0.3571969270706177, 0.4960412383079529, 0.4568804204463959, 0.1141248270869255, 0.2181100994348526, 0.36270871758461, 0.20092420279979706, -0.037216488271951675, 0.6039251089096069, 0.978265106678009, -0.07213526964187622, 0.25198909640312195, -0.006597045809030533, -0.09677308797836304, -0.4391714334487915, -1.152064323425293, -0.48277196288108826, -0.39301350712776184, -0.19176997244358063, -0.2692519426345825, -0.016185523942112923, 0.8876984715461731, 0.44819262623786926, -0.4840391278266907, -0.7103546261787415, 0.16428977251052856, 0.2411927878856659, -0.1998082399368286, -0.183553546667099, 0.18473215401172638, -0.2305104285478592, -0.6902469396591187, 0.3119714856147766, 0.8565700650215149, -0.04058052971959114, -0.21404094994068146, -0.23865829408168793, -0.21725721657276154, 0.6770349144935608, 0.4794048070907593, -0.08488137274980545, -0.8829836249351501, -0.2649562954902649, -0.10133197903633118, -0.27787724137306213, -0.02250845357775688, 0.8944472670555115, -0.21018756926059723, 0.16993744671344757, 0.08840572834014893, 0.8515586256980896, 0.00245055858977139, 0.20587240159511566, 0.7023783922195435, 0.30992361903190613, 0.21094755828380585, 0.5655433535575867, 0.3001834452152252, 0.0015325626591220498, -0.7924948930740356, 0.49543946981430054, -0.194832444190979, -0.7631803750991821, -0.8263742327690125, 0.327593594789505, -1.1898736953735352, -0.07820221036672592, 1.1794544458389282, 0.266122967004776, -0.07022371888160706, 0.2399469017982483, -0.07110399007797241, -0.12211600691080093, -0.42323872447013855, 0.8271939158439636, 0.747646152973175, 0.08463846892118454, 0.13539022207260132, -0.5978749990463257, 0.40601930022239685, 0.85550457239151, -0.7656782865524292, 0.13682931661605835, 0.7182431817054749, -0.062485016882419586, 0.04904257133603096, 0.47597530484199524, -0.2624853253364563, 0.5238838791847229, -0.6100835800170898, -0.1089954748749733, 0.045271262526512146, -0.1493423581123352, -0.45018357038497925, -0.0515923798084259, 0.16217944025993347, 0.20159421861171722 ]
http://arxiv.org/abs/2404.02403v1
http://arxiv.org/pdf/2404.02403v1
Benchmarking Large Language Models for Persian: A Preliminary Study Focusing on ChatGPT
2024-04-03T02:12:29
2024-04-03T02:12:29
Amirhossein Abaskohi, Sara Baruni, Mostafa Masoudi, Nesa Abbasi, Mohammad Hadi Babalou, Ali Edalat, Sepehr Kamahi, Samin Mahdizadeh Sani, Nikoo Naghavian, Danial Namazifard, Pouya Sadeghi, Yadollah Yaghoobzadeh
cs.CL
cs.CL, cs.LG
This paper explores the efficacy of large language models (LLMs) for Persian. While ChatGPT and consequent LLMs have shown remarkable performance in English, their efficiency for more low-resource languages remains an open question. We present the first comprehensive benchmarking study of LLMs across diverse Persian language tasks. Our primary focus is on GPT-3.5-turbo, but we also include GPT-4 and OpenChat-3.5 to provide a more holistic evaluation. Our assessment encompasses a diverse set of tasks categorized into classic, reasoning, and knowledge-based domains. To enable a thorough comparison, we evaluate LLMs against existing task-specific fine-tuned models. Given the limited availability of Persian datasets for reasoning tasks, we introduce two new benchmarks: one based on elementary school math questions and another derived from the entrance exams for 7th and 10th grades. Our findings reveal that while LLMs, especially GPT-4, excel in tasks requiring reasoning abilities and a broad understanding of general knowledge, they often lag behind smaller pre-trained models fine-tuned specifically for particular tasks. Additionally, we observe improved performance when test sets are translated to English before inputting them into GPT-3.5. These results highlight the significant potential for enhancing LLM performance in the Persian language. This is particularly noteworthy due to the unique attributes of Persian, including its distinct alphabet and writing styles.
[ -0.24792714416980743, -0.7965031266212463, 0.7395574450492859, 0.10928048193454742, -0.19277718663215637, 0.32281044125556946, -0.7942039966583252, -0.2667594850063324, -0.1461154818534851, 0.24635529518127441, -0.3043515086174011, -0.3925953209400177, -0.47104188799858093, 0.07378493249416351, -0.2548185884952545, 0.7148697376251221, -0.1997997909784317, 0.272087037563324, -0.14883220195770264, 0.08250311017036438, -0.4342525005340576, -0.674937903881073, -0.9229661226272583, -0.3521076738834381, 0.39997798204421997, 0.5687925815582275, 0.7199738621711731, 0.27348148822784424, 0.6221110820770264, 0.2683287560939789, -0.16757571697235107, 0.0036645582877099514, -0.5380699634552002, 0.20455975830554962, -0.3268045485019684, -0.3697004020214081, -0.2899254858493805, 0.08277355134487152, 0.922954261302948, 0.6370856761932373, -0.3158721327781677, 0.26673468947410583, 0.08467862755060196, 0.7038374543190002, -0.4926697611808777, 0.20916029810905457, -0.5414096713066101, -0.092115618288517, -0.5898237824440002, 0.18240582942962646, -0.24823930859565735, -0.4870125353336334, -0.0753822848200798, -0.37971609830856323, -0.2040843516588211, 0.18759094178676605, 0.7630015015602112, 0.14413709938526154, -0.41266173124313354, 0.04907595366239548, -0.9496551752090454, 0.8761798143386841, -0.6748737096786499, 0.45021793246269226, 0.1670897752046585, 0.5900627970695496, -0.28240343928337097, -0.6132988929748535, -0.4888911545276642, -0.6085944771766663, 0.17572762072086334, 0.16789686679840088, -0.3998582363128662, -0.18180663883686066, 0.4515749216079712, 0.6541403532028198, -0.792292594909668, 0.030484072864055634, -0.2693210244178772, 0.09686600416898727, 0.484825998544693, 0.18557758629322052, 0.3651881814002991, 0.19435951113700867, -0.10946854948997498, -0.18532298505306244, -0.9084995985031128, -0.0510263554751873, 0.22047187387943268, 0.2214810699224472, -0.06553914397954941, 0.679227352142334, -0.5273639559745789, 0.4161003530025482, -0.1342851221561432, -0.0415031760931015, 0.10021816939115524, -0.4263242483139038, -0.03394259512424469, -0.25502943992614746, 0.8352991938591003, 0.04207833483815193, 0.6177560091018677, -0.08579898625612259, -0.033772990107536316, 0.07314082980155945, 0.005551764275878668, -0.7644332051277161, -0.23727819323539734, -0.12689152359962463, -0.14935198426246643, 0.13945037126541138, -0.3448898494243622, -0.45090532302856445, -0.3624119460582733, -0.25615379214286804, 0.3050163686275482, -0.5852797627449036, -0.3416394889354706, 0.26123425364494324, 0.2539824843406677, 0.4209264814853668, 0.50248122215271, -0.7060813307762146, 0.7335695624351501, 0.7774636745452881, 0.8266698122024536, -0.4023084342479706, -0.1837647259235382, -0.29041701555252075, -0.03186868876218796, -0.495822548866272, 0.8788952827453613, -0.6083455085754395, -0.16811472177505493, -0.27220144867897034, -0.28112927079200745, -0.3332197964191437, -0.5189135670661926, 0.8058139085769653, -0.39849549531936646, 0.30885398387908936, -0.042463455349206924, -0.6426266431808472, -0.29102277755737305, 0.4717724621295929, -0.4914405643939972, 1.255653977394104, 0.12688694894313812, -0.680793046951294, -0.16116321086883545, -0.48020482063293457, -0.30217522382736206, 0.18092602491378784, -0.23384350538253784, -0.24405282735824585, 0.19039100408554077, 0.17299488186836243, 0.44289737939834595, -0.8719866871833801, 0.08325058966875076, -0.13456681370735168, -0.5153561234474182, 0.17718105018138885, -0.3875046968460083, 0.377141535282135, 0.258680522441864, -0.2975150942802429, -0.003958460409194231, -0.4301351308822632, 0.4805658459663391, 0.3094855844974518, -0.220489501953125, -0.23092256486415863, 0.1680355817079544, -0.08381490409374237, 0.1648159772157669, 0.31566131114959717, -0.48840340971946716, 0.01741037517786026, -0.372460275888443, 0.23726247251033783, 0.5347334742546082, -0.11993799358606339, 0.06559781730175018, -0.41719263792037964, 0.704858660697937, -0.2220342755317688, -0.06514175981283188, 0.10197372734546661, -0.42855677008628845, -0.7362040877342224, -0.11586540192365646, 0.4333314299583435, 0.647936999797821, -0.48818910121917725, -0.055481165647506714, -0.4039917588233948, -0.9426648616790771, 0.11634963750839233, -0.013214212842285633, 0.506885826587677, 0.033717185258865356, 0.13973507285118103, -0.5121890902519226, -0.19750802218914032, -1.094964861869812, -0.6548581123352051, -0.18730902671813965, 0.11306130886077881, 0.4287183880805969, 0.498698890209198, 0.2351599931716919, 0.4004212021827698, -0.37229233980178833, -0.06901071220636368, -0.6424108147621155, -0.21533316373825073, 0.5430604815483093, 0.43540632724761963, 0.34587427973747253, -0.46312394738197327, -0.9574005007743835, 0.34773650765419006, -0.26917675137519836, -0.122523732483387, 0.11004777252674103, -0.21849408745765686, 0.007421760354191065, 0.5098102688789368, -0.6602200865745544, 0.1707383692264557, 0.6783896684646606, -0.3582676649093628, 0.787921130657196, 0.04334389418363571, 0.27350741624832153, -1.0388580560684204, 0.014538419432938099, 0.09926863014698029, -0.31913241744041443, -0.7412979602813721, 0.07740302383899689, 0.21134978532791138, -0.13522277772426605, -0.4649234116077423, 0.6979501247406006, -0.4961931109428406, -0.1257733553647995, -0.11977093666791916, 0.09858261793851852, -0.372822105884552, 0.5199342966079712, 0.08939199894666672, 1.160848617553711, 0.46082445979118347, -0.286406010389328, 0.21776866912841797, 0.045906614512205124, -0.599595844745636, 0.46759265661239624, -0.694652795791626, 0.05379396677017212, 0.3056025505065918, 0.12273938953876495, -0.777271032333374, -0.13634449243545532, 0.13605687022209167, -0.36678269505500793, 0.17013439536094666, -0.15650570392608643, -0.7530245184898376, -0.2492324858903885, -0.05704517289996147, 0.3619309663772583, 0.8423682451248169, -0.2580017149448395, 0.4793197512626648, 0.21046867966651917, -0.5330528616905212, -0.06985323131084442, -0.04416044056415558, 0.093304343521595, -0.34720537066459656, -0.5102985501289368, 0.09316049516201019, -0.006541332229971886, -0.49680662155151367, -0.22853177785873413, -0.2648557126522064, -0.24532747268676758, 0.3329418897628784, 0.07118187844753265, 0.07467152923345566, -0.4958317279815674, 0.16766159236431122, -0.2462652325630188, 0.021012406796216965, 0.030495207756757736, -0.206612691283226, 0.6708682775497437, -0.4284500181674957, -0.4890587627887726, -0.1594846397638321, 0.20831118524074554, 0.33634206652641296, -0.40069541335105896, 0.6042708158493042, 0.3631146252155304, -0.2577613592147827, -0.10597117990255356, -0.7434834241867065, 0.06517261266708374, -0.4464948773384094, 0.4575176537036896, -0.5529326796531677, -0.9597800970077515, 0.3372655212879181, -0.37317708134651184, 0.0034737992100417614, 0.45445868372917175, 0.8051747679710388, 0.11914188414812088, 1.0131654739379883, 0.47691038250923157, -0.2963903248310089, 0.4545094072818756, 0.22284765541553497, 0.1994195580482483, -0.744002640247345, 0.3088569641113281, -0.7207579612731934, -0.02364526130259037, -0.6055945754051208, -0.721057116985321, 0.46274787187576294, 0.18240879476070404, -0.541566014289856, 0.07863719761371613, -0.03362800553441048, 0.9423478245735168, 0.5639042854309082, 0.023582007735967636, 0.45847100019454956, -0.0098746158182621, -0.16425439715385437, -0.04713653400540352, -0.6619549989700317, -0.6980491280555725, 1.2548750638961792, 0.152446910738945, 0.7338465452194214, 0.4175342321395874, 0.5418772101402283, -0.02362285926938057, 0.11824512481689453, -0.5169212818145752, 0.6520053148269653, -0.17620447278022766, -0.510575532913208, -0.2550045847892761, -0.451382040977478, -0.7440564036369324, 0.529015064239502, -0.021154122427105904, -0.7963626980781555, -0.4362013638019562, -0.04214247688651085, -0.18770335614681244, 0.28783178329467773, -0.6968400478363037, 0.918420672416687, -0.3364117443561554, -0.6254757642745972, -0.5063366889953613, -0.25525063276290894, 0.5738049149513245, -0.16663037240505219, 0.13192647695541382, -0.5296635031700134, 0.02995959483087063, 0.6364966034889221, -0.2372242957353592, 0.5255388617515564, 0.17268946766853333, 0.08141377568244934, 0.11105804890394211, 0.16888932883739471, 0.4308623671531677, 0.09893971681594849, -0.0627959817647934, 0.13024184107780457, 0.10554412752389908, -0.5664287805557251, -0.4191841781139374, 0.7243933081626892, -0.8135433197021484, -0.9221299886703491, -0.7212963104248047, -0.39154133200645447, -0.6424720287322998, 0.28359076380729675, -0.24577884376049042, 0.31748726963996887, -0.5782056450843811, 0.09753450006246567, 0.7515792846679688, -0.19906465709209442, 0.18380579352378845, 0.7361313700675964, -0.1498946100473404, -0.06586553901433945, 0.7903437614440918, -0.2697681784629822, 0.46940505504608154, 0.2486288845539093, 0.2802339792251587, -0.11220360547304153, -0.6950101256370544, -0.5602388978004456, 0.4031227231025696, -0.49393442273139954, 0.0762561783194542, -0.3316596746444702, -0.3372907340526581, -0.20374146103858948, 0.23726725578308105, -0.5956814289093018, -0.6292266249656677, 0.18196530640125275, 0.4099818766117096, 0.30926865339279175, 0.9063705801963806, 0.021853001788258553, 0.16297629475593567, -0.6534490585327148, 0.11452575773000717, 0.2181040644645691, 0.45856282114982605, -0.040114399045705795, -0.5720328092575073, -0.41609832644462585, -0.14603616297245026, -0.5165026783943176, -0.6511070728302002, 0.2492464929819107, 0.2972547709941864, 0.6434536576271057, 0.01119010616093874, -0.20084311068058014, 0.5064483284950256, -0.9718344211578369, 0.9023918509483337, -0.07799828797578812, -0.8787393569946289, 0.4111822545528412, -0.6928209066390991, 0.39498966932296753, 0.4642207622528076, 0.41685751080513, -0.8609716892242432, -0.46901753544807434, -0.46125710010528564, -0.5478753447532654, 0.6978320479393005, 0.3885924220085144, 0.06951404362916946, 0.060659173876047134, 0.22056764364242554, -0.04412493482232094, 0.07400205731391907, -0.6206767559051514, -0.16976895928382874, 0.26038098335266113, -0.17805621027946472, -0.47641441226005554, -0.18725304305553436, 0.04917580634355545, -0.24819768965244293, 0.7814870476722717, -0.04943927004933357, 0.13621185719966888, -0.14394734799861908, -0.16180828213691711, 0.05524606257677078, 0.626500129699707, 0.6099560260772705, 0.6379778981208801, 0.08341997861862183, -0.06000775471329689, 0.4466370940208435, -0.6443871259689331, 0.14690347015857697, 0.2649236023426056, 0.11247467994689941, -0.21298889815807343, 0.1867479681968689, 0.47960713505744934, 0.3480342924594879, -0.8788301944732666, 0.48265039920806885, -0.33796367049217224, -0.14123719930648804, -0.5748966336250305, 0.22305361926555634, 0.22458404302597046, 0.4457244277000427, 0.12596094608306885, -0.27279865741729736, -0.005623022094368935, -0.4382990002632141, -0.20306406915187836, 0.5222622752189636, -0.06697669625282288, -0.31367596983909607, 0.5688400268554688, 0.023939548060297966, 0.06431959569454193, 0.40188249945640564, -0.1118297427892685, -0.7597204446792603, 0.5010579824447632, 0.45610788464546204, 0.7282217741012573, -0.25852957367897034, -0.03990108519792557, 0.5418959259986877, 0.24550913274288177, -0.43287193775177, 0.4476422071456909, -0.0569346658885479, -0.671226441860199, -0.5966470837593079, -0.5253430008888245, -0.972373366355896, 0.003536591539159417, -0.38930201530456543, 0.09570449590682983, -0.37373796105384827, 0.0906093418598175, -0.19311878085136414, 0.46163225173950195, -0.7196642160415649, 0.04579291492700577, 0.38495153188705444, 0.8593844771385193, -0.6971773505210876, 0.8967604041099548, 0.9125903248786926, -0.09625659137964249, -1.0854153633117676, -0.051228117197752, 0.06239774450659752, -0.7743993401527405, 0.6244165897369385, -0.0955885723233223, -0.020437389612197876, 0.17215962707996368, -0.24877667427062988, -1.2888177633285522, 0.8419098854064941, 0.0863446444272995, -0.6247844099998474, 0.2205442637205124, 0.27219659090042114, 0.5415072441101074, -0.0717335194349289, 0.5862922072410583, 0.7712281346321106, 0.38187167048454285, -0.10563208162784576, -1.3174725770950317, -0.03848550096154213, -0.42282241582870483, 0.11837578564882278, 0.3707255721092224, -0.828784167766571, 1.1224931478500366, 0.01480951625853777, -0.3573034703731537, 0.45317837595939636, 0.4765540063381195, 0.2647717297077179, -0.20767903327941895, 0.33986014127731323, 0.6062348484992981, 0.6591621041297913, -0.287923663854599, 1.203521490097046, -0.4355911314487457, 0.06910483539104462, 1.230360507965088, -0.49114668369293213, 1.0491318702697754, 0.26451820135116577, -0.5279027223587036, 0.4422551989555359, 0.5573622584342957, 0.187888041138649, 0.23778373003005981, 0.5059494376182556, -0.3214927017688751, -0.46434909105300903, -0.068861223757267, -0.49874523282051086, 0.43280231952667236, 0.2971799969673157, 0.07197625935077667, -0.2744491696357727, -0.3569844961166382, 0.2008703351020813, 0.13988249003887177, -0.44024693965911865, 0.7197824120521545, 0.07923626899719238, -0.7498131394386292, 0.5596392750740051, 0.12058160454034805, 0.3746372163295746, -0.596731424331665, 0.1181541383266449, -0.4292043447494507, 0.41466182470321655, 0.2032405138015747, -0.71750408411026, -0.03531510382890701, 0.2504282295703888, 0.07478325068950653, -0.17858104407787323, 0.6863768696784973, -0.40704208612442017, -0.6075224876403809, -0.08897155523300171, 0.9831123352050781, 0.41398581862449646, -0.3064814805984497, -0.5459489226341248, 0.008279417641460896, -0.021092230454087257, -0.4463634788990021, 0.46894294023513794, 0.5248379707336426, -0.36696264147758484, 0.607631266117096, 0.5828638672828674, 0.3445216715335846, -0.06584332883358002, 0.025470368564128876, 0.9677329659461975, -0.8640335202217102, -0.28091296553611755, -0.8240146636962891, 0.03592907264828682, -0.1221991628408432, -0.3914913833141327, 1.0975286960601807, 0.7597392797470093, 0.8893447518348694, 0.022430146113038063, 0.7903764843940735, 0.11697958409786224, 1.1138428449630737, -0.49496063590049744, 0.6323675513267517, -0.5046281218528748, 0.2148982733488083, -0.18649236857891083, -1.0271035432815552, -0.12351340055465698, 0.536864161491394, -0.60029536485672, 0.06635599583387375, 1.0109285116195679, 0.5871460437774658, -0.036147475242614746, 0.19057421386241913, 0.4105323255062103, 0.18469370901584625, 0.18752382695674896, 0.9941592216491699, 1.2276464700698853, -0.2542797327041626, 0.4843190014362335, -0.25570541620254517, -0.16640552878379822, 0.06814119964838028, -0.6502787470817566, -1.2025569677352905, -0.2832752764225006, -0.17777349054813385, 0.015051190741360188, 0.2900533378124237, 0.7483112215995789, 0.4082854688167572, -0.7076908946037292, -0.49478110671043396, 0.16073566675186157, 0.08633692562580109, -0.15515220165252686, -0.1209854781627655, 0.21206443011760712, -0.34874361753463745, -0.6942078471183777, 0.4087372422218323, 0.06586155295372009, 0.00921888928860426, -0.062152497470378876, 0.007878904230892658, 0.039710186421871185, -0.0014009507140144706, 0.4428379237651825, 0.33839306235313416, -0.6115446090698242, -0.21294695138931274, 0.02729249931871891, -0.26576152443885803, 0.07079723477363586, 0.7633798122406006, -0.7917516231536865, -0.177628755569458, 0.2542756497859955, 0.49602702260017395, 0.5740792751312256, -0.04501255229115486, 0.6933503746986389, -0.33984655141830444, -0.033961791545152664, 0.25115564465522766, 0.38993513584136963, 0.338052362203598, 0.07145950943231583, 0.8559685945510864, -0.029673412442207336, -0.7057486176490784, -0.617346465587616, 0.11800465732812881, -0.7064656615257263, -0.14659243822097778, 1.2751258611679077, -0.20735037326812744, -0.09564851224422455, -0.04033361002802849, -0.25078684091567993, -0.13538537919521332, -0.2693045735359192, 0.44873443245887756, 0.8706902265548706, -0.07025022804737091, -0.25996536016464233, -0.9190841913223267, 0.4938249886035919, 0.7343708276748657, -0.9518292546272278, 0.20659296214580536, 0.5564280152320862, 0.3183978796005249, -0.26349952816963196, 0.7585254311561584, -0.13696499168872833, 0.47740256786346436, -0.11257798969745636, -0.028125373646616936, 0.1980733722448349, 0.023418130353093147, -0.2690788805484772, -0.1370103806257248, 0.512346625328064, 0.24349358677864075 ]
http://arxiv.org/abs/2404.02402v1
http://arxiv.org/pdf/2404.02402v1
Token Trails: Navigating Contextual Depths in Conversational AI with ChatLLM
2024-04-03T02:11:39
2024-04-03T02:11:39
Md. Kowsher, Ritesh Panditi, Nusrat Jahan Prottasha, Prakash Bhat, Anupam Kumar Bairagi, Mohammad Shamsul Arefin
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Conversational modeling using Large Language Models (LLMs) requires a nuanced understanding of context to generate coherent and contextually relevant responses. In this paper, we present Token Trails, a novel approach that leverages token-type embeddings to navigate the intricate contextual nuances within conversations. Our framework utilizes token-type embeddings to distinguish between user utterances and bot responses, facilitating the generation of context-aware replies. Through comprehensive experimentation and evaluation, we demonstrate the effectiveness of Token Trails in improving conversational understanding and response generation, achieving state-of-the-art performance. Our results highlight the significance of contextual modeling in conversational AI and underscore the promising potential of Token Trails to advance the field, paving the way for more sophisticated and contextually aware chatbot interactions.
[ -0.029296133667230606, -1.09928297996521, 0.43617820739746094, 0.03995668888092041, -0.33249345421791077, 0.6051847338676453, -0.040076300501823425, -0.19732724130153656, 0.21738040447235107, 0.5526542067527771, -0.5203039050102234, -0.7548412680625916, -0.4303206205368042, -0.4874509871006012, -0.7480173707008362, 0.9257610440254211, 0.38428404927253723, -0.024490222334861755, -0.6064121127128601, -0.1764681041240692, -0.980796217918396, -0.8789318203926086, -0.7375877499580383, -0.2007523775100708, 0.6499040722846985, 0.16242873668670654, 0.4938317537307739, 0.4056991636753082, 0.34017491340637207, 0.24723561108112335, -0.22367478907108307, 0.20062929391860962, -0.6851249933242798, 0.7818318009376526, 0.1791318953037262, -0.7184509038925171, -0.11079414933919907, -0.41235342621803284, 0.30458420515060425, 0.522522509098053, -0.1605658382177353, -0.016947712749242783, -0.28101134300231934, 0.030938822776079178, -0.5532086491584778, 0.061342187225818634, -0.9395497441291809, 0.042322542518377304, -0.07819388061761856, -0.365283340215683, -0.5517938137054443, 0.06820883601903915, 0.21681027114391327, -0.5786137580871582, 0.11650750786066055, 0.3720076084136963, 0.30631646513938904, 0.14955781400203705, -0.635921061038971, -0.4625110924243927, -0.5733516812324524, 0.5050748586654663, -0.7122218012809753, 0.20329850912094116, 0.18208006024360657, 0.4635200798511505, -0.20780760049819946, -1.1134859323501587, -0.3540821373462677, -0.2498040795326233, 0.0001909881830215454, 0.0019526779651641846, 0.00433694152161479, -0.1102798730134964, -0.017437191680073738, 0.16766270995140076, -0.12108251452445984, 0.12980709969997406, -0.06665389239788055, -0.2581848204135895, 0.39819684624671936, 0.6780191659927368, 0.4490590989589691, -0.2413744479417801, -0.42212697863578796, -0.03133843094110489, -0.7681899070739746, 0.31000882387161255, -0.09732445329427719, 0.6848716139793396, -0.35432377457618713, 0.47866714000701904, 0.08011826872825623, 0.6930566430091858, -0.17052985727787018, 0.01977410912513733, 0.004527019336819649, -0.4773523509502411, -0.11408530175685883, 0.10500194877386093, 0.5947378277778625, 0.448253870010376, 0.05311625823378563, -0.42259007692337036, -0.20216231048107147, -0.24167266488075256, 0.154420405626297, -0.7771894335746765, -0.20140953361988068, 0.3241543471813202, -0.20165596902370453, -0.35293230414390564, -0.13839279115200043, -0.5941227078437805, -0.8352773189544678, -0.0882803425192833, 0.2120608389377594, -0.4443836510181427, -0.37712714076042175, -0.02681572362780571, -0.4359583258628845, 0.5036811828613281, 0.5583459734916687, -0.8384565114974976, 0.2167038768529892, 1.0570253133773804, 1.0927612781524658, -0.02522582933306694, 0.10036295652389526, -0.8575106859207153, 0.2634606957435608, -0.41066834330558777, 0.43716633319854736, -0.8186264634132385, -0.8547263145446777, 0.38020050525665283, -0.3647685945034027, 0.01644180715084076, -0.27177855372428894, 0.14658915996551514, -0.5854032039642334, 0.16588792204856873, 0.030841050669550896, -0.5668136477470398, -0.30771294236183167, 0.6432579159736633, -0.20788288116455078, 1.0459928512573242, -0.12243522703647614, -0.632960855960846, 0.25006869435310364, -0.8520732522010803, -0.6908522248268127, 0.269773930311203, -0.2283538579940796, 0.08593835681676865, 0.19863569736480713, 0.20615726709365845, 0.35888954997062683, -0.10220999270677567, 0.4569540023803711, -0.163918599486351, -0.3738069236278534, 0.23784811794757843, -0.4806647002696991, 0.6580260396003723, 0.02588147670030594, -0.4401180148124695, 0.5117441415786743, -0.4457166790962219, -0.21303872764110565, 0.09626977145671844, -0.1610729694366455, -0.39726531505584717, 0.30495455861091614, 0.3994814455509186, 0.04238629713654518, 0.27131420373916626, -0.33530306816101074, 0.015567189082503319, -0.5274306535720825, 0.7114263772964478, 1.0346237421035767, -0.04169044271111488, 0.4854710102081299, -0.03919457271695137, 0.4849213659763336, 0.22111305594444275, 0.12952588498592377, -1.0077564716339111, -0.6655718088150024, -0.8760558366775513, -0.2409975826740265, 0.14146599173545837, 0.3216873109340668, -0.38914451003074646, 0.48034974932670593, -0.47675925493240356, -0.41705310344696045, -0.41495630145072937, -0.08328613638877869, 0.28009355068206787, 0.7237457036972046, 0.14599590003490448, -0.23989428579807281, -0.37380295991897583, -0.5298349261283875, -0.3193272054195404, -0.24610397219657898, 0.05053997412323952, 0.8354422450065613, 0.4267488420009613, -0.43217435479164124, 1.4053336381912231, -0.38042473793029785, -0.04561053588986397, -0.0722377598285675, 0.06123669072985649, -0.12121202796697617, 0.5034831166267395, 0.3387102782726288, -0.9397150278091431, -0.33257579803466797, -0.04880145192146301, -0.3094569146633148, 0.26964300870895386, -0.151786208152771, -0.16585709154605865, 0.009683939628303051, 0.7476332187652588, -0.6657471656799316, 0.6248809099197388, 0.19131745398044586, -0.6150745153427124, -0.2002643495798111, -0.09442362934350967, 0.07942210137844086, -1.1102120876312256, 0.30669984221458435, -0.4559668302536011, -0.714479386806488, -0.6530168056488037, -0.016867822036147118, -0.3455171287059784, -0.22180882096290588, -0.6316774487495422, 0.9281551241874695, 0.012262453325092793, -0.23946447670459747, -0.032708216458559036, 0.589565634727478, 0.08653274178504944, 0.4441535472869873, -0.22536250948905945, 0.6309381723403931, 0.574820876121521, -0.4610160291194916, 0.30381840467453003, 0.4558550715446472, -0.08492761105298996, 0.4811108112335205, -0.5830110907554626, 0.4915764331817627, -0.08205985277891159, 0.6167851090431213, -1.442838430404663, -0.15160921216011047, 0.22516430914402008, -0.5902667045593262, 0.11890408396720886, -0.31346842646598816, -0.6743108630180359, -0.02984743006527424, -0.2149580717086792, 0.4427752196788788, 0.577711284160614, -0.40613627433776855, 0.9574835300445557, 0.38608434796333313, 0.029508166015148163, -0.10328366607427597, -0.6514651775360107, 0.45575928688049316, -0.38776713609695435, -0.4971641004085541, 0.13894948363304138, -0.1823941171169281, -0.15102618932724, -0.42466065287590027, 0.1618376523256302, 0.23641474545001984, 0.5335033535957336, 0.5945506691932678, 0.1430482715368271, -0.16109322011470795, 0.2497384399175644, -0.3049258887767792, 0.12997037172317505, 0.1759859025478363, -0.09587796777486801, 1.0951435565948486, 0.04410530626773834, -0.6002770662307739, -0.3325812816619873, 0.32409316301345825, 0.6967377662658691, -0.26927393674850464, 0.49917641282081604, 0.7892395257949829, -0.32923656702041626, 0.2104155272245407, -0.37523001432418823, -0.4176093339920044, -0.4973016679286957, 0.2735802233219147, -0.2756761312484741, -1.2233976125717163, 0.7593695521354675, -0.2427634596824646, 0.1847662776708603, 0.14915233850479126, 0.6530219316482544, -0.10411429405212402, 1.4508167505264282, 0.428004652261734, -0.10049951821565628, 0.7176860570907593, -0.12501786649227142, 0.5424703359603882, -0.9111279249191284, -0.7419738173484802, -0.4331814646720886, -0.23550945520401, -0.5032132267951965, -0.6280187368392944, 0.18945185840129852, -0.09064488112926483, -0.5431020259857178, -0.18882593512535095, -0.25250443816185, 0.22204747796058655, 0.7239801287651062, -0.08117131143808365, 0.026178346946835518, -0.25569844245910645, -0.033227890729904175, 0.22618436813354492, -0.817781388759613, -0.49652281403541565, 0.9974714517593384, 0.24031031131744385, 0.48608851432800293, 0.08756907284259796, 0.41946443915367126, 0.5562552809715271, 0.3729362487792969, -0.8197487592697144, 0.5281192064285278, 0.2048998475074768, -0.7305384278297424, -0.18947410583496094, 0.03265536203980446, -0.9449871778488159, 0.1430462896823883, -0.21204496920108795, -1.0697516202926636, -0.43476760387420654, 0.06741610169410706, -0.3386315703392029, 0.23078405857086182, -0.6661587953567505, 0.805279016494751, -0.4479460120201111, -0.21209627389907837, -0.2922014594078064, -0.8322780728340149, 0.076177217066288, 0.3228956460952759, 0.2758491039276123, -0.18142366409301758, -0.1659054011106491, 0.6692180037498474, -0.25392940640449524, 1.2871630191802979, -0.333874374628067, 0.021646877750754356, 0.48930302262306213, 0.35160699486732483, 0.4956764876842499, 0.20112018287181854, 0.2706906795501709, 0.06470644474029541, -0.23973456025123596, -0.2866292893886566, -0.5717324614524841, 0.9108524322509766, -0.6077175736427307, -0.8538023233413696, -0.05133257806301117, -0.4457608163356781, -0.24420319497585297, 0.21053002774715424, -0.2252408266067505, 0.7228173017501831, -0.3037671744823456, 0.35042494535446167, 0.26670363545417786, -0.28272125124931335, 0.5768163800239563, 0.24496717751026154, -0.433228462934494, -0.3833787739276886, 0.5552378296852112, -0.4445107877254486, -0.07448036968708038, 0.44043201208114624, 0.0979822650551796, -0.5685129761695862, -0.5886428356170654, -0.4863033592700958, -0.17068280279636383, -0.9090868830680847, -0.26691770553588867, -0.6457778811454773, -0.08296073228120804, -0.584745466709137, -0.2755303382873535, -0.16438888013362885, -0.3063231408596039, -0.5677523612976074, -0.2042858898639679, 0.7270833849906921, 0.9525966048240662, 0.31161338090896606, 0.5439201593399048, -0.5337945222854614, -0.06714250892400742, 0.3027971386909485, 0.1696784943342209, 0.3457253575325012, -0.5307123064994812, -0.21868595480918884, 0.22837050259113312, -0.3670865297317505, -0.5110273957252502, 0.18805494904518127, -0.035676393657922745, 0.457939475774765, 0.37379854917526245, -0.09235435724258423, 0.9325527548789978, -0.5104390978813171, 1.284606695175171, 0.4147527813911438, -1.0962493419647217, 0.8437873721122742, -0.515916109085083, 0.17988482117652893, 0.3491361141204834, -0.19325822591781616, -0.8967776298522949, -0.285722941160202, -0.6594099402427673, -1.288886308670044, 0.5497938990592957, 0.19616957008838654, 0.7841852307319641, -0.21107833087444305, 0.3375529944896698, -0.03536301478743553, 0.4374265670776367, -0.47085314989089966, -0.13336986303329468, -0.37741324305534363, -0.2675849497318268, -0.3188360333442688, -0.047558147460222244, -0.3707439601421356, 0.02184629626572132, 0.11523191630840302, -0.26606741547584534, 0.11576532572507858, 0.15029063820838928, -0.12666776776313782, 0.307371586561203, -0.28763672709465027, 0.6817276477813721, 0.6366238594055176, -0.1385050266981125, 0.19085074961185455, 0.010395705699920654, 0.03149401769042015, -0.2005006968975067, -0.4062272906303406, 0.10136730968952179, -0.122867152094841, 0.4216195344924927, 0.905348002910614, 0.3884486258029938, -0.9164478182792664, 0.740018367767334, -0.08192085474729538, 0.3041984438896179, -0.2266840785741806, 0.21574845910072327, 0.39913302659988403, 0.1922888159751892, 0.45933640003204346, 0.0013088078703731298, 0.18121036887168884, -0.4664197862148285, 0.042896710336208344, 0.646547794342041, -0.7390809059143066, -0.23833756148815155, 0.7062060236930847, 0.6911807060241699, -0.9978895783424377, 0.6741378307342529, 0.550195574760437, -0.6044829487800598, 0.6340748071670532, 0.632740318775177, 0.8725335597991943, 0.3018939197063446, 0.03241484984755516, 0.09969377517700195, -0.2112928330898285, 0.4804840087890625, -0.39983317255973816, -0.5414246320724487, -0.3843911290168762, -0.045421257615089417, -0.17964252829551697, -0.45713838934898376, -0.2334277331829071, -0.3897605240345001, 0.14734424650669098, -0.5169041752815247, -0.4148254692554474, -0.31115132570266724, -0.4349539875984192, -0.8442693948745728, 0.07883939892053604, 0.30991458892822266, 1.0062514543533325, -0.46889081597328186, 0.23982973396778107, 0.4846552014350891, -0.2931005358695984, -0.2866966128349304, -0.02834344655275345, -0.2914654016494751, -1.0008010864257812, 0.5898032188415527, 0.4627037048339844, -0.37416425347328186, 0.05184181407094002, -0.7305312752723694, -0.7011192440986633, 1.3205839395523071, -0.009609858505427837, -0.22308160364627838, 0.1655031144618988, 0.15022332966327667, 0.5799792408943176, -0.7560802698135376, 0.5836275219917297, 0.41164305806159973, 0.18691053986549377, 0.2400810569524765, -0.5543872117996216, 0.07385066151618958, -0.07624825090169907, 0.3270821273326874, -0.07184727489948273, -0.8578656911849976, 0.49714452028274536, 0.0467505156993866, -0.2855290472507477, 0.2584715485572815, 0.3188149631023407, 0.2900864779949188, 0.6447564959526062, 0.43148157000541687, 0.1985575258731842, 0.6879855394363403, -0.09951914846897125, 0.9629440903663635, -0.5310680270195007, 0.006692591123282909, 1.011880874633789, -0.23924829065799713, 1.014701008796692, 0.7507187128067017, 0.1727626770734787, 0.8750514388084412, 0.8332034945487976, 0.46508273482322693, 0.6247177720069885, 0.5947372317314148, -0.3953397274017334, -0.3646128177642822, -0.4775550365447998, -0.1939898580312729, 0.48691385984420776, 0.5559905767440796, -0.15217044949531555, 0.044920414686203, -0.03088180162012577, 0.14887581765651703, 0.027899498119950294, -0.20559437572956085, 0.9281206727027893, -0.07014308869838715, -0.7445314526557922, 0.4057749807834625, -0.02257297933101654, 0.6367691159248352, -0.43222376704216003, -0.17491844296455383, -0.5835917592048645, -0.14869794249534607, 0.1169971451163292, -0.6283694505691528, -0.032662179321050644, 0.08129683136940002, 0.10674338787794113, -0.3061811923980713, 0.574443519115448, -0.17346441745758057, -0.2363838106393814, 0.3277093768119812, 0.517074465751648, -0.07226910442113876, 0.10886254161596298, -0.7464279532432556, 0.11583743989467621, -0.10968733578920364, -0.2563786208629608, 0.008726665750145912, 0.497834712266922, -0.002553485566750169, 0.9384668469429016, 0.9139805436134338, -0.4917161464691162, 0.15382073819637299, 0.25253552198410034, 1.0319089889526367, -0.8284212946891785, -0.681800365447998, -1.0225427150726318, 0.8143672943115234, -0.21101173758506775, -0.4108501970767975, 0.593462347984314, 0.7923571467399597, 0.3460092842578888, 0.19220292568206787, 0.6526511311531067, 0.07283560931682587, 0.19452126324176788, -0.40385276079177856, 0.5190699696540833, -0.46922311186790466, 0.27534666657447815, 0.11379670351743698, -0.3721823990345001, -0.43911996483802795, 0.4157458245754242, -0.08175697922706604, 0.07527374476194382, 0.18751515448093414, 0.6546949744224548, -0.0006789558683522046, -0.20946989953517914, 0.23882293701171875, 0.1466771513223648, 0.7567735910415649, 0.4881032407283783, 1.1448934078216553, -0.33903589844703674, 0.5619840025901794, 0.4764215350151062, 0.15059271454811096, -0.4947783350944519, -0.8250314593315125, -1.0538265705108643, -0.6053060293197632, -0.04744499549269676, -0.16306430101394653, 0.12765178084373474, 0.6335244178771973, 1.10100257396698, -0.5962891578674316, -0.1936134397983551, -0.4449869692325592, 0.34381550550460815, 0.4730447232723236, -0.28217312693595886, 0.23269180953502655, -0.48588013648986816, -0.7303053736686707, 0.34374335408210754, 0.5224676728248596, 0.31483569741249084, -0.5955268740653992, -0.21357235312461853, -0.15825368463993073, 0.3327658772468567, 0.504589855670929, -0.05475594848394394, -1.0462051630020142, -0.4844435751438141, 0.05953483656048775, -0.10735450685024261, 0.24932079017162323, 0.9814719557762146, -1.0992430448532104, 0.6135919094085693, 0.38325268030166626, 0.7144908905029297, 0.7608125805854797, 0.09799718111753464, 0.6735787391662598, -0.8020445704460144, 0.31843891739845276, 0.4075433611869812, 0.18983079493045807, 0.7417882084846497, -0.15777845680713654, 0.3825084865093231, 0.11339174956083298, -0.17678460478782654, -1.0036982297897339, 0.14487388730049133, -0.8517274260520935, -0.23612837493419647, 1.1050983667373657, -0.16658836603164673, -0.19671662151813507, -0.008918752893805504, -0.39218011498451233, 0.14657236635684967, -0.3881867825984955, 0.7217437028884888, 0.6037863492965698, 0.014249715022742748, -0.010066233575344086, -0.27643290162086487, 0.33416396379470825, 0.4348202645778656, -0.6484002470970154, 0.28598544001579285, 0.40415340662002563, 0.07285825163125992, 0.21893125772476196, 0.8656405806541443, 0.14582397043704987, -0.03829507902264595, 0.058149971067905426, -0.4275347590446472, 0.08219864964485168, -0.20881588757038116, -0.06937853991985321, 0.016492635011672974, 0.11070609092712402, -0.40502068400382996 ]
http://arxiv.org/abs/2404.02393v1
http://arxiv.org/pdf/2404.02393v1
Backdoor Attack on Multilingual Machine Translation
2024-04-03T01:32:31
2024-04-03T01:32:31
Jun Wang, Qiongkai Xu, Xuanli He, Benjamin I. P. Rubinstein, Trevor Cohn
cs.CL
cs.CL
While multilingual machine translation (MNMT) systems hold substantial promise, they also have security vulnerabilities. Our research highlights that MNMT systems can be susceptible to a particularly devious style of backdoor attack, whereby an attacker injects poisoned data into a low-resource language pair to cause malicious translations in other languages, including high-resource languages. Our experimental results reveal that injecting less than 0.01% poisoned data into a low-resource language pair can achieve an average 20% attack success rate in attacking high-resource language pairs. This type of attack is of particular concern, given the larger attack surface of languages inherent to low-resource settings. Our aim is to bring attention to these vulnerabilities within MNMT systems with the hope of encouraging the community to address security concerns in machine translation, especially in the context of low-resource languages.
[ -0.04181644693017006, -0.7003759145736694, 0.42776280641555786, 0.30528417229652405, -0.2777980864048004, 0.24171997606754303, -0.008946450427174568, -0.38854068517684937, 0.22285611927509308, 0.9451111555099487, -0.3612332046031952, -0.5608980059623718, -0.7236512303352356, 0.19276198744773865, -0.31947049498558044, 1.2503286600112915, 0.04639614373445511, 0.22894622385501862, 0.36594390869140625, -0.32045304775238037, -0.8467991352081299, -1.1351369619369507, -0.713278591632843, -0.14631757140159607, 0.7961907386779785, 0.4425685703754425, 1.0546225309371948, 0.20987693965435028, 0.8724934458732605, 0.2602650821208954, 0.3033241331577301, -0.37793582677841187, -0.38260942697525024, 0.4355219900608063, -0.26803719997406006, -0.7116838097572327, -0.4708053171634674, -0.16783715784549713, 0.5116901397705078, 0.3123379945755005, 0.002705007093027234, 0.13307201862335205, -0.10813604295253754, 0.8003953695297241, -0.5212500095367432, -0.4330222010612488, -0.9519150853157043, 0.3469933867454529, -0.605567991733551, -0.38183122873306274, -0.7028783559799194, -0.059875573962926865, -0.4452631175518036, -0.11133027076721191, 0.0036244052462279797, 0.13662131130695343, 0.30425795912742615, 0.19507507979869843, -0.6032172441482544, -0.08883186429738998, -0.4166709780693054, 0.6847956776618958, -0.5490561127662659, 0.5460062623023987, 0.4640488922595978, 0.4383695125579834, -0.33178645372390747, -0.45231905579566956, -0.4320012629032135, -0.2162950485944748, -0.2609301209449768, -0.061035074293613434, -0.4379813075065613, -0.24328215420246124, 0.21818524599075317, 0.36597132682800293, -0.9205167889595032, 0.2593706250190735, -0.39202478528022766, -0.36664238572120667, 0.5095301270484924, 0.4414656460285187, 0.7048261761665344, -0.47906461358070374, -0.5507949590682983, -0.11187220364809036, -0.8761924505233765, -0.406089186668396, 0.6827840805053711, 0.565657377243042, -0.3907599151134491, 0.6293296217918396, 0.22943411767482758, 0.40875494480133057, -0.43062883615493774, 0.06844575703144073, 0.22749294340610504, -0.7517790794372559, -0.2031470090150833, 0.25986844301223755, 0.9857662916183472, 0.4116348922252655, -0.12648332118988037, -0.3096458613872528, -0.4889211654663086, -0.24311095476150513, 0.3369992971420288, -0.9262404441833496, -0.12330736964941025, 0.4859112799167633, -0.47906506061553955, -0.37269356846809387, -0.07707563787698746, -1.0612292289733887, -0.4956734776496887, 0.5955536961555481, 0.6422925591468811, -0.5780740976333618, -0.4388653337955475, -0.19015556573867798, -0.25542891025543213, 0.09826593846082687, -0.196703240275383, -0.5626874566078186, 0.15588796138763428, 0.6232063174247742, 1.1641842126846313, -0.13743285834789276, -0.6295744180679321, -0.7192325592041016, 0.3074224293231964, -0.22813259065151215, 0.26495620608329773, -0.2977980673313141, -0.7419830560684204, -0.15501900017261505, 0.16791550815105438, -0.08065293729305267, -0.5304033160209656, 0.31008660793304443, -0.7869617938995361, 0.19114330410957336, -0.0874268114566803, 0.3800581991672516, 0.01103820838034153, 0.4065735936164856, -0.688210666179657, 0.678393542766571, -0.08802680671215057, -0.9197093844413757, -0.03033214807510376, -0.6147618889808655, -0.7715341448783875, -0.29003357887268066, 0.22039708495140076, -0.30438753962516785, 0.27581509947776794, -0.01597513072192669, 0.3320140242576599, 0.011196964420378208, -0.20751284062862396, -0.15368276834487915, -0.14990359544754028, 0.8581336736679077, -0.918532133102417, 0.99878990650177, 0.6278530955314636, -0.2253556251525879, -0.11168430000543594, -0.6779111623764038, -0.0884062647819519, 0.21488894522190094, -0.3279023766517639, -0.537611722946167, -0.3412545323371887, 0.2153184860944748, 0.6401416063308716, 0.3379972279071808, -0.6099992394447327, 0.2826670706272125, -0.7521019577980042, 0.2909637987613678, 0.6552110910415649, 0.3428831398487091, 0.16232134401798248, -0.0711064264178276, 0.6862675547599792, 0.43919336795806885, 0.37226617336273193, -0.31474366784095764, -0.5647600889205933, -0.3273714780807495, -0.11811426281929016, 0.16666056215763092, 0.9187818169593811, -1.1028441190719604, -0.12073522806167603, -0.1244271919131279, -0.41235798597335815, -0.5842961072921753, 0.2928800880908966, 0.9355818629264832, 0.17331847548484802, 0.5103103518486023, -0.17812670767307281, -0.3250257074832916, -1.0972992181777954, -0.4859532117843628, 0.05837208032608032, 0.0033141158055514097, -0.010403499938547611, 0.636484682559967, -0.41554510593414307, 0.3007379174232483, -0.3975551426410675, -0.3161051571369171, 0.002473133383318782, -0.15831443667411804, 0.5111308097839355, 0.7644268870353699, 0.7154732346534729, -0.8560804724693298, -0.7436433434486389, 0.3226171135902405, -0.710313081741333, 0.12077299505472183, 0.006174026522785425, -0.31785669922828674, 0.33432281017303467, 0.4268847107887268, -0.3921200931072235, 0.2780330181121826, 1.072807788848877, -0.25710415840148926, 0.25963398814201355, -0.2892869710922241, 0.3893502950668335, -1.7192302942276, 0.11912300437688828, -0.444143146276474, -0.060724884271621704, -0.8615865707397461, 0.6294063329696655, 0.19351056218147278, -0.5904183387756348, -0.8792501091957092, 0.40224337577819824, -0.37192878127098083, -0.09692714363336563, -0.0069879707880318165, -0.016725104302167892, -0.14302180707454681, 0.46956244111061096, -0.6453517079353333, 1.0738381147384644, 0.3166472911834717, -0.3506343960762024, 0.6216304302215576, -0.05221171677112579, 0.08214739710092545, 0.7392516136169434, -0.3836649954319, 0.3250619173049927, 0.3753281533718109, 0.10758509486913681, -1.0796170234680176, -0.37270388007164, 0.6780429482460022, -0.8112286925315857, 0.7166337370872498, -0.31582292914390564, -0.8230988383293152, -0.00858394242823124, -0.34410324692726135, 0.4715959131717682, 0.17930440604686737, -0.36734282970428467, 0.42113423347473145, 0.26767686009407043, -0.25130200386047363, -0.7928383350372314, -1.3096039295196533, 0.7458909153938293, -0.25588691234588623, -0.6542447805404663, 0.06821837276220322, 0.26603561639785767, -0.349824458360672, -0.15656839311122894, 0.11924127489328384, -0.337348610162735, 0.436122328042984, 0.2338036745786667, -0.035310134291648865, -0.1645888239145279, -0.06491254270076752, 0.07132474333047867, -0.36641615629196167, 0.14078833162784576, -0.37099331617355347, 0.7533004879951477, 0.020343584939837456, -0.6585233211517334, -0.6207879185676575, 0.9392255544662476, 0.9503809213638306, -0.39408865571022034, 1.1986846923828125, 0.46286603808403015, -0.3464149832725525, 0.31812092661857605, -0.2474053055047989, -0.28051239252090454, -0.4438994526863098, 0.58760666847229, -0.8064276576042175, -0.283696711063385, 0.7387746572494507, 0.4818143844604492, 0.057270266115665436, 0.5354750156402588, 0.5047322511672974, -0.04755653440952301, 1.3735958337783813, 0.6091193556785583, -0.21448853611946106, 0.26966720819473267, -0.008940482512116432, 0.08544991910457611, -0.6425874829292297, -0.21484330296516418, -0.8051803708076477, -0.3517797291278839, -0.8692866563796997, -0.1269083321094513, 0.49057310819625854, -0.15984012186527252, 0.014269791543483734, 0.4430950880050659, -0.2702213227748871, 0.3206224739551544, 0.4312423765659332, 0.10559983551502228, 0.4255792200565338, 0.020337199792265892, -0.4317587614059448, -0.13274060189723969, -0.6526520848274231, -0.38723328709602356, 1.1261354684829712, 0.3022647500038147, 0.8010249137878418, 0.7412028312683105, 0.8366405367851257, 0.2501688003540039, 0.3212754428386688, -0.4796150326728821, 0.22194647789001465, -0.2351755052804947, -1.06998610496521, -0.25951552391052246, -0.5050277709960938, -1.0863873958587646, 0.293765664100647, 0.04239034652709961, -0.6040167808532715, -0.17749418318271637, 0.1888616532087326, -0.1729423552751541, 0.6101588606834412, -1.0235884189605713, 0.9561342000961304, -0.5293285846710205, -0.10237329453229904, -0.4567216634750366, -0.9350024461746216, 0.5920485854148865, -0.7058641910552979, 0.39310336112976074, 0.1550276279449463, -0.05318542197346687, 0.5101999044418335, -0.4127418100833893, 0.8836092352867126, -0.1306404322385788, -0.4406101405620575, -0.34226641058921814, 0.45620715618133545, 0.5247300863265991, 0.12954387068748474, -0.26719722151756287, 0.6012151837348938, 0.09139716625213623, -0.654679536819458, -0.6036407947540283, 0.675391435623169, -0.5481885075569153, -0.9023529887199402, -0.5615670680999756, -0.31541183590888977, -0.0758761465549469, 0.21088086068630219, 0.6173816919326782, 0.27582234144210815, 0.0999416783452034, 0.1905117779970169, 0.5023874640464783, -0.6029855012893677, 0.4823237657546997, 0.5481922030448914, -0.3579413890838623, -0.810746431350708, 1.1980164051055908, 0.21357375383377075, 0.6356651186943054, 0.639166533946991, 0.09761680662631989, 0.06750690191984177, -0.47648608684539795, -0.9143688678741455, 0.18909384310245514, -0.5483126044273376, -0.4344252049922943, -0.7673420906066895, -0.20087622106075287, -0.4164125919342041, -0.00912642851471901, -0.5140548944473267, -0.4438043236732483, 0.14865873754024506, 0.2022237479686737, 0.4250107705593109, 0.4745382070541382, 0.0400870256125927, 0.6038889288902283, -1.460697054862976, 0.16489645838737488, 0.006002997048199177, 0.20753219723701477, -0.27488821744918823, -0.5581957101821899, -0.6523825526237488, 0.11545823514461517, -0.40486180782318115, -1.4196102619171143, 0.3925180435180664, -0.17081840336322784, 0.49192702770233154, 0.19436994194984436, -0.03485127538442612, 0.3438820242881775, -0.7086223363876343, 0.9310758709907532, 0.3716092109680176, -0.7278463840484619, 0.6259390711784363, -0.26159340143203735, 0.3080044686794281, 0.4576352834701538, 0.39279547333717346, -1.1535686254501343, -0.8187444806098938, -0.45760273933410645, -0.6579130291938782, 0.6315341591835022, 0.2436021864414215, 0.5698651075363159, 0.22912250459194183, -0.07459700852632523, 0.30264711380004883, 0.343583881855011, -0.550483763217926, -0.4147169888019562, -0.32313787937164307, 0.08310899883508682, -0.22995121777057648, -0.25768589973449707, -0.07287941128015518, 0.25436022877693176, 0.619464099407196, 0.22630776464939117, 0.08245154470205307, -0.10953331738710403, -0.2647154629230499, -0.057524461299180984, 0.652551531791687, 0.8263570070266724, 0.29303231835365295, -0.03406739979982376, 0.44528788328170776, 0.45035308599472046, -0.8440672755241394, 0.23835472762584686, -0.0716070756316185, 0.012943156994879246, 0.07608012855052948, 0.31717267632484436, 0.36220958828926086, 0.23999646306037903, -0.20320647954940796, 0.46646857261657715, -0.10914944112300873, 0.28302091360092163, 0.05810994282364845, -0.22174446284770966, -0.13920150697231293, 0.17639358341693878, 0.3949452340602875, 0.23637253046035767, -0.10125314444303513, -0.7450156211853027, 0.094082772731781, 0.4149415194988251, -0.4017632007598877, -0.6451007127761841, 0.35945120453834534, 0.349448025226593, -0.5647292137145996, 0.6075185537338257, 0.17986755073070526, -1.002471923828125, 0.299364298582077, 0.7932711243629456, 1.118579387664795, -0.7436773180961609, -0.30453842878341675, -0.14147312939167023, 0.9224175810813904, 0.519911527633667, 0.29873546957969666, 0.13117511570453644, -0.4810837507247925, -0.13520987331867218, -0.5158354640007019, -0.32532423734664917, 0.11575385928153992, -0.32150381803512573, 0.10499769449234009, -0.19793260097503662, -0.2990683615207672, -0.3994655907154083, -0.21318864822387695, -0.28050199151039124, -0.049520667642354965, -0.17207689583301544, 0.7656910419464111, -0.8765778541564941, 0.8556106686592102, 0.5198774933815002, -0.45294517278671265, -0.30749818682670593, 0.121005117893219, -0.0026786301750689745, -0.7853124737739563, 0.916740357875824, -0.013335640542209148, -0.2845255732536316, -0.04748223349452019, -0.13756337761878967, -0.7519648671150208, 0.503071129322052, 0.4918947219848633, -0.15276479721069336, 0.16189351677894592, 0.3562213182449341, 0.27093029022216797, 0.23919320106506348, -0.5193670392036438, 0.3554126024246216, 0.6075304746627808, -0.4026962220668793, -0.997327446937561, 0.12775598466396332, -0.2253812849521637, -0.18657591938972473, 0.6372423768043518, -0.6995355486869812, 0.9040704965591431, -0.03501293808221817, -0.45391717553138733, -0.26297810673713684, 0.34957897663116455, -0.011201959103345871, 0.4872415363788605, 0.16743305325508118, 0.5542725920677185, 0.3987332880496979, 0.10667803138494492, 1.0160661935806274, -0.42516225576400757, -0.2048296332359314, 1.0194182395935059, -0.1996975690126419, 0.9929307699203491, 0.8886952996253967, 0.01586814969778061, 0.16793763637542725, 0.47101762890815735, 0.027688821777701378, 0.4908134937286377, -0.0909620001912117, -0.25815925002098083, 0.2254355251789093, 0.051222771406173706, -0.7748040556907654, 0.4469199776649475, 0.4233650267124176, -0.5062505006790161, -0.08755472302436829, 0.3963886499404907, 0.452676385641098, -0.09247860312461853, -0.19943808019161224, 0.58006751537323, 0.2707996666431427, -0.45563575625419617, 0.5418648719787598, 0.4327830374240875, 0.5685189366340637, -0.49186286330223083, 0.1432017832994461, -0.3529528081417084, 0.13220074772834778, -0.4302528500556946, -0.9398142099380493, 0.688900887966156, 0.27159884572029114, -0.16936597228050232, -0.29746267199516296, 0.4294652044773102, -0.2010549008846283, -0.19000104069709778, 0.29581788182258606, 0.5004398226737976, 0.37218427658081055, -0.2813340723514557, -0.5570623874664307, 0.05989452823996544, -0.05959002301096916, -0.16520607471466064, 0.46222928166389465, 0.5429362058639526, -0.12060287594795227, 0.5086493492126465, 0.9743714928627014, 0.28653067350387573, 0.299395889043808, -0.18818646669387817, 0.6587579846382141, -0.7761776447296143, -0.5037643313407898, -1.3274005651474, 0.34636759757995605, -0.11229772120714188, -0.18203164637088776, 1.3158938884735107, 0.8235149383544922, 0.8912537693977356, -0.0038194837979972363, 0.7100381851196289, 0.3548041880130768, 0.02828243374824524, -0.7832954525947571, 1.1851435899734497, -0.7050943374633789, 0.17498786747455597, -0.2856699526309967, -0.7284324765205383, -0.4052436947822571, -0.2033368945121765, -0.1615857630968094, -0.22294498980045319, 1.0962409973144531, 0.91913241147995, -0.005383970681577921, -0.18584975600242615, 0.6224141716957092, 0.3086460828781128, 0.3184492290019989, 0.5766654014587402, 0.8659577965736389, -0.46113336086273193, 0.9788076877593994, -0.15210144221782684, 0.0316026397049427, -0.44166961312294006, -0.6517676711082458, -0.8958665728569031, -0.3907281160354614, 0.18359874188899994, -0.638026773929596, 0.19011710584163666, 0.7051509618759155, 0.3737051784992218, -0.7948547601699829, -0.18920576572418213, 0.5794864892959595, 0.5078307390213013, -0.12979494035243988, -0.1446963995695114, 0.1086551770567894, -0.16421009600162506, -0.4813482165336609, 0.5445936918258667, 0.5555768609046936, 0.07708001881837845, -0.6226499676704407, 0.01659724861383438, -0.12049353867769241, -0.09441068768501282, 0.4171355068683624, 0.19638101756572723, -0.5918023586273193, -0.17511777579784393, 0.05942988023161888, -0.7771929502487183, 0.03471635654568672, 0.8481990694999695, -0.2737373411655426, 0.35794541239738464, 0.5980851650238037, 0.8700003623962402, 0.1682746559381485, -0.5005011558532715, 0.6411715745925903, -1.210034966468811, 0.37108898162841797, 0.16148996353149414, 0.15987472236156464, 0.34377846121788025, -0.616629421710968, 0.2528727352619171, 0.4497549831867218, -0.23299279808998108, -1.1900253295898438, 0.5788183212280273, -0.4625433385372162, -0.3611605167388916, 0.8762000799179077, -0.03147868439555168, -0.4345568120479584, -0.23918534815311432, -0.1606028974056244, 0.3545258343219757, -0.21097098290920258, 0.595546543598175, 0.7345302104949951, 0.3219410479068756, 0.2709176540374756, -0.9099173545837402, 0.16449521481990814, 0.29440027475357056, -0.7039471864700317, 0.009196383878588676, 0.13466313481330872, 0.1639576107263565, 0.44834572076797485, 0.2509741187095642, -0.3412179946899414, 0.28091883659362793, 0.1606825441122055, -0.1640181988477707, 0.017342584207654, -0.41048741340637207, -0.5561853647232056, 0.4184528887271881, -0.1466463804244995, -0.4235268533229828 ]
http://arxiv.org/abs/2404.02392v1
http://arxiv.org/pdf/2404.02392v1
Low-resource neural machine translation with morphological modeling
2024-04-03T01:31:41
2024-04-03T01:31:41
Antoine Nzeyimana
cs.CL
cs.CL, I.2.7; I.2
Morphological modeling in neural machine translation (NMT) is a promising approach to achieving open-vocabulary machine translation for morphologically-rich languages. However, existing methods such as sub-word tokenization and character-based models are limited to the surface forms of the words. In this work, we propose a framework-solution for modeling complex morphology in low-resource settings. A two-tier transformer architecture is chosen to encode morphological information at the inputs. At the target-side output, a multi-task multi-label training scheme coupled with a beam search-based decoder are found to improve machine translation performance. An attention augmentation scheme to the transformer model is proposed in a generic form to allow integration of pre-trained language models and also facilitate modeling of word order relationships between the source and target languages. Several data augmentation techniques are evaluated and shown to increase translation performance in low-resource settings. We evaluate our proposed solution on Kinyarwanda - English translation using public-domain parallel text. Our final models achieve competitive performance in relation to large multi-lingual models. We hope that our results will motivate more use of explicit morphological information and the proposed model and data augmentations in low-resource NMT.
[ -0.25272831320762634, -0.5962215065956116, 0.25830161571502686, 0.16828793287277222, -0.5349596738815308, -0.1519002914428711, -0.30064907670021057, -0.3946404457092285, 0.3309299945831299, 0.4861891269683838, -0.44380295276641846, -0.2647722065448761, -0.7051064372062683, 0.21377557516098022, -0.1283637285232544, 0.5060022473335266, -0.17545725405216217, 0.4065302014350891, 0.07428096234798431, -0.17841662466526031, -0.49339842796325684, -0.472314715385437, -0.4608227610588074, -0.4508070945739746, 0.4670912027359009, 0.12391145527362823, 0.8405606150627136, 1.1179896593093872, 0.6490494012832642, 0.3262020945549011, -0.44817137718200684, 0.2966887354850769, -0.15891849994659424, -0.04965925216674805, -0.23063045740127563, -0.5261711478233337, -0.7108241319656372, -0.2467665821313858, 0.5931391716003418, 0.9230914115905762, 0.08403915911912918, 0.12813685834407806, 0.10546944290399551, 0.2676187753677368, -0.3552843928337097, 0.31317198276519775, -0.6110154390335083, 0.16183705627918243, -0.29808610677719116, -0.09302296489477158, -0.24427610635757446, 0.07978043705224991, -0.04122833535075188, -0.4043543338775635, 0.12711453437805176, -0.012527725659310818, 0.5552888512611389, 0.5641677379608154, -0.13391120731830597, 0.06306269764900208, -0.6156363487243652, 0.6220114231109619, -0.7206969857215881, 0.46200329065322876, 0.31841933727264404, 0.16845844686031342, 0.2404368817806244, -0.5293242931365967, -0.2650950253009796, -0.23958513140678406, -0.3270433247089386, 0.18837513029575348, -0.31942853331565857, 0.2284730076789856, 0.14607737958431244, 0.4086749851703644, -0.5006877779960632, 0.3529621958732605, -0.3604887127876282, -0.16338376700878143, 0.11423991620540619, 0.3650680184364319, 0.3182912766933441, -0.4778093695640564, -0.3488130569458008, -0.028963591903448105, -0.5123937726020813, -0.1689574122428894, 0.08269411325454712, 0.701884925365448, -0.1763748675584793, 1.0686317682266235, -0.18600940704345703, 0.5248578786849976, -0.02961675077676773, 0.12658636271953583, 0.10162843018770218, -0.44170647859573364, -0.16913621127605438, 0.1564112901687622, 0.7110020518302917, 0.07813262939453125, -0.17394009232521057, -0.3213641047477722, -0.6040394902229309, 0.0758896917104721, 0.17491799592971802, -0.9098694920539856, 0.15154191851615906, -0.030580859631299973, -0.7065746188163757, -0.2488427460193634, -0.5757043361663818, -0.8671121597290039, -0.4848625361919403, -0.4397996962070465, 0.34982162714004517, -0.5965285897254944, -0.35983192920684814, 0.18453983962535858, 0.30124497413635254, -0.0962175577878952, 0.11266119033098221, -0.7495598196983337, 0.3264836370944977, 0.39841920137405396, 1.2896517515182495, -0.3507397174835205, -0.19247160851955414, -0.38016852736473083, 0.053754791617393494, -0.2566896975040436, 0.48318278789520264, -0.4428405463695526, -0.1739058941602707, -0.06817843019962311, -0.045932430773973465, -0.23303507268428802, -0.5172502994537354, 0.4434985816478729, -0.34742945432662964, -0.04698929190635681, 0.3590337634086609, -0.1683502346277237, -0.07781972736120224, 0.2520856559276581, -0.8187929391860962, 0.8136100769042969, 0.28817644715309143, -0.5677617788314819, -0.2590042054653168, -1.1412853002548218, -0.5978707075119019, 0.2642490863800049, 0.16742567718029022, -0.18400968611240387, 0.43581312894821167, 0.15925855934619904, 0.3158946931362152, -0.5051064491271973, 0.2717113792896271, 0.028542546555399895, -0.10957092046737671, 0.09540001302957535, -0.7114267945289612, 0.5007563233375549, 0.3361225724220276, -0.23180118203163147, 0.2144940197467804, -0.5265840888023376, -0.08736097067594528, 0.1749664843082428, -0.5280988812446594, -0.27785345911979675, -0.27122241258621216, 0.40497779846191406, 0.3686142563819885, 0.43111589550971985, -0.5394168496131897, 0.2416088730096817, -0.7407570481300354, 0.676959216594696, 0.29047420620918274, -0.26605913043022156, 0.8379974961280823, -0.061237357556819916, 0.4652327299118042, 0.4754568934440613, 0.13624964654445648, -0.09474658966064453, -0.5848495960235596, -0.8060672879219055, -0.19473981857299805, 0.49076998233795166, 0.44531095027923584, -1.1334589719772339, 0.0745881050825119, -0.6821317672729492, -0.3669295608997345, -1.0028458833694458, -0.1114630177617073, 0.5566455125808716, 0.5033746957778931, 0.7120895981788635, -0.2623002231121063, -0.3356248438358307, -1.1264199018478394, 0.06134985387325287, 0.17479801177978516, -0.1472546011209488, 0.28667137026786804, 0.31169837713241577, -0.3997269868850708, 0.6164572834968567, -0.36137640476226807, -0.3222582936286926, -0.34673842787742615, 0.24548639357089996, 0.3045671582221985, 0.5720203518867493, 0.3824845254421234, -0.7640073299407959, -0.19883573055267334, 0.5042077898979187, -0.2998826205730438, 0.008537465706467628, 0.2555878162384033, -0.08406825363636017, 0.16364753246307373, 0.22957642376422882, -0.8414016366004944, 0.293466717004776, 0.566746175289154, 0.06751890480518341, 0.20170673727989197, -0.29271095991134644, 0.03184696286916733, -1.3077582120895386, 0.2375338226556778, 0.07401683181524277, -0.05079314857721329, -0.7998123168945312, 0.22797077894210815, 0.2180878072977066, -0.5436620116233826, -0.7866455316543579, 0.5397611260414124, -0.12246223539113998, -0.08726808428764343, -0.3656870126724243, -0.09893668442964554, -0.10625030100345612, 0.6818506717681885, 0.17413544654846191, 0.8787213563919067, 0.24783340096473694, -0.4296741485595703, 0.20995767414569855, 0.20264789462089539, -0.10979641228914261, 0.3159983456134796, -0.6227673888206482, -0.0010962790111079812, -0.07352276891469955, -0.15386807918548584, -0.6108217239379883, -0.4524565041065216, 0.40512675046920776, -0.31676334142684937, 0.3470689654350281, -0.4571867883205414, -0.6088906526565552, -0.09696216881275177, 0.08618725836277008, 0.5659721493721008, 0.469399094581604, -0.2685689330101013, 0.6472225785255432, 0.3390558660030365, -0.3040759563446045, -0.15947571396827698, -0.9325178265571594, 0.1948775351047516, -0.053258128464221954, -0.6205252408981323, 0.7641194462776184, 0.19502800703048706, 0.11310016363859177, 0.1371890753507614, 0.011145543307065964, -0.5437489151954651, -0.0018338299123570323, -0.05456218495965004, 0.18285033106803894, -0.6245460510253906, 0.06423310935497284, 0.1711767613887787, -0.11284641176462173, -0.21464164555072784, -0.6438373327255249, 0.8469850420951843, -0.052894555032253265, -0.2607390582561493, -0.3121209442615509, 0.4537489712238312, 0.7929020524024963, -0.5215304493904114, 0.6864746809005737, 0.7486340999603271, -0.8698053359985352, 0.1431339681148529, -0.2677241563796997, -0.23156212270259857, -0.368147611618042, 0.7221108078956604, -0.5527350902557373, -0.5679371356964111, 0.4258027672767639, -0.18147669732570648, -0.2501656413078308, 0.4417518973350525, 0.6809088587760925, -0.014707510359585285, 1.1476771831512451, 0.697716474533081, 0.11394523829221725, 0.5077360272407532, -0.28754091262817383, 0.18601611256599426, -0.9365639686584473, -0.22236819565296173, -0.34247052669525146, -0.5040884017944336, -0.5703929662704468, -0.6437486410140991, 0.29755669832229614, 0.14124378561973572, 0.10423304885625839, 0.7033213973045349, -0.5737614035606384, 0.2505674660205841, 0.45654618740081787, 0.2625217139720917, 0.14881673455238342, 0.11526517570018768, -0.20884446799755096, -0.2144213169813156, -0.9416744709014893, -0.512241780757904, 0.4709736406803131, 0.3465365469455719, 0.5603968501091003, 0.053137049078941345, 0.30872297286987305, 0.052858561277389526, 0.1897680014371872, -0.9275170564651489, 0.3598623275756836, -0.5453876256942749, -0.3186327815055847, -0.3614044785499573, -0.5916564464569092, -0.8323114514350891, 0.5010680556297302, -0.09123077988624573, -0.28900063037872314, 0.17468349635601044, -0.019721243530511856, -0.29327642917633057, 0.3938979506492615, -0.6927023530006409, 0.8784541487693787, -0.3303726613521576, -0.20687317848205566, -0.18221861124038696, -0.471671462059021, 0.2661576271057129, -0.18444928526878357, 0.06572367250919342, 0.08232898265123367, -0.30539655685424805, 0.4229861795902252, -0.3538617789745331, 0.8531495928764343, -0.10653603076934814, 0.00019329448696225882, 0.0362682044506073, 0.14545801281929016, 0.4619179666042328, -0.16141408681869507, -0.14423489570617676, 0.367616206407547, -0.30654972791671753, -0.2996369004249573, -0.38953515887260437, 0.45187053084373474, -0.7259365916252136, -0.3387615382671356, 0.006012703292071819, -0.8031690120697021, -0.05849530175328255, 0.3721310496330261, 0.362400621175766, 0.17910905182361603, 0.07092712074518204, 0.28480249643325806, 0.4989974796772003, -0.0994187444448471, 0.3900270164012909, 0.2686605453491211, 0.11757972091436386, -0.5131259560585022, 0.9317227602005005, 0.310258686542511, 0.1431961953639984, 0.4701975882053375, 0.1820434033870697, -0.2758200764656067, -0.6766083240509033, -0.8502646684646606, 0.16826581954956055, -0.44951415061950684, -0.5179337859153748, -0.758094072341919, -0.3127705752849579, -0.26506567001342773, 0.24206385016441345, -0.6620420813560486, -0.45699137449264526, -0.32402321696281433, 0.23860636353492737, 0.24818840622901917, 0.6334334015846252, 0.24195539951324463, 0.6086688041687012, -0.8592333793640137, 0.3731600344181061, -0.08318907022476196, 0.40655404329299927, 0.025413639843463898, -0.6312291622161865, -0.519159197807312, 0.31461644172668457, -0.24444904923439026, -0.7037688493728638, 0.6457633376121521, -0.06635531038045883, 0.35986873507499695, -0.12646959722042084, -0.1306781768798828, 0.5899600386619568, -0.719601035118103, 0.40943124890327454, 0.2840704917907715, -0.8234723210334778, 0.4514960050582886, -0.2973102033138275, 0.44478270411491394, 0.11935928463935852, 0.1614195555448532, -0.5063168406486511, -0.1818791925907135, -0.15192005038261414, -0.7732214331626892, 0.9274030327796936, 0.39024806022644043, 0.2492717206478119, 0.08518026769161224, 0.17499230802059174, 0.017140518873929977, 0.06784364581108093, -0.6068358421325684, 0.02175133116543293, -0.2978203296661377, -0.42017269134521484, 0.19638846814632416, -0.09015211462974548, 0.12316462397575378, -0.04210364818572998, 0.421480655670166, -0.19520384073257446, 0.1212376281619072, -0.06630139797925949, -0.3778398334980011, -0.15833133459091187, 0.3179682493209839, 0.7235523462295532, 0.08177529275417328, 0.048884984105825424, 0.18225999176502228, 0.3826477527618408, -0.5151852369308472, 0.21097002923488617, 0.21962347626686096, -0.31416571140289307, 0.20855830609798431, 0.1770707368850708, 0.914506733417511, 0.43284738063812256, -0.25425851345062256, 0.396688312292099, 0.144293874502182, -0.06980793178081512, 0.4358604848384857, -0.2728969156742096, 0.3504446744918823, 0.2569575905799866, 0.13418486714363098, 0.6233416199684143, 0.036124441772699356, -0.07543005794286728, 0.005317844450473785, 0.058130789548158646, -0.49537789821624756, -0.4810631573200226, 0.6667435765266418, 0.29664313793182373, -0.4739435017108917, 0.47985178232192993, -0.04310925677418709, -0.4866046905517578, 0.5397474765777588, 0.6115404367446899, 0.8061046004295349, -0.3022162616252899, 0.011332024820148945, 0.1884671449661255, 0.493747740983963, -0.12109263986349106, 0.002686948049813509, 0.09728439897298813, -0.33037951588630676, -0.6305670738220215, -0.8588094115257263, -0.16307814419269562, 0.3411634862422943, -0.44328439235687256, 0.3282355070114136, -0.031085392460227013, -0.2988646626472473, -0.12518419325351715, -0.2972519099712372, -0.7287123203277588, -0.04239324852824211, 0.1559380441904068, 0.8515778183937073, -0.6361792683601379, 0.9205859899520874, 0.8110257983207703, -0.6001815795898438, -0.3808232247829437, -0.22158314287662506, -0.4523470997810364, -0.6027166843414307, 0.7045972347259521, 0.13567276298999786, -0.25129780173301697, 0.17958196997642517, -0.018179738894104958, -0.9119691848754883, 0.9838874340057373, 0.7573148608207703, -0.4749319851398468, -0.3260573148727417, 0.5502038598060608, 0.603553831577301, -0.3142409026622772, 0.010815056040883064, 0.22243064641952515, 0.4007868468761444, -0.138739675283432, -0.8972418904304504, -0.09479506313800812, -0.277947336435318, 0.4110545217990875, 0.16327981650829315, -0.28723815083503723, 0.9812607169151306, 0.17184530198574066, -0.3255605697631836, 0.16531431674957275, 0.4782129228115082, -0.09692038595676422, -0.1263124644756317, 0.2632485330104828, 0.42432090640068054, 0.37897464632987976, -0.05440220609307289, 0.9759030938148499, -0.5888814330101013, 0.3086031973361969, 0.8252614140510559, -0.054567378014326096, 0.7341156005859375, 0.5229541659355164, 0.12411434203386307, -0.27944767475128174, 0.6196631789207458, 0.10046128928661346, 0.7527167797088623, 0.14609484374523163, -0.06847197562456131, -0.20646825432777405, -0.7188445925712585, -0.34956392645835876, 0.47368568181991577, 0.2638278305530548, -0.4740898311138153, -0.3655232787132263, 0.2583082318305969, -0.19451454281806946, 0.012884147465229034, -0.5767590403556824, 0.7097970843315125, 0.10977374762296677, -0.4433947205543518, 0.6199756860733032, 0.51656174659729, 0.7578944563865662, -0.26397913694381714, -0.0896301120519638, -0.3718312680721283, 0.20922964811325073, -0.04039895907044411, -0.5671716332435608, 0.4739703834056854, 0.23600417375564575, -0.44461938738822937, -0.39955827593803406, 0.6374509334564209, -0.7047340273857117, -0.5970045328140259, 0.37905868887901306, 0.7876451015472412, 0.08874877542257309, -0.08241872489452362, -0.5275431871414185, -0.0017520845867693424, -0.35757043957710266, -0.09863850474357605, 0.3840714693069458, 0.6196131110191345, -0.22408781945705414, 0.3308146297931671, 0.5091292858123779, 0.19977019727230072, 0.3297118842601776, 0.15578098595142365, 0.8692120313644409, -0.30169805884361267, -0.4063847064971924, -0.89523845911026, 0.42537233233451843, 0.03482804074883461, -0.14546000957489014, 0.24479591846466064, 0.665119469165802, 0.7304875254631042, -0.3834156394004822, 0.5213087797164917, 0.2281830608844757, 0.08497613668441772, -0.5120877027511597, 0.9442229270935059, -0.5080824494361877, -0.16805925965309143, 0.22275933623313904, -1.0634009838104248, -0.34766441583633423, 0.38830268383026123, -0.13402700424194336, -0.2511156499385834, 0.5584656596183777, 0.7750393748283386, -0.54118412733078, -0.29018619656562805, 0.6203221082687378, 0.11970289796590805, -0.03339080885052681, 0.4213597774505615, 0.6021817922592163, -0.43665897846221924, 0.8792890310287476, -0.3408060073852539, 0.010770249180495739, -0.3442692756652832, -0.4512562155723572, -0.6274287700653076, -0.4823574125766754, -0.050995610654354095, -0.1292113959789276, -0.056648701429367065, 0.9183596968650818, 0.6544936299324036, -0.6832350492477417, -0.13541561365127563, -0.054365336894989014, -0.1323758214712143, -0.11765606701374054, -0.13372990489006042, 0.2742193043231964, -0.5529524087905884, -0.9182301759719849, 0.61606764793396, 0.41472285985946655, 0.16350425779819489, -0.2667330205440521, -0.04859286546707153, -0.013032103888690472, -0.06317611783742905, 0.6749014854431152, -0.24861951172351837, -0.9026738405227661, 0.018240781500935555, 0.36722618341445923, -0.608128547668457, 0.3533830940723419, 0.6660347580909729, -0.32545381784439087, 0.2630839943885803, 0.4272352159023285, 1.0472323894500732, 0.51643967628479, -0.22314001619815826, 0.42307960987091064, -0.8819076418876648, 0.162290558218956, 0.44744452834129333, 0.5580520629882812, 0.3945537209510803, -0.33840805292129517, 0.4799330532550812, 0.16408377885818481, 0.10657469183206558, -0.7592012286186218, 0.3819827139377594, -0.5858832597732544, -0.12490347772836685, 0.8859136700630188, -0.09344159066677094, -0.48642826080322266, 0.03604355454444885, -0.18098202347755432, 0.5728418827056885, -0.18801434338092804, 0.5035413503646851, 0.6019056439399719, 0.1876337081193924, -0.1703268438577652, -0.583053708076477, 0.08820413798093796, 0.3053493797779083, -0.6760013103485107, 0.15508651733398438, 0.1849290430545807, -0.11159554868936539, 0.513798177242279, 0.1869945377111435, -0.2349860966205597, 0.11445251107215881, 0.006521138828247786, 0.12117341160774231, -0.3017725646495819, -0.2530692219734192, -0.541757345199585, 0.11730165779590607, -0.20055320858955383, -0.37127038836479187 ]
http://arxiv.org/abs/2404.02389v1
http://arxiv.org/pdf/2404.02389v1
On Linearizing Structured Data in Encoder-Decoder Language Models: Insights from Text-to-SQL
2024-04-03T01:16:20
2024-04-03T01:16:20
Yutong Shao, Ndapa Nakashole
cs.CL
cs.CL, cs.AI
Structured data, prevalent in tables, databases, and knowledge graphs, poses a significant challenge in its representation. With the advent of large language models (LLMs), there has been a shift towards linearization-based methods, which process structured data as sequential token streams, diverging from approaches that explicitly model structure, often as a graph. Crucially, there remains a gap in our understanding of how these linearization-based methods handle structured data, which is inherently non-linear. This work investigates the linear handling of structured data in encoder-decoder language models, specifically T5. Our findings reveal the model's ability to mimic human-designed processes such as schema linking and syntax prediction, indicating a deep, meaningful learning of structure beyond simple token sequencing. We also uncover insights into the model's internal mechanisms, including the ego-centric nature of structure node encodings and the potential for model compression due to modality fusion redundancy. Overall, this work sheds light on the inner workings of linearization-based methods and could potentially provide guidance for future research.
[ 0.1751880794763565, -0.8849998712539673, 0.6334933638572693, -0.10478667169809341, -0.1926402598619461, 0.08624114096164703, -0.04714622348546982, -0.5259859561920166, 0.2333715856075287, 0.42769262194633484, -0.48324739933013916, -0.6425997018814087, -0.35396116971969604, 0.25777289271354675, -0.7543941736221313, 1.0022135972976685, -0.016043860465288162, 0.23043489456176758, -0.31987419724464417, 0.06498365849256516, -0.34718945622444153, -0.8541550040245056, -0.3068973422050476, -0.5206910371780396, 0.657092273235321, 0.009953908622264862, 0.6869613528251648, 1.1684119701385498, 0.35558220744132996, 0.15610343217849731, -0.06810507923364639, 0.0008640381856821477, -0.8135272264480591, 0.18791453540325165, 0.05156654864549637, -0.6028980612754822, -0.5590329170227051, -0.1989993005990982, 0.7075105905532837, 1.4049692153930664, -0.11009275913238525, 0.12731458246707916, 0.10533229261636734, 0.5350450873374939, -0.20463193953037262, 0.37517473101615906, -0.6799136400222778, 0.13959135115146637, -0.3789827525615692, -0.15876592695713043, -0.6886582970619202, -0.3554072380065918, -0.32627636194229126, -0.4399018883705139, 0.1609688699245453, 0.15070892870426178, 0.7901375889778137, 0.34089112281799316, -0.6110787987709045, -0.4352140426635742, -1.0399609804153442, 0.5061426162719727, -0.666961133480072, 0.6222870349884033, 0.3615242838859558, 0.07333871722221375, -0.30756354331970215, -0.9657984972000122, -0.41357287764549255, -0.04508659616112709, -0.26015129685401917, -0.42496389150619507, 0.21446222066879272, 0.34660691022872925, 0.39509317278862, 0.32699811458587646, -0.4411688446998596, 0.08023037016391754, -0.5986674427986145, 0.02842647209763527, 0.48138245940208435, 0.1523492932319641, 0.1571325957775116, -0.2603038251399994, -0.3893287777900696, 0.30607733130455017, -0.706005871295929, 0.06024866923689842, 0.2229061871767044, 0.4509238004684448, 0.1643853634595871, 0.7947705388069153, 0.0620337538421154, 0.8015660643577576, 0.02419549599289894, -0.005587036721408367, 0.2894192039966583, -0.5980548858642578, -0.38801807165145874, -0.045403510332107544, 0.5934123396873474, 0.04286720231175423, 0.3558383882045746, -0.5770930647850037, -0.5773304104804993, 0.13780063390731812, 0.3714801073074341, -0.7938185930252075, -0.3662961721420288, 0.509977400302887, -0.7048841714859009, -0.44415032863616943, -0.17239265143871307, -0.4590984880924225, -0.20850014686584473, -0.28114086389541626, 0.21627239882946014, -0.4027133882045746, 0.11339274793863297, 0.2046828716993332, -0.03781205788254738, 0.3807072043418884, 0.12801963090896606, -1.0508314371109009, 0.7147446870803833, 0.7327819466590881, 0.6866225600242615, -0.022854797542095184, 0.2436228096485138, -0.45378127694129944, 0.19821670651435852, -0.5016374588012695, 0.5858927965164185, -0.9152935743331909, -0.2509938180446625, -0.07438643276691437, -0.22221188247203827, -0.07416609674692154, -0.28455936908721924, 0.6125984787940979, -0.5219182372093201, 0.2345249056816101, -0.4770430624485016, -0.8408492803573608, 0.09930669516324997, 0.1075754389166832, -0.6175561547279358, 1.0201369524002075, -0.1800859123468399, -0.6336775422096252, 0.45523884892463684, -0.6007566452026367, -0.2889162003993988, -0.010071451775729656, -0.42693892121315, -0.5474512577056885, 0.28240787982940674, 0.17122754454612732, 0.4479149878025055, -0.15209639072418213, 0.3348581790924072, -0.5524394512176514, -0.4839715361595154, 0.24228093028068542, -0.03997500240802765, 0.33255311846733093, 0.060625992715358734, 0.14384977519512177, 0.18953837454319, -0.9193039536476135, 0.06809109449386597, 0.25761178135871887, -0.48087674379348755, -0.2709020972251892, 0.6095736622810364, -0.0012311609461903572, 0.374356746673584, 0.23406989872455597, -0.6256418228149414, 0.49029192328453064, -0.5543124079704285, 0.6662390232086182, 0.7210841178894043, -0.05602436140179634, 0.6449677348136902, -0.04394667595624924, 0.1862783432006836, 0.21798360347747803, -0.03402644395828247, -0.3610599935054779, -0.19016379117965698, -0.7538369297981262, 0.017470628023147583, 0.2706070840358734, 0.33743780851364136, -0.5893625020980835, 0.2261478155851364, -0.5594686269760132, -0.015315396711230278, -0.4943145215511322, 0.07021094113588333, 0.3079628348350525, 0.6931018829345703, 0.3883134424686432, -0.2057819813489914, -0.5960536599159241, -0.7945587038993835, -0.23417173326015472, 0.08784476667642593, -0.1185283288359642, 0.30578771233558655, 0.5847848653793335, -0.2552090585231781, 1.0573253631591797, -0.3688628077507019, -0.20280590653419495, -0.3328584134578705, -0.08250109851360321, 0.39739397168159485, 0.3684717118740082, 0.4120159447193146, -0.4810793995857239, -0.1486969143152237, -0.15540675818920135, -0.9264571666717529, -0.15940193831920624, -0.15612971782684326, 0.2235115021467209, 0.26708194613456726, 0.7576828598976135, -0.4777108132839203, 0.4164718985557556, 0.3096579611301422, -0.49877333641052246, 0.10914287716150284, -0.09715341031551361, -0.40603989362716675, -1.2557272911071777, 0.1562773734331131, -0.2927863299846649, -0.4821912944316864, -0.9947715401649475, -0.23593869805335999, 0.09666301310062408, -0.20173178613185883, 0.13380855321884155, -0.01451969426125288, -0.6059306263923645, -0.5704408884048462, 0.022889120504260063, 0.04520007222890854, 0.07915341854095459, 0.5887423157691956, -0.09305049479007721, 0.5707838535308838, 0.1082335114479065, -0.3621353507041931, 0.1461736410856247, 0.3064185082912445, -0.004176596645265818, 0.26896828413009644, -0.9901361465454102, 0.5943337678909302, -0.5343480706214905, 0.3642688989639282, -0.8933895230293274, -0.0892973467707634, 0.13157132267951965, -0.41577696800231934, 0.28202754259109497, -0.38281965255737305, -0.672638475894928, -0.0024750162847340107, -0.27637699246406555, 0.36076056957244873, 0.3412626087665558, -0.2647574841976166, 0.6527811884880066, 0.38559454679489136, 0.20257504284381866, -0.6113836765289307, -0.7869372963905334, 0.17169231176376343, -0.10403325408697128, -0.7270213961601257, 0.4367111027240753, 0.0734647735953331, -0.2158614546060562, 0.11788003891706467, -0.2864496409893036, -0.1190224140882492, 0.07174348831176758, 0.18244744837284088, 0.26096203923225403, -0.22909310460090637, 0.324147492647171, -0.13558132946491241, 0.0685739815235138, 0.21868017315864563, -0.872645914554596, 0.7495668530464172, -0.022629551589488983, -0.16611677408218384, -0.3514145016670227, 0.24192427098751068, 0.341257780790329, -0.28571099042892456, 1.193149447441101, 0.28952735662460327, -0.5531008243560791, -0.391755074262619, -0.10007118433713913, -0.2341051697731018, -0.4302772879600525, 0.36606115102767944, -0.5654336214065552, -0.6535985469818115, 0.7712329626083374, -0.07499329000711441, 0.13408508896827698, 0.19698062539100647, 0.29156896471977234, -0.44952332973480225, 0.8157718777656555, 0.5646400451660156, 0.026209885254502296, 0.4618653953075409, -0.23236890137195587, 0.4716564118862152, -0.5718748569488525, -0.603661835193634, -0.5461212992668152, -0.4988636374473572, -0.34909147024154663, -0.4397040009498596, 0.27830180525779724, 0.10104461759328842, -0.07192616164684296, 0.17041459679603577, -0.23503929376602173, 0.4314039349555969, -0.022036563605070114, 0.03332856297492981, 0.43600890040397644, 0.07843940705060959, -0.1913875788450241, -0.023476039990782738, -0.6789137125015259, -0.3240388035774231, 1.0728613138198853, 0.6172626614570618, 0.9830804467201233, -0.002192975953221321, 0.6391286849975586, 0.1581876277923584, -0.24158869683742523, -0.8364271521568298, 0.40377452969551086, -0.14414536952972412, -0.1783473938703537, -0.20110714435577393, -0.4670194089412689, -1.0651012659072876, 0.16294315457344055, -0.2544229030609131, -0.4807698726654053, 0.5334030389785767, 0.11833075433969498, 0.12313564121723175, 0.32033824920654297, -0.6975045204162598, 0.6112973093986511, 0.0009048715000972152, -0.3587688207626343, 0.042771678417921066, -0.6106423735618591, 0.12468705326318741, -0.05292598530650139, 0.3411199748516083, 0.1377449929714203, -0.20725803077220917, 0.442970871925354, -0.6555288434028625, 0.8592037558555603, -0.18530401587486267, -0.20981335639953613, -0.2975306808948517, 0.20355378091335297, 0.7806945443153381, -0.1315150260925293, -0.04976911097764969, 0.23490898311138153, -0.06066766008734703, -0.6674526929855347, -0.6673783659934998, 0.3944315016269684, -0.7928183078765869, -0.28789669275283813, -0.2786380350589752, -0.6854076981544495, -0.13965357840061188, 0.15612179040908813, -0.03535023331642151, 0.8195686936378479, -0.08136576414108276, 0.400892972946167, 0.7513007521629333, -0.09012413024902344, 0.42842063307762146, 0.10640671104192734, -0.39699292182922363, -0.12196458131074905, 0.5702621340751648, 0.3579849600791931, 0.5400341749191284, 0.555341362953186, -0.10856495797634125, -0.2908000946044922, -0.8214933276176453, -0.200253427028656, 0.2587648332118988, -0.7796298265457153, -0.03802647069096565, -0.6281257271766663, -0.3467101752758026, -0.27555444836616516, -0.08542467653751373, -0.3839079439640045, -0.6577262282371521, -0.2987980246543884, -0.371757835149765, 0.09433853626251221, 1.178799033164978, 0.6058838963508606, -0.11067557334899902, -0.4723666310310364, 0.12236441671848297, -0.12472563982009888, 0.4524032175540924, -0.26640889048576355, -0.37955063581466675, -0.26085203886032104, -0.06649721413850784, 0.224289670586586, -0.8713376522064209, 0.4844287037849426, 0.4168055057525635, 0.2816859781742096, 0.21788646280765533, -0.11400827020406723, 0.7282079458236694, -0.5578064322471619, 0.6216280460357666, -0.39425745606422424, -0.8929941654205322, 0.3995756506919861, -0.6571887135505676, 0.08418238908052444, 0.10144728422164917, 0.1534201204776764, -0.6600390672683716, -0.061286427080631256, -0.20694895088672638, -0.9117746353149414, 0.7362620830535889, 0.4225989282131195, 0.13508240878582, 0.1930931657552719, 0.6619383096694946, -0.11285453289747238, 0.2826274037361145, -1.1174646615982056, -0.13693274557590485, -0.3835337460041046, -0.3546880781650543, 0.16192738711833954, -0.35741662979125977, 0.07979853451251984, -0.04996119439601898, -0.018299486488103867, -0.266288161277771, 0.5225721597671509, 0.19885088503360748, -0.3963175117969513, 0.06690889596939087, 0.3578930199146271, 0.45875662565231323, 0.5734569430351257, -0.2771918773651123, 0.15833452343940735, 0.031916163861751556, -0.24595794081687927, -0.26838216185569763, -0.07504890114068985, -0.287475049495697, -0.14242029190063477, 0.43774470686912537, 1.001583218574524, 0.32630211114883423, -0.32049059867858887, 0.2583659589290619, -0.008688364177942276, -0.1881849318742752, -0.44370800256729126, -0.19111841917037964, 0.047655291855335236, 0.018399633467197418, 0.40322136878967285, 0.04213150963187218, 0.09186705201864243, -0.6233963966369629, 0.06389342993497849, 0.38947829604148865, -0.2531491816043854, -0.6224056482315063, 0.8587244153022766, 0.20014455914497375, -0.3184256851673126, 0.8804173469543457, 0.1508353352546692, -0.19095227122306824, 0.2739981710910797, 0.6838924884796143, 0.5944691300392151, 0.04757216200232506, -0.12771616876125336, 0.2533918619155884, 0.30445170402526855, 0.23775947093963623, 0.4928243160247803, -0.1256716102361679, -0.840027928352356, -0.32485759258270264, -0.6882807612419128, -0.0020647544879466295, -0.18978530168533325, -0.6048296093940735, 0.23634155094623566, -0.6719497442245483, 0.0788164958357811, 0.06913374364376068, -0.18055924773216248, -0.41124996542930603, -0.14365656673908234, 0.30332449078559875, 0.9193951487541199, -0.7248467206954956, 1.3742756843566895, 0.29659944772720337, -0.5740927457809448, -0.7618164420127869, 0.01111641712486744, -0.0706111416220665, -0.6437514424324036, 0.7074723243713379, -0.004583672620356083, -0.08138663321733475, 0.014947595074772835, -0.6171392202377319, -0.9909707307815552, 1.1736356019973755, 0.484407514333725, -0.44525590538978577, -0.6726949214935303, 0.5428600907325745, 0.7574278712272644, -0.5316790342330933, -0.002032672520726919, 0.5292460322380066, 0.1192333996295929, 0.2192228138446808, -0.8038924336433411, 0.04678291827440262, -0.3812911808490753, 0.3095020353794098, 0.37389108538627625, -0.3680577576160431, 1.0288777351379395, -0.05473236367106438, -0.3779584467411041, -0.28259238600730896, 0.6026819348335266, -0.16526998579502106, -0.04341261833906174, 0.3011862337589264, 0.3710646331310272, 0.9315879344940186, -0.1261918544769287, 1.2366060018539429, -0.3941205143928528, 0.30545881390571594, 0.8911144137382507, -0.3818091154098511, 0.8958308100700378, 0.5124077796936035, -0.06941331177949905, 0.8299095034599304, 0.39937686920166016, 0.006806152407079935, 0.2276434749364853, 0.00687778415158391, 0.02902976982295513, -0.10720876604318619, -0.13001099228858948, -0.049730826169252396, 0.38057681918144226, 0.725982129573822, -0.5883150100708008, -0.1815471053123474, -0.32205596566200256, 0.05751447379589081, 0.11209031939506531, -0.37453049421310425, 0.9018346667289734, 0.12511640787124634, -0.2863506078720093, 0.5856380462646484, 0.14632268249988556, 0.43020275235176086, -0.5606350302696228, 0.03902541473507881, -0.1471034288406372, 0.24886776506900787, -0.48439010977745056, -0.6854802966117859, 0.692628800868988, -0.15905746817588806, -0.30257344245910645, -0.723676860332489, 0.7774933576583862, -0.6903098225593567, -0.39598721265792847, 0.3285991847515106, 0.2836339771747589, -0.011186491698026657, 0.34746691584587097, -0.3672432005405426, 0.1747506707906723, -0.10907495021820068, -0.003511357121169567, 0.290934681892395, 0.26054343581199646, -0.31036466360092163, 0.668316125869751, 0.7367732524871826, 0.005741573870182037, 0.2483152598142624, 0.19403591752052307, 1.0770896673202515, -0.8584964275360107, -0.3131312131881714, -0.8671883940696716, 0.5073956251144409, -0.017499124631285667, 0.23423384130001068, 0.6497713923454285, 0.7706170678138733, 0.8084424138069153, -0.006750365253537893, 0.3924749791622162, 0.11673440784215927, 0.3195101320743561, -0.7111584544181824, 0.5408542156219482, -0.2758364677429199, 0.6624875664710999, -0.06161211058497429, -0.6136845350265503, -0.2520763576030731, 0.44329142570495605, -0.27787116169929504, 0.07112426310777664, 0.7691361308097839, 0.7878567576408386, 0.07827597111463547, -0.14278139173984528, 0.2213839441537857, 0.6879414319992065, 0.4694906175136566, 0.5395449995994568, 0.43295416235923767, -0.44216203689575195, 0.5662353038787842, 0.19961410760879517, 0.31583279371261597, 0.028162742033600807, -0.5751920938491821, -1.03950834274292, -0.7188215851783752, 0.22270308434963226, -0.486014187335968, 0.09393598139286041, 1.0787456035614014, 0.5539857745170593, -0.6768184900283813, -0.3101281225681305, -0.2960558831691742, 0.03695150837302208, 0.17459896206855774, -0.14020226895809174, 0.261301726102829, -0.5344669222831726, -0.6683659553527832, 0.4490233361721039, 0.42991575598716736, -0.03858968988060951, -0.25118327140808105, 0.13548344373703003, -0.03210623934864998, 0.32775723934173584, 0.6454116702079773, 0.034566573798656464, -0.5429405570030212, -0.33367758989334106, 0.23331211507320404, -0.21104823052883148, 0.38907378911972046, 0.9607799649238586, -1.0909264087677002, 0.3781426250934601, 0.6959863901138306, 0.5104407072067261, 0.6637027859687805, 0.17110951244831085, 1.040154218673706, -1.1283226013183594, 0.13339827954769135, 0.23341141641139984, 0.4503772556781769, 0.29332324862480164, -0.4674202799797058, 0.4102357029914856, 0.41110536456108093, -0.3809461295604706, -0.9426866173744202, 0.3531549572944641, -0.8210036158561707, -0.15688902139663696, 1.0669246912002563, 0.0652402937412262, -0.37831950187683105, -0.4349236488342285, 0.18435177206993103, -0.05124755576252937, -0.23419451713562012, 0.5778762102127075, 0.5579237341880798, -0.12670980393886566, -0.34586450457572937, -0.39141273498535156, 0.5726836323738098, 0.012021319009363651, -0.8229143619537354, 0.1061733216047287, 0.5878618359565735, 0.4399990141391754, -0.29687848687171936, 0.6350100636482239, -0.28306514024734497, -0.19926904141902924, -0.03236328065395355, -0.0425412692129612, -0.29071903228759766, -0.2142021656036377, -0.7024966478347778, 0.4823682904243469, -0.043201103806495667, 0.08606080710887909 ]
http://arxiv.org/abs/2404.02933v2
http://arxiv.org/pdf/2404.02933v2
NL2KQL: From Natural Language to Kusto Query
2024-04-03T01:09:41
2024-04-15T22:10:17
Amir H. Abdi, Xinye Tang, Jeremias Eichelbaum, Mahan Das, Alex Klein, Nihal Irmak Pakis, William Blum, Daniel L Mace, Tanvi Raja, Namrata Padmanabhan, Ye Xing
cs.DB
cs.DB, cs.AI, cs.CL
Data is growing rapidly in volume and complexity. Proficiency in database query languages is pivotal for crafting effective queries. As coding assistants become more prevalent, there is significant opportunity to enhance database query languages. The Kusto Query Language (KQL) is a widely used query language for large semi-structured data such as logs, telemetries, and time-series for big data analytics platforms. This paper introduces NL2KQL an innovative framework that uses large language models (LLMs) to convert natural language queries (NLQs) to KQL queries. The proposed NL2KQL framework includes several key components: Schema Refiner which narrows down the schema to its most pertinent elements; the Few-shot Selector which dynamically selects relevant examples from a few-shot dataset; and the Query Refiner which repairs syntactic and semantic errors in KQL queries. Additionally, this study outlines a method for generating large datasets of synthetic NLQ-KQL pairs which are valid within a specific database contexts. To validate NL2KQL's performance, we utilize an array of online (based on query execution) and offline (based on query parsing) metrics. Through ablation studies, the significance of each framework component is examined, and the datasets used for benchmarking are made publicly available. This work is the first of its kind and is compared with available baselines to demonstrate its effectiveness.
[ -0.22878322005271912, -0.9980777502059937, 0.4306705892086029, 0.1682424545288086, -0.334104061126709, 0.37041887640953064, -0.2447684407234192, -0.5287900567054749, -0.027540862560272217, 1.0310255289077759, -0.3667449355125427, -0.6458781957626343, -0.12346551567316055, 0.2589375078678131, -0.3582959473133087, 0.6866158246994019, 0.21889296174049377, 0.10105660557746887, -0.19527286291122437, -0.41964322328567505, -0.49838024377822876, -0.5023055076599121, -0.6049454808235168, -0.21261508762836456, 0.21307292580604553, 0.3488587439060211, 0.6027354001998901, 0.3414562940597534, 0.40918925404548645, 0.2098543643951416, 0.04317468777298927, 0.37389567494392395, -0.6956062912940979, 0.7687180042266846, -0.02418634481728077, -0.8843164443969727, 0.06681088358163834, -0.6497609615325928, 0.679384171962738, 0.7539718151092529, -0.43794792890548706, 0.0572492815554142, -0.20777732133865356, 1.1452568769454956, -0.6063681244850159, 0.29964035749435425, -0.7646485567092896, 0.15536338090896606, -0.17756900191307068, 0.10282213240861893, -0.5382646918296814, -0.7189692854881287, -0.24315962195396423, -0.5260637998580933, -0.14814576506614685, 0.2797376811504364, 0.48428186774253845, 0.4680596590042114, -0.7855191826820374, -0.561445415019989, -0.9627915620803833, 0.635776162147522, -0.9346029162406921, 0.9429784417152405, 0.5763129591941833, 0.9879682064056396, -0.384942889213562, -0.9711445569992065, -0.6602315306663513, -0.28454121947288513, -0.4407140910625458, -0.038839470595121384, 0.03478137403726578, -0.21325287222862244, 0.2761934697628021, 0.05806867778301239, -0.6104457378387451, 0.1904575377702713, -0.3396337330341339, 0.03032829612493515, 0.7180318832397461, 0.5502651929855347, -0.024984892457723618, -0.20913247764110565, 0.09964040666818619, 0.0400807186961174, -0.7322036623954773, 0.07474234700202942, 0.12325220555067062, 0.4108659625053406, 0.09822751581668854, 0.811477541923523, -0.7447997331619263, 0.784585177898407, -0.05220814421772957, -0.20243743062019348, -0.0928034782409668, -0.5267693996429443, -0.20402215421199799, 0.07489831745624542, 0.7697449922561646, 0.674446165561676, -0.05799686163663864, -0.4427337646484375, 0.10184258967638016, 0.05021938309073448, 0.16277676820755005, -0.7860931754112244, -0.2411929965019226, 0.4410327672958374, -0.2556314766407013, -0.3424147963523865, -0.3340717554092407, -0.9218118786811829, -0.5779557824134827, -0.373941034078598, -0.10934103280305862, -0.4471755921840668, -0.3348795473575592, -0.07293860614299774, 0.29176947474479675, 0.42833465337753296, 0.014532553032040596, -0.6750645041465759, 0.3527839779853821, 0.8286747932434082, 0.4719012975692749, 0.01581193134188652, 0.27982407808303833, -0.45700526237487793, 0.1455821394920349, -0.744442880153656, 0.5837644338607788, -0.41205570101737976, -0.3953935503959656, 0.005675133317708969, 0.08366043120622635, 0.3773517608642578, -0.5962620377540588, 0.5483226180076599, -1.1354433298110962, 0.01711180806159973, -0.2658519148826599, -0.7719766497612, -0.08684206008911133, 0.37216272950172424, -0.7380111813545227, 1.5440666675567627, 0.31140008568763733, -0.32112282514572144, 0.5252361297607422, -0.5727734565734863, -0.35243991017341614, 0.46099376678466797, -0.06204447150230408, -0.4919416606426239, -0.09614776819944382, 0.03124772384762764, 0.11193623393774033, -0.5649062991142273, 0.3563773036003113, -0.15586069226264954, -0.18987493216991425, 0.08039872348308563, 0.2979904115200043, 0.803426206111908, 0.2622542679309845, 0.005291834939271212, -0.31162846088409424, -0.8603939414024353, 0.5113292336463928, 0.06904332339763641, -0.41956087946891785, -0.5258103609085083, 0.07026169449090958, -0.02617936208844185, 0.17428499460220337, -0.08469642698764801, -0.4950861930847168, 0.32741236686706543, -0.7556979656219482, 0.554183840751648, 0.07844456285238266, 0.0685330480337143, 0.4295252561569214, 0.43244317173957825, 0.43491533398628235, -0.4024074971675873, 0.12159694731235504, 0.06755156815052032, -0.31218084692955017, -0.6399322152137756, -0.033924490213394165, 0.4315456449985504, 0.5117267966270447, -1.0577083826065063, 0.40087002515792847, -0.2744225263595581, -0.8149341940879822, -0.7501702904701233, 0.14630553126335144, 0.1425265222787857, 0.6037441492080688, 0.16579528152942657, 0.327723890542984, -0.7975354790687561, -0.8690071702003479, -0.21781302988529205, -0.1611553430557251, -0.10161855816841125, 0.48404809832572937, 0.3183954060077667, -0.04397900402545929, 1.1087565422058105, -0.509394109249115, -0.13336431980133057, -0.10444619506597519, -0.05475294589996338, 0.5346764326095581, 0.1499934196472168, 0.3677058219909668, -0.6346612572669983, -1.0090525150299072, 0.38499686121940613, -0.9466773271560669, -0.18283362686634064, 0.3434801697731018, -0.41408655047416687, 0.5217872858047485, 0.7933320999145508, -0.7773407101631165, 0.20151416957378387, 0.1583912968635559, -0.5262027382850647, 0.7643594145774841, 0.06299019604921341, 0.07018576562404633, -0.9205663800239563, 0.28275519609451294, -0.6494444012641907, -0.2572391927242279, -0.6861006021499634, 0.5137691497802734, 0.1821046620607376, -0.2015465497970581, -0.25823161005973816, 0.5454903244972229, -0.09719190746545792, -0.2721790075302124, -0.16535823047161102, -0.19101551175117493, 0.20945747196674347, 0.22793272137641907, -0.21600916981697083, 0.42205604910850525, 0.3030424416065216, -0.5165433287620544, 0.9931011199951172, 0.3819662034511566, -0.5334932208061218, 0.7807438373565674, -0.5841591358184814, 0.29951730370521545, -0.15478789806365967, 0.3288433849811554, -0.8867275714874268, -0.3086848258972168, 0.11376787722110748, -0.42713990807533264, 0.011035497300326824, -0.46256548166275024, -0.8411779403686523, -0.4314626157283783, -0.06657733768224716, -0.05392549932003021, 0.5093287825584412, -0.5109564661979675, 0.8074204921722412, 0.11093496531248093, -0.08319087326526642, -0.39847713708877563, -0.5672085881233215, 0.2425302267074585, -0.23126035928726196, -0.5995737314224243, 0.16348175704479218, 0.08748859912157059, -0.29339396953582764, 0.27863749861717224, 0.09617876261472702, -0.21550606191158295, 0.03242722526192665, -0.042617347091436386, 0.3466525077819824, -0.3343190848827362, 0.24646419286727905, 0.10800562053918839, 0.0073067257180809975, 0.052213579416275024, -0.22746916115283966, 0.72463458776474, 0.14775614440441132, -0.15424934029579163, -0.3004150986671448, 0.3608890771865845, 0.6580107808113098, -0.22760428488254547, 0.7968021035194397, 0.6221240758895874, -0.2250649482011795, -0.19436895847320557, -0.6487247347831726, -0.30146709084510803, -0.4197956323623657, 0.512692391872406, -0.23205481469631195, -0.9848054051399231, 0.3088058829307556, 0.036253657191991806, 0.049096643924713135, 0.16094756126403809, 0.7275301218032837, -0.1598587930202484, 1.025496006011963, 0.30626508593559265, 0.03180406242609024, -0.19580316543579102, -0.0778525173664093, 0.4972018003463745, -0.5722940564155579, -0.5104848742485046, -0.7067963480949402, -0.01930205523967743, -0.7137143015861511, -0.26786133646965027, 0.3983287513256073, 0.4326716959476471, -0.32735297083854675, 0.14018185436725616, -0.26996326446533203, 0.6978855133056641, 0.4111226499080658, -0.32815131545066833, 0.5092225074768066, 0.11992652714252472, -0.1610557585954666, -0.2514735162258148, -0.36849844455718994, -0.15210771560668945, 1.2670042514801025, -0.14989887177944183, 0.4981394112110138, 0.38333258032798767, 0.20485273003578186, 0.4136664867401123, -0.015786366537213326, -0.9630484580993652, 0.5423723459243774, -0.029387932270765305, -0.7568212151527405, -0.44756728410720825, -0.4361971914768219, -0.8429338335990906, 0.27339157462120056, -0.4160539507865906, -0.5204858779907227, -0.10054714977741241, -0.026081295683979988, -0.2869361937046051, 0.04432014748454094, -0.6344955563545227, 0.6792205572128296, -0.22276560962200165, -0.5308796763420105, -0.0482536144554615, -0.6123688817024231, 0.3434934616088867, -0.26322075724601746, 0.04122614115476608, -0.19297371804714203, -0.01697966270148754, 0.20581960678100586, -0.5546420812606812, 0.41032442450523376, -0.3770815432071686, 0.06756816059350967, 0.1470070779323578, 0.34035536646842957, 0.8409483432769775, 0.1403079330921173, -0.38315168023109436, -0.02505791373550892, 0.1934276670217514, -0.20475009083747864, -0.9827497601509094, 0.49399131536483765, -0.26568058133125305, -0.09524628520011902, 0.003299719886854291, -0.33565327525138855, -0.5299808382987976, 0.42990952730178833, -0.08048927038908005, 0.21021786332130432, 0.06240487098693848, 0.7374071478843689, 0.08579441905021667, -0.1658894270658493, -0.020158089697360992, 1.0293043851852417, -0.6171200275421143, -0.26617908477783203, 0.5935036540031433, 0.09540702402591705, 0.14317739009857178, 0.24161505699157715, 0.1311170905828476, -0.8528838157653809, -0.5898504257202148, -0.33281210064888, 0.1962900161743164, -0.5490450263023376, -0.48664432764053345, -0.6128778457641602, -0.09711156785488129, -0.5406250357627869, -0.021299069747328758, -0.3684674799442291, -0.5269516706466675, 0.4645717442035675, -0.03497031703591347, 0.5892274379730225, 0.3128452003002167, 0.3390345573425293, 0.1807071715593338, -0.6376495957374573, 0.2555052936077118, 0.23696395754814148, 0.59138423204422, 0.06610472500324249, -0.05278580263257027, -0.23534433543682098, -0.18756572902202606, 0.0240239966660738, -0.5100955963134766, 0.6797118782997131, 0.18409664928913116, 0.3616028428077698, 0.007054643705487251, 0.3870297372341156, 0.43945401906967163, -0.5049975514411926, 0.6045910716056824, -0.11264287680387497, -0.2710748016834259, 0.5669885277748108, -0.31098440289497375, 0.2721886932849884, 0.7564899921417236, 0.40836259722709656, -0.8985717296600342, -0.36116307973861694, -0.27955880761146545, -0.9863102436065674, 0.7390829920768738, 0.3967060148715973, -0.2095097303390503, 0.07528045028448105, 0.3796722888946533, 0.11965028196573257, 0.2650938332080841, -0.33932989835739136, -0.3210386037826538, -0.13348791003227234, -0.13598117232322693, 0.2441619485616684, -0.36255285143852234, 0.04038650542497635, -0.21892240643501282, 0.6892176866531372, -0.19275668263435364, 0.059416577219963074, -0.19236640632152557, -0.001859639654867351, 0.1025080680847168, 0.28989508748054504, 0.03499990701675415, 0.4940674304962158, -0.3827260732650757, -0.3135811388492584, 0.15551237761974335, -0.3744402527809143, -0.08913487941026688, 0.19526006281375885, -0.4762219488620758, 0.05236855521798134, 0.12518972158432007, 0.6262425184249878, 0.06074434891343117, -0.9207073450088501, -0.07117070257663727, -0.10581012070178986, -0.020441120490431786, -0.39215967059135437, -0.259583055973053, 0.4641345143318176, 0.2755585312843323, 0.4014633595943451, -0.6187538504600525, 0.3700682818889618, -0.37514427304267883, 0.021020270884037018, 0.3883303105831146, -0.07388820499181747, -0.08710812777280807, 0.6128485798835754, 0.13844306766986847, -0.22415556013584137, 0.9903756380081177, -0.30715319514274597, -0.30902722477912903, 0.5092678070068359, 0.4906960427761078, 0.27549222111701965, -0.2487500160932541, 0.012658313848078251, 0.7674123048782349, 0.12569288909435272, 0.23495632410049438, 0.3262512981891632, -0.06242990493774414, -0.7674687504768372, -0.6422135233879089, -0.886314332485199, -0.35118967294692993, 0.23013637959957123, -0.6714431047439575, 0.4198395907878876, -0.3618904650211334, -0.06152302026748657, 0.18661805987358093, 0.05700093135237694, -0.4440789520740509, -0.06196708232164383, -0.19937610626220703, 0.6279221773147583, -0.5897698402404785, 0.7665674090385437, 0.5611993074417114, -0.12894600629806519, -0.7446925044059753, -0.7061015367507935, 0.037315186113119125, -0.7587743997573853, 0.7621418237686157, -0.20756295323371887, 0.3900735080242157, 0.07410649210214615, -0.3426229655742645, -0.669033408164978, 1.1227675676345825, 0.20652562379837036, -0.6378705501556396, -0.16616207361221313, 0.7381647229194641, 0.6215034127235413, -0.17327652871608734, 0.02289511449635029, 1.012515664100647, 0.41417577862739563, 0.18624310195446014, -0.7631291151046753, -0.01905364915728569, -0.05917798727750778, 0.031528376042842865, 0.7704238295555115, -0.38499054312705994, 0.21810078620910645, 0.23047026991844177, 0.0284561850130558, 0.11344106495380402, 0.3288702666759491, 0.33651286363601685, 0.3578988015651703, 0.2962031066417694, 0.6837001442909241, 0.6600773334503174, -0.1927158236503601, 0.9763485789299011, -0.3424353301525116, 0.37679168581962585, 1.2176803350448608, -0.77364581823349, 0.9477452635765076, 0.40832534432411194, -0.5586931705474854, 0.2570054829120636, 0.12071391940116882, -0.21068280935287476, 0.6044750213623047, -0.06031220406293869, -0.3347725570201874, -0.1683751940727234, -0.38263803720474243, -0.3942306935787201, 0.6917970180511475, 0.5569048523902893, -0.16742973029613495, -0.3239130675792694, -0.12072667479515076, 0.024698756635189056, 0.12960852682590485, -0.05645677074790001, 0.8724981546401978, -0.05039294809103012, -0.6080023050308228, 0.6556376814842224, 0.06592036038637161, 0.25863781571388245, -0.7152191400527954, -0.02800145000219345, -0.4868427813053131, -0.008624558337032795, -0.24353483319282532, -0.7137809991836548, 0.6099229454994202, -0.10981215536594391, 0.05038897320628166, 0.2331576943397522, 0.8817170262336731, -0.2973947525024414, -0.603221595287323, 0.11369183659553528, 0.28612464666366577, 0.07064741104841232, 0.021863659843802452, -0.5950274467468262, -0.08584018051624298, -0.015799982473254204, 0.09106110781431198, 0.17799553275108337, 0.521620512008667, -0.07286855578422546, 0.685808002948761, 0.9794859886169434, 0.09846974164247513, 0.0836242139339447, 0.11606060713529587, 0.7505151033401489, -0.6819859147071838, -0.5912227034568787, -0.6508879661560059, 0.3619154989719391, -0.3598211109638214, 0.22347335517406464, 0.8029887080192566, 0.9075801968574524, 0.4843306839466095, -0.0389438159763813, 0.5892242193222046, -0.24984484910964966, 0.9112678170204163, -0.7138844132423401, 0.8275127410888672, -0.24290414154529572, 0.07918579131364822, 0.11583805084228516, -0.9151903986930847, -0.266000896692276, 0.20694252848625183, -0.05590290203690529, -0.37060436606407166, 0.37594786286354065, 1.0514585971832275, 0.3310597836971283, 0.06487557291984558, 0.40741318464279175, 0.479328989982605, 0.3641412854194641, 0.26551496982574463, 0.7621369361877441, -0.2826302647590637, 0.7539856433868408, -0.28524842858314514, 0.3343886733055115, -0.4682879149913788, -0.7229801416397095, -0.48182037472724915, -0.29264888167381287, -0.12293768674135208, -0.5764778852462769, 0.1494089812040329, 0.6489052772521973, 0.5179677605628967, -0.71024090051651, -0.1515597105026245, -0.04975337162613869, -0.08500287681818008, 0.02719265967607498, -0.3426869511604309, 0.452312707901001, -0.2315216362476349, -0.43097540736198425, 0.4894813597202301, 0.1993318647146225, -0.43230679631233215, -0.15001016855239868, -0.10349299758672714, -0.07264691591262817, -0.3294440507888794, 1.0803450345993042, 0.3788067698478699, -0.5912927985191345, 0.16304093599319458, 0.171712726354599, 0.016867054626345634, -0.034707024693489075, 0.5572713613510132, -0.9209018349647522, 0.6513532400131226, 0.43881216645240784, 0.7360479235649109, 0.7293084859848022, -0.18478351831436157, 0.32343026995658875, -0.8243622183799744, 0.033556897193193436, 0.5707119107246399, -0.05709598958492279, 0.3126719892024994, -0.39244168996810913, 0.9404228329658508, 0.07012639939785004, -0.5416688323020935, -1.1396158933639526, 0.20307567715644836, -0.814185619354248, -0.08750613778829575, 1.054945468902588, 0.3875430226325989, -0.11584163457155228, -0.5715429782867432, -0.1119847372174263, -0.07166032493114471, -0.3194930851459503, 0.6372461915016174, 0.7892733812332153, -0.20149214565753937, -0.07409210503101349, -0.9794266819953918, 0.4955035150051117, 0.1997482031583786, -0.7290146946907043, 0.23238064348697662, 0.6913360953330994, 0.2824448347091675, -0.053266458213329315, 0.6536742448806763, -0.4449964761734009, 0.22132642567157745, -0.09940028190612793, -0.016626501455903053, -0.09996434301137924, 0.2932080328464508, 0.09374368190765381, 0.09320773184299469, 0.19250337779521942, 0.37429845333099365 ]
http://arxiv.org/abs/2404.02375v1
http://arxiv.org/pdf/2404.02375v1
Optical Text Recognition in Nepali and Bengali: A Transformer-based Approach
2024-04-03T00:21:14
2024-04-03T00:21:14
S M Rakib Hasan, Aakar Dhakal, Md Humaion Kabir Mehedi, Annajiat Alim Rasel
cs.CL
cs.CL
Efforts on the research and development of OCR systems for Low-Resource Languages are relatively new. Low-resource languages have little training data available for training Machine Translation systems or other systems. Even though a vast amount of text has been digitized and made available on the internet the text is still in PDF and Image format, which are not instantly accessible. This paper discusses text recognition for two scripts: Bengali and Nepali; there are about 300 and 40 million Bengali and Nepali speakers respectively. In this study, using encoder-decoder transformers, a model was developed, and its efficacy was assessed using a collection of optical text images, both handwritten and printed. The results signify that the suggested technique corresponds with current approaches and achieves high precision in recognizing text in Bengali and Nepali. This study can pave the way for the advanced and accessible study of linguistics in South East Asia.
[ -0.03802398964762688, -0.29403144121170044, 0.1781761795282364, 0.08624296635389328, -0.37165674567222595, 0.14920783042907715, -0.0913112461566925, -0.6798849105834961, 0.1641753613948822, 0.6500678658485413, 0.1442611962556839, -0.006854547653347254, -0.7648099660873413, 0.8156725168228149, -0.6282663345336914, 0.5061299800872803, -0.26362448930740356, 0.1460576206445694, 0.35776185989379883, -0.2798340916633606, -0.11962580680847168, -0.1835831105709076, -0.46550020575523376, -0.13460980355739594, 0.10193756967782974, 0.20259448885917664, 0.4006226360797882, 0.6056759357452393, 0.9155001044273376, 0.3931431770324707, -0.2034531831741333, 0.21944426000118256, 0.07743838429450989, -0.01603732630610466, 0.09434331953525543, -0.6588055491447449, -0.055158160626888275, -0.18467900156974792, 0.9037787318229675, 0.5244902968406677, -0.13194164633750916, -0.08834094554185867, 0.0832107812166214, 0.7337495684623718, -0.6369075775146484, 0.08443698287010193, -0.4921287000179291, 0.19773174822330475, -0.2428562045097351, -0.2207377701997757, -0.5552830696105957, -0.4321078062057495, -0.0460980087518692, -0.49380335211753845, 0.3671308159828186, 0.17356093227863312, 0.7075343728065491, 0.21472294628620148, -0.49764740467071533, -0.5950208306312561, -1.0443857908248901, 0.7690244913101196, -0.4288904368877411, 0.43814927339553833, 0.698777973651886, 0.5795789361000061, 0.3857250213623047, -0.3110652565956116, -0.7000311613082886, 0.041963979601860046, -0.39526280760765076, 0.23397962749004364, -0.15546216070652008, -0.3685985803604126, 0.16835272312164307, 0.5256303548812866, -0.6373789310455322, 0.13859453797340393, -0.6183322072029114, -0.16522975265979767, 0.2459721565246582, 0.11864066123962402, 0.24597451090812683, -0.4482777416706085, -0.1920134723186493, 0.0370132178068161, -0.5681230425834656, -0.36296090483665466, 0.3481717109680176, 0.23218578100204468, -0.18574325740337372, 0.9390856027603149, 0.04023735225200653, 0.9557600617408752, 0.1669987589120865, -0.29994627833366394, 0.014111482538282871, -0.5033325552940369, -0.11803402006626129, 0.395464688539505, 0.6780352592468262, 0.03065129555761814, 0.3541095554828644, -0.006728033069521189, -0.2374850958585739, 0.11186043173074722, 0.11513495445251465, -0.5310390591621399, 0.2937028110027313, -0.21279911696910858, -0.839005172252655, 0.03963685780763626, -0.05586771294474602, -0.998108983039856, -0.9052873849868774, -0.19265013933181763, 0.0496349036693573, -0.3780667781829834, -0.5120563507080078, 0.0979834496974945, -0.3353651762008667, 0.48666366934776306, 0.44102001190185547, -1.0841596126556396, 0.19831730425357819, 0.2182113379240036, 0.8837567567825317, -0.05448776111006737, -0.22253836691379547, -0.20091183483600616, 0.2985742390155792, -0.3876904547214508, 0.9811382293701172, -0.5289608836174011, -0.26673048734664917, 0.335196852684021, -0.17611561715602875, 0.032365161925554276, -0.776477575302124, 0.19239051640033722, -0.595970630645752, 0.1309407651424408, 0.38121509552001953, -0.007216418161988258, -0.0931597650051117, 0.18189109861850739, -0.975172758102417, 1.0292922258377075, 0.3458576798439026, -0.7642614841461182, 0.3341127932071686, -0.3266408145427704, -0.6608643531799316, 0.2840067446231842, -0.1388932168483734, -0.22495824098587036, 0.20315305888652802, 0.14641085267066956, 0.24590390920639038, -0.7016964554786682, -0.21044503152370453, 0.3018941879272461, -0.46493616700172424, 0.20820146799087524, -0.749945878982544, 0.7489215731620789, 0.15998902916908264, -0.3582797646522522, -0.24332745373249054, -1.3361899852752686, -0.3383197486400604, 0.13195309042930603, -0.6935779452323914, -0.3945796489715576, -0.005449545569717884, 0.6123714447021484, -0.07977473735809326, 0.29439297318458557, -0.7289960980415344, 0.2641088366508484, -0.5936223268508911, 0.8392326831817627, 0.3554907441139221, -0.35823655128479004, 0.672387957572937, 0.13147619366645813, 0.35975706577301025, -0.015835873782634735, 0.061431411653757095, -0.28726354241371155, -0.3929019570350647, -0.8208772540092468, -0.11105940490961075, 0.4127119481563568, 0.745173990726471, -0.9753333330154419, 0.4404800832271576, -0.24888034164905548, -0.6233788728713989, -0.7126175165176392, -0.13848315179347992, 0.2290414720773697, 0.2572118043899536, 0.33129891753196716, -0.3204748034477234, -0.5423699021339417, -0.7729426622390747, -0.257689505815506, -0.2770968973636627, -0.10203642398118973, 0.17345313727855682, 0.3790091574192047, -0.1109050065279007, 0.8923516869544983, -0.5447241067886353, -0.6524218320846558, -0.30186447501182556, 0.15480224788188934, 0.19372150301933289, 0.4812242090702057, 0.34592974185943604, -1.3020117282867432, -0.9636725187301636, 0.3857913017272949, -0.7560186386108398, 0.06469675898551941, 0.09926602244377136, 0.2831789553165436, 0.7737603783607483, 0.551557183265686, -0.20170386135578156, 0.7662737965583801, 0.5266907811164856, 0.038464151322841644, 0.5356229543685913, -0.3037043511867523, 0.32810646295547485, -0.8497281074523926, 0.11534541845321655, -0.030008908361196518, -0.1406787633895874, -0.5996960401535034, -0.31615352630615234, 0.19614224135875702, -0.4481262266635895, -0.41157177090644836, 0.5980505347251892, -0.6665011048316956, -0.0976778045296669, -0.35234543681144714, 0.035807643085718155, -0.28918057680130005, 0.35918566584587097, 0.5504687428474426, 0.8142059445381165, 0.2844555675983429, -0.18266615271568298, 0.15338431298732758, 0.29997745156288147, -0.7355772852897644, 0.9484397172927856, -0.5592409372329712, 0.12478262931108475, -0.05860920622944832, -0.0027462614234536886, -1.0087294578552246, -0.12934480607509613, 0.3805979788303375, -0.3198893666267395, 0.44902241230010986, -0.11203005909919739, -0.67955082654953, -0.14618335664272308, 0.13285769522190094, 0.7636889219284058, 0.6735411286354065, -0.48493069410324097, 1.0362203121185303, 0.412526398897171, -0.11681584268808365, -0.46335309743881226, -0.9333495497703552, 0.09173805266618729, -0.0719400942325592, -0.14536017179489136, 0.12710066139698029, 0.2740151584148407, 0.051473528146743774, 0.015603246167302132, 0.11613981425762177, -0.6131575107574463, -0.38463151454925537, 0.09561948478221893, 0.04483755677938461, -0.09940506517887115, -0.11520770937204361, -0.19587136805057526, -0.3492381274700165, -0.5818729996681213, -0.2544531226158142, 0.6895166635513306, -0.05145770311355591, -0.2883211374282837, -0.5991954803466797, 0.6723699569702148, 0.5991171002388, -0.45882412791252136, 0.6801509261131287, 0.6962304711341858, -0.5624001622200012, 0.20821726322174072, -0.6884893178939819, 0.031584687530994415, -0.44718196988105774, 0.24683278799057007, -0.10395358502864838, -0.5839684009552002, 0.3772101402282715, -0.2817184329032898, -0.6204347014427185, 0.4747791290283203, 0.538364052772522, 0.03674294427037239, 1.036025881767273, 0.9376113414764404, 0.03264664486050606, 0.6168140769004822, -0.0747864842414856, 0.5281352996826172, -0.9612550139427185, -0.22607965767383575, -0.9959619045257568, -0.0004936683108098805, -0.5788366794586182, -0.016920756548643112, 0.2716500163078308, -0.00403247307986021, -0.1272779256105423, 0.7161204218864441, -0.9447667002677917, 0.43089935183525085, 0.5432856678962708, -0.023789022117853165, 0.4484715461730957, 0.028726903721690178, 0.14418965578079224, -0.14226390421390533, -0.6138424873352051, -0.6071678996086121, 0.7225794196128845, -0.1872486174106598, 0.6325032711029053, -0.150162935256958, 0.4019275903701782, 0.26373720169067383, 0.09518636018037796, -0.7570202946662903, 0.4045513868331909, -0.3170166313648224, -0.5885588526725769, -0.3257375955581665, -0.2389562875032425, -0.98468017578125, 0.01531174499541521, -0.15489214658737183, -0.3767896890640259, 0.6549686789512634, -0.061563629657030106, 0.15382546186447144, 0.34964749217033386, -0.6985312700271606, 0.44352757930755615, -0.19629035890102386, 0.18315447866916656, -0.18522727489471436, -0.7805008888244629, -0.1862553060054779, -0.2596001625061035, 0.3126700520515442, 0.32503387331962585, -0.038820862770080566, 0.799414873123169, -0.08311863243579865, 0.9631759524345398, 0.004438033327460289, -0.15085852146148682, 0.3500925302505493, -0.10954985022544861, 0.18272875249385834, -0.630476176738739, -0.25486132502555847, 0.4458044171333313, -0.1136355772614479, -0.29523470997810364, -0.5315364599227905, 0.02755650505423546, -0.5210292935371399, -0.007848290726542473, -0.7343274354934692, -0.2692936360836029, 0.330671489238739, 0.7865256071090698, 0.3991846740245819, 0.5064286589622498, 0.06704922765493393, 0.16636647284030914, 0.17813800275325775, -0.33629679679870605, 0.4564915597438812, 0.6408395171165466, -0.013881453312933445, -0.8481910824775696, 0.9622719287872314, 0.3944637179374695, 0.22482629120349884, 0.6212526559829712, 0.18355385959148407, -0.11420444399118423, -0.5801174640655518, -0.5476162433624268, 0.25565916299819946, -0.7324721217155457, -0.338768869638443, -0.12750355899333954, -0.23709070682525635, -0.2561362385749817, -0.3676699101924896, -0.1478266566991806, -0.31691181659698486, -0.3040802478790283, 0.4581763744354248, 0.2256021797657013, 1.0374162197113037, -0.01033816672861576, 0.46146807074546814, -0.8655611276626587, 0.3048410415649414, 0.0727018192410469, 0.4088214337825775, 0.15199148654937744, -0.09194084256887436, -0.5156461000442505, -0.1420316845178604, -0.14442524313926697, -0.9289956092834473, 0.5333831906318665, 0.22919043898582458, 0.1656460165977478, 0.39563003182411194, 0.034242238849401474, 0.2951764166355133, -0.9003946185112, 0.6799742579460144, 0.39373916387557983, -1.0190523862838745, 0.6143831610679626, -0.1362987458705902, 0.04012467339634895, 0.3776349127292633, 0.47118762135505676, -0.5838335752487183, -0.10412623733282089, -0.17552174627780914, -0.4672505259513855, 0.7263878583908081, 0.09257791191339493, -0.18324600160121918, 0.14691433310508728, 0.2687670886516571, 0.27484384179115295, 0.2705414295196533, -0.4928956925868988, -0.0008891994948498905, -0.34392833709716797, -0.4604106545448303, -0.1777433305978775, 0.015329993329942226, 0.14372298121452332, -0.23190419375896454, 0.12311094999313354, -0.1902865469455719, 0.42021238803863525, 0.27825039625167847, -0.2896507978439331, -0.07212138921022415, 0.14455033838748932, 0.49378201365470886, 0.13590551912784576, 0.0986136719584465, 0.2757951319217682, -0.039154257625341415, -1.0234739780426025, 0.38092517852783203, -0.2080555409193039, -0.38362669944763184, -0.11454225331544876, 0.512550413608551, 0.6880496144294739, 0.19343723356723785, -0.6301209330558777, 0.3808991014957428, 0.08405260741710663, 0.08717731386423111, -0.37570104002952576, -0.3953604996204376, -0.2867094874382019, 0.14109119772911072, 0.6278054714202881, 0.5593562126159668, 0.08959247916936874, -0.5002007484436035, -0.3905419707298279, 0.18417951464653015, -0.5875056982040405, -0.25799453258514404, 0.41508743166923523, 0.14039826393127441, -0.9669712781906128, 0.812049150466919, -0.06420277804136276, -0.9115869998931885, 0.6253621578216553, 0.9476966857910156, 0.6923119425773621, -0.21937161684036255, 0.18421036005020142, 0.23140165209770203, 0.4575578272342682, -0.1512686014175415, 0.2562706768512726, -0.26927006244659424, -0.6832329630851746, -0.10394226759672165, -0.715376615524292, -0.6156565546989441, -0.3438650667667389, -0.6775210499763489, 0.4673902094364166, -0.08612126111984253, 0.09099956601858139, -0.09928324073553085, -0.11169687658548355, -0.499208927154541, 0.10044552385807037, -0.3644537031650543, 0.7531042695045471, -0.8963595628738403, 0.6045379042625427, 0.5674601793289185, -0.6368083953857422, -0.39871498942375183, -0.06113819405436516, -0.16479834914207458, -1.0154086351394653, 0.989055871963501, 0.272059828042984, -0.15912598371505737, 0.22133193910121918, -0.14843407273292542, -0.7056675553321838, 0.7335353493690491, 0.22510191798210144, -0.33295682072639465, 0.02473287284374237, 0.5084688067436218, 0.8511621952056885, 0.0026251175440847874, 0.46709156036376953, 0.3652964234352112, 0.834954023361206, -0.1747923642396927, -1.1389579772949219, -0.2636299729347229, -0.3974306583404541, -0.0716276541352272, 0.540682852268219, -0.5245935916900635, 0.6292581558227539, 0.2249060869216919, -0.4319140315055847, 0.2523990869522095, 0.41845887899398804, -0.16828754544258118, 0.22495968639850616, 0.3304114043712616, 0.21848280727863312, 0.23785462975502014, -0.03980434685945511, 0.9503359794616699, -0.02223467454314232, 0.15690582990646362, 0.2166445255279541, -0.4691583514213562, 1.263451337814331, 0.441318154335022, -0.5000128746032715, 0.4716022312641144, 0.31489139795303345, -0.2204694151878357, 0.5838527083396912, 0.06129959225654602, -0.08971216529607773, 0.06650962680578232, -0.339196115732193, -0.1906740665435791, 0.6811757683753967, 0.2700132429599762, -0.15292249619960785, -0.11124416440725327, 0.44113337993621826, -0.46028509736061096, 0.24236558377742767, -0.33649393916130066, 0.978121817111969, 0.0073798829689621925, -0.4254786968231201, 0.6941429972648621, -0.21558447182178497, 0.9743301272392273, -0.5944391489028931, -0.2968372106552124, 0.2788531482219696, 0.37268853187561035, -0.31300196051597595, -0.6851748824119568, 0.6104748249053955, 0.10821554064750671, -0.4217904806137085, -0.19141319394111633, 0.9709147810935974, -0.5081770420074463, -0.6429916024208069, 0.30375123023986816, 0.0527103953063488, 0.4044918417930603, 0.09341662377119064, -0.09891172498464584, 0.09455975145101547, -0.21884067356586456, 0.32393595576286316, 0.3000515103340149, 0.2586289644241333, 0.04455177113413811, 0.27351152896881104, 0.31262117624282837, 0.525351345539093, 0.15500646829605103, -0.17263300716876984, 0.26119881868362427, -0.43959012627601624, -0.4197649359703064, -0.5025147199630737, 0.18272775411605835, -0.03653178736567497, -0.36425885558128357, 0.8577930927276611, 0.6340830326080322, 0.742279589176178, -0.39313235878944397, 0.7977219820022583, 0.02835015021264553, 0.5679423809051514, -0.3814285397529602, 0.999163806438446, -0.7036035656929016, -0.2554684579372406, -0.25503844022750854, -1.139567255973816, -0.604759693145752, 1.0325825214385986, -0.22463837265968323, -0.07265934348106384, 0.8363237380981445, 0.5525385737419128, -0.0010965759865939617, 0.21598829329013824, -0.040590398013591766, -0.07258524000644684, 0.1713804453611374, 0.2737346887588501, 0.7899255752563477, -0.7304893136024475, 0.643011748790741, -0.09631657600402832, -0.4321155548095703, -0.2890421748161316, -0.8284422159194946, -0.6504190564155579, -1.0743257999420166, -0.027698908001184464, -0.16763629019260406, -0.18881256878376007, 0.3631249964237213, 0.4010331630706787, -0.6499118804931641, -0.32750481367111206, -0.17889192700386047, -0.017551051452755928, -0.4052335321903229, -0.14631089568138123, 0.7475042939186096, 0.2587357759475708, -0.9435585737228394, 0.2474464476108551, 0.46466654539108276, 0.19581224024295807, -0.4155485928058624, 0.11714445054531097, -0.21424341201782227, -0.03406699374318123, 0.49660027027130127, 0.4930221438407898, -0.4584006369113922, -0.09736834466457367, 0.113365039229393, -0.1582784354686737, 0.32515960931777954, 0.8431380987167358, -0.6812722086906433, 0.44844669103622437, 0.8678709268569946, 0.5591319799423218, 0.4096904695034027, -0.22616633772850037, 0.22969380021095276, -0.23687519133090973, 0.28669583797454834, 0.36532726883888245, 0.24235069751739502, 0.5877813100814819, -0.24187418818473816, 0.5491726398468018, 0.3060963749885559, -0.6451927423477173, -1.0675938129425049, 0.31930819153785706, -1.0021620988845825, 0.04611598700284958, 0.978702962398529, 0.05506784841418266, -0.3300713896751404, -0.4443609416484833, -0.6103096008300781, 0.2964004576206207, -0.06946524232625961, 0.5808162689208984, 0.6119958758354187, 0.04702145978808403, -0.09643804281949997, -0.10728848725557327, 0.19496965408325195, 0.1285558044910431, -0.6674371361732483, 0.041446566581726074, 0.1286344826221466, -0.14349010586738586, 0.8734988570213318, 0.6024428009986877, -0.2608979344367981, 0.06818418204784393, 0.4450925886631012, -0.03965028375387192, 0.14688946306705475, -0.50715571641922, -0.6738058924674988, 0.23886604607105255, -0.2476801574230194, 0.09219442307949066 ]
http://arxiv.org/abs/2404.02372v1
http://arxiv.org/pdf/2404.02372v1
Obfuscated Malware Detection: Investigating Real-world Scenarios through Memory Analysis
2024-04-03T00:13:23
2024-04-03T00:13:23
S M Rakib Hasan, Aakar Dhakal
cs.CR
cs.CR, cs.CL, cs.LG
In the era of the internet and smart devices, the detection of malware has become crucial for system security. Malware authors increasingly employ obfuscation techniques to evade advanced security solutions, making it challenging to detect and eliminate threats. Obfuscated malware, adept at hiding itself, poses a significant risk to various platforms, including computers, mobile devices, and IoT devices. Conventional methods like heuristic-based or signature-based systems struggle against this type of malware, as it leaves no discernible traces on the system. In this research, we propose a simple and cost-effective obfuscated malware detection system through memory dump analysis, utilizing diverse machine-learning algorithms. The study focuses on the CIC-MalMem-2022 dataset, designed to simulate real-world scenarios and assess memory-based obfuscated malware detection. We evaluate the effectiveness of machine learning algorithms, such as decision trees, ensemble methods, and neural networks, in detecting obfuscated malware within memory dumps. Our analysis spans multiple malware categories, providing insights into algorithmic strengths and limitations. By offering a comprehensive assessment of machine learning algorithms for obfuscated malware detection through memory analysis, this paper contributes to ongoing efforts to enhance cybersecurity and fortify digital ecosystems against evolving and sophisticated malware threats. The source code is made open-access for reproducibility and future research endeavours. It can be accessed at https://bit.ly/MalMemCode.
[ -0.27463528513908386, -1.0334532260894775, 0.29653993248939514, -0.09215762466192245, -0.23055613040924072, 0.07963986694812775, 0.03998672589659691, -0.49124574661254883, -0.004915147554129362, 0.8523414134979248, -0.2990887761116028, -0.4740960896015167, -0.45793968439102173, -0.39976319670677185, -0.48580026626586914, 0.6679309010505676, 0.19325482845306396, -0.2943006157875061, -0.36584046483039856, -0.02657134458422661, -0.9404846429824829, -0.42902982234954834, -0.5359747409820557, 0.17327484488487244, -0.026842446997761726, 0.5909507870674133, 0.08676724880933762, 0.6144553422927856, 0.44071415066719055, 0.2936842441558838, 0.37541621923446655, 0.26079702377319336, -0.40036875009536743, 0.17186596989631653, 0.21855828166007996, -0.21566952764987946, -0.2795628011226654, -0.03437535837292671, -0.19320739805698395, 0.22908490896224976, -0.26856377720832825, 0.2877942621707916, -0.08472742140293121, 0.5622641444206238, -1.2551435232162476, -0.24846455454826355, -0.9344383478164673, 0.1579831838607788, -0.2084541916847229, -0.537672758102417, -0.5123388767242432, -0.10463250428438187, -0.04128989204764366, -0.12348906695842743, 0.15395857393741608, 0.381026953458786, 0.5258322358131409, 0.36472058296203613, 0.16093945503234863, -0.2721213102340698, -0.7890825867652893, 0.8261040449142456, -0.49962183833122253, -0.0083778603002429, 0.5043745040893555, 0.6297666430473328, 0.0135575532913208, -0.6913118958473206, 0.032196562737226486, -0.0785946324467659, 0.20030950009822845, -0.012830407358705997, -0.5083550810813904, -0.5304555892944336, 0.06356559693813324, 0.2599067687988281, -0.7272431254386902, 0.06377241015434265, -0.7166826725006104, -0.1844930797815323, 0.14257840812206268, 0.24512028694152832, 0.2948072552680969, 0.19058315455913544, -0.730319082736969, 0.1426127701997757, -0.4983895719051361, -0.2682688236236572, 0.6995293498039246, -0.11391516774892807, 0.059416674077510834, 0.029371535405516624, -0.23704031109809875, 0.5390003323554993, -0.04822704941034317, 0.010687544010579586, 0.033443350344896317, 0.10835465788841248, -0.6082472205162048, 0.4293868839740753, 0.5261863470077515, 0.2462766468524933, 0.0008207432110793889, -0.2563324272632599, -0.227894589304924, -0.3045995831489563, 0.783344030380249, -1.125877857208252, -0.6448926329612732, 0.31774622201919556, -0.8519763946533203, -0.5005515813827515, 0.5286248326301575, -0.9444485902786255, -0.5928772687911987, 0.3962906301021576, 0.37706342339515686, -0.5093621611595154, -0.02872060239315033, 0.4563414752483368, -0.2030458301305771, 0.0038727878127247095, 0.14392951130867004, -0.39458706974983215, 0.47539588809013367, 0.48304277658462524, 0.6251085996627808, -0.28617584705352783, 0.1787807047367096, -0.7830939292907715, 0.14566899836063385, 0.39743247628211975, 0.64788818359375, -0.15451256930828094, -0.37811434268951416, -0.05659002438187599, -0.1871655136346817, -0.016227154061198235, -1.0734632015228271, 0.4049595892429352, -0.3451634347438812, 0.007566274143755436, 0.3395606577396393, -0.18673822283744812, -0.509575605392456, 0.4721277356147766, -0.7205315232276917, 0.8495039939880371, -0.15090075135231018, -0.5406991243362427, 0.2424635887145996, -0.47096675634384155, -0.26401224732398987, 0.26307833194732666, 0.1740555465221405, -0.7821534276008606, 0.20294761657714844, 0.3040573000907898, 0.6805562973022461, 0.074325792491436, 0.11248324066400528, -0.6199889779090881, -0.5695750117301941, 0.4785539209842682, -0.4870193898677826, 0.9678346514701843, 0.5072591304779053, -0.3837644159793854, -0.24202574789524078, -0.7291619777679443, 0.1217997595667839, 0.4433755576610565, -0.05705244466662407, -0.5561429858207703, -0.0784149020910263, -0.0059183393605053425, -0.13006357848644257, 0.19701117277145386, -0.7057944536209106, 0.34119704365730286, -0.10003336519002914, 0.4278440773487091, 0.4069046676158905, 0.2204645574092865, -0.006830190774053335, -0.02513967826962471, 0.33996209502220154, 0.313692182302475, 0.552873432636261, -0.6443846225738525, -0.4200456738471985, -0.4721469581127167, -0.4046233296394348, 0.07697106152772903, 0.9291083216667175, -0.10211963206529617, 0.3938300907611847, -0.044146038591861725, -0.36133623123168945, -0.3866662085056305, 0.08840116113424301, 0.4555671513080597, 0.5894955992698669, 0.4269196391105652, -0.09980452060699463, -0.8166782855987549, -0.8214266896247864, -0.4762611389160156, -0.04408489912748337, 0.06497567147016525, 0.23936378955841064, 0.6378674507141113, -0.18228721618652344, 0.6478739976882935, -0.9297556281089783, -0.229640394449234, 0.14151465892791748, 0.09303645044565201, -0.11141277104616165, 0.5361946225166321, 0.6402906775474548, -0.6165904402732849, -0.14029251039028168, 0.04366954788565636, -0.4872884452342987, -0.20226287841796875, 0.003481208812445402, 0.43554219603538513, 0.16076190769672394, 0.890729546546936, -0.22209174931049347, 0.6978065371513367, 0.25651103258132935, -0.22594475746154785, 0.6715567708015442, -0.2923101484775543, 0.08986881375312805, -0.48917287588119507, 0.46594303846359253, -0.6493148803710938, -0.25990623235702515, -0.37254467606544495, 0.06953123211860657, 0.2985340654850006, -0.16432470083236694, -0.7458253502845764, 0.5807371139526367, -0.32328012585639954, 0.06592770665884018, -0.17500898241996765, -0.09290868788957596, -0.08947040885686874, 0.3320992887020111, -0.47993460297584534, 0.27505454421043396, 0.2767253518104553, -0.48772796988487244, 0.1139841079711914, -0.4826628565788269, -0.16996844112873077, 0.4416520297527313, -0.23942208290100098, 0.2399476319551468, -0.0637088194489479, -0.19630254805088043, -1.049315094947815, -0.04511190578341484, 0.8467298746109009, -0.45254287123680115, 0.3765990436077118, -0.521793007850647, -0.4334601163864136, -0.21864628791809082, -0.531624436378479, 0.3840678632259369, 0.6375269293785095, -0.4942432940006256, 0.35284996032714844, 0.3218817412853241, 0.42820143699645996, -0.6100466847419739, -0.6234259009361267, -0.14140188694000244, -0.36459770798683167, -0.2302619367837906, 0.20140640437602997, -0.17262308299541473, -0.4474755525588989, 0.33462977409362793, -0.3400883972644806, -0.2831059396266937, 0.5430521965026855, 0.7243102192878723, 0.30117523670196533, -0.37001970410346985, -0.3338170349597931, 0.009018728509545326, -0.17863240838050842, -0.027362719178199768, -0.6809117794036865, 0.576560378074646, -0.27094733715057373, -0.7105281352996826, -0.30395182967185974, 0.023038242012262344, 0.653693437576294, -0.1447875052690506, 0.6450258493423462, 0.815770149230957, -0.6354060173034668, -0.42216604948043823, -0.4800357222557068, 0.016870778053998947, -0.4440876841545105, 0.17642048001289368, -0.03217862918972969, -0.45693713426589966, 0.4742797017097473, -0.24606281518936157, 0.041411109268665314, 0.2849145233631134, 0.25705695152282715, -0.13579967617988586, 0.643022894859314, 0.2706232964992523, -0.31708386540412903, 0.2756296694278717, -0.5085631608963013, 0.22675664722919464, -0.5078082084655762, -0.4379812479019165, -0.47444382309913635, -0.3792653977870941, -0.1592435985803604, -0.28788289427757263, 0.03263994678854942, 0.22716739773750305, -0.14180350303649902, 0.3164513111114502, -0.5083388090133667, 0.5215283632278442, 0.3881281614303589, 0.10784577578306198, 0.23484207689762115, 0.053789686411619186, -0.13165311515331268, 0.28465592861175537, -0.49067896604537964, -0.5362964868545532, 1.119667887687683, 0.25349369645118713, 0.523193359375, -0.19335351884365082, 0.6785935163497925, 0.5671124458312988, 0.1307021677494049, -0.7350932955741882, 0.38251227140426636, -0.10981674492359161, -0.5846579074859619, 0.04552531614899635, 0.04092635214328766, -1.0590935945510864, 0.06333573162555695, 0.12863542139530182, -0.9400776624679565, -0.019331511110067368, 0.10574712604284286, -0.469890296459198, 0.8891711831092834, -0.5740470290184021, 0.7338732481002808, -0.2057022899389267, -0.11324424296617508, -0.13759207725524902, -0.387749582529068, 0.6316174864768982, -0.02492452599108219, -0.020055439323186874, -0.002629379276186228, -0.2091246247291565, 0.5528842806816101, -0.2264302521944046, 0.6279050707817078, -0.41672155261039734, 0.2522676885128021, 0.6469470262527466, 0.4036114811897278, 0.2682255804538727, 0.16097070276737213, 0.11828236281871796, 0.3974972367286682, -0.014091040007770061, -0.4422035217285156, -0.37758535146713257, 0.7731305360794067, -0.25241586565971375, -0.2365845888853073, -0.15285080671310425, -0.3522799015045166, 0.16512978076934814, 0.3736966550350189, 0.1370214819908142, 0.28267142176628113, -0.20106518268585205, 0.4534233510494232, 1.1454074382781982, -0.4297316372394562, 0.5418998599052429, 0.3338627815246582, -0.3947466313838959, -0.3219747841358185, 0.9866199493408203, 0.0019612619653344154, -0.008207084611058235, 0.4711636006832123, 0.41489049792289734, 0.2749345898628235, -0.77888023853302, -0.6201828718185425, -0.03264027088880539, -0.1687549501657486, -0.669242262840271, -0.8193973302841187, -0.19689355790615082, -0.058513786643743515, -0.09806405752897263, -0.19188712537288666, -0.11656555533409119, -0.22578565776348114, 0.2027643918991089, 0.3160208463668823, 0.20668424665927887, 0.13027171790599823, 0.4683977961540222, -1.003453016281128, 0.2541520893573761, 0.006029860582202673, 0.2748228907585144, 0.3605720102787018, -0.19697150588035583, -0.28505274653434753, -0.031037380918860435, -0.5486968159675598, -0.9694381952285767, 0.574323832988739, -0.3905261754989624, 0.5360071659088135, 1.1226035356521606, 0.16576562821865082, 0.7193158268928528, 0.016421785578131676, 0.5423035025596619, -0.18267862498760223, -0.48393455147743225, 0.4609752893447876, -0.3184318542480469, 0.006479636766016483, 0.7247931957244873, 0.005985703319311142, -0.19240276515483856, -0.009548285976052284, -0.6395189166069031, -0.7617394924163818, 0.8517306447029114, 0.17886918783187866, -0.1695181280374527, 0.260804682970047, 0.09815026819705963, 0.338673859834671, 0.41183412075042725, -0.2109697461128235, -0.3848811686038971, -0.14877988398075104, 0.08297549933195114, 0.49545395374298096, -0.029789987951517105, 0.12435536086559296, 0.060342203825712204, 0.5777392983436584, 0.4538523852825165, 0.44913047552108765, -0.20838536322116852, -0.2980516254901886, 0.2550545036792755, 0.08087702095508575, 0.5466015338897705, 0.0927160233259201, -0.4941105842590332, 0.31689679622650146, 0.003984333947300911, -0.9993700385093689, -0.18336905539035797, -0.17006315290927887, -0.15805664658546448, -0.19659386575222015, 0.03958044573664665, 0.23820710182189941, 0.014001911506056786, -1.1354174613952637, 0.42627251148223877, 0.06854595988988876, 0.12145457416772842, -0.4880305826663971, 0.2965201735496521, -0.05832689628005028, 0.007100218906998634, 0.4795994162559509, 0.4516388177871704, 0.37560129165649414, -0.4676456153392792, 0.0943685844540596, 0.47031494975090027, -0.6419621109962463, -0.14176248013973236, 0.20868171751499176, -0.13846972584724426, -0.2836936116218567, 0.9881927967071533, -0.31820669770240784, -0.40195420384407043, 0.9317471981048584, 0.6232061982154846, 1.1755518913269043, -0.2956588566303253, -0.28673219680786133, 0.09065445512533188, 0.7142153978347778, 0.1923970878124237, 0.13920460641384125, -0.22099927067756653, -0.36358320713043213, 0.3052983582019806, -0.4268205761909485, 0.03393395617604256, 0.7555446624755859, -0.5464062094688416, 0.32818546891212463, -0.5660154223442078, 0.10654577612876892, -0.36243876814842224, -0.2672290802001953, -0.6544220447540283, -0.0920143723487854, 0.01966959983110428, 0.6627573370933533, -0.6214705109596252, 0.5063410997390747, 0.4387165904045105, -0.07273315638303757, -0.07103560864925385, 0.13587503135204315, 0.1458471417427063, -0.8506060838699341, 0.26083454489707947, 0.616149365901947, -0.004141880664974451, -0.19918183982372284, -0.5696675777435303, -0.49546724557876587, 0.8720678687095642, 0.11254484951496124, -0.160310760140419, 0.4392147362232208, -0.13834327459335327, 0.1053864136338234, -0.16448821127414703, 0.03184620290994644, 0.22672660648822784, 0.6479113698005676, -0.2947112023830414, -0.1665765643119812, 0.006940733641386032, -0.24838529527187347, -0.4420706331729889, 0.6655388474464417, -0.12121085077524185, 0.7845050096511841, -0.2523818910121918, -0.2157214730978012, 0.16755910217761993, 0.3216722011566162, 0.2710738182067871, 0.8819030523300171, 0.34291312098503113, 0.7702504396438599, 0.41183602809906006, 0.234996497631073, 0.5451475977897644, -0.11858871579170227, 0.04447302222251892, 0.8232500553131104, -0.0014995959354564548, 0.8199736475944519, 0.5489817261695862, -0.11987211555242538, 0.37296852469444275, 0.3446808457374573, -0.4668616056442261, 0.5102240443229675, 0.4581935405731201, -0.24677318334579468, -0.15939950942993164, 0.22567671537399292, 0.033254459500312805, 0.3736305832862854, 0.6925667524337769, -0.37860703468322754, -0.27628809213638306, 0.3377954661846161, 0.17497654259204865, -0.17260900139808655, -0.3979540765285492, 0.3513966202735901, -0.11435449868440628, -0.25939512252807617, 0.3444931209087372, 0.2832362651824951, 0.5894283652305603, -0.2881803810596466, -0.11004956811666489, 0.186239093542099, 0.3172295093536377, -0.37893494963645935, -0.44297322630882263, 0.5384775400161743, -0.10184410959482193, -0.12270469218492508, -0.10055220127105713, 1.2574107646942139, 0.04870748519897461, -0.06960075348615646, 0.15977951884269714, 0.3827019929885864, 0.5859384536743164, -0.6175163984298706, -0.47002217173576355, 0.2017797827720642, -0.11035577207803726, -0.06581380218267441, 0.4512767791748047, 0.057234905660152435, -0.23428505659103394, 0.791978657245636, 0.8748247623443604, -0.267701655626297, 0.1245056763291359, -0.6630421280860901, 0.5659644603729248, -0.23046256601810455, -0.39281049370765686, -1.1318461894989014, 0.5273387432098389, -0.19044923782348633, 0.08610387146472931, 0.5906085968017578, 1.05818772315979, 0.7483326196670532, -0.5243532061576843, 0.5274163484573364, -0.22996129095554352, 0.07875402271747589, -0.24247662723064423, 0.8726450800895691, -0.4201979339122772, 0.47762390971183777, 0.18618714809417725, -0.4604138433933258, -0.2266436666250229, 0.13087911903858185, -0.16956014931201935, -0.07866887003183365, 0.5937778353691101, 0.6650473475456238, -0.5797080993652344, -0.0573137030005455, 0.45355263352394104, -0.03755628690123558, -0.08818358182907104, 0.3891630172729492, 0.7375965118408203, -0.64152592420578, 0.7267711758613586, -0.14686702191829681, -0.0859665796160698, -0.7556994557380676, -0.9272340536117554, -0.8119975328445435, -0.4199331998825073, -0.25806906819343567, -0.14477530121803284, 0.1315975934267044, 0.22367851436138153, 0.6979594826698303, -0.7681202292442322, 0.009041424840688705, 0.10927911847829819, 0.10380018502473831, -0.5210204124450684, -0.23077861964702606, 0.20576728880405426, 0.14105793833732605, -0.35560503602027893, 0.25243431329727173, 0.6229272484779358, -0.1788470447063446, -0.4215855896472931, 0.2807580232620239, 0.037733037024736404, 0.031054062768816948, 0.5860409736633301, 0.49234530329704285, -0.5792244076728821, 0.019710062071681023, 0.13628964126110077, -0.07679357379674911, -0.19394128024578094, 0.7762322425842285, -1.2345844507217407, 0.32568150758743286, 0.6173930764198303, 0.7033015489578247, 0.471847265958786, -0.16964317858219147, -0.21648554503917694, -0.6873061060905457, 0.09480144828557968, 0.14087072014808655, 0.25006550550460815, -0.199808269739151, -0.32054129242897034, 0.24454881250858307, 0.40393635630607605, -0.021765420213341713, -0.9738785624504089, -0.04463323950767517, -0.9760145545005798, -0.8105374574661255, 0.6451780796051025, -0.25830620527267456, -0.42342767119407654, -0.5753266215324402, -0.3456457853317261, 0.06909286975860596, -0.4321340024471283, 0.838656485080719, 0.11210966855287552, -0.23101550340652466, 0.2376650720834732, -0.8331171870231628, 0.017063701525330544, -0.04988645389676094, -0.9135391116142273, 0.0799521803855896, 0.2393404245376587, 0.255342036485672, 0.013658266514539719, 0.23734831809997559, -0.3970610499382019, 0.2068539559841156, 0.06322906166315079, -0.07218120247125626, -0.5845076441764832, -0.3911623954772949, -0.2694774568080902, 0.5874248147010803, -0.6231021881103516, -0.9288316965103149 ]
http://arxiv.org/abs/2404.02370v1
http://arxiv.org/pdf/2404.02370v1
Enhancing Human-Computer Interaction in Chest X-ray Analysis using Vision and Language Model with Eye Gaze Patterns
2024-04-03T00:09:05
2024-04-03T00:09:05
Yunsoo Kim, Jinge Wu, Yusuf Abdulle, Yue Gao, Honghan Wu
cs.CV
cs.CV, cs.AI, cs.CL
Recent advancements in Computer Assisted Diagnosis have shown promising performance in medical imaging tasks, particularly in chest X-ray analysis. However, the interaction between these models and radiologists has been primarily limited to input images. This work proposes a novel approach to enhance human-computer interaction in chest X-ray analysis using Vision-Language Models (VLMs) enhanced with radiologists' attention by incorporating eye gaze data alongside textual prompts. Our approach leverages heatmaps generated from eye gaze data, overlaying them onto medical images to highlight areas of intense radiologist's focus during chest X-ray evaluation. We evaluate this methodology in tasks such as visual question answering, chest X-ray report automation, error detection, and differential diagnosis. Our results demonstrate the inclusion of eye gaze information significantly enhances the accuracy of chest X-ray analysis. Also, the impact of eye gaze on fine-tuning was confirmed as it outperformed other medical VLMs in all tasks except visual question answering. This work marks the potential of leveraging both the VLM's capabilities and the radiologist's domain knowledge to improve the capabilities of AI models in medical imaging, paving a novel way for Computer Assisted Diagnosis with a human-centred AI.
[ -0.4700048565864563, -0.6365005373954773, 0.8345987796783447, -0.2051762193441391, -0.44502854347229004, -0.2617245316505432, -0.021216727793216705, -0.7927854657173157, 0.1874719262123108, 0.9855682253837585, -0.5791900157928467, -0.5457869172096252, -0.5507451295852661, -0.11862948536872864, -0.5608690977096558, 0.3347342908382416, 0.017808260396122932, 0.0035275050904601812, -0.5812105536460876, 0.0239701047539711, -0.33300402760505676, -0.40035897493362427, -0.7058582901954651, -0.2851044833660126, 0.21131348609924316, -0.10401863604784012, 1.0254758596420288, 0.4483172297477722, 0.9136846661567688, 0.2756190299987793, 0.379828542470932, 0.24756474792957306, -0.2567357122898102, -0.10884400457143784, 0.13815703988075256, -0.268410861492157, -0.4337056577205658, -0.2572453022003174, 0.15245121717453003, 0.4270552694797516, 0.0770326554775238, 0.12740719318389893, -0.24830225110054016, 1.1385983228683472, -0.624546468257904, 0.3106396496295929, -0.10816022753715515, 0.2574041485786438, -0.17288891971111298, -0.645326554775238, -0.35759103298187256, 0.0028168342541903257, 0.6797401905059814, -0.6139872074127197, 0.19369933009147644, 0.20786181092262268, 0.7352340817451477, 0.7179713249206543, 0.020706312730908394, 0.10683370381593704, -0.3987210988998413, 0.5571635365486145, -0.3298706114292145, 0.4953130781650543, 0.4134509265422821, 0.42223334312438965, 0.35609036684036255, -0.453407883644104, 0.0238302331417799, -0.215272456407547, -0.42884114384651184, 0.19278281927108765, -0.4758630096912384, -0.06145846098661423, 0.22207370400428772, 0.21238628029823303, -0.8794727325439453, -0.25028297305107117, -0.272124320268631, 0.1529492437839508, 0.6079959869384766, 0.29558780789375305, 0.4542475640773773, -0.19533494114875793, -0.41015952825546265, -0.10267847031354904, -0.19950160384178162, -0.15577024221420288, -0.6468616724014282, -0.05281113460659981, -0.08059059083461761, 0.4792864918708801, -0.5934877991676331, 1.1041393280029297, 0.25831761956214905, 0.1129627451300621, 0.31086885929107666, 0.018184073269367218, -0.7005425095558167, 0.04028506949543953, 0.47852087020874023, 0.5572008490562439, 0.022824646905064583, 0.07347804307937622, 0.20010842382907867, 0.4175730347633362, 0.6188611388206482, -0.2310131937265396, -0.3462514877319336, 0.3443770706653595, -0.7979234457015991, -0.6919349431991577, -0.17730477452278137, -0.7705211639404297, -0.5426614880561829, -0.5066563487052917, 0.3230135440826416, -0.3134864866733551, -0.07212971895933151, 0.6343310475349426, -0.08039215952157974, 0.07344669848680496, 0.31890228390693665, -0.2445513755083084, 0.2836001515388489, 0.10510655492544174, 0.5431856513023376, 0.03337453678250313, 0.08394710719585419, -0.7117212414741516, 0.13063262403011322, 0.10668109357357025, 0.8896093368530273, -0.745915949344635, -0.39724433422088623, 0.01934042014181614, -0.1494913250207901, -0.008207674138247967, -0.7073686122894287, 0.10042060911655426, -0.4990643560886383, 0.15884658694267273, -0.18078617751598358, -0.028127646073698997, -0.30973199009895325, 0.4275539517402649, -0.4927012622356415, 0.9897734522819519, 0.25834184885025024, -0.5225169062614441, 0.14435778558254242, -0.6662765145301819, -0.24861933290958405, 0.5084341168403625, -0.4245116710662842, -0.4533742368221283, 0.20844295620918274, 0.5150639414787292, 0.6811909675598145, -0.5299940705299377, 0.002690959721803665, 0.009542115963995457, 0.040867388248443604, 0.4499569833278656, 0.10687311738729477, 0.8724039793014526, -0.16578207910060883, -0.7003839015960693, 0.08574437350034714, -0.7647308111190796, 0.5126290917396545, 0.13453714549541473, 0.07325587421655655, -0.28119978308677673, 0.02923707291483879, -0.025500748306512833, 0.08310920745134354, 0.10384747385978699, -0.2651882469654083, 0.17987482249736786, -0.010744215920567513, -0.2049596905708313, 0.1466945856809616, -0.13009873032569885, -0.2919708788394928, -0.3269580900669098, 0.6309065818786621, -0.07550211250782013, 0.5600278973579407, 0.0841662660241127, -0.6065806746482849, -0.8614580631256104, -0.28032347559928894, -0.2443564534187317, 0.6999605894088745, -1.007411241531372, -0.0017212441889569163, 0.13147693872451782, -0.38579392433166504, -0.5594316124916077, 0.2039424180984497, 0.8441929817199707, 0.6719616651535034, 0.466307669878006, -0.7529261112213135, -0.6558529138565063, -0.7136728763580322, -0.04591282457113266, -0.02827073261141777, 0.09678912907838821, 0.7276325821876526, -0.27971893548965454, -0.3785676062107086, 0.42969661951065063, -0.9552686214447021, -0.7109434604644775, -0.30959030985832214, 0.23048925399780273, -0.025588259100914, 0.10554779320955276, 0.8117265701293945, -0.9405491948127747, -0.7897631525993347, 0.3138333857059479, -1.3099819421768188, -0.3378473222255707, 0.0950036272406578, -0.2506226599216461, 0.018602386116981506, 0.7902876138687134, -0.15094172954559326, 0.8794066309928894, 0.3249577283859253, -0.2041618674993515, 0.3745027780532837, -0.1883058398962021, 0.5190933346748352, -0.2493916004896164, -0.034787606447935104, 0.5632083415985107, -0.46182137727737427, -0.8222166895866394, 0.3889126479625702, 0.04398248344659805, -0.40670081973075867, -0.4026976227760315, 0.27351289987564087, -0.8269789814949036, -0.0032897561322897673, -0.3132076859474182, 0.37334075570106506, -0.02484653890132904, 0.3442167043685913, 0.5633676648139954, 0.1476210504770279, 1.0345783233642578, -0.30221056938171387, 0.40918320417404175, 0.3555409610271454, -0.3488735556602478, 0.7613375186920166, -0.6445299983024597, 0.24811433255672455, -0.00017312508134637028, -0.43675288558006287, -0.6278448104858398, -0.19464068114757538, 0.20290744304656982, -0.3678639829158783, 0.5762717127799988, -0.03137122839689255, -0.1668815314769745, -0.5635967254638672, -0.26185885071754456, 0.4576719403266907, 0.5499985218048096, -0.3361092209815979, 0.6752728223800659, 0.34156131744384766, -0.12718059122562408, -0.28357622027397156, -0.560531735420227, 0.2966678738594055, 0.15001259744167328, -0.7363024950027466, 0.2161409854888916, -0.07905401289463043, -0.506304144859314, 0.22449414432048798, 0.392910897731781, -0.2325543910264969, -0.09640727937221527, 0.38966214656829834, 0.8118358850479126, -0.2727993130683899, -0.3064316511154175, -0.5371170043945312, -0.3660762906074524, 0.14088848233222961, -0.4208487570285797, 0.40625014901161194, -0.1468193233013153, -0.2856377363204956, -0.6317811608314514, 0.4078531563282013, 0.6557024121284485, -0.3254014849662781, 0.17891648411750793, 0.531866192817688, -0.32566624879837036, 0.3590686321258545, -0.8328967094421387, 0.12378285825252533, -0.42660269141197205, 0.31623491644859314, -0.0743476077914238, -0.6577672362327576, -0.20506054162979126, 0.1449752002954483, -0.32882848381996155, 0.09462686628103256, 0.6585734486579895, -0.2065538465976715, 1.1734373569488525, 1.0467325448989868, -0.15336787700653076, 0.4145807921886444, -0.15792791545391083, 0.08379780501127243, -1.1684597730636597, -0.2589254677295685, -0.3288588225841522, -0.11475866287946701, 0.03244592994451523, -0.507952868938446, 0.8610574007034302, -0.6965727210044861, 0.6471385955810547, 0.062402766197919846, -0.9022760987281799, 0.4241199195384979, 0.35780295729637146, 0.7906723618507385, 0.04877263680100441, 0.17772427201271057, 0.2876609265804291, -0.11319104582071304, -0.6524357795715332, -0.041134487837553024, 1.046477198600769, -0.19816532731056213, 0.5341587066650391, -0.2135028839111328, 0.5662158131599426, 0.43441182374954224, 0.10602866113185883, -0.5038778185844421, 0.5238152146339417, -0.4311407506465912, -0.5662752389907837, -0.26662904024124146, -0.04363679513335228, -0.726542055606842, 0.14075882732868195, -0.3217858672142029, -0.8602558970451355, 0.3296424448490143, 0.38433024287223816, -0.6038709282875061, -0.038306642323732376, -0.5165848135948181, 0.7994191646575928, -0.516917884349823, -0.6180605888366699, -0.34780409932136536, -0.5952527523040771, 0.28035831451416016, 0.050012681633234024, 0.13658931851387024, 0.14487788081169128, 0.14285050332546234, 0.41864457726478577, -0.39273935556411743, 1.051760196685791, -0.14215624332427979, 0.1670105755329132, 0.11056719720363617, -0.034703947603702545, 0.19544477760791779, -0.23931153118610382, -0.030079957097768784, 0.013170521706342697, -0.178279846906662, -0.4062286913394928, -0.46065545082092285, 0.5912014842033386, -0.6463368535041809, -0.7387070655822754, -0.36305874586105347, -0.649462878704071, -0.44082674384117126, 0.1665589064359665, 0.20250961184501648, 0.7221673130989075, 0.01773199439048767, -0.00999515876173973, 0.8024451732635498, -0.1153130903840065, -0.20709459483623505, 0.527292013168335, -0.23754939436912537, -0.07632181793451309, 0.8232353925704956, 0.031194742769002914, 0.16798678040504456, 0.47253692150115967, 0.13925842940807343, 0.15844972431659698, -0.404194176197052, -0.32425981760025024, 0.373972088098526, -0.6540738940238953, -0.09125781059265137, -0.6825771927833557, -0.08698578178882599, -0.2873553931713104, -0.7789742350578308, 0.11345493048429489, 0.16531594097614288, -0.24705541133880615, 0.39794179797172546, 0.3489839732646942, 0.3935096859931946, 0.11451074481010437, 0.13763101398944855, -0.8691728711128235, 0.5535997748374939, 0.3537841737270355, 0.06263844668865204, -0.05668734386563301, -0.19720126688480377, -0.5219753980636597, -0.5027371644973755, 0.060535822063684464, -0.6804957985877991, 0.5391145944595337, -0.07916616648435593, 0.4001026451587677, 0.45721185207366943, -0.0018429843476042151, 0.7370821237564087, -0.07105334848165512, 0.5904176235198975, 0.4448317885398865, -0.8290325999259949, 0.748214602470398, -0.06644129008054733, 0.706372857093811, 0.46638575196266174, 0.2652907371520996, -0.1775473654270172, -0.46175768971443176, -0.5191595554351807, -0.6002734303474426, 0.7665428519248962, 0.07775241136550903, -0.5457830429077148, 0.18425653874874115, 0.3455612063407898, -0.2636086642742157, 0.14081186056137085, -0.26512953639030457, -0.20846793055534363, -0.011338689364492893, -0.238038569688797, 0.028964193537831306, -0.18183034658432007, -0.12022830545902252, -0.2362893968820572, 0.7318953275680542, -0.2922332286834717, 0.13129036128520966, 0.45029571652412415, -0.30500635504722595, -0.4485279321670532, -0.18578137457370758, 0.2910425364971161, 0.5531202554702759, -0.19830819964408875, 0.18166399002075195, -0.10504937171936035, -0.6136667132377625, -0.2838347852230072, -0.04591083154082298, -0.12736505270004272, 0.0100629897788167, 0.0637064278125763, 0.6072443723678589, 0.4732982814311981, -0.79070645570755, 0.18922653794288635, -0.3710114061832428, -0.1282549500465393, -0.12169607728719711, 0.2022572010755539, -0.033594243228435516, 0.5436753034591675, 0.1777966171503067, 0.41783949732780457, 0.37741389870643616, -0.4332495927810669, 0.18357446789741516, 0.4018363952636719, -0.79741370677948, 0.09298352152109146, 0.6616603136062622, 0.13394923508167267, -0.06520792841911316, 0.6049104332923889, 0.25647446513175964, -0.5279703736305237, 0.7371624112129211, 0.038302432745695114, 0.9823397994041443, -0.1893499493598938, 0.20996829867362976, 0.1006590723991394, 0.40430063009262085, 0.1752258986234665, 0.6429786086082458, -0.16357354819774628, -0.36873185634613037, -0.055777840316295624, 0.02192103862762451, -0.5073418617248535, -0.06561925262212753, -1.1396210193634033, 0.39610475301742554, -0.3899295926094055, -0.16597113013267517, 0.29697349667549133, -0.006910616531968117, -0.7522177696228027, 0.7868139147758484, 0.524360716342926, 0.5875865817070007, -0.4515732228755951, 0.7847311496734619, 0.6795580387115479, -0.23869846761226654, -0.3057226240634918, -0.1070580780506134, 0.4910440444946289, -1.2633795738220215, 0.4824741780757904, 0.1434992402791977, -0.2685607671737671, -0.006277020089328289, -0.4408806264400482, -0.7979969382286072, 0.9715176820755005, -0.04017737880349159, -0.675449013710022, 0.3351937234401703, -0.12037912756204605, 0.5562583208084106, -0.40485769510269165, 0.03204401955008507, 0.612080991268158, 0.442935049533844, -0.09325909614562988, -0.683769702911377, 0.20091380178928375, -0.5780417323112488, -0.22119033336639404, 0.332750529050827, -0.5783453583717346, 0.3627498149871826, -0.4362151026725769, 0.05022691190242767, -0.13296084105968475, 0.3130488693714142, -0.11831942945718765, 0.4680638015270233, 0.5491518974304199, 0.6131253838539124, 0.5783253312110901, 0.020229194313287735, 1.4208101034164429, -0.4127737581729889, -0.03408733010292053, 0.7205672860145569, -0.581821620464325, 0.7582727670669556, 0.4140503704547882, -0.058948371559381485, 0.40617090463638306, 0.14056475460529327, -0.16988994181156158, 0.37813273072242737, -0.26233145594596863, -0.18462444841861725, -0.45400094985961914, -0.16293290257453918, -0.3180185854434967, 0.18498733639717102, 0.4582298994064331, -0.3307570517063141, 0.10054323822259903, 0.3403145670890808, -0.24601072072982788, -0.28981393575668335, -0.455926775932312, 0.7888044714927673, -0.15486016869544983, -0.3561551570892334, 0.9215987920761108, -0.5515215992927551, 0.3363834023475647, -0.5461779832839966, 0.24115893244743347, 0.19961026310920715, 0.27041947841644287, -0.5249758362770081, -0.5447563529014587, 0.2350640743970871, 0.22646155953407288, -0.4543421268463135, 0.03316904604434967, 0.7320157289505005, -0.2707405984401703, -0.6662013530731201, 0.3457264006137848, 0.33369123935699463, 0.29411566257476807, -0.2639181911945343, -0.7168384194374084, 0.5022899508476257, 0.3483401834964752, -0.15270152688026428, 0.5427994728088379, 0.05015246942639351, -0.0067726196721196175, 0.6360403299331665, 0.3744320273399353, 0.061010830104351044, -0.09002910554409027, 0.22537654638290405, 0.94454026222229, -0.47719258069992065, -0.1841706931591034, -0.4314393103122711, 0.5991092920303345, -0.21084819734096527, -0.14938077330589294, 0.3780939280986786, 0.21203355491161346, 0.6545755863189697, -0.24336153268814087, 1.008571982383728, -0.019955666735768318, 0.32245707511901855, -0.6366174221038818, 0.44725844264030457, -1.0647873878479004, -0.010044005699455738, -0.47897210717201233, -0.2670150101184845, -0.638498842716217, 0.5639892816543579, -0.3348786234855652, -0.21145795285701752, 0.9175697565078735, 0.7139328122138977, -0.01773344725370407, -0.28495660424232483, 0.8678308129310608, 0.3528118133544922, -0.09325217455625534, 0.5228537321090698, 0.2815990746021271, -0.3731831908226013, 0.415947288274765, -0.5880598425865173, -0.7259809970855713, -0.8112562298774719, -0.3981747627258301, -0.898668646812439, -0.47940319776535034, -1.042373538017273, -0.06654729694128036, 0.09229908138513565, 0.4802042543888092, 0.9175586104393005, -0.3719017207622528, -0.22992056608200073, 0.5270166993141174, -0.46836739778518677, -0.5071327090263367, -0.1474248617887497, 0.46450096368789673, -0.17232152819633484, -0.5497822165489197, 0.37179991602897644, 0.9870116114616394, -0.1666090339422226, -0.43871983885765076, 0.16654853522777557, 0.15151932835578918, 0.08994977921247482, 0.8532771468162537, 0.36701008677482605, -0.7042487263679504, -0.0835549384355545, 0.3038051724433899, -0.020351814106106758, 0.23141397535800934, 0.8095424175262451, -1.0508445501327515, 1.0296088457107544, 0.2095005214214325, 0.44316333532333374, 0.5324378609657288, -0.09107621759176254, 0.2913568913936615, -0.3320182263851166, 0.21234031021595, -0.05892663449048996, 0.5567431449890137, 0.40016740560531616, -0.9520031213760376, 0.4030054211616516, 0.10726112872362137, -0.3316328525543213, -0.617925763130188, 0.053015418350696564, -1.34983491897583, -0.19644670188426971, 0.6237038373947144, 0.0034757822286337614, -0.6195878982543945, -0.30925875902175903, -0.6243811249732971, -0.2433125078678131, 0.0105447294190526, 1.1054850816726685, 0.23281414806842804, -0.6362985372543335, -0.5577657222747803, -0.4570896625518799, 0.32876917719841003, 0.5389253497123718, -1.0216600894927979, -0.0013675051741302013, 0.4108677804470062, -0.03051023557782173, 0.31990766525268555, 0.5518264770507812, -0.3415251076221466, 0.9332162737846375, -0.26409053802490234, 0.07034673541784286, -0.0820237472653389, -0.1004585325717926, -0.08281300961971283, 0.21142566204071045, -0.03184732794761658, -0.19698314368724823 ]
http://arxiv.org/abs/2404.02356v1
http://arxiv.org/pdf/2404.02356v1
Two Heads are Better than One: Nested PoE for Robust Defense Against Multi-Backdoors
2024-04-02T22:58:38
2024-04-02T22:58:38
Victoria Graf, Qin Liu, Muhao Chen
cs.CL
cs.CL
Data poisoning backdoor attacks can cause undesirable behaviors in large language models (LLMs), and defending against them is of increasing importance. Existing defense mechanisms often assume that only one type of trigger is adopted by the attacker, while defending against multiple simultaneous and independent trigger types necessitates general defense frameworks and is relatively unexplored. In this paper, we propose Nested Product of Experts(NPoE) defense framework, which involves a mixture of experts (MoE) as a trigger-only ensemble within the PoE defense framework to simultaneously defend against multiple trigger types. During NPoE training, the main model is trained in an ensemble with a mixture of smaller expert models that learn the features of backdoor triggers. At inference time, only the main model is used. Experimental results on sentiment analysis, hate speech detection, and question classification tasks demonstrate that NPoE effectively defends against a variety of triggers both separately and in trigger mixtures. Due to the versatility of the MoE structure in NPoE, this framework can be further expanded to defend against other attack settings
[ -0.07983050495386124, -0.8353264927864075, 0.10092999786138535, 0.18517951667308807, 0.11604917049407959, 0.5130511522293091, -0.0015571137191727757, -0.4810263514518738, 0.0359094999730587, 0.4959416687488556, -0.18579187989234924, -0.5828922390937805, -0.578205943107605, -0.04873005673289299, -0.45151326060295105, 1.1352307796478271, 0.45566025376319885, -0.48416465520858765, 0.1487177163362503, 0.019506728276610374, -0.3957453966140747, -0.5542377829551697, -0.6606271862983704, -0.09302579611539841, 0.631607174873352, 0.4982201159000397, 0.49148327112197876, 0.0942700058221817, 0.4252535104751587, 0.2445748746395111, 0.276826947927475, -0.034100115299224854, -0.3071807622909546, 0.47779616713523865, -0.25070369243621826, -0.8059812188148499, -0.6939665079116821, -0.270874947309494, 0.16478756070137024, -0.07089518010616302, -0.2205323576927185, -0.24003846943378448, -0.06803152710199356, 0.41502776741981506, -0.8600069880485535, -0.442643940448761, -1.3234665393829346, 0.16646257042884827, -0.015821469947695732, -0.0567510724067688, -0.6423347592353821, 0.18727394938468933, -0.0823805034160614, -0.5171715617179871, 0.09509499371051788, 0.32738205790519714, 0.5106668472290039, 0.14204730093479156, -0.35146504640579224, 0.2612420618534088, -0.2643432915210724, 0.884054958820343, -0.8969762921333313, 0.2760859727859497, -0.018863797187805176, 0.08481770008802414, -0.30110448598861694, -0.18077093362808228, -0.6149596571922302, -0.003828903194516897, 0.07719845324754715, 0.38511183857917786, -0.5574132204055786, 0.2483823001384735, -0.02658965438604355, 0.20651400089263916, -0.7553118467330933, 0.6193360090255737, -0.16991688311100006, -0.18082469701766968, 0.8531320691108704, 0.045876409858465195, 0.39171868562698364, -0.18882891535758972, -0.9088413119316101, -0.10708482563495636, -0.7537003755569458, -0.16499081254005432, 0.7009603381156921, 0.3561718761920929, -0.015734931454062462, 0.2753793001174927, -0.03692755848169327, 0.5170518159866333, 0.33322152495384216, -0.6112838387489319, 0.10692926496267319, 0.055988628417253494, -0.24669864773750305, 0.06086898222565651, 1.0002025365829468, 0.514870285987854, 0.11982231587171555, -0.5744982361793518, -0.35218220949172974, 0.14253954589366913, 0.6013562679290771, -0.4993059039115906, -0.2625815272331238, 0.6754972338676453, -0.2859403192996979, -0.831249475479126, 0.029940197244286537, -1.2528440952301025, -0.2890472710132599, 0.3845018446445465, 0.5376337766647339, -0.1454520970582962, -0.7166350483894348, -0.00046914193080738187, -0.4248849153518677, -0.060220424085855484, -0.12258750945329666, -0.8345544934272766, 0.6866060495376587, 1.0372169017791748, 0.7616466283798218, -0.531424343585968, -0.508215606212616, -0.8271048665046692, 0.36599698662757874, -0.4984767735004425, 0.7666729688644409, -0.47943392395973206, -0.5084257125854492, -0.08808145672082901, -0.445054292678833, -0.13901366293430328, -0.6024514436721802, 0.456404447555542, -0.8246235251426697, 0.2046269029378891, 0.1480034440755844, -0.27361318469047546, -0.19783060252666473, 0.626491904258728, -0.5802522301673889, 1.0488128662109375, -0.20818637311458588, -1.0014077425003052, 0.3360501229763031, -0.4242907464504242, -0.6645461916923523, 0.12976403534412384, -0.5098484754562378, -0.44924962520599365, 0.016955295577645302, 0.3833628296852112, 0.5333752632141113, 0.14382769167423248, 0.11092056334018707, -0.6648730635643005, 0.2537460923194885, -0.17852357029914856, -0.12349073588848114, 0.6542278528213501, -0.030498791486024857, -0.3910813629627228, 0.38371169567108154, -0.9881191253662109, -0.22722043097019196, 0.09171105176210403, -0.2801920175552368, -0.47221043705940247, 0.05519350618124008, -0.40718674659729004, 0.257757306098938, 0.06404329836368561, -0.9566088914871216, 0.1700754165649414, -0.5071811676025391, 0.18338939547538757, 0.9072364568710327, 0.4249226450920105, 0.47368669509887695, -0.40760672092437744, 0.5762105584144592, 0.3789600729942322, 0.16484108567237854, -0.1314098984003067, -0.8455819487571716, -0.25928279757499695, -0.5572132468223572, -0.237360417842865, 0.8396235108375549, -0.7799167633056641, 0.6066794395446777, 0.045890774577856064, -0.48706743121147156, -0.2083824723958969, 0.22577622532844543, 0.39944693446159363, 0.8218280076980591, 0.3033263385295868, -0.12313415110111237, -0.47049638628959656, -0.8787161111831665, -0.3363872766494751, -0.3231382668018341, -0.15679582953453064, 0.06963504105806351, 0.5889391303062439, -0.006537980400025845, 0.9420599937438965, -0.2631056010723114, -0.14221780002117157, -0.07080410420894623, 0.05365011841058731, 0.3056921660900116, 0.36989423632621765, 0.720250129699707, -0.5350868105888367, -0.397288978099823, 0.08648041635751724, -0.7457137107849121, -0.17131061851978302, 0.05103373900055885, -0.13550131022930145, 0.042872097343206406, 0.0761851891875267, -0.6592073440551758, 0.17465181648731232, 0.4892195165157318, 0.15036536753177643, 0.6859749555587769, 0.3406027853488922, -0.033253706991672516, -1.199558138847351, -0.2759471833705902, -0.03691604733467102, -0.12293151766061783, -0.7579497694969177, 0.559585452079773, -0.2782561182975769, -0.300056517124176, -0.44557851552963257, 0.415282279253006, 0.043883711099624634, -0.0699857547879219, -0.14281532168388367, -0.17172129452228546, 0.22999773919582367, 0.5669695734977722, 0.012339162640273571, 0.6662816405296326, 0.9632018804550171, -0.5534152984619141, 0.5418985486030579, 0.1281140297651291, -0.08114633709192276, 0.779130220413208, -0.9689064025878906, 0.4398724436759949, 0.20616625249385834, 0.3850061595439911, -0.9803285002708435, -0.2544483244419098, 0.443369597196579, -0.4130886495113373, 0.4076545834541321, -0.298596054315567, -0.561759889125824, -0.3843860924243927, -0.7061688899993896, 0.09245023876428604, 0.33074694871902466, -0.653190553188324, 0.8570592999458313, 0.3212290406227112, -0.22719107568264008, -1.010465383529663, -0.9966059327125549, 0.2382374256849289, -0.5323910713195801, -1.0952259302139282, 0.2882998585700989, -0.11650286614894867, -0.46860596537590027, -0.2305137813091278, -0.11634387820959091, -0.11158212274312973, 0.17930789291858673, 0.22438441216945648, 0.06768449395895004, -0.4750712215900421, 0.27392613887786865, 0.011119278147816658, -0.18620172142982483, 0.08308862149715424, -0.5309170484542847, 0.202730193734169, 0.09301269054412842, -0.5290338397026062, -0.3149411082267761, 0.9806585311889648, 0.686501145362854, -0.26266828179359436, 0.6733355522155762, 0.3938283920288086, -0.3133557438850403, -0.41083917021751404, -0.68976891040802, -0.5215246081352234, -0.4514583349227905, 0.3392064571380615, -0.4006529152393341, -0.581617534160614, 0.7087794542312622, 0.4086574614048004, 0.4125329852104187, 0.4289451241493225, 0.5635076761245728, 0.2536630630493164, 0.7531773447990417, 0.39714765548706055, -0.5111274719238281, 0.1700679361820221, -0.11417833715677261, 0.573756217956543, -0.6645781993865967, -0.18534564971923828, -0.19253277778625488, -0.1922818124294281, -0.31268712878227234, 0.13336825370788574, 0.5193327069282532, -0.017224224284291267, -0.18844719231128693, 0.3031395971775055, -0.7102271318435669, 0.31937992572784424, 0.4802621901035309, 0.23783357441425323, 0.3149707019329071, 0.1850818693637848, 0.13059233129024506, 0.3312782645225525, -0.9745229482650757, -0.37957334518432617, 1.2990105152130127, 0.6812816262245178, 1.065009593963623, 0.13712333142757416, 0.8798908591270447, 0.24066810309886932, -0.08348578214645386, -0.6278784275054932, 0.4222422242164612, -0.009844308719038963, -0.9586632251739502, -0.023594198748469353, -0.18795660138130188, -0.6808434128761292, 0.5469258427619934, -0.13437852263450623, -1.107767105102539, 0.47025957703590393, 0.20326554775238037, -0.9407206773757935, 0.7084976434707642, -0.8541548252105713, 0.6662041544914246, -0.38669857382774353, -0.53516685962677, -0.09981656819581985, -0.6216935515403748, 0.6595412492752075, -0.13413578271865845, 0.16815343499183655, 0.11369108408689499, -0.12010735273361206, 0.8718801736831665, -0.292208194732666, 1.021494746208191, 0.024205967783927917, -0.2979130148887634, 0.24358920753002167, 0.0796872228384018, 0.377745658159256, 0.2704450488090515, -0.20056219398975372, 0.20651938021183014, -0.3709551692008972, -0.37998872995376587, -0.3827486038208008, 0.574415385723114, -0.6333197951316833, -0.8752244710922241, -0.17827551066875458, -0.3744342029094696, -0.11023444682359695, 0.27542799711227417, 0.6749045252799988, 0.384297639131546, 0.1282682865858078, 0.1568787395954132, 0.9546030163764954, -0.1795412302017212, 0.5481704473495483, 0.4930914342403412, 0.05711950734257698, -0.3920702338218689, 0.7059134244918823, 0.0005014431662857533, 0.45253515243530273, 0.671624481678009, 0.4311537444591522, -0.02516644261777401, -0.5888016819953918, -0.1811043620109558, -0.41156548261642456, -0.5409319400787354, -0.6306039690971375, -1.0832617282867432, 0.035650383681058884, -0.7471224665641785, -0.026616284623742104, -0.4559861421585083, -0.007368796970695257, 0.13907355070114136, -0.25156405568122864, 0.6041600108146667, 0.7162985801696777, -0.28292712569236755, 0.4260149896144867, -0.5750796794891357, 0.5738202333450317, 0.9584575295448303, 0.03720463812351227, 0.21808616816997528, -0.20333118736743927, 0.2376231700181961, -0.10069872438907623, -0.4448778033256531, -1.2537972927093506, 0.27312836050987244, 0.11294178664684296, 0.6895294189453125, 0.4292795956134796, 0.3306136429309845, -0.025939051061868668, -0.37812352180480957, 0.8953343629837036, 0.19028469920158386, -0.6001337766647339, 0.4375231862068176, -0.5929549336433411, -0.1542867124080658, 0.2199842929840088, 0.15966947376728058, -0.07920125871896744, -0.46180662512779236, -0.6699842214584351, -0.9238191843032837, 0.314649760723114, -0.0402444526553154, -0.005010543391108513, 0.01876220852136612, -0.3853946626186371, 0.38355085253715515, 0.5507020950317383, -0.7378671765327454, 0.1677848845720291, -0.1583327203989029, -0.04615681618452072, 0.4821542501449585, -0.10833132266998291, -0.5477062463760376, 0.0812808945775032, 0.6681115031242371, 0.08125631511211395, 0.2579696476459503, 0.09121337532997131, -0.07488584518432617, -0.13806986808776855, 0.4489707052707672, 0.34432750940322876, 0.2842327654361725, -0.1268160045146942, 0.19236207008361816, 0.15825702250003815, -0.185281902551651, 0.03602093458175659, -0.1473834365606308, 0.07326448708772659, -0.2207673192024231, 0.8057244420051575, 0.6596030592918396, 0.31563806533813477, -0.2595578730106354, 0.704804539680481, 0.3444271981716156, -0.042050234973430634, -0.013523503206670284, 0.27818775177001953, -0.35481998324394226, 0.14143836498260498, 0.568899929523468, 0.23488664627075195, 0.10587237030267715, -0.6321231722831726, 0.4568744897842407, 0.2246556282043457, 0.2879457175731659, -0.2570763826370239, 0.30642199516296387, 0.36205029487609863, -0.41767439246177673, 0.30085140466690063, 0.0741325095295906, -1.1490833759307861, 0.6631975173950195, 0.47800853848457336, 0.943978488445282, -0.4154248833656311, -0.1493358463048935, -0.05016395077109337, 0.5607566833496094, 0.19749291241168976, 0.0999709740281105, -0.04898153990507126, -1.0203826427459717, 0.00409171637147665, -0.2509136199951172, -0.34728413820266724, 0.2691933512687683, -0.5099394917488098, -0.07375524193048477, -0.7015509605407715, 0.10719253867864609, -0.023798808455467224, -0.2867439389228821, -0.3247411251068115, 0.09884027391672134, -0.03357521817088127, 0.8861424922943115, -0.9619158506393433, 0.3390653729438782, 0.38421881198883057, -0.33732354640960693, -0.5210874676704407, 0.1048571988940239, 0.2924717664718628, -0.7578467726707458, 0.45985135436058044, 0.044718850404024124, -0.3762666881084442, -0.29863548278808594, -0.6023047566413879, -0.28075912594795227, 0.39937546849250793, 0.0608440525829792, -0.6619105935096741, 0.034051261842250824, -0.2360253483057022, 0.48146137595176697, -0.5780048370361328, 0.10533564537763596, 0.31734296679496765, 0.20415891706943512, -0.27373331785202026, -0.5890113115310669, -0.2910700738430023, -0.4304203391075134, -0.4891938269138336, -0.05728287249803543, -0.63503497838974, 1.010421633720398, -0.02014719881117344, -0.059103723615407944, -0.18009595572948456, 0.493995726108551, 0.4882541298866272, 0.43055349588394165, 0.612013041973114, 0.9939625263214111, 0.40968555212020874, 0.23592671751976013, 1.0328433513641357, -0.4456731975078583, -0.06934640556573868, 1.2595137357711792, -0.30639591813087463, 1.1642191410064697, 0.13846978545188904, -0.08404788374900818, 0.7915791273117065, 0.4501245319843292, -0.10378430038690567, 0.5241915583610535, -0.03669869527220726, -0.2532180845737457, -0.20600473880767822, 0.2201453298330307, -0.6539829969406128, 0.39887458086013794, 0.3085622489452362, -0.14510852098464966, -0.1095956414937973, -0.0032012052834033966, 0.12628111243247986, 0.12649740278720856, -0.1725984662771225, 1.0012086629867554, 0.05287695676088333, -0.5738837122917175, 0.19520388543605804, -0.29891589283943176, 0.93169105052948, -0.6165671944618225, 0.3537636697292328, 0.024542158469557762, 0.18821629881858826, -0.6643356680870056, -0.9862620234489441, 0.13703633844852448, 0.05629382282495499, -0.2406638264656067, 0.07098551839590073, 0.9204702377319336, -0.4252795875072479, -0.13001000881195068, 0.5357485413551331, 0.045472826808691025, -0.24068717658519745, -0.4015842378139496, -0.5871067047119141, 0.05708819627761841, -0.5008111000061035, -0.19326302409172058, 0.04107816144824028, 0.14470063149929047, 0.17826879024505615, 0.4416600167751312, 0.5722035765647888, -0.050496190786361694, 0.5911930203437805, 0.02274007722735405, 0.9318385720252991, 0.03518809378147125, -0.9360736012458801, -0.8851330280303955, 0.6593392491340637, -0.6243734359741211, -0.25871485471725464, 0.909122884273529, 0.5124331116676331, 0.6942841410636902, 0.0047913515008986, 0.9308084845542908, 0.23988035321235657, 0.5291063189506531, -0.2709035575389862, 0.5067151188850403, -0.3652265965938568, 0.1029268205165863, -0.4386729896068573, -0.8489205241203308, -0.12256726622581482, 0.40957945585250854, -0.24523474276065826, -0.01627868041396141, 0.5246700644493103, 0.9030085206031799, -0.10378564149141312, 0.08384883403778076, 0.3017420768737793, 0.39919909834861755, 0.5859588384628296, 0.7899808287620544, 0.8434840440750122, -0.404803603887558, 0.31145286560058594, -0.35476967692375183, -0.45539039373397827, -0.11024188250303268, -0.9303410053253174, -1.1407098770141602, -0.11736463755369186, -0.3093917965888977, -0.1829860508441925, 0.21993373334407806, 0.7098205089569092, 1.1571577787399292, -1.015923261642456, 0.11326766014099121, 0.0012345114955678582, 0.4424665570259094, -0.23034736514091492, -0.24182136356830597, -0.13023391366004944, -0.2943163216114044, -0.19009913504123688, 0.75189608335495, 0.6890646815299988, -0.4041174054145813, -0.3762841820716858, 0.24071189761161804, -0.21859923005104065, 0.15612171590328217, 0.5917510986328125, 0.3560474216938019, -0.9121402502059937, -0.41502928733825684, -0.12539136409759521, -0.10724984854459763, 0.08898048102855682, 0.5442575216293335, -0.5261893272399902, 0.5459825992584229, 0.9646745920181274, 0.8292174935340881, -0.24929925799369812, -0.08211355656385422, 0.7506781816482544, -1.0743993520736694, 0.37097886204719543, 0.43471893668174744, 0.33809176087379456, 0.26197129487991333, -0.801199197769165, 0.2902931272983551, 0.4044509530067444, -0.3270752429962158, -0.8218886256217957, 0.5223909020423889, -1.0112860202789307, -0.257256418466568, 1.1786304712295532, -0.2838965058326721, -0.333618700504303, -0.1563943475484848, -0.07514522969722748, -0.06865577399730682, -0.7728998064994812, 0.9342526197433472, 0.6295123100280762, 0.23317129909992218, -0.19703039526939392, -0.09781498461961746, 0.05247341841459274, 0.3499602675437927, -0.8865963220596313, -0.08630292117595673, 0.0009850023780018091, 0.18548960983753204, 0.5349981188774109, 0.11311118304729462, 0.02455800585448742, 0.2083768993616104, 0.3652263283729553, -0.15525995194911957, -0.10617424547672272, -0.742414653301239, -0.2212209701538086, 0.5339038968086243, -0.21232184767723083, -0.5750933289527893 ]
http://arxiv.org/abs/2404.02342v1
http://arxiv.org/pdf/2404.02342v1
A Computational Analysis of Lyric Similarity Perception
2024-04-02T22:31:38
2024-04-02T22:31:38
Haven Kim, Taketo Akama
cs.CL
cs.CL, cs.SD, eess.AS
In musical compositions that include vocals, lyrics significantly contribute to artistic expression. Consequently, previous studies have introduced the concept of a recommendation system that suggests lyrics similar to a user's favorites or personalized preferences, aiding in the discovery of lyrics among millions of tracks. However, many of these systems do not fully consider human perceptions of lyric similarity, primarily due to limited research in this area. To bridge this gap, we conducted a comparative analysis of computational methods for modeling lyric similarity with human perception. Results indicated that computational models based on similarities between embeddings from pre-trained BERT-based models, the audio from which the lyrics are derived, and phonetic components are indicative of perceptual lyric similarity. This finding underscores the importance of semantic, stylistic, and phonetic similarities in human perception about lyric similarity. We anticipate that our findings will enhance the development of similarity-based lyric recommendation systems by offering pseudo-labels for neural network development and introducing objective evaluation metrics.
[ -0.6315106749534607, -0.033133089542388916, 0.631479024887085, 0.42712879180908203, -0.036014046519994736, 0.125252366065979, -0.1967652589082718, -0.7812926173210144, 0.5759186148643494, 0.40179717540740967, -0.8151069283485413, -0.4594304859638214, -0.13522428274154663, 0.10210657864809036, -0.4626968502998352, 0.8562376499176025, 0.26979705691337585, 0.080481618642807, -0.3794304132461548, 0.19744691252708435, -0.27519699931144714, -0.4606960415840149, -0.3193332254886627, -0.3196173310279846, 0.8667535185813904, -0.06016317754983902, 0.3071529269218445, 0.18830272555351257, 0.6587254405021667, 0.35309678316116333, -0.029032530263066292, -0.37765032052993774, -0.4173038899898529, 0.07310853898525238, -0.07538150250911713, -0.5622207522392273, -0.06406303495168686, 0.30554479360580444, 0.31136181950569153, 0.7520864009857178, 0.1318492293357849, 0.37338125705718994, 0.13818401098251343, 0.692886233329773, -0.21418149769306183, -0.08155007660388947, -0.8467164635658264, 0.3813979923725128, -0.2570929527282715, -0.1608731746673584, 0.14288398623466492, -0.580555260181427, 0.9849653840065002, -0.871924638748169, 0.4270888864994049, 0.36868661642074585, 0.7804917097091675, 0.07639820873737335, 0.20417597889900208, -0.6528575420379639, -0.5125163793563843, 0.582850992679596, -0.45197823643684387, 0.2529675364494324, 0.1391046941280365, 0.3183179199695587, -0.04469529911875725, -0.5675055384635925, -0.6439254283905029, -0.5616121888160706, -0.09065531939268112, 0.3116680681705475, -0.21195466816425323, 0.008672144263982773, 0.24039258062839508, 0.2762443721294403, -0.8168116211891174, -0.19451794028282166, -0.28304940462112427, -0.39418265223503113, 0.2831498980522156, -0.11446663737297058, 0.5582200288772583, -0.46868646144866943, -0.7151505351066589, -0.10611705482006073, -0.5130214691162109, 0.1055767610669136, 0.6951808333396912, 0.41235271096229553, -0.13076716661453247, 0.2801904082298279, -0.06978504359722137, 0.7714433073997498, -0.05588304623961449, -0.11124105751514435, 0.5687687397003174, -0.10585678368806839, -0.2594239413738251, 0.24608667194843292, 0.92435222864151, 0.4068133533000946, 0.5897384881973267, -0.5889434218406677, -0.18553327023983002, 0.39932265877723694, 0.5033379197120667, -0.12742389738559723, -0.591240644454956, -0.44629162549972534, -0.8407726287841797, -0.37825316190719604, 0.1814420521259308, -0.42407357692718506, -0.44004499912261963, -1.005553126335144, 0.8119322657585144, -0.5146438479423523, -0.04020065441727638, -0.16883467137813568, -0.42791521549224854, -0.1839442402124405, -0.1266431212425232, -0.6744489073753357, 0.22612836956977844, 0.8181358575820923, 0.987654447555542, -0.06438222527503967, -0.3489857017993927, 0.20184588432312012, -0.2492435723543167, -0.3679628372192383, 0.9573062658309937, -0.4006504714488983, -0.30101221799850464, -0.4224865734577179, -0.29928165674209595, -0.16381175816059113, -0.9194070100784302, 0.6066097617149353, -0.26258033514022827, -0.2282194048166275, -0.8332687020301819, -0.6662509441375732, -0.1568470299243927, -0.07494358718395233, -0.6822171807289124, 0.483093798160553, 0.1293230652809143, -0.8275886178016663, 0.4926895797252655, -0.5866956114768982, -0.15096768736839294, -0.17086322605609894, -0.22814248502254486, -0.11898437142372131, 0.5386925935745239, -0.25022566318511963, 0.24167285859584808, -0.19054923951625824, -0.22047534584999084, -0.5572338700294495, -0.7970862984657288, 0.6993657350540161, 0.13156355917453766, 0.5118881464004517, 0.5657104253768921, -0.12504664063453674, 0.2332160323858261, -0.6972483992576599, 0.06888945400714874, -0.11490551382303238, -0.056455571204423904, -0.6949646472930908, 0.0011487046722322702, 0.4444553256034851, 0.015404939651489258, 0.2316570281982422, -0.6072536706924438, -0.09712626039981842, -0.7374798655509949, 0.4656594693660736, 0.7896292805671692, -0.1804201304912567, 0.3946615755558014, -0.8531294465065002, 0.40465229749679565, -0.3577618896961212, -0.09230569750070572, 0.2815353274345398, -0.3287349343299866, -0.3625068962574005, -0.012422079220414162, 0.6111993193626404, 0.25760748982429504, -0.1115938276052475, 0.5126239061355591, -0.3626168370246887, -0.46736830472946167, -0.5812540054321289, 0.14930418133735657, 0.3595944941043854, 0.5040134787559509, 0.18681123852729797, -0.390085905790329, -0.9673208594322205, -1.1559078693389893, -0.38840430974960327, -0.25967884063720703, -0.29923537373542786, 0.46342557668685913, 0.03215988725423813, 0.030534327030181885, 1.0695648193359375, -0.41461214423179626, -0.5053592324256897, 0.14178182184696198, -0.01239074394106865, 0.3340176045894623, 0.3702094852924347, 1.2214057445526123, -0.5811973810195923, -0.6753726601600647, -0.09137440472841263, -0.5849488973617554, -0.5239661931991577, -0.008762865327298641, -0.2988089919090271, -0.5352354049682617, 0.34623032808303833, 0.0044204858131706715, 0.012930510565638542, 0.5110298991203308, -0.19821478426456451, 0.5019071102142334, 0.15810319781303406, 0.21966753900051117, -0.7451023459434509, -0.0328986831009388, 0.06776510924100876, 0.1807953417301178, -0.34141647815704346, -0.17068785429000854, -0.28216710686683655, -0.060547105967998505, 0.021840505301952362, 0.022405998781323433, -0.07742661982774734, -0.766261100769043, -0.2722810208797455, 0.1617107391357422, -0.06425303965806961, 0.40778955817222595, -0.11022783815860748, 0.8718315958976746, 0.7723121643066406, -0.2588050961494446, 0.6135594248771667, 0.09434107691049576, -1.0368911027908325, 0.8365780115127563, -0.7971111536026001, 0.1039721667766571, -0.10733483731746674, 0.04154616966843605, -1.2071763277053833, 0.16946785151958466, -0.005083519499748945, -0.7114258408546448, 0.08149150013923645, -0.2574840188026428, -0.307585209608078, -0.30453991889953613, -0.114464670419693, 0.456083744764328, 0.5336554646492004, -0.45638033747673035, 0.30524274706840515, 0.0717177465558052, -0.2553994953632355, -0.14584559202194214, -0.5436667203903198, 0.1748659759759903, -0.5818577408790588, -0.5399161577224731, 0.7428252696990967, -0.04163162037730217, -0.4238264858722687, 0.1076848953962326, -0.03749209642410278, 0.22311751544475555, 0.2587900757789612, 0.525497317314148, 0.15350903570652008, -0.347234845161438, 0.5544849634170532, -0.14636830985546112, 0.01489153690636158, 0.23607295751571655, -0.9035612344741821, 0.395229309797287, -0.025929437950253487, -0.06761420518159866, -0.4251039922237396, 0.3328913450241089, 0.562138020992279, -0.09512174874544144, 0.17607225477695465, 0.5850520730018616, -0.012847726233303547, 0.09056438505649567, -0.3641658425331116, 0.006136629264801741, -0.3805888891220093, 0.13642984628677368, -0.6532130837440491, -0.5143269896507263, 0.5266053676605225, -0.13060279190540314, -0.42922350764274597, 0.43193817138671875, 0.30296987295150757, -1.037827730178833, 0.44677308201789856, 0.4885101914405823, -0.34872204065322876, 0.7614392042160034, -0.38478291034698486, -0.22586315870285034, -1.0453026294708252, -0.0898687019944191, -0.7451422810554504, -0.9004924297332764, -0.4823778569698334, -0.010535246692597866, 0.37993955612182617, 0.08030949532985687, -0.33557605743408203, 0.4049534201622009, -0.5009523630142212, 0.31030213832855225, 0.7633391618728638, -0.07078872621059418, -0.2720164656639099, 0.17349646985530853, -0.9176900386810303, -0.06539220362901688, -0.29718440771102905, -0.32469651103019714, 1.0950076580047607, 0.07175453752279282, 0.38228651881217957, 0.3031420409679413, 0.7117920517921448, 0.5865908861160278, -0.04447109252214432, -0.6975548267364502, 0.24174195528030396, -0.4631313681602478, -0.3630501329898834, -0.10175132751464844, -0.43818867206573486, -0.6255795955657959, -0.09103620797395706, -0.7219473719596863, -0.9975569248199463, 0.17654511332511902, -0.07397527992725372, -0.4304475486278534, 0.11164938658475876, -0.7117241621017456, 0.5240711569786072, -0.16165630519390106, 0.2243323028087616, 0.018245290964841843, -0.47550317645072937, -0.06396429985761642, -0.3114068806171417, 0.10384027659893036, -0.2755492925643921, 0.27373161911964417, 1.1309481859207153, -0.43348196148872375, 0.6049565672874451, -0.12129615992307663, -0.06066514551639557, 0.2642826735973358, -0.04167839139699936, -0.02092336304485798, -0.4815289080142975, -0.16342037916183472, 0.0964493453502655, -0.016465090215206146, -0.20129458606243134, -0.7746274471282959, 1.3131682872772217, -0.9818458557128906, 0.018679464235901833, -0.031173059716820717, -0.22508016228675842, -0.3170660138130188, -0.04593460261821747, 0.584502637386322, 0.5526681542396545, 0.014377126470208168, 0.06159830465912819, 0.2652277648448944, -0.22291138768196106, 0.30218860507011414, 0.01858777552843094, -0.3666873574256897, -0.5301152467727661, 0.7985814213752747, 0.12298126518726349, 0.042150769382715225, 0.44694697856903076, 0.455827534198761, -0.6904560327529907, -0.5286241769790649, -0.3660193085670471, 0.2649608850479126, -0.4594070017337799, -0.08266281336545944, -0.3136904835700989, 0.21623724699020386, -0.3326677083969116, -0.11709676682949066, -0.13196136057376862, -0.40001413226127625, -0.2298913300037384, -0.09828776866197586, 0.7495741248130798, 0.8873980641365051, 0.0094141261652112, 0.45538073778152466, -0.5536512732505798, 0.3570428192615509, 0.4020771384239197, 0.8178545832633972, 0.35498344898223877, -0.48423609137535095, -0.3587447702884674, -0.07030543684959412, -0.16322067379951477, -0.9146290421485901, 0.048677004873752594, 0.28879669308662415, 0.5560656785964966, 0.5332810282707214, -0.06616826355457306, 0.8255150318145752, -0.5171539187431335, 0.6023417711257935, 0.3560619056224823, -1.0374486446380615, 0.4190056025981903, -0.4792391359806061, -0.2134585678577423, 0.818480908870697, 0.3327246308326721, -0.35827064514160156, 0.03572971001267433, -0.23642438650131226, -0.37520742416381836, 0.290852427482605, 0.4890068471431732, 0.02572629600763321, 0.2525712251663208, 0.6901598572731018, 0.07678646594285965, 0.18579921126365662, -0.32182425260543823, -0.49924036860466003, -0.3939584493637085, -0.3373947739601135, -0.5055050253868103, 0.17881551384925842, 0.25022390484809875, -0.21048018336296082, 0.09788984805345535, 0.12625837326049805, 0.6556524634361267, 0.21875789761543274, 0.260220468044281, -0.1810028851032257, 0.13372431695461273, 0.450540691614151, 0.45593956112861633, -0.34161990880966187, -0.07335842400789261, 0.018701281398534775, -0.5916681885719299, 0.03206557035446167, -0.11180626600980759, -0.18300575017929077, -0.16905571520328522, 0.5337251424789429, 0.925276517868042, 0.20638664066791534, -0.4412600100040436, 0.24116383492946625, 0.019214607775211334, -0.13635939359664917, -0.4571962058544159, 0.11270833760499954, 0.2764246165752411, 0.18564020097255707, 0.3028108477592468, 0.5437670350074768, 0.482928603887558, -0.865118682384491, 0.19949404895305634, 0.30691638588905334, -0.9385928511619568, -0.32781198620796204, 0.24773618578910828, -0.11547812074422836, -0.38069474697113037, 0.2969453036785126, 0.3443615138530731, -0.9289495944976807, 0.6646374464035034, 0.31548118591308594, 0.9291822910308838, 0.18318277597427368, -0.28359562158584595, 0.23637226223945618, -0.21628275513648987, 0.33463048934936523, 0.19804364442825317, -0.2759740352630615, -0.5443366765975952, -0.24696312844753265, -1.015745997428894, 0.09988845884799957, -0.15516775846481323, -0.6660562753677368, 0.0740831270813942, -0.3835132420063019, -0.42593637108802795, 0.5110208988189697, -0.012868870981037617, -0.6682310104370117, 0.4829539954662323, 0.2716802954673767, 0.41638872027397156, -0.8342272043228149, 0.5970973968505859, 0.8926064372062683, -0.2302464097738266, -1.1015616655349731, 0.15464523434638977, 0.010400415398180485, -0.2695614993572235, 0.8215529322624207, -0.006458833813667297, -0.2641269266605377, -0.13871318101882935, -0.18176975846290588, -0.7018679976463318, 0.852049708366394, 0.08559000492095947, -0.7513788938522339, -0.04628830775618553, -0.13330420851707458, 0.9233334064483643, -0.6663821935653687, 0.2812148630619049, 0.47526147961616516, 0.4104933440685272, 0.3938281834125519, -1.1546542644500732, -0.5188438296318054, -0.3728329539299011, 0.11736109852790833, 0.13787463307380676, -0.2055622637271881, 1.1239663362503052, -0.00958330649882555, -0.0025869791861623526, 0.46637216210365295, 0.38182228803634644, 0.14156243205070496, 0.3555522561073303, 0.650120735168457, 0.6283889412879944, 0.5714796781539917, -0.1078181117773056, 0.9343827962875366, -0.04976498708128929, 0.324629008769989, 1.0385338068008423, -0.3560979664325714, 0.7453787922859192, 0.15888158977031708, -0.608509361743927, 0.758267343044281, 0.6501295566558838, -0.18945428729057312, 0.6958533525466919, 0.8330013751983643, 0.019780514761805534, -0.20324420928955078, -0.19916534423828125, -0.5902134776115417, 0.742642343044281, 0.017348386347293854, -0.8563495874404907, 0.23161357641220093, 0.024261474609375, -0.7018366456031799, 0.46728163957595825, -0.33850911259651184, 1.126159429550171, 0.12851852178573608, -0.4465363621711731, 0.5019592642784119, -0.34652820229530334, 0.8409621119499207, -0.24703648686408997, 0.029292404651641846, 0.21083703637123108, -0.16932104527950287, -0.2305469810962677, -0.5701398253440857, 0.2506293058395386, -0.009459635242819786, -0.5665484666824341, 0.13416410982608795, 0.6223355531692505, 0.004405326675623655, -0.3928392827510834, 0.6245783567428589, 0.07966694235801697, 0.1440582275390625, -0.2170363962650299, -0.6256499886512756, 0.03806549683213234, 0.1317797750234604, 0.6314730048179626, 0.18674713373184204, 0.34775951504707336, 0.15400855243206024, 0.5321303606033325, 0.7554061412811279, 0.6796401143074036, 0.27649611234664917, 0.4373936057090759, 0.6343783140182495, -0.6758519411087036, -0.7205241918563843, -0.45355093479156494, -0.2855849266052246, 0.10655104368925095, 0.002572139957919717, 0.48431694507598877, 0.5678495764732361, 0.8762314319610596, -0.49311864376068115, 0.971337616443634, 0.28474071621894836, 1.1467244625091553, -0.5742374658584595, 1.1611659526824951, -0.6211466193199158, 0.5219427347183228, -1.1947251558303833, -1.4682568311691284, -0.06138976290822029, 0.8111338019371033, -0.41721680760383606, 0.1582559496164322, 0.28039735555648804, 0.581210196018219, -0.27128922939300537, 0.1559685617685318, 0.2813436985015869, 0.07181228697299957, -0.2516269087791443, 0.6876060962677002, 1.3759583234786987, -0.13383464515209198, 0.4068554639816284, -0.17607995867729187, 0.15288406610488892, -0.1572118103504181, -0.682768702507019, -0.6750084161758423, -0.8266525268554688, -0.0194547176361084, 0.0819023847579956, -0.041425373405218124, 1.2696375846862793, 0.7195714712142944, -0.7511858344078064, -0.23757478594779968, 0.01979260891675949, -0.1397840678691864, -0.09257443249225616, -0.19115856289863586, 0.45337438583374023, -0.010701066814363003, -0.34649813175201416, 0.14294429123401642, 0.09311890602111816, 0.4286896288394928, -0.16574661433696747, -0.04200087487697601, 0.20737324655056, 0.14584609866142273, 0.36204373836517334, -0.08275457471609116, -1.1739434003829956, -0.3294571340084076, 0.06381203234195709, 0.06761226058006287, -0.057388026267290115, 1.0246280431747437, -1.0550404787063599, 0.5123595595359802, 0.8154910802841187, 0.12634120881557465, 0.07008929550647736, 0.17219457030296326, 0.32478487491607666, -0.439283549785614, -0.26015180349349976, 0.06003618985414505, 0.422574520111084, 0.2954980134963989, -0.062057480216026306, 0.20196911692619324, 0.28404197096824646, -0.2295377552509308, -0.3768709897994995, 0.27609044313430786, -1.2992287874221802, 0.03254662826657295, 0.7352244853973389, -0.46358075737953186, 0.12235674262046814, -0.10339979827404022, -0.4566180408000946, 0.021094011142849922, -0.40205180644989014, 0.700461745262146, 0.4588397145271301, -0.16438627243041992, 0.3111829161643982, -0.11089252680540085, 0.6677917838096619, 0.12101320922374725, -0.10012035071849823, -0.34442952275276184, 0.32112917304039, 0.48027312755584717, 0.5627683997154236, 0.05480487644672394, 0.10638415068387985, 0.20223280787467957, -0.20572321116924286, 0.02738499455153942, 0.03421953693032265, -0.5542238354682922, -0.15840864181518555, 0.30747073888778687, 0.1612311750650406, -0.24380192160606384 ]
http://arxiv.org/abs/2404.02340v2
http://arxiv.org/pdf/2404.02340v2
Corpus Considerations for Annotator Modeling and Scaling
2024-04-02T22:27:24
2024-04-17T14:02:03
Olufunke O. Sarumi, Béla Neuendorf, Joan Plepi, Lucie Flek, Jörg Schlötterer, Charles Welch
cs.CL
cs.CL, F.2.2; I.2.7
Recent trends in natural language processing research and annotation tasks affirm a paradigm shift from the traditional reliance on a single ground truth to a focus on individual perspectives, particularly in subjective tasks. In scenarios where annotation tasks are meant to encompass diversity, models that solely rely on the majority class labels may inadvertently disregard valuable minority perspectives. This oversight could result in the omission of crucial information and, in a broader context, risk disrupting the balance within larger ecosystems. As the landscape of annotator modeling unfolds with diverse representation techniques, it becomes imperative to investigate their effectiveness with the fine-grained features of the datasets in view. This study systematically explores various annotator modeling techniques and compares their performance across seven corpora. From our findings, we show that the commonly used user token model consistently outperforms more complex models. We introduce a composite embedding approach and show distinct differences in which model performs best as a function of the agreement with a given dataset. Our findings shed light on the relationship between corpus statistics and annotator modeling performance, which informs future work on corpus construction and perspectivist NLP.
[ -0.7713000178337097, -0.6472598910331726, 0.21905621886253357, 0.3027012348175049, -0.12238768488168716, -0.023079028353095055, -0.5081920027732849, -0.7194320559501648, 0.09422897547483444, 0.5392495393753052, 0.21520866453647614, -0.559320330619812, -0.9733544588088989, 0.28904008865356445, -0.542174220085144, 1.0927225351333618, 0.12744620442390442, -0.07706242054700851, -0.2814849317073822, -0.36231398582458496, -0.39159268140792847, -0.9331042766571045, -0.40339046716690063, -0.2421153336763382, 0.5014446377754211, 0.24864545464515686, 1.0800191164016724, 0.8310930728912354, 0.689544141292572, 0.24416913092136383, -0.38631269335746765, -0.04005321115255356, -0.08623956143856049, 0.14653527736663818, -0.1517515331506729, -0.4968162178993225, -0.3596397340297699, 0.0477302186191082, 0.6105119585990906, 1.232638955116272, 0.22487112879753113, 0.37053558230400085, -0.05314871296286583, 0.07701443880796432, -0.8930190801620483, 0.12414883077144623, -0.4626641571521759, 0.11247006803750992, -0.40581241250038147, 0.10464073717594147, -0.47984185814857483, -0.12903468310832977, 0.25867870450019836, -0.5876826643943787, 0.3350502848625183, 0.20247331261634827, 0.47077709436416626, 0.27780091762542725, -0.4533878564834595, -0.3762347400188446, -0.907679557800293, 0.651308000087738, -0.5911549925804138, 0.26221391558647156, 0.3725427985191345, 0.22630657255649567, 0.4187350571155548, -0.5874068737030029, -0.2295495718717575, -0.11395857483148575, -0.325505793094635, -0.25574013590812683, -0.36971160769462585, 0.05370483547449112, 0.47310101985931396, 0.49560603499412537, -0.015231105498969555, 0.5008301734924316, -0.4105769097805023, -0.17674538493156433, 0.33488738536834717, 0.18222416937351227, 0.11658088117837906, -0.42837002873420715, -0.38049575686454773, -0.16024671494960785, -0.3646521270275116, 0.04370962455868721, 0.540047824382782, 0.6481034755706787, -0.06837388873100281, 0.6867030262947083, 0.03593648225069046, 0.7863819599151611, 0.053602930158376694, 0.04420290142297745, 0.1817190945148468, -0.31744739413261414, -0.20349782705307007, 0.02497706189751625, 0.5361931324005127, 0.5079945921897888, 0.19051116704940796, -0.14052769541740417, -0.2959343492984772, 0.24277211725711823, 0.4674617350101471, -0.6827120184898376, -0.1914190649986267, 0.16855432093143463, -0.43115103244781494, -0.21410442888736725, -0.021069422364234924, -0.7421500086784363, -0.47555240988731384, -0.5689885020256042, 0.24892573058605194, -0.41455841064453125, -0.4738897979259491, -0.17425291240215302, -0.16245689988136292, -0.14559133350849152, 0.3940999209880829, -1.1661503314971924, 0.6434767246246338, 0.8596368432044983, 0.8687424659729004, -0.20039880275726318, -0.02485593594610691, -0.2845833897590637, -0.2539580464363098, -0.3460056483745575, 0.6718897223472595, -0.7645388245582581, -0.46365585923194885, 0.3597618341445923, -0.36900219321250916, -0.061014238744974136, -0.5624587535858154, 0.8392928838729858, -0.4843085706233978, -0.1763274073600769, -0.5836763381958008, -0.7990208864212036, -0.23312652111053467, 0.14189641177654266, -0.8868803381919861, 0.8945451974868774, 0.16695287823677063, -1.1523934602737427, 0.7625100016593933, -0.8965550661087036, -0.1870918869972229, 0.09117845445871353, -0.0063803293742239475, -0.10552410781383514, 0.2733403742313385, 0.2419971525669098, 0.49740463495254517, -0.21260550618171692, 0.044212643057107925, -0.18436282873153687, -0.37069228291511536, 0.3079797923564911, -0.2643975615501404, 0.6141232252120972, 0.40285438299179077, 0.11540672183036804, 0.24461963772773743, -0.7023038864135742, -0.43929389119148254, -0.23082850873470306, -0.1547173261642456, -0.630117654800415, -0.02437659725546837, 0.7817944288253784, 0.005956162698566914, 0.058826643973588943, -0.5780591368675232, 0.12248136103153229, -0.1820078194141388, 0.5025984048843384, 0.3652474582195282, -0.06249723583459854, 0.7968822717666626, -0.22829920053482056, 0.5194515585899353, 0.08194649964570999, 0.05819832533597946, -0.31822872161865234, -0.3260166645050049, -0.5076208710670471, -0.5418888926506042, 0.7723933458328247, 0.2532144784927368, -0.04159879311919212, 0.356770396232605, -0.2226443737745285, -0.5323333740234375, -0.726171612739563, -0.02156243845820427, -0.03480960428714752, 0.2711309790611267, 0.5476824045181274, -0.37742242217063904, -0.6372373104095459, -0.9710900187492371, -0.3173917829990387, -0.2150803953409195, -0.16469891369342804, -0.11891670525074005, 0.49376267194747925, -0.08526746183633804, 1.265720248222351, -0.1949663907289505, -0.17134816944599152, -0.2802020311355591, 0.4451825022697449, -0.11170067638158798, 0.5444109439849854, 0.7827655673027039, -1.098935604095459, -0.048159562051296234, -0.2120448648929596, -0.6110699772834778, -0.17140625417232513, -0.1075550839304924, 0.16363216936588287, 0.23695462942123413, 0.3785802125930786, -0.40735873579978943, 0.46494293212890625, 0.6447328925132751, -0.21108128130435944, 0.30888062715530396, -0.15479622781276703, 0.04173727706074715, -0.8340150713920593, 0.17013444006443024, 0.18257811665534973, -0.1935688555240631, -0.7523404955863953, 0.14658834040164948, 0.11389116197824478, 0.1554604023694992, -0.3035646378993988, 0.3475702702999115, -0.28853368759155273, -0.21644821763038635, -0.21847699582576752, 0.0937492698431015, -0.1812954992055893, -0.061063237488269806, 0.01799498125910759, 0.7050196528434753, 0.21468202769756317, -0.5211043357849121, -0.2409808188676834, 0.20513318479061127, -0.14791004359722137, 0.4547739028930664, -0.6484063267707825, -0.06571593135595322, -0.2125118523836136, 0.14628058671951294, -1.1758232116699219, -0.2088654637336731, -0.0791347473859787, -0.37205013632774353, 0.41026487946510315, -0.24402278661727905, -0.8842816948890686, -0.13312575221061707, -0.29319578409194946, 0.4138730764389038, 0.20357827842235565, -0.4210374057292938, 0.6922174692153931, 0.5246672630310059, 0.06322208791971207, -0.4463648200035095, -0.8031629323959351, 0.1382475644350052, -0.47916126251220703, -0.6303688883781433, 0.4632265865802765, 0.13381892442703247, -0.6612359285354614, -0.0855250284075737, 0.04045293107628822, 0.05887400358915329, 0.30409926176071167, 0.5990781784057617, 0.16517792642116547, -0.1782042682170868, 0.3163474202156067, -0.036755479872226715, -0.139046311378479, -0.031158441677689552, -0.09936516731977463, 0.5505852103233337, -0.17458955943584442, -0.24923276901245117, -0.03282012417912483, 0.3969186544418335, 0.4972986578941345, -0.4825952351093292, 0.9401336312294006, 0.8126201033592224, -0.4840461015701294, 0.3617267906665802, -0.7691382765769958, -0.13656747341156006, -0.3253636062145233, 0.2837150990962982, -0.32832133769989014, -1.0051329135894775, 0.8384806513786316, 0.02513396367430687, 0.3324930965900421, 0.6029645800590515, 0.7294559478759766, 0.11648731678724289, 0.6344168782234192, 0.8446230292320251, 0.03267951309680939, 0.5958773493766785, -0.08577489107847214, 0.10787447541952133, -1.0150697231292725, 0.07624271512031555, -0.7087855935096741, -0.2206568419933319, -0.8518040776252747, -0.4783983528614044, 0.1753690093755722, 0.08126211911439896, -0.20711737871170044, 0.3773396909236908, -0.5490068197250366, 0.09012682735919952, 0.5479323267936707, -0.45063817501068115, 0.3266868591308594, -0.04129820689558983, -0.026823658496141434, -0.2036776840686798, -0.495747834444046, -1.1161137819290161, 1.231215000152588, 0.538801372051239, 0.4084116816520691, 0.033373817801475525, 0.7001989483833313, 0.27168744802474976, 0.617835521697998, -0.49147260189056396, 0.16227088868618011, -0.23222053050994873, -1.0766069889068604, -0.36674177646636963, -0.07147581875324249, -0.7636018395423889, 0.7625170946121216, -0.39468055963516235, -0.7969210147857666, 0.23218794167041779, -0.019794922322034836, -0.48587775230407715, 0.3543570339679718, -0.7962366342544556, 0.8959956765174866, 0.3897079825401306, -0.16406965255737305, 0.04532060772180557, -0.7556557059288025, 0.13477729260921478, -0.15435922145843506, 0.40146052837371826, -0.2853224575519562, -0.3234444558620453, 0.8173664212226868, -0.30748921632766724, 0.9614133834838867, -0.2216331660747528, 0.18823271989822388, 0.3345612585544586, 0.02643508091568947, 0.05330078676342964, 0.06941913813352585, -0.27684685587882996, 0.39038291573524475, 0.2213200479745865, -0.3397032916545868, -0.24221760034561157, 0.374915212392807, -0.849814236164093, -0.47271397709846497, -0.18404348194599152, -0.6019319295883179, -0.0629684254527092, -0.13767530024051666, 0.35078442096710205, 0.2102547287940979, -0.1931082010269165, 0.3099784851074219, 0.2931827902793884, 0.060898106545209885, 0.526918888092041, 0.10627328604459763, -0.20707863569259644, -0.3021136522293091, 0.27743983268737793, 0.5430349707603455, 0.3846637010574341, 0.4535161852836609, 0.02563614957034588, -0.08785659819841385, -0.5022366046905518, -0.4360514283180237, -0.05687111243605614, -0.9084655046463013, -0.15518918633460999, -0.9555904865264893, 0.0818159356713295, -0.33725860714912415, -0.17063604295253754, -0.4367263615131378, -0.609410285949707, -0.2919483482837677, -0.38333848118782043, 0.4852614104747772, 0.4797718822956085, -0.03377635031938553, 0.26712390780448914, -0.37541645765304565, -0.16224925220012665, -0.006050091702491045, 0.009044833481311798, 0.03563793748617172, -0.36710599064826965, -0.12607334554195404, -0.27657485008239746, -0.08100015670061111, -0.6920175552368164, 0.2437649369239807, -0.3487611413002014, 0.4371422827243805, 0.14888083934783936, 0.10747040808200836, 0.4161040186882019, -0.2999776303768158, 0.8048178553581238, -0.026633156463503838, -0.8624349236488342, 0.22120526432991028, -0.34143945574760437, 0.3008030354976654, 0.7789931893348694, 0.4851618707180023, -0.6323325037956238, -0.45971354842185974, -0.4590972363948822, -0.9508634209632874, 0.2769549787044525, 0.36125490069389343, 0.23532643914222717, -0.014744261279702187, 0.27709347009658813, 0.36281728744506836, 0.12052389234304428, -0.4256266951560974, -0.16844269633293152, -0.2127942591905594, -0.2752603590488434, -0.0727313682436943, -0.2974533140659332, 0.11179918050765991, -0.16805879771709442, -0.03326190263032913, -0.17995525896549225, 0.16073498129844666, 0.17273421585559845, -0.1819853037595749, -0.0862988829612732, 0.4214416444301605, 0.4815060496330261, 0.6806066632270813, -0.26558947563171387, 0.4667758643627167, 0.329003244638443, -0.46224600076675415, -0.21097387373447418, 0.29416537284851074, -0.21654322743415833, 0.10369528084993362, 0.5323287844657898, 0.6235401630401611, 0.49232012033462524, -0.38667938113212585, 0.35743793845176697, -0.015702247619628906, 0.14108461141586304, -0.36469346284866333, -0.2100120484828949, 0.16719123721122742, 0.04478210583329201, 0.447916716337204, 0.39440083503723145, 0.27216339111328125, -0.36357250809669495, -0.06337001919746399, 0.017276132479310036, -0.3383055329322815, -0.4000069499015808, 0.7383915185928345, 0.0043001603335142136, -0.18808139860630035, 0.42331209778785706, 0.17304390668869019, -0.3768315613269806, 0.5302355885505676, 0.4158875048160553, 0.4895904064178467, -0.07701151072978973, -0.1260305494070053, 0.3876960873603821, 0.37655696272850037, -0.036789268255233765, -0.3061869740486145, -0.14585357904434204, -0.6256502270698547, -0.41659772396087646, -0.6750710606575012, -0.607795000076294, -0.4126972556114197, -0.787449061870575, 0.25727716088294983, -0.4940705895423889, -0.6006655693054199, 0.5958433151245117, 0.0005397069617174566, -0.9802375435829163, 0.13662777841091156, 0.4430924355983734, 0.9156052470207214, -0.9668252468109131, 0.498656302690506, 0.9081279635429382, -0.820626974105835, -0.4694102108478546, -0.0786730945110321, 0.16465671360492706, -0.22433850169181824, 0.6762952208518982, 0.10397730767726898, 0.26799917221069336, -0.39833152294158936, -0.31124159693717957, -0.8199058175086975, 0.8165541887283325, 0.23182526230812073, -0.4061499834060669, -0.02892102114856243, 0.21242575347423553, 0.8800731301307678, -0.6995986700057983, 0.4845259189605713, 0.5230375528335571, 0.3987637758255005, -0.044475119560956955, -1.0164527893066406, 0.08084617555141449, 0.15703260898590088, 0.33931732177734375, 0.109125517308712, -0.4558866322040558, 1.1861051321029663, 0.025760944932699203, -0.00625750795006752, -0.05505046248435974, 0.6335213780403137, 0.11896771937608719, 0.17204399406909943, 0.59931480884552, 0.24273249506950378, 0.7371695041656494, 0.1654687225818634, 1.2724751234054565, -0.26825129985809326, 0.23353756964206696, 0.9465296864509583, -0.1735951006412506, 0.9989824891090393, 0.4736219048500061, -0.21734444797039032, 0.2971465289592743, 0.7011432647705078, -0.023716477677226067, -0.02470450848340988, 0.13553892076015472, -0.0857200175523758, -0.2978115677833557, -0.28891631960868835, -0.17898783087730408, 0.6156786680221558, 0.3535051643848419, -0.6109269261360168, -0.16217996180057526, 0.026314305141568184, 0.16293376684188843, 0.30275118350982666, -0.21130016446113586, 0.5573269128799438, -0.0700685903429985, -0.4139293432235718, 0.09591981023550034, 0.22053265571594238, 0.8047052621841431, -0.19133201241493225, 0.1794450581073761, -0.1105828508734703, 0.05599004775285721, -0.31903043389320374, -0.5909576416015625, 0.507719099521637, 0.20411692559719086, -0.3315623998641968, -0.16032594442367554, 0.7088308334350586, -0.08365093171596527, -0.5675095319747925, 0.23264683783054352, 0.3300398588180542, 0.07323940098285675, -0.09404529631137848, -0.06839624047279358, 0.48801755905151367, -0.40618979930877686, -0.05384720489382744, 0.27052372694015503, 0.43680667877197266, -0.325155109167099, 0.2035476118326187, 0.42162448167800903, -0.0684560239315033, 0.0949099063873291, 0.1825527846813202, 0.792391300201416, -0.5653337836265564, -0.16181853413581848, -0.90225750207901, 0.4401439428329468, -0.28360068798065186, -0.5862056016921997, 0.9019972085952759, 0.6556731462478638, 0.8890216946601868, 0.05161966383457184, 0.674514889717102, 0.058888837695121765, 0.6035078167915344, -0.16490130126476288, 0.535118043422699, -0.11616501957178116, 0.1481441706418991, -0.43904680013656616, -0.9682993292808533, -0.701263964176178, 0.6665270328521729, -0.5770957469940186, 0.09760777652263641, 0.3301749527454376, 0.2797875702381134, 0.07545043528079987, 0.5336679816246033, 0.3380371928215027, -0.022922269999980927, 0.4419393241405487, 0.041815921664237976, 0.7473635673522949, -0.37989622354507446, 0.18621370196342468, -0.2033928781747818, -0.07859168201684952, -0.4407963454723358, -0.7291269302368164, -0.9361047744750977, -0.6936482787132263, -0.4404839277267456, 0.09005044400691986, -0.32541531324386597, 1.2128846645355225, 0.9357507824897766, -0.7083871364593506, -0.128438338637352, 0.1945648193359375, -0.14771153032779694, -0.1051744893193245, -0.18823204934597015, 0.17648197710514069, -0.48582062125205994, -0.7845996618270874, -0.30899176001548767, 0.1712716668844223, -0.08453308045864105, -0.6045979857444763, 0.36767321825027466, -0.025144068524241447, 0.13724122941493988, 0.6511847972869873, 0.006784163881093264, -0.8815938830375671, -0.41350263357162476, -0.20133990049362183, -0.23098190128803253, 0.20700521767139435, 0.8348109126091003, -0.7016826868057251, 0.4539257884025574, 0.29339292645454407, 0.6350855827331543, 0.6933857798576355, 0.0343455895781517, 0.30579283833503723, -0.6641151905059814, 0.120478056371212, 0.3598296344280243, 0.30556973814964294, 0.8109807372093201, -0.12686777114868164, 0.6653399467468262, -0.06730066239833832, -0.41740602254867554, -0.7867199182510376, -0.13255035877227783, -0.9426776170730591, -0.15412934124469757, 1.1198862791061401, -0.04136477783322334, -0.13988350331783295, -0.1800660490989685, -0.3208152949810028, 0.1147763803601265, -0.44932907819747925, 0.44287511706352234, 1.0118333101272583, -0.11507322639226913, -0.039426300674676895, -0.717922568321228, 0.29556575417518616, 0.290377140045166, -0.36229854822158813, 0.29777762293815613, 0.36106786131858826, 0.28936633467674255, 0.7286600470542908, 0.38294440507888794, -0.21526847779750824, -0.11280247569084167, 0.3794194459915161, 0.15739350020885468, 0.0664568692445755, -0.05204296484589577, -0.3134223520755768, 0.7052590847015381, 0.4118969440460205, 0.0221395306289196 ]
http://arxiv.org/abs/2404.02335v1
http://arxiv.org/pdf/2404.02335v1
Multi-BERT: Leveraging Adapters and Prompt Tuning for Low-Resource Multi-Domain Adaptation
2024-04-02T22:15:48
2024-04-02T22:15:48
Parham Abed Azad, Hamid Beigy
cs.CL
cs.CL, cs.AI
The rapid expansion of texts' volume and diversity presents formidable challenges in multi-domain settings. These challenges are also visible in the Persian name entity recognition (NER) settings. Traditional approaches, either employing a unified model for multiple domains or individual models for each domain, frequently pose significant limitations. Single models often struggle to capture the nuances of diverse domains, while utilizing multiple large models can lead to resource constraints, rendering the training of a model for each domain virtually impractical. Therefore, this paper introduces a novel approach composed of one core model with multiple sets of domain-specific parameters. We utilize techniques such as prompt tuning and adapters, combined with the incorporation of additional layers, to add parameters that we can train for the specific domains. This enables the model to perform comparably to individual models for each domain. Experimental results on different formal and informal datasets show that by employing these added parameters, the proposed model significantly surpasses existing practical models in performance. Remarkably, the proposed model requires only one instance for training and storage, yet achieves outstanding results across all domains, even surpassing the state-of-the-art in some. Moreover, we analyze each adaptation strategy, delineating its strengths, weaknesses, and optimal hyper-parameters for the Persian NER settings. Finally, we introduce a document-based domain detection pipeline tailored for scenarios with unknown text domains, enhancing the adaptability and practicality of this paper in real-world applications.
[ -0.7743253707885742, -0.6206092238426208, 0.5011730790138245, 0.08084989339113235, -0.22626757621765137, 0.04616205394268036, -0.6161947846412659, -0.316940039396286, -0.06757524609565735, 0.3862318694591522, -0.734318733215332, -0.34068143367767334, -0.7181838154792786, 0.3504798114299774, -0.05725492909550667, 1.3705543279647827, 0.0823221504688263, -0.05246821418404579, 0.3027220666408539, -0.3326837122440338, -0.7020722031593323, -0.6083242893218994, -0.6608749032020569, 0.1040569394826889, 0.5291863679885864, 0.6962836980819702, 0.47987672686576843, 0.28931447863578796, 0.3120739459991455, 0.2591821253299713, 0.08669836074113846, 0.6432555913925171, -0.28806012868881226, 0.23996765911579132, -0.29885968565940857, 0.11075881868600845, -0.2456454634666443, -0.33033910393714905, 0.893434464931488, 0.3167370557785034, -0.106728695333004, 0.013026085682213306, 0.09848236292600632, 0.6673225164413452, -0.5295236110687256, -0.3332442045211792, -0.951414942741394, -0.3564789295196533, -0.23771722614765167, -0.10404162108898163, -0.5856179594993591, -0.25154832005500793, 0.46345221996307373, -0.9476439952850342, 0.49512937664985657, 0.30099695920944214, 1.1003985404968262, 0.019110074266791344, -0.40459775924682617, -0.32220256328582764, -0.8615922927856445, 1.0630078315734863, -0.5768522620201111, 0.4142710268497467, 0.1939256489276886, 0.4457175135612488, -0.21893168985843658, -0.4002855122089386, -0.7159128785133362, 0.22527989745140076, 0.04890402406454086, -0.09136717766523361, -0.06913280487060547, -0.2619636654853821, 0.16629259288311005, 0.015600282698869705, -0.5191994905471802, 0.0804191529750824, -0.04791465029120445, -0.07354485988616943, 0.2721115052700043, -0.13579080998897552, 0.4365786015987396, 0.06156788393855095, -0.5747000575065613, -0.20055513083934784, -0.3538074791431427, -0.04528161883354187, 0.28206852078437805, 0.8682825565338135, 0.024303559213876724, -0.010954651981592178, 0.007692829705774784, 0.6197680830955505, 0.4744178354740143, -0.21056325733661652, 0.07664275914430618, -0.22564168274402618, -0.05040806904435158, 0.1331978291273117, 0.43727782368659973, -0.2292601317167282, 0.2184133380651474, -0.10229889303445816, -0.1905302107334137, -0.40594911575317383, 0.3928645849227905, -0.8079737424850464, -0.30875441431999207, -0.06485237926244736, -0.568907618522644, 0.1603086143732071, -0.2150726020336151, -0.9705073237419128, -0.5870547890663147, -0.39537516236305237, 0.6067290902137756, -0.8881393074989319, -0.17262662947177887, -0.03280479460954666, -0.12546144425868988, 0.3537466526031494, 0.7091429829597473, -1.0260483026504517, 0.5524606704711914, 0.2453678697347641, 0.7075894474983215, -0.23438997566699982, -0.29318878054618835, -0.4706588387489319, 0.11280930787324905, -0.019052788615226746, 1.0652234554290771, -0.7147834300994873, -0.36327865719795227, -0.17179349064826965, 0.10491761565208435, -0.4349499046802521, -0.23885998129844666, 0.9140836000442505, -0.8359956741333008, 0.20112241804599762, -0.3009948134422302, -0.5173777341842651, -0.46229133009910583, 0.18929040431976318, -0.7921290993690491, 0.9479548335075378, 0.18635787069797516, -0.6339517831802368, 0.340044766664505, -0.710834801197052, -0.4547536373138428, 0.13613292574882507, 0.1316576600074768, -0.6653991341590881, 0.21192684769630432, 0.6285861730575562, 0.42080172896385193, -0.4986555278301239, 0.0978773757815361, -0.13040314614772797, -0.06833692640066147, 0.15728771686553955, -0.4489043354988098, 0.6234654784202576, 0.04813022539019585, -0.026255812495946884, -0.05730687826871872, -0.9512491822242737, 0.18617458641529083, -0.01000013668090105, -0.43704357743263245, -0.715114951133728, 0.2364119291305542, 0.4089410901069641, 0.17349842190742493, 0.06879366934299469, -0.3928947448730469, 0.3038347065448761, -0.2454819232225418, 0.21730363368988037, 0.6848350763320923, 0.23207519948482513, 0.5198677778244019, -0.42965367436408997, 0.3161938190460205, 0.12780342996120453, 0.07855449616909027, -0.23796045780181885, -0.45687904953956604, -0.724685788154602, -0.585360050201416, 0.7641077041625977, 0.4634692668914795, -0.7950548529624939, 0.2717863619327545, -0.33044612407684326, -0.7017719149589539, -0.547625720500946, 0.09555494040250778, 0.2799924910068512, 0.4599836468696594, 0.6481917500495911, -0.3017561733722687, -0.3702453672885895, -0.7698724269866943, -0.33801963925361633, 0.079073965549469, 0.2856210470199585, 0.7392487525939941, 0.5595459342002869, -0.025530053302645683, 0.7084444165229797, -0.2870546579360962, -0.5620818734169006, -0.3413170278072357, 0.1850326657295227, 0.5408037304878235, 0.5463200807571411, 0.7174206972122192, -0.9605112075805664, -0.7793370485305786, 0.19207999110221863, -0.32225245237350464, 0.18251913785934448, -0.5126957297325134, -0.36382097005844116, 0.03908136114478111, -0.1216234415769577, -0.205253005027771, 0.1042984202504158, 0.518287718296051, -0.23366093635559082, 0.6636072397232056, -0.3507769703865051, 0.15759935975074768, -1.1680999994277954, -0.08824639767408371, 0.2800658941268921, -0.08515018969774246, -0.975435197353363, -0.022267986088991165, 0.3868969976902008, -0.10412361472845078, -0.29364895820617676, 0.7498116493225098, -0.770718514919281, 0.26536092162132263, -0.29777559638023376, 0.04398340359330177, 0.1401321291923523, 0.6582107543945312, 0.24094390869140625, 1.0413540601730347, 0.6510128378868103, -1.0730488300323486, 0.035991325974464417, 0.5721133947372437, -0.3351004421710968, 0.770973801612854, -0.3936780095100403, 0.08643627911806107, -0.15145975351333618, 0.12820446491241455, -0.6084485650062561, -0.11561860889196396, 0.13171520829200745, -0.4298820495605469, 0.3739347755908966, -0.3609563112258911, -0.5231640934944153, -0.049314577132463455, -0.21705061197280884, 0.4612933099269867, 0.4272911548614502, -0.8875811100006104, 1.1460493803024292, 0.2571762204170227, -0.4030420482158661, -0.4936608076095581, -0.12390276044607162, 0.10223010927438736, -0.31929028034210205, -0.4947311580181122, 0.7025949954986572, -0.21709175407886505, 0.2548705041408539, -0.07512512803077698, -0.07974909991025925, -0.5971458554267883, 0.22452157735824585, 0.07115726172924042, 0.3518875539302826, -0.49066418409347534, 0.3712484538555145, 0.3767024874687195, 0.09421803802251816, -0.4628742039203644, -0.5145753026008606, 0.17164400219917297, -0.04709916189312935, -0.04839776083827019, -0.38268962502479553, 0.566152811050415, 0.4475012421607971, -0.4246080219745636, 0.9730720520019531, 0.6628016233444214, -0.5574319362640381, -0.6859666705131531, -0.42329075932502747, -0.0398346446454525, -0.46183791756629944, 0.19109712541103363, -0.6706905364990234, -0.5689857006072998, 0.403643935918808, -0.6389357447624207, -0.0008903896086849272, 0.47505828738212585, 0.7011507749557495, 0.052154846489429474, 0.6865130662918091, 0.935431182384491, -0.07292069494724274, 0.49186474084854126, 0.16094914078712463, 0.3914123773574829, -1.189782977104187, 0.05716047063469887, -0.8027151823043823, -0.3127169907093048, -0.4963452219963074, -0.27789583802223206, 0.5243550539016724, 0.037506554275751114, -0.16397522389888763, 0.503918468952179, -0.6490848064422607, 0.6593464016914368, 0.686796247959137, 0.19229544699192047, 0.18965062499046326, 0.015061757527291775, -0.11091546714305878, -0.2296866476535797, -0.6950780749320984, -0.4698123335838318, 0.969253420829773, 0.0007604545098729432, 0.7290016412734985, 0.5078427791595459, 0.5965068340301514, 0.49991047382354736, 0.10237511247396469, -0.7399356365203857, 0.14498770236968994, -0.4446904957294464, -0.7339596748352051, -0.38871943950653076, -0.02178855799138546, -0.8137673735618591, 0.4954318106174469, -0.4853861629962921, -0.5121759176254272, 0.7405433058738708, -0.012163824401795864, -0.5939162373542786, 0.3850979804992676, -0.7007164359092712, 0.751573920249939, -0.3661952614784241, -0.17933626472949982, 0.07623054832220078, -0.5290845632553101, 0.15742981433868408, -0.6236296892166138, 0.34868374466896057, -0.2695678174495697, -0.03306550905108452, 0.6068625450134277, -0.06210775300860405, 0.708379328250885, -0.23464305698871613, 0.07741138339042664, 0.16889414191246033, -0.0777338519692421, 0.5714744925498962, 0.161283940076828, -0.22697190940380096, 0.02071719989180565, -0.007076953072100878, -0.45461001992225647, -0.36271941661834717, 0.7172984480857849, -1.1568797826766968, -0.3288037180900574, -0.5667994022369385, -0.6007071137428284, -0.4467173218727112, 0.5461658835411072, -0.01161189004778862, 0.5452238321304321, -0.4658583402633667, -0.10564170777797699, 1.0424927473068237, -0.55557781457901, 0.5569222569465637, 0.8055906295776367, 0.27312660217285156, -0.3332632780075073, 1.1247477531433105, -0.322712242603302, -0.018824025988578796, 0.39535191655158997, 0.006195393390953541, -0.09428130090236664, -0.5688332319259644, -0.8029531836509705, 0.20204052329063416, -0.5779817700386047, -0.47153306007385254, -0.6199519634246826, -0.2658878266811371, -0.235506072640419, -0.04821879789233208, -0.10905209928750992, -0.3271159827709198, -0.6229925751686096, 0.5534761548042297, 0.5133370757102966, 0.36864912509918213, 0.18982431292533875, 0.543887734413147, -1.1047652959823608, 0.49149253964424133, 0.20416788756847382, 0.37031587958335876, 0.028753362596035004, -0.8590181469917297, -0.48075443506240845, -0.2642006278038025, -0.27035006880760193, -1.02659273147583, 0.6076086759567261, 1.066457986831665, 0.5377163290977478, 0.23403429985046387, 0.3330681622028351, 0.583703339099884, -0.9811390042304993, 0.4875938892364502, -0.21649333834648132, -1.0444117784500122, 0.6730620861053467, -0.3431397080421448, 0.10884936898946762, 0.5770667791366577, 0.6261800527572632, -0.47272783517837524, 0.1165785938501358, -0.3473218083381653, -0.7710944414138794, 0.9758662581443787, 0.030855106189846992, 0.36201196908950806, 0.26551273465156555, 0.43126776814460754, 0.4488149881362915, -0.12444142997264862, -0.4970667064189911, -0.2384355664253235, -0.08584553748369217, -0.18332253396511078, 0.2650146484375, -0.20287376642227173, -0.0010788944782689214, -0.11098984628915787, 1.090809941291809, -0.3232477009296417, 0.2729145884513855, 0.1999737173318863, -0.4465557336807251, 0.07868881523609161, 0.6453912258148193, 0.5401830673217773, 0.3250826895236969, -0.1205911934375763, -0.21338105201721191, 0.2888646125793457, -0.44079604744911194, 0.14170747995376587, 0.29680564999580383, -0.08035165071487427, 0.3873765468597412, 0.07203305512666702, 0.8606351017951965, 0.22270219027996063, -0.5331246852874756, 0.3795677125453949, -0.28676554560661316, -0.10545837879180908, -0.22612802684307098, 0.07352011650800705, -0.30536913871765137, 0.2681104838848114, 0.4766099750995636, 0.4012475311756134, 0.14223189651966095, -0.21929842233657837, 0.12924781441688538, 0.2966989576816559, -0.16336050629615784, -0.3451802730560303, 0.5247019529342651, 0.2269117683172226, -0.12031899392604828, 0.4668616056442261, -0.1934598684310913, -0.5260780453681946, 0.5305421948432922, 0.6531181335449219, 0.81192547082901, -0.29886195063591003, 0.19036602973937988, 0.42729687690734863, 0.2042369246482849, -0.04353910684585571, 0.24574092030525208, -0.07766149938106537, -1.0805907249450684, -0.2199111431837082, -0.6277472376823425, -0.6346507668495178, -0.06372322142124176, -0.7996935844421387, 0.3895650804042816, -0.5731238126754761, -0.314799964427948, 0.3856874406337738, 0.057180989533662796, -0.7536876201629639, 0.2635623812675476, 0.23880070447921753, 0.9396077394485474, -0.7130023837089539, 1.14509916305542, 0.896272599697113, -0.1928723156452179, -0.5230714082717896, 0.10766877979040146, -0.037500571459531784, -0.7047317624092102, 0.48071056604385376, -0.10970357060432434, -0.029332419857382774, 0.1981145143508911, -0.21344444155693054, -1.1573803424835205, 0.8488394021987915, -0.07547270506620407, -0.6798558235168457, -0.04298611730337143, -0.4654811918735504, 0.41918787360191345, -0.4385997951030731, 0.08934693783521652, 0.38977786898612976, 0.5420997738838196, -0.3135882019996643, -0.8629710674285889, 0.08592390269041061, -0.16411057114601135, 0.3093957006931305, 0.36886125802993774, -0.5475336909294128, 0.9670530557632446, -0.3265140950679779, -0.38682347536087036, 0.27349838614463806, 0.5758850574493408, 0.10080482810735703, -0.005523248575627804, 0.49087953567504883, 0.20173239707946777, 0.8866183161735535, -0.033423371613025665, 0.828733503818512, -0.5238177180290222, 0.2911836504936218, 1.2460129261016846, -0.5250959396362305, 0.806821882724762, 0.23274563252925873, -0.07036363333463669, 0.7508255839347839, 0.5448707938194275, -0.3085658550262451, 0.8370084166526794, -0.0003506693465169519, -0.46490031480789185, -0.3257828950881958, -0.3391120433807373, -0.3197697699069977, 0.20938001573085785, 0.6310948729515076, -0.2240101397037506, -0.24143660068511963, 0.13318102061748505, -0.11405545473098755, 0.052478231489658356, -0.2780633568763733, 0.8877369165420532, -0.13649146258831024, -0.48370078206062317, 0.3356226086616516, 0.406660795211792, 0.6553677320480347, -0.6069275736808777, 0.006708481349050999, 0.016324812546372414, 0.28569141030311584, 0.08592347800731659, -0.2686192989349365, -0.06477263569831848, 0.12642259895801544, -0.6178908348083496, -0.18178154528141022, 1.0931123495101929, -0.2636461853981018, -0.5246111154556274, 0.2280910313129425, 0.8035716414451599, -0.13177958130836487, -0.11915286630392075, -0.6927337050437927, -0.11436520516872406, -0.15424908697605133, -0.06359689682722092, 0.4523351192474365, 0.8983474969863892, -0.051521655172109604, 0.3700633645057678, 0.7536702156066895, 0.09564170241355896, 0.15200075507164001, 0.14427901804447174, 0.9810184240341187, -0.6708095073699951, -0.3511628806591034, -0.6008759140968323, 0.2711944580078125, 0.03815081715583801, -0.539776086807251, 0.6175245642662048, 0.32379332184791565, 0.6591872572898865, -0.15019948780536652, 0.9767072796821594, 0.09004494547843933, 0.7481340765953064, -0.36671924591064453, 0.6462896466255188, -0.5778064727783203, 0.1628461480140686, -0.1666763573884964, -0.8323120474815369, -0.22130557894706726, 0.4664863646030426, 0.12228802591562271, -0.02801915816962719, 0.6680870652198792, 0.47825098037719727, -0.11160575598478317, -0.012898162007331848, 0.17642171680927277, 0.066928431391716, 0.028678452596068382, 0.7358996272087097, 0.6869043707847595, -0.5858396887779236, 0.5177400708198547, 0.06923826038837433, -0.18026693165302277, -0.20161475241184235, -0.8172754645347595, -0.9770917892456055, -0.6446843147277832, -0.2863035202026367, -0.11553955078125, 0.29665982723236084, 0.8396642804145813, 0.8697224855422974, -1.1948186159133911, 0.13633319735527039, 0.4910612404346466, 0.17090503871440887, -0.40682655572891235, -0.17938460409641266, 0.5136570930480957, -0.5279331207275391, -0.7480736970901489, 0.40616750717163086, 0.1501365602016449, -0.004884224850684404, 0.21977628767490387, 0.0115163279697299, -0.3598262071609497, 0.39909592270851135, 0.5008377432823181, 0.3941640555858612, -0.7157490849494934, -0.11886025965213776, 0.006687104236334562, -0.09193047136068344, 0.051155317574739456, 0.6797375679016113, -0.9604048132896423, 0.4388250708580017, 0.13138413429260254, 1.0672794580459595, 0.1490861475467682, -0.001966918585821986, 0.4463558793067932, -0.937290608882904, -0.27443158626556396, 0.12801747024059296, 0.281165212392807, 0.27006345987319946, -0.40646785497665405, 0.15820644795894623, 0.06470929831266403, -0.549126923084259, -0.6052027940750122, 0.0664597675204277, -1.0748398303985596, -0.35905537009239197, 0.7683382034301758, -0.06144179031252861, 0.10360968112945557, -0.3243686556816101, -0.31125667691230774, 0.07183872163295746, -0.7746405005455017, 0.7418919801712036, 0.831924557685852, -0.08509305864572525, -0.16257630288600922, -0.5122681856155396, 0.4256766438484192, 0.36139756441116333, -0.8308538794517517, -0.21735966205596924, 0.3501793146133423, 0.26816779375076294, 0.03194441646337509, 0.44772323966026306, 0.2047276794910431, 0.36282429099082947, -0.21919748187065125, -0.029674192890524864, 0.1659792810678482, -0.5311381816864014, -0.5089748501777649, -0.04975125193595886, 0.13667121529579163, -0.1827719360589981 ]
http://arxiv.org/abs/2404.02330v1
http://arxiv.org/pdf/2404.02330v1
Comparative Study of Domain Driven Terms Extraction Using Large Language Models
2024-04-02T22:04:51
2024-04-02T22:04:51
Sandeep Chataut, Tuyen Do, Bichar Dip Shrestha Gurung, Shiva Aryal, Anup Khanal, Carol Lushbough, Etienne Gnimpieba
cs.CL
cs.CL, cs.AI
Keywords play a crucial role in bridging the gap between human understanding and machine processing of textual data. They are essential to data enrichment because they form the basis for detailed annotations that provide a more insightful and in-depth view of the underlying data. Keyword/domain driven term extraction is a pivotal task in natural language processing, facilitating information retrieval, document summarization, and content categorization. This review focuses on keyword extraction methods, emphasizing the use of three major Large Language Models(LLMs): Llama2-7B, GPT-3.5, and Falcon-7B. We employed a custom Python package to interface with these LLMs, simplifying keyword extraction. Our study, utilizing the Inspec and PubMed datasets, evaluates the performance of these models. The Jaccard similarity index was used for assessment, yielding scores of 0.64 (Inspec) and 0.21 (PubMed) for GPT-3.5, 0.40 and 0.17 for Llama2-7B, and 0.23 and 0.12 for Falcon-7B. This paper underlines the role of prompt engineering in LLMs for better keyword extraction and discusses the impact of hallucination in LLMs on result evaluation. It also sheds light on the challenges in using LLMs for keyword extraction, including model complexity, resource demands, and optimization techniques.
[ -0.32482361793518066, -0.8855702877044678, 0.7709825038909912, 0.13371698558330536, -0.5173290967941284, 0.3786267638206482, -0.3588714599609375, -0.4847559332847595, -0.1884169727563858, 0.6883925795555115, -0.22369833290576935, -0.5526973605155945, -0.8998907804489136, 0.48611322045326233, -0.31284961104393005, 0.5381836891174316, -0.038580816239118576, 0.0002727872633840889, 0.025320541113615036, 0.2195477932691574, -0.6283990144729614, -0.6518042087554932, -0.416865736246109, -0.4196731150150299, 0.24079850316047668, 0.0721525177359581, 0.6866936087608337, 0.6538186073303223, 0.9137564301490784, 0.23516786098480225, -0.36641761660575867, 0.1179666668176651, -0.23867236077785492, 0.35680997371673584, -0.08234594762325287, -0.2235322743654251, -0.2489824891090393, 0.16294720768928528, 0.41619783639907837, 0.6465641856193542, 0.05309493839740753, -0.04327933490276337, 0.08665397763252258, 0.5811783671379089, -0.5599491596221924, 0.44532090425491333, -0.8571494817733765, -0.10885202139616013, -0.3328503370285034, -0.15543434023857117, -0.16875261068344116, -0.36379557847976685, 0.31366458535194397, -0.5027832984924316, 0.04305814579129219, 0.09253000468015671, 0.9709548950195312, 0.22735591232776642, -0.15951448678970337, -0.7693825960159302, -0.23953311145305634, 0.7695297002792358, -0.9214035272598267, 0.562420129776001, 0.3382684588432312, 0.11731691658496857, -0.3558158874511719, -0.82041996717453, -0.5348281860351562, -0.49386096000671387, 0.0872378721833229, 0.04768269136548042, -0.007671653758734465, 0.29917025566101074, 0.36002135276794434, 0.4739825427532196, -0.6383563876152039, 0.4399314522743225, -0.3546246588230133, -0.05571215599775314, 0.6142847537994385, 0.1147303655743599, 0.18707185983657837, -0.5459097027778625, -0.23013801872730255, 0.038608238101005554, -1.0467350482940674, -0.12587592005729675, 0.11123757809400558, 0.6111026406288147, 0.35600152611732483, 0.6338151097297668, -0.3050413727760315, 0.592153787612915, -0.21928340196609497, -0.28130534291267395, 0.1177619993686676, -0.12982845306396484, -0.26802369952201843, -0.07579539716243744, 0.7572031021118164, 0.13517634570598602, 0.32162532210350037, -0.6614798307418823, -0.3647937476634979, 0.0689762681722641, 0.0655628964304924, -0.8499616384506226, 0.027716001495718956, 0.21633057296276093, -0.7216690182685852, -0.31788280606269836, 0.13052336871623993, -0.9094122648239136, -0.5859686732292175, -0.2941133379936218, 0.34057146310806274, -0.1856069266796112, -0.17892764508724213, 0.10793960839509964, -0.15149015188217163, 0.5205118060112, 0.26043424010276794, -0.5389835834503174, 0.3737524449825287, 1.1393811702728271, 1.112999677658081, -0.9107351303100586, 0.18089762330055237, -0.44010332226753235, -0.18560482561588287, -0.30686014890670776, 0.6341057419776917, -0.8031872510910034, -0.7435760498046875, 0.13751161098480225, 0.08597253262996674, -0.09526659548282623, -0.9892130494117737, 0.49415498971939087, -0.9085457921028137, 0.09666378796100616, -0.21748557686805725, -0.776742160320282, -0.47560596466064453, 0.010020175017416477, -0.7031910419464111, 0.8628063201904297, 0.013639252632856369, -0.42525312304496765, 0.23328904807567596, -0.6656098365783691, -0.47283145785331726, 0.4621405303478241, -0.24096792936325073, -0.14238567650318146, 0.3200027644634247, 0.22715964913368225, 0.752341628074646, -0.698192834854126, 0.33309558033943176, -0.31100988388061523, -0.39367544651031494, 0.40546438097953796, -0.15531234443187714, 0.49837392568588257, 0.4293072521686554, -0.42345765233039856, -0.2523288428783417, -0.5709095001220703, -0.12108306586742401, 0.12322056293487549, -0.3092041611671448, -0.39158275723457336, 0.15376797318458557, -0.04596395418047905, 0.250073105096817, 0.15802033245563507, -0.4137222468852997, 0.31753304600715637, -0.4423827528953552, 0.6094838976860046, 0.5500802397727966, 0.1432058960199356, 0.1934937685728073, 0.03487503528594971, 0.6081811785697937, -0.11681971698999405, -0.23320917785167694, -0.03186668083071709, -0.4678099453449249, -0.3467065691947937, -0.4302944540977478, 0.6027852296829224, 0.42324867844581604, -0.6170534491539001, 0.26118823885917664, -0.3389314115047455, -0.3906462490558624, -0.5098602175712585, 0.16638609766960144, 0.1656908541917801, 0.2249199002981186, 0.19508732855319977, -0.21133938431739807, -0.21179437637329102, -0.6683389544487, -0.27769553661346436, 0.03389688581228256, 0.08491457998752594, 0.2563735246658325, 0.4068629741668701, -0.24342599511146545, 0.8612426519393921, -0.6331037878990173, -0.1795702427625656, -0.38776344060897827, 0.13191796839237213, 0.4580196738243103, 0.14975984394550323, 0.11384513974189758, -0.9473046660423279, -0.34797605872154236, 0.14392121136188507, -0.7094011902809143, -0.3419651389122009, -0.018961668014526367, 0.2948848009109497, 0.11220267415046692, 0.49205639958381653, -0.9801133275032043, 0.3616991639137268, 0.16345544159412384, 0.12562023103237152, 0.39123594760894775, 0.25748685002326965, 0.10018260776996613, -0.9385280609130859, 0.21920786798000336, 0.09688615798950195, -0.17485646903514862, -0.623696506023407, 0.4259425103664398, 0.06611811369657516, -0.027818353846669197, -0.3759075701236725, 0.5643808841705322, -0.7495156526565552, -0.2575368285179138, -0.6911856532096863, 0.45053890347480774, -0.09480906277894974, 0.14169371128082275, 0.25730326771736145, 1.0946807861328125, 0.2836363613605499, -0.583724856376648, 0.3142160177230835, 0.26893123984336853, -0.41008931398391724, -0.2564105689525604, -0.7498522996902466, 0.30329087376594543, 0.11342229694128036, -0.12162566184997559, -0.929572582244873, -0.04878250136971474, 0.1576990932226181, -0.2742200791835785, 0.4074203372001648, 0.1437835395336151, -0.796715497970581, -0.2598157227039337, -0.2204708307981491, -0.10644464939832687, 0.6449899077415466, -0.5020611882209778, 0.1734606772661209, 0.5960147976875305, -0.5183306336402893, -0.3343503773212433, -0.16889910399913788, 0.2596063017845154, -0.5279144048690796, -0.14289560914039612, 0.3313835859298706, 0.18239125609397888, -0.557837963104248, -0.311889111995697, -0.21661369502544403, 0.082028828561306, 0.31106847524642944, 0.33251363039016724, 0.3178322911262512, -0.08082195371389389, 0.3357921838760376, -0.03299368545413017, -0.012470648624002934, 0.12153086811304092, 0.04723222553730011, 0.6394110321998596, -0.06624729931354523, 0.06839538365602493, -0.11267562955617905, 0.3597739338874817, 0.5798963308334351, -0.3269325792789459, 0.36682602763175964, 0.26292911171913147, -0.4782865047454834, 0.10560602694749832, -0.7526342272758484, -0.32957255840301514, -0.4300227463245392, 0.43437284231185913, -0.5444343090057373, -0.9853600263595581, 0.37540218234062195, -0.39163899421691895, 0.03447867929935455, 0.554617166519165, 0.6138244867324829, 0.08206596970558167, 0.9499158263206482, 0.6252720952033997, -0.053508635610342026, 0.26637914776802063, -0.12926478683948517, 0.26173850893974304, -0.9322623610496521, -0.11303701251745224, -0.7243016958236694, 0.089711032807827, -0.6219772100448608, -0.13728800415992737, 0.18362317979335785, 0.20717819035053253, 0.27745240926742554, 0.3787896931171417, -0.42517179250717163, 0.15467238426208496, 0.12447880953550339, -0.17310713231563568, 0.36401715874671936, 0.11144120246171951, 0.025609171018004417, -0.11217925697565079, -0.39943745732307434, -0.7534095644950867, 1.1802442073822021, 0.43113648891448975, 0.6777724027633667, -0.10439693927764893, 0.6318596601486206, 0.271873414516449, 0.26098889112472534, -0.9945130944252014, 0.6235313415527344, -0.18927070498466492, -0.3572808504104614, -0.017756249755620956, -0.23437857627868652, -1.0306793451309204, 0.43001052737236023, -0.03129100054502487, -0.8696296811103821, 0.1501896232366562, -0.5449550747871399, -0.3896538019180298, 0.012706396169960499, -0.3748105764389038, 0.5570361614227295, -0.18501043319702148, -0.28097209334373474, -0.1740339994430542, -0.7255439758300781, 0.28250569105148315, -0.5968629121780396, 0.20094923675060272, -0.20986789464950562, -0.2661952078342438, 0.9335598945617676, -0.24768920242786407, 0.4376256465911865, 0.07048473507165909, -0.1391267031431198, 0.25432220101356506, 0.05098608508706093, 0.5586310625076294, -0.07544445991516113, -0.11201629042625427, 0.48499417304992676, 0.09886625409126282, 0.20463401079177856, -0.45505741238594055, 0.6852685213088989, -0.5772911310195923, -0.8107097744941711, -0.4820355474948883, -0.48822325468063354, -0.27361151576042175, 0.10748997330665588, 0.2043205052614212, 0.3041020333766937, 0.09887880831956863, 0.2635610103607178, 0.746403694152832, -0.3415592908859253, 0.7683042883872986, 0.4581525921821594, -0.26641589403152466, -0.37191057205200195, 0.8345546722412109, 0.14904433488845825, 0.10864580422639847, 0.44289904832839966, 0.26161330938339233, -0.5240892767906189, -0.7381840348243713, -0.05843029543757439, 0.4724081754684448, -0.5568073391914368, -0.43356573581695557, -0.9534696340560913, -0.286933958530426, -0.5954890847206116, -0.017967671155929565, -0.029623785987496376, -0.4033108055591583, -0.47238659858703613, -0.022561632096767426, 0.32525262236595154, 0.6944073438644409, 0.1512463390827179, 0.6593779921531677, -0.9060769081115723, 0.33812215924263, 0.02648937702178955, -0.15222381055355072, -0.09591428935527802, -0.4098498821258545, -0.14001582562923431, -0.39807066321372986, -0.2821606695652008, -1.2610771656036377, 0.6211109757423401, 0.09888242185115814, 0.6010982394218445, 0.40147876739501953, -0.25562381744384766, 0.6109859347343445, -0.25502994656562805, 1.049554705619812, -0.02437507174909115, -0.9026286005973816, 0.44142240285873413, -0.06461989879608154, 0.10828788578510284, 0.5723175406455994, 0.6410285830497742, -0.49319639801979065, -0.1397874504327774, -0.6157700419425964, -0.8573145270347595, 0.3502346873283386, 0.07125744968652725, -0.2257491946220398, -0.16008895635604858, 0.6617143154144287, 0.5279290080070496, 0.6075729131698608, -0.5161153674125671, 0.1591184139251709, 0.3480271100997925, -0.061400145292282104, -0.11129062622785568, -0.22940438985824585, 0.26721182465553284, 0.0922665148973465, 0.6191508173942566, -0.044327281415462494, 0.04746699705719948, 0.1461198627948761, -0.5014344453811646, 0.10396161675453186, 0.3013005256652832, 0.43055981397628784, 0.5947799682617188, -0.24846680462360382, -0.011225368827581406, -0.017043156549334526, -0.6900943517684937, -0.11106227338314056, 0.1738445907831192, -0.019519710913300514, 0.19611874222755432, 0.4486018121242523, 0.4294354021549225, -0.053355712443590164, -0.7591204643249512, 0.47435733675956726, 0.09535913169384003, 0.005714877974241972, 0.10522566735744476, -0.08139394223690033, -0.20726749300956726, 0.314602255821228, 0.4271080195903778, -0.567966639995575, 0.5621544718742371, -0.31874915957450867, 0.09206927567720413, 0.7435513734817505, -0.14470751583576202, -0.19018273055553436, 0.5076603293418884, -0.026839161291718483, -0.22894644737243652, 0.6971420645713806, 0.028218980878591537, -0.5718201994895935, 0.5068167448043823, 0.5463915467262268, 1.189788818359375, 0.13876713812351227, -0.027822773903608322, 0.1676468551158905, 0.3310014307498932, -0.14394451677799225, 0.23063750565052032, -0.17708063125610352, -0.47169411182403564, -0.5517024397850037, -0.7326467037200928, -0.2836233675479889, 0.41116228699684143, -0.4746634066104889, 0.12304692715406418, -0.26401054859161377, -0.39921608567237854, -0.03356461971998215, 0.6084890365600586, -0.697704017162323, 0.0034947532694786787, 0.2314765602350235, 0.9866454601287842, -0.6243162751197815, 0.7816263437271118, 0.6862157583236694, -0.41483569145202637, -0.7410570979118347, 0.009072592481970787, -0.09007840603590012, -0.6692078709602356, 0.8968238830566406, 0.26786279678344727, 0.11342068016529083, -0.02507849782705307, -0.49761834740638733, -0.7042778730392456, 0.9770975708961487, -0.28189924359321594, -0.7498149275779724, -0.2085866630077362, 0.13677871227264404, 0.3750650882720947, -0.4814155697822571, 0.2347324788570404, 0.8797311782836914, 0.41147753596305847, -0.08729277551174164, -0.8442666530609131, 0.1898280680179596, 0.10669413954019547, 0.30778273940086365, 0.07614954560995102, -0.33266595005989075, 0.7817859649658203, 0.01210032682865858, -0.3476542532444, 0.23766088485717773, 0.6758673787117004, 0.34412312507629395, 0.05004750192165375, 0.26754406094551086, 0.18304838240146637, 0.6072902083396912, -0.10560262948274612, 0.7594166994094849, -0.31163203716278076, 0.35479089617729187, 0.6711422801017761, -0.6059889793395996, 0.8994289636611938, 0.689900279045105, -0.20532388985157013, 0.1015663668513298, 1.0531563758850098, 0.12222718447446823, 0.690884530544281, 0.2297341674566269, -0.015214258804917336, -0.15503619611263275, 0.04043549671769142, -0.46797460317611694, 0.5409529209136963, 0.6946418285369873, -0.38259389996528625, -0.25751692056655884, 0.08963213115930557, 0.14642533659934998, -0.3153647780418396, -0.22645367681980133, 1.0588080883026123, 0.4692702293395996, -0.6371943950653076, 0.4310223162174225, 0.01686537079513073, 0.5753818154335022, -0.48089599609375, -0.13386595249176025, -0.3684271275997162, -0.07445283234119415, 0.00307073094882071, -0.5693617463111877, -0.03494615480303764, 0.016185659915208817, 0.08234811574220657, 0.0346522256731987, 0.9326921701431274, -0.17845678329467773, -0.1524238884449005, 0.12838342785835266, 0.6580880284309387, 0.35767775774002075, -0.3389044404029846, -0.7295777797698975, 0.39134886860847473, -0.23273596167564392, -0.38788214325904846, 0.15860895812511444, 0.13926734030246735, -0.029722152277827263, 0.5424147844314575, 0.5196090936660767, 0.5679352879524231, 0.02460191585123539, -0.14963215589523315, 0.8427694439888, -0.6976211667060852, -0.19189012050628662, -1.0081030130386353, 0.023517699912190437, -0.06569626927375793, -0.22592827677726746, 0.7083937525749207, 0.5306059122085571, 0.3832235038280487, -0.1123698428273201, 0.9028524160385132, 0.020442422479391098, 0.5438975691795349, -0.6472944021224976, 0.5246539115905762, -0.49091359972953796, 0.2525542378425598, -0.4530280530452728, -1.2778408527374268, -0.39934518933296204, 0.4439201354980469, -0.39858606457710266, -0.21547004580497742, 0.7503089308738708, 0.8842912912368774, 0.22289273142814636, 0.13580112159252167, 0.2786780893802643, 0.1222638413310051, 0.5237622857093811, 0.31310296058654785, 1.0394887924194336, -0.43010950088500977, -0.006840371526777744, 0.030942481011152267, -0.2561679482460022, -0.34659343957901, -0.7691091299057007, -0.8412756323814392, -0.5756000280380249, -0.3597574532032013, -0.3108048439025879, 0.1986120194196701, 0.9852253794670105, 0.3004778325557709, -0.725071132183075, -0.34149619936943054, 0.12912742793560028, 0.2766416370868683, -0.14446747303009033, -0.26505687832832336, 0.5468384027481079, -0.6347584128379822, -0.6242209672927856, 0.4573659598827362, 0.3935336470603943, -0.044494517147541046, -0.18485432863235474, 0.028179187327623367, -0.06728459894657135, -0.01866944506764412, 0.729668915271759, 0.13036131858825684, -0.9406681656837463, -0.11389123648405075, 0.19747138023376465, -0.21799692511558533, 0.018398471176624298, 0.7895252108573914, -0.812764048576355, 0.1761023998260498, 0.5895001292228699, 0.8565360903739929, 0.22056829929351807, 0.06738082319498062, 0.44935503602027893, -0.08308771997690201, -0.1210145577788353, 0.13259856402873993, 0.20760945975780487, 0.2967391312122345, -0.3985697627067566, 0.6589394807815552, 0.39530497789382935, -0.6305640339851379, -0.9081984162330627, -0.05702296644449234, -0.9670586585998535, -0.4673366844654083, 1.5858060121536255, 0.1335165947675705, -0.1663472205400467, -0.05098966136574745, -0.2153608798980713, 0.173464834690094, -0.1414918303489685, 0.7657433152198792, 0.7155005931854248, 0.04136481508612633, -0.15514640510082245, -0.7453501224517822, 0.6334221959114075, 0.0991617813706398, -0.7148692607879639, 0.02417990006506443, 0.35658958554267883, 0.19268089532852173, 0.018617291003465652, 0.3587503135204315, -0.38221055269241333, -0.08785030990839005, -0.4382133483886719, 0.07442060112953186, 0.08231177181005478, -0.2261463701725006, -0.6574299931526184, 0.4395434856414795, 0.10193824023008347, -0.18516190350055695 ]
http://arxiv.org/abs/2404.02323v2
http://arxiv.org/pdf/2404.02323v2
Toward Informal Language Processing: Knowledge of Slang in Large Language Models
2024-04-02T21:50:18
2024-04-13T02:17:01
Zhewei Sun, Qian Hu, Rahul Gupta, Richard Zemel, Yang Xu
cs.CL
cs.CL
Recent advancement in large language models (LLMs) has offered a strong potential for natural language systems to process informal language. A representative form of informal language is slang, used commonly in daily conversations and online social media. To date, slang has not been comprehensively evaluated in LLMs due partly to the absence of a carefully designed and publicly accessible benchmark. Using movie subtitles, we construct a dataset that supports evaluation on a diverse set of tasks pertaining to automatic processing of slang. For both evaluation and finetuning, we show the effectiveness of our dataset on two core applications: 1) slang detection, and 2) identification of regional and historical sources of slang from natural sentences. We also show how our dataset can be used to probe the output distributions of LLMs for interpretive insights. We find that while LLMs such as GPT-4 achieve good performance in a zero-shot setting, smaller BERT-like models finetuned on our dataset achieve comparable performance. Furthermore, we show that our dataset enables finetuning of LLMs such as GPT-3.5 that achieve substantially better performance than strong zero-shot baselines. Our work offers a comprehensive evaluation and a high-quality benchmark on English slang based on the OpenSubtitles corpus, serving both as a publicly accessible resource and a platform for applying tools for informal language processing.
[ -0.13238835334777832, -1.0526466369628906, 0.5927298665046692, -0.024444494396448135, -0.29676181077957153, 0.16076458990573883, -0.42358121275901794, -0.7634685039520264, 0.27074769139289856, 0.20171299576759338, -0.3737781345844269, -0.6807540059089661, -0.6757199168205261, 0.21873009204864502, -0.8053475022315979, 0.9197035431861877, 0.32687050104141235, 0.037292394787073135, -0.18914876878261566, 0.32309070229530334, -0.24171225726604462, -0.47317609190940857, -0.6740419268608093, -0.13726451992988586, 0.2740733027458191, 0.5918012261390686, 0.6584814190864563, 0.7245784997940063, 0.3952305018901825, 0.29729026556015015, 0.16925621032714844, 0.2387125939130783, -0.7782865166664124, 0.25734642148017883, 0.13585342466831207, -0.23238299787044525, -0.3775131404399872, -0.05024172365665436, 0.5094773173332214, 0.5111916661262512, 0.014578407630324364, 0.2079363912343979, -0.21299989521503448, 0.3306191861629486, -0.41690459847450256, 0.20839396119117737, -0.8748968839645386, -0.012364635244011879, -0.7881114482879639, -0.1777597963809967, 0.15416520833969116, -0.207384392619133, -0.20331333577632904, -0.24278570711612701, 0.39413365721702576, -0.13455787301063538, 1.0222233533859253, 0.12216892093420029, -0.04093608632683754, -0.29839834570884705, -0.7223988175392151, 0.33095988631248474, -0.8341721296310425, 0.5650358200073242, 0.5640020370483398, 0.40522798895835876, 0.04133857041597366, -0.9197864532470703, -0.46653392910957336, -0.5145304203033447, -0.13085190951824188, -0.10572121292352676, -0.2961466610431671, 0.10202612727880478, -0.02306174486875534, 0.6550893783569336, -0.4663633704185486, 0.3261556029319763, -0.7397335767745972, -0.16819337010383606, 0.5028411746025085, 0.11094830185174942, -0.05496842786669731, -0.31158411502838135, -0.2084776908159256, 0.46600374579429626, -0.4713425934314728, 0.026131469756364822, 0.5381888747215271, 0.4783393144607544, -0.21890509128570557, 0.6782413721084595, -0.40092119574546814, 0.5660905838012695, -0.03588842228055, -0.12563446164131165, 0.3102242350578308, -0.3254091441631317, -0.24816270172595978, -0.3469793200492859, 0.6669716238975525, 0.3576919734477997, 0.6664151549339294, -0.38787660002708435, -0.4950600266456604, -0.05053628608584404, 0.12510015070438385, -0.2906588315963745, -0.2338993102312088, 0.05095408111810684, -0.1236276924610138, -0.13075804710388184, 0.02301594614982605, -0.719569981098175, -0.36951252818107605, -0.4426012337207794, 0.14307618141174316, -0.35287219285964966, 0.20080123841762543, -0.02306373231112957, -0.2459450364112854, 0.10655397176742554, 0.10901389271020889, -0.8448847532272339, 0.6788056492805481, 0.6522519588470459, 1.311815857887268, -0.10375037789344788, 0.012215684168040752, -0.5581578016281128, 0.08582992106676102, -0.24103328585624695, 0.9033960700035095, -0.5542972087860107, -0.05789358168840408, 0.042367905378341675, -0.17012228071689606, 0.21925665438175201, -0.394018292427063, 0.566040575504303, -0.4629882276058197, -0.12330228835344315, 0.3820670545101166, -0.3848839998245239, 0.18511265516281128, 0.33896127343177795, -0.5295091867446899, 1.2231405973434448, 0.20397672057151794, -0.33205822110176086, 0.34627076983451843, -0.6730266213417053, -0.44701698422431946, 0.27925124764442444, -0.15951457619667053, 0.1229381412267685, 0.23136502504348755, 0.299182653427124, 0.5651769638061523, -0.1222149059176445, 0.30639058351516724, -0.30767926573753357, -0.6649615168571472, 0.198685422539711, -0.5609641075134277, 0.12047845870256424, 0.49888041615486145, -0.14902383089065552, 0.09669122099876404, -0.6783092617988586, -0.23491543531417847, 0.06131938472390175, -0.1188422441482544, -0.3237113952636719, -0.1618644744157791, 0.08290023356676102, -0.04823058098554611, 0.4061211347579956, -0.3527142405509949, 0.12371102720499039, -0.4735533893108368, 0.47687938809394836, 0.8363324999809265, -0.1951920986175537, 0.2757410407066345, 0.0673505961894989, 0.4699153006076813, -0.21023796498775482, 0.02118319272994995, -0.005481865257024765, -0.29734474420547485, -0.7789096832275391, -0.25733593106269836, 0.29827871918678284, 0.32837143540382385, -0.6225940585136414, 0.163572758436203, -0.32936951518058777, -0.48033732175827026, -0.4534550607204437, 0.2735278308391571, 0.2006155401468277, 0.28555363416671753, 0.24094349145889282, -0.3902058005332947, -0.7585320472717285, -1.1176480054855347, -0.2517260015010834, 0.008510318584740162, -0.37476956844329834, 0.37410709261894226, 0.17040391266345978, 0.005776715464890003, 0.9241458177566528, -0.5749126672744751, -0.4603758454322815, -0.3634794056415558, 0.3077361285686493, 0.47722432017326355, -0.053225211799144745, 0.6248416304588318, -0.4328661262989044, -0.22208315134048462, -0.224089115858078, -0.36499348282814026, -0.5334146022796631, 0.3239250183105469, 0.12357177585363388, 0.26807063817977905, 0.8035672307014465, -0.4114419221878052, 0.22660647332668304, 0.5217511653900146, -0.22795669734477997, 0.6525798439979553, -0.034914787858724594, 0.1494050770998001, -0.5400252938270569, 0.07375909388065338, 0.21616163849830627, -0.5944663882255554, -0.5581052899360657, 0.05686595290899277, -0.5179116725921631, 0.014923477545380592, -0.394612193107605, 0.6558590531349182, -0.37360304594039917, -0.39403268694877625, -0.21791967749595642, 0.3264547288417816, -0.2396165281534195, 0.14780399203300476, 0.10098768770694733, 0.6950452327728271, 0.5657379031181335, -0.6632538437843323, 0.4327734410762787, -0.15725691616535187, -0.5602611303329468, 0.0663585215806961, -0.7109569311141968, 0.4977346360683441, -0.35556840896606445, 0.03135884180665016, -1.1564522981643677, -0.6034522652626038, 0.3884035050868988, -0.34010785818099976, 0.2118455171585083, -0.4669412672519684, -0.5008875131607056, -0.20497694611549377, -0.23098209500312805, -0.0353798009455204, 0.37455564737319946, -0.11793700605630875, 0.1851528137922287, 0.691047191619873, -0.3472331762313843, -0.5250664353370667, -0.5993080139160156, 0.31589654088020325, -0.28314295411109924, -0.4500758647918701, 0.21202506124973297, 0.2096729278564453, -0.5104465484619141, -0.09854692965745926, -0.07703030854463577, -0.3363078236579895, -0.02737267129123211, 0.02674216963350773, 0.19913382828235626, -0.16607360541820526, 0.24986523389816284, -0.3839121460914612, 0.15411368012428284, -0.14778809249401093, -0.09566216915845871, 0.7961163520812988, -0.132162943482399, 0.11174967885017395, 0.191300630569458, 0.15335746109485626, 0.2813224196434021, 0.21025998890399933, 0.3850349485874176, 0.8831856846809387, -0.3750796914100647, -0.0011865821434184909, -0.5183209776878357, -0.10818521678447723, -0.4610539376735687, 0.37011608481407166, -0.32329481840133667, -0.8505653738975525, 0.3420102298259735, 0.4836746156215668, 0.018786383792757988, 0.22291623055934906, 0.4334917962551117, -0.1654156595468521, 0.5241561532020569, 0.5475226044654846, -0.1410199999809265, 0.543817937374115, 0.011949118226766586, 0.20601890981197357, -0.23124414682388306, -0.07024361193180084, -0.5780875086784363, -0.43636542558670044, -0.5427318215370178, -0.588074803352356, 0.39709675312042236, -0.11574847251176834, -0.04914449527859688, 0.1771182417869568, 0.16694192588329315, 0.7330452799797058, 0.5450602769851685, 0.028981439769268036, 0.6104538440704346, 0.07634574919939041, 0.11257076263427734, 0.12590762972831726, -0.6407811641693115, -0.7280309200286865, 0.8724513053894043, 0.5383085608482361, 0.8286305069923401, 0.07357928156852722, 0.331088662147522, 0.7399839758872986, 0.19892442226409912, -1.0973248481750488, 0.6590732336044312, -0.6533722281455994, -0.6251831650733948, -0.29635313153266907, -0.38229894638061523, -0.7800662517547607, -0.19478271901607513, -0.053380295634269714, -0.9155191779136658, -0.2472730427980423, 0.1679598093032837, -0.29353761672973633, 0.025063324719667435, -0.7974398136138916, 0.5215752720832825, -0.1569572538137436, -0.5329564809799194, 0.021906256675720215, -0.6390062570571899, 0.6443183422088623, 0.1334664523601532, 0.594795823097229, -0.3505516052246094, -0.07641720771789551, 0.550528347492218, -0.11445032060146332, 0.9784381985664368, 0.027092009782791138, -0.1761392205953598, 0.1904008984565735, 0.07346049696207047, 0.14144766330718994, 0.2676660418510437, -0.039818085730075836, 0.7297766804695129, -0.05252354219555855, -0.0765804797410965, -0.3793865442276001, 0.8459583520889282, -0.5432568788528442, -0.5151169896125793, -0.43290576338768005, -0.5755390524864197, -0.33949217200279236, 0.0750955119729042, 0.250601202249527, 0.5578200221061707, -0.19518066942691803, 0.15307895839214325, 0.042060736566782, 0.2515393793582916, 0.35857507586479187, 0.49377837777137756, -0.3358641564846039, -0.028782371431589127, 0.38177454471588135, 0.27966055274009705, 0.13320083916187286, 0.19653110206127167, 0.20726002752780914, -0.6792530417442322, -0.7087081074714661, -0.3162864148616791, 0.06685148179531097, -0.8659839630126953, -0.24084046483039856, -0.5365257859230042, -0.277224063873291, -0.8940027356147766, 0.09217388927936554, -0.22058233618736267, -0.39651110768318176, -0.027599859982728958, -0.21357829868793488, 0.5815194249153137, 0.9410131573677063, -0.24415086209774017, 0.1823560893535614, -0.80375736951828, 0.5847163200378418, 0.05251698940992355, 0.5987566113471985, -0.33285409212112427, -0.6365060806274414, -0.3197533190250397, 0.009221377782523632, -0.043568696826696396, -0.7413179874420166, 0.3847612738609314, 0.6010522246360779, 0.46092191338539124, 0.3899596333503723, -0.1932276040315628, 0.8133964538574219, -0.47329404950141907, 1.0022597312927246, -0.26584070920944214, -0.9596589207649231, 0.3289034068584442, -0.5483617782592773, 0.27799591422080994, 0.5599600672721863, 0.44590723514556885, -0.7316479682922363, -0.4578951597213745, -0.4159466326236725, -1.1069281101226807, 0.6120455265045166, 0.22380253672599792, 0.4043276906013489, -0.3840314447879791, 0.2816300690174103, 0.3437318801879883, 0.31827235221862793, -0.8319246768951416, -0.21406523883342743, -0.005631566978991032, -0.059308163821697235, -0.356829971075058, -0.13625945150852203, 0.09382902085781097, -0.1501745581626892, 0.592273473739624, -0.08953001350164413, 0.3624996542930603, 0.00020268600201234221, -0.1281006634235382, -0.0928436890244484, 0.4512656331062317, 0.3656717836856842, 0.5098607540130615, -0.3563375174999237, 0.3068004250526428, -0.008371710777282715, -0.5937390327453613, -0.23009644448757172, 0.053882092237472534, -0.22250713407993317, 0.26727208495140076, 0.27713432908058167, 0.6133156418800354, 0.42202335596084595, -0.8133973479270935, 0.1645597517490387, 0.13287873566150665, 0.00014821960940025747, -0.5164255499839783, 0.18475890159606934, -0.22939984500408173, 0.10703440755605698, 0.3665198087692261, -0.07574160397052765, 0.5409329533576965, -0.9474261403083801, 0.23271051049232483, 0.38762786984443665, -0.35236650705337524, -0.22595146298408508, 0.27029961347579956, 0.05441248044371605, -0.24406783282756805, 0.4177335202693939, -0.2989446520805359, -0.25187185406684875, 0.3329088091850281, 0.514748752117157, 0.6816861033439636, 0.1371525228023529, 0.07444414496421814, 0.34026482701301575, 0.23759682476520538, 0.17561250925064087, 0.13003262877464294, -0.008578787557780743, -0.6848485469818115, -0.5256800055503845, -0.8738678693771362, -0.19280724227428436, 0.7803946733474731, -0.2899463176727295, 0.6504461765289307, -0.3246783912181854, -0.1363329440355301, -0.1488669216632843, -0.33231547474861145, -0.8402867317199707, 0.06183803081512451, 0.5240650177001953, 0.8119145035743713, -0.8296216726303101, 0.5725767612457275, 0.6479189991950989, -0.20948246121406555, -0.5332738161087036, 0.1546572595834732, 0.12290659546852112, -0.7405382394790649, 0.623852014541626, 0.11683124303817749, -0.34265586733818054, 0.014371638186275959, -0.6263386607170105, -0.9748567342758179, 0.6885585784912109, 0.2202443927526474, -0.593384861946106, -0.2279309630393982, 0.15808391571044922, 0.7004026770591736, -0.2337208092212677, 0.46618130803108215, 1.1095316410064697, 0.5214124917984009, 0.21037335693836212, -1.1054006814956665, -0.3198089599609375, -0.25554150342941284, -0.3078116476535797, 0.12076223641633987, -0.3329102098941803, 0.6644831895828247, -0.018737731501460075, -0.449310839176178, 0.22659634053707123, 0.5910722017288208, 0.1185668557882309, 0.49810561537742615, 0.36197370290756226, 0.19745756685733795, 0.5313905477523804, -0.28050291538238525, 0.8527498245239258, 0.03468981012701988, 0.08510841429233551, 1.3133774995803833, -0.10577463358640671, 0.8236662745475769, 0.484053373336792, -0.2234727293252945, 0.4305948317050934, 0.5789538621902466, 0.08731824904680252, 0.36797258257865906, 0.43691179156303406, -0.05333836376667023, -0.05074610933661461, -0.30356642603874207, -0.10848485678434372, 1.116502046585083, 0.4658712148666382, -0.33533594012260437, -0.4795421361923218, -0.15890944004058838, -0.058055564761161804, 0.11560852825641632, -0.6547137498855591, 0.8041982650756836, 0.03525037690997124, -0.44525623321533203, 0.31676629185676575, 0.0759606659412384, 0.9310409426689148, -0.8809397220611572, -0.1087249144911766, -0.2523793876171112, -0.15055838227272034, -0.28177738189697266, -0.7890991568565369, 0.4957317113876343, 0.5642723441123962, 0.05441666394472122, -0.0012162270722910762, 0.9965294599533081, -0.39759060740470886, -0.4026647210121155, -0.034313399344682693, 0.6040433049201965, 0.6711717247962952, 0.21366100013256073, -0.3212907314300537, 0.02184552699327469, -0.5458278656005859, -0.021437993273139, 0.05263670161366463, 0.4376355707645416, -0.06321212649345398, 0.46823230385780334, 0.5885963439941406, 0.30988097190856934, 0.11197130382061005, 0.4672621488571167, 0.6855716705322266, -0.40338215231895447, -0.49613717198371887, -0.8196857571601868, 0.28291210532188416, -0.043785370886325836, -0.37595653533935547, 0.876099705696106, 0.5206543803215027, 0.9081230759620667, -0.300535649061203, 0.8514824509620667, -0.41523662209510803, 0.42248377203941345, -1.0362391471862793, 0.41919106245040894, -0.2778691351413727, 0.470807284116745, -0.29700034856796265, -0.7740428447723389, -0.22904933989048004, 0.6040367484092712, -0.6027510166168213, 0.3195836544036865, 0.40437746047973633, 0.7113891243934631, -0.3366706371307373, -0.18700017035007477, 0.5616539716720581, 0.3730696141719818, 0.16580608487129211, 0.0319148413836956, 0.8386475443840027, -0.16411328315734863, 0.4342113137245178, -0.18342436850070953, -0.06417691707611084, -0.3041076362133026, -1.1218304634094238, -0.7273563146591187, -0.47816118597984314, -0.01886908710002899, -0.13947640359401703, 0.30954626202583313, 1.1493371725082397, 0.8024386167526245, -0.5272433161735535, -0.3943628966808319, 0.005211411044001579, -0.18986406922340393, -0.19813309609889984, -0.3783843219280243, -0.11334296315908432, -0.5663225650787354, -1.098855972290039, 0.7808674573898315, 0.22734315693378448, -0.008854898624122143, -0.33529406785964966, 0.1528674066066742, -0.2596634328365326, 0.08816061168909073, 0.633191704750061, 0.07295724749565125, -0.579666793346405, -0.43930914998054504, 0.11504771560430527, 0.12297888845205307, 0.12934228777885437, 0.8364567756652832, -0.8735392093658447, 0.19204983115196228, 0.3744784891605377, 0.13238373398780823, 0.37655165791511536, 0.17401568591594696, 0.6212285757064819, -1.309720516204834, 0.0777384489774704, 0.36396554112434387, 0.4130418002605438, 0.4400568902492523, -0.451005756855011, 0.6768801212310791, 0.19172219932079315, -0.35518112778663635, -0.5976614952087402, 0.20050644874572754, -0.818227231502533, -0.10688189417123795, 1.4929252862930298, -0.013597465120255947, -0.17253437638282776, -0.6667135953903198, -0.16586685180664062, 0.24466213583946228, -0.6250396370887756, 0.9438050389289856, 0.8545734882354736, -0.10920754820108414, -0.17253641784191132, -0.7207435965538025, 0.44374412298202515, -0.21150407195091248, -0.7046825885772705, 0.11886074393987656, 0.7925354242324829, 0.3812938630580902, -0.06513068825006485, 0.8281896114349365, -0.11154954880475998, 0.05815020576119423, -0.18792785704135895, -0.29781824350357056, -0.3626920282840729, -0.480386346578598, -0.34897878766059875, 0.18324775993824005, 0.06601159274578094, 0.07185148447751999 ]
http://arxiv.org/abs/2404.02319v2
http://arxiv.org/pdf/2404.02319v2
Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimization
2024-04-02T21:35:54
2024-06-27T23:22:14
Tobias Schnabel, Jennifer Neville
cs.CL
cs.CL, cs.AI, cs.LG
In many modern LLM applications, such as retrieval augmented generation, prompts have become programs themselves. In these settings, prompt programs are repeatedly called with different user queries or data instances. A big practical challenge is optimizing such prompt programs. Recent work has mostly focused on either simple prompt programs or assumed that the general structure of a prompt program is fixed. We introduce SAMMO, a framework to perform symbolic prompt program search for compile-time optimizations of prompt programs. SAMMO represents prompt programs on a symbolic level which allows for a rich set of transformations that can be searched over during optimization. We show that SAMMO generalizes previous methods and improves the performance of complex prompts on (1) instruction tuning, (2) RAG pipeline tuning, and (3) prompt compression, across several different LLMs. We make all code available open-source at https://github.com/microsoft/sammo .
[ -0.09058451652526855, -0.4808177351951599, 0.8177957534790039, 0.30259376764297485, -0.30481451749801636, 0.1820780485868454, 0.09861499816179276, -0.1643380969762802, 0.17435871064662933, 0.12266993522644043, -1.131430983543396, -0.6345852017402649, -0.5569460391998291, 0.4903794825077057, 0.1335681527853012, 0.4670449495315552, 0.04933014139533043, 0.27218690514564514, -0.22319063544273376, -0.020159883424639702, -0.5778472423553467, -0.2808232009410858, -0.7878978252410889, 0.07456345856189728, 0.5097649097442627, 0.21557027101516724, 0.36068692803382874, 0.9007796049118042, 0.374741792678833, 0.2872174084186554, -0.35243669152259827, 0.5297045707702637, -0.27608874440193176, 1.0322906970977783, 0.01684664376080036, -0.5721944570541382, -0.08434177935123444, -0.22346021234989166, 0.6819039583206177, 0.2566867172718048, 0.13454516232013702, 0.33621978759765625, -0.22776567935943604, 0.6790792942047119, -0.8804014921188354, 0.24174940586090088, -0.5140159726142883, 0.10388679802417755, -0.17740221321582794, -0.8075950741767883, -0.45970165729522705, -0.6407963037490845, -0.5676275491714478, -0.544370710849762, 0.21143297851085663, 0.45579683780670166, 0.4404379427433014, 0.7095645070075989, -0.571159839630127, -0.43035662174224854, -0.31286394596099854, 0.9702558517456055, -0.31841203570365906, 0.2776065766811371, 0.0842701867222786, 0.47527316212654114, -0.719092845916748, -0.4317333698272705, -0.01308934111148119, -0.271499902009964, -0.07778677344322205, -0.041637249290943146, -0.3662295639514923, 0.5947489738464355, 0.5310018658638, 0.19426864385604858, -0.7047779560089111, -0.2941485643386841, -0.2663414180278778, -0.28673744201660156, 0.5132107138633728, 0.44420620799064636, 0.5236227512359619, -0.31720247864723206, -0.4576624631881714, -0.08116254955530167, -0.9171801209449768, 0.12255050987005234, 0.3520354926586151, 0.3739377558231354, 0.24473309516906738, 0.527177631855011, -0.19514065980911255, 0.7124122381210327, -0.09612436592578888, -0.25668153166770935, -0.12266351282596588, -0.2763218879699707, 0.07543520629405975, 0.28829699754714966, 0.26777413487434387, 0.14617498219013214, -0.04125772789120674, 0.24990741908550262, -0.49990877509117126, 0.3542144298553467, 0.18701250851154327, -0.8325082659721375, -0.1576186865568161, 0.17919787764549255, -0.5015953779220581, -0.15329574048519135, 0.0715695396065712, -0.07399063557386398, -0.3918902575969696, -0.29937049746513367, 0.30186086893081665, -0.11356091499328613, 0.4548226594924927, -0.07261109352111816, -0.3947816789150238, -0.11250698566436768, 0.407278448343277, -0.47535550594329834, -0.029493547976017, 0.826684296131134, 0.8712298274040222, 0.13095338642597198, 0.20445466041564941, -1.455479621887207, 0.4101542830467224, -0.37696704268455505, 0.7234711050987244, -0.8677909970283508, -0.6696910262107849, -0.36844974756240845, -0.004474295303225517, -0.009458940476179123, -0.4679168164730072, 0.47982460260391235, -0.32920190691947937, 0.1574418693780899, -0.3584981858730316, -0.3379990756511688, 0.08059021830558777, 0.16302043199539185, -0.6578284502029419, 1.275978446006775, 0.1367756426334381, -0.4569844901561737, 0.09741561114788055, -0.7854763865470886, -0.4824969172477722, 0.07111397385597229, -0.4024386703968048, -0.14783623814582825, 0.716059684753418, 0.3434379994869232, 0.3121258318424225, -0.5687546730041504, 0.12207479029893875, -0.06280224025249481, -0.8875982761383057, -0.06850866228342056, 0.01635400764644146, 1.1383945941925049, 0.4923136830329895, -0.3721436858177185, 0.5155150890350342, -0.5795271992683411, 0.12514381110668182, 0.06309789419174194, -0.312793105840683, -0.5766015648841858, 0.01208496280014515, -0.7239114046096802, 0.014129693619906902, 0.4194715917110443, -0.4667224884033203, 0.6321077942848206, -0.18679580092430115, 0.24591584503650665, 1.0211623907089233, 0.16499952971935272, 0.14812999963760376, -0.12216166406869888, 1.0336155891418457, 0.01742682047188282, 0.5721496939659119, -0.5922060608863831, -0.40532493591308594, -0.5159112811088562, -0.7210566997528076, -0.21250009536743164, 0.49947115778923035, -0.7548535466194153, 0.17357854545116425, 0.15738505125045776, -0.2995469570159912, -0.5979935526847839, 0.05061187967658043, 0.45897629857063293, 0.32558637857437134, 0.10308735072612762, 0.2327038198709488, -0.5921958684921265, -0.8434621691703796, -0.5191188454627991, -0.4988899827003479, -0.013908905908465385, 0.4042781591415405, 0.06075216084718704, -0.15349005162715912, 0.5447699427604675, -0.8068405985832214, 0.13442477583885193, -0.06473300606012344, -0.06383109092712402, 0.5017350316047668, 0.2562483549118042, 0.4576273262500763, -0.5311140418052673, -0.4493285119533539, -0.05520341917872429, -0.4116058945655823, -0.7514474987983704, -0.17045952379703522, -0.16913966834545135, 0.12786883115768433, 0.49704062938690186, -0.6942286491394043, 0.08168882876634598, 0.49803265929222107, -0.4245830774307251, 0.5552456974983215, -0.11942438036203384, 0.18496808409690857, -1.1581346988677979, 0.1766233593225479, -0.3573596179485321, -0.22701209783554077, -0.13002657890319824, 0.5237739682197571, 0.20496688783168793, -0.43528392910957336, -0.2899837791919708, 0.8316016793251038, -0.8589823246002197, -0.3039422333240509, -0.031470440328121185, 0.06339108198881149, -0.04696347564458847, 0.1991845965385437, -0.5832003355026245, 1.2548949718475342, 0.593634307384491, -0.4887367784976959, 0.36126041412353516, -0.03162529319524765, -0.1400233954191208, 0.6615382432937622, -0.819214940071106, 0.28097063302993774, -0.34285983443260193, 0.20147672295570374, -1.0804885625839233, -0.11304118484258652, 0.428955614566803, -0.2875347137451172, 0.13598665595054626, -0.30925053358078003, -0.6038422584533691, -0.1354016363620758, -0.6162529587745667, 0.31059762835502625, 0.32861950993537903, -0.638173520565033, 0.6347991228103638, 0.046165503561496735, -0.2098889946937561, -0.4762851893901825, -0.08402141183614731, -0.20761317014694214, -0.21232688426971436, -0.6829614043235779, 0.2009219527244568, -0.2715413272380829, -0.18409353494644165, -0.18621090054512024, -0.5711036324501038, 0.24357211589813232, 0.34219223260879517, 0.507002055644989, 0.24573568999767303, -0.017013447359204292, 0.22567085921764374, 0.6168757677078247, -0.314564049243927, 0.021091504022479057, -0.19663164019584656, 0.5525302290916443, -0.01663638837635517, -0.2574689984321594, -0.35401394963264465, 0.5388650894165039, 0.3661143481731415, -0.05612647533416748, 0.24548667669296265, 0.24170835316181183, -0.15576161444187164, -0.4860828220844269, -0.24261923134326935, -0.2659781277179718, -0.5592784881591797, 0.035410575568675995, -0.6265314221382141, -1.0355271100997925, 0.3773821294307709, -0.43283969163894653, 0.09865468740463257, 0.17507478594779968, 0.3779497444629669, -0.038158949464559555, 1.5287445783615112, 0.5361632704734802, 0.2350311577320099, 0.6094138622283936, 0.13726921379566193, 0.03897687792778015, -0.4193931221961975, -0.36774590611457825, -0.9133046269416809, -0.6695718765258789, -0.46294939517974854, -0.4016481637954712, 0.7544416189193726, 0.1178772822022438, -0.24619214236736298, 0.4759996235370636, -0.7610629200935364, 0.7585825324058533, 0.5975232124328613, 0.038430146872997284, 0.41387367248535156, 0.1153569146990776, -0.16880135238170624, 0.0025266169104725122, -0.7942959666252136, -0.400355726480484, 0.44104328751564026, 0.04854172095656395, 0.8535811305046082, -0.11611905694007874, 0.9982536435127258, 0.3540082573890686, -0.03797849640250206, -0.8107542991638184, 0.9089366793632507, -0.1153116449713707, -0.5272079706192017, -0.07673361152410507, -0.7916381359100342, -0.9803835153579712, -0.17938074469566345, 0.27242738008499146, -0.334450900554657, 0.22943629324436188, 0.1702527403831482, -0.2841856777667999, -0.0989486575126648, -0.688148558139801, 0.5501740574836731, -0.31983673572540283, 0.16035325825214386, -0.4409215450286865, -0.8558592796325684, 0.01623360998928547, 0.17092226445674896, -0.3288537263870239, -0.2938746213912964, -0.4905255138874054, 0.20578961074352264, -0.4629160165786743, 0.5508860349655151, -0.29230719804763794, 0.0011117630638182163, 0.11898982524871826, 0.39243483543395996, 0.8168509006500244, 0.05300706624984741, -0.20069560408592224, -0.11892355233430862, 0.344410240650177, -0.49617213010787964, -1.0105563402175903, 0.6769448518753052, -0.4255952835083008, -0.7375994324684143, -0.4297351539134979, -0.5956113338470459, 0.1303490251302719, 0.12336405366659164, 0.09579098969697952, 0.3992151916027069, 0.1908341944217682, 0.15105462074279785, 0.5205104947090149, -0.07944422215223312, 0.2884850800037384, 0.0901549756526947, -0.09542792290449142, -0.2630147933959961, 0.5987545847892761, -0.13287445902824402, -0.09898918122053146, 0.5346512198448181, 0.3039452135562897, -0.15702208876609802, -0.1346224993467331, -0.4806012809276581, 0.19561299681663513, -0.6949610710144043, -0.5893469452857971, -0.24208201467990875, 0.12059136480093002, -0.04409559443593025, -0.3381776213645935, -0.07268750667572021, -0.7258304953575134, -0.2752630114555359, 0.12801909446716309, 0.37755751609802246, 0.39846062660217285, 0.17644526064395905, 0.45020824670791626, -0.8066348433494568, 0.12594595551490784, 0.11808627098798752, 0.08710960298776627, -0.47526001930236816, 0.1069485992193222, 0.01721801981329918, -0.1601938009262085, -0.26090940833091736, -0.9320902824401855, 0.054669931530952454, 0.23230645060539246, 0.5899872183799744, 0.4324130415916443, 0.40991243720054626, 0.7194937467575073, -0.1264399290084839, 0.6000635623931885, 0.1848306506872177, -0.8906249403953552, 0.919367790222168, -0.14722976088523865, 0.5116572380065918, 0.5021450519561768, 0.49840450286865234, -0.31795766949653625, -0.10077819228172302, -0.2446359395980835, -0.5005683898925781, 0.7285705804824829, 0.1489115208387375, 0.07515652477741241, -0.2880513370037079, 0.27075743675231934, 0.1620538830757141, 0.3869354724884033, -0.038171153515577316, -0.22931309044361115, 0.3577005863189697, -0.17631664872169495, 0.3223152458667755, -0.39233869314193726, -0.4278682470321655, -0.07072296738624573, 0.45517435669898987, -0.2501000463962555, 0.41010555624961853, -0.002353548537939787, -0.07357089221477509, -0.14539605379104614, 0.11694677919149399, 0.5917372703552246, 0.393512099981308, -0.0866541936993599, 0.3702543079853058, -0.14554090797901154, -0.3489561676979065, 0.244699627161026, -0.041526541113853455, -0.3245754539966583, 0.32971614599227905, 0.016196195036172867, 0.9053930640220642, 0.11374123394489288, -0.7656100988388062, 0.16292433440685272, -0.024066632613539696, 0.2707771062850952, 0.16539204120635986, 0.6325535774230957, -0.3868758976459503, 0.6988728642463684, 0.4346292018890381, -0.09026987850666046, 0.3511611521244049, -0.6135131120681763, -0.08132759481668472, 0.5644873976707458, 0.02227143943309784, -0.10185419768095016, 0.6555935740470886, 0.27333053946495056, -0.4733867943286896, 0.5757347941398621, -0.27231428027153015, -0.41838639974594116, 0.4523094594478607, 0.70942223072052, 1.2926380634307861, -0.36241403222084045, 0.23862846195697784, 0.2768661677837372, 0.22542428970336914, 0.1304444968700409, 0.8218140006065369, -0.5220884680747986, -0.021407444030046463, -0.3821585774421692, -0.39005520939826965, -0.380805641412735, -0.4707299470901489, -0.21465446054935455, 0.6817314624786377, -0.8694279193878174, -0.4531481862068176, -0.6001241207122803, 0.21874293684959412, -0.20546306669712067, -0.011596467345952988, -0.30636540055274963, 1.0176818370819092, -0.4284070134162903, 0.3692115247249603, 1.0536659955978394, 0.06237583979964256, -0.5534332990646362, -0.05567741394042969, 0.25626108050346375, -0.6726198792457581, 0.7227484583854675, 0.28075242042541504, -0.5190029144287109, 0.16209888458251953, -0.6047921776771545, -0.6448631882667542, 1.1843584775924683, 0.9974202513694763, -0.417429655790329, -0.29886993765830994, -0.30461516976356506, 0.12872740626335144, -0.3517293930053711, 0.12074606120586395, 0.13798712193965912, 0.5093486905097961, 0.2438690960407257, -0.45521530508995056, 0.316723495721817, -0.37788259983062744, 0.37736135721206665, 0.6026104688644409, -0.6037713289260864, 0.5121864080429077, -0.15293331444263458, -0.5433513522148132, 0.21656949818134308, 0.42572465538978577, 0.9246606230735779, 0.5878527760505676, 0.40168774127960205, 0.11670848727226257, 0.9408299326896667, -0.24128586053848267, 0.9341238141059875, -0.7619754672050476, 0.04890982806682587, 0.5585942268371582, 0.0387222021818161, 0.27211374044418335, 0.6660165190696716, 0.016519298776984215, 0.2422807812690735, 0.8823201060295105, 0.11537916213274002, 0.43054744601249695, 0.08554555475711823, -0.5452693700790405, -0.4582119584083557, -0.3165184557437897, -0.34687143564224243, 0.01766713336110115, 0.11107127368450165, -0.37261709570884705, -0.28308770060539246, -0.4826597571372986, 0.08678524196147919, -0.09955064207315445, -0.3481295704841614, 0.27102649211883545, 0.20662327110767365, -0.44232800602912903, 0.5183649063110352, 0.05881544575095177, 0.30821603536605835, -0.7146862149238586, -0.16633543372154236, -0.5875394344329834, -0.14158593118190765, -0.20257338881492615, -0.3323496878147125, 0.29318687319755554, -0.12343470007181168, -0.2750111520290375, -0.23880183696746826, 0.9901632070541382, -0.06134863942861557, -0.24776679277420044, -0.09524383395910263, 0.39632174372673035, 0.366840124130249, -0.19032302498817444, -0.6633636355400085, 0.5045937895774841, -0.012383970431983471, -0.2392992079257965, 0.10216272622346878, 0.5052455067634583, -0.4231860637664795, 1.0319277048110962, 0.7091053128242493, 0.12126566469669342, 0.10210420191287994, -0.28874075412750244, 0.9238159656524658, -0.6184566617012024, -0.6178064346313477, -0.79929119348526, 0.30952832102775574, -0.009545035660266876, -0.3068860173225403, 0.7087713479995728, 0.7504839897155762, 0.5276551246643066, -0.31152626872062683, 0.24102935194969177, 0.08276139199733734, 0.06769654899835587, -0.7208510637283325, 0.39775562286376953, -0.7058359980583191, 0.4389359652996063, -0.3621118664741516, -1.4964035749435425, -0.4427569806575775, 0.6324997544288635, -0.028752431273460388, 0.010654580779373646, 0.5590996742248535, 1.1324005126953125, 0.056615110486745834, -0.1731896996498108, 0.22979727387428284, -0.23107481002807617, 0.1035986989736557, 0.4479738473892212, 0.8764241933822632, -0.02589348517358303, 0.3765868544578552, 0.0677901953458786, -0.02941146492958069, -0.4019092321395874, -1.0564966201782227, -0.7451315522193909, -0.6532717943191528, -0.21074193716049194, -0.07072508335113525, 0.5490351915359497, 1.3260564804077148, 0.5853601694107056, -0.41728585958480835, -0.20768773555755615, 0.013001075945794582, 0.3015301823616028, -0.1778354048728943, -0.15116503834724426, 0.2780389189720154, -0.5033636689186096, -0.7880429625511169, 0.807314395904541, 0.6449819803237915, -0.1093968003988266, -0.12141875922679901, -0.2643503248691559, 0.1953156441450119, 0.2293199896812439, 0.7271470427513123, 0.22895283997058868, -0.3445630669593811, -0.11903707683086395, 0.41250401735305786, -0.19341550767421722, -0.10360196232795715, 1.1441435813903809, -0.7484728097915649, 0.538399875164032, 1.0037211179733276, 0.6896083950996399, 0.1756998896598816, 0.27056118845939636, 0.5927217602729797, -1.1345683336257935, 0.01616903766989708, 0.15801848471164703, 0.1451701819896698, 0.058839693665504456, -0.5901089906692505, 0.8350951671600342, 0.3433055281639099, -0.4328306019306183, -1.026003360748291, 0.4002683460712433, -0.9507340788841248, -0.4293633699417114, 0.9206868410110474, 0.06380650401115417, -0.23097245395183563, 0.30435237288475037, -0.6257309913635254, 0.23992155492305756, -0.6331722140312195, 0.8585907220840454, 0.32841047644615173, -0.4667168855667114, -0.29503709077835083, -0.3333078622817993, 0.40347716212272644, 0.41623207926750183, -0.6494378447532654, -0.1467496007680893, 0.8862334489822388, -0.11263110488653183, -0.05995415896177292, 0.41306033730506897, -0.15442819893360138, 0.31955447793006897, -0.2552582323551178, -0.19775667786598206, -0.523628830909729, -0.7302604913711548, -0.3577033579349518, 0.04362151399254799, -0.03996429964900017, -0.3298572301864624 ]
http://arxiv.org/abs/2404.02305v1
http://arxiv.org/pdf/2404.02305v1
Collapse of Self-trained Language Models
2024-04-02T21:03:37
2024-04-02T21:03:37
David Herel, Tomas Mikolov
cs.CL
cs.CL, cs.AI
In various fields of knowledge creation, including science, new ideas often build on pre-existing information. In this work, we explore this concept within the context of language models. Specifically, we explore the potential of self-training models on their own outputs, akin to how humans learn and build on their previous thoughts and actions. While this approach is intuitively appealing, our research reveals its practical limitations. We find that extended self-training of the GPT-2 model leads to a significant degradation in performance, resulting in repetitive and collapsed token output.
[ -0.3070499300956726, -0.4896029531955719, 0.7202696204185486, -0.3080541491508484, -0.03249895200133324, 0.11215081810951233, -0.08284725248813629, -0.44281256198883057, -0.05966886505484581, 0.6797547936439514, -0.4073081910610199, 0.07810000330209732, -0.7613610029220581, -0.16934143006801605, -0.7919571399688721, 1.3764903545379639, -0.06999307125806808, -0.029231715947389603, -0.2744372487068176, -0.04588387534022331, -0.6510373950004578, -0.8946388363838196, -0.6952952742576599, -0.6158493161201477, 0.24894772469997406, 0.15025165677070618, 0.48856136202812195, 0.6313456892967224, 0.2591805160045624, 0.3568625748157501, 0.24453145265579224, -0.49247410893440247, -0.6990150213241577, 0.06728056818246841, -0.2303248941898346, -0.6148437261581421, -0.15096284449100494, 0.4200335741043091, 0.8164728283882141, 0.7224057912826538, -0.04756208136677742, 0.0882236510515213, 0.32296812534332275, 0.5427277684211731, -0.3069840371608734, 0.3075203001499176, -0.5011688470840454, 0.05699826776981354, 0.07689987868070602, 0.01489220093935728, -0.29221105575561523, -0.05851190164685249, 0.28533586859703064, -0.23080138862133026, 0.5100376605987549, -0.5655421018600464, 0.577086865901947, 0.18379919230937958, -0.3391694128513336, -0.38646596670150757, -1.0203702449798584, 0.5147072076797485, -0.6922933459281921, 0.379326730966568, 0.2956087291240692, 0.3537159562110901, -0.020014075562357903, -0.9745750427246094, -0.5843603610992432, -0.38912737369537354, -0.3617898225784302, 0.22244682908058167, 0.12860052287578583, -0.007749841082841158, 0.22483143210411072, 0.3651629686355591, -0.39796891808509827, 0.09169507026672363, -0.8550447225570679, 0.01440237183123827, 0.2839691936969757, 0.07929245382547379, 0.4634576439857483, -0.23831705749034882, -0.1681583672761917, -0.0038106879219412804, -0.8147388696670532, -0.08973219990730286, 0.49274539947509766, 0.14552266895771027, 0.07815543562173843, 0.4782392382621765, -0.1157294511795044, 0.3935125470161438, -0.01909230463206768, 0.008130141533911228, 0.018287433311343193, -0.2461254745721817, -0.16092562675476074, -0.25080636143684387, 0.7456741333007812, -0.04879111796617508, 0.03336121886968613, -0.4240235984325409, -0.172699972987175, -0.034813735634088516, 0.23974178731441498, -0.723448634147644, -0.5247669816017151, 0.15785160660743713, -0.3415922224521637, -0.35088711977005005, -0.12231145054101944, -0.002646162174642086, -0.04087783396244049, -0.3409310579299927, 0.6850829720497131, -0.43082064390182495, -0.7176662087440491, 0.006428098771721125, -0.24820218980312347, -0.22221344709396362, 0.1087617427110672, -1.1103384494781494, 0.35870081186294556, 0.598051130771637, 0.8485424518585205, 0.09649983048439026, -0.7875126004219055, -0.14601768553256989, 0.07941038906574249, -0.34626293182373047, 0.6610545516014099, -0.3137713074684143, -0.6666606664657593, -0.12992550432682037, -0.03489260748028755, -0.036726463586091995, -0.3859964609146118, 0.14818932116031647, -0.3354422152042389, 0.6743118166923523, -0.321137011051178, -0.611495852470398, -0.06062786281108856, -0.017636628821492195, -0.635263979434967, 0.8671624660491943, 0.16760219633579254, -0.8444756269454956, 0.5486786365509033, -0.7021369934082031, -0.41690781712532043, 0.1676453948020935, -0.5157680511474609, -0.26573866605758667, 0.32655203342437744, -0.3265567123889923, 0.5072205066680908, -0.2900449335575104, 0.3941749632358551, -0.3281109035015106, -0.14146462082862854, 0.07899213582277298, -0.27345141768455505, 0.6455604434013367, 0.2623351514339447, -0.4319525957107544, -0.20122326910495758, -0.6379166841506958, -0.011080385185778141, 0.2697319984436035, -0.44500625133514404, -0.40816542506217957, 0.06322420388460159, -0.34524697065353394, 0.5861741900444031, 0.10624199360609055, -0.4347139596939087, 0.44860318303108215, -0.5502665638923645, 0.7327378988265991, 0.5985710024833679, -0.16822001338005066, 0.5187605619430542, -0.24831697344779968, 0.40404626727104187, -0.022921089082956314, -0.01833297684788704, -0.34011709690093994, -0.3112305998802185, -0.8793306350708008, 0.10150472819805145, 0.21561886370182037, 0.04423188418149948, -0.51188725233078, 0.14372612535953522, -0.3407813310623169, -0.5327587723731995, -0.2969071567058563, 0.2648638188838959, 0.4029737412929535, 0.6207164525985718, 0.24077342450618744, -0.3974739611148834, -0.6146364212036133, -0.8681897521018982, -0.5095854997634888, -0.3771333694458008, -0.04833896830677986, -0.1613197773694992, 0.8706332445144653, -0.205882266163826, 1.054845929145813, -0.33357372879981995, -0.12800069153308868, -0.45748910307884216, 0.6446405053138733, -0.051201511174440384, 0.6804656982421875, 0.4015282690525055, -0.37840449810028076, -0.1775846779346466, -0.08209189027547836, -0.8145380616188049, 0.3926222622394562, -0.3312631845474243, 0.2588393986225128, 0.05584605410695076, 0.45653149485588074, -0.6896716952323914, 0.5004765391349792, 0.45111361145973206, -0.2550557851791382, 0.8792662024497986, -0.28480520844459534, 0.05968441814184189, -1.061493158340454, -0.06186923012137413, -0.45690345764160156, 0.037521712481975555, -0.6815834045410156, -0.20237822830677032, -0.11734235286712646, -0.31819361448287964, -0.27909624576568604, 0.7380871176719666, -0.7116191983222961, -0.21780484914779663, -0.7307107448577881, -0.04127951338887215, -0.19326117634773254, 0.31661003828048706, 0.2850305736064911, 0.7587672472000122, 0.398335337638855, -0.5630386471748352, 0.043070849031209946, 0.13565173745155334, -0.24429720640182495, -0.12262730300426483, -0.7995232343673706, 0.3031615912914276, -0.22488780319690704, 0.15514475107192993, -1.0051190853118896, -0.5135714411735535, 0.05012790486216545, -0.557424008846283, 0.6116131544113159, -0.48164573311805725, -0.3300052881240845, -0.603306233882904, -0.10199012607336044, 0.4949227273464203, 0.6539345383644104, -0.6266892552375793, 0.335029274225235, 0.3554912507534027, -0.21303687989711761, -0.45771804451942444, -1.0082226991653442, 0.09559701383113861, -0.07487205415964127, -0.5221048593521118, 0.04697339981794357, 0.1707613170146942, -0.014435993507504463, 0.23325420916080475, 0.027957582846283913, -0.09272774308919907, -0.008786008693277836, 0.4046793580055237, -0.12739767134189606, -0.21834106743335724, 0.5156892538070679, -0.027475858107209206, 0.10040673613548279, 0.35101422667503357, -0.433143675327301, 0.7782729864120483, -0.28936371207237244, -0.5164154767990112, -0.37448757886886597, 0.3539384603500366, 0.6685513257980347, -0.23224349319934845, 0.9713178277015686, 0.3739018142223358, -0.2108694463968277, -0.033833540976047516, -0.5233628153800964, -0.4183923304080963, -0.5213637948036194, 0.6913940906524658, -0.3875105679035187, -0.9273422956466675, 0.4087711572647095, -0.1647096574306488, -0.13597282767295837, 0.6733537316322327, 0.6720539331436157, -0.1822264939546585, 0.8609685301780701, 1.0527892112731934, 0.2536540627479553, 0.6200059056282043, -0.6248964667320251, 0.232284277677536, -0.813738226890564, -0.23254765570163727, -0.11854176223278046, 0.11475273221731186, -0.45218196511268616, -0.3134216070175171, 0.005068182945251465, 0.24558806419372559, -0.2517097294330597, 0.42457008361816406, -0.5529182553291321, 0.4751806855201721, 0.6822742223739624, -0.025560248643159866, 0.14658580720424652, -0.17034295201301575, 0.011807450093328953, 0.12196218967437744, -1.075874924659729, -0.4719138741493225, 1.4231511354446411, 0.5706663131713867, 0.8406223654747009, -0.1907390058040619, 0.9547520279884338, 0.2822679579257965, 0.6818110942840576, -0.5042664408683777, 0.12307339161634445, 0.10266172140836716, -0.8006998896598816, -0.5346439480781555, -0.37357842922210693, -0.9718522429466248, -0.11219926178455353, 0.20424620807170868, -0.6069385409355164, 0.03377733752131462, 0.4996720850467682, -0.22273923456668854, 0.4075530171394348, -0.9910810589790344, 0.9306684732437134, -0.5858010053634644, -0.27573728561401367, -0.23134109377861023, -0.454537570476532, 0.657036542892456, -0.24230130016803741, 0.2551211714744568, 0.06207088753581047, 0.3863019645214081, 1.0942388772964478, -0.6197582483291626, 1.0707436800003052, -0.19713521003723145, -0.13613396883010864, 0.5783122181892395, 0.10678461194038391, 0.39276453852653503, -0.059624094516038895, 0.41456693410873413, 0.1505832076072693, -0.0790845975279808, -0.43400540947914124, -0.7805832028388977, 0.5365172624588013, -0.9739827513694763, -0.7928716540336609, -0.3845416009426117, -0.32384416460990906, -0.07412396371364594, 0.3054081201553345, 0.5718773007392883, 0.5881353616714478, -0.28024816513061523, -0.19140011072158813, 0.06806913018226624, 0.005941061303019524, 0.39634397625923157, 0.4793120324611664, -0.4630814492702484, -0.4362622797489166, 0.7953916788101196, 0.5931350588798523, 0.6050508618354797, -0.19907782971858978, 0.12829694151878357, -0.5199030041694641, -0.521674633026123, 0.00817856378853321, 0.4111515283584595, -0.9560911059379578, 0.13728688657283783, -0.5693537592887878, -0.36070674657821655, -0.7480893731117249, 0.18662314116954803, -0.6473627686500549, -0.8112943768501282, -0.1518639624118805, -0.29341766238212585, -0.015069758519530296, 1.5186102390289307, -0.36812788248062134, 0.4966185390949249, -0.6646484732627869, -0.12731178104877472, 0.5907488465309143, 0.47881296277046204, 0.11978498846292496, -0.7264877557754517, -0.5922704339027405, 0.09833802282810211, -0.3474023640155792, -0.8863736987113953, 0.24062411487102509, 0.24500535428524017, 0.6553419828414917, 0.46602869033813477, -0.38250526785850525, 0.3551022708415985, -0.6107538938522339, 0.7253906726837158, 0.7165858745574951, -0.8879109025001526, 0.7447142004966736, -0.4156509041786194, 0.33468469977378845, 0.3536660075187683, 0.47026190161705017, -0.5627456903457642, -0.42030778527259827, -0.782024621963501, -0.5899210572242737, 0.5040237903594971, 0.2760651409626007, 0.35195276141166687, -0.26892581582069397, 0.5564380288124084, 0.2361987680196762, 0.09042257815599442, -0.9513021111488342, -0.2591037154197693, -0.6750966310501099, 0.19926103949546814, -0.1442330777645111, -0.677642822265625, -0.10327021032571793, -0.4962988495826721, 0.46145790815353394, -0.1388695240020752, 0.491886705160141, 0.13231024146080017, -0.23557943105697632, 0.044262636452913284, 0.15017525851726532, 0.39736583828926086, 0.6187509894371033, 0.13230617344379425, 0.21309712529182434, 0.1484490931034088, -0.3210641145706177, 0.3968786299228668, -0.3212960958480835, -0.019212329760193825, -0.264511376619339, 0.4615945518016815, 0.8193244338035583, 0.24092477560043335, -0.4101424813270569, 0.360721230506897, -0.12251166999340057, -0.3543902635574341, -0.40352994203567505, 0.14989517629146576, 0.19716767966747284, -0.019372550770640373, 0.3164983093738556, 0.3144461512565613, 0.18658821284770966, -1.15841805934906, 0.5542370676994324, 0.3456217646598816, -0.25442296266555786, -0.7168771028518677, 0.8085358142852783, 0.10565941780805588, -0.26328036189079285, 0.4863471984863281, -0.14736008644104004, -0.8059048056602478, 0.34473052620887756, 0.8229448795318604, 0.9972894191741943, -0.2559877336025238, 0.3037062883377075, 0.4652356207370758, 0.41104215383529663, -0.3572860360145569, 0.013916541822254658, -0.20788058638572693, -0.646176278591156, -0.7320643067359924, -0.44903916120529175, -0.13239996135234833, 0.38416650891304016, -0.5571721792221069, 0.21597272157669067, -0.5803266763687134, -0.3937508463859558, -0.31693798303604126, -0.25606825947761536, -0.8007842302322388, 0.34946364164352417, 0.10196222364902496, 0.4351561963558197, -0.9675594568252563, 0.9872138500213623, 0.5252744555473328, -0.8386180996894836, -0.7124812006950378, -0.00406719371676445, -0.3901241421699524, -0.7963353395462036, 1.1011395454406738, 0.24215152859687805, -0.2037600874900818, -0.0024066080804914236, -0.5208714008331299, -1.304307222366333, 0.8747491240501404, 0.5182182192802429, -0.3459499478340149, -0.4385169744491577, 0.39409950375556946, 0.704014003276825, -0.24622784554958344, 0.20035049319267273, 0.6400377750396729, 0.09333663433790207, -0.05925219878554344, -1.0310297012329102, 0.014952135272324085, -0.26232293248176575, -0.1886191964149475, 0.08813681453466415, -0.7947643399238586, 1.1195663213729858, -0.32764366269111633, -0.5007299780845642, 0.0035089512821286917, 0.7041738629341125, -0.38265854120254517, -0.1777314692735672, 0.22303146123886108, 0.695399284362793, 0.5765975713729858, 0.11123558133840561, 1.0566799640655518, -0.33935612440109253, 0.6937514543533325, 1.584326148033142, 0.2925061881542206, 0.6374004483222961, 0.1895202249288559, -0.21361075341701508, 0.5195334553718567, 0.4557360112667084, -0.09418029338121414, 0.5034058094024658, 0.10016707330942154, -0.027807094156742096, -0.237433522939682, 0.33991435170173645, -0.5543912649154663, 0.6040544509887695, 0.2907290458679199, -0.44775718450546265, -0.19620172679424286, 0.1654372364282608, -0.11809536814689636, -0.23487766087055206, -0.04110104963183403, 0.5827512741088867, 0.13963741064071655, -0.7230866551399231, 0.7132959365844727, -0.3767615854740143, 0.2627062201499939, -0.41372790932655334, 0.006051233503967524, -0.1513022780418396, 0.08713345974683762, -0.11652939021587372, -0.566798746585846, 0.5279879570007324, -0.15514828264713287, -0.10371395945549011, -0.26877444982528687, 0.7920304536819458, -0.4786248207092285, -0.3765329122543335, 0.38143378496170044, 0.7358886003494263, 0.41174083948135376, -0.1132327988743782, -0.5817821621894836, -0.20175836980342865, -0.07064154744148254, -0.31046733260154724, 0.45130500197410583, 0.3780680298805237, 0.35624223947525024, 0.8180872797966003, 0.4804299771785736, 0.0002180655865231529, 0.38498592376708984, -0.16609029471874237, 0.9763270020484924, -0.6845990419387817, -0.3615870475769043, -0.8839462995529175, 0.4148741066455841, -0.07218288630247116, -0.35242271423339844, 0.8020302653312683, 0.7112155556678772, 1.0115045309066772, -0.07926557958126068, 1.272207498550415, 0.02417297102510929, 0.5885969996452332, -0.4996478259563446, 1.0702487230300903, -0.6061723828315735, 0.2793903648853302, -0.12899497151374817, -0.4119916260242462, 0.08051326870918274, 0.392391175031662, -0.5319637656211853, 0.3393939733505249, 0.8684388995170593, 0.1738409847021103, 0.06227659806609154, -0.350771963596344, 0.5762569904327393, 0.359049528837204, 0.4120768904685974, 0.301018625497818, 1.1037371158599854, -0.26282721757888794, 0.6879062652587891, -0.3569585680961609, -0.1336662769317627, 0.018874382600188255, -0.5121851563453674, -1.2625236511230469, -0.9419996738433838, -0.24365568161010742, -0.22378461062908173, 0.025608284398913383, 0.48561856150627136, 0.8280922770500183, -0.6350535750389099, -0.1769205629825592, -0.3961697816848755, -0.15017302334308624, 0.2473485767841339, -0.12572528421878815, 0.37437185645103455, -0.8223205804824829, -0.3527783155441284, 0.43090376257896423, 0.21709051728248596, 0.5140253901481628, -0.5715681910514832, -0.09567589312791824, 0.15912356972694397, -0.08388306200504303, 0.5463985800743103, 0.6390613317489624, -0.6652104258537292, -0.34865671396255493, -0.23722690343856812, 0.16158385574817657, 0.12796619534492493, 1.138471007347107, -1.013526439666748, 0.569920003414154, 0.17074914276599884, 0.4195369780063629, 0.6872226595878601, -0.19333186745643616, 0.9760153293609619, -0.6523324251174927, 0.16761179268360138, 0.20932944118976593, 0.40829965472221375, 0.3143059015274048, -0.2471272349357605, 0.4353683292865753, 0.4629097580909729, -0.5838369727134705, -0.8862470984458923, 0.48817864060401917, -0.2241995483636856, -0.4230336546897888, 0.8910990357398987, -0.1472429484128952, -0.24563999474048615, -0.11739522963762283, -0.08660852909088135, 0.45530280470848083, 0.007406554650515318, 1.0762981176376343, 0.8125342130661011, -0.43661874532699585, -0.01232073176652193, -0.5351094603538513, 0.7875005006790161, 0.4856732487678528, -0.6496044397354126, 0.2985493242740631, 0.206786647439003, 0.7087844610214233, 0.19744126498699188, 0.9074944853782654, -0.04478013142943382, 0.2609518766403198, 0.3833298683166504, 0.25640207529067993, -0.05409933999180794, -0.5486368536949158, -0.32357773184776306, 0.21831563115119934, 0.3508314788341522, 0.03919338807463646 ]
http://arxiv.org/abs/2404.05741v1
http://arxiv.org/pdf/2404.05741v1
Enhancing Inference Efficiency of Large Language Models: Investigating Optimization Strategies and Architectural Innovations
2024-04-02T19:53:54
2024-04-02T19:53:54
Georgy Tyukin
cs.LG
cs.LG, cs.AI, cs.CL, cs.PF
Large Language Models are growing in size, and we expect them to continue to do so, as larger models train quicker. However, this increase in size will severely impact inference costs. Therefore model compression is important, to retain the performance of larger models, but with a reduced cost of running them. In this thesis we explore the methods of model compression, and we empirically demonstrate that the simple method of skipping latter attention sublayers in Transformer LLMs is an effective method of model compression, as these layers prove to be redundant, whilst also being incredibly computationally expensive. We observed a 21% speed increase in one-token generation for Llama 2 7B, whilst surprisingly and unexpectedly improving performance over several common benchmarks.
[ -0.5283840298652649, -0.6193431615829468, 0.5203882455825806, 0.31773215532302856, -0.16021853685379028, -0.07990483939647675, -0.13282904028892517, -0.5878640413284302, -0.0770818367600441, 0.5981062650680542, -0.40971893072128296, -0.06886604428291321, -0.5764091610908508, -0.03550472483038902, -0.38424715399742126, 0.2633824050426483, 0.2746398448944092, -0.054113540798425674, -0.21215496957302094, 0.16259752213954926, -0.2302863448858261, -0.5067130923271179, -0.977867066860199, -0.3256751000881195, 0.3955475389957428, 0.3384990990161896, 0.6734819412231445, 1.0216768980026245, 0.6012140512466431, 0.3706322908401489, -0.5466236472129822, 0.3051231801509857, -0.577755868434906, 0.16933302581310272, 0.003910701721906662, -0.5621965527534485, -0.411618709564209, -0.3366122841835022, 0.789658784866333, 0.8079124689102173, -0.020572835579514503, 0.3103404939174652, 0.02573799155652523, 0.7656819820404053, -0.7979147434234619, 0.175403892993927, -0.5267375111579895, 0.022779298946261406, -0.18306870758533478, -0.2279524952173233, -0.6254850625991821, -0.1287657916545868, 0.01969779282808304, -0.4943609833717346, 0.1904190629720688, 0.2748390734195709, 0.6234479546546936, 0.629424512386322, -0.04695857688784599, -0.0712670087814331, -0.6183692216873169, 0.9568824768066406, -0.8505101203918457, 0.5040836334228516, 0.2553698718547821, -0.012121879495680332, -0.20419812202453613, -0.9889681935310364, -0.3954090476036072, -0.15584544837474823, -0.03597226366400719, -0.042080070823431015, -0.49045121669769287, 0.26189276576042175, 0.5187274217605591, 0.21634571254253387, -0.24178145825862885, 0.5706800818443298, -0.34704792499542236, -0.13626191020011902, 0.6134155988693237, 0.10002020746469498, 0.023855503648519516, -0.17613227665424347, -0.1437579095363617, -0.25297093391418457, -0.994968056678772, -0.2610696256160736, 0.7623264789581299, 0.04432788863778114, 0.24383968114852905, 0.5352928042411804, -0.1504823863506317, 0.6642793416976929, -0.11517613381147385, -0.20932912826538086, 0.08599711209535599, -0.25978344678878784, -0.3145217299461365, 0.03473735228180885, 0.34416481852531433, 0.08267537504434586, 0.26375532150268555, -0.14536811411380768, -0.2038634568452835, 0.27233096957206726, 0.3245616853237152, -0.8421599268913269, -0.1979171633720398, 0.39771613478660583, -0.699441134929657, -0.262073814868927, -0.24390263855457306, -0.7323188781738281, -0.19664408266544342, -0.2948894202709198, 0.2460257112979889, -0.2558004558086395, -0.2922194004058838, 0.3715835511684418, -0.31104353070259094, 0.34050828218460083, 0.25348806381225586, -0.9677463173866272, 0.3387576937675476, 0.8043789267539978, 0.7288991808891296, 0.05745162442326546, -0.1319361925125122, -0.5579088926315308, 0.04078805446624756, -0.4822474718093872, 0.9142528176307678, -0.4713541865348816, -0.5085805654525757, -0.22901390492916107, -0.24090301990509033, 0.11536070704460144, -0.7780126929283142, 0.785233199596405, -0.5261720418930054, -0.10935459285974503, -0.05508925020694733, -0.5891618728637695, -0.17615075409412384, -0.06217646598815918, -0.850007951259613, 1.2228423357009888, 0.1865575760602951, -0.660219132900238, -0.023687520995736122, -0.7366028428077698, -0.5689474940299988, -0.14376835525035858, 0.2118668109178543, -0.4230806827545166, 0.6679403781890869, 0.5197861790657043, 0.41700509190559387, -0.7871492505073547, 0.009069978259503841, -0.020829586312174797, -0.5130032300949097, 0.0006529231905005872, -0.4418654143810272, 0.6223035454750061, 0.4134516716003418, -0.35515642166137695, -0.11438030749559402, -0.9329091906547546, -0.17369979619979858, 0.320361852645874, -0.4694747030735016, -0.3314588963985443, 0.1658649742603302, -0.12676893174648285, -0.031216250732541084, 0.10481887310743332, -0.25559210777282715, 0.32607266306877136, -0.3867003619670868, 0.5428902506828308, 0.8237691521644592, -0.003560431068763137, 0.5025943517684937, -0.09814027696847916, 0.5904040336608887, 0.05282013118267059, 0.3810522258281708, -0.370533287525177, -0.3897407352924347, -1.1833795309066772, -0.3490927219390869, 0.5366311073303223, 0.32997921109199524, -0.5797106623649597, 0.1451381891965866, -0.24135684967041016, -0.41840338706970215, -0.6688137650489807, 0.14977484941482544, 0.3321293890476227, 0.2627067565917969, 0.31343767046928406, -0.21869514882564545, -0.6148450374603271, -1.0643045902252197, -0.3469264805316925, -0.19881005585193634, 0.011857714504003525, 0.22670426964759827, 0.29494068026542664, -0.13276603817939758, 0.6823959946632385, -0.4866916239261627, 0.3694237172603607, -0.48342758417129517, 0.026274127885699272, 0.24949173629283905, 0.6397466063499451, 0.4989009499549866, -0.6642326712608337, -0.1712377518415451, -0.08464530110359192, -0.3928275406360626, -0.4070683717727661, -0.07865646481513977, -0.1389961987733841, 0.2646259367465973, 0.5538159608840942, -0.7318548560142517, 0.32085174322128296, 0.6330573558807373, 0.10139703750610352, 0.5127820372581482, -0.08354434370994568, -0.14029990136623383, -0.7503405809402466, -0.07850531488656998, -0.058778248727321625, -0.13333146274089813, -0.8142489790916443, 0.15858282148838043, 0.06124189868569374, 0.17176471650600433, -0.5253168344497681, 0.5810595750808716, -0.970583975315094, -0.20893466472625732, -0.339079886674881, 0.05321343615651131, -0.0678647980093956, 0.5422549843788147, -0.18021419644355774, 0.9184945821762085, 0.6541053056716919, -0.6849103569984436, 0.01318550668656826, 0.016671348363161087, -0.5756500959396362, -0.027590541169047356, -0.7210052609443665, 0.406198650598526, -0.4100719392299652, 0.009404321201145649, -1.0601327419281006, -0.1449270248413086, 0.019876470789313316, -0.0714232325553894, 0.5486648082733154, -0.11141487956047058, -0.6366350650787354, -0.39815810322761536, -0.31049343943595886, 0.43628382682800293, 0.7348511219024658, -0.8596267104148865, 0.8352499008178711, 0.4277823567390442, 0.03419533371925354, -0.7028339505195618, -0.8602851033210754, 0.10480418801307678, -0.47557106614112854, -0.5506653785705566, 0.20904913544654846, 0.0037705085705965757, -0.4011327922344208, -0.04961969330906868, -0.19674722850322723, 0.3235398530960083, 0.26753392815589905, -0.015123811550438404, 0.045507002621889114, -0.283973753452301, 0.07103493064641953, 0.1777932196855545, -0.12961189448833466, 0.0024168873205780983, -0.5753489136695862, 0.849856436252594, 0.1774357259273529, -0.371168851852417, -0.6382912397384644, 0.30551403760910034, 0.5052257180213928, -0.10731246322393417, 0.7918287515640259, 0.21559669077396393, -0.2349841147661209, -0.37010490894317627, -0.9190980792045593, -0.08310066163539886, -0.5221253633499146, 0.47047555446624756, -0.4560960531234741, -0.8422573804855347, 0.5772769451141357, -0.37846413254737854, 0.14094918966293335, 0.5048521757125854, 0.4658222794532776, 0.42953088879585266, 1.0993517637252808, 0.4818545877933502, -0.1298481971025467, 0.6902644634246826, -0.3035472333431244, 0.23243385553359985, -0.8810723423957825, 0.00933191366493702, -0.7810914516448975, -0.3747802972793579, -0.5420480966567993, -0.7085000276565552, 0.23247574269771576, 0.3174574077129364, -0.13798369467258453, 0.2986714541912079, -0.4457976520061493, 0.6537344455718994, 0.7479216456413269, 0.03379226103425026, 0.24745653569698334, 0.1991180032491684, 0.16700497269630432, 0.2658533453941345, -1.098388433456421, -0.413063108921051, 0.9619089365005493, 0.573955237865448, 0.9579536318778992, 0.28736138343811035, 0.5179297924041748, 0.05449444055557251, 0.31520476937294006, -0.7865287661552429, 0.6306340098381042, -0.06974084675312042, -0.3068937361240387, -0.12231968343257904, -0.5712836980819702, -0.8969488143920898, 0.392553448677063, 0.047524962574243546, -0.8680026531219482, 0.311583548784256, 0.2575218677520752, -0.15340274572372437, 0.3176705837249756, -0.9256155490875244, 0.5125748515129089, -0.06583087146282196, -0.3963731527328491, -0.3399167060852051, -0.5776255130767822, 0.32852113246917725, -0.1252976506948471, 0.03946416452527046, 0.1222485601902008, -0.1668914556503296, 0.6338873505592346, -0.2329089343547821, 0.8138055205345154, -0.009790444746613503, -0.11861717700958252, 0.3299878239631653, -0.024226615205407143, 0.7413350343704224, -0.30086749792099, -0.2737724781036377, 0.2780383825302124, -0.3857942223548889, -0.5755540132522583, -0.6751789450645447, 0.4244382977485657, -0.5723668336868286, -0.9027889966964722, 0.187201127409935, -0.7274615168571472, -0.17155039310455322, -0.01404336653649807, 0.16999469697475433, 0.5824893712997437, 0.14249306917190552, 0.2355934977531433, 0.7317672967910767, -0.3754371106624603, 0.5409239530563354, 0.05826305225491524, 0.04583550989627838, -0.23093077540397644, 0.5665205717086792, 0.12272361665964127, 0.549529492855072, 0.46721190214157104, 0.4086551368236542, -0.3259112238883972, -0.8247942924499512, -0.20250287652015686, 0.3450605869293213, -0.8176524043083191, -0.274379700422287, -0.8499149084091187, -0.19338388741016388, -0.7199640274047852, 0.11472586542367935, -0.5007659792900085, -0.867150068283081, -0.27191874384880066, -0.13186605274677277, 0.09981027990579605, 0.7308914661407471, -0.1045149490237236, 0.8115079998970032, -0.6742238998413086, -0.01775837317109108, 0.07340236753225327, 0.044253166764974594, 0.5224885940551758, -0.60783451795578, -0.3232777714729309, -0.5012500882148743, -0.27518317103385925, -0.6203314661979675, 0.2728801667690277, 0.12640579044818878, 0.7482306957244873, 0.6476573944091797, -0.10854095965623856, 0.7835212349891663, -0.49809446930885315, 0.8065677285194397, -0.020428571850061417, -1.0595505237579346, 0.3424045443534851, 0.05563671141862869, 0.46880438923835754, 0.03634573891758919, 0.2054174393415451, -0.27798697352409363, -0.20823907852172852, -0.7698992490768433, -0.977341890335083, 0.6508432626724243, 0.0719107910990715, 0.2391255795955658, -0.11097800731658936, 0.6451447606086731, -0.08671189844608307, 0.06498700380325317, -0.4483610689640045, -0.41151928901672363, 0.24307791888713837, -0.17313902080059052, 0.014655377715826035, -0.6847904324531555, 0.0620606504380703, -0.15912681818008423, 0.8063028454780579, -0.13093650341033936, 0.3432410657405853, 0.13610219955444336, -0.1343909353017807, 0.15173713862895966, 0.09473526477813721, 0.7085726857185364, 0.6468005776405334, 0.20344966650009155, 0.20904435217380524, 0.36661961674690247, -0.309863805770874, -0.044941287487745285, -0.08984006196260452, -0.00969136506319046, -0.11038237065076828, 0.5099685788154602, 1.1196234226226807, 0.21186040341854095, -0.6432496309280396, 0.050412435084581375, 0.07640726119279861, -0.22252924740314484, 0.06277284771203995, 0.2386535257101059, 0.3005984127521515, 0.6359000205993652, 0.3459455668926239, -0.2311142235994339, 0.19608555734157562, -0.355612576007843, -0.07860603928565979, 0.42284145951271057, 0.1393807828426361, -0.033241644501686096, 0.6085013747215271, -0.1359599381685257, -0.3658634126186371, 0.5586965084075928, 0.3216591477394104, -0.6302444338798523, 0.6620129942893982, 0.7152471542358398, 0.8801320195198059, -0.31292304396629333, -0.23160536587238312, 0.3998837172985077, 0.5247378945350647, -0.5308763980865479, -0.030431978404521942, -0.25880321860313416, -0.6484496593475342, -0.7003963589668274, -0.7212270498275757, -0.44078701734542847, -0.03130650147795677, -0.4755929708480835, 0.14545650780200958, -0.2693510353565216, -0.22629833221435547, 0.025699693709611893, -0.07783636450767517, -0.5651216506958008, 0.035665955394506454, 0.14178383350372314, 1.1813609600067139, -0.5931774973869324, 0.697918713092804, 0.3759979009628296, -0.05607471987605095, -0.9851261377334595, -0.15240637958049774, -0.15256823599338531, -0.7961124181747437, 0.7459881901741028, 0.09889703243970871, -0.19525566697120667, 0.23103660345077515, -0.6038363575935364, -1.0276004076004028, 0.7830157279968262, 0.5903407335281372, -0.7053878307342529, -0.12987878918647766, 0.1038709282875061, 0.502149760723114, -0.2827203571796417, 0.15497085452079773, 0.9184774160385132, 0.46940454840660095, 0.12469691038131714, -0.5346692204475403, -0.015050962567329407, -0.10118285566568375, 0.30053475499153137, 0.4848596155643463, -0.7657977342605591, 0.7568506598472595, -0.09816247969865799, -0.3430628776550293, 0.3148576021194458, 0.7940184473991394, 0.08187086880207062, -0.07377519458532333, 0.7224493026733398, 0.6878571510314941, 0.7160050868988037, -0.023986751213669777, 1.27083158493042, -0.4811267852783203, 0.5210661888122559, 0.8616413474082947, -0.14157453179359436, 0.7345291376113892, 0.7367268800735474, -0.14826740324497223, 0.24099239706993103, 0.6642887592315674, 0.08688682317733765, 0.29026713967323303, 0.44559821486473083, -0.2122933566570282, -0.29978105425834656, -0.13782086968421936, -0.11402103304862976, 0.4358316957950592, 0.2595701515674591, -0.4322942793369293, 0.019718479365110397, -0.19904015958309174, 0.07389989495277405, -0.331646203994751, -0.23979860544204712, 0.7440550923347473, 0.014791393652558327, -0.788188636302948, 0.4930654466152191, -0.08060576766729355, 0.40890806913375854, -0.5245674848556519, 0.09272249042987823, -0.4322362244129181, 0.2701662480831146, 0.01611807383596897, -0.35124149918556213, 0.12666936218738556, -0.007038394920527935, -0.037110403180122375, -0.1982051432132721, 0.6880413889884949, -0.2054097205400467, -0.5119880437850952, 0.35246849060058594, 0.49036023020744324, 0.3582402467727661, 0.14299629628658295, -0.43260619044303894, 0.2984917163848877, -0.09143926948308945, -0.766899824142456, 0.11592552810907364, 0.18298238515853882, 0.012826609425246716, 0.652313768863678, 0.8496608734130859, 0.3010523319244385, 0.250266969203949, 0.3139883279800415, 1.0230616331100464, -0.5129678845405579, -0.3340757191181183, -1.0275295972824097, 0.39427807927131653, -0.14717313647270203, -0.11748725920915604, 0.7005585432052612, 0.5354077219963074, 0.7838167548179626, 0.022064384073019028, 0.4763338565826416, 0.07723777741193771, 0.2275654822587967, -0.8552237749099731, 0.2784184515476227, -0.74086594581604, 0.4562820792198181, -0.2285115271806717, -1.1685832738876343, -0.422702431678772, 0.5537667870521545, -0.0684199333190918, -0.005205735098570585, 0.673040509223938, 0.9570959210395813, -0.13279306888580322, 0.04458286240696907, 0.3181363344192505, 0.3667026460170746, 0.43187639117240906, 0.38883426785469055, 0.87632817029953, -0.4542234539985657, 0.30691632628440857, -0.2583119869232178, -0.08463563024997711, 0.03705081716179848, -0.9923083782196045, -0.7926951050758362, -0.22485026717185974, -0.26943299174308777, -0.3465460240840912, -0.08308452367782593, 0.8083258271217346, 0.7992343306541443, -0.5408470034599304, -0.22247155010700226, -0.08928392827510834, 0.09679070860147476, -0.28167402744293213, -0.19658923149108887, 0.4967316687107086, -0.39266809821128845, -1.1917189359664917, 0.45171764492988586, 0.40268126130104065, -0.006323869805783033, -0.4533747434616089, 0.19252437353134155, -0.2057509422302246, 0.3963472843170166, 0.6718270182609558, 0.12743641436100006, -0.7283200025558472, -0.19776608049869537, -0.1351080685853958, 0.12305759638547897, 0.1125093325972557, 1.0602288246154785, -0.632196307182312, 0.026918955147266388, 0.588191568851471, 1.0908929109573364, 0.7392804026603699, 0.17372801899909973, 0.4198067784309387, -0.6637923121452332, 0.5175639390945435, -0.05594687536358833, 0.5248304605484009, 0.40763968229293823, -0.44752174615859985, 0.7976371645927429, 0.21164368093013763, -0.6815314888954163, -1.0426040887832642, 0.19354422390460968, -0.8442344665527344, -0.4180090129375458, 1.169480562210083, 0.022901207208633423, -0.5938369035720825, 0.1823624074459076, -0.2717176079750061, 0.2553882598876953, -0.1510366052389145, 0.6553574800491333, 0.6595972180366516, -0.3324163556098938, -0.42146381735801697, -0.6403318047523499, 0.23897849023342133, 0.7709920406341553, -0.873201310634613, 0.17876768112182617, 0.4023555517196655, 0.0071811252273619175, 0.3016107976436615, 0.29801979660987854, 0.11023776233196259, 0.015576285310089588, 0.30116596817970276, -0.08105725049972534, -0.06633657962083817, -0.48018407821655273, -0.4465318024158478, 0.25689634680747986, -0.05064151808619499, 0.06223573908209801 ]
http://arxiv.org/abs/2404.02269v1
http://arxiv.org/pdf/2404.02269v1
Extracting Norms from Contracts Via ChatGPT: Opportunities and Challenges
2024-04-02T19:49:34
2024-04-02T19:49:34
Amanul Haque, Munindar P. Singh
cs.CL
cs.CL, cs.AI
We investigate the effectiveness of ChatGPT in extracting norms from contracts. Norms provide a natural way to engineer multiagent systems by capturing how to govern the interactions between two or more autonomous parties. We extract norms of commitment, prohibition, authorization, and power, along with associated norm elements (the parties involved, antecedents, and consequents) from contracts. Our investigation reveals ChatGPT's effectiveness and limitations in norm extraction from contracts. ChatGPT demonstrates promising performance in norm extraction without requiring training or fine-tuning, thus obviating the need for annotated data, which is not generally available in this domain. However, we found some limitations of ChatGPT in extracting these norms that lead to incorrect norm extractions. The limitations include oversight of crucial details, hallucination, incorrect parsing of conjunctions, and empty norm elements. Enhanced norm extraction from contracts can foster the development of more transparent and trustworthy formal agent interaction specifications, thereby contributing to the improvement of multiagent systems.
[ -0.3824232518672943, -0.6434423327445984, 0.3742503821849823, 0.17597165703773499, -0.22264590859413147, -0.0918785110116005, -0.09048769623041153, -0.804841160774231, -0.13585646450519562, 0.5954234004020691, -0.2565705180168152, -0.2036755084991455, -0.8995742201805115, -0.15049679577350616, 0.03785828500986099, 1.1939926147460938, 0.1919310837984085, -0.35284918546676636, -0.0009166082018055022, 0.1084229126572609, -0.6166731715202332, -0.5267226099967957, -0.4904603660106659, -0.3458263576030731, 0.042943451553583145, 0.4647153317928314, 0.785287618637085, 0.5662866830825806, 0.5494334101676941, 0.26612141728401184, 0.1639697551727295, 0.3663827180862427, -0.29936376214027405, 0.07926606386899948, 0.3539898097515106, 0.07512577623128891, -0.788565993309021, 0.7641901969909668, 0.6784884929656982, 0.09027104824781418, -0.2834782302379608, -0.06463853269815445, 0.15515293180942535, 0.485750287771225, -0.503944456577301, 0.8929499387741089, -0.7660589814186096, -0.058258332312107086, -0.1092095747590065, -0.2748948335647583, -0.402517169713974, -0.3133985698223114, 0.209748312830925, -0.7537000179290771, -0.12522786855697632, -0.0782260075211525, 1.3848788738250732, 0.2367536574602127, -0.5839957594871521, -0.6404247283935547, -0.5492163300514221, 0.40957602858543396, -0.5476352572441101, 0.6800436973571777, 0.33477455377578735, 0.40490326285362244, -0.09316464513540268, -0.9238060712814331, -0.2504512071609497, -0.6089833378791809, -0.22414541244506836, 0.5158807039260864, -0.27345579862594604, 0.31302690505981445, 0.37283650040626526, 0.20935460925102234, -0.23670797049999237, -0.17414988577365875, -0.5940946936607361, -0.3737015128135681, 0.7992506623268127, -0.10925004631280899, 0.0918552428483963, -0.37416964769363403, -0.5857021808624268, 0.18864808976650238, -0.4810636043548584, 0.3671596348285675, 0.7417232394218445, 0.3560121953487396, -0.0725536122918129, 0.6755966544151306, 0.16391237080097198, 0.13700850307941437, -0.0959944799542427, 0.04784345254302025, 0.2888354957103729, -0.3558133840560913, -0.1344563066959381, -0.3503125011920929, 0.7331424355506897, 0.3334173560142517, 0.47689318656921387, -0.46539437770843506, -0.28398653864860535, -0.31174564361572266, 0.2237759530544281, -0.552202582359314, -0.3907814919948578, 0.13709861040115356, -0.4018426835536957, -0.2921285331249237, 0.4790399968624115, -0.9016166925430298, -0.3362452983856201, -0.5222412943840027, 0.3261032700538635, -0.6357844471931458, -0.5102636814117432, 0.01532203983515501, -0.6051124930381775, 0.984008252620697, 0.2191706895828247, -0.6109374165534973, 0.5662901401519775, 0.8934333920478821, 0.8951842784881592, 0.060929976403713226, -0.0343402661383152, -0.660709023475647, -0.24303635954856873, -0.003414014121517539, 0.5552902221679688, -0.537378191947937, -0.45115986466407776, -0.2129453420639038, -0.11277136206626892, -0.29677915573120117, -0.24803723394870758, 0.19579626619815826, -0.5590546727180481, -0.4265274107456207, 0.14326871931552887, -0.6113486289978027, 0.4123227894306183, 0.5293349623680115, -0.6501427292823792, 0.7866266369819641, -0.07877042144536972, -0.3174038827419281, 0.49942997097969055, -1.0223591327667236, -0.07515045255422592, 0.2491023987531662, -0.42328834533691406, -0.6393206715583801, -0.20582962036132812, 0.03629615902900696, 0.3279935121536255, -0.009487943723797798, -0.04147316515445709, -0.046942126005887985, -0.05292897671461105, 0.6420891880989075, -0.43671220541000366, 1.0456393957138062, 0.598737359046936, -0.030359821394085884, -0.032153163105249405, -0.5861545205116272, -0.12234410643577576, 0.0756552517414093, -0.4033028781414032, 0.09502363204956055, 0.049993425607681274, 0.07609342783689499, 0.28654944896698, 0.32864680886268616, -0.6999534964561462, 0.24513943493366241, -0.05697130039334297, 0.504086971282959, 1.0101858377456665, 0.3922725319862366, 0.4474763870239258, -0.40353530645370483, 0.5283706188201904, -0.27276846766471863, 0.40619751811027527, 0.3748929798603058, -0.4595972001552582, -0.1529078185558319, -0.797175943851471, 0.3224666118621826, 0.4707357883453369, -0.35105594992637634, 0.11187513917684555, -0.07206398993730545, -0.6520241498947144, -0.4435981214046478, 0.028058065101504326, 0.18053141236305237, -0.03883619233965874, 0.006158188916742802, -0.35873308777809143, -0.5662904381752014, -0.6962664723396301, -0.22189848124980927, -0.33166706562042236, 0.31605997681617737, 0.4156505763530731, 0.3551434278488159, 0.060366034507751465, 1.1810396909713745, -0.4429301917552948, -0.4229848086833954, -0.053739648312330246, 0.0336303673684597, 0.026083165779709816, 0.7196388244628906, 0.29183706641197205, -1.0470761060714722, -0.4372473955154419, 0.292510986328125, -0.5037339925765991, 0.15468043088912964, -0.2552836537361145, 0.055841319262981415, -0.27244916558265686, 0.9270841479301453, -0.5071557760238647, 0.34812983870506287, 0.25710952281951904, -0.48285624384880066, 1.0819525718688965, -0.22851206362247467, 0.10819193720817566, -0.6575847864151001, 0.0015356754884123802, -0.2017282396554947, -0.6018059849739075, -0.5434170961380005, 0.08204531669616699, 0.15914767980575562, -0.17668627202510834, -0.27750110626220703, 0.07371117174625397, -0.6458606719970703, 0.010832891799509525, 0.04302963614463806, 0.129354327917099, -0.056286849081516266, 0.33069998025894165, -0.09148695319890976, 0.9213535785675049, 0.46152248978614807, -0.6053647398948669, 0.32708755135536194, 0.41586458683013916, 0.10325183719396591, 0.773849368095398, -0.7164681553840637, 0.31150856614112854, -0.03455700725317001, -0.23268398642539978, -0.6533435583114624, 0.04991902783513069, 0.45594796538352966, -0.5792913436889648, 0.20631790161132812, -0.8522962331771851, -0.21837688982486725, 0.3587203919887543, -0.23822659254074097, 0.006890831049531698, 0.7008238434791565, -0.040337592363357544, 0.4202839732170105, 0.838714599609375, 0.21859753131866455, -0.7430088520050049, -0.14686793088912964, 0.18175026774406433, -0.29534977674484253, -0.18415586650371552, -0.25283440947532654, 0.20149795711040497, -0.4590720534324646, -0.0016413842095062137, -0.23020599782466888, -0.3764447569847107, 0.3839969336986542, 0.6233417987823486, 0.10905464738607407, 0.06847237795591354, 0.06222419813275337, -0.3047502636909485, -0.3512008786201477, 0.20492777228355408, -0.2453305572271347, 0.30619099736213684, -0.5407143235206604, -0.3668813407421112, -0.16532741487026215, 0.41554415225982666, 0.6336730718612671, -0.5707769393920898, 0.3767622411251068, 0.8488864302635193, -0.28103509545326233, 0.15230010449886322, -0.422074556350708, -0.06822080910205841, -0.40665552020072937, 0.1740662008523941, -0.7248349785804749, -0.8488609194755554, 0.5089523196220398, -0.31012651324272156, 0.48761969804763794, 0.5173873901367188, 0.2710442543029785, 0.03862624987959862, 0.5866694450378418, 0.7993660569190979, 0.33423227071762085, 0.7421912550926208, -0.1078786551952362, -0.0567627027630806, -0.8393524885177612, -0.3795754015445709, -0.7011325359344482, 0.3860968351364136, -0.7978533506393433, -0.00017824153474066406, 0.6086980104446411, -0.20836199820041656, 0.20804883539676666, 0.5545979738235474, -0.30120450258255005, 0.42090141773223877, 0.5176169276237488, 0.33360838890075684, 0.4853460490703583, -0.29046541452407837, 0.16766242682933807, 0.1850220113992691, -0.4062764346599579, -0.6216097474098206, 0.8623774647712708, 0.40714511275291443, 0.4161163568496704, 0.3884134888648987, 0.8313474059104919, 0.5001016855239868, -0.01676337420940399, -1.0793720483779907, 0.33523958921432495, 0.34488940238952637, -0.7137465476989746, -0.6698364019393921, -0.5460563898086548, -1.4281195402145386, 0.25077134370803833, -0.2657228112220764, -1.031265377998352, 0.4640617072582245, -0.17476074397563934, -0.2658501863479614, -0.023045942187309265, -0.8128083348274231, 0.8936744332313538, 0.5209845900535583, -0.03080238774418831, 0.025302693247795105, -0.812464714050293, 0.11431488394737244, 0.06652147322893143, 0.2861078679561615, -0.444000780582428, 0.06244182586669922, 0.75790935754776, -0.476025253534317, 0.8883339166641235, -0.14827652275562286, -0.22009100019931793, 0.5347740054130554, 0.18615153431892395, 0.6270837187767029, 0.5829405188560486, -0.15119414031505585, 0.07794996351003647, 0.40252283215522766, -0.44252485036849976, -0.25117799639701843, 0.14070148766040802, -0.9944210648536682, -0.20443548262119293, -0.5233123302459717, -0.8741873502731323, -0.24684451520442963, 0.18301254510879517, 0.08238232135772705, 0.4262121915817261, -0.4203556776046753, -0.03846871107816696, 0.20366038382053375, 0.4701772630214691, 0.52547687292099, 0.25504258275032043, 0.22382168471813202, -0.10792829841375351, 0.9202423095703125, 0.35152506828308105, 0.4350622892379761, -0.28488847613334656, 0.05672246590256691, -0.3008870780467987, -0.5719302296638489, -0.0589611642062664, -0.08806005865335464, -0.5917927622795105, -0.13722582161426544, -0.5868383646011353, -0.44258707761764526, -0.8073406219482422, 0.0519673228263855, -0.6203923225402832, -0.39849257469177246, 0.12644457817077637, 0.07799101620912552, 0.30139225721359253, 0.7015813589096069, -0.7772261500358582, 0.10074373334646225, -0.8775309324264526, 0.09302058070898056, 0.6386691331863403, 0.2836865484714508, -0.6760660409927368, -0.041065577417612076, -0.1779221147298813, -0.22326450049877167, -0.19980506598949432, -1.0952914953231812, 0.24191749095916748, 0.25232353806495667, 0.6403092741966248, 0.23833723366260529, 0.24956060945987701, 0.6221067309379578, -0.3724368214607239, 0.6504530906677246, -0.06275114417076111, -1.1459797620773315, 0.1860121637582779, -0.3648192286491394, -0.13191883265972137, 0.33778998255729675, -0.0737900510430336, -0.6723311543464661, -0.5756381154060364, -1.1381100416183472, -0.7130540013313293, 0.5816757678985596, 0.8163213729858398, -0.09702973812818527, 0.09506045281887054, 0.577755331993103, 0.13837654888629913, 0.13252541422843933, -0.6891767978668213, 0.016773110255599022, -0.11240625381469727, 0.3081827461719513, 0.06181919202208519, -0.215076744556427, -0.29995742440223694, 0.3358854055404663, 0.6921538710594177, -0.013353269547224045, 0.49245619773864746, 0.4823797643184662, -0.3188041150569916, 0.23600052297115326, 0.5762743353843689, 0.2849084138870239, 0.8128941059112549, -0.21908631920814514, 0.34193041920661926, 0.15860100090503693, -0.7490084767341614, 0.06769537180662155, 0.4676647484302521, 0.06742250174283981, -0.19294743239879608, 0.2982313930988312, 0.24934521317481995, -0.34158939123153687, -0.3812602460384369, 0.65264892578125, -0.1738896667957306, -0.34071439504623413, -0.5296708345413208, -0.20216743648052216, -0.5313728451728821, 0.7749682068824768, 0.12346170842647552, 0.15033107995986938, 0.23546119034290314, -0.100216343998909, 0.6506392955780029, 0.6917952299118042, -0.8964595794677734, -0.1773413121700287, 0.25628232955932617, -0.13930697739124298, -0.042376305907964706, 0.47372159361839294, -0.4020592272281647, -0.16764843463897705, 0.7701000571250916, 0.3842940032482147, 0.5974428057670593, 0.15686744451522827, 0.4448995590209961, 0.07885295152664185, 0.7717846035957336, 0.2985515296459198, -0.013757397420704365, -0.06727607548236847, -0.9480956196784973, -0.5567952990531921, 0.007901369594037533, -0.5589262843132019, -0.20727339386940002, -0.6728674173355103, 0.09862112998962402, -0.3405064344406128, -0.21528996527194977, 0.09781130403280258, 0.22759635746479034, -0.7842802405357361, -0.4378413259983063, -0.0176564808934927, 0.46017301082611084, -0.8033703565597534, 0.6942968368530273, 0.6545342803001404, -0.6526541709899902, -0.9750956892967224, -0.27454641461372375, 0.18893006443977356, -0.8616719841957092, 0.16054512560367584, -0.19420352578163147, -0.0651060938835144, 0.21111246943473816, -0.7201533913612366, -0.33391958475112915, 0.9646844267845154, 0.4583972096443176, -0.020631173625588417, 0.109084852039814, 0.048409946262836456, 0.013957519084215164, 0.056423529982566833, 0.21112893521785736, 0.8158602118492126, 0.6757919788360596, -0.060992222279310226, -1.1657629013061523, 0.2524569034576416, -0.2255062758922577, -0.5768396258354187, 0.23010657727718353, -0.589440107345581, 0.7779268622398376, 0.1334117352962494, -0.3434416651725769, -0.2274388074874878, 0.5109840035438538, -0.026991434395313263, 0.0963275134563446, 0.7423999905586243, -0.0513385571539402, 0.7809090614318848, 0.06479974836111069, 0.657609224319458, 0.19877056777477264, 0.7744048237800598, 0.5257109999656677, -0.11227717995643616, 0.2493758648633957, 0.7989979386329651, -0.010512864217162132, 0.013004432432353497, 0.4755421578884125, 0.07582873106002808, 0.12859021127223969, 0.028447337448596954, -0.07105494290590286, -0.4888715147972107, -0.23619869351387024, -0.33347344398498535, 0.7337466478347778, 0.358449786901474, 0.36058974266052246, -0.40426111221313477, -0.30345600843429565, 0.26384127140045166, -0.21144819259643555, 0.003350765211507678, 1.2622679471969604, 0.2051118165254593, -0.24058878421783447, -0.0722336396574974, -0.2086065262556076, 0.1055217906832695, -0.5540236234664917, -0.45523521304130554, 0.21910376846790314, 0.053225334733724594, -0.21858932077884674, -0.6134918928146362, 0.415735125541687, -0.1720046103000641, 0.377547949552536, -0.43743693828582764, 0.9973689913749695, -0.2811964154243469, 0.09006348997354507, -0.15333718061447144, 0.9069064855575562, 0.46045514941215515, -0.25349876284599304, -0.7465654611587524, -0.10040764510631561, -0.28600966930389404, -0.24022337794303894, 0.11888109892606735, 0.8367739915847778, 0.18546351790428162, 0.19897912442684174, 0.6629551649093628, 0.2809188663959503, 0.07037054747343063, -0.4621872901916504, 0.7910813689231873, -0.28918737173080444, -0.42844241857528687, -0.9613763689994812, 0.6182796359062195, -0.45108869671821594, -0.2435676008462906, 0.6923823356628418, 0.4105166494846344, 0.3397323191165924, 0.022555500268936157, 0.7681542038917542, -0.455279678106308, -0.28016653656959534, -0.7028684616088867, 0.6542328000068665, -0.07464637607336044, 0.11681640148162842, -0.2430979311466217, -0.6630789041519165, -0.42299923300743103, 0.44906774163246155, -0.18777959048748016, -0.3225596845149994, 0.5872916579246521, 0.7115871906280518, -0.22191645205020905, -0.1734636276960373, 0.4338930547237396, -0.12527960538864136, 0.9136331677436829, 0.3176138699054718, 0.7872235178947449, -0.4920855164527893, 0.9816374182701111, 0.042532939463853836, -0.5041764974594116, -0.06347795575857162, -0.8677231073379517, -0.7664650082588196, -0.7713095545768738, -0.4029024541378021, -0.5265259742736816, 0.09272661060094833, 1.248679518699646, 0.9248353242874146, -0.45396000146865845, -0.411847323179245, -0.008502024225890636, 0.32552167773246765, -0.713871955871582, -0.2502502202987671, 0.28922736644744873, -0.9550338387489319, -0.6116393208503723, 0.3647279143333435, 0.11147721856832504, 0.10259673744440079, 0.2691461741924286, -0.34381023049354553, -0.24180032312870026, 0.1410902440547943, 0.3444642424583435, 0.5053139925003052, -0.11304203420877457, -0.8046813011169434, -0.16623757779598236, -0.30207040905952454, 0.19707797467708588, 1.0190308094024658, -0.11129021644592285, 0.34667032957077026, 0.27474695444107056, 0.5157861709594727, 0.6718969941139221, -0.1291274130344391, 0.644241988658905, -1.080582857131958, 0.31582745909690857, 0.22743017971515656, 0.26141035556793213, -0.31459420919418335, -0.4162343144416809, 0.6667408347129822, 0.22258591651916504, -0.7212973237037659, -0.44717496633529663, 0.49454227089881897, -1.2224408388137817, 0.019651811569929123, 1.1583768129348755, -0.34460005164146423, 0.13443079590797424, -0.8447437882423401, -0.5241498351097107, 0.5902541875839233, -0.4915006756782532, 0.47011446952819824, 0.6597315073013306, -0.19720758497714996, -0.33017948269844055, -0.8843941688537598, 0.8553599119186401, 0.022161446511745453, -0.7787163853645325, 0.16251417994499207, 0.5671436786651611, -0.005675426218658686, 0.12018493562936783, 0.9111215472221375, -0.5974132418632507, 0.26033148169517517, 0.2899915874004364, 0.12918289005756378, -0.44462624192237854, -0.14620716869831085, -0.15450388193130493, 0.5196529030799866, 0.3988165557384491, -0.5983880758285522 ]
http://arxiv.org/abs/2405.06650v1
http://arxiv.org/pdf/2405.06650v1
Large Language Models as Planning Domain Generators
2024-04-02T19:39:23
2024-04-02T19:39:23
James Oswald, Kavitha Srinivas, Harsha Kokel, Junkyu Lee, Michael Katz, Shirin Sohrabi
cs.CL
cs.CL, cs.AI
Developing domain models is one of the few remaining places that require manual human labor in AI planning. Thus, in order to make planning more accessible, it is desirable to automate the process of domain model generation. To this end, we investigate if large language models (LLMs) can be used to generate planning domain models from simple textual descriptions. Specifically, we introduce a framework for automated evaluation of LLM-generated domains by comparing the sets of plans for domain instances. Finally, we perform an empirical analysis of 7 large language models, including coding and chat models across 9 different planning domains, and under three classes of natural language domain descriptions. Our results indicate that LLMs, particularly those with high parameter counts, exhibit a moderate level of proficiency in generating correct planning domains from natural language descriptions. Our code is available at https://github.com/IBM/NL2PDDL.
[ -0.4266638159751892, -0.8376546502113342, 0.7950209975242615, 0.3825184106826782, 0.008164787665009499, -0.17922180891036987, -0.5366743206977844, -0.47662147879600525, 0.06347116827964783, 0.9187321066856384, -0.5691013932228088, -0.2920532822608948, -0.40672892332077026, 0.18411879241466522, -0.46661999821662903, 0.6418208479881287, -0.20101258158683777, -0.039514120668172836, -0.41357406973838806, 0.31734487414360046, -0.5695257782936096, -0.510168194770813, -0.7474907040596008, -0.49474114179611206, 0.17987723648548126, 0.2605918049812317, 0.7145593762397766, 0.5694475769996643, 0.44468241930007935, 0.3123645484447479, 0.24433915317058563, 0.3689918518066406, -0.3432515561580658, 0.1603938490152359, -0.023367149755358696, -0.10078660398721695, -0.738987147808075, -0.1033429428935051, 0.7054698467254639, 0.9877350926399231, -0.10811101645231247, 0.15678337216377258, -0.10883999615907669, 0.4816565215587616, -0.42052438855171204, 0.47063344717025757, -0.9353669881820679, -0.10937110334634781, 0.08697126060724258, -0.32053816318511963, -0.5174362659454346, -0.11257763206958771, 0.37483295798301697, -0.3183012008666992, 0.09003708511590958, 0.1573624461889267, 0.6770990490913391, 0.07212812453508377, -0.3349320590496063, -0.5179240107536316, -1.0710408687591553, 0.914238452911377, -0.9378324747085571, 0.14960268139839172, 0.5931060910224915, 0.47822073101997375, -0.41483283042907715, -0.6575528383255005, -0.7744734883308411, -0.4492443799972534, -0.17409926652908325, -0.20220011472702026, -0.19111673533916473, 0.028821751475334167, 0.47724220156669617, 0.047484949231147766, -0.6229943633079529, 0.3526323139667511, -0.40279364585876465, -0.026663238182663918, 1.09804368019104, 0.48327022790908813, 0.3998439908027649, -0.18489712476730347, -0.18576443195343018, 0.26496341824531555, -0.8999525904655457, -0.31137892603874207, 0.39533329010009766, 0.40923774242401123, -0.02455919235944748, 0.836097240447998, -0.2645847201347351, 0.748683512210846, -0.4547666907310486, -0.2276960015296936, -0.3769969344139099, -0.29871150851249695, -0.5792427659034729, -0.24346253275871277, 0.6553385257720947, 0.46246153116226196, 0.7210991978645325, -0.1917686015367508, -0.4760074019432068, -0.01646655797958374, 0.4658656120300293, -0.8469028472900391, -0.26577839255332947, 0.28252753615379333, -0.42503058910369873, -0.18429268896579742, -0.3575581908226013, -0.530778169631958, -0.18785685300827026, -0.5191423892974854, 0.0108480928465724, -0.35853826999664307, -0.2197023332118988, 0.32348549365997314, 0.11497443169355392, 0.36465984582901, 0.3724362552165985, -0.8153237700462341, 0.5343686938285828, 0.8190399408340454, 0.38728341460227966, -0.256123423576355, -0.5681085586547852, -0.33960941433906555, 0.22271840274333954, -0.6435563564300537, 0.8663027286529541, -0.3587179481983185, -0.6118580102920532, 0.5852063894271851, -0.30678749084472656, 0.07646068930625916, -0.6971220970153809, 0.3505900800228119, -0.6665411591529846, 0.023441771045327187, 0.1996266394853592, -0.7642436623573303, 0.01876641809940338, 0.2732641398906708, -0.765935480594635, 0.6966552734375, -0.04627816006541252, -0.15555666387081146, 0.44125792384147644, -0.6638128757476807, -0.6616583466529846, 0.3301011323928833, -0.2499183714389801, -0.34180718660354614, -0.12692326307296753, 0.052574485540390015, 0.7497132420539856, -0.6730687022209167, 0.5436124801635742, -0.02006307616829872, 0.14235226809978485, 0.4947763979434967, -0.19931353628635406, 0.6753829717636108, 0.1931856870651245, -0.29300588369369507, 0.11482511460781097, -0.6136277318000793, 0.43068626523017883, 0.28642189502716064, -0.4688703119754791, -0.012252310290932655, 0.3494444191455841, 0.11337587237358093, 0.12385870516300201, 0.27666500210762024, -0.0024297861382365227, 0.4321262836456299, -0.34020349383354187, 0.3233722746372223, 0.4923863410949707, 0.0845554769039154, 0.575043261051178, -0.2801421582698822, 0.6033126711845398, -0.5273976922035217, -0.17763474583625793, -0.20863454043865204, -0.5726748108863831, -0.7701610922813416, -0.1449325531721115, 0.2413291186094284, 0.19264979660511017, -0.7384570240974426, 0.5208536982536316, -0.42905521392822266, -0.416086345911026, 0.030636858195066452, 0.05479668080806732, 0.36395063996315, 0.024874873459339142, 0.040216561406850815, -0.16897433996200562, -0.5635233521461487, -0.8353947401046753, -0.09139297902584076, -0.2764919400215149, -0.07362007349729538, 0.3211539089679718, 0.5525762438774109, -0.3237566351890564, 1.038150668144226, -0.5866614580154419, -0.16665810346603394, -0.7131699919700623, 0.06858798861503601, -0.135645791888237, 0.04936846345663071, 0.6569356322288513, -0.669442355632782, -0.5680202841758728, -0.0727066844701767, -0.6529379487037659, -0.10940910130739212, -0.32715457677841187, -0.19148676097393036, 0.30936747789382935, 0.180197611451149, -0.9127964377403259, 0.45288124680519104, 0.28226161003112793, -0.14929480850696564, 0.7551358938217163, -0.14688614010810852, -0.26214152574539185, -0.9179007411003113, 0.05662759020924568, 0.0640350729227066, -0.20892959833145142, -0.829997718334198, 0.2314823418855667, -0.14895972609519958, -0.3376857042312622, -0.29029062390327454, 0.8393129110336304, -0.6646666526794434, -0.4365714490413666, -0.6283261179924011, 0.12535449862480164, -0.10081945359706879, 0.4862731993198395, 0.2887386679649353, 0.6965545415878296, 0.5150224566459656, -0.8629571199417114, 0.21199196577072144, 0.38708069920539856, -0.5674245953559875, 0.14136329293251038, -0.48023054003715515, 0.11025560647249222, 0.22506749629974365, 0.3737872838973999, -0.5765241384506226, -0.642207145690918, -0.23135891556739807, -0.25824376940727234, 0.23628661036491394, -0.29477158188819885, -0.602756679058075, -0.5891548991203308, -0.01572120189666748, 0.04269789159297943, 0.5990384817123413, -0.3679836094379425, 0.5161216259002686, 0.694908082485199, -0.483908474445343, -0.12636393308639526, -0.5536807179450989, 0.21724459528923035, -0.014522873796522617, -0.6722064018249512, 0.24593421816825867, -0.0396367609500885, -0.5145847797393799, -0.15064233541488647, 0.30148619413375854, -0.33341261744499207, 0.05409581959247589, 0.26708313822746277, 0.384743332862854, -0.21177026629447937, 0.009705021977424622, -0.19958950579166412, -0.0374012291431427, 0.3286588191986084, -0.4000651240348816, 0.8568000197410583, 0.23118872940540314, -0.29609057307243347, -0.3215535879135132, 0.4477866291999817, 0.49276962876319885, -0.4110855758190155, 0.4620773196220398, -0.023563791066408157, -0.7135529518127441, -0.5534507036209106, -0.2921511232852936, 0.16530047357082367, -0.44492584466934204, 0.3710411489009857, -0.38984811305999756, -0.5887933969497681, 0.3459591865539551, -0.24990981817245483, 0.3055609464645386, 0.6400765776634216, 0.8662098050117493, 0.2003876268863678, 1.1231070756912231, 0.986270546913147, 0.09693221002817154, -0.016086868941783905, -0.35784754157066345, 0.2920082211494446, -0.5019060373306274, 0.03648799657821655, -0.6272507309913635, -0.09691594541072845, -0.3566710948944092, -0.5350127220153809, 0.026540284976363182, -0.056469522416591644, -0.11137834191322327, 0.33853843808174133, -0.2551867365837097, 0.57138592004776, 0.288565456867218, -0.6915154457092285, 0.17386454343795776, 0.20296621322631836, 0.1225023940205574, 0.07703419029712677, -0.5284469723701477, -1.1689984798431396, 1.1662170886993408, 0.31343796849250793, 0.718166172504425, -0.032354697585105896, 0.5410074591636658, 0.38163667917251587, 0.3138783276081085, -0.9022672772407532, 0.8293789625167847, -0.15908464789390564, -0.5302855968475342, -0.5444233417510986, -0.35573524236679077, -0.9840922355651855, -0.13165521621704102, -0.32658112049102783, -0.4887217879295349, -0.02221045270562172, -0.048662155866622925, -0.37755998969078064, 0.2544436454772949, -0.5680163502693176, 0.6237471699714661, -0.46894729137420654, 0.13812124729156494, -0.3253253698348999, -0.16474492847919464, 0.36593329906463623, -0.4599357545375824, 0.0763586163520813, -0.31430357694625854, 0.15610115230083466, 0.7366911768913269, -0.47700682282447815, 0.7646864056587219, -0.12718872725963593, -0.28681981563568115, 0.5360910892486572, 0.29950758814811707, 0.56266850233078, -0.15867607295513153, -0.34757575392723083, 0.06426098197698593, -0.3437338173389435, -0.29872944951057434, -0.3125450015068054, 0.6722598075866699, -0.7661464214324951, -0.37040960788726807, 0.015916183590888977, -0.5606063604354858, -0.31065890192985535, 0.37980592250823975, 0.02918804995715618, 0.4649122655391693, -0.6266717314720154, -0.2194243222475052, 0.21668457984924316, -0.5449513792991638, 0.4448966085910797, 0.4686073660850525, -0.6532881259918213, -0.055711664259433746, 0.7106117606163025, 0.06732620298862457, 0.4248603880405426, 0.16285286843776703, -0.11476533859968185, -0.11175825446844101, -0.7749704718589783, -0.5128194689750671, 0.21218588948249817, -0.5626106858253479, -0.31225427985191345, -0.6199213266372681, -0.4927697479724884, -0.5004525780677795, -0.30510184168815613, -0.28939127922058105, -0.47641104459762573, 0.16582432389259338, -0.02729691006243229, 0.050595611333847046, 1.1865859031677246, 0.3617280125617981, 0.5100387334823608, -0.5632821917533875, 0.34592071175575256, 0.36877456307411194, 0.153016597032547, 0.008920285850763321, -0.10134731233119965, -0.3306000232696533, 0.19856394827365875, -0.3088885247707367, -0.5330109596252441, 0.8800697922706604, 0.23251667618751526, 0.49953094124794006, 0.18552808463573456, -0.0017582717118784785, 0.5789464116096497, -0.9283530712127686, 0.9229063987731934, -0.021998295560479164, -0.6687521934509277, 0.5408270359039307, -0.24952124059200287, 0.11818678677082062, 0.1538543999195099, 0.5476019382476807, -0.22860018908977509, -0.39834463596343994, -0.6496811509132385, -0.7982751727104187, 0.6394613981246948, 0.22678549587726593, 0.40590909123420715, -0.14881202578544617, 0.29625454545021057, 0.21963340044021606, 0.1836729496717453, -0.6264225244522095, -0.1797499805688858, 0.3410983979701996, 0.13077811896800995, 0.0473516620695591, -0.5668029189109802, -0.22608770430088043, 0.22447749972343445, 0.6238795518875122, -0.19809763133525848, 0.6889380216598511, -0.2825031876564026, -0.1526515781879425, -0.46188098192214966, 0.17225851118564606, 0.6891453862190247, 1.0581483840942383, 0.0738762840628624, 0.09898896515369415, 0.13594888150691986, -0.1747671365737915, -0.20164282619953156, 0.06198553740978241, -0.048669010400772095, -0.025612303987145424, 0.6111996173858643, 0.705897867679596, 0.025662627071142197, -0.8687857985496521, 0.4238937795162201, -0.20190493762493134, -0.4366174340248108, -0.6275639533996582, 0.03679807484149933, 0.13722962141036987, 0.15012988448143005, 0.36975353956222534, -0.14651380479335785, -0.06370359659194946, -0.6121441721916199, 0.16971813142299652, 0.4379312992095947, 0.12311970442533493, -0.3098447322845459, 0.5268890261650085, 0.28853753209114075, -0.62223219871521, 0.8479514718055725, -0.19146069884300232, -0.5717000961303711, 0.7247775197029114, 0.678528904914856, 1.0038392543792725, 0.12224339693784714, 0.06612898409366608, 0.16309699416160583, 0.21930329501628876, 0.1506519615650177, 0.23062404990196228, 0.24646291136741638, -0.7300482392311096, -0.7568901181221008, -0.8311249613761902, -0.5287162661552429, 0.11419524997472763, -0.23452430963516235, 0.473137229681015, -0.41656947135925293, -0.14550602436065674, 0.23996521532535553, 0.07609295845031738, -0.8168489336967468, 0.1567840278148651, 0.34257012605667114, 0.890388011932373, -0.5134255886077881, 0.9362152218818665, 0.7699919939041138, -0.2658160626888275, -0.8226946592330933, 0.26803961396217346, -0.2292618453502655, -0.8273075222969055, 0.9415586590766907, 0.07679228484630585, -0.10062205791473389, -0.16556496918201447, -0.6266546249389648, -0.6119073033332825, 1.0691261291503906, 0.06089043989777565, -0.4882606863975525, -0.2629120349884033, 0.6045100092887878, 0.6825905442237854, -0.7215383648872375, -0.06925080716609955, 0.33310645818710327, 0.4295855164527893, -0.10111987590789795, -1.1377979516983032, -0.17313027381896973, -0.05953224003314972, -0.05239434912800789, 0.19211196899414062, -0.2432650327682495, 0.8332837820053101, -0.21598434448242188, -0.41718927025794983, 0.3697828948497772, 0.6053349375724792, 0.19060824811458588, 0.09298136085271835, 0.3869657516479492, 0.12048441916704178, 0.6005115509033203, 0.07035677134990692, 1.30307137966156, -0.4762108623981476, 0.179033562541008, 1.1098281145095825, -0.7744264006614685, 1.0027896165847778, 0.0249027106910944, -0.21837978065013885, 0.2582181990146637, 0.3605297803878784, 0.18525898456573486, 0.26280656456947327, 0.20323511958122253, -0.02956700511276722, -0.3204866647720337, 0.18683822453022003, -0.06787312030792236, 0.4924205243587494, 0.49050673842430115, -0.2712863087654114, -0.18658605217933655, -0.13738448917865753, -0.0452294759452343, 0.0734773799777031, -0.23731258511543274, 0.7862825989723206, 0.16698046028614044, -0.9109031558036804, 0.5880937576293945, 0.38080886006355286, 0.3144336938858032, -0.5191077589988708, -0.0072465622797608376, -0.06445211917161942, 0.12116388231515884, 0.05323190242052078, -0.9318783283233643, 0.469681978225708, 0.3376152813434601, -0.07326768338680267, -0.575106680393219, 1.0013724565505981, -0.37565359473228455, -0.35914406180381775, 0.2438097894191742, 0.7037564516067505, 0.2281084954738617, 0.022965706884860992, -0.5423065423965454, -0.1028972789645195, -0.06941431015729904, -0.2241867631673813, 0.24160976707935333, 0.5586226582527161, -0.3310830891132355, 0.7266019582748413, 0.6905824542045593, 0.1974516659975052, 0.19724087417125702, 0.03358511999249458, 0.73078453540802, -0.6901752948760986, -0.2888762652873993, -0.733089804649353, 0.37315261363983154, -0.08434818685054779, -0.11575735360383987, 0.5429134964942932, 0.6687458753585815, 0.792503833770752, -0.31243622303009033, 0.9627308249473572, -0.10001971572637558, 0.46037349104881287, -0.6103471517562866, 0.7195075750350952, -0.37185630202293396, 0.4581778347492218, 0.23399320244789124, -1.1433912515640259, -0.2998529374599457, 0.5152615308761597, -0.4841926693916321, -0.0302902739495039, 0.443509966135025, 0.6431976556777954, 0.03442290052771568, -0.22948746383190155, 0.5656260848045349, 0.11993797868490219, 0.5290574431419373, 0.3672085106372833, 1.1110981702804565, 0.0054715415462851524, 0.3720800578594208, -0.021177932620048523, -0.1004895493388176, -0.27421966195106506, -0.8022261261940002, -1.0348410606384277, -0.5603167414665222, -0.2525533437728882, -0.06820216029882431, -0.09968353807926178, 0.8669865131378174, 0.6718622446060181, -0.5011062026023865, -0.7127496600151062, 0.08811607211828232, -0.008467281237244606, 0.22468771040439606, -0.21394817531108856, 0.19178302586078644, -0.5002095699310303, -0.7715632319450378, 0.40501439571380615, 0.29911863803863525, 0.07386117428541183, -0.7009566426277161, -0.3743675947189331, -0.13582436740398407, 0.3620787262916565, 0.8690859079360962, 0.18532532453536987, -0.7202171087265015, -0.1044505387544632, -0.052287422120571136, -0.4302331507205963, -0.3287229537963867, 0.9950385689735413, -0.5393421649932861, 0.06949413567781448, 0.2817268669605255, 0.5629919171333313, 0.43577539920806885, -0.3674534857273102, 0.9551393389701843, -0.7622867822647095, -0.03615912050008774, 0.13382507860660553, 0.5641130208969116, 0.2734062671661377, -0.1392034888267517, 0.6585087180137634, -0.3287566304206848, -0.825421929359436, -0.7493175268173218, 0.44240906834602356, -0.8876042366027832, -0.20901697874069214, 1.4747084379196167, 0.09472456574440002, -0.27248847484588623, 0.04874035716056824, -0.32143205404281616, -0.018860366195440292, 0.016968859359622, 0.7137069702148438, 0.5777757167816162, -0.16362838447093964, 0.37533509731292725, -0.8097060918807983, 0.689929187297821, -0.04198940098285675, -1.0329622030258179, 0.5169277191162109, 0.7176229357719421, 0.043668877333402634, 0.2101040929555893, 0.9919683933258057, 0.11533496528863907, 0.13053104281425476, -0.2004396915435791, 0.36688679456710815, 0.20561370253562927, -0.3817325532436371, 0.10482487082481384, -0.06965593248605728, 0.5398067831993103, 0.38078150153160095 ]
http://arxiv.org/abs/2404.02261v2
http://arxiv.org/pdf/2404.02261v2
LLMs in the Loop: Leveraging Large Language Model Annotations for Active Learning in Low-Resource Languages
2024-04-02T19:34:22
2024-06-23T18:21:01
Nataliia Kholodna, Sahib Julka, Mohammad Khodadadi, Muhammed Nurullah Gumus, Michael Granitzer
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG, I.2.7; I.2.6
Low-resource languages face significant barriers in AI development due to limited linguistic resources and expertise for data labeling, rendering them rare and costly. The scarcity of data and the absence of preexisting tools exacerbate these challenges, especially since these languages may not be adequately represented in various NLP datasets. To address this gap, we propose leveraging the potential of LLMs in the active learning loop for data annotation. Initially, we conduct evaluations to assess inter-annotator agreement and consistency, facilitating the selection of a suitable LLM annotator. The chosen annotator is then integrated into a training loop for a classifier using an active learning paradigm, minimizing the amount of queried data required. Empirical evaluations, notably employing GPT-4-Turbo, demonstrate near-state-of-the-art performance with significantly reduced data requirements, as indicated by estimated potential cost savings of at least 42.45 times compared to human annotation. Our proposed solution shows promising potential to substantially reduce both the monetary and computational costs associated with automation in low-resource settings. By bridging the gap between low-resource languages and AI, this approach fosters broader inclusion and shows the potential to enable automation across diverse linguistic landscapes.
[ -0.27075597643852234, -0.705003023147583, 0.44485458731651306, -0.016945496201515198, -0.2618444263935089, 0.24464884400367737, -0.6328771710395813, -0.5224728584289551, 0.09720154851675034, 0.47059109807014465, -0.24184444546699524, -0.38105157017707825, -0.25086963176727295, 0.2429983913898468, -0.1250062882900238, 0.7640663981437683, -0.3179667294025421, -0.02646685764193535, -0.28173279762268066, -0.22306932508945465, -0.34031835198402405, -0.5203308463096619, -0.589884340763092, -0.43297305703163147, 0.7304399609565735, 0.5058092474937439, 0.713968813419342, 0.9399011135101318, 0.4632783830165863, 0.2650226056575775, -0.028388667851686478, 0.3753674328327179, -0.15749171376228333, 0.3977765142917633, 0.1608688086271286, -0.6414511203765869, -0.5143725872039795, 0.25323644280433655, 0.8270504474639893, 0.8026343584060669, 0.03158481419086456, 0.2303692251443863, -0.06673046201467514, 0.4688941538333893, -0.6269028186798096, 0.3030793070793152, -0.7238935828208923, 0.061186958104372025, -0.4267289340496063, 0.09893530607223511, 0.0033498029224574566, -0.321695476770401, -0.15984158217906952, -0.4587550163269043, -0.1560581922531128, 0.034410521388053894, 0.697625994682312, 0.6321364641189575, 0.02469353936612606, -0.33928173780441284, -0.8189948797225952, 0.7191780209541321, -0.6137403249740601, 0.30162161588668823, 0.6506443023681641, 0.26021742820739746, 0.17701421678066254, -0.6914510726928711, -0.6686227321624756, -0.44781866669654846, 0.08978424966335297, 0.006994163617491722, -0.16676786541938782, -0.04269339516758919, 0.4529404938220978, 0.4360959827899933, -0.26350852847099304, 0.40553945302963257, -0.3770850896835327, -0.2233816385269165, 0.5892879962921143, -0.06134111061692238, 0.09888218343257904, 0.13920383155345917, -0.16802479326725006, 0.2095373272895813, -0.7971546649932861, -0.2183547466993332, 0.45003607869148254, 0.7103573679924011, -0.15601998567581177, 0.7350636720657349, 0.054949402809143066, 0.6691749095916748, -0.3408204913139343, -0.10884659737348557, 0.342957466840744, -0.22883546352386475, -0.17476530373096466, -0.07442586869001389, 0.780525267124176, -0.1816106140613556, 0.3287421464920044, -0.2636376917362213, -0.6256740093231201, 0.1610489934682846, 0.09233669191598892, -0.44288375973701477, -0.13185502588748932, 0.01377907395362854, -0.08267055451869965, -0.15399804711341858, -0.22275188565254211, -0.5882898569107056, -0.3785136640071869, -0.36181530356407166, 0.1756119430065155, -0.11714067310094833, -0.08691640943288803, -0.1730649620294571, 0.4105347990989685, 0.05739697068929672, 0.40052804350852966, -0.7132154703140259, 0.12814632058143616, 0.3932483196258545, 1.1270722150802612, -0.19392129778862, -0.25600335001945496, -0.6018733978271484, 0.2821395993232727, -0.322162926197052, 0.6978083252906799, -0.7089467644691467, -0.21588146686553955, 0.07636331021785736, -0.008064432069659233, 0.02896413579583168, -0.6936860084533691, 0.38414809107780457, -0.4367940425872803, -0.16471651196479797, 0.08217129856348038, -0.3820820152759552, -0.1655241698026657, 0.33591461181640625, -0.9660872220993042, 1.3541613817214966, 0.10851483792066574, -0.48268455266952515, 0.21976721286773682, -0.9116472005844116, -0.4726886451244354, 0.28801247477531433, -0.2176724225282669, -0.5827893614768982, -0.002853487618267536, 0.04943849518895149, 0.4956437349319458, -0.2941901981830597, 0.022664334625005722, -0.4429205358028412, -0.361605703830719, 0.3086594045162201, -0.5410722494125366, 0.5077721476554871, 0.317148894071579, -0.44399312138557434, 0.17203998565673828, -0.6585838198661804, -0.24493421614170074, 0.13839802145957947, -0.6999415755271912, -0.3124437630176544, -0.09802289307117462, -0.021873649209737778, 0.22057336568832397, 0.28174957633018494, -0.28914159536361694, 0.5414935350418091, -0.20859353244304657, 0.3164563775062561, 0.8232362866401672, -0.28027603030204773, 0.620392382144928, -0.07372830808162689, 0.8378370404243469, -0.15151093900203705, -0.03290048614144325, -0.21474839746952057, -0.4092700183391571, -1.018696665763855, -0.4314281642436981, 0.551038920879364, 0.6700528264045715, -0.8043979406356812, 0.3202821910381317, 0.03661581873893738, -0.2998145818710327, -0.9514839053153992, 0.6148867011070251, 0.23950761556625366, 0.2463218867778778, 0.4154360890388489, -0.14409993588924408, -0.43125632405281067, -0.7704843282699585, 0.16741633415222168, -0.3721049726009369, -0.04198961704969406, 0.3438521921634674, 0.42407241463661194, -0.4877326190471649, 0.923462450504303, -0.1432970017194748, -0.303175151348114, -0.4625522494316101, 0.00810174085199833, 0.18033075332641602, 0.4086587429046631, 0.342946320772171, -0.6158717274665833, -0.2677132487297058, 0.13576233386993408, -0.7607621550559998, -0.352376788854599, -0.13149631023406982, 0.05217067897319794, 0.3443455100059509, 0.4914360046386719, -0.356630802154541, 0.24370494484901428, 0.5491852760314941, 0.019547751173377037, 0.1718187928199768, -0.17788086831569672, -0.30009928345680237, -0.7479528784751892, 0.32165130972862244, 0.038493502885103226, -0.2114669233560562, -0.46930158138275146, -0.22842971980571747, 0.04080897197127342, -0.25683659315109253, -0.4375133216381073, 0.6289422512054443, -0.6263890862464905, -0.21880298852920532, -0.3752274811267853, 0.23970942199230194, -0.3576521575450897, 0.32297801971435547, 0.05686242878437042, 0.8924484252929688, 0.5931330323219299, -0.5396466851234436, 0.5409764051437378, 0.012388451024889946, -0.26824066042900085, 0.027477290481328964, -0.22453546524047852, 0.21760007739067078, 0.052235670387744904, 0.2068951576948166, -0.6068031191825867, -0.1712583303451538, 0.43436264991760254, -0.1849966198205948, 0.3396552503108978, -0.3621216416358948, -0.7638888359069824, -0.2618314325809479, -0.13147124648094177, 0.42976224422454834, 0.478887140750885, -0.45831412076950073, 0.4679408669471741, 0.6774926781654358, -0.1122831255197525, -0.43794167041778564, -0.7558653354644775, 0.21851152181625366, -0.22542405128479004, -0.26445382833480835, -0.00018943531904369593, 0.13225847482681274, -0.4458753168582916, 0.03995469585061073, -0.007167200092226267, 0.14300133287906647, 0.4881071150302887, 0.19177459180355072, 0.1691235452890396, -0.13957111537456512, 0.31572720408439636, -0.21665146946907043, -0.43483614921569824, -0.1645043045282364, -0.3725137412548065, 0.45018264651298523, -0.24939830601215363, -0.731431782245636, -0.42660146951675415, 0.14137928187847137, 0.4845771789550781, -0.45265263319015503, 0.5560852289199829, 0.6110243797302246, -0.5932618975639343, -0.38094455003738403, -0.4371679425239563, -0.030887462198734283, -0.4067102372646332, 0.1812686026096344, -0.11639941483736038, -0.994649350643158, 0.5152400135993958, -0.38540926575660706, 0.19039364159107208, 0.24293510615825653, 0.8273804187774658, -0.19568899273872375, 0.7825896739959717, 0.5862544775009155, -0.32487985491752625, 0.7069920301437378, -0.4310818612575531, 0.29983624815940857, -0.7515373826026917, -0.05918365716934204, -0.4214632213115692, -0.43057873845100403, -0.577941358089447, -0.8875995874404907, 0.1674407571554184, 0.37705865502357483, -0.136142298579216, -0.03298511728644371, -0.24186505377292633, 0.46126243472099304, 0.6484746932983398, -0.1250724196434021, 0.18596778810024261, -0.18098261952400208, -0.038017842918634415, 0.2178470939397812, -0.8954352140426636, -0.9025548100471497, 0.8986308574676514, 0.4654599130153656, 0.919026255607605, -0.06924030929803848, 0.562815248966217, 0.39483407139778137, 0.5395923256874084, -1.0098849534988403, 0.6010981798171997, 0.08783669769763947, -0.43507975339889526, -0.3270951211452484, -0.38722389936447144, -0.7768701910972595, 0.013149580918252468, -0.21170666813850403, -0.3528026342391968, -0.15287287533283234, 0.39043328166007996, -0.28730762004852295, 0.5367094278335571, -0.5417994260787964, 0.72856205701828, -0.6137036681175232, -0.6062439680099487, 0.0948018729686737, -0.5379279851913452, 0.19403865933418274, -0.4002106189727783, 0.3645935356616974, -0.38962337374687195, -0.3410055935382843, 0.7407019138336182, -0.25432443618774414, 1.1905218362808228, -0.2988824248313904, -0.1369602084159851, 0.5018263459205627, -0.15409323573112488, 0.6662686467170715, 0.1085246205329895, -0.18728573620319366, 0.30064067244529724, -0.6728280186653137, -0.3891630470752716, -0.26398128271102905, 0.5628086924552917, -0.6151360273361206, -0.3954446315765381, -0.537620484828949, -0.3995000123977661, -0.2120499163866043, 0.1272120624780655, -0.40857765078544617, -0.01805037073791027, 0.2269381880760193, -0.08775965124368668, 0.4396631717681885, -0.21581265330314636, 0.5210658311843872, 0.4402866065502167, -0.018643232062458992, -0.3295498490333557, 0.968001663684845, 0.20383679866790771, 0.11898449063301086, 0.07001260668039322, 0.15328337252140045, -0.2473841905593872, -0.8921138048171997, -0.5554514527320862, 0.39377620816230774, -0.7240663170814514, -0.5148164629936218, -0.4676237404346466, -0.04725513234734535, -0.14667870104312897, -0.31660810112953186, -0.38986724615097046, -0.4728865325450897, -0.28421473503112793, -0.18676097691059113, 0.5363333225250244, 0.6156689524650574, -0.21905459463596344, 0.3452168107032776, -0.634397566318512, 0.14926299452781677, 0.2732146382331848, 0.5358967781066895, -0.040664996951818466, -0.2585827112197876, -0.7182633876800537, 0.01614960841834545, -0.23967522382736206, -0.5517664551734924, 0.2354946732521057, 0.3418533205986023, 0.813344419002533, 0.3649923801422119, 0.09101005643606186, 0.7285430431365967, -0.4067527651786804, 0.8187049627304077, -0.05271352082490921, -0.9314311146736145, 0.7198085188865662, -0.19117245078086853, 0.22779661417007446, 0.5477474927902222, 0.24506287276744843, -0.6148709654808044, -0.7044385671615601, -0.3477827310562134, -1.2121835947036743, 0.7613808512687683, 0.16622965037822723, -0.0008606218034401536, -0.12235034257173538, 0.4968254268169403, 0.11756428331136703, 0.0777350515127182, -0.9432935118675232, -0.2680894732475281, 0.02606619894504547, -0.18651935458183289, -0.05419337749481201, -0.030492352321743965, -0.08866526186466217, -0.0975450798869133, 0.8565157651901245, -0.46670129895210266, 0.20927636325359344, -0.26095741987228394, -0.42043536901474, -0.20258457958698273, 0.005387509241700172, 0.34368792176246643, 0.4836674630641937, -0.05175153166055679, 0.34539079666137695, 0.3994523584842682, -0.4180731475353241, 0.0338352769613266, 0.14206832647323608, -0.18941332399845123, -0.06523913890123367, 0.6757981181144714, 0.908189594745636, 0.21525107324123383, -0.8243700265884399, 0.303627610206604, 0.0952553004026413, 0.15391905605793, -0.4349982440471649, 0.11440879106521606, 0.07005050778388977, 0.5036125779151917, 0.30013757944107056, -0.1749039739370346, -0.2572982907295227, -0.40265756845474243, 0.3010683059692383, 0.40193435549736023, -0.44321733713150024, -0.4325864613056183, 0.6858340501785278, 0.45685556530952454, -0.3148256838321686, 0.7009094953536987, -0.08806795626878738, -0.5812403559684753, 0.44773605465888977, 0.4150453209877014, 0.8939633965492249, -0.2386033833026886, -0.19013711810112, 0.2530510425567627, 0.39931395649909973, -0.19338750839233398, 0.2977747321128845, -0.21143123507499695, -0.6377793550491333, -0.6193171143531799, -0.8553672432899475, -0.7063588500022888, 0.09395184367895126, -0.44136571884155273, 0.5082152485847473, -0.34420862793922424, -0.041165828704833984, -0.22416330873966217, 0.12115801125764847, -0.6090296506881714, 0.06819197535514832, 0.6595682501792908, 0.7676118016242981, -1.060381293296814, 1.188008427619934, 1.010616660118103, -0.6058316826820374, -0.42849382758140564, -0.05969138815999031, -0.005685527343302965, -1.0273680686950684, 0.6049752831459045, 0.25940564274787903, -0.08908640593290329, -0.035918157547712326, -0.46661177277565, -0.6611996293067932, 1.1574918031692505, 0.4503299295902252, -0.602064311504364, 0.27054086327552795, 0.07825765013694763, 0.4635717272758484, -0.39737504720687866, 0.08280418068170547, 0.5114635229110718, 0.6000565886497498, 0.07700364291667938, -0.8510206341743469, -0.1466829478740692, -0.21418075263500214, -0.15238147974014282, 0.37478023767471313, -0.5260613560676575, 0.6438493728637695, -0.25895950198173523, -0.2871207296848297, -0.21081645786762238, 0.7717632055282593, 0.23518240451812744, 0.2828100919723511, 0.6109987497329712, 0.4456486105918884, 0.9484254121780396, -0.11207965016365051, 0.8040505647659302, -0.3542599678039551, 0.32499995827674866, 0.7762892246246338, -0.5009996891021729, 0.7918132543563843, 0.574346125125885, -0.30465438961982727, 0.035072989761829376, 0.7975074648857117, -0.054803334176540375, 0.35865047574043274, 0.48350492119789124, -0.5358018279075623, -0.35007578134536743, -0.18970920145511627, -0.008433728478848934, 0.511986494064331, 0.49148786067962646, -0.22193212807178497, -0.11418160051107407, 0.1270756721496582, 0.18868498504161835, -0.054523568600416183, -0.4485149383544922, 0.8672891855239868, 0.057277385145425797, -0.2746029794216156, 0.6070011854171753, -0.0753597542643547, 0.7620673179626465, -0.6218021512031555, -0.11041494458913803, -0.291334867477417, 0.0839281752705574, -0.1620965152978897, -0.6042088270187378, 0.26322880387306213, 0.4366580545902252, 0.0038339553866535425, -0.5296165943145752, 0.566167950630188, -0.6689628958702087, -0.5896148681640625, 0.4072583019733429, 0.6809278130531311, 0.23536716401576996, 0.2519828975200653, -0.756031334400177, 0.2622734606266022, -0.13175392150878906, -0.2491069883108139, 0.21706794202327728, 0.5479553937911987, -0.31790557503700256, 0.7478966116905212, 0.7241309881210327, 0.43251344561576843, -0.01397677045315504, 0.15036337077617645, 1.1313836574554443, -0.7837454676628113, -0.28289252519607544, -0.8689385652542114, 0.40723294019699097, 0.10677050799131393, -0.16125310957431793, 0.5891163945198059, 0.7698072195053101, 0.9448887705802917, 0.2888351380825043, 1.2279974222183228, -0.09147801250219345, 0.43466436862945557, -0.6300397515296936, 0.6931561827659607, -0.5874958038330078, 0.6117917895317078, 0.0027601702604442835, -1.071744441986084, -0.6652382016181946, 0.8751956820487976, -0.25983908772468567, -0.08795197308063507, 0.3999898135662079, 0.5944029688835144, -0.1071440726518631, -0.29274654388427734, 0.3184228241443634, 0.12076199054718018, 0.38148269057273865, 0.30013713240623474, 0.9086658358573914, 0.018171565607190132, 0.36640962958335876, -0.36410465836524963, -0.3340432643890381, -0.3115617334842682, -0.8704198002815247, -0.9449620842933655, -0.5160877108573914, -0.3832298219203949, -0.19382722675800323, 0.035657547414302826, 1.2141577005386353, 0.4328884482383728, -0.7354853749275208, -0.3930356204509735, 0.15705923736095428, 0.28364303708076477, -0.21717603504657745, -0.10190040618181229, 0.37051019072532654, -0.6595892906188965, -0.8647196292877197, 0.546690046787262, 0.41977307200431824, 0.1838613897562027, -0.5620952844619751, -0.14330404996871948, -0.31714215874671936, -0.18184825778007507, 0.46310198307037354, 0.4222206473350525, -0.7272118926048279, -0.24044683575630188, -0.2562777101993561, -0.000111316294351127, 0.04280297830700874, 0.9592580795288086, -0.9143185615539551, 0.40599700808525085, 0.16560615599155426, 0.9168015718460083, 0.5198177695274353, -0.2589682340621948, 0.51600581407547, -0.7264533042907715, 0.3304939568042755, 0.6181308031082153, 0.3388327360153198, 0.4586184322834015, 0.017668498679995537, 0.7761749029159546, 0.28294622898101807, -0.38739490509033203, -1.2167375087738037, 0.19081701338291168, -0.8649060130119324, 0.09085986018180847, 1.3615370988845825, -0.30097854137420654, -0.22076062858104706, -0.296232134103775, 0.039518650621175766, 0.4060337543487549, -0.3976724147796631, 0.7239766120910645, 0.5228071212768555, -0.2716641426086426, -0.24096907675266266, -0.8215464949607849, 0.4165210425853729, 0.035793595016002655, -0.8562624454498291, 0.4403614401817322, 0.3804796636104584, -0.13960538804531097, 0.08753883093595505, 0.40151870250701904, 0.048154234886169434, -0.03914415463805199, -0.2453315407037735, 0.42150068283081055, -0.20198805630207062, -0.2200196087360382, -0.6234477758407593, -0.07821618020534515, 0.35172420740127563, -0.2123710811138153 ]
http://arxiv.org/abs/2404.02258v1
http://arxiv.org/pdf/2404.02258v1
Mixture-of-Depths: Dynamically allocating compute in transformer-based language models
2024-04-02T19:28:11
2024-04-02T19:28:11
David Raposo, Sam Ritter, Blake Richards, Timothy Lillicrap, Peter Conway Humphreys, Adam Santoro
cs.LG
cs.LG, cs.CL
Transformer-based language models spread FLOPs uniformly across input sequences. In this work we demonstrate that transformers can instead learn to dynamically allocate FLOPs (or compute) to specific positions in a sequence, optimising the allocation along the sequence for different layers across the model depth. Our method enforces a total compute budget by capping the number of tokens ($k$) that can participate in the self-attention and MLP computations at a given layer. The tokens to be processed are determined by the network using a top-$k$ routing mechanism. Since $k$ is defined a priori, this simple procedure uses a static computation graph with known tensor sizes, unlike other conditional computation techniques. Nevertheless, since the identities of the $k$ tokens are fluid, this method can expend FLOPs non-uniformly across the time and model depth dimensions. Thus, compute expenditure is entirely predictable in sum total, but dynamic and context-sensitive at the token-level. Not only do models trained in this way learn to dynamically allocate compute, they do so efficiently. These models match baseline performance for equivalent FLOPS and wall-clock times to train, but require a fraction of the FLOPs per forward pass, and can be upwards of 50\% faster to step during post-training sampling.
[ -0.33135709166526794, -0.6198253035545349, 0.535174548625946, 0.4711223840713501, 0.03905374929308891, 0.6147370338439941, -0.17303290963172913, -0.3277520537376404, 0.187604621052742, 0.7792472243309021, -0.49308475852012634, 0.06313115358352661, -0.5864632725715637, -0.3690742552280426, -0.7328675389289856, 0.8799790143966675, 0.09554053843021393, -0.3432348072528839, -0.19149498641490936, 0.08499979972839355, -0.5076310634613037, -0.16627691686153412, -0.4268045425415039, -0.37898463010787964, 0.504429280757904, 0.5528352856636047, 0.7563433051109314, 0.6707073450088501, 0.3905494213104248, 0.4641231596469879, 0.0463455505669117, -0.10951019823551178, -0.563260555267334, 0.36265042424201965, -0.17840759456157684, -0.514103353023529, -0.16063082218170166, -0.23313599824905396, 0.8270224928855896, 0.8949213624000549, -0.6064035296440125, -0.1697462797164917, -0.2028527855873108, 0.6404150724411011, -0.957466185092926, -0.2299722135066986, -0.8905982971191406, 0.3199480473995209, -0.09493564069271088, -0.11124233156442642, -0.6342665553092957, 0.20750612020492554, 0.17435801029205322, -0.3990357220172882, 0.25601518154144287, -0.31388285756111145, 0.572096049785614, 0.46329331398010254, -0.26196181774139404, -0.12241040170192719, -1.200123906135559, 0.7478368878364563, -0.3331262469291687, 0.5927035212516785, 0.11427522450685501, 0.4416557848453522, 0.3460782766342163, -0.9975045323371887, -0.5250865817070007, -0.019597649574279785, -0.14400550723075867, 0.32230305671691895, -0.03076491691172123, 0.017051994800567627, 0.11645092815160751, 0.7675668597221375, -0.26477864384651184, 0.24921302497386932, -0.25848257541656494, -0.033878445625305176, 0.4771979749202728, 0.2622144818305969, 0.0053652385249733925, -0.00481293722987175, -0.5154184699058533, -0.4474191963672638, -0.4966122806072235, 0.18725812435150146, 0.20974686741828918, 0.1463712602853775, -0.6064195036888123, 0.5072869658470154, -0.0742875337600708, 0.5925122499465942, 0.43132859468460083, -0.2643163204193115, 0.22579997777938843, -0.3526074290275574, -0.2884419858455658, -0.06099715083837509, 0.773974597454071, -0.3983129858970642, 0.2207067310810089, -0.48556944727897644, -0.5622780323028564, -0.09743916988372803, 0.7737260460853577, -0.7050542235374451, -0.34629982709884644, 0.2571932077407837, 0.020397134125232697, -0.5509321689605713, 0.013854091987013817, -0.6406476497650146, -0.29288622736930847, -0.28263425827026367, 0.4955073893070221, -0.22254064679145813, -0.28548872470855713, 0.3965552747249603, -0.08137926459312439, 0.26127326488494873, -0.0484151765704155, -1.0544767379760742, 0.7035895586013794, 0.5377891063690186, 0.671989917755127, -0.3038721978664398, -0.3406185209751129, -0.3534506857395172, 0.16010305285453796, -0.26149165630340576, 0.5774690508842468, -0.6640841960906982, -0.5271927714347839, -0.03576723113656044, -0.3820432424545288, -0.2734679579734802, -0.6289317011833191, 0.2412641942501068, -0.5040205121040344, 0.21743927896022797, 0.022154197096824646, -0.3376426100730896, 0.19093938171863556, -0.09486100822687149, -0.6541138887405396, 1.0802572965621948, 0.43902236223220825, -0.7392796874046326, 0.059430286288261414, -0.5466206669807434, -0.8171708583831787, -0.08594775199890137, -0.20559988915920258, -0.4498295783996582, 0.2026267647743225, 0.2058783918619156, 0.3700835406780243, -0.2570475935935974, 0.4287693202495575, 0.1460883915424347, -0.34033164381980896, 0.31718721985816956, -0.49631956219673157, 0.5924733877182007, 0.29187965393066406, -0.6665773391723633, 0.2896922826766968, -0.7108488082885742, -0.34525996446609497, 0.21167586743831635, -0.10701990127563477, 0.2228563278913498, 0.022101888433098793, -0.07177019119262695, 0.12587881088256836, 0.12263529002666473, -0.34267351031303406, 0.22388754785060883, -0.5019514560699463, 0.45185816287994385, 0.761881947517395, -0.21602755784988403, 1.078555703163147, -0.21832013130187988, 0.6991420388221741, 0.3145528733730316, 0.25316327810287476, -0.6239683032035828, -0.2534385621547699, -0.9481021761894226, -0.48795557022094727, 0.40152508020401, 0.7495026588439941, -0.7369961738586426, 0.4280249774456024, -0.3760768473148346, -0.6434102058410645, -0.35415515303611755, -0.29179611802101135, 0.15093989670276642, 0.7843259572982788, 0.31674787402153015, -0.2748025059700012, -0.3291584849357605, -1.0477045774459839, 0.2632218897342682, 0.07188931107521057, 0.0027960112784057856, 0.7073988914489746, 0.19359047710895538, 0.03340163081884384, 0.8455201387405396, -0.6346257925033569, -0.025436997413635254, -0.28845900297164917, 0.10641144961118698, 0.3637981414794922, 0.5951291918754578, 0.5155687928199768, -0.7411901354789734, -0.5577714443206787, -0.0933423563838005, -0.41441231966018677, -0.0930553451180458, -0.495739221572876, -0.3567180037498474, -0.11079289764165878, 0.375959575176239, -0.789005696773529, 0.14103427529335022, 0.5941710472106934, -0.20029515027999878, 0.46033450961112976, -0.2537589967250824, -0.2456091344356537, -0.7980429530143738, -0.08040741831064224, -0.449424684047699, -0.2485947608947754, -0.499386727809906, 0.29433611035346985, 0.08456142991781235, -0.10730759799480438, -0.42611727118492126, 0.4721822440624237, -0.33439192175865173, -0.22805897891521454, -0.19942954182624817, -0.034683022648096085, 0.16913603246212006, 0.525459885597229, -0.03863348439335823, 0.772153377532959, 0.9827079772949219, -0.7471874952316284, 0.14571590721607208, -0.046378009021282196, -0.2910548746585846, 0.4197152554988861, -0.7059321999549866, 0.12873393297195435, 0.07514376193284988, 0.5218125581741333, -1.1149613857269287, 0.02627982199192047, 0.018757550045847893, -0.32184651494026184, 0.5550571084022522, -0.04077737033367157, -0.35171398520469666, -0.34023725986480713, -0.0645294338464737, 0.7514423131942749, 0.7096641659736633, -0.3754775822162628, 1.0553297996520996, 0.7073287963867188, 0.16320331394672394, -0.871803879737854, -0.8526125550270081, -0.05150383338332176, 0.00004662948413169943, -0.6665980815887451, 1.004149317741394, 0.05970390513539314, 0.13452085852622986, -0.04343068599700928, 0.03304066136479378, -0.12493637949228287, 0.2747300863265991, 0.22084668278694153, 0.20246736705303192, -0.2612570822238922, -0.3382214605808258, 0.06150783970952034, -0.06321989744901657, -0.062359608709812164, -0.6001207828521729, 1.0267866849899292, -0.040316250175237656, -0.631538450717926, 0.007624999154359102, 0.15077105164527893, 0.6303014159202576, -0.4246848523616791, 0.7500178813934326, 0.8005249500274658, -0.32973048090934753, -0.23812338709831238, -0.8075971603393555, -0.3311307430267334, -0.5920578837394714, 0.3298289179801941, -0.4907950460910797, -0.8565085530281067, 0.9931008219718933, 0.2535468339920044, 0.11043421179056168, 0.5468997359275818, 0.7288820743560791, -0.010700962506234646, 0.5867884755134583, 0.6402368545532227, -0.23859892785549164, 0.4380768835544586, -0.7249782085418701, 0.4009036123752594, -0.6935611367225647, -0.1993333399295807, -0.4248654842376709, -0.7258028984069824, -0.808703601360321, -0.5994678735733032, 0.4017009735107422, -0.13295073807239532, -0.36104437708854675, 0.1366148144006729, -0.5076904892921448, 0.6557371020317078, 0.4558819532394409, -0.045565806329250336, -0.16469410061836243, 0.036314018070697784, -0.35573500394821167, 0.21665573120117188, -0.8858730792999268, 0.29079669713974, 0.714096188545227, 0.43360209465026855, 0.6300830245018005, -0.07859255373477936, 0.6670880913734436, 0.06706303358078003, 0.03932109475135803, -0.6339097619056702, 0.3260364532470703, -0.21447259187698364, -0.43886348605155945, -0.43854719400405884, -0.49166303873062134, -1.0146218538284302, 0.2555742561817169, -0.08680243045091629, -0.6528587937355042, 0.18941250443458557, -0.013561263680458069, -0.45742326974868774, 0.7363659143447876, -0.48756057024002075, 0.5207096934318542, -0.2357172816991806, -0.47617506980895996, -0.47252458333969116, -0.6216609477996826, 0.2922385036945343, -0.023885097354650497, 0.17687882483005524, 0.24875622987747192, -0.03584745153784752, 0.3351120948791504, -0.11624381691217422, 0.8316949605941772, -0.23436197638511658, -0.09390755742788315, 0.3827652633190155, 0.44778141379356384, 0.4621318280696869, -0.08662150800228119, 0.058056943118572235, 0.085069440305233, -0.45858821272850037, -0.4317105710506439, -0.556692898273468, 0.6309331059455872, -0.9818586707115173, -0.3447171449661255, -0.20405921339988708, -0.786505401134491, -0.24896134436130524, 0.15922942757606506, 0.09378675371408463, 0.43987715244293213, 0.04896511510014534, 0.28198352456092834, 0.6555725932121277, -0.4469209909439087, 0.596494197845459, 0.400206059217453, -0.1628563553094864, -0.2858618199825287, 0.9002957344055176, 0.01662449911236763, 0.3535122275352478, 0.6839617490768433, 0.4849208891391754, -0.5210026502609253, -0.3635946214199066, -0.6076234579086304, 0.12244056910276413, -0.608153223991394, -0.20752272009849548, -0.9096220135688782, -0.7322871685028076, -0.2584545314311981, -0.5020548701286316, -0.8863952159881592, -0.5679287314414978, 0.15718667209148407, -0.1346433013677597, 0.15583132207393646, 0.6688371896743774, -0.0604434497654438, 0.6365811228752136, -0.5513797402381897, 0.37687402963638306, 0.20210577547550201, 0.6542592644691467, 0.40352413058280945, -0.8269774913787842, -0.21715600788593292, -0.07336024940013885, -0.5016309022903442, -0.5260160565376282, 0.19936659932136536, 0.1179434210062027, 0.5588856935501099, 0.30428481101989746, -0.1092672049999237, 0.584022581577301, -0.7013285756111145, 0.7510279417037964, 0.09381049126386642, -0.9974249005317688, 0.013472342863678932, -0.4059874713420868, 0.47161751985549927, 0.4912312924861908, 0.12046653032302856, -0.46321380138397217, -0.43216049671173096, -0.9106656312942505, -1.109614372253418, 0.7922155857086182, 0.29890576004981995, 0.6137638092041016, 0.13459470868110657, 0.27666717767715454, 0.12652690708637238, 0.2463809698820114, -0.612622082233429, -0.38855165243148804, -0.12572968006134033, -0.030567185953259468, 0.1967656910419464, -0.2258085459470749, 0.11111307144165039, -0.42624786496162415, 0.36571264266967773, 0.0847439244389534, 0.4574408531188965, -0.17482687532901764, -0.054368194192647934, -0.03390364348888397, -0.07609284669160843, 0.7117835879325867, 0.8651955723762512, 0.067023865878582, 0.3427734971046448, 0.19484394788742065, -0.4515341520309448, 0.18958799540996552, -0.19021190702915192, -0.37607499957084656, -0.2589612305164337, 0.13479100167751312, 1.1549259424209595, 0.7008537650108337, -0.5046652555465698, 0.635556161403656, 0.13020119071006775, -0.1922069638967514, -0.3716142475605011, 0.12028947472572327, 0.29046425223350525, 0.16837868094444275, 0.18554723262786865, 0.19610626995563507, 0.062249522656202316, -0.18679192662239075, 0.49809056520462036, 0.2731075882911682, -0.27622196078300476, -0.2797611951828003, 0.5119351744651794, 0.107560895383358, -0.34083613753318787, 0.9600194692611694, 0.06614481657743454, -0.6502367854118347, 0.636367678642273, 0.6875861883163452, 0.9487295150756836, -0.2881481349468231, 0.3329831659793854, 0.25468015670776367, 0.04401853308081627, 0.03656291961669922, 0.10168149322271347, -0.26870033144950867, -0.9802086353302002, -0.6741355061531067, -0.7262324690818787, -0.4109203517436981, 0.0801200196146965, -0.41664087772369385, 0.31995975971221924, -0.6865164041519165, 0.07961467653512955, 0.055591873824596405, -0.4971742033958435, -0.825589656829834, 0.3131219744682312, 0.4683299660682678, 0.6888380646705627, -0.7549731135368347, 0.7320185303688049, 0.21767185628414154, -0.12434987723827362, -0.6311113238334656, -0.2040519267320633, -0.4544123411178589, -1.0369900465011597, 0.3207254707813263, -0.020681899040937424, -0.3047696650028229, -0.013937515206634998, -0.22458718717098236, -1.0759201049804688, 0.8696797490119934, 0.4373933970928192, -0.5474933981895447, -0.08873207867145538, 0.49722135066986084, 0.38963577151298523, -0.4203638732433319, 0.6732414960861206, 0.40102627873420715, 0.3700641393661499, 0.31065988540649414, -0.9410519599914551, -0.23424242436885834, -0.03823670372366905, -0.2928846776485443, 0.27496981620788574, -0.6259937882423401, 1.1074559688568115, -0.2335568070411682, -0.13914290070533752, -0.4915112257003784, 0.6669057011604309, 0.28117865324020386, -0.16064870357513428, 0.9686251282691956, 0.7230621576309204, 0.7023717164993286, 0.008755862712860107, 1.3399759531021118, -0.6163440346717834, 0.13084015250205994, 0.8778255581855774, -0.12830804288387299, 0.7292271852493286, 0.3222389221191406, -0.3734094798564911, 0.6620542407035828, 0.3859843611717224, 0.0641845166683197, 0.6554085612297058, 0.4448559284210205, 0.020312529057264328, -0.22061805427074432, -0.05124891921877861, -0.15533709526062012, 0.5244351625442505, 0.1941061019897461, -0.15590843558311462, -0.005187748931348324, -0.12973053753376007, -0.18861542642116547, -0.08874576538801193, 0.04391992837190628, 0.6255435943603516, 0.06984344869852066, -0.8266674876213074, 0.6442190408706665, 0.19227655231952667, 0.77596116065979, -0.5933176875114441, 0.3722098171710968, -0.2576857805252075, 0.23021329939365387, -0.10684539377689362, -0.9701524376869202, 0.4324258267879486, -0.22339770197868347, -0.2809387147426605, -0.40169575810432434, 0.48592424392700195, -0.3454412519931793, -0.7678142786026001, 0.2583600580692291, 0.5113528370857239, -0.17203298211097717, -0.19391044974327087, -0.5805978775024414, -0.04686439409852028, -0.16895636916160583, -0.27559879422187805, 0.32577750086784363, 0.4125325083732605, 0.015953371301293373, 0.7448941469192505, 0.5200603604316711, 0.05647721514105797, 0.41628214716911316, 0.5069496035575867, 0.9989454746246338, -0.3621536195278168, -0.7936587929725647, -0.9414531588554382, 0.9125900864601135, 0.16365894675254822, -0.04832645505666733, 0.04533429443836212, 0.6100000143051147, 0.9337009787559509, -0.008303478360176086, 0.5568180084228516, 0.12033218890428543, 0.027427423745393753, -0.4128112494945526, 0.5559790730476379, -0.6348027586936951, 0.2790423631668091, -0.06470230221748352, -0.9733672142028809, 0.06447780877351761, 0.6005200147628784, -0.12041298300027847, 0.15648311376571655, 0.525138258934021, 0.4815763235092163, -0.6158902645111084, -0.045597247779369354, 0.15347817540168762, 0.04781387746334076, 0.3944181501865387, 0.41777506470680237, 0.7512257099151611, -0.3408213257789612, 0.1887420117855072, -0.8632370233535767, -0.08795279264450073, 0.05551251396536827, -0.8053893446922302, -0.3795790672302246, -0.675972044467926, -0.1496916562318802, -0.14646048843860626, -0.39248329401016235, 0.40481096506118774, 0.852956235408783, -0.7701562643051147, -0.5305150151252747, -0.1322057992219925, 0.06825722008943558, -0.13404668867588043, -0.26298823952674866, 0.23817527294158936, -0.5117632746696472, -0.5927808880805969, 0.4178140461444855, 0.3951350748538971, -0.17379646003246307, -0.6345400214195251, 0.04554832726716995, -0.039555054157972336, 0.3211950659751892, 0.6385210752487183, -0.15764744579792023, -0.5684166550636292, -0.0055997674353420734, 0.5039690732955933, -0.21109427511692047, 0.342138409614563, 1.0853285789489746, -0.910987913608551, 0.18215663731098175, 0.632288932800293, 1.0525109767913818, 1.046423316001892, -0.21178297698497772, 0.5473233461380005, -0.931521475315094, 0.5168085098266602, 0.4529784321784973, 0.3100111186504364, 0.4546230137348175, -0.4595341980457306, 0.2558654546737671, 0.18254885077476501, -0.39548400044441223, -0.8471025228500366, 0.31210920214653015, -1.095711588859558, -0.24462135136127472, 0.8520190119743347, 0.21929126977920532, -0.09404385834932327, 0.3011207580566406, 0.0895138829946518, 0.12020278722047806, -0.19377072155475616, 0.8903601765632629, 0.5302289724349976, -0.05888386815786362, -0.24231012165546417, -0.31977081298828125, 0.1496422439813614, 0.6806748509407043, -0.3935542702674866, -0.026355376467108727, -0.03215273097157478, 0.05181223899126053, 0.23939794301986694, 0.7786421179771423, -0.1870950609445572, -0.14542996883392334, 0.09654102474451065, -0.03984550014138222, 0.06469132006168365, -0.6988772749900818, 0.10176119953393936, 0.17034000158309937, -0.21795906126499176, -0.11835033446550369 ]
http://arxiv.org/abs/2404.02255v1
http://arxiv.org/pdf/2404.02255v1
$\texttt{LM}^\texttt{2}$: A Simple Society of Language Models Solves Complex Reasoning
2024-04-02T19:23:10
2024-04-02T19:23:10
Gurusha Juneja, Subhabrata Dutta, Tanmoy Chakraborty
cs.CL
cs.CL, cs.AI
Despite demonstrating emergent reasoning abilities, Large Language Models (LLMS) often lose track of complex, multi-step reasoning. Existing studies show that providing guidance via decomposing the original question into multiple subproblems elicits more robustness in LLM reasoning -- a decomposer generates the subproblems, and a solver solves each of these subproblems. However, these techniques fail to accommodate coordination between the decomposer and the solver modules (either in a single model or different specialized ones) -- the decomposer does not keep track of the ability of the solver to follow the decomposed reasoning. In this paper, we propose LM2 to address these challenges. LM2 modularizes the decomposition, solution, and verification into three different language models. The decomposer module identifies the key concepts necessary to solve the problem and generates step-by-step subquestions according to the reasoning requirement. The solver model generates the solution to the subproblems that are then checked by the verifier module; depending upon the feedback from the verifier, the reasoning context is constructed using the subproblems and the solutions. These models are trained to coordinate using policy learning. Exhaustive experimentation suggests the superiority of LM2 over existing methods on in- and out-domain reasoning problems, outperforming the best baselines by $8.1\%$ on MATH, $7.71\%$ on JEEBench, and $9.7\%$ on MedQA problems (code available at https://github.com/LCS2-IIITD/Language_Model_Multiplex).
[ -0.08922053128480911, -0.9011825323104858, 0.7137895226478577, 0.026495639234781265, -0.011717850342392921, 0.10964811593294144, -0.2259412407875061, -0.2316298633813858, -0.6520026326179504, 0.5224036574363708, -0.391525000333786, -0.10024451464414597, -0.4573732316493988, -0.07912494242191315, 0.10116061568260193, 0.6224194765090942, -0.12241464853286743, 0.21725250780582428, -0.5354893803596497, 0.04749395325779915, -0.23147018253803253, -0.5164928436279297, -0.9032846093177795, -1.0052050352096558, 0.2825278043746948, 0.4466797411441803, 0.6515274047851562, 0.5043365359306335, 0.24756649136543274, 0.25562554597854614, -0.6348996162414551, 0.6513904929161072, -0.49065831303596497, 0.1746765822172165, -0.42584335803985596, -0.7593817114830017, -0.3890954852104187, -0.3848807215690613, 0.42836993932724, 0.44953420758247375, -0.24956122040748596, 0.05106997862458229, 0.1412014216184616, 0.617331862449646, -0.32742178440093994, 0.4043991267681122, -0.5597136616706848, -0.24992331862449646, 0.17765921354293823, -0.024126503616571426, -0.5938851833343506, -0.21523186564445496, -0.08597525209188461, -0.19871459901332855, -0.0733097493648529, -0.03186933696269989, 0.6366270184516907, 0.3741501271724701, -0.5719555616378784, -0.2623634338378906, -0.9346618056297302, 0.8153799772262573, -0.5486708283424377, 0.2342483401298523, 0.34329915046691895, 0.4481908082962036, -0.41553470492362976, -0.538444459438324, -0.5553848743438721, 0.09344272315502167, -0.11648757010698318, 0.14530350267887115, -0.20181627571582794, -0.07476218789815903, 0.12158651649951935, 0.01822429895401001, -0.5511177778244019, 0.30472561717033386, -0.4509132206439972, -0.36769574880599976, 0.4568931758403778, 0.2933292090892792, 0.210346519947052, -0.06756783276796341, -0.5410131216049194, 0.11496297270059586, -0.8480265140533447, 0.26288551092147827, 0.026790358126163483, 0.15248361229896545, -0.0008639823645353317, 0.4481971561908722, -0.04761424660682678, 0.36658522486686707, -0.2981419861316681, -0.5742654204368591, 0.042406581342220306, -0.353062242269516, 0.0016018492169678211, -0.3224756717681885, 0.412187784910202, 0.3662298917770386, 0.2918870747089386, 0.13735975325107574, -0.4773358702659607, 0.00038487990968860686, -0.08645657449960709, -0.6031631231307983, -0.18598052859306335, 0.5235755443572998, -0.3944660425186157, 0.07829604297876358, -0.22666285932064056, -0.3663557171821594, -0.1407257318496704, -0.5835410952568054, 0.378574013710022, -0.41953781247138977, -0.4611791670322418, 0.27524587512016296, 0.09912899881601334, 0.42015016078948975, 0.5300756096839905, -0.6828605532646179, 0.4018218517303467, 1.1014013290405273, 0.7978739738464355, -0.19481658935546875, -0.09863106906414032, -0.29218631982803345, 0.12533526122570038, -0.3425890803337097, 0.7616767883300781, -0.2668732702732086, -0.09872511774301529, 0.15841080248355865, 0.07774624228477478, 0.014484085142612457, -0.829816460609436, 0.32836493849754333, -0.5151439905166626, 0.051550257951021194, -0.229225292801857, -0.6218040585517883, -0.19354435801506042, 0.5727459788322449, -0.5597521662712097, 1.1616722345352173, 0.05268625542521477, -0.4502924382686615, -0.1397363394498825, -0.5582409501075745, -0.19200499355793, -0.06277024745941162, -0.16362358629703522, -0.464549720287323, -0.04614175111055374, -0.013546752743422985, 0.20942896604537964, -0.32491210103034973, 0.4778192639350891, -0.1837242990732193, -0.21398493647575378, 0.19895145297050476, -0.22887097299098969, 0.7961246967315674, 0.2386084645986557, -0.13432076573371887, 0.05170769244432449, -0.5331702828407288, 0.15335096418857574, 0.25477537512779236, -0.8631712794303894, -0.17642436921596527, 0.3189205527305603, -0.1278802901506424, 0.3811541497707367, 0.19351302087306976, -0.21460723876953125, 0.1619855761528015, -0.42892763018608093, 0.6091071963310242, 0.6633497476577759, -0.06189458444714546, 0.6030145287513733, -0.3727376163005829, 0.27011147141456604, 0.19658039510250092, 0.022326834499835968, -0.24533721804618835, -0.46834778785705566, -0.9922658205032349, -0.03745773434638977, -0.019817866384983063, 0.9438015222549438, -0.6690129637718201, 0.14223933219909668, -0.059361640363931656, -0.2279229313135147, -0.14340905845165253, 0.18526135385036469, 0.7524213790893555, 0.1623246818780899, 0.5307049751281738, 0.22484785318374634, -0.4912325441837311, -0.9959556460380554, -0.17467640340328217, -0.2561018764972687, -0.06731647998094559, 0.039066217839717865, 0.7144946455955505, -0.29725679755210876, 0.8711229562759399, -0.26507943868637085, -0.02924301102757454, -0.6886863708496094, -0.015637697651982307, 0.009024286642670631, 0.6159547567367554, 0.19147293269634247, -0.5952440500259399, -0.1331472396850586, -0.0172259658575058, -0.699043333530426, -0.07142692059278488, 0.06452632695436478, -0.048444170504808426, 0.35336044430732727, 0.44776830077171326, -0.7550895810127258, 0.12260828167200089, 0.15127579867839813, -0.1739981472492218, 0.5995103716850281, -0.33585262298583984, -0.44248464703559875, -1.0937764644622803, -0.10990235954523087, -0.27332329750061035, -0.43814513087272644, -0.6781665086746216, 0.45203036069869995, 0.0058511425741016865, 0.06699499487876892, -0.3202451765537262, 0.6803480386734009, -0.5488492250442505, 0.0179519634693861, -0.2508560121059418, 0.26249662041664124, 0.017851032316684723, 0.37266042828559875, 0.08651822805404663, 0.6331916451454163, 0.5275837182998657, -0.6440771818161011, 0.3913456201553345, 0.15495212376117706, -0.43644964694976807, 0.30775219202041626, -0.7793005108833313, 0.3049173653125763, -0.3950933516025543, 0.3500998616218567, -1.0277878046035767, -0.24300582706928253, 0.21394385397434235, -0.2887708246707916, 0.3225081264972687, -0.1116177961230278, -0.7049716114997864, -0.3017560541629791, -0.07848085463047028, 0.2942269742488861, 0.6705545783042908, -0.47342759370803833, 0.7314420938491821, 0.22952227294445038, -0.10417193919420242, -0.4830772280693054, -0.785847008228302, -0.11162598431110382, 0.046783287078142166, -0.655157208442688, 0.03869837149977684, -0.28075721859931946, -0.6485925912857056, -0.06726884096860886, -0.3216925859451294, -0.09979838132858276, 0.06538555026054382, 0.007029611151665449, 0.18015797436237335, -0.33078017830848694, 0.2114565670490265, 0.2515902817249298, -0.4768584072589874, 0.3488757908344269, -0.2764991521835327, 0.47692447900772095, -0.1300775706768036, -0.3665412664413452, -0.23552682995796204, 0.556060791015625, 0.6157544851303101, -0.28106072545051575, 0.6616670489311218, 0.31437593698501587, -0.47351112961769104, -0.5615666508674622, -0.526665985584259, -0.20991355180740356, -0.4259633421897888, 0.4835064709186554, -0.6656755208969116, -1.115788221359253, 0.5168986916542053, -0.4226752519607544, 0.08802950382232666, 0.17622318863868713, 0.8970524668693542, 0.012120305560529232, 1.141103982925415, 0.2894760072231293, 0.3459842801094055, -0.09981773048639297, -0.27563774585723877, 0.25420263409614563, -0.7550001740455627, -0.8412514925003052, -0.4502619504928589, -0.14645366370677948, -0.2185453176498413, -0.8099539279937744, 0.4049527943134308, 0.4285909831523895, -0.3661330044269562, 0.194040447473526, -0.25216546654701233, 0.7661155462265015, 0.5074341893196106, 0.26260310411453247, 0.32711490988731384, 0.05552907660603523, -0.3195616900920868, 0.18259882926940918, -0.8219490051269531, -0.81385737657547, 0.6630415320396423, 0.6177849769592285, 0.6822159886360168, 0.6591153740882874, 0.538204550743103, -0.01908734254539013, 0.017846066504716873, -1.0179648399353027, 0.7343745231628418, -0.0800824761390686, -0.6753795742988586, -0.1942773014307022, -0.34465768933296204, -0.636351466178894, 0.5139307379722595, 0.08359004557132721, -0.8040319681167603, -0.005319651681929827, 0.27477869391441345, -0.19211217761039734, 0.2544817328453064, -0.3946912884712219, 0.5962749719619751, -0.1107608750462532, -0.47213637828826904, -0.3203659653663635, -0.844656765460968, 0.5450718402862549, 0.06406266987323761, 0.49717530608177185, -0.17399397492408752, 0.00477749016135931, 0.3710840344429016, -0.608078122138977, 0.9059170484542847, -0.14617648720741272, -0.3701384365558624, 0.49511492252349854, 0.43902474641799927, 0.7659154534339905, 0.1116175502538681, -0.05480668321251869, -0.15477602183818817, 0.10696513205766678, -0.365744024515152, -0.6518275141716003, 0.5212987661361694, -0.7135391235351562, -0.7460548877716064, -0.21466770768165588, -0.43373292684555054, -0.05211329460144043, 0.12183259427547455, 0.027339709922671318, 0.5280398726463318, 0.1329357773065567, 0.15420900285243988, 1.0216784477233887, 0.004907602909952402, 0.3092113733291626, 0.6233066320419312, -0.392604798078537, -0.30054494738578796, 0.5711416006088257, -0.030871888622641563, 0.6399939656257629, 0.5742686986923218, 0.3899991810321808, -0.4642663598060608, -0.41471055150032043, -0.26302453875541687, 0.1450057178735733, -1.1827924251556396, -0.25757595896720886, -0.5047454237937927, -0.3300941586494446, -0.02900068275630474, 0.14218996465206146, -0.32015249133110046, -0.37631484866142273, -0.07917938381433487, -0.09439647197723389, -0.08358585834503174, 0.6542760729789734, -0.1455284208059311, 0.05944285914301872, -0.6132770776748657, 0.3136116564273834, 0.5192236304283142, 0.029744165018200874, -0.032782092690467834, -0.49012330174446106, -0.06983380764722824, 0.010288955643773079, -0.08586085587739944, -0.6596605777740479, -0.1881503015756607, 0.03416483476758003, 0.648186445236206, 0.34727051854133606, -0.1087958887219429, 0.32958367466926575, -0.5234150886535645, 0.7565096020698547, 0.03099854849278927, -0.8063406944274902, 0.6734075546264648, -0.11265288293361664, 0.4090515077114105, 0.23200823366641998, 0.1299065798521042, -0.09243432432413101, -0.3782718777656555, -0.17962093651294708, -0.7432278990745544, 0.6934194564819336, 0.19761599600315094, 0.04952390491962433, 0.03583964332938194, 0.47034916281700134, -0.04978102445602417, -0.31362390518188477, -0.7555138468742371, -0.27707740664482117, 0.030056333169341087, 0.043098222464323044, 0.17246758937835693, -0.7599882483482361, -0.18723338842391968, -0.3141953647136688, 0.7356863021850586, -0.18801546096801758, 0.11741603165864944, 0.13864648342132568, -0.10641489923000336, -0.03449239954352379, 0.5586751103401184, 0.8249189853668213, 0.6693869829177856, 0.029075894504785538, 0.6840682029724121, 0.13740947842597961, -0.02102654241025448, 0.38931533694267273, -0.24103987216949463, -0.4553816020488739, -0.07158882170915604, 0.48233214020729065, 0.6418495178222656, 0.12500961124897003, -0.7299911975860596, 0.3172844350337982, 0.3106982409954071, -0.36195313930511475, -0.4173602759838104, 0.2044040709733963, 0.4202745854854584, 0.648960530757904, 0.23404966294765472, 0.1837630420923233, -0.08610642701387405, -0.5837647318840027, 0.13343186676502228, 0.35192760825157166, -0.1591285616159439, -0.36319661140441895, 0.6673822999000549, 0.08689665794372559, -0.5465410351753235, 0.4035610854625702, -0.42550423741340637, -0.8827968239784241, 0.704555332660675, 1.0525075197219849, 0.5335397720336914, -0.3140908181667328, 0.058267053216695786, 0.6262689232826233, 0.5507698655128479, -0.6243354678153992, 0.49033647775650024, 0.059702061116695404, -0.8681018352508545, -0.5174340605735779, -0.5436157584190369, -0.36201852560043335, 0.2796204388141632, -0.4090215265750885, 0.09633221477270126, -0.3581371307373047, 0.10137443244457245, -0.25846391916275024, -0.30523741245269775, -0.34201574325561523, 0.07655676454305649, 0.15494661033153534, 0.9531317353248596, -0.6943601965904236, 0.7919440269470215, 0.7961033582687378, -0.31726518273353577, -1.0203168392181396, -0.11101007461547852, 0.38743793964385986, -0.7706177830696106, 0.6354706883430481, 0.21853303909301758, -0.4986754357814789, -0.08951199054718018, -0.6327108144760132, -0.7682781219482422, 1.071668267250061, 0.3380279541015625, -0.6467478275299072, 0.1159207820892334, 0.13278287649154663, 0.33547836542129517, -0.30567270517349243, 0.14864663779735565, 0.6239256858825684, 0.5585078001022339, 0.2768529951572418, -0.9169732928276062, 0.1821693480014801, -0.21846474707126617, 0.03024766594171524, 0.12867388129234314, -0.6801595687866211, 0.9861135482788086, -0.5693594217300415, -0.20441599190235138, 0.25677600502967834, 0.32589688897132874, 0.5373590588569641, 0.3606356382369995, 0.39040470123291016, 0.5366882681846619, 0.6291807293891907, -0.19068199396133423, 0.7891331315040588, -0.045727554708719254, 0.5758312344551086, 1.2361125946044922, -0.2513945400714874, 0.9464786648750305, 0.41658541560173035, -0.338850200176239, 0.5833306312561035, 0.4240432679653168, 0.2132353037595749, 0.41435369849205017, 0.29894906282424927, -0.35495737195014954, -0.765953779220581, 0.04570460319519043, -0.19150517880916595, 0.45073333382606506, 0.3965319097042084, -0.08512735366821289, -0.4002858102321625, -0.2675537168979645, 0.36593613028526306, 0.1948983520269394, -0.14388640224933624, 0.8530839681625366, 0.26786157488822937, -0.8599585890769958, 0.591159999370575, 0.2666168212890625, 0.1702772080898285, -0.5982832908630371, -0.04434528201818466, -0.47556808590888977, 0.6004435420036316, -0.21184371411800385, -0.8010170459747314, 0.3886782228946686, -0.1668282449245453, -0.29633939266204834, -0.171152263879776, 0.9035120606422424, -0.617896556854248, -0.3478747010231018, 0.4499812722206116, 0.778792142868042, 0.19535070657730103, 0.24839361011981964, -0.6148573756217957, 0.06736639887094498, -0.1461394876241684, -0.33275341987609863, 0.20575551688671112, 0.3917604386806488, -0.18746131658554077, 0.9988690614700317, 0.529292643070221, -0.23751717805862427, -0.15109466016292572, 0.23696152865886688, 0.8646870255470276, -0.270569384098053, -0.31635746359825134, -1.0631352663040161, 0.6383739113807678, 0.011328959837555885, 0.06362222880125046, 0.5802901983261108, 0.7085238695144653, 0.7180031538009644, -0.07561099529266357, 0.7484890818595886, 0.07370340824127197, 0.5580784678459167, -0.7837238311767578, 0.3988010287284851, -0.6207114458084106, 0.526782214641571, 0.30545109510421753, -0.9040579199790955, -0.4399241507053375, 0.6344171166419983, 0.045370183885097504, -0.08003812283277512, 0.6825286149978638, 1.0564419031143188, -0.13347654044628143, -0.47379305958747864, 0.16092444956302643, 0.28092893958091736, 0.3550556004047394, 0.8343654274940491, 1.0414618253707886, -0.1519603580236435, 0.5062527060508728, 0.04614586383104324, -0.20903293788433075, -0.26090091466903687, -0.673538327217102, -1.1280345916748047, -0.25764933228492737, -0.27253589034080505, -0.5200907588005066, 0.015384914353489876, 0.9787156581878662, 0.5223920941352844, -0.8466578125953674, -0.2509383261203766, -0.17266994714736938, 0.38910865783691406, -0.3402582108974457, -0.24128668010234833, 0.24057482182979584, -0.4095398485660553, -0.43650954961776733, 0.5505644679069519, 0.41969895362854004, -0.13716867566108704, -0.49859628081321716, -0.4623560607433319, -0.05742020532488823, 0.3965509533882141, 0.8677818179130554, 0.08131270855665207, -1.2308443784713745, -0.34808632731437683, -0.09255372732877731, -0.15433575212955475, -0.0003016641712747514, 0.8239837884902954, -0.4879383444786072, 0.4327832758426666, 0.6478581428527832, 0.42363685369491577, 0.4258403182029724, -0.008283371105790138, 0.2324720025062561, -0.48265841603279114, -0.08231174945831299, 0.023399800062179565, 0.4521387219429016, 0.13273628056049347, -0.0415773019194603, 0.49432483315467834, 0.23193444311618805, -0.6041871905326843, -0.7635553479194641, 0.7775187492370605, -0.9032855033874512, -0.5274640321731567, 1.4584136009216309, -0.2199523001909256, -0.14111091196537018, -0.41248127818107605, -0.2811874449253082, 0.13798880577087402, -0.1964661329984665, 0.4551948606967926, 0.4677966237068176, -0.16946958005428314, -0.4444473683834076, -0.4335731863975525, 0.31285637617111206, 0.3555426597595215, -0.7873815298080444, 0.05221647769212723, 0.44116148352622986, 0.5901556015014648, 0.29487842321395874, 0.6982271075248718, -0.08064380288124084, 0.055234771221876144, -0.009188247844576836, -0.27384454011917114, -0.3239458203315735, -0.43151503801345825, -0.24213340878486633, 0.30644091963768005, 0.16477730870246887, 0.03614449128508568 ]
http://arxiv.org/abs/2404.02204v1
http://arxiv.org/pdf/2404.02204v1
Emergent Abilities in Reduced-Scale Generative Language Models
2024-04-02T18:00:28
2024-04-02T18:00:28
Sherin Muckatira, Vijeta Deshpande, Vladislav Lialin, Anna Rumshisky
cs.CL
cs.CL, cs.LG
Large language models can solve new tasks without task-specific fine-tuning. This ability, also known as in-context learning (ICL), is considered an emergent ability and is primarily seen in large language models with billions of parameters. This study investigates if such emergent properties are strictly tied to model size or can be demonstrated by smaller models trained on reduced-scale data. To explore this, we simplify pre-training data and pre-train 36 causal language models with parameters varying from 1 million to 165 million parameters. We show that models trained on this simplified pre-training data demonstrate enhanced zero-shot capabilities across various tasks in simplified language, achieving performance comparable to that of pre-trained models six times larger on unrestricted language. This suggests that downscaling the language allows zero-shot learning capabilities to emerge in models with limited size. Additionally, we find that these smaller models pre-trained on simplified data demonstrate a power law relationship between the evaluation loss and the three scaling factors: compute, dataset size, and model size.
[ -0.33779048919677734, -0.6351435780525208, 0.6598895788192749, 0.03652911260724068, -0.2265564203262329, -0.18702754378318787, -0.5203152298927307, -0.44710615277290344, -0.2711610794067383, 0.23300613462924957, -0.3578137755393982, 0.032276690006256104, -0.6887757182121277, 0.13038165867328644, -0.3791787326335907, 1.1265931129455566, 0.20468316972255707, -0.07035242766141891, -0.22356319427490234, 0.06538498401641846, -0.36792561411857605, -0.2651398479938507, -0.7648840546607971, -0.35570603609085083, 0.5060920715332031, 0.5656142234802246, 0.497176855802536, 0.6774081587791443, 0.40242382884025574, 0.18394231796264648, -0.13513019680976868, -0.3373875319957733, -0.6124897599220276, -0.011004907079041004, -0.0038271299563348293, -0.5597975254058838, -0.24311693012714386, 0.06659814715385437, 1.0940780639648438, 1.066129446029663, 0.08945440500974655, 0.3589226305484772, 0.26823484897613525, 0.4895697236061096, -0.6021998524665833, 0.25217753648757935, -0.7727543711662292, -0.010167596861720085, -0.06918908655643463, -0.0726342722773552, -0.6803313493728638, 0.2202661633491516, 0.22681038081645966, -0.45550310611724854, 0.4747767150402069, -0.20732291042804718, 0.7880926132202148, 0.29745057225227356, -0.5289531350135803, -0.04974135756492615, -1.0238041877746582, 0.7832475900650024, -0.8213793039321899, 0.15683554112911224, 0.12855631113052368, 0.17133048176765442, 0.11395419389009476, -0.6195662617683411, -0.49384549260139465, -0.4533560276031494, -0.298654705286026, -0.23148047924041748, -0.2695534825325012, 0.23914533853530884, 0.6786197423934937, 0.19814445078372955, -0.2775037884712219, 0.4235590696334839, -0.43231216073036194, 0.25015851855278015, 0.550708532333374, 0.17163841426372528, 0.3243553638458252, -0.21327953040599823, -0.09340547025203705, -0.05180737376213074, -1.0298751592636108, -0.04747052863240242, -0.04696289822459221, 0.7251775860786438, -0.29404494166374207, 0.3896521329879761, -0.012898383662104607, 0.6972382068634033, 0.2355487048625946, -0.2602335214614868, -0.13045039772987366, -0.28968843817710876, -0.42001399397850037, -0.036296237260103226, 0.5256273150444031, -0.2563653588294983, 0.04848499968647957, -0.20687228441238403, -0.016785135492682457, -0.4162013530731201, 0.12788517773151398, -0.9678134322166443, -0.08776118606328964, -0.16006970405578613, -0.40756285190582275, -0.13374939560890198, -0.18813346326351166, -0.2657046914100647, -0.3282298147678375, -0.16787183284759521, 0.7591779828071594, -0.3698391616344452, -0.4177664816379547, -0.17747388780117035, -0.1364344358444214, 0.4748023748397827, 0.3345582187175751, -0.9159830808639526, 0.29883137345314026, 0.25155624747276306, 0.8925538659095764, 0.34122878313064575, -0.24616916477680206, -0.42818036675453186, -0.06858917325735092, -0.6654943823814392, 0.3245996832847595, -0.5106095671653748, -0.21656417846679688, -0.2722983658313751, -0.05865562707185745, -0.416443407535553, -0.5584954619407654, 0.17650574445724487, -0.6059560775756836, -0.2530210614204407, -0.16334187984466553, -0.4900677800178528, -0.18391191959381104, -0.12451596558094025, -0.5639520287513733, 0.49903854727745056, 0.24133241176605225, -0.7328581809997559, 0.8450442552566528, -0.6156386137008667, -0.6366526484489441, 0.3967026174068451, -0.2899927496910095, -0.520513117313385, 0.5164200663566589, -0.07941866666078568, 0.7160509824752808, -0.49678462743759155, 0.14842164516448975, -0.38226959109306335, -0.22121579945087433, 0.006864647846668959, -0.6684401631355286, 0.9127921462059021, 0.10215030610561371, -0.5201006531715393, -0.05023815110325813, -0.8817537426948547, 0.006024716887623072, 0.20242522656917572, -0.4442903697490692, -0.2884761691093445, -0.0564548522233963, -0.13519731163978577, 0.4036722183227539, 0.13187536597251892, -0.538373589515686, 0.1033516600728035, -0.3890973925590515, 0.4376436769962311, 0.30600833892822266, 0.22348524630069733, 0.5762681365013123, -0.16419413685798645, 0.5661468505859375, 0.025078866630792618, 0.027718035504221916, -0.30575430393218994, -0.31738680601119995, -0.9506112337112427, -0.38979849219322205, 0.12440839409828186, 0.18901272118091583, -0.6423509120941162, 0.19662687182426453, -0.4253746569156647, -0.6724756360054016, -0.3209855258464813, 0.1912550926208496, 0.4614017605781555, 0.4837837517261505, 0.19587251543998718, 0.06489088386297226, -0.45613735914230347, -0.9572368860244751, 0.049918413162231445, -0.06856486201286316, -0.4376298785209656, 0.4094715714454651, 0.5933296084403992, 0.10267189890146255, 0.837307333946228, -0.31769752502441406, -0.23499856889247894, -0.6041422486305237, 0.34512123465538025, 0.12600493431091309, 0.5052857995033264, 0.6332186460494995, -0.5992496609687805, -0.5951457619667053, 0.15744751691818237, -0.7376495599746704, 0.071470245718956, -0.21472978591918945, 0.5741353631019592, 0.06548451632261276, 0.7671740651130676, -0.5280542373657227, 0.5217617750167847, 0.3425341546535492, -0.17858988046646118, 0.49657922983169556, -0.6882690191268921, -0.11713699996471405, -0.9970178008079529, -0.013312575407326221, -0.035971567034721375, 0.0915675088763237, -0.9911084771156311, 0.15384623408317566, 0.2652265131473541, -0.29692474007606506, -0.5545616745948792, 0.479292631149292, -0.6895096302032471, -0.20178534090518951, -0.2764207124710083, -0.04388776049017906, -0.12536083161830902, 0.414773166179657, 0.24788428843021393, 0.6800904870033264, 0.7807605266571045, -0.8316622376441956, -0.294698566198349, -0.17959795892238617, -0.4384952485561371, 0.23502637445926666, -0.7251942753791809, -0.12627580761909485, -0.27194783091545105, 0.0506637878715992, -0.8602035641670227, -0.4463168680667877, -0.45566850900650024, -0.14240281283855438, 0.5497345328330994, -0.2671341598033905, -0.6266553401947021, -0.21159309148788452, -0.08143258839845657, 0.5533813238143921, 0.5744760632514954, -0.48362573981285095, 0.28736934065818787, 0.034448135644197464, -0.06733265519142151, -0.11008725315332413, -0.7168872952461243, -0.20811080932617188, -0.40917521715164185, -0.31347426772117615, 0.24249118566513062, -0.17067116498947144, -0.18153856694698334, -0.07256847620010376, 0.39040592312812805, -0.19090186059474945, 0.23959384858608246, 0.20033879578113556, 0.009682965464890003, -0.36798095703125, 0.5114568471908569, 0.16202077269554138, 0.21040533483028412, -0.05937523767352104, -0.12225668877363205, 0.3704976737499237, -0.38329780101776123, -0.22217026352882385, -0.15848077833652496, 0.17785868048667908, 0.8095747232437134, -0.1371150016784668, 1.1946704387664795, 0.20563314855098724, -0.30574697256088257, -0.20323589444160461, -0.09338819235563278, -0.22352571785449982, -0.37468597292900085, 0.3895089626312256, -0.30348318815231323, -0.8737428188323975, 0.6376585364341736, 0.12958550453186035, -0.02790207788348198, 0.7660550475120544, 0.4228748679161072, 0.24346086382865906, 1.069122314453125, 0.9392091631889343, 0.29552462697029114, 0.6455621719360352, -0.3583047688007355, 0.2854463458061218, -1.0061935186386108, -0.11143678426742554, -0.4022623300552368, -0.07937468588352203, -0.6200118064880371, -0.3110998272895813, 0.5034082531929016, 0.35714957118034363, -0.6288487911224365, 0.35044199228286743, -0.12521816790103912, 0.48954448103904724, 0.3775814473628998, 0.11826331168413162, 0.23922540247440338, -0.22452183067798615, 0.05570881813764572, 0.1436651200056076, -1.065824031829834, -0.12316728383302689, 1.3221336603164673, 0.3320949077606201, 0.6930055618286133, 0.08809202909469604, 0.5134940147399902, -0.013123181648552418, 0.43434885144233704, -0.9221835732460022, 0.3982406258583069, -0.0761609673500061, -0.7863281965255737, -0.7175184488296509, -0.5678892731666565, -0.9552745819091797, 0.2762730121612549, -0.35217559337615967, -0.7300371527671814, 0.2943542003631592, 0.06808873265981674, -0.6500169038772583, 0.45527535676956177, -0.9566778540611267, 0.6900432705879211, -0.04162663221359253, -0.2412736713886261, -0.23695901036262512, -0.5567482113838196, 0.36194875836372375, -0.33243870735168457, 0.08636990189552307, -0.04292754828929901, 0.09477825462818146, 0.6904967427253723, -0.4671659469604492, 0.9878091812133789, -0.10876575857400894, -0.027898697182536125, 0.31942251324653625, 0.10199938714504242, 0.3275418281555176, 0.06724849343299866, 0.13799218833446503, 0.1400478035211563, -0.17495521903038025, -0.4327520728111267, -0.6274389624595642, 0.5278198719024658, -0.7145898342132568, -0.6167780756950378, -0.03876907750964165, -0.4395045340061188, -0.13769949972629547, 0.42863333225250244, 0.6060343980789185, 0.6119682192802429, -0.09133773297071457, 0.6992945671081543, 0.6925760507583618, -0.028934253379702568, 0.8664679527282715, 0.7848595976829529, -0.05205276980996132, 0.1680082529783249, 0.5814552307128906, 0.6742159128189087, 0.6254776120185852, 0.3985719680786133, 0.21317936480045319, 0.030088912695646286, -0.6320317983627319, -0.280572772026062, 0.15199019014835358, -0.5423177480697632, -0.2040642499923706, -0.4065391719341278, -0.645695149898529, -0.2976360321044922, -0.30926039814949036, -0.3953460156917572, -0.2013077288866043, -0.3480921685695648, -0.20895226299762726, 0.21504691243171692, 0.7291648387908936, -0.1965227723121643, 0.4385327100753784, -0.5953221321105957, -0.07782835513353348, 0.48047658801078796, 0.29539400339126587, 0.49115675687789917, -0.9048166275024414, -0.5600938200950623, -0.1730714589357376, -0.023401619866490364, -0.6501656174659729, 0.45594722032546997, 0.5515143275260925, 0.34957918524742126, 0.8198583722114563, -0.026745038107037544, 0.5438976287841797, -0.628939688205719, 0.5977641940116882, 0.21779827773571014, -0.8393648266792297, 0.6178271770477295, -0.5223167538642883, 0.727039098739624, 0.313833624124527, 0.4453047811985016, -0.07732515782117844, -0.27714958786964417, -0.984834611415863, -0.6173173785209656, 0.7504289150238037, 0.1572844237089157, 0.35212188959121704, -0.11837343126535416, 0.4794660806655884, 0.030781488865613937, 0.14785262942314148, -0.8961840271949768, -0.10653384774923325, 0.20358744263648987, 0.31607311964035034, -0.3970542252063751, -0.26579275727272034, 0.0590621642768383, -0.5749679803848267, 0.36475133895874023, -0.13865917921066284, 0.03029754012823105, -0.025654805824160576, -0.14393217861652374, -0.16205839812755585, 0.4656746983528137, 0.5498622059822083, 0.5368606448173523, -0.22589188814163208, 0.14689314365386963, 0.3166131377220154, -0.3956652879714966, 0.28059959411621094, -0.004022897221148014, -0.37523794174194336, -0.40344691276550293, 0.773524284362793, 0.9598115086555481, 0.6528542041778564, -0.6953310370445251, 0.5129404664039612, 0.01651613786816597, -0.1484219878911972, -0.29730066657066345, 0.12575845420360565, -0.1990319937467575, 0.07354094088077545, 0.5215122699737549, 0.11984234303236008, 0.0026446213014423847, -0.47202691435813904, 0.12629562616348267, 0.4383527636528015, -0.6528936624526978, -0.5580766797065735, 0.4896816313266754, -0.07481305301189423, -0.04353293776512146, 0.6703845858573914, -0.29243502020835876, 0.07682061940431595, 0.7745651006698608, 0.8257495164871216, 0.8327356576919556, -0.21550551056861877, 0.39401325583457947, 0.3989129960536957, 0.5350456833839417, 0.0842515379190445, -0.436111718416214, -0.19630977511405945, -0.8288294076919556, -0.4103652238845825, -0.6152178049087524, -0.010765152983367443, 0.6906933188438416, -0.6895415782928467, 0.10516726970672607, -0.6124182939529419, 0.03485272079706192, 0.1192481592297554, 0.06984180212020874, -0.9076329469680786, 0.2644852101802826, -0.1461048424243927, 0.6375581622123718, -1.0650641918182373, 0.842848539352417, 0.43590325117111206, -0.7003898024559021, -1.1406888961791992, 0.12307076901197433, -0.10479273647069931, -0.42402997612953186, 0.9631917476654053, 0.18604014813899994, -0.019612887874245644, 0.2361176609992981, -0.4812999367713928, -1.1160924434661865, 1.0576403141021729, 0.7630575895309448, -0.24667134881019592, -0.06845100224018097, -0.131087064743042, 0.7524587512016296, -0.6739345788955688, 0.23809608817100525, 0.5605173110961914, 0.004661897197365761, 0.17977502942085266, -1.030526876449585, 0.035798121243715286, 0.05878971889615059, 0.13007311522960663, 0.26505398750305176, -0.4944656789302826, 1.2102946043014526, -0.5924319624900818, -0.5615859031677246, -0.191711887717247, 0.37054717540740967, -0.17359809577465057, -0.05093248188495636, 0.311292439699173, 0.49640533328056335, 0.5067732334136963, 0.26154327392578125, 1.1490448713302612, -0.15418702363967896, 0.45067667961120605, 1.127657175064087, -0.199441596865654, 1.1369470357894897, 0.28779336810112, -0.03213389590382576, 0.5002609491348267, 0.4958574175834656, 0.32199621200561523, 0.4309154450893402, 0.06558898091316223, -0.4227007031440735, -0.3355698585510254, -0.09191402047872543, -0.07645532488822937, 0.5544653534889221, 0.3171386122703552, -0.5686970949172974, -0.426539808511734, 0.31752926111221313, 0.13024002313613892, -0.12162952870130539, -0.6525964140892029, 0.7903339862823486, 0.05715432018041611, -0.4376824200153351, 0.6200234889984131, -0.22216860949993134, 0.27591440081596375, -0.5746299624443054, -0.046931616961956024, -0.1268533319234848, 0.09347659349441528, -0.004785834811627865, -0.5070587396621704, 0.20100361108779907, -0.15017729997634888, -0.4225430190563202, 0.09838362038135529, 0.6376730799674988, -0.28535887598991394, -0.582059919834137, 0.3703254163265228, 0.34518155455589294, 0.02981915883719921, -0.029191553592681885, -0.22944284975528717, -0.3817281723022461, -0.2558101713657379, -0.19412106275558472, 0.5625351071357727, 0.39565739035606384, -0.11080241948366165, 0.7490434050559998, 0.3329811692237854, 0.2539992332458496, 0.11139923334121704, 0.07372725009918213, 0.7719917893409729, -0.35705894231796265, -0.2724810540676117, -0.7914232611656189, 0.40360602736473083, -0.03907302767038345, -0.08027168363332748, 0.8929585218429565, 0.33411499857902527, 0.9112253189086914, -0.31298625469207764, 0.7855554819107056, -0.24102194607257843, 0.26960474252700806, -0.41027605533599854, 0.7615857124328613, -0.5948461294174194, 0.13342997431755066, -0.10993275791406631, -0.6775199174880981, -0.3243674337863922, 0.2769617438316345, -0.6535735130310059, 0.30347245931625366, 0.6030945777893066, 0.5542984008789062, -0.02529893070459366, -0.5893877744674683, 0.8846273422241211, 0.2954390347003937, 0.22340074181556702, 0.5327810049057007, 0.30734944343566895, -0.2736499011516571, 0.3348299562931061, 0.011389708146452904, -0.5633150339126587, -0.304818719625473, -0.7962406873703003, -1.0024137496948242, -0.8371533751487732, -0.1343594491481781, 0.058456119149923325, -0.43535125255584717, 0.6229475140571594, 0.8986362814903259, -0.5714033246040344, -0.10341440141201019, -0.4134208858013153, 0.03211185708642006, -0.28852853178977966, -0.24451811611652374, 0.34788113832473755, -0.539703905582428, -0.3956875205039978, 0.4044463634490967, 0.4607582688331604, 0.20908114314079285, -0.4316948652267456, 0.10161609947681427, -0.14522826671600342, 0.36579185724258423, 0.8209480047225952, 0.6223514080047607, -0.4225924015045166, -0.4313041865825653, -0.380068302154541, 0.12580929696559906, -0.10275951772928238, 0.9281428456306458, -0.6713865399360657, 0.6086978316307068, 0.23669756948947906, 0.3547389507293701, 0.5171683430671692, -0.387778639793396, 0.472964346408844, -1.048710584640503, 0.46964484453201294, 0.042239367961883545, 0.31486883759498596, 0.18857800960540771, -0.4270212948322296, 0.12788474559783936, -0.01938617043197155, -0.3800605535507202, -0.6211846470832825, 0.45502012968063354, -0.349099338054657, -0.32526320219039917, 0.9797383546829224, -0.23521843552589417, -0.06374938786029816, 0.009817228652536869, 0.1818302571773529, 0.16902224719524384, 0.07002861797809601, 0.620011031627655, 0.5393288731575012, -0.38794633746147156, -0.38289427757263184, -0.5707499384880066, 0.8291088938713074, 0.10012473165988922, -0.7041296362876892, 0.24825140833854675, 0.3094055950641632, 0.213898703455925, 0.2676580250263214, 0.6403396725654602, 0.006616674363613129, 0.17104770243167877, 0.38942742347717285, -0.18581435084342957, 0.24670369923114777, -0.605212390422821, -0.6590054035186768, 0.4095403850078583, 0.4947059750556946, 0.19546376168727875 ]
http://arxiv.org/abs/2404.02138v2
http://arxiv.org/pdf/2404.02138v2
Topic-based Watermarks for LLM-Generated Text
2024-04-02T17:49:40
2024-04-16T07:28:05
Alexander Nemecek, Yuzhou Jiang, Erman Ayday
cs.CR
cs.CR, cs.CL, cs.LG
Recent advancements of large language models (LLMs) have resulted in indistinguishable text outputs comparable to human-generated text. Watermarking algorithms are potential tools that offer a way to differentiate between LLM- and human-generated text by embedding detectable signatures within LLM-generated output. However, current watermarking schemes lack robustness against known attacks against watermarking algorithms. In addition, they are impractical considering an LLM generates tens of thousands of text outputs per day and the watermarking algorithm needs to memorize each output it generates for the detection to work. In this work, focusing on the limitations of current watermarking schemes, we propose the concept of a "topic-based watermarking algorithm" for LLMs. The proposed algorithm determines how to generate tokens for the watermarked LLM output based on extracted topics of an input prompt or the output of a non-watermarked LLM. Inspired from previous work, we propose using a pair of lists (that are generated based on the specified extracted topic(s)) that specify certain tokens to be included or excluded while generating the watermarked output of the LLM. Using the proposed watermarking algorithm, we show the practicality of a watermark detection algorithm. Furthermore, we discuss a wide range of attacks that can emerge against watermarking algorithms for LLMs and the benefit of the proposed watermarking scheme for the feasibility of modeling a potential attacker considering its benefit vs. loss.
[ -0.36304745078086853, -0.8902485370635986, 0.48660701513290405, -0.015263398177921772, -0.7042312622070312, 0.24136371910572052, 0.005069558974355459, -0.3197931945323944, 0.5569040179252625, 0.916546642780304, -0.5625808238983154, -0.459731787443161, -0.7964925765991211, -0.03162829205393791, -0.6406072378158569, 0.8947243690490723, -0.0494738444685936, -0.3624591827392578, -0.31340599060058594, -0.010674317367374897, -0.5700496435165405, -0.8167843222618103, -0.48914214968681335, -0.20380987226963043, 0.47051313519477844, 0.31102344393730164, 0.12449084222316742, 0.7708063125610352, 0.5428685545921326, 0.20775453746318817, -0.37175479531288147, 0.032187145203351974, -0.44529658555984497, 0.4896289110183716, -0.11889049410820007, -0.28252461552619934, -0.0213139820843935, 0.0607430599629879, 0.6483656167984009, 0.19418096542358398, 0.2990056276321411, 0.03445233777165413, 0.05581623315811157, 0.6047252416610718, -0.6149603724479675, -0.12040351331233978, -0.9784203767776489, 0.21237105131149292, -0.6307055354118347, -0.49703752994537354, -0.37401944398880005, -0.05041182413697243, -0.13191163539886475, -0.19207358360290527, 0.09439908713102341, 0.09943140298128128, 0.9030435085296631, 0.0933099165558815, 0.006906980182975531, -0.4445309042930603, -0.623488187789917, 0.6812329888343811, -0.8522419929504395, 0.12651872634887695, 0.47128424048423767, 0.09192768484354019, -0.19392162561416626, -0.739281415939331, -0.5991476774215698, -0.05145585536956787, 0.24881158769130707, 0.09093490242958069, -0.25568631291389465, -0.35122770071029663, 0.33785632252693176, 0.31872183084487915, -0.39288467168807983, -0.03652685135602951, 0.18868331611156464, -0.21419334411621094, 0.4758971333503723, 0.2930300533771515, 0.44104087352752686, -0.06862721592187881, -0.4297955334186554, 0.03574606403708458, -1.0177751779556274, -0.11320530623197556, 0.48114222288131714, 0.3278178572654724, 0.030836038291454315, 0.6540407538414001, -0.06621237099170685, 0.4184706509113312, -0.07696820795536041, -0.29554465413093567, -0.35148897767066956, -0.07024576514959335, 0.12003803253173828, 0.12782971560955048, 0.641899585723877, 0.2922021746635437, 0.23544897139072418, -0.3201836347579956, -0.39067432284355164, -0.09257965534925461, 0.05020003765821457, -0.9389614462852478, -0.05981653556227684, 0.11717122793197632, -0.47557520866394043, -0.38603532314300537, 0.2431933581829071, -0.8267815709114075, -0.7825586795806885, -0.007231853436678648, 0.49674564599990845, -0.04643324017524719, -0.10521693527698517, -0.21698611974716187, -0.23320430517196655, -0.0705844908952713, 0.1981470137834549, -0.7884212136268616, 0.3429592251777649, 0.8138333559036255, 0.8822053670883179, -0.6222541928291321, -0.012797700241208076, -0.7516762018203735, 0.5984303951263428, -0.1395648866891861, 1.0236985683441162, -0.6741490960121155, -0.6001565456390381, -0.06559950113296509, -0.12688003480434418, 0.3196764290332794, -0.5474467277526855, -0.0057811131700873375, -0.7964270114898682, 0.24618549644947052, -0.28905582427978516, -1.0161255598068237, 0.25070348381996155, 0.301283061504364, -0.8462159037590027, 0.9004077911376953, -0.429577499628067, -1.1985247135162354, 0.23460185527801514, -0.6425641179084778, -0.3617636263370514, 0.2610648274421692, -0.2365466207265854, -0.6316388845443726, -0.10313145816326141, 0.026962686330080032, 0.44134992361068726, -0.3997822403907776, 0.4035322964191437, -0.24181564152240753, -0.4025358557701111, 0.6654780507087708, -0.7214919328689575, 0.4016381800174713, -0.05393753945827484, -0.5087947249412537, 0.205738827586174, -0.5412983894348145, -0.19448266923427582, 0.3928528130054474, -0.44999557733535767, -0.3040756583213806, 0.22693346440792084, 0.01961509883403778, -0.21309597790241241, 0.6677120327949524, -0.5452077388763428, -0.05279148370027542, -0.1937793642282486, 0.4651506543159485, 0.8841109275817871, 0.49939873814582825, 0.1255781203508377, -0.4434031844139099, 0.6175418496131897, -0.06099875271320343, -0.15276804566383362, -0.47228768467903137, -0.7638084292411804, -0.6540167331695557, -0.5017451047897339, 0.5386682152748108, 0.5737498998641968, -0.7206430435180664, 0.4161439538002014, -0.016616929322481155, -0.5044777989387512, 0.140371173620224, 0.21479350328445435, 0.26914867758750916, 0.47004279494285583, 0.22244785726070404, -0.37731504440307617, -0.22684431076049805, -0.7188007235527039, -0.42784184217453003, -0.1701904833316803, 0.08813098818063736, 0.4472029507160187, 0.49662870168685913, 0.08288231492042542, 1.1237850189208984, -0.7446327209472656, -0.1217355951666832, -0.22931712865829468, 0.2081446647644043, 0.026126282289624214, 0.5325936079025269, 0.4446301758289337, -0.7525738477706909, -0.4481552541255951, -0.3403392434120178, -0.36860889196395874, -0.5019823312759399, -0.0907672569155693, -0.08107960969209671, -0.06901130825281143, 0.7003639936447144, -0.4868559241294861, 0.6354421973228455, 0.32943636178970337, -0.5354602336883545, 0.5001084208488464, -0.07104919850826263, -0.17012502253055573, -1.1145219802856445, 0.047987423837184906, -0.05366532504558563, -0.2159847468137741, -0.4880372881889343, -0.02440168522298336, -0.14023981988430023, -0.537713348865509, -0.27404850721359253, 0.9718021154403687, -0.18003304302692413, -0.008984697051346302, -0.7328912019729614, -0.20688451826572418, 0.09061945974826813, 0.26625677943229675, 0.14398039877414703, 0.8452564477920532, 0.43941986560821533, -0.3291754722595215, 0.13327676057815552, -0.20742303133010864, 0.08278132230043411, 0.3872341513633728, -0.6885630488395691, 0.4224702715873718, -0.023716239258646965, 0.12987762689590454, -1.010088324546814, 0.18628689646720886, 0.5786384344100952, -0.25174686312675476, 0.48227977752685547, -0.368429571390152, -0.6010387539863586, 0.15905746817588806, -0.5001402497291565, 0.1653527319431305, 0.340484082698822, -0.4705708920955658, 0.3864038586616516, 0.38743162155151367, -0.4425959587097168, -0.4124978184700012, -0.5163939595222473, 0.5084506869316101, -0.6762293577194214, -0.2502373158931732, 0.726530909538269, -0.19322516024112701, -0.1158735379576683, 0.09579955041408539, -0.1253829151391983, -0.2498958557844162, 0.43958961963653564, 0.5017461776733398, 0.1344621330499649, -0.13945095241069794, -0.06132308393716812, -0.017932875081896782, -0.3971897065639496, -0.07296402752399445, -0.3058255612850189, 0.6540293097496033, 0.2344268262386322, -0.7533097267150879, -0.4935961067676544, 0.7553447484970093, 0.5292009711265564, -0.4350256621837616, 0.5468977093696594, 0.4402545392513275, -0.7358472943305969, -0.2475564032793045, -0.524200975894928, -0.3700270354747772, -0.5017728209495544, 0.12103135883808136, -0.0654793307185173, -0.8311284184455872, 0.5334983468055725, -0.22943809628486633, 0.11376947164535522, 0.3644067943096161, 0.43350210785865784, -0.23461195826530457, 0.28595051169395447, 0.5284508466720581, -0.2684480547904968, 0.784116268157959, -0.05835568532347679, 0.1604849100112915, -0.6131706237792969, -0.09156908839941025, -0.5701984763145447, -0.16684986650943756, -0.41387200355529785, -0.5106673836708069, -0.24400410056114197, 0.15835651755332947, -0.10748804360628128, 0.25832775235176086, -0.3968521058559418, 0.5609031319618225, 0.8074200749397278, -0.059601590037345886, 0.22606322169303894, 0.37025952339172363, -0.11185555160045624, -0.3169240951538086, -0.4392167925834656, -0.9291269779205322, 1.041246771812439, 0.2276698499917984, 0.49750858545303345, -0.09620943665504456, 1.1567469835281372, 0.7946998476982117, 0.4677700400352478, -0.41586652398109436, 0.6805998086929321, -0.1478760987520218, -0.42463523149490356, -0.4085052013397217, -0.29431483149528503, -1.0453941822052002, 0.0698603019118309, -0.2306651622056961, -0.7942339777946472, -0.14883865416049957, -0.19674131274223328, 0.09919959306716919, 0.5770640969276428, -0.2761927843093872, 0.674915075302124, -0.31293997168540955, -0.5774645209312439, -0.07171667367219925, -0.111357182264328, -0.24879248440265656, -0.33228734135627747, 0.1336362361907959, -0.3399546444416046, -0.1980522722005844, 1.0542691946029663, -0.32276907563209534, 0.9672338962554932, -0.4067053198814392, -0.3628580570220947, 0.4281957149505615, 0.08623918145895004, 0.4880983233451843, 0.33779653906822205, 0.02201089821755886, 0.24946565926074982, -0.3137233257293701, -0.24518504738807678, -0.37987232208251953, 0.5064523816108704, -0.34659066796302795, -0.9021481871604919, -0.4385887384414673, -0.3894596993923187, -0.06579959392547607, 0.3695865869522095, 0.0462079718708992, 0.5547225475311279, -0.15896908938884735, -0.029293673112988472, 0.6000840663909912, -0.40629926323890686, 0.8129839301109314, 0.5332539677619934, -0.10377490520477295, -0.6413503289222717, 1.401282787322998, 0.093760184943676, -0.16287243366241455, 0.587559700012207, 0.25653380155563354, -0.1660671979188919, -0.9481346011161804, -0.3683508038520813, 0.1249428391456604, -0.759161114692688, -0.44581273198127747, -0.30547213554382324, -0.21571099758148193, 0.20641720294952393, -0.1566382348537445, -0.1823825091123581, -0.32462117075920105, -0.6325249075889587, 0.3541030287742615, 0.4765714406967163, 0.613457441329956, 0.19332264363765717, 0.1407124102115631, -0.5929664969444275, 0.5336931347846985, 0.6961500644683838, 0.23003923892974854, 0.003134390339255333, -0.5376597046852112, 0.10334639251232147, -0.032751649618148804, -0.5486730337142944, -0.9332616329193115, 0.23836258053779602, 0.044059641659259796, 0.49693217873573303, 0.5418571829795837, 0.1034926325082779, 0.42416489124298096, -0.6357206106185913, 0.8538678884506226, 0.24410678446292877, -1.1109610795974731, 0.6457240581512451, -0.22013993561267853, -0.019482633098959923, 0.2073858231306076, -0.16104917228221893, -0.4865630269050598, -0.6291550397872925, -0.5285266637802124, -0.9579631686210632, 0.46373310685157776, 0.4034169912338257, 0.4736224114894867, -0.12664073705673218, 0.5456703305244446, 0.22646616399288177, 0.25812363624572754, -0.7699481248855591, -0.2630891799926758, -0.22801463305950165, -0.12144843488931656, 0.1913907676935196, -0.4764881432056427, -0.027809711173176765, 0.1391991227865219, 0.5993369817733765, -0.014541441574692726, 0.46422404050827026, 0.07409780472517014, -0.0062486291863024235, 0.1260804533958435, 0.318587064743042, 0.6593390703201294, 0.28716975450515747, -0.09252627938985825, 0.3861711919307709, 0.0036760582588613033, -0.35538530349731445, 0.324284166097641, 0.01334184966981411, -0.40275686979293823, 0.10552094131708145, 0.638410210609436, 0.5908846259117126, -0.048825737088918686, -0.8129803538322449, 0.49647367000579834, -0.07940828800201416, 0.002620187820866704, -0.16405917704105377, 0.021986519917845726, 0.5270336270332336, 0.277071088552475, 0.5560624003410339, -0.3125978708267212, -0.23546697199344635, -0.26858681440353394, 0.30595797300338745, 0.558648407459259, -0.30526578426361084, -0.15093985199928284, 0.6414217352867126, 0.20291349291801453, -0.5649099946022034, 0.16992346942424774, -0.09381218999624252, -0.7408611178398132, 0.8550496101379395, 0.6865079402923584, 0.8973069190979004, 0.08588668704032898, -0.03620615601539612, -0.022702984511852264, 0.2481047511100769, 0.10322674363851547, 0.39928972721099854, -0.12632299959659576, -0.7801274061203003, -0.02043674699962139, -0.4909175932407379, -0.7847520709037781, 0.39568018913269043, -0.3913719058036804, 0.08204080909490585, -0.6868947148323059, -0.308340847492218, -0.08438333123922348, -0.0011497058439999819, -0.15779221057891846, 0.17224889993667603, 0.5407060980796814, 0.5707259178161621, -0.6122637987136841, 0.7746309041976929, 0.7896751165390015, 0.0349806547164917, -0.16820015013217926, 0.4877226650714874, -0.30302202701568604, -0.5838017463684082, 0.5780382752418518, 0.30306944251060486, -0.102922722697258, -0.17363573610782623, -0.4010336995124817, -0.8837002515792847, 0.9933851957321167, 0.5036588311195374, -0.4348383843898773, 0.4764181077480316, 0.42590779066085815, 0.2722384035587311, -0.37800896167755127, -0.2788688838481903, 0.014218972064554691, 0.4161546528339386, -0.2619665563106537, -0.28536903858184814, 0.3308972418308258, -0.41763782501220703, 0.10228948295116425, 0.08288231492042542, -0.4883742034435272, 0.7328125834465027, 0.2517363131046295, -0.21059945225715637, 0.05106809362769127, 0.6578332185745239, 0.5713357329368591, 0.47093600034713745, 0.3554682433605194, 0.4335269331932068, 0.7366772890090942, -0.06192765384912491, 0.7546490430831909, -0.4251468777656555, 0.33262717723846436, 0.9067088961601257, -0.4945492148399353, 0.8598830699920654, 0.7408010959625244, -0.14845743775367737, 0.2487623691558838, 0.5124956965446472, -0.3913513720035553, 0.804510235786438, 0.7233011722564697, -0.31687238812446594, -0.1736958920955658, -0.4115593433380127, -0.46243375539779663, 0.15410734713077545, 0.372211754322052, -0.35522404313087463, -0.004235598724335432, -0.1917320191860199, -0.012097951956093311, 0.10383821278810501, -0.07238798588514328, 0.8245018124580383, 0.14873459935188293, -0.24130496382713318, 0.3133983314037323, 0.45426809787750244, 0.8892322778701782, -0.47457942366600037, -0.06086896359920502, -0.3913991451263428, -0.2317187637090683, 0.0723123773932457, -0.612438440322876, 0.13726086914539337, 0.380379319190979, -0.23268572986125946, -0.4305640459060669, 1.1641066074371338, -0.40033894777297974, -0.3537764251232147, 0.1526394933462143, 0.5918270945549011, 0.08454560488462448, -0.17910321056842804, -0.6172882318496704, 0.12916287779808044, -0.0330081470310688, -0.348969042301178, 0.4214070737361908, 0.4186277389526367, -0.08557084202766418, 0.7100287675857544, 0.6952869892120361, 0.24650901556015015, -0.06523636728525162, 0.005008656531572342, 0.7485518455505371, -0.76580810546875, -0.67947918176651, -1.2716071605682373, -0.038603391498327255, -0.09773655980825424, -0.15333357453346252, 0.5296347737312317, 0.43530362844467163, 0.2660036087036133, 0.016902191564440727, 0.9350199103355408, 0.28745949268341064, 0.15520872175693512, -0.6760966181755066, 0.8123842477798462, -0.5559806227684021, 0.5944424271583557, -0.5289243459701538, -0.9932921528816223, -0.26032575964927673, 0.35346272587776184, -0.028387119993567467, -0.12762616574764252, 0.5304146409034729, 0.6073131561279297, 0.08489242941141129, 0.122433602809906, 0.25992175936698914, -0.5123708248138428, 0.5334439873695374, 0.32230910658836365, 1.0507160425186157, -0.13257332146167755, 0.4721735119819641, -0.28483283519744873, 0.08450496196746826, -0.1944429725408554, -1.2503750324249268, -1.1305066347122192, -0.4968051612377167, -0.6824409365653992, -0.056214962154626846, 0.04745108634233475, 0.5976727604866028, 0.5161418914794922, -0.9933720231056213, -0.1023983284831047, -0.16235452890396118, 0.3101634979248047, 0.08557761460542679, -0.21319876611232758, 0.6464434266090393, 0.18443801999092102, -0.41104793548583984, 0.336241751909256, 0.4376043975353241, 0.5358366966247559, -0.1963540017604828, -0.043082498013973236, 0.12661021947860718, 0.36523085832595825, 0.24863065779209137, 0.16068290174007416, -0.7105370759963989, -0.2811596095561981, -0.2394525557756424, -0.03295954316854477, -0.038581717759370804, 1.001919150352478, -0.5184080600738525, 0.12247350811958313, 0.33477717638015747, 0.8514425754547119, 0.5195139646530151, -0.07117930054664612, 0.2591720521450043, -0.8412706255912781, 0.1730576902627945, 0.1957605630159378, 0.4842970669269562, 0.5274789929389954, -0.2753438651561737, 0.17795273661613464, 0.6259843707084656, 0.08300210535526276, -0.9862284064292908, 0.10611264407634735, -0.5797163248062134, -0.4741431474685669, 1.1053400039672852, -0.4687718451023102, 0.1291159987449646, -0.22609977424144745, -0.2726162374019623, 0.12150734663009644, -0.5350253582000732, 0.797512412071228, 0.8414154052734375, 0.2959447205066681, 0.15698465704917908, -0.27598604559898376, 0.26204144954681396, 0.4583916962146759, -1.04703950881958, 0.3017677068710327, -0.003398762783035636, 0.40814584493637085, 0.12604251503944397, 0.48410141468048096, -0.152342289686203, 0.16591192781925201, -0.07585272192955017, 0.10854167491197586, -0.20078089833259583, -0.16526204347610474, -0.18940357863903046, 0.4268239438533783, 0.1695457249879837, -0.22481894493103027 ]
http://arxiv.org/abs/2404.02127v1
http://arxiv.org/pdf/2404.02127v1
FLawN-T5: An Empirical Examination of Effective Instruction-Tuning Data Mixtures for Legal Reasoning
2024-04-02T17:33:34
2024-04-02T17:33:34
Joel Niklaus, Lucia Zheng, Arya D. McCarthy, Christopher Hahn, Brian M. Rosen, Peter Henderson, Daniel E. Ho, Garrett Honke, Percy Liang, Christopher Manning
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2
Instruction tuning is an important step in making language models useful for direct user interaction. However, many legal tasks remain out of reach for most open LLMs and there do not yet exist any large scale instruction datasets for the domain. This critically limits research in this application area. In this work, we curate LawInstruct, a large legal instruction dataset, covering 17 jurisdictions, 24 languages and a total of 12M examples. We present evidence that domain-specific pretraining and instruction tuning improve performance on LegalBench, including improving Flan-T5 XL by 8 points or 16\% over the baseline. However, the effect does not generalize across all tasks, training regimes, model sizes, and other factors. LawInstruct is a resource for accelerating the development of models with stronger information processing and decision making capabilities in the legal domain.
[ -0.2353234589099884, -0.5508594512939453, 0.46172311902046204, -0.09041645377874374, -0.17251737415790558, -0.16481754183769226, -0.20322158932685852, -0.18874816596508026, -0.24142692983150482, 0.7831907272338867, -0.46597737073898315, -0.9524432420730591, -0.3207114338874817, -0.29595038294792175, -0.5660586953163147, 0.8863521218299866, 0.12215093523263931, 0.3566324710845947, -0.2961727976799011, -0.2398754060268402, -0.7697190046310425, -0.3885899484157562, -0.33930256962776184, -0.10771220177412033, 0.2899397611618042, 0.609005331993103, 0.34928640723228455, 0.8048443794250488, 0.47737085819244385, 0.27603715658187866, 0.2993251085281372, -0.12652276456356049, -0.6926407217979431, -0.016966495662927628, -0.45617514848709106, -0.9204190969467163, -0.5217185616493225, 0.10008081048727036, 0.30696865916252136, 0.6675428152084351, -0.6065219044685364, 0.0038198025431483984, -0.29861271381378174, 0.592289388179779, -1.0048539638519287, -0.14781111478805542, -0.532981812953949, 0.20225220918655396, -0.4853406548500061, -0.1831904649734497, -0.6197566986083984, -0.457752525806427, -0.10448100417852402, -0.7103972434997559, 0.555447518825531, 0.46702685952186584, 0.820345401763916, 0.5460337996482849, -0.5318310856819153, -0.29301902651786804, -0.5672593712806702, 0.8021007180213928, -0.9416239261627197, 0.6469990611076355, 0.4094773530960083, 0.3435058295726776, -0.3746224343776703, -0.8328874707221985, -0.352581650018692, -0.05995124205946922, 0.2917158603668213, 0.31004369258880615, 0.1395372897386551, 0.5146670341491699, 0.6034133434295654, 0.3772840201854706, -0.4670310914516449, 0.44670259952545166, -0.39427071809768677, -0.25571098923683167, 0.6770559549331665, 0.3441280722618103, 0.37201762199401855, 0.279959499835968, 0.04220154508948326, -0.3075392544269562, -0.9681504964828491, 0.03320220857858658, 0.7303851246833801, 0.12208716571331024, 0.03432189300656319, 0.5739725232124329, 0.1338586062192917, 0.8547618389129639, 0.32133862376213074, -0.2392328977584839, 0.11004894971847534, -0.2939983010292053, -0.46291643381118774, 0.35959091782569885, 0.5406573414802551, 0.2033507525920868, 0.125255286693573, -0.15370775759220123, -0.4748079478740692, -0.31742560863494873, 0.5555904507637024, -0.9245452284812927, -0.2849904000759125, 0.3155129551887512, -0.3187935948371887, -0.13688424229621887, 0.47412043809890747, -0.6012105345726013, -0.5636274218559265, -0.5780614614486694, 0.24116866290569305, -0.6088826060295105, -0.04327360913157463, 0.45455971360206604, -0.19500142335891724, 0.4208992123603821, 0.371151864528656, -0.924976646900177, 0.3441479802131653, 0.8594165444374084, 0.28469812870025635, -0.001205660286359489, -0.0882958173751831, -0.8499748110771179, 0.08215401321649551, -0.5748971700668335, 0.6300066709518433, -0.9271402955055237, -0.37758126854896545, 0.04467550665140152, 0.03917448967695236, -0.2255024015903473, -1.0639753341674805, 0.8365410566329956, -0.612952709197998, 0.09084848314523697, -0.35719072818756104, -1.055149793624878, -0.16627171635627747, -0.10888867825269699, -0.7469072937965393, 0.765949010848999, 0.2561049163341522, -0.4727887213230133, 0.9631791114807129, -0.7798307538032532, -0.7750114798545837, -0.027836155146360397, -0.379845529794693, -0.6704085469245911, 0.2615843117237091, 0.10480712354183197, 0.3898434042930603, -0.19686265289783478, 0.3148968815803528, -0.44158631563186646, -0.6057667136192322, 0.02717902697622776, -0.07495429366827011, 0.9026597738265991, 0.3081026077270508, -0.7664685845375061, 0.08317308872938156, -0.7097399234771729, -0.08556003868579865, -0.12606729567050934, -0.26139479875564575, -0.3541555106639862, 0.05865158513188362, -0.44260281324386597, 0.07754766196012497, -0.1103968620300293, -0.45331165194511414, 0.09138315916061401, -0.4358665347099304, 0.07318871468305588, 0.7507147789001465, -0.048022061586380005, 0.3920125365257263, -0.22142867743968964, 0.8262064456939697, 0.44211313128471375, -0.045563019812107086, -0.006560677196830511, -0.08950715512037277, -0.9720735549926758, -0.14206582307815552, 0.7042698264122009, 0.6275579333305359, -0.7427907586097717, 0.3821922540664673, -0.23614396154880524, -0.04037446528673172, -0.7964668273925781, 0.17595216631889343, 0.3885318636894226, 0.2969438135623932, 0.28654223680496216, -0.1774413287639618, -0.5072147250175476, -0.8552249073982239, -0.51661217212677, 0.39920517802238464, 0.14040668308734894, 0.4003658592700958, 0.49550288915634155, 0.1768028289079666, 0.6126761436462402, -0.19438444077968597, -0.1169184073805809, -0.22249016165733337, 0.06817079335451126, 0.18316365778446198, 0.33281171321868896, 0.7084234356880188, -0.3897225856781006, -0.4823410212993622, 0.05495716631412506, -0.7067070603370667, -0.2169346958398819, -0.11247037351131439, -0.1614367812871933, 0.11195389181375504, 0.4874608814716339, -0.2062220275402069, 0.5744065642356873, -0.07244610041379929, -0.3930658996105194, 0.45418983697891235, -0.2982482612133026, 0.38792410492897034, -0.9195426106452942, -0.22956116497516632, -0.08326049894094467, -0.206649512052536, -0.49903714656829834, 0.13732047379016876, 0.22478128969669342, -0.0458262637257576, -0.5924402475357056, 0.2251836210489273, -0.49023669958114624, -0.2710437774658203, -0.2110590785741806, -0.019739076495170593, -0.1918260157108307, 0.21070405840873718, -0.3494398891925812, 1.240671157836914, 0.5339588522911072, -0.6508071422576904, 0.25674140453338623, -0.056050464510917664, -0.6524841785430908, 0.7308436036109924, -0.45825791358947754, 0.1310417652130127, -0.0665581077337265, -0.045423056930303574, -0.3893379271030426, -0.587813675403595, 0.05375353991985321, 0.2036452442407608, 0.5459674000740051, -0.24640142917633057, -0.5926291942596436, -0.19416357576847076, -0.25097644329071045, 0.2228185087442398, 0.4696778357028961, -0.4990006983280182, 0.5648288130760193, 0.33834555745124817, 0.2938554584980011, -0.7254520058631897, -0.6424717307090759, -0.04600587114691734, -0.5375592112541199, -0.6117548942565918, 0.3420821726322174, 0.14942820370197296, -0.4517129361629486, 0.06419268250465393, -0.23877857625484467, -0.19622738659381866, 0.06805640459060669, 0.1454439014196396, -0.12472353875637054, -0.5963637828826904, -0.001171135576441884, 0.3726904094219208, 0.23582956194877625, 0.30206918716430664, -0.4192616939544678, 0.28904619812965393, 0.07716194540262222, -0.5743288993835449, -0.4474595785140991, 0.039777662605047226, 0.2618595361709595, -0.16281066834926605, 0.6661814451217651, 0.3557370603084564, 0.05238206684589386, -0.7136978507041931, -0.5598814487457275, -0.19338753819465637, -0.5430520176887512, 0.3587534725666046, -0.49623385071754456, -0.9213371872901917, 0.2849366068840027, -0.15315750241279602, 0.3632577657699585, 0.3091360926628113, 0.41525042057037354, -0.23935233056545258, 0.5906915664672852, 0.34931662678718567, 0.08564458787441254, 0.5817081332206726, -0.06581798940896988, 0.25928062200546265, -0.3121821880340576, -0.15129435062408447, -0.4025011956691742, -0.3123532235622406, -0.5654330253601074, -0.34792229533195496, 0.33157530426979065, -0.16863295435905457, -0.3447812795639038, 0.2186814844608307, -0.033753104507923126, 0.9346883893013, 0.6935831904411316, 0.3896445035934448, -0.023860875517129898, 0.14795947074890137, -0.21878421306610107, -0.07803421467542648, -0.9604532718658447, -0.1882549524307251, 1.4109363555908203, -0.02170724794268608, 0.7591426372528076, 0.1724737286567688, 0.9494668841362, 0.27137282490730286, 0.028714995831251144, -0.7015254497528076, 0.6147192120552063, -0.726104736328125, -0.7302326560020447, -0.14496026933193207, -0.49597811698913574, -1.014457106590271, -0.04345478489995003, -0.10390377044677734, -0.41558584570884705, 0.008776180446147919, 0.26452046632766724, -0.39620649814605713, 0.29383331537246704, -0.8512148857116699, 0.9556090831756592, -0.5013700127601624, -0.7242962718009949, -0.4803362488746643, -0.5602011680603027, 0.5053431987762451, -0.11077045649290085, 0.1513274610042572, -0.01149589940905571, 0.19503606855869293, 0.6995130181312561, -0.8830767273902893, 0.8006924986839294, -0.4746125340461731, -0.26971787214279175, 0.40774035453796387, 0.030248405411839485, 0.44003015756607056, -0.3595646917819977, -0.12370916455984116, -0.2692318558692932, -0.023720519617199898, -0.37474730610847473, -0.9574869275093079, 0.5779238939285278, -0.6052952408790588, -0.7895915508270264, -0.11768796294927597, -0.5419898629188538, -0.31286078691482544, 0.28884121775627136, 0.12668940424919128, 0.5616713762283325, -0.05010887607932091, 0.44735094904899597, 1.1071453094482422, -0.2815752923488617, 0.20135867595672607, 0.4397796392440796, 0.14494910836219788, -0.1535201221704483, 1.162179708480835, 0.1332859992980957, 0.01178846787661314, 0.26178932189941406, 0.06555993854999542, -0.259169340133667, -0.6098247170448303, -0.2637692987918854, 0.09076334536075592, -0.9169705510139465, -0.04288021847605705, -0.1404798924922943, -0.04255246743559837, -0.2587413787841797, -0.0002899851242545992, -0.4429769217967987, -0.2767146825790405, -0.17582955956459045, -0.15733502805233002, 0.11723797023296356, 0.8238179087638855, 0.252707839012146, 0.1772606521844864, -0.5431934595108032, 0.0875210240483284, 0.02838711068034172, 0.5500860214233398, -0.3180525004863739, -0.7470601201057434, -0.3243849277496338, 0.047263022512197495, -0.1702648401260376, -0.516307532787323, -0.12585072219371796, 0.28861764073371887, 0.8545562028884888, 0.6598179340362549, 0.11165637522935867, 0.8800783157348633, -0.4982154369354248, 0.6607756614685059, -0.05536101758480072, -0.9140732288360596, 0.5941693186759949, -0.2622578740119934, 0.07627948373556137, 0.6944643259048462, 0.19624702632427216, 0.14565108716487885, -0.31951388716697693, -0.6895339488983154, -0.6546643972396851, 1.0037227869033813, 0.15330539643764496, 0.04390784725546837, 0.4799618721008301, 0.5205744504928589, 0.32555335760116577, 0.16911210119724274, -0.3304379880428314, -0.1324310153722763, -0.3047453761100769, -0.5423890948295593, 0.2886461615562439, 0.0516795739531517, -0.12716853618621826, -0.3946431875228882, 0.6401973366737366, 0.18491008877754211, 0.13718707859516144, -0.45298346877098083, -0.21429602801799774, 0.2194623500108719, 0.2717476189136505, 1.0205304622650146, 0.6379667520523071, 0.03831419721245766, 0.18987856805324554, 0.2197454273700714, -0.5953506827354431, 0.28129497170448303, -0.10755828022956848, 0.016195286065340042, -0.29238229990005493, 0.5447512865066528, 1.022779107093811, 0.21018144488334656, -0.7129250168800354, 0.5581235885620117, 0.10999373346567154, -0.5700246691703796, -0.08983348309993744, 0.9164505004882812, -0.1423889696598053, 0.21371346712112427, -0.14976508915424347, -0.15445899963378906, 0.22277987003326416, -0.3940558135509491, 0.2631608545780182, 0.020270366221666336, -0.22045040130615234, -0.1939222812652588, 0.7752446532249451, 0.11311852931976318, -0.0044484492391347885, 0.7155425548553467, -0.10382028669118881, -0.09496369957923889, 0.7652826905250549, 0.4479123055934906, 0.6781639456748962, -0.11891378462314606, -0.026026200503110886, 0.31855377554893494, 0.2854861617088318, -0.16816362738609314, 0.3442470133304596, -0.10632749646902084, -0.6047222018241882, -0.44899898767471313, -0.19802060723304749, -0.24909134209156036, 0.27356383204460144, -0.6138530373573303, 0.3429149389266968, -0.6028507947921753, 0.0017624397296458483, -0.12628883123397827, -0.2631092369556427, -0.6710792183876038, 0.3926349878311157, -0.283683717250824, 0.7455400228500366, -0.6066506505012512, 0.8348795771598816, 0.686671793460846, -0.4572545289993286, -0.8580479025840759, 0.16550223529338837, 0.18641434609889984, -0.6209474205970764, 0.7112905383110046, -0.03575461357831955, -0.06964319199323654, -0.054206445813179016, -0.88646399974823, -0.3738726079463959, 1.0338494777679443, 0.7504368424415588, -0.7567759156227112, 0.23630352318286896, 0.6082296371459961, 0.37226954102516174, -0.25529909133911133, 0.09866402298212051, 0.8657829165458679, 0.4529980719089508, 0.07006527483463287, -0.5626405477523804, -0.06963711231946945, -0.07526910305023193, -0.29344499111175537, 0.31159424781799316, -0.4346848428249359, 0.4353320598602295, -0.08009406179189682, -0.15622162818908691, -0.38058722019195557, 0.5994580984115601, 0.24554964900016785, 0.23741957545280457, 0.4290400445461273, 0.8397849202156067, 1.0308455228805542, -0.21620364487171173, 1.0546635389328003, -0.47303611040115356, 0.05984913185238838, 1.3197021484375, -0.38880297541618347, 0.43783748149871826, 0.30746811628341675, -0.14711228013038635, 0.4269610345363617, 0.7113339304924011, -0.1449321061372757, 0.4254671335220337, 0.2636880576610565, -0.29083484411239624, -0.4737851023674011, -0.02623762935400009, -0.22526493668556213, 0.393766313791275, 0.4096318781375885, -0.36669108271598816, -0.06148490309715271, -0.1215493306517601, 0.07632041722536087, -0.03655827417969704, -0.24806658923625946, 0.7556332945823669, 0.000618847378063947, -0.6706733107566833, 0.36821305751800537, 0.10320253670215607, 0.26426100730895996, -0.35419008135795593, -0.13741406798362732, -0.5446306467056274, 0.16757969558238983, -0.36644652485847473, -0.715796709060669, 0.1118197962641716, 0.04433080181479454, 0.12299907207489014, -0.14175982773303986, 0.6710021495819092, -0.40743789076805115, -0.20507273077964783, -0.05102251470088959, 0.2667832374572754, 0.30077725648880005, 0.2509581744670868, -0.6172480583190918, -0.10153970867395401, 0.04455183818936348, -0.13628169894218445, 0.260827898979187, 0.8284074664115906, -0.19639287889003754, 0.5493867993354797, 0.35391828417778015, -0.03536998853087425, 0.3291698098182678, 0.42522165179252625, 0.8094498515129089, -0.7100637555122375, -0.3852212429046631, -0.5862888693809509, 0.5811787247657776, -0.23394806683063507, -0.32645174860954285, 0.7101308107376099, 0.7962323427200317, 1.0053629875183105, -0.15989603102207184, 0.7971916198730469, -0.012333337217569351, 0.2193990796804428, -1.1593035459518433, 0.50472491979599, -0.6375885605812073, 0.4716617166996002, 0.015004043467342854, -0.8056870102882385, -0.2711116671562195, 0.47900351881980896, -0.5205347537994385, 0.344653844833374, 0.7955835461616516, 0.900270938873291, -0.7086219191551208, 0.06560068577528, 0.5497010946273804, 0.08958877623081207, 0.27760565280914307, 0.3310586214065552, 0.6604942083358765, -0.29720279574394226, 0.27985063195228577, -0.1966465413570404, 0.16433024406433105, -0.26248642802238464, -0.6068442463874817, -1.1697732210159302, -0.13985539972782135, -0.2739519476890564, -0.24037139117717743, 0.2815159857273102, 0.8701393604278564, 0.7118876576423645, -1.1611077785491943, -0.4098389148712158, -0.36134350299835205, -0.12270834296941757, 0.04100880026817322, -0.23461520671844482, 0.26625025272369385, -0.759637176990509, -0.5427238345146179, 0.6531590223312378, 0.1906360685825348, -0.06747084856033325, 0.0893651619553566, -0.1544060856103897, -0.005559515208005905, 0.15475474298000336, 0.3503428101539612, 0.08911518007516861, -0.6639117002487183, -0.24057120084762573, -0.05606309324502945, -0.08199933171272278, 0.19663284718990326, 1.2575045824050903, -0.0864662379026413, 0.6150551438331604, 0.3040967285633087, 0.9620010852813721, 0.6141912341117859, 0.1443699598312378, 0.8503807783126831, -0.8019849061965942, 0.27294954657554626, 0.1529734879732132, 0.40065547823905945, -0.040111955255270004, -0.2521756589412689, 0.6663660407066345, 0.25797605514526367, -0.38875651359558105, -0.46823111176490784, 0.03409845754504204, -0.5740891098976135, -0.34341612458229065, 0.9647208452224731, -0.28321340680122375, -0.2732309103012085, -0.2099711298942566, -0.0531858466565609, 0.14529526233673096, -0.422087699174881, 0.6815213561058044, 0.9497057795524597, -0.13348686695098877, -0.35352134704589844, -1.0003361701965332, 0.4695153832435608, 0.7119289040565491, -1.0791394710540771, -0.2106981724500656, 0.7024611830711365, 0.37555035948753357, -0.49067723751068115, 0.1921771913766861, 0.0582180954515934, 0.47412893176078796, 0.3020193576812744, 0.10109708458185196, -0.21861593425273895, -0.35141777992248535, -0.16482053697109222, 0.2149491012096405, -0.07351166754961014, 0.0013459428446367383 ]
http://arxiv.org/abs/2404.02126v1
http://arxiv.org/pdf/2404.02126v1
Rematch: Robust and Efficient Matching of Local Knowledge Graphs to Improve Structural and Semantic Similarity
2024-04-02T17:33:00
2024-04-02T17:33:00
Zoher Kachwala, Jisun An, Haewoon Kwak, Filippo Menczer
cs.CL
cs.CL, cs.IR
Knowledge graphs play a pivotal role in various applications, such as question-answering and fact-checking. Abstract Meaning Representation (AMR) represents text as knowledge graphs. Evaluating the quality of these graphs involves matching them structurally to each other and semantically to the source text. Existing AMR metrics are inefficient and struggle to capture semantic similarity. We also lack a systematic evaluation benchmark for assessing structural similarity between AMR graphs. To overcome these limitations, we introduce a novel AMR similarity metric, rematch, alongside a new evaluation for structural similarity called RARE. Among state-of-the-art metrics, rematch ranks second in structural similarity; and first in semantic similarity by 1--5 percentage points on the STS-B and SICK-R benchmarks. Rematch is also five times faster than the next most efficient metric.
[ -0.259891539812088, -0.5048781633377075, 0.5467115640640259, -0.0338769257068634, -0.3854670822620392, 0.37546584010124207, 0.05746116489171982, -0.48768219351768494, 0.7762861847877502, 0.28086188435554504, -0.1893732249736786, -0.4493274688720703, -0.5189377069473267, 0.2818663716316223, -0.31979265809059143, 0.6181666851043701, -0.47404593229293823, 0.19071683287620544, -0.6799864768981934, -0.8405823707580566, -0.1689639687538147, -0.5110974311828613, -0.5386783480644226, -0.6176965832710266, 0.5988416075706482, -0.04844578728079796, 0.8782166838645935, 0.7881253361701965, 0.6331185102462769, 0.43561744689941406, -0.04512032866477966, -0.0842505544424057, -0.5474382638931274, 0.3027189075946808, -0.259537011384964, -0.17230820655822754, -0.33218687772750854, -0.2766682505607605, 0.9821993112564087, 1.0526878833770752, 0.10800948739051819, -0.010533532127737999, 0.04837295413017273, 0.961901843547821, -0.49073219299316406, 0.15872250497341156, -0.9079402685165405, 0.07690016180276871, -0.5008158087730408, -0.2875312864780426, -0.026638543233275414, -0.7161210775375366, 0.03343928977847099, -0.6231987476348877, 0.15202882885932922, 0.44187861680984497, 1.2686548233032227, 0.13075251877307892, -0.5865874290466309, 0.13480094075202942, -0.22847263514995575, 0.34426620602607727, -0.43592962622642517, 0.5331763029098511, -0.07279299944639206, 0.5790761113166809, -0.407809317111969, -0.9936215877532959, -0.75001460313797, -0.05560057610273361, -0.27249786257743835, 0.14732903242111206, -0.7350673675537109, 0.0557597391307354, -0.047452960163354874, 0.5527524948120117, -0.534936785697937, -0.16101497411727905, -0.35804635286331177, -0.5656852722167969, 0.22622491419315338, 0.3861476480960846, 0.19332778453826904, -0.3008623719215393, -0.6292256116867065, -0.29948312044143677, -0.5998245477676392, -0.24774077534675598, 0.44689932465553284, 0.31156614422798157, 0.24457423388957977, 0.6052218079566956, -0.6101329326629639, 0.9617841839790344, -0.26057112216949463, 0.04983774945139885, 0.5335908532142639, -0.651901125907898, 0.0685228556394577, 0.16504602134227753, 0.9049819707870483, 0.6539705395698547, 0.0297207310795784, -0.5412688851356506, -0.03975655511021614, 0.29798778891563416, 0.1427847295999527, -0.6890557408332825, -0.2901778817176819, -0.17361608147621155, -0.6063138842582703, -0.04663843661546707, 0.06205148994922638, -0.47532162070274353, -0.3084787428379059, -0.20555433630943298, 0.606224000453949, -0.43169450759887695, -0.009543846361339092, 0.11400506645441055, -0.5704001188278198, 0.25413641333580017, 0.12415499240159988, -0.4812910258769989, 0.4321410059928894, 0.7315954566001892, 1.0381108522415161, -0.3719901442527771, -0.03554278612136841, -0.4304690957069397, 0.14992962777614594, -0.1793259084224701, 1.059407114982605, -0.6202763319015503, 0.03803270682692528, -0.2931455373764038, -0.16755712032318115, -0.1482435166835785, -0.7369293570518494, 0.43317654728889465, -0.7303526401519775, -0.13224950432777405, -0.37253615260124207, -0.8184556365013123, -0.184000626206398, 0.5849972367286682, -0.9356684684753418, 0.9965585470199585, 0.3149355947971344, -1.190567135810852, 0.5192188620567322, -0.23888640105724335, -0.4576166868209839, 0.0981517806649208, -0.16463856399059296, -0.4345640540122986, -0.19209054112434387, -0.24525728821754456, 0.1995813548564911, -0.14618802070617676, -0.2208145409822464, -0.948223352432251, -0.37846988439559937, 0.09484206140041351, 0.018888939172029495, 0.16631464660167694, 0.15928864479064941, -0.053253911435604095, 0.15245071053504944, -0.8305575847625732, 0.23729272186756134, 0.0019557829946279526, -0.24752134084701538, -0.9078150391578674, 0.0773097351193428, -0.3459905683994293, 0.06726976484060287, 0.5359042286872864, -0.717042863368988, 0.15975697338581085, -0.6922935247421265, 0.3449026942253113, 0.5684362649917603, 0.06784330308437347, 0.38545355200767517, -0.5402626395225525, 0.3362513482570648, 0.012110699899494648, -0.28423187136650085, 0.21375159919261932, -0.4408358931541443, -0.40224775671958923, -0.21617069840431213, 0.5523828864097595, 0.3022770285606384, -0.5934893488883972, 0.19690920412540436, -0.7214797139167786, -0.653523325920105, -0.7898402810096741, -0.06429227441549301, 0.4463047981262207, 0.5937753319740295, 0.31102654337882996, -0.7528624534606934, -0.7044246792793274, -0.9088196158409119, -0.7029760479927063, -0.166685089468956, 0.06957880407571793, 0.40554967522621155, 0.6022686958312988, 0.08517920970916748, 1.1661136150360107, -0.5871475338935852, -0.47522401809692383, -0.05863669142127037, 0.06262721866369247, 0.15778137743473053, 0.1418178826570511, 0.6822310090065002, -0.7530198693275452, -0.6790050268173218, 0.18074190616607666, -0.7177984714508057, 0.17128968238830566, 0.3398657441139221, -0.2987074851989746, 0.01538573857396841, 0.5384366512298584, -0.2975851893424988, 0.37404531240463257, 0.31895142793655396, -0.7259467244148254, 0.5072410702705383, -0.00483331922441721, 0.6502200365066528, -1.1382369995117188, 0.24597641825675964, -0.5535575151443481, -0.3627530038356781, -0.051740776747465134, 0.04903188720345497, -0.0437019020318985, -0.1300116777420044, -0.2654218375682831, 1.0379589796066284, -0.2694099545478821, -0.19010955095291138, -0.031676098704338074, 0.7612821459770203, 0.009696375578641891, 0.2096358984708786, -0.07436553388834, 0.6709122657775879, 0.33198902010917664, -0.1869010329246521, 0.686364471912384, 0.38068675994873047, -0.4910227358341217, 0.8617866039276123, -0.856633722782135, 0.03205261379480362, 0.0048232912085950375, 0.2468368262052536, -0.9847307205200195, -0.1397247165441513, 0.1411505937576294, -0.6109398007392883, -0.03306062892079353, -0.18129387497901917, -0.6957429051399231, -0.43110063672065735, -0.5402463674545288, 0.49825572967529297, 0.2317112684249878, -0.43783122301101685, 0.5067406892776489, 0.24393349885940552, 0.018643207848072052, -0.6219555735588074, -0.3042333424091339, -0.018292702734470367, -0.20411139726638794, -0.6796693205833435, 0.5700236558914185, 0.29196667671203613, -0.247984379529953, 0.6945739388465881, -0.4256305992603302, 0.005721536464989185, -0.08511173725128174, 0.14647012948989868, -0.20812052488327026, -0.36114048957824707, 0.003962595947086811, 0.17294351756572723, -0.33805766701698303, -0.11995827406644821, -0.41784122586250305, 0.3620321750640869, -0.09638512879610062, -0.5550168752670288, 0.02928103879094124, 0.3932676911354065, 0.5969687104225159, -0.14680112898349762, 0.9701032638549805, 0.39082077145576477, -0.43748554587364197, 0.323194682598114, -0.4464186429977417, -0.0867110937833786, -0.452005535364151, 0.48286980390548706, -0.5295907258987427, -0.9972108006477356, 0.7030555605888367, -0.2103370577096939, -0.3182297945022583, 0.3325650691986084, 0.2767457365989685, -0.00033748213900253177, 0.9774040579795837, 0.3569973409175873, -0.21704205870628357, 0.40009036660194397, 0.18748463690280914, 0.08062022924423218, -0.7458707094192505, -0.4565659463405609, -0.8439648151397705, -0.49196457862854004, -0.39880186319351196, -0.3344070613384247, 0.45643851161003113, 0.08604789525270462, -0.3032393455505371, 0.5910308957099915, -0.39663663506507874, 0.4058869481086731, 0.5661885142326355, 0.05425795912742615, 0.45542415976524353, 0.32887864112854004, -0.7220966815948486, -0.4797656238079071, -0.6762191653251648, -0.4406759738922119, 0.8661474585533142, -0.1605452299118042, 0.727643609046936, 0.16370151937007904, 0.9254946708679199, 0.24927197396755219, 0.1191914901137352, -0.6453755497932434, 0.5986150503158569, -0.0526973195374012, -0.3945637345314026, 0.03892846405506134, -0.8906974792480469, -1.3394430875778198, 0.295987069606781, -0.4503530263900757, -0.7685695290565491, -0.22192950546741486, 0.14548280835151672, 0.046611983329057693, 0.5967955589294434, -0.538580060005188, 1.2287323474884033, 0.2858164608478546, -0.10438261926174164, -0.3336757719516754, -0.6707296371459961, -0.02572415955364704, 0.15077327191829681, 0.04536076635122299, 0.04980233684182167, 0.08589654415845871, 1.1029562950134277, -0.5202351212501526, 0.3704303503036499, -0.025926247239112854, 0.34575846791267395, 0.09595027565956116, 0.04726337641477585, 0.4816140830516815, -0.3090094327926636, -0.36067119240760803, -0.09234254062175751, 0.26421090960502625, -0.4549383819103241, -0.9918476343154907, 0.7578047513961792, -0.5033420324325562, -0.3238069415092468, -0.5588684678077698, -0.17770686745643616, -0.07440994679927826, 0.5154544711112976, 0.11976820975542068, 0.6380245685577393, -0.4238065779209137, 0.31527331471443176, 0.40441298484802246, 0.1518351435661316, -0.023693321272730827, 0.5377012491226196, 0.06520630419254303, -0.76072758436203, 0.8682624697685242, -0.0008233514381572604, 0.2440129816532135, 0.8002282381057739, 0.06313640624284744, -0.5514763593673706, -0.4012255370616913, -0.21036165952682495, 0.24870148301124573, -0.980513870716095, -0.640692949295044, -0.7710034251213074, -0.07170671969652176, -0.16026607155799866, -0.27643388509750366, -0.3489771783351898, -0.6155595779418945, 0.18677474558353424, -0.020935192704200745, 0.6244453191757202, 0.7902383208274841, -0.05101797357201576, -0.12479285895824432, -0.645528256893158, 0.1809612661600113, 0.24266688525676727, 0.6289440989494324, 0.059697993099689484, -0.30936872959136963, -0.1170857772231102, -0.2136271595954895, -0.2822507321834564, -1.1258201599121094, -0.08007729053497314, 0.18813711404800415, 0.7393495440483093, 0.21842585504055023, 0.49059155583381653, 0.7740333080291748, -0.4853411614894867, 0.502977192401886, 0.27464625239372253, -0.7780925035476685, 0.45919743180274963, -0.021103020757436752, 0.10319314152002335, 0.9877002239227295, 0.35085567831993103, -0.41202056407928467, -0.7774801254272461, -0.6528178453445435, -1.0780677795410156, 0.2897171676158905, 0.23457489907741547, 0.083042211830616, -0.27777594327926636, 0.38776570558547974, -0.19482962787151337, 0.1499529480934143, -0.733256995677948, -0.6081711649894714, -0.2770984470844269, -0.4585610330104828, 0.5081802010536194, 0.09447638690471649, -0.24598802626132965, -0.2334894984960556, 0.4035733640193939, -0.19800731539726257, 0.5058915019035339, 0.2552950978279114, 0.09932972490787506, 0.029420427978038788, 0.2133857011795044, 0.012779816053807735, 0.22028537094593048, -0.07856105268001556, 0.5746228098869324, 0.3441261053085327, -0.41384342312812805, 0.15131376683712006, 0.33680471777915955, -0.10584107786417007, 0.12801481783390045, 0.5139937400817871, 0.642520010471344, 0.7264548540115356, -0.4649156332015991, 0.5705417990684509, -0.07273712009191513, 0.027565812692046165, 0.12562821805477142, -0.04905184358358383, 0.13513082265853882, 0.22601750493049622, 0.17945367097854614, 0.3377576470375061, 0.2675519585609436, -0.4874565601348877, 0.6068800687789917, 0.6757974624633789, -0.7184830904006958, -0.13360750675201416, 0.6902992129325867, 0.053380098193883896, -0.13042518496513367, 0.4014720916748047, -0.7328299283981323, -0.9206953644752502, 0.38926681876182556, 0.5116931796073914, 0.304763525724411, 0.23983022570610046, 0.023650260642170906, 0.7064912915229797, -0.07079444080591202, 0.17713984847068787, 0.23548205196857452, -0.18690773844718933, -0.6777313351631165, -0.1131361871957779, -0.7680336236953735, -0.4097795784473419, -0.5166535377502441, -0.802019476890564, 0.2897631824016571, -0.16650648415088654, -0.04899907112121582, -0.1074230745434761, 0.42039787769317627, -0.5174532532691956, -0.06292445957660675, -0.39083802700042725, 0.9740914106369019, -0.6764633655548096, 0.687037467956543, 1.0219849348068237, -0.3095747232437134, -1.004289150238037, -0.28619688749313354, -0.007564019877463579, -0.6079019904136658, 0.3401866555213928, 0.026929456740617752, -0.11982753127813339, -0.06129441410303116, -0.05659831687808037, -0.7932702898979187, 1.3069782257080078, 0.6211344003677368, -0.3159051835536957, 0.1927560418844223, -0.13244721293449402, 0.5173196196556091, -0.17556649446487427, 0.2862241566181183, 0.37464961409568787, 0.5313149094581604, 0.3284587264060974, -0.8680177927017212, 0.4988845884799957, -0.39790448546409607, -0.26009342074394226, 0.5435703992843628, -0.6513532996177673, 0.2679107189178467, -0.1429545134305954, -0.44204938411712646, 0.24822159111499786, 0.9347037076950073, 0.46137943863868713, 0.38960251212120056, 0.3424796462059021, 0.8539300560951233, 0.8436165452003479, -0.3229857385158539, 0.8720102310180664, -0.32842427492141724, 0.4910634458065033, 0.9593597054481506, -0.23856936395168304, 1.010853886604309, 0.3403782844543457, -0.3313416838645935, 0.8654108643531799, 0.45302852988243103, -0.00875062495470047, 0.6335921287536621, 0.24171082675457, -0.2501135468482971, -0.3056354522705078, -0.08305748552083969, -0.6128936409950256, 0.24986499547958374, -0.03698552027344704, 0.01345639768987894, -0.5977534055709839, -0.3028664290904999, 0.31620973348617554, 0.5208765268325806, 0.029115187004208565, 0.8226683139801025, 0.059855472296476364, -0.5696009993553162, 0.4846939444541931, -0.12129037827253342, 0.5210205316543579, -0.9026341438293457, -0.08063871413469315, -0.3037867546081543, 0.20433790981769562, -0.11311447620391846, -0.788634717464447, 0.5401490926742554, -0.4033218026161194, -0.19983640313148499, 0.052048057317733765, 0.7064087986946106, -0.407061368227005, -0.005107763689011335, 0.7769434452056885, 0.21747007966041565, -0.010494367219507694, 0.0844338908791542, -0.7543967366218567, 0.1126212477684021, -0.3626919388771057, 0.011953192763030529, 0.37218084931373596, 0.6588490605354309, 0.07216891646385193, 0.6888533234596252, 0.25798481702804565, 0.16499891877174377, 0.04663126915693283, 0.036743324249982834, 1.0661307573318481, -0.7135025858879089, -0.4202089309692383, -0.7643530964851379, 0.0544307641685009, -0.2955806255340576, -0.29279714822769165, 0.9397846460342407, 0.8005338907241821, 0.7406424880027771, 0.3020262122154236, 0.4913010001182556, -0.3612123429775238, 0.3572450578212738, -0.4671891927719116, 0.9360929727554321, -0.8013913631439209, -0.07704507559537888, -0.6431499719619751, -0.988251805305481, -0.3530993163585663, 0.5386891961097717, -0.08599301427602768, -0.05994991958141327, 0.9103147983551025, 0.7072337865829468, -0.3410499095916748, -0.20028221607208252, 0.16951869428157806, 0.2703762650489807, -0.013732660561800003, 0.7102447748184204, 0.6696439981460571, -0.6728886365890503, 0.8968268632888794, 0.22533126175403595, -0.21222998201847076, 0.013865439221262932, -0.8722209334373474, -0.7154415845870972, -0.8815667629241943, -0.3529149293899536, -0.6670511960983276, 0.1498653143644333, 0.6410428285598755, 0.6458719372749329, -0.6588684320449829, 0.19893567264080048, 0.1378479152917862, 0.6520177721977234, -0.32763707637786865, -0.22604961693286896, 0.5851238965988159, -0.23440925776958466, -0.22575105726718903, 0.3277136981487274, 0.2676660716533661, 0.0757550299167633, 0.16897878050804138, -0.23032385110855103, 0.010503223165869713, -0.00035479964572004974, 0.39324894547462463, 0.40344691276550293, -0.5751449465751648, -0.6999570727348328, 0.00040368616464547813, -0.07505916804075241, 0.05028871074318886, 0.8331659436225891, -1.1597833633422852, 0.619733989238739, 0.7312557697296143, 0.6927060484886169, 0.5247308015823364, -0.016566874459385872, 0.6117970943450928, -0.8165925145149231, 0.006219511851668358, 0.053524959832429886, 0.5966309905052185, 0.5208321213722229, 0.13547343015670776, 0.5536518096923828, 0.5369914770126343, -0.33352914452552795, -0.8832306861877441, 0.36586815118789673, -1.1720939874649048, 0.07262276113033295, 0.8805503845214844, -0.453789085149765, -0.24792206287384033, -0.32961520552635193, 0.008667861111462116, 0.334269642829895, -0.27404630184173584, 0.633882462978363, 0.5808748602867126, 0.028225500136613846, 0.36530789732933044, 0.02133077196776867, 0.42480823397636414, 0.38928449153900146, -0.6326472163200378, -0.10774317383766174, 0.08789817243814468, 0.5062048435211182, 0.1932017207145691, 0.8773635625839233, -0.5017316937446594, 0.15961024165153503, 0.21820151805877686, -0.270572692155838, 0.02523566037416458, -0.05712918937206268, 0.06778240948915482, 0.35281985998153687, 0.08840794861316681, -0.06378190219402313 ]
http://arxiv.org/abs/2404.02124v3
http://arxiv.org/pdf/2404.02124v3
Exploring Automated Distractor Generation for Math Multiple-choice Questions via Large Language Models
2024-04-02T17:31:58
2024-04-18T17:12:19
Wanyong Feng, Jaewook Lee, Hunter McNichols, Alexander Scarlatos, Digory Smith, Simon Woodhead, Nancy Otero Ornelas, Andrew Lan
cs.CL
cs.CL
Multiple-choice questions (MCQs) are ubiquitous in almost all levels of education since they are easy to administer, grade, and are a reliable format in assessments and practices. One of the most important aspects of MCQs is the distractors, i.e., incorrect options that are designed to target common errors or misconceptions among real students. To date, the task of crafting high-quality distractors largely remains a labor and time-intensive process for teachers and learning content designers, which has limited scalability. In this work, we study the task of automated distractor generation in the domain of math MCQs and explore a wide variety of large language model (LLM)-based approaches, from in-context learning to fine-tuning. We conduct extensive experiments using a real-world math MCQ dataset and find that although LLMs can generate some mathematically valid distractors, they are less adept at anticipating common errors or misconceptions among real students.
[ -0.7304804921150208, -1.1586374044418335, 0.6363787055015564, 0.0006946028443053365, -0.13658836483955383, -0.023728586733341217, -0.15504349768161774, -0.3215092718601227, -0.13748085498809814, 0.5874223113059998, -0.5832479000091553, -0.10520996898412704, -0.4979095757007599, 0.20327028632164001, -0.11026158928871155, 0.9044377207756042, -0.3473965525627136, -0.010408816859126091, -0.4881328046321869, 0.05541626363992691, -0.5833169221878052, -0.6074997782707214, -0.7346417903900146, 0.03295755013823509, 0.6357700824737549, 0.6443776488304138, 0.7571887373924255, 0.4852086901664734, 0.5256972312927246, 0.22943781316280365, 0.08365242928266525, 0.4109403192996979, -0.32877999544143677, 0.2909196615219116, -0.1080297902226448, -0.2810842990875244, 0.01939956471323967, -0.1541493982076645, 0.6613399982452393, 0.8222201466560364, -0.01649704948067665, 0.3379446566104889, 0.0842774510383606, 0.3171024024486542, -0.9953612089157104, 0.032023146748542786, -0.7333465218544006, 0.033454712480306625, -0.12683559954166412, 0.004965486936271191, -0.39130863547325134, -0.39507368206977844, 0.048763155937194824, -0.47390756011009216, 0.11680158227682114, -0.11870323121547699, 0.7123188972473145, 0.6276254057884216, -0.6255932450294495, -0.7619959712028503, -0.8175742626190186, 1.146912932395935, -0.3038555383682251, 0.2651178240776062, 0.5188512206077576, 0.49633029103279114, -0.08875226229429245, -0.2708132565021515, -0.4047545790672302, -0.271772563457489, -0.0012890378711745143, 0.2657525837421417, 0.07280636578798294, -0.2886006534099579, 0.6112544536590576, -0.05715854465961456, -0.20120738446712494, 0.051890838891267776, -0.25720536708831787, -0.12315055727958679, 0.6842355132102966, 0.48526591062545776, 0.2713148295879364, -0.27064454555511475, -0.07981860637664795, 0.04460519179701805, -0.6203250288963318, 0.035194773226976395, 0.2761123478412628, 0.026845289394259453, 0.22903646528720856, 0.7647736668586731, 0.09526880085468292, 0.975583016872406, 0.16230933368206024, -0.19900813698768616, -0.253416508436203, -0.34490230679512024, 0.11063511669635773, -0.2672179341316223, 0.6080390810966492, 0.0014844690449535847, 0.5212008953094482, 0.23575341701507568, -0.27971887588500977, 0.14157985150814056, 0.29073402285575867, -0.7362939715385437, -0.29133105278015137, 0.2354891300201416, 0.1686527580022812, -0.33240923285484314, -0.2619478106498718, -0.6456031799316406, -0.01685420796275139, -0.5402386784553528, 0.4178807735443115, -0.2752397656440735, 0.2397509217262268, 0.02917025424540043, 0.14005161821842194, -0.09512398391962051, 0.45990538597106934, -0.7431339621543884, 0.1818941831588745, 0.3289072513580322, 0.3868081867694855, -0.39423418045043945, -0.4072449207305908, -0.9166023135185242, -0.013917029835283756, -0.4105618894100189, 0.8428680300712585, -0.6659788489341736, -0.4162091016769409, -0.04468974843621254, -0.4959612488746643, -0.361356258392334, -0.7600378394126892, 0.5260021090507507, -0.6058071851730347, 0.4885740280151367, -0.15063409507274628, -0.5751997828483582, -0.05408148467540741, 0.4716174304485321, -0.7186588048934937, 1.1112229824066162, 0.18390405178070068, -0.4997289180755615, 0.31033018231391907, -0.7435283660888672, -0.27685627341270447, -0.0364491306245327, -0.2915065586566925, -0.5990538001060486, 0.12870611250400543, 0.45491400361061096, 0.40715450048446655, -0.2672882378101349, 0.43396809697151184, -0.1084895208477974, -0.24236272275447845, 0.9262171387672424, -0.6984654068946838, 0.6773110032081604, 0.23370161652565002, -0.19780460000038147, -0.021328778937458992, -0.7371337413787842, -0.08171425759792328, 0.16101936995983124, -0.3858336806297302, -0.3670794367790222, 0.11224833130836487, -0.014618519693613052, 0.8765808343887329, 0.03259960934519768, -0.34508711099624634, -0.20646828413009644, 0.19524209201335907, -0.0436728410422802, 0.7560116648674011, 0.2648273706436157, 0.15351593494415283, -0.7478442788124084, 0.69118732213974, 0.20610947906970978, 0.04010510817170143, -0.07981202751398087, -0.3327390253543854, -0.7771445512771606, -0.5865164995193481, 0.19798435270786285, 0.49886322021484375, -0.7033207416534424, 0.2055899202823639, 0.017414607107639313, -0.32016798853874207, -0.11150207370519638, 0.20134460926055908, 0.32725369930267334, 0.6253311634063721, 0.306566447019577, 0.20941507816314697, -0.3093625605106354, -0.6287506818771362, -0.3880632519721985, 0.42827728390693665, -0.1061706468462944, 0.6962841749191284, 0.6985084414482117, -0.1454618126153946, 1.1970770359039307, -0.914065420627594, -0.13152532279491425, -0.05208193510770798, -0.10820236802101135, -0.1679014265537262, 0.46922385692596436, 0.39751842617988586, -0.9073159694671631, -0.7137914299964905, -0.49582162499427795, -0.5658829212188721, -0.33136898279190063, -0.4161117374897003, -0.3668680787086487, 0.15066592395305634, 0.4993445873260498, -0.4256177544593811, 0.17783693969249725, 0.14046497642993927, -0.10947083681821823, 1.029694676399231, 0.14271080493927002, -0.14124704897403717, -1.170015811920166, 0.02980445884168148, -0.015941156074404716, -0.01408082339912653, -0.5820620656013489, 0.0937059223651886, 0.15778101980686188, -0.14507417380809784, -0.7173528075218201, 0.8945814967155457, -0.3930717706680298, 0.2790445387363434, -0.025198418647050858, 0.2514585852622986, -0.11696890741586685, 0.3910823166370392, -0.02215118706226349, 0.7552481293678284, 0.3820241093635559, -0.888016939163208, -0.0063359737396240234, 0.17373470962047577, -0.18399527668952942, 0.6957963109016418, -0.5435382723808289, -0.12096517533063889, -0.23895087838172913, 0.1800183355808258, -1.1344540119171143, -0.5832141637802124, 0.16255700588226318, -0.29622524976730347, -0.10020038485527039, -0.027718205004930496, -0.6136158108711243, -0.48153090476989746, -0.03454563394188881, 0.6709758639335632, 0.45456287264823914, -0.6118366122245789, 0.5784915685653687, 0.38457754254341125, -0.2978818714618683, -0.7258003354072571, -0.5269460082054138, -0.311610609292984, -0.29199811816215515, -0.24376000463962555, -0.05698901787400246, -0.6316877007484436, -0.5588957667350769, -0.28262442350387573, -0.17210598289966583, -0.29724302887916565, 0.35526084899902344, 0.23654308915138245, 0.6461964845657349, 0.07095318287611008, 0.2406216412782669, 0.13641944527626038, -0.02268674597144127, 0.2876931130886078, -0.08850233256816864, 0.5633367896080017, 0.256161093711853, -0.7493386268615723, -0.01347836758941412, 0.3092380166053772, 0.5894048810005188, -0.27244386076927185, 0.47403016686439514, 0.3419085144996643, -0.5777957439422607, -0.3683185577392578, -0.799363911151886, -0.17134587466716766, -0.46446970105171204, 0.3599991202354431, -0.4840543568134308, -1.0140392780303955, 0.6598781943321228, -0.04957760125398636, 0.39981943368911743, 0.3772478699684143, 0.6199114322662354, 0.08641490340232849, 1.4507502317428589, 0.039952993392944336, 0.3963453471660614, 0.691970944404602, -0.07622027397155762, -0.2237270176410675, -0.7935429215431213, 0.02933879755437374, -0.37497299909591675, -0.19064247608184814, -0.18183448910713196, -0.5966708660125732, 0.34839627146720886, 0.028165003284811974, -0.2687924802303314, 0.006360670551657677, -0.26876264810562134, 0.8736037611961365, 0.5675166845321655, -0.2622714936733246, 0.11474387347698212, 0.0727119967341423, -0.4598301947116852, -0.1997867226600647, -0.5505415797233582, -0.4235711693763733, 1.1839927434921265, -0.019062098115682602, 0.6829633712768555, 0.1396438181400299, 0.8913832306861877, -0.26705652475357056, 0.5236233472824097, -0.8915271759033203, 0.5017406940460205, 0.06181992217898369, -0.8512726426124573, -0.42374762892723083, -0.7208185195922852, -1.0230368375778198, 0.48415496945381165, -0.23478510975837708, -0.4769597351551056, -0.006663898471742868, 0.16729743778705597, -0.5489530563354492, 0.14942267537117004, -0.4843639135360718, 0.7393512725830078, -0.31994518637657166, -0.612013041973114, 0.2043088674545288, -0.3154565393924713, 0.5175987482070923, -0.6125143766403198, 0.3691398799419403, -0.03496436029672623, 0.032150376588106155, 0.4981400966644287, -0.212754026055336, 0.6807855367660522, 0.19049954414367676, -0.3548838496208191, 0.6268893480300903, 0.4826969802379608, 0.38591423630714417, 0.2760246992111206, -0.16887184977531433, -0.20485413074493408, -0.2559138238430023, -0.44124704599380493, -0.4663842022418976, 0.5330632925033569, -0.690305769443512, -0.39476290345191956, -0.2871221601963043, -1.0566259622573853, -0.25684109330177307, 0.1630953848361969, 0.1870424747467041, 0.7276117205619812, -0.09282074123620987, -0.11415993422269821, 0.7567910552024841, -0.11796066910028458, 0.6079885959625244, 0.4667840600013733, -0.09756970405578613, -0.5134401917457581, 1.0921052694320679, 0.4997766315937042, 0.5156722068786621, 0.24893179535865784, 0.2360355108976364, -0.4485117793083191, -0.12912234663963318, -0.4726860821247101, 0.3062207102775574, -0.7224652767181396, -0.14622171223163605, -0.740474283695221, -0.3890359401702881, -0.11951214075088501, -0.5430595874786377, -0.21101459860801697, -0.4330359697341919, -0.6405460834503174, 0.07498343288898468, -0.17122474312782288, 0.5909769535064697, 0.07627634704113007, 0.14828746020793915, -0.7488040328025818, 0.23843036592006683, 0.7716178297996521, 0.1325172781944275, -0.07669775187969208, -0.41957464814186096, -0.2621843218803406, 0.11646188050508499, -0.5678180456161499, -0.4751400053501129, 0.3747290074825287, -0.06487258523702621, 0.4766640365123749, 0.31703925132751465, 0.24380113184452057, 0.7167202234268188, -0.5672641396522522, 0.696607232093811, 0.030712062492966652, -0.859259307384491, 0.2681204676628113, -0.3075314462184906, 0.610387921333313, 0.46310940384864807, 0.3609415590763092, -0.4262233376502991, -0.5422288775444031, -0.6591225266456604, -0.46132317185401917, 0.5970505475997925, 0.21342961490154266, 0.06117720901966095, -0.30917292833328247, 0.17043082416057587, 0.15159273147583008, 0.16535772383213043, -0.720514714717865, -0.14949561655521393, 0.04638509079813957, -0.45694661140441895, -0.14721602201461792, -0.29739290475845337, -0.19994226098060608, 0.07415089011192322, 0.33148184418678284, -0.2784872353076935, -0.03432779014110565, -0.11468632519245148, -0.4856046736240387, -0.3057030141353607, 0.47764143347740173, 0.9952457547187805, 0.8250777721405029, -0.05038575828075409, 0.28768840432167053, 0.4556023180484772, -0.5355943441390991, 0.1491978019475937, 0.24102236330509186, -0.3823516368865967, -0.08789144456386566, -0.0019091109279543161, 0.5301162600517273, 0.29728496074676514, -1.0544825792312622, 0.2651021182537079, -0.03166652098298073, -0.36392468214035034, -0.5886005163192749, 0.23512454330921173, -0.06324811279773712, -0.06581642478704453, 0.38205164670944214, 0.20197534561157227, -0.07066420465707779, -0.22408097982406616, 0.2472314089536667, 0.6648572087287903, -0.2533778250217438, -0.12223363667726517, 0.6472105979919434, 0.043228961527347565, -0.33417582511901855, 0.44623905420303345, -0.15103480219841003, -0.6199527978897095, 0.8039974570274353, 0.8320708870887756, 0.6314851641654968, -0.22106944024562836, 0.202215313911438, 0.4772876799106598, 0.039929669350385666, -0.07255896180868149, 0.22522318363189697, -0.04947412759065628, -0.7442592978477478, -0.4172265827655792, -0.3901199698448181, -0.5503682494163513, 0.10188625007867813, -0.4756644070148468, 0.28030067682266235, -0.3714989721775055, -0.21942393481731415, -0.12011436372995377, -0.029194384813308716, -0.7064930200576782, 0.3178117871284485, 0.27190035581588745, 0.4613661468029022, -0.5663175582885742, 0.33095136284828186, 0.9381755590438843, -0.3105338513851166, -0.8051828742027283, 0.16612689197063446, -0.018326491117477417, -0.4876476526260376, 0.7719195485115051, 0.14506883919239044, -0.00742752943187952, 0.11508553475141525, -0.627578854560852, -1.2205482721328735, 0.8250719308853149, 0.13663645088672638, -0.43819117546081543, -0.10189951956272125, 0.5432021021842957, 0.3838893473148346, -0.3138297200202942, 0.550000011920929, 0.20214131474494934, 0.14576296508312225, 0.31179195642471313, -0.6317561268806458, 0.0228340532630682, -0.0022878905292600393, -0.07248827815055847, 0.462200403213501, -0.5894796252250671, 1.159101128578186, -0.32797759771347046, -0.06079019978642464, -0.2884555459022522, 0.31285831332206726, 0.7702007293701172, 0.19235122203826904, 0.5544947385787964, 0.40132927894592285, 0.7085421681404114, 0.09349759668111801, 0.833179235458374, -0.24068301916122437, 0.3662128448486328, 1.2793071269989014, -0.3276117146015167, 0.847771167755127, 0.49333620071411133, 0.1633109599351883, 0.25988829135894775, 0.6006510257720947, -0.030449608340859413, -0.032905254513025284, 0.555792510509491, -0.25372451543807983, -0.7150118947029114, 0.0791090801358223, -0.05511639267206192, 0.4283904731273651, 0.5861518979072571, -0.18213655054569244, -0.1742127239704132, 0.1150541678071022, 0.1441313475370407, -0.036977771669626236, -0.28028950095176697, 0.5739424228668213, -0.020860519260168076, -1.085573673248291, 0.6122414469718933, -0.25484997034072876, 0.6290841102600098, -0.47137174010276794, 0.0148730194196105, -0.25259438157081604, 0.3110892176628113, 0.18589313328266144, -0.7730620503425598, 0.14806365966796875, 0.11779448390007019, -0.06782955676317215, -0.06195861101150513, 0.5772143006324768, -0.5483946204185486, -0.7839630842208862, -0.18970313668251038, 0.7662956118583679, -0.012581564486026764, -0.09289833903312683, -0.7981205582618713, -0.22513975203037262, -0.2289510816335678, -0.16969268023967743, 0.3707423508167267, 0.3149983882904053, -0.22992739081382751, 0.9110391139984131, 0.8357431292533875, -0.23075947165489197, 0.26687169075012207, 0.019948484376072884, 0.5746995806694031, -0.49360722303390503, -0.32745039463043213, -0.8952266573905945, 0.6101735830307007, 0.0519094243645668, -0.5880725383758545, 0.9491962194442749, 0.6322517395019531, 0.9345563054084778, -0.28176751732826233, 0.7435678243637085, 0.3297298550605774, 0.5977843999862671, -0.2871078550815582, 0.4507153630256653, -0.5673147439956665, 0.18294550478458405, -0.5535473823547363, -0.907335102558136, -0.552942156791687, 0.45218366384506226, -0.44145166873931885, 0.10183273255825043, 0.7191102504730225, 0.4339428246021271, -0.12739898264408112, -0.24195381999015808, 0.45774683356285095, -0.24869279563426971, 0.42387089133262634, 0.6404736638069153, 1.2533485889434814, -0.29928824305534363, 0.8953720927238464, -0.32297295331954956, 0.01679176092147827, -0.3572235107421875, -0.4869177043437958, -1.2710280418395996, -0.4089832305908203, -0.5004092454910278, -0.20258435606956482, -0.40935271978378296, 1.1279287338256836, 0.3455825448036194, -0.8370823264122009, -0.29649099707603455, -0.04089463874697685, 0.3750714063644409, -0.10230014473199844, -0.2829238176345825, 0.3215067684650421, -0.5036541819572449, -0.978523850440979, -0.1587599366903305, -0.1267278492450714, 0.39662301540374756, -0.040537115186452866, 0.17789718508720398, -0.22380663454532623, 0.5245763659477234, 0.6655434966087341, 0.07940816879272461, -0.581891655921936, -0.34017521142959595, 0.4016471207141876, -0.38451889157295227, -0.09604525566101074, 0.7219761610031128, -0.7276520133018494, 0.3150705099105835, 0.3136088252067566, 0.6132769584655762, 0.11896944791078568, 0.16178491711616516, 0.23235879838466644, -0.6898617744445801, -0.2936045229434967, 0.3752674162387848, 0.1982017308473587, 0.1256861388683319, -0.30587056279182434, 0.3147805631160736, 0.21326519548892975, -0.6752386093139648, -1.0265980958938599, 0.41757482290267944, -0.5299732685089111, -0.3037828505039215, 1.3101518154144287, 0.2589782774448395, -0.07355877012014389, -0.22434890270233154, -0.47416725754737854, 0.13656668365001678, -0.15786439180374146, 0.9164392948150635, 0.9368114471435547, -0.22471025586128235, -0.07885807007551193, -0.6294334530830383, 0.5240297913551331, 0.6777239441871643, -0.9706165194511414, 0.017128895968198776, 0.865557074546814, 0.4586610198020935, 0.4615890085697174, 0.2549588978290558, 0.18072208762168884, 0.49537521600723267, 0.043146681040525436, -0.13867540657520294, -0.014134861528873444, -0.3481122553348541, -0.1512344628572464, 0.24455256760120392, -0.16751570999622345, -0.15105417370796204 ]
http://arxiv.org/abs/2404.02115v1
http://arxiv.org/pdf/2404.02115v1
GINopic: Topic Modeling with Graph Isomorphism Network
2024-04-02T17:18:48
2024-04-02T17:18:48
Suman Adhya, Debarshi Kumar Sanyal
cs.CL
cs.CL, cs.LG
Topic modeling is a widely used approach for analyzing and exploring large document collections. Recent research efforts have incorporated pre-trained contextualized language models, such as BERT embeddings, into topic modeling. However, they often neglect the intrinsic informational value conveyed by mutual dependencies between words. In this study, we introduce GINopic, a topic modeling framework based on graph isomorphism networks to capture the correlation between words. By conducting intrinsic (quantitative as well as qualitative) and extrinsic evaluations on diverse benchmark datasets, we demonstrate the effectiveness of GINopic compared to existing topic models and highlight its potential for advancing topic modeling.
[ -0.5521801710128784, -1.0981125831604004, 0.2382051795721054, -0.2153182029724121, -0.3067527115345001, -0.07124365866184235, -0.12477117031812668, -0.39026808738708496, 0.6777684092521667, 0.22908219695091248, -0.26232802867889404, -0.4991379678249359, -0.7156528234481812, -0.49514976143836975, -0.5762476921081543, 0.8597912788391113, 0.018673721700906754, 0.09752007573843002, -0.39850154519081116, -0.0172420721501112, -0.20348374545574188, -0.5659933686256409, -0.37029147148132324, -0.3642377257347107, 0.4281276762485504, 0.2597366273403168, 0.604961097240448, 0.5885878801345825, 0.6614189147949219, 0.24967432022094727, -0.3043702244758606, -0.238441601395607, -0.6182931661605835, 0.22403022646903992, -0.26953840255737305, -0.34915825724601746, -0.1902512013912201, 0.32633042335510254, 0.5736396312713623, 1.0951565504074097, -0.21908220648765564, 0.02188434824347496, 0.06574223190546036, 0.38450339436531067, -0.4949902594089508, 0.42795100808143616, -0.7408284544944763, 0.18650002777576447, -0.2853538990020752, -0.1846315860748291, -0.061882492154836655, -0.3580942153930664, 0.5296441316604614, -0.5477822422981262, 0.42822036147117615, 0.10783231258392334, 1.1735347509384155, -0.15680190920829773, -0.1910620629787445, -0.5193637013435364, -0.37818217277526855, 0.1757356822490692, -0.648123025894165, 0.1631874293088913, 0.4387753903865814, 0.07224518060684204, 0.07335644960403442, -0.9740254282951355, -0.4833388924598694, -0.11658328026533127, 0.10179195553064346, 0.23374928534030914, -0.3669623136520386, 0.03123290091753006, -0.18080130219459534, 0.3480831980705261, -0.41850125789642334, 0.1248675212264061, -0.017314719036221504, 0.18451344966888428, 0.22818297147750854, 0.10978967696428299, 0.47084978222846985, -0.38039156794548035, -0.360950767993927, -0.01951528526842594, -0.5712783336639404, 0.00014335436571855098, 0.4137948155403137, 0.6213616728782654, 0.11877506971359253, 0.7482524514198303, -0.1232045590877533, 0.8803398609161377, -0.0890737920999527, 0.10691393911838531, -0.07704073190689087, -0.25790539383888245, 0.029067836701869965, 0.0065122065134346485, 0.5146398544311523, 0.29626479744911194, 0.08874359726905823, -0.3358728885650635, 0.24396461248397827, 0.06061067059636116, 0.1958806961774826, -0.9407217502593994, -0.34149760007858276, 0.14616113901138306, -0.5204030871391296, -0.17588089406490326, 0.2884802222251892, -0.6793984174728394, -0.24731655418872833, -0.24913926422595978, 0.16834019124507904, -0.6184262037277222, -0.24537263810634613, -0.06470978260040283, -0.38879504799842834, -0.15112553536891937, 0.45122677087783813, -0.7749287486076355, 0.15519891679286957, 1.0149133205413818, 1.1851751804351807, -0.09676476567983627, -0.3876701593399048, -0.008823669515550137, 0.3011265993118286, -0.45566052198410034, 0.8876025080680847, -0.8012813329696655, -0.492851197719574, 0.13530343770980835, -0.3331218957901001, 0.057156480848789215, -0.2105076164007187, 0.2847503423690796, -0.6680724620819092, 0.28947144746780396, -0.2993848919868469, -1.0456299781799316, -0.20432192087173462, 0.45859092473983765, -0.7116504907608032, 0.7639487385749817, 0.05425794795155525, -1.3856046199798584, 0.5382224917411804, -0.5817611217498779, -0.1740589439868927, 0.18378449976444244, -0.1347295194864273, -0.09505196660757065, 0.018444852903485298, -0.08434980362653732, 0.4918679893016815, -0.6291602253913879, 0.7880434989929199, -0.7153493165969849, -0.211784228682518, 0.11230778694152832, -0.15934041142463684, 0.6113492846488953, 0.06507076323032379, 0.04860394448041916, 0.3449215590953827, -0.3890376091003418, -0.34778472781181335, 0.051338374614715576, 0.2929491102695465, -0.8578475117683411, 0.2855691909790039, -0.004004277754575014, 0.1644746959209442, 0.28627464175224304, -0.29684117436408997, 0.3417132794857025, -0.15814180672168732, 0.4929012954235077, 0.698640763759613, 0.245785653591156, 0.4392302334308624, -0.27086320519447327, 0.3098335266113281, -0.024921439588069916, -0.14993804693222046, 0.07298053056001663, -0.7541143298149109, -0.5723391771316528, -0.2677536904811859, 0.3532335162162781, 0.4321136474609375, -0.6231995820999146, 0.6988109946250916, -0.5032328963279724, -0.82338947057724, 0.07816919684410095, -0.3311300277709961, 0.016180003061890602, 0.7085880637168884, -0.04054826870560646, -0.7334026098251343, -0.060474224388599396, -0.7626128792762756, 0.27451902627944946, -0.6086287498474121, 0.04493391513824463, 0.5506605505943298, 0.36957740783691406, -0.08740345388650894, 1.3799315690994263, -0.7642279267311096, -0.3492339849472046, -0.03377065807580948, 0.7672771215438843, 0.2939750552177429, 0.2070511132478714, 0.48778635263442993, -0.6284257769584656, -0.3849182426929474, -0.11761533468961716, -0.807596743106842, -0.12862831354141235, 0.26546770334243774, -0.29290205240249634, -0.6207080483436584, 0.42263486981391907, -0.44069933891296387, 0.21004335582256317, 0.39758971333503723, -0.33340221643447876, 0.5874305963516235, -0.07297880947589874, -0.0852660983800888, -1.3660269975662231, 0.3337475061416626, 0.1340285986661911, -0.1179317906498909, -0.42493337392807007, 0.14913052320480347, -0.3826276659965515, -0.8024587035179138, -0.05522889271378517, 0.5136771202087402, -0.47677549719810486, -0.20062047243118286, -0.36491659283638, 0.3514973819255829, 0.03328466787934303, 0.12258175015449524, 0.19010388851165771, 0.8708912134170532, 0.7906366586685181, -0.37633606791496277, 0.38417792320251465, 0.44765228033065796, -0.29159966111183167, 0.6008383631706238, -0.7093561887741089, -0.08147593587636948, -0.2391841858625412, 0.25439074635505676, -0.976775586605072, -0.11985115706920624, 0.08188960701227188, -0.24776668846607208, 0.36461320519447327, -0.4008632302284241, -0.47555604577064514, -0.2268272042274475, -0.4106582701206207, -0.03262476250529289, -0.051754530519247055, -0.2316717654466629, 0.2746537923812866, 0.8429962396621704, -0.6971572041511536, -0.4363064467906952, -0.2888420522212982, 0.19041220843791962, -0.30969393253326416, -0.6013450026512146, 0.5730730891227722, 0.18043363094329834, -0.1785968393087387, 0.5096912384033203, 0.263140469789505, -0.4031216502189636, 0.12150988727807999, 0.2927073836326599, 0.15108366310596466, -0.09015748649835587, 0.45865416526794434, -0.195187509059906, -0.10893083363771439, -0.1920473575592041, -0.3229481875896454, 0.8918893337249756, -0.23520611226558685, -0.2785183787345886, -0.03903007507324219, 0.5533856749534607, 0.34059059619903564, -0.39546558260917664, 0.8065533638000488, 0.4602336585521698, -0.5299550294876099, 0.12927411496639252, -0.1610228717327118, -0.26049330830574036, -0.3570325970649719, 0.5514553785324097, -0.3614344298839569, -1.0479358434677124, 0.6296624541282654, -0.33492177724838257, -0.2372293472290039, 0.24878785014152527, 0.371104896068573, -0.14814592897891998, 0.35856473445892334, 0.6840353608131409, -0.39642834663391113, 1.0093852281570435, -0.3914405405521393, 0.13830189406871796, -0.8136318922042847, 0.05260004103183746, -0.5342280268669128, -0.027446318417787552, -0.5133423805236816, -0.5437496900558472, 0.25628170371055603, 0.6721851825714111, -0.107742078602314, 0.3355603814125061, -0.44327059388160706, 0.06741521507501602, 0.540497362613678, 0.0334291085600853, 0.09486038237810135, 0.1512635052204132, -0.12886086106300354, 0.05483609437942505, -0.7879364490509033, -0.6196959018707275, 0.9811580777168274, 0.1938270926475525, 0.7915621399879456, 0.057965509593486786, 0.4227761924266815, 0.2965144217014313, 0.5975963473320007, -0.78731369972229, 0.5408089756965637, -0.505768358707428, -0.7126026153564453, -0.5323328375816345, -0.35286420583724976, -0.9885643124580383, 0.22092305123806, -0.20649723708629608, -1.1943153142929077, 0.5231307148933411, -0.012861617840826511, 0.22133800387382507, 0.372613787651062, -0.47032201290130615, 0.8617373704910278, -0.054894980043172836, -0.32545629143714905, -0.2422947734594345, -0.4983612596988678, 0.08158496022224426, 0.06691921502351761, -0.22627608478069305, -0.49005046486854553, 0.058918096125125885, 0.7743917107582092, -0.3794897794723511, 0.7934157848358154, -0.10829691588878632, 0.14068979024887085, 0.3618711829185486, -0.030546914786100388, 0.2362501174211502, 0.19549345970153809, -0.29398876428604126, 0.3494046628475189, -0.2912429869174957, -0.19634047150611877, -0.6317132711410522, 0.5967490673065186, -0.8833925127983093, -0.6902071833610535, -0.327079176902771, -0.39000359177589417, -0.2687157094478607, 0.3899132311344147, 0.28648921847343445, 0.48797357082366943, -0.7300578355789185, 0.12821076810359955, 0.32586586475372314, 0.12463685125112534, 0.393013596534729, 0.18353430926799774, -0.48855745792388916, -0.3644949495792389, 0.9159042239189148, 0.31751352548599243, -0.01478997990489006, 0.6435999274253845, 0.3353227972984314, -0.21850040555000305, -0.5045634508132935, -0.0734875351190567, 0.14939261972904205, -0.6653918027877808, -0.06594683974981308, -0.7718042731285095, -0.2898108661174774, -0.40420812368392944, -0.29086601734161377, -0.4486285150051117, -0.3412429392337799, -0.4389077425003052, -0.13124452531337738, 0.416554719209671, 0.4067781865596771, -0.2120620161294937, 0.4724031984806061, -0.45351651310920715, 0.2624342143535614, 0.505547046661377, 0.29852643609046936, 0.05877666920423508, -0.11063101887702942, -0.07737671583890915, -0.10495764017105103, -0.1497061401605606, -1.1740354299545288, 0.34807124733924866, 0.36321890354156494, 0.6985917091369629, 0.7305721044540405, -0.018806537613272667, 0.5999159812927246, -0.4906291961669922, 0.6330897212028503, 0.2401132732629776, -1.1797726154327393, 0.7097676992416382, -0.5452574491500854, -0.23463743925094604, 0.7132272720336914, 0.6418094635009766, -0.6964625716209412, -0.11129885166883469, -0.6538101434707642, -1.1044130325317383, 0.4263296127319336, 0.21174278855323792, 0.019342901185154915, -0.06533434987068176, 0.1859920620918274, 0.005270562134683132, 0.4074290096759796, -0.5758110880851746, -0.03511597961187363, -0.4984103739261627, 0.10966112464666367, -0.1868976503610611, -0.41294097900390625, -0.3390226364135742, -0.1191602349281311, 0.5606403946876526, -0.23987722396850586, 0.6983850598335266, 0.05636274814605713, -0.13348111510276794, 0.23833487927913666, 0.04212597757577896, 0.10993587225675583, 0.7077536582946777, -0.706977367401123, 0.27382901310920715, -0.3645222783088684, -0.2203923612833023, 0.17800556123256683, 0.6546511650085449, -0.25839608907699585, 0.1298346221446991, 0.42563724517822266, 0.859539270401001, -0.17080429196357727, -0.2535349726676941, 0.5551261901855469, 0.01867692731320858, 0.3434593081474304, -0.004866276867687702, -0.2515488862991333, 0.3742617666721344, -0.17503632605075836, 0.1883784383535385, -0.27369388937950134, 0.3436066806316376, -0.6908337473869324, 0.44697079062461853, 0.41847893595695496, -0.8772479295730591, -0.17928053438663483, 0.4623667001724243, 0.2633662521839142, -0.10103718191385269, 0.7550044059753418, -0.18098264932632446, -0.6976178288459778, 0.6733378171920776, 0.6235829591751099, 0.8111892938613892, -0.04087565466761589, 0.5397821068763733, 0.24693505465984344, 0.11001712083816528, 0.25331977009773254, -0.09739670902490616, -0.06964372843503952, -1.0481457710266113, 0.013199551030993462, -0.27887001633644104, -0.7139089703559875, -0.3218148350715637, -0.8489506244659424, 0.0891161784529686, -0.35200488567352295, -0.4808224141597748, 0.2317247837781906, -0.10790817439556122, -0.23118463158607483, 0.18578022718429565, -0.20607507228851318, 0.7855250835418701, -1.0162959098815918, 0.8928656578063965, 0.8556349873542786, -0.4706975519657135, -0.4823035001754761, 0.3553398549556732, -0.20511522889137268, -0.5678371787071228, 0.6375887989997864, 0.18395544588565826, 0.010598503984510899, -0.014814724214375019, -0.33869871497154236, -0.9262381792068481, 1.075330138206482, 0.2007812112569809, -0.2441415786743164, -0.051098067313432693, 0.04584547504782677, 0.6808595657348633, -0.44086605310440063, 0.4070153534412384, -0.15834204852581024, 0.05508996918797493, 0.17722724378108978, -0.3849411904811859, -0.17934834957122803, -0.5154667496681213, 0.3072621524333954, 0.0843653753399849, -0.6707594394683838, 1.0890227556228638, 0.3233519494533539, -0.2570582926273346, -0.18036101758480072, 0.7033727169036865, 0.2643963098526001, 0.15189123153686523, 0.46253731846809387, 0.6357870697975159, 0.9229423999786377, -0.10436370223760605, 1.0209134817123413, -0.7779472470283508, 0.6918061971664429, 1.2709523439407349, -0.5841286778450012, 0.8508638143539429, 0.26250559091567993, -0.11167284101247787, 0.38572070002555847, 0.9087569713592529, 0.13605262339115143, 0.5812479853630066, 0.3418694734573364, -0.14515340328216553, 0.05660788714885712, -0.5461840033531189, -0.7038067579269409, 0.47718310356140137, 0.6634132862091064, -0.17532721161842346, -0.34873443841934204, -0.11192350089550018, 0.0923059955239296, -0.13529717922210693, 0.05207130312919617, 0.6322982907295227, -0.05621422454714775, -0.30349332094192505, -0.11268136650323868, 0.07461825758218765, 0.5579357147216797, -0.9101969003677368, 0.03057451732456684, -0.3453460931777954, -0.24999426305294037, 0.3382336497306824, -0.8467586636543274, 0.30305665731430054, -0.1670714020729065, -0.3529243767261505, -0.10100705176591873, 1.0084071159362793, -0.29459381103515625, -0.4567433297634125, 0.5253978371620178, 0.5069451332092285, -0.13834993541240692, -0.07810436189174652, -0.7356747388839722, -0.36208367347717285, -0.3872983157634735, -0.06449774652719498, -0.016472909599542618, 0.5497388243675232, -0.1736777126789093, 0.7658967971801758, 0.5503615736961365, 0.18433792889118195, -0.19250577688217163, 0.054016292095184326, 0.9500337243080139, -0.5738706588745117, -0.8237790465354919, -0.48451319336891174, 0.07811089605093002, -0.329446017742157, -0.46550965309143066, 0.7153300642967224, 0.6555830836296082, 0.4834859073162079, 0.04461177438497543, 0.67658531665802, -0.19759872555732727, 0.3526003956794739, -0.3866543769836426, 0.8605761528015137, -0.4823366701602936, 0.09233345836400986, -0.707587718963623, -1.0754858255386353, -0.17326860129833221, 0.7895589470863342, -0.3501394987106323, -0.15703201293945312, 0.5647143125534058, 0.6327232122421265, -0.04089963436126709, 0.20879408717155457, 0.12775200605392456, 0.01591332256793976, 0.45738518238067627, 0.32392385601997375, 1.010755181312561, 0.07354243844747543, -0.04841882735490799, -0.3250022232532501, -0.470803439617157, -0.3380793035030365, -0.9132466316223145, -0.6965697407722473, -0.8838256001472473, -0.3528195321559906, -0.18423402309417725, 0.23727527260780334, 0.5324497222900391, 1.0049623250961304, -0.6482748985290527, -0.35355472564697266, -0.4462762475013733, 0.24199765920639038, -0.011257486417889595, -0.2760874927043915, 0.7243024110794067, 0.0232971403747797, -0.4501109719276428, -0.045633092522621155, 0.4012105464935303, 0.15812084078788757, -0.39153170585632324, 0.4518635869026184, -0.49851641058921814, 0.14903472363948822, 0.3903850018978119, 0.14644396305084229, -0.4250223934650421, -0.3125337064266205, -0.2832379937171936, -0.24986758828163147, 0.19960270822048187, 1.019754409790039, -0.32137641310691833, 0.6781750917434692, 0.7359755635261536, 0.5319274663925171, 0.8259444832801819, 0.19638903439044952, 0.6074042320251465, -0.5937460064888, 0.42494893074035645, 0.11429926007986069, 0.5511288642883301, 0.3708913326263428, -0.15449866652488708, 0.6816892027854919, 0.5273558497428894, -0.2049778699874878, -0.44015681743621826, 0.2490631490945816, -1.1127454042434692, -0.5502871870994568, 0.9290382266044617, -0.4730677902698517, 0.0836273580789566, -0.0565551221370697, -0.007204207591712475, 0.36147406697273254, -0.1768723726272583, 0.8189622759819031, 0.9375510215759277, -0.2091861516237259, -0.04108496010303497, 0.0679582729935646, -0.15039505064487457, 0.14467784762382507, -1.160449743270874, -0.1557764858007431, 0.4957837164402008, 0.06763193756341934, 0.45323479175567627, 0.7320238947868347, 0.05661441385746002, -0.2718398869037628, 0.4581376016139984, 0.20414577424526215, -0.010214434005320072, -0.3930497467517853, 0.11202086508274078, 0.4716084599494934, 0.1149047389626503, -0.14506717026233673 ]
http://arxiv.org/abs/2404.02103v1
http://arxiv.org/pdf/2404.02103v1
CLAPNQ: Cohesive Long-form Answers from Passages in Natural Questions for RAG systems
2024-04-02T17:00:11
2024-04-02T17:00:11
Sara Rosenthal, Avirup Sil, Radu Florian, Salim Roukos
cs.CL
cs.CL
Retrieval Augmented Generation (RAG) has become a popular application for large language models. It is preferable that successful RAG systems provide accurate answers that are supported by being grounded in a passage without any hallucinations. While considerable work is required for building a full RAG pipeline, being able to benchmark performance is also necessary. We present ClapNQ, a benchmark Long-form Question Answering dataset for the full RAG pipeline. ClapNQ includes long answers with grounded gold passages from Natural Questions (NQ) and a corpus to perform either retrieval, generation, or the full RAG pipeline. The ClapNQ answers are concise, 3x smaller than the full passage, and cohesive, with multiple pieces of the passage that are not contiguous. RAG models must adapt to these properties to be successful at ClapNQ. We present baseline experiments and analysis for ClapNQ that highlight areas where there is still significant room for improvement in grounded RAG. CLAPNQ is publicly available at https://github.com/primeqa/clapnq
[ -0.4262060225009918, -0.7986787557601929, 0.496340811252594, 0.3451782763004303, -0.41114428639411926, 0.23418892920017242, -0.009978222660720348, -0.44505414366722107, 0.28655049204826355, 0.9171623587608337, -0.29773977398872375, -0.240895077586174, -0.31369468569755554, 0.14263786375522614, -0.5384173393249512, 1.116733193397522, 0.15328210592269897, -0.4615943133831024, -0.3848636746406555, -0.4121379852294922, -0.256572961807251, -0.5518280267715454, -0.6431745290756226, -0.30629971623420715, 0.5104783773422241, 0.374722421169281, 0.7837638258934021, 0.48002320528030396, 0.38889265060424805, 0.1326524019241333, -0.3113129734992981, 0.2314785122871399, -0.4785577058792114, 0.6253844499588013, -0.312787801027298, -0.38559794425964355, -0.7468612790107727, -0.1473642885684967, 0.6648904085159302, 0.9011905789375305, -0.061751589179039, 0.6254665851593018, -0.022227508947253227, 0.9019944667816162, -0.6111947298049927, -0.09072963893413544, -0.5007303357124329, -0.07102910429239273, -0.3970282971858978, -0.18105381727218628, -0.37145498394966125, -0.4520402252674103, -0.005224422551691532, -0.3909083604812622, 0.5579051375389099, 0.30123788118362427, 0.7896039485931396, 0.3522379398345947, -0.7719312310218811, -0.22009891271591187, -0.4693959355354309, 0.7499138116836548, -0.6431859731674194, 0.33314284682273865, 0.4909433126449585, 0.5586894154548645, -0.4990575909614563, -0.8142088651657104, -0.497011661529541, -0.27387115359306335, 0.13363298773765564, 0.5800264477729797, 0.42127662897109985, -0.04645108804106712, 0.19383582472801208, 0.7006710171699524, -0.7872558236122131, -0.21408042311668396, -0.30392026901245117, -0.04660322144627571, 0.7011644840240479, 0.10341250151395798, 0.038461893796920776, -0.5797300338745117, -0.5885621309280396, -0.28862833976745605, -0.6650939583778381, 0.2724197804927826, 0.1925291121006012, 0.3000377118587494, -0.08849696069955826, 0.6913079023361206, -0.17192843556404114, 0.8669434785842896, 0.103794626891613, -0.06815831363201141, -0.05469060689210892, 0.10637199133634567, -0.032371047884225845, -0.1424996256828308, 0.55909663438797, 0.30605822801589966, -0.09963002800941467, -0.3302927315235138, -0.3941432237625122, -0.06599511951208115, 0.2750222980976105, -0.6572738885879517, -0.12949621677398682, 0.49997472763061523, -0.22285331785678864, -0.09325964003801346, 0.0475374311208725, -0.8140426278114319, -0.6653841137886047, -0.4526223838329315, 0.346101313829422, -0.07681798934936523, -0.4870848059654236, -0.017491860315203667, -0.5729196071624756, 0.538964033126831, 0.15963676571846008, -0.44885119795799255, 0.7560221552848816, 1.3047268390655518, 0.6549434065818787, -0.17168201506137848, -0.003663037670776248, -1.145330548286438, -0.034013304859399796, -0.5461214184761047, 0.7139915823936462, -0.11758017539978027, -0.03216763585805893, -0.23740296065807343, 0.012998288497328758, -0.08610954880714417, -0.8501254916191101, 0.8553881049156189, -0.9892624020576477, 0.21714504063129425, -0.046841803938150406, -0.6338244080543518, -0.09649346768856049, 0.503795862197876, -0.7010536789894104, 1.2534314393997192, 0.3629828989505768, -0.8477418422698975, 0.01663728430867195, -0.4517873525619507, -0.21084706485271454, 0.021625913679599762, 0.05343024805188179, -0.28880831599235535, 0.4051240086555481, 0.1118260845541954, 0.2415398508310318, -0.570182740688324, 0.5500799417495728, -0.3618054986000061, -0.31420689821243286, 0.4025420844554901, -0.3146996796131134, 0.8227715492248535, 0.2769356369972229, -0.39908337593078613, -0.03232891112565994, -0.8706833720207214, 0.19734376668930054, -0.09426933526992798, -0.08069302141666412, -0.25676238536834717, -0.2019503116607666, -0.09765537083148956, 0.11138615012168884, 0.014971895143389702, -0.5051827430725098, -0.10222398489713669, -0.5331517457962036, 0.14049425721168518, 0.5614171028137207, 0.18661436438560486, 0.3695699870586395, -0.6407164931297302, 0.7176218628883362, -0.058924634009599686, -0.020578579977154732, -0.10726874321699142, -0.5226274728775024, -0.8138580918312073, -0.25889450311660767, 0.5120465159416199, 0.43238723278045654, -0.7867661118507385, 0.08883991092443466, -0.34175607562065125, -0.45537248253822327, -0.43375611305236816, 0.03782900422811508, 0.3591148853302002, 0.8547319769859314, 0.33082693815231323, -0.3011693060398102, -0.6350223422050476, -0.728077232837677, -0.30471038818359375, -0.20419251918792725, -0.11661060899496078, 0.5579189658164978, 0.36010080575942993, 0.053708408027887344, 1.0835243463516235, -0.28302615880966187, 0.25742319226264954, 0.20242291688919067, 0.42190122604370117, 0.8165954351425171, 0.1477002203464508, 0.2574157118797302, -0.9571701884269714, -0.688555121421814, 0.03167358413338661, -0.7094991207122803, -0.15561319887638092, 0.08924826234579086, -0.37965524196624756, 0.15085925161838531, 0.3519544303417206, -0.7029622197151184, 0.24562124907970428, 0.7819731831550598, -0.4673765003681183, 0.7460360527038574, 0.055098794400691986, 0.10296040773391724, -1.1012747287750244, 0.47185131907463074, -0.5401981472969055, -0.66295325756073, -0.4859192669391632, 0.4033099412918091, 0.22922967374324799, -0.34844616055488586, -0.31503570079803467, 0.8948899507522583, -0.40331733226776123, -0.23412494361400604, -0.3435390591621399, 0.3965214192867279, 0.2916649878025055, 0.25637683272361755, -0.03945796936750412, 0.8402979969978333, 0.41500625014305115, -0.7972666025161743, 0.3720995783805847, 0.1807800680398941, 0.02145330421626568, 0.44186994433403015, -0.9437785148620605, 0.5638217329978943, -0.3760402202606201, 0.4733532667160034, -0.8580977320671082, -0.5761890411376953, -0.035872671753168106, -0.49505048990249634, 0.17150460183620453, -0.561564028263092, -0.36779290437698364, -0.42145973443984985, -0.21506433188915253, 0.4840548634529114, 0.7139983773231506, -0.6290649175643921, 0.39910197257995605, 0.444180965423584, -0.2600957155227661, -0.667191207408905, -0.09578435868024826, 0.21105045080184937, -0.36394476890563965, -0.9200710654258728, 0.2101905643939972, 0.10279759019613266, -0.2377835512161255, -0.23605334758758545, -0.2067345380783081, -0.21215227246284485, 0.12277426570653915, 0.32885169982910156, 0.05640717223286629, -0.4970998167991638, 0.176044762134552, -0.248649001121521, -0.1590292751789093, 0.009611375629901886, -0.17941151559352875, 0.5465433597564697, -0.2659411132335663, -0.1523401290178299, 0.25177159905433655, 0.4912690222263336, 0.7888774275779724, -0.39021214842796326, 0.5133616924285889, 0.4592083692550659, -0.08641606569290161, -0.3378341794013977, -0.4390493631362915, -0.03954293951392174, -0.42867764830589294, -0.1587890088558197, -0.2992938756942749, -0.9815104603767395, 0.6376686096191406, -0.11601158231496811, 0.1778317093849182, 0.4344404637813568, 0.20709843933582306, -0.35119378566741943, 0.7877944707870483, 0.27699005603790283, 0.37412694096565247, -0.12443441152572632, -0.0029433751478791237, -0.12301509827375412, -1.076450228691101, 0.2992604076862335, -0.510671854019165, -0.24369116127490997, -0.42765557765960693, -0.9735885262489319, 0.5353039503097534, 0.5222079753875732, -0.4800742268562317, 0.10186021029949188, -0.3169206380844116, 0.2233095020055771, 0.5800040364265442, -0.05594228208065033, 0.26760709285736084, -0.4041258990764618, -0.007735578343272209, 0.0848950520157814, -0.5963805317878723, -0.570880651473999, 0.955482006072998, 0.38053596019744873, 0.5628905892372131, 0.3568660020828247, 0.8310940861701965, 0.018046485260128975, 0.5253233313560486, -0.5239014625549316, 0.5430118441581726, -0.15728580951690674, -0.8925289511680603, -0.28643500804901123, -0.5050516128540039, -1.1300489902496338, 0.20857641100883484, 0.016283312812447548, -0.3056958019733429, -0.08736177533864975, 0.16803976893424988, -0.4050504267215729, 0.0023622873704880476, -0.5298935174942017, 0.7031576037406921, -0.2424563616514206, -0.5005872845649719, 0.3184976875782013, -0.7649368643760681, 0.6057601571083069, -0.020681986585259438, 0.03586573153734207, -0.14102423191070557, -0.04079165682196617, 0.6950134038925171, -0.3822726309299469, 0.5011270642280579, -0.24113324284553528, -0.056089747697114944, 0.7271953225135803, -0.1069820448756218, 0.6171528697013855, 0.2155584841966629, -0.3285387456417084, -0.3343879282474518, 0.1679893434047699, -0.5365074276924133, -0.890491247177124, 0.4013601839542389, -0.46890202164649963, -0.6870405673980713, -0.46239352226257324, -0.29573020339012146, -0.4902578890323639, 0.05621951073408127, 0.0070815011858940125, 0.659747302532196, -0.06413310766220093, 0.578592836856842, 0.6874133348464966, -0.20172135531902313, 0.31586673855781555, 0.21337170898914337, -0.7212991714477539, -0.6357647180557251, 0.5933704972267151, 0.03663838282227516, 0.20863795280456543, 0.15738153457641602, 0.4532870054244995, -0.5742394924163818, -0.3018096685409546, -0.6081228852272034, 0.24462120234966278, -0.37833788990974426, -0.401908814907074, -0.5927366018295288, -0.3016664683818817, -0.5256105661392212, 0.18072642385959625, -0.4113277494907379, -0.6230049133300781, 0.11240842938423157, 0.2355680614709854, 0.4685775637626648, 0.38771000504493713, 0.05415315181016922, -0.11472311615943909, -1.2096068859100342, 0.9761746525764465, 0.5149424076080322, 0.6471002101898193, -0.07724004983901978, -0.6179239749908447, -0.09020175784826279, 0.24822257459163666, -0.2795305550098419, -0.7361587882041931, 0.18858718872070312, 0.3398309051990509, 0.39539435505867004, 0.03964995965361595, 0.7894965410232544, 1.009617567062378, -0.6125452518463135, 0.8536610007286072, 0.025588924065232277, -0.5661238431930542, 0.3795260787010193, -0.8190931677818298, 0.42264410853385925, 0.5956167578697205, 0.26549458503723145, -0.7294214367866516, -0.48018449544906616, -0.7551525235176086, -0.8977276086807251, 0.12872745096683502, 0.1635119765996933, 0.03463287279009819, -0.2372172623872757, 0.3271372318267822, 0.2688758373260498, 0.18630579113960266, -0.30613723397254944, 0.026699313893914223, -0.200333371758461, -0.038587119430303574, -0.10669136792421341, -0.18859916925430298, -0.37703201174736023, -0.05546382814645767, 0.436041921377182, -0.3141690790653229, 0.19511087238788605, 0.32008007168769836, -0.14652884006500244, -0.032019153237342834, 0.40711891651153564, 0.3105100691318512, 0.7234674096107483, -0.37007880210876465, 0.26482856273651123, -0.06028025224804878, -0.5168332457542419, 0.07143401354551315, -0.043314553797245026, -0.1484873741865158, 0.09598571807146072, 0.09175313264131546, 0.6607548594474792, 0.11197024583816528, -0.695918619632721, 0.4683739244937897, -0.09141525626182556, -0.19155067205429077, -0.6286114454269409, 0.09048742800951004, 0.1667189598083496, 0.18084441125392914, 0.5509008169174194, 0.012440718710422516, 0.1325622946023941, -0.6446326971054077, 0.39982011914253235, 0.28165584802627563, -0.32725000381469727, -0.2124669849872589, 0.5486555099487305, 0.16713154315948486, -0.45815372467041016, 0.6945582628250122, -0.20297308266162872, -0.6311260461807251, 0.5397436022758484, 0.6592742204666138, 0.7986606955528259, 0.31650081276893616, 0.39822593331336975, 0.5219963788986206, -0.14894679188728333, -0.10865113884210587, 0.40325406193733215, -0.14535075426101685, -0.19163569808006287, -0.7272038459777832, -0.8164917230606079, -0.7754703164100647, 0.06177833303809166, -0.9328019618988037, 0.1799844354391098, -0.43666207790374756, -0.36497771739959717, -0.40067628026008606, -0.03662167862057686, -0.5146225690841675, 0.31724318861961365, 0.1675848811864853, 0.9338568449020386, -0.5641814470291138, 0.2640855312347412, 0.7588319778442383, -0.025068731978535652, -0.9125343561172485, -0.014381838031113148, -0.3264017403125763, -0.11572365462779999, 0.5166903138160706, 0.2526443898677826, -0.0006882728193886578, -0.10436341166496277, -0.6473064422607422, -0.9901643991470337, 0.9677383899688721, 0.3924630582332611, 0.0011898827506229281, 0.23427410423755646, 0.24345465004444122, 0.7547156810760498, 0.03272855654358864, 0.1937524825334549, 0.32569292187690735, 0.2049866020679474, 0.27766168117523193, -1.0351020097732544, -0.18484021723270416, -0.3558615744113922, -0.3002849221229553, 0.37951889634132385, -0.7680785655975342, 0.9289582371711731, 0.28965312242507935, -0.3325519561767578, 0.29115644097328186, 0.7994512915611267, 0.8169597387313843, 0.6853857636451721, 0.4649852216243744, 0.7752987742424011, 1.0337674617767334, -0.07799632847309113, 1.0022200345993042, -0.08458228409290314, 0.20358088612556458, 1.5237878561019897, -0.32366928458213806, 1.2595347166061401, 0.5597023367881775, -0.1645086407661438, 0.5373490452766418, 0.358011931180954, 0.5001686811447144, 0.025840971618890762, 0.4473007917404175, -0.37113380432128906, -0.3090048134326935, -0.12023833394050598, -0.4659460186958313, 0.5397477746009827, 0.020329860970377922, 0.14234165847301483, -0.3155357837677002, -0.08832713961601257, -0.28938159346580505, 0.2702389061450958, -0.28723326325416565, 0.6470131874084473, 0.3385646641254425, -1.2977293729782104, 0.8523895144462585, -0.30764561891555786, 0.3812953233718872, -0.30283692479133606, -0.1956767737865448, -0.5084957480430603, 0.12528511881828308, -0.09038762748241425, -0.8277947902679443, 0.39186081290245056, 0.19601953029632568, -0.23302584886550903, -0.3004109859466553, 0.7837129235267639, -0.1717088222503662, -0.3414952754974365, -0.10118504613637924, 0.5886374711990356, 0.3142924904823303, -0.16680650413036346, -0.4369877576828003, -0.30608201026916504, -0.5135020017623901, -0.11823876202106476, 0.356198251247406, 0.7195229530334473, -0.15949171781539917, 0.5803860425949097, 0.7397804856300354, 0.019408201798796654, 0.5161008834838867, -0.01946420781314373, 0.6117766499519348, -0.7993805408477783, -0.5823829174041748, -0.21141204237937927, 0.9116082191467285, -0.46735474467277527, -0.41237732768058777, 0.9556244015693665, 0.6043288707733154, 0.27250343561172485, -0.047249142080545425, 0.31898853182792664, -0.14258520305156708, 1.3052635192871094, -0.27451494336128235, 0.7111648321151733, -0.5211678147315979, -0.035035282373428345, -0.16043324768543243, -1.0617575645446777, -0.24083974957466125, 0.22345954179763794, 0.008579598739743233, -0.3697493076324463, 0.41660964488983154, 0.7626582384109497, -0.17998962104320526, 0.11150015145540237, 0.3063126504421234, -0.03182225674390793, 0.27728623151779175, 0.3281944990158081, 1.1957850456237793, -0.849973201751709, 0.337040513753891, -0.24454917013645172, -0.07499342411756516, -0.10681828111410141, -1.0918831825256348, -0.7107093930244446, -0.5062814950942993, -0.31070834398269653, -0.5370360016822815, 0.01650109514594078, 0.7492988705635071, 0.5840956568717957, -0.833200216293335, -0.3405728042125702, -0.10213672369718552, 0.07088437676429749, -0.2118348628282547, -0.2512612044811249, 0.46849775314331055, -0.5045653581619263, -0.44845712184906006, 0.42453014850616455, 0.13930252194404602, -0.13591940701007843, 0.03843105956912041, -0.13083165884017944, -0.18373295664787292, -0.010922897607088089, 0.6413823962211609, 0.6388179063796997, -0.4181016981601715, -0.4570818245410919, 0.5182382464408875, -0.047192659229040146, -0.009507134556770325, 0.682952344417572, -0.963912308216095, 0.4560147225856781, 0.6208420395851135, 0.9915387034416199, 0.6152665019035339, 0.4513748586177826, 0.6621716022491455, -0.9117276668548584, 0.08631721884012222, 0.8434414863586426, -0.08772492408752441, 0.31674447655677795, 0.09067345410585403, 0.672664999961853, -0.10794445127248764, -0.8969236612319946, -1.0068392753601074, 0.11300365626811981, -1.1549121141433716, 0.19895188510417938, 1.310051441192627, -0.19041357934474945, -0.49007001519203186, -0.5126028656959534, -0.13101550936698914, 0.1972363442182541, 0.03261323273181915, 0.5677056908607483, 0.5558566451072693, -0.05383376404643059, -0.36263084411621094, -0.750815212726593, 0.4057300090789795, 0.5544265508651733, -0.518585205078125, 0.20527507364749908, 0.5981143116950989, -0.07200616598129272, 0.2892802059650421, 0.6427722573280334, -0.22611373662948608, 0.5049605965614319, 0.045755933970212936, -0.4282434284687042, 0.2296900600194931, -0.27157580852508545, -0.1001524031162262, 0.520603358745575, 0.24166645109653473, 0.026771366596221924 ]
http://arxiv.org/abs/2404.02931v1
http://arxiv.org/pdf/2404.02931v1
READ: Improving Relation Extraction from an ADversarial Perspective
2024-04-02T16:42:44
2024-04-02T16:42:44
Dawei Li, William Hogan, Jingbo Shang
cs.CL
cs.CL, cs.AI
Recent works in relation extraction (RE) have achieved promising benchmark accuracy; however, our adversarial attack experiments show that these works excessively rely on entities, making their generalization capability questionable. To address this issue, we propose an adversarial training method specifically designed for RE. Our approach introduces both sequence- and token-level perturbations to the sample and uses a separate perturbation vocabulary to improve the search for entity and context perturbations. Furthermore, we introduce a probabilistic strategy for leaving clean tokens in the context during adversarial training. This strategy enables a larger attack budget for entities and coaxes the model to leverage relational patterns embedded in the context. Extensive experiments show that compared to various adversarial training methods, our method significantly improves both the accuracy and robustness of the model. Additionally, experiments on different data availability settings highlight the effectiveness of our method in low-resource scenarios. We also perform in-depth analyses of our proposed method and provide further hints. We will release our code at https://github.com/David-Li0406/READ.
[ -0.4003540575504303, -0.9886431097984314, 0.22973839938640594, -0.18145696818828583, -0.4079190194606781, -0.14907149970531464, -0.1567269265651703, -0.2643861770629883, 0.14397922158241272, 0.6206845641136169, -0.4526076018810272, -0.39913612604141235, -0.6623209118843079, -0.03187984228134155, -0.43076616525650024, 0.9991297125816345, 0.20680630207061768, 0.11787256598472595, -0.0813746228814125, -0.22272977232933044, -0.28178802132606506, -0.7615097165107727, -0.8819341659545898, -0.1994868814945221, 0.6597563028335571, 0.09442359209060669, 0.9106485843658447, 0.7865825295448303, 0.6097360849380493, 0.20588763058185577, -0.298117458820343, 0.30436310172080994, -0.6682677865028381, 0.3665188252925873, -0.319821834564209, -0.4938923120498657, -0.23852713406085968, 0.1637100726366043, 0.333706796169281, 0.5855749845504761, -0.3032914400100708, 0.15900418162345886, -0.22645382583141327, 0.40111446380615234, -0.9554115533828735, 0.20008622109889984, -0.9951883554458618, 0.1150117740035057, -0.30092868208885193, -0.2612919509410858, -0.6188950538635254, 0.15603318810462952, 0.12273039668798447, -0.7200947999954224, 0.4170653223991394, 0.01889815367758274, 1.3462040424346924, 0.31819990277290344, -0.2925187349319458, 0.12755487859249115, -0.6316609382629395, 0.5621381998062134, -0.4647052586078644, 0.41156667470932007, 0.22574546933174133, 0.11158942431211472, -0.4691731333732605, -0.8567624688148499, -0.2691221535205841, 0.0019727458711713552, -0.175840362906456, -0.132671058177948, -0.12093671411275864, -0.09356410801410675, 0.4281361997127533, 0.23327785730361938, -0.1165173351764679, -0.1696597784757614, 0.07327117770910263, -0.032843153923749924, 0.4158879220485687, 0.03963513672351837, 0.3087349832057953, -0.1613149493932724, -0.5501585006713867, -0.2362777143716812, -0.9629271030426025, 0.04257168248295784, 0.42910057306289673, 0.2899826169013977, 0.2696699798107147, 0.3605506122112274, 0.27456143498420715, 0.4481772184371948, 0.15082506835460663, 0.29377269744873047, 0.013379503041505814, -0.30499503016471863, -0.13067349791526794, -0.20541857182979584, 0.9637539386749268, -0.10557418316602707, 0.16099347174167633, -0.681914746761322, -0.29725390672683716, -0.09570246934890747, 0.5489704012870789, -0.8011676073074341, -0.7617911100387573, -0.10367303341627121, -0.2716359794139862, -0.4895549714565277, 0.21584388613700867, -0.9275455474853516, -0.5368599891662598, -0.1511772722005844, 0.04705208167433739, -0.7147420644760132, -0.28515517711639404, -0.32589495182037354, -0.19291432201862335, -0.11484462022781372, 0.11220087856054306, -0.9582112431526184, 0.38432738184928894, 0.6850130558013916, 0.5087399482727051, -0.01969534531235695, -0.13879849016666412, -0.9832823276519775, 0.1202632412314415, -0.23222489655017853, 0.4880402386188507, -0.5476123094558716, -0.4112134873867035, -0.10896798968315125, -0.14480791985988617, -0.01819177158176899, -0.7283521294593811, 0.4219302237033844, -1.1263642311096191, -0.012051704339683056, -0.24093514680862427, -0.24366992712020874, 0.021850936114788055, 0.3235176205635071, -0.9836181998252869, 0.5562496781349182, 0.1462661772966385, -1.0557671785354614, 0.26913490891456604, -0.37073469161987305, -0.47475042939186096, -0.3291296064853668, -0.4072299897670746, -0.7701555490493774, 0.031188903376460075, 0.7234116196632385, 0.2655579149723053, -0.2263779491186142, 0.10866262018680573, -0.6271753907203674, -0.3562408685684204, 0.27648916840553284, -0.375629186630249, 0.9778013229370117, 0.18237245082855225, -0.30658307671546936, 0.04408872500061989, -0.7571586966514587, -0.25729987025260925, 0.4058610796928406, -0.28771182894706726, -0.7241793870925903, 0.02952919714152813, -0.17975136637687683, -0.06326378136873245, 0.010051828809082508, -0.4415521025657654, 0.30934685468673706, -0.8910010457038879, 0.21445421874523163, 0.6734236478805542, 0.5365175008773804, 0.6070205569267273, 0.08385234326124191, 0.5486034750938416, 0.3995841145515442, 0.020542776212096214, -0.13467800617218018, -0.03988064080476761, -0.48109933733940125, -0.37656861543655396, 0.6701028943061829, 0.5417418479919434, -1.1449720859527588, 0.29699450731277466, -0.3778896927833557, -0.22742332518100739, -0.3454345166683197, 0.329468697309494, 0.7128844857215881, 0.6351150870323181, 0.5718762874603271, -0.386766642332077, -0.7663766145706177, -0.6389843821525574, -0.5480632185935974, -0.11165803670883179, -0.03828204423189163, 0.18937891721725464, 0.4088778793811798, -0.046083830296993256, 1.0089689493179321, -0.6577613949775696, -0.1611768752336502, 0.04711548984050751, -0.04178045690059662, 0.09269159287214279, 0.42423972487449646, 0.5484333634376526, -1.3120399713516235, -0.05513700097799301, -0.29319658875465393, -1.0065515041351318, 0.4152286648750305, -0.062389351427555084, -0.24755653738975525, -0.1140504702925682, 0.389787495136261, -0.7638459205627441, 0.5107539296150208, -0.019341545179486275, -0.2615472674369812, 0.17928828299045563, 0.17982584238052368, -0.18500426411628723, -1.0771567821502686, 0.10478552430868149, 0.1118670105934143, -0.23680227994918823, -0.5527927279472351, 0.4014859199523926, 0.07954206317663193, -0.30027517676353455, -0.4425562620162964, 0.3065488934516907, -0.5749237537384033, 0.13258518278598785, 0.06282708048820496, 0.11404723674058914, 0.04259217903017998, 0.3734074532985687, -0.16846375167369843, 0.7494068741798401, 0.15666717290878296, -0.5554869174957275, 0.4868135452270508, 0.5736055970191956, 0.19814737141132355, 0.3765825033187866, -0.21946769952774048, 0.351602166891098, -0.05906490609049797, 0.30701372027397156, -0.6659177541732788, 0.05155074968934059, 0.6434034705162048, -0.6534872055053711, 0.8961838483810425, -0.27696526050567627, -0.27813977003097534, 0.1531749665737152, -0.3754870593547821, 0.24258971214294434, 0.10640906542539597, -0.7285913825035095, 0.7577350735664368, 0.5407736897468567, 0.22373878955841064, -1.187225341796875, -0.4396767318248749, 0.2776090204715729, -0.530695378780365, -0.4286547899246216, 0.43118351697921753, 0.4520342946052551, -0.2696589529514313, 0.3338586091995239, -0.35828325152397156, -0.17518985271453857, 0.4872971475124359, 0.2753657400608063, 0.3242628872394562, -0.0769689753651619, 0.042468540370464325, -0.5558399558067322, -0.28795310854911804, 0.4367639422416687, -0.22555269300937653, 0.4450145363807678, 0.14746695756912231, 0.06145969405770302, -0.3716636896133423, 0.13884906470775604, 0.3304744362831116, -0.3904426395893097, 0.9212237000465393, 0.7547279596328735, -0.44614022970199585, -0.08373655378818512, -0.2652507424354553, -0.34194648265838623, -0.41285744309425354, 0.6372799277305603, -0.6080896854400635, -0.19408416748046875, 0.5541579723358154, -0.21206417679786682, 0.14644841849803925, 0.30078125, -0.013158388435840607, 0.21168597042560577, 0.6857039928436279, 0.5230980515480042, -0.5704225301742554, 0.7649275660514832, -0.5793087482452393, 0.21719110012054443, -1.094746708869934, -0.13188281655311584, -0.3331809341907501, -0.03817826136946678, -0.3547796607017517, 0.04548295959830284, 0.08247599005699158, 0.31576013565063477, -0.26413771510124207, 0.6480664610862732, -0.28945791721343994, 0.12113775312900543, 0.34863805770874023, 0.4981954097747803, 0.1295313984155655, 0.2531149685382843, 0.08522766083478928, -0.23117893934249878, -0.6484020948410034, -0.27691736817359924, 1.3378217220306396, 0.2455514520406723, 0.6424557566642761, 0.2752295136451721, 0.9176482558250427, 0.04894987493753433, 0.6656491756439209, -0.5203250646591187, 0.3392471373081207, -0.27633437514305115, -0.5628324747085571, -0.422105997800827, -0.8796409368515015, -1.129838228225708, 0.33711013197898865, -0.22350479662418365, -0.7296699285507202, 0.2294926941394806, 0.11295957863330841, -0.33390307426452637, 0.47226810455322266, -0.45950236916542053, 0.8651398420333862, 0.0567636638879776, -0.43047845363616943, 0.14928685128688812, -0.7298522591590881, 0.39039406180381775, -0.06508778780698776, 0.16169025003910065, 0.3105527460575104, -0.21075506508350372, 0.558526873588562, -0.4316479563713074, 0.5422707796096802, -0.4298887550830841, 0.03422827646136284, 0.21700869500637054, 0.0663568377494812, 0.940640389919281, 0.4030400514602661, -0.2677614688873291, -0.022674251347780228, -0.35173603892326355, -0.3818611204624176, -1.0224924087524414, 0.5828630924224854, -0.8626273274421692, -0.7276210188865662, -0.16607359051704407, -0.33801156282424927, -0.3485051691532135, 0.11287333816289902, 0.3564601540565491, 0.45276013016700745, -0.2828638553619385, 0.3055860698223114, 0.8233538269996643, -0.023310089483857155, 0.2704624831676483, 0.10969076305627823, 0.23028412461280823, -0.7397934794425964, 0.8225333094596863, -0.034890204668045044, 0.09947714954614639, 0.5718961954116821, -0.05328324809670448, -0.3186964690685272, -0.4728141725063324, -0.4562389850616455, 0.027811553329229355, -0.7817156314849854, -0.43454718589782715, -0.5963762998580933, -0.09449618309736252, -0.5243414640426636, 0.45467236638069153, -0.3368903696537018, -0.2108822613954544, -0.5614567995071411, 0.042700834572315216, -0.03352266177535057, 0.2476607859134674, 0.33505985140800476, 0.1433694064617157, -0.6981351375579834, 0.3942316770553589, 0.08393009006977081, -0.08771031349897385, -0.08283232152462006, -0.5085554122924805, -0.08828955143690109, -0.056023821234703064, -0.4534061849117279, -0.9667940139770508, 0.2838182747364044, 0.18396256864070892, 0.3870467245578766, 0.4074757993221283, 0.34453651309013367, 0.8594689965248108, -0.44034382700920105, 0.5752240419387817, 0.21865108609199524, -0.6794117093086243, 0.5759520530700684, -0.24982495605945587, -0.18047739565372467, 0.6539492011070251, 0.32237717509269714, -0.023606501519680023, -0.16887305676937103, -1.2286511659622192, -1.138611078262329, 0.6551758646965027, 0.3617953062057495, -0.08349128812551498, 0.07635090500116348, 0.9404603838920593, -0.5600346922874451, 0.3389526605606079, -0.5316676497459412, -0.5646973252296448, -0.08255492895841599, -0.1543101817369461, 0.07506659626960754, -0.1781764030456543, -0.3564879894256592, 0.07754063606262207, 0.7994548678398132, 0.2802917957305908, 0.0017829869175329804, 0.3326190114021301, -0.10257400572299957, -0.13229408860206604, -0.03443712741136551, -0.054411910474300385, 0.6790644526481628, -0.1092337965965271, 0.31186509132385254, 0.28906169533729553, -0.48455584049224854, 0.2624605596065521, 0.4533618092536926, -0.16920769214630127, 0.12920130789279938, 0.45126447081565857, 0.3025340437889099, 0.2229832410812378, -0.3493509590625763, 0.6821606159210205, -0.4118431508541107, 0.06696444004774094, -0.5068734288215637, 0.03999665752053261, -0.13053955137729645, 0.25147122144699097, 0.16043446958065033, 0.2344539910554886, 0.09866806119680405, -0.5973716974258423, 0.6358527541160583, 0.5413947105407715, -0.4422360062599182, -0.19021715223789215, 0.9538737535476685, 0.04228873550891876, -0.35267025232315063, 0.7915624380111694, -0.36081168055534363, -0.5063340663909912, 0.48914647102355957, 0.488429456949234, 0.7064954042434692, -0.13688386976718903, -0.3393888473510742, 0.12242120504379272, 0.15983475744724274, -0.010268871672451496, -0.2509216070175171, 0.08849528431892395, -0.7718535661697388, -0.25687459111213684, -0.31283512711524963, -0.25068819522857666, 0.4906803369522095, -0.8699309825897217, 0.21896326541900635, -0.666499674320221, -0.31028875708580017, 0.17051710188388824, 0.22408489882946014, -0.5042688846588135, 0.2992631196975708, -0.13315439224243164, 0.6079261898994446, -0.44415920972824097, 0.9005106091499329, 0.9278193116188049, -0.6226352453231812, -0.910157322883606, 0.1606931835412979, 0.04997769370675087, -0.4219190776348114, 0.809354305267334, -0.11979535222053528, -0.00818625744432211, -0.10940328240394592, -0.3188304603099823, -0.7011542320251465, 0.8561321496963501, 0.6502991914749146, -0.4248477816581726, -0.22181424498558044, -0.4554804563522339, 0.3787314295768738, -0.27454379200935364, -0.04652278125286102, 0.6041490435600281, 0.03802269697189331, 0.009159937500953674, -0.16584670543670654, 0.37838509678840637, -0.3371984362602234, 0.17530491948127747, 0.47897103428840637, -0.3649103343486786, 0.6795834302902222, 0.027252789586782455, -0.5229521989822388, 0.13815492391586304, 0.9195152521133423, 0.05848828703165054, 0.14254207909107208, 0.8048760294914246, 0.6365395188331604, 0.6814849972724915, -0.0018407815368846059, 1.0348182916641235, -0.3142942786216736, 0.42894917726516724, 1.47340989112854, -0.04182569682598114, 0.6645923256874084, 0.6123923063278198, -0.09957918524742126, 0.3819570243358612, 0.6319032311439514, -0.07554465532302856, 0.5664169788360596, 0.3120500147342682, -0.25458794832229614, -0.09798641502857208, 0.03910939395427704, -0.17228831350803375, 0.27890512347221375, 0.30521678924560547, -0.5723313093185425, 0.02112557366490364, -0.24470487236976624, 0.34262198209762573, 0.31383106112480164, 0.14061003923416138, 0.7189278602600098, 0.176286980509758, -0.5777216553688049, 0.4709664583206177, -0.12114333361387253, 0.2898944616317749, -0.43031787872314453, -0.0705602616071701, -0.007727392017841339, 0.5837966799736023, -0.18853360414505005, -0.07132057100534439, 0.2539043426513672, -0.1161884292960167, -0.15025682747364044, 0.15566693246364594, 0.6515593528747559, -0.30381160974502563, -0.026119591668248177, 0.39418354630470276, 0.26335591077804565, -0.20725707709789276, -0.2678292393684387, -0.6870263814926147, -0.2964659333229065, 0.07527986168861389, -0.5787881016731262, 0.4438132345676422, 0.6608279347419739, 0.13906516134738922, 0.35281258821487427, 0.7727792859077454, 0.4748392403125763, -0.4165460467338562, 0.03395143151283264, 1.12343430519104, -0.5692673921585083, -0.20195052027702332, -1.1450788974761963, 0.1653091013431549, -0.5742406249046326, -0.3849185109138489, 0.7090884447097778, 0.4845183491706848, 0.8516598343849182, 0.20420682430267334, 0.40896886587142944, 0.15625400841236115, 0.2512722611427307, -0.3842189610004425, 0.5135619044303894, -0.2469833344221115, 0.7263147234916687, -0.26282012462615967, -0.7330585718154907, -0.46866658329963684, 0.4503193199634552, -0.31876224279403687, -0.2376214861869812, 0.6994741559028625, 0.7162761092185974, -0.09996740520000458, -0.035993486642837524, 0.052290625870227814, -0.015486535616219044, 0.7760114073753357, 0.45195913314819336, 0.7454221248626709, -0.8393520712852478, 1.0098018646240234, -0.32251644134521484, -0.1585170030593872, 0.10707098990678787, -0.5307355523109436, -0.9677121639251709, -0.21148478984832764, -0.24068404734134674, -0.735698938369751, 0.3810727298259735, 0.6686191558837891, 0.6144248843193054, -0.60164475440979, 0.29503223299980164, -0.10108305513858795, 0.12774978578090668, -0.21069952845573425, -0.26334822177886963, 0.5262781381607056, -0.49411219358444214, -0.4027951657772064, 0.4201452136039734, -0.06798105686903, -0.21605999767780304, -0.1592118740081787, 0.11380092054605484, -0.3532693386077881, -0.33723852038383484, 0.09035033732652664, 0.17031915485858917, -0.5457834005355835, -0.34955164790153503, -0.28612586855888367, -0.04188236966729164, 0.13420206308364868, 0.8618357181549072, -0.7438912987709045, 0.37605875730514526, 0.21057383716106415, 0.9762572050094604, 0.39324086904525757, 0.5213245749473572, 0.7857518792152405, -1.0576127767562866, 0.2712714970111847, 0.2762516736984253, 0.4753870368003845, 0.3746664226055145, -0.8210059404373169, 0.8848139643669128, 0.5092317461967468, -0.3014092445373535, -0.8396368622779846, 0.33558189868927, -0.4137524962425232, -0.35828739404678345, 0.956220805644989, -0.7604529857635498, -0.3466348350048065, -0.12482830882072449, 0.026236189529299736, 0.6792802810668945, -0.48371583223342896, 0.8408313989639282, 0.4477114677429199, 0.05012664943933487, 0.05016190558671951, -0.28895917534828186, 0.5735726952552795, 0.3424477279186249, -0.6085122227668762, 0.1438412070274353, 0.1322549432516098, 0.3148573040962219, 0.4327235221862793, 0.2463148981332779, -0.31939518451690674, 0.1846928596496582, 0.22025130689144135, -0.3232949376106262, -0.33372384309768677, -0.3170098066329956, -0.48144474625587463, 0.44757550954818726, -0.02378149703145027, -0.35418999195098877 ]
http://arxiv.org/abs/2404.02088v1
http://arxiv.org/pdf/2404.02088v1
LastResort at SemEval-2024 Task 3: Exploring Multimodal Emotion Cause Pair Extraction as Sequence Labelling Task
2024-04-02T16:32:49
2024-04-02T16:32:49
Suyash Vardhan Mathur, Akshett Rai Jindal, Hardik Mittal, Manish Shrivastava
cs.CL
cs.CL, cs.SD, eess.AS
Conversation is the most natural form of human communication, where each utterance can range over a variety of possible emotions. While significant work has been done towards the detection of emotions in text, relatively little work has been done towards finding the cause of the said emotions, especially in multimodal settings. SemEval 2024 introduces the task of Multimodal Emotion Cause Analysis in Conversations, which aims to extract emotions reflected in individual utterances in a conversation involving multiple modalities (textual, audio, and visual modalities) along with the corresponding utterances that were the cause for the emotion. In this paper, we propose models that tackle this task as an utterance labeling and a sequence labeling problem and perform a comparative study of these models, involving baselines using different encoders, using BiLSTM for adding contextual information of the conversation, and finally adding a CRF layer to try to model the inter-dependencies between adjacent utterances more effectively. In the official leaderboard for the task, our architecture was ranked 8th, achieving an F1-score of 0.1759 on the leaderboard.
[ -0.5460287928581238, -0.8582139611244202, 0.3451917767524719, 0.36941537261009216, -0.17104502022266388, -0.1449403613805771, 0.023895500227808952, -0.7825222015380859, 0.024928933009505272, 0.2851698696613312, -0.5681021213531494, -0.3485928773880005, -0.6001551151275635, 0.24523530900478363, -0.22913052141666412, 0.8227123022079468, 0.0868796557188034, 0.2200937718153, -0.4103344976902008, -0.5052351355552673, -0.6798377633094788, -0.7791687250137329, -0.596491277217865, -0.15756745636463165, 0.600365400314331, 0.5976154208183289, 0.31867581605911255, -0.013617197051644325, 0.5628881454467773, 0.4097348153591156, -0.16790197789669037, 0.08355659991502762, -0.4374731481075287, 0.4680100381374359, -0.07859131693840027, -0.16830343008041382, -0.6284485459327698, -0.1683780401945114, 0.20091374218463898, 0.24570462107658386, 0.005982690490782261, 0.0004768343351315707, 0.052726421505212784, 0.6829469799995422, -0.3830086290836334, 0.16729550063610077, -0.25515952706336975, 0.16612282395362854, -0.2767315208911896, -0.5489949584007263, -0.3638717234134674, 0.051832057535648346, 0.3522001802921295, -0.12140100449323654, 0.044013723731040955, 0.29724550247192383, 0.882320761680603, 0.16664648056030273, -0.8179662227630615, -0.5356876850128174, -0.42558106780052185, 0.6206877827644348, -0.7502105236053467, 0.6419693231582642, 0.08912128210067749, -0.1313253790140152, 0.14209774136543274, -0.45015037059783936, -0.44993776082992554, 0.2634919285774231, 0.0856250524520874, 0.333587110042572, -0.19383814930915833, 0.13312996923923492, 0.18010050058364868, 0.3157256543636322, -0.8633366823196411, -0.020555663853883743, -0.3819907605648041, -0.23960664868354797, 0.5417332649230957, 0.34108102321624756, 0.5635227560997009, -0.3253527879714966, -0.6181290149688721, -0.1074175164103508, -0.6108428835868835, 0.06079250946640968, 0.3489439785480499, 0.022083893418312073, -0.2731068730354309, 0.42206889390945435, -0.04707393795251846, 0.6090148687362671, -0.14162728190422058, -0.027191154658794403, 0.5474833250045776, -0.6751485466957092, -0.1907641738653183, 0.27883264422416687, 0.8502885699272156, 0.5308070778846741, 0.20188528299331665, 0.1642277091741562, -0.0626545175909996, 0.05994776263833046, 0.13037247955799103, -0.8983361721038818, -0.07858295738697052, 0.32879838347435, -0.5199231505393982, -0.29582980275154114, -0.249855175614357, -1.1730002164840698, -0.35353341698646545, -0.3756619989871979, 0.6400724649429321, -0.3818219304084778, -0.284049391746521, -0.13202063739299774, -0.10405245423316956, 0.3460176885128021, 0.28866034746170044, -0.7179073691368103, -0.025527138262987137, 0.3056733012199402, 0.6437533497810364, -0.11259448528289795, -0.05530057102441788, -0.3178028166294098, -0.2194235622882843, -0.013130278326570988, 0.9239262938499451, -0.6532009243965149, -0.6418392658233643, -0.23071062564849854, 0.1251315474510193, -0.04812666401267052, -0.37214499711990356, 0.8535136580467224, -0.3542245328426361, 0.4626462459564209, -0.4032897651195526, -0.3894486427307129, -0.31705790758132935, 0.32488778233528137, -0.5076435804367065, 0.9236884713172913, -0.15157371759414673, -0.7287993431091309, -0.08524975925683975, -0.6379151344299316, -0.5164521932601929, 0.1366109848022461, -0.21835128962993622, -0.2869967520236969, 0.032777752727270126, -0.0006172666326165199, 0.4337952136993408, -0.5179586410522461, 0.3173695206642151, -0.2148723006248474, -0.07898691296577454, 0.30056649446487427, -0.39520931243896484, 0.38742607831954956, 0.22075773775577545, -0.5279943943023682, 0.27042868733406067, -0.7309893369674683, -0.1483333557844162, 0.011732598766684532, -0.31438323855400085, -0.4206658601760864, 0.1366126835346222, 0.05894369259476662, 0.6264872550964355, -0.02559669315814972, -0.5990479588508606, -0.3672507703304291, -0.3182394802570343, 0.32371875643730164, 0.8726864457130432, 0.4136678874492645, 0.3030388653278351, -0.16587947309017181, 0.49315014481544495, 0.4911043047904968, 0.041790883988142014, -0.5915608406066895, -0.8146085143089294, -0.7622895240783691, -0.0944158062338829, 0.1069541946053505, 0.6391839385032654, -0.5010911226272583, -0.1342329978942871, 0.10012948513031006, -0.3356987237930298, -0.4155224561691284, -0.09375704824924469, 0.6477314829826355, 0.8157497048377991, 0.2090310901403427, -0.27636703848838806, -0.7824416756629944, -0.9284425973892212, -0.21472686529159546, -0.06556371599435806, 0.44016507267951965, 0.5333212614059448, 0.375402569770813, -0.3118264377117157, 0.6346710920333862, -0.22260139882564545, -0.04986988753080368, -0.018098285421729088, 0.4235357642173767, -0.16794995963573456, 0.47373443841934204, 0.40839090943336487, -0.9765881896018982, -0.3138505518436432, -0.08713770657777786, -0.8666454553604126, -0.33492323756217957, -0.057352323085069656, -0.2007409781217575, 0.510809063911438, 0.31400954723358154, -0.33956021070480347, 0.48068541288375854, 0.6504530310630798, -0.29923975467681885, 0.4236460030078888, 0.06568962335586548, 0.7061204314231873, -1.0489617586135864, -0.09345940500497818, 0.26124972105026245, -0.0026730981189757586, -0.7521131038665771, -0.4271896481513977, -0.03670129552483559, -0.42127954959869385, -0.5158279538154602, 0.3414042592048645, -0.38372933864593506, -0.053140152245759964, 0.1083708181977272, 0.2137117087841034, 0.3344380855560303, 0.7532561421394348, 0.07492581009864807, 0.5163066983222961, 0.4255245625972748, -0.48181360960006714, 0.4600740075111389, 0.4989311695098877, -0.2508067488670349, 0.6830707788467407, -0.5746874213218689, 0.2553673982620239, -0.168879434466362, -0.06181060150265694, -1.5316838026046753, -0.2898732125759125, 0.38440775871276855, -0.5473278164863586, 0.14010675251483917, 0.13924875855445862, -0.22383423149585724, -0.2327812910079956, -0.04949124902486801, 0.5311616659164429, 0.32350414991378784, -0.4106628894805908, 0.5720990300178528, 0.4297981858253479, -0.6406476497650146, -0.11835693567991257, -0.6652255654335022, 0.12977413833141327, -0.34576109051704407, -1.0590035915374756, 0.340962678194046, -0.36876627802848816, -0.2422615885734558, -0.2280583679676056, -0.11326046288013458, 0.051242440938949585, -0.004124921280890703, 0.6224064230918884, 0.14809055626392365, -0.28491485118865967, 0.15448178350925446, -0.11477412283420563, -0.14206360280513763, 0.22419215738773346, 0.47252634167671204, 0.4329507350921631, -0.42745286226272583, -0.3874490261077881, -0.45822611451148987, 0.7041829824447632, 0.7048466205596924, -0.45396772027015686, 0.5205208659172058, 0.6499610543251038, -0.3025802969932556, 0.10448945313692093, -0.5792227983474731, -0.07184219360351562, -0.4427820146083832, 0.4225368797779083, -0.32535669207572937, -0.9225342273712158, 0.4725053608417511, -0.21686230599880219, -0.2792297601699829, 0.24548375606536865, 0.7934961318969727, -0.267587810754776, 1.40583074092865, 0.27068161964416504, 0.020922046154737473, 0.5063261985778809, 0.14833670854568481, 0.41573235392570496, -0.6292698383331299, -0.6381880044937134, -0.5523439645767212, -0.3147464990615845, -0.3919709324836731, -0.22222785651683807, 0.552340567111969, -0.16135001182556152, 0.12468010932207108, 0.20187227427959442, -0.3313554525375366, 0.09729693830013275, 0.4304899573326111, 0.027555303648114204, 0.003998629283159971, -0.12286248803138733, 0.04442029073834419, -0.06439151614904404, -0.5874228477478027, -0.29040810465812683, 0.5686332583427429, 0.22924096882343292, 0.3928033411502838, 0.34155282378196716, 0.6466674208641052, 0.33798283338546753, 0.06240005046129227, -0.6820252537727356, 0.6089527010917664, 0.3005058169364929, -0.6711975932121277, -0.07929038256406784, -0.31818822026252747, -0.8468013405799866, 0.36631184816360474, -0.22876301407814026, -0.8884053826332092, 0.3752208948135376, 0.1363983303308487, -0.16193489730358124, -0.23777848482131958, -0.8364718556404114, 1.2745872735977173, -0.46922731399536133, -0.37544476985931396, -0.11780214309692383, -0.9334188103675842, 0.5761668086051941, -0.028426602482795715, 0.5790578126907349, -0.2060202807188034, 0.491323858499527, 0.810249924659729, -0.3959941267967224, 0.8431479334831238, -0.08442532271146774, -0.07648299634456635, 0.45167970657348633, -0.017538556829094887, 0.420425683259964, -0.19963102042675018, -0.14845888316631317, -0.00021820244728587568, 0.17162062227725983, -0.0650348886847496, -0.3294605016708374, 0.6273438334465027, -0.5188791155815125, -0.3557710349559784, -0.2852557599544525, -0.2765977084636688, -0.15588197112083435, -0.1605377495288849, 0.3788754642009735, 1.087924838066101, -0.19034017622470856, 0.20648840069770813, 0.8261843919754028, -0.4882640540599823, 0.7808433175086975, 0.2944469451904297, 0.03547780588269234, -0.4842350482940674, 1.0434317588806152, -0.16763456165790558, 0.1064375713467598, 0.24455000460147858, 0.22813883423805237, -0.31229260563850403, -0.2193429172039032, -0.34211266040802, -0.1269001066684723, -0.7771251797676086, -0.43806421756744385, -0.6985774040222168, 0.028680309653282166, -0.5723075270652771, -0.03429795801639557, -0.17954027652740479, -0.14608623087406158, -0.3945903480052948, 0.016164585947990417, 0.18218109011650085, 0.5526282787322998, -0.046942636370658875, 0.19048814475536346, -1.2232117652893066, 0.20220068097114563, 0.22664016485214233, -0.022144436836242676, -0.11409056186676025, -0.4241996705532074, -0.18066053092479706, -0.049486901611089706, -0.570379912853241, -1.3279825448989868, 0.6344285607337952, 0.3348041772842407, 0.44921600818634033, 0.4319523274898529, 0.08819323033094406, 0.9005040526390076, -0.18588022887706757, 0.8375417590141296, 0.33947357535362244, -1.0573008060455322, 0.6116952896118164, -0.36479490995407104, 0.3540714383125305, 0.16453950107097626, 0.33402347564697266, -0.8616704940795898, -0.09854815155267715, -0.6481969952583313, -0.9023563265800476, 0.7912073135375977, 0.2505108416080475, -0.06635134667158127, -0.24225124716758728, -0.008430383168160915, -0.0912724956870079, -0.006192133761942387, -0.43892502784729004, -0.07151784002780914, -0.07754313200712204, -0.524880588054657, 0.0359550341963768, -0.7168663740158081, 0.10325944423675537, 0.2084997296333313, 0.6993290185928345, 0.1696513593196869, 0.568486750125885, 0.33337685465812683, -0.37497299909591675, -0.24511221051216125, 0.45211803913116455, 0.9163232445716858, 0.2569231688976288, -0.15308824181556702, 0.25867682695388794, 0.1452333629131317, 0.11335266381502151, -0.025296615436673164, 0.008754825219511986, 0.37176957726478577, 0.010263601318001747, 0.4934791922569275, 1.082610845565796, 0.6431334018707275, -0.8580384850502014, 0.7739403247833252, 0.08187680691480637, -0.016906706616282463, -0.054465387016534805, -0.25672295689582825, 0.20501257479190826, 0.5360719561576843, 0.17780011892318726, 0.18473097681999207, 0.6271934509277344, -0.5923470854759216, 0.36138275265693665, 0.10926319658756256, -0.560360312461853, -0.610165536403656, 0.5283063054084778, 0.6213189959526062, -0.4853847920894623, 0.336311012506485, -0.15331842005252838, -0.9347333312034607, 0.6499971151351929, 0.5052528381347656, 0.6170071959495544, -0.4371970295906067, 0.03882160782814026, 0.36957624554634094, -0.12975305318832397, 0.2196294218301773, 0.4435339868068695, -0.22661520540714264, -0.7874981760978699, -0.33839231729507446, -0.3854360282421112, -0.4714524745941162, -0.23777809739112854, -0.6540887951850891, 0.18703530728816986, -0.032402098178863525, -0.2449166476726532, -0.06943271309137344, -0.42108824849128723, -0.7041786909103394, 0.34535518288612366, 0.6098873019218445, 0.4363999664783478, -0.8542488813400269, 0.34504297375679016, 0.7886589765548706, -0.34370461106300354, -0.6197136044502258, -0.5236225724220276, 0.5701414346694946, -0.536184549331665, 0.9253247380256653, 0.3669709265232086, -0.19545161724090576, 0.0507938489317894, -0.48539039492607117, -0.6179272532463074, 0.9557365775108337, -0.10567009449005127, -0.5932409167289734, 0.10594435036182404, 0.09578707814216614, 0.4429457485675812, -0.29769620299339294, 0.39267680048942566, 0.26092737913131714, 0.3920026123523712, 0.3301645517349243, -0.6805182695388794, -0.10479874163866043, -0.5073226690292358, -0.1845550239086151, 0.31061115860939026, -0.7277639508247375, 0.5540562868118286, 0.02275930903851986, -0.184927299618721, -0.1267032027244568, 0.523417055606842, 0.25493595004081726, 0.6510911583900452, 0.3886110782623291, 0.48088815808296204, 0.531118631362915, -0.14832961559295654, 0.7146057486534119, -0.251297265291214, 0.2263147532939911, 1.2120411396026611, -0.41200023889541626, 0.644649088382721, 0.43044689297676086, 0.09975360333919525, 0.3922317922115326, 0.8915359973907471, 0.38668492436408997, 0.47776609659194946, 0.04885823652148247, -0.3813944458961487, -0.30952882766723633, -0.15431109070777893, -0.43557968735694885, 0.6734998822212219, 0.5189414024353027, -0.33781999349594116, -0.15443454682826996, 0.3969368040561676, -0.00756331579759717, -0.4018111526966095, -0.10989861190319061, 0.8398920297622681, 0.09912066906690598, -0.5713655352592468, 0.1278124451637268, -0.06511200964450836, 0.3810182213783264, -0.2766800820827484, -0.13001079857349396, -0.41316673159599304, 0.07085175812244415, -0.21517032384872437, -0.4938318431377411, 0.1963874101638794, -0.06099812686443329, -0.01103683840483427, -0.4690267741680145, 0.8728965520858765, -0.6629575490951538, -0.14943677186965942, 0.267474889755249, 0.44116759300231934, 0.3136683702468872, -0.15928365290164948, -0.6548048853874207, 0.5259739756584167, 0.058215558528900146, -0.553656280040741, 0.2546665668487549, 0.7198595404624939, -0.10364808142185211, 0.33047419786453247, 0.41893914341926575, -0.596784770488739, 0.18649563193321228, 0.16047321259975433, 0.6871465444564819, -0.7178553938865662, -0.23020456731319427, -0.949076771736145, 0.8786929845809937, -0.05408203974366188, -0.46246054768562317, 0.48463770747184753, 0.4801763594150543, 0.35137873888015747, -0.10426563769578934, 0.56861412525177, -0.2636686861515045, 0.16103608906269073, -0.34781429171562195, 0.2759072184562683, -0.7100859880447388, 0.06951519101858139, -0.6927487850189209, -0.8065893650054932, -0.15761417150497437, 0.4801875054836273, -0.08386651426553726, -0.3003157079219818, 0.7287752628326416, 0.9615187644958496, 0.3374410569667816, 0.5888627767562866, 0.4712151885032654, 0.19879451394081116, 0.25812429189682007, 0.7823581695556641, 1.12997305393219, -0.4545821249485016, 0.5630638599395752, -0.1110273003578186, -0.17230908572673798, -0.4389016628265381, -0.8858242034912109, -0.7344410419464111, -1.0157890319824219, -0.5701301097869873, -0.29204344749450684, -0.01696835830807686, 0.8744775652885437, 0.555216908454895, -0.7715798020362854, 0.1097763404250145, 0.06777011603116989, 0.07201376557350159, 0.26729559898376465, -0.23680084943771362, -0.03251488506793976, -0.3323252201080322, -0.5956736207008362, 0.5295766592025757, 0.5549455285072327, 0.08458433300256729, 0.24980472028255463, -0.22874639928340912, -0.3652855455875397, 0.10929515212774277, 0.7719776630401611, 0.20920278131961823, -0.647884726524353, -0.6605983972549438, -0.12142836302518845, -0.11577659845352173, 0.1745741367340088, 0.7178037762641907, -0.4591050148010254, 0.5979980826377869, 0.8744508028030396, 0.5907005667686462, 0.6113199591636658, 0.09298214316368103, 0.5905107855796814, -0.6487532258033752, -0.04551282897591591, 0.04008825495839119, 0.514480471611023, 0.3271619975566864, -0.28854936361312866, 0.5544877052307129, 0.5378273725509644, -0.8348912000656128, -0.7669370174407959, 0.21486864984035492, -1.2994606494903564, -0.003402640111744404, 1.0386168956756592, -0.19469048082828522, -0.16176848113536835, 0.06978201121091843, -0.6400246024131775, 0.4499923288822174, -0.3563400208950043, 0.39588671922683716, 0.9730806946754456, -0.46070292592048645, -0.48481056094169617, -0.3423379957675934, 0.17309367656707764, 0.7380006313323975, -0.8822365403175354, -0.3322243094444275, 0.7445444464683533, -0.013150441460311413, 0.04821976646780968, 0.5539367198944092, -0.17731687426567078, 0.04580210521817207, -0.12740252912044525, 0.28919798135757446, 0.052565500140190125, -0.3800896108150482, -0.22571466863155365, 0.2792820632457733, -0.3114129304885864, -0.19581788778305054 ]
http://arxiv.org/abs/2404.02078v1
http://arxiv.org/pdf/2404.02078v1
Advancing LLM Reasoning Generalists with Preference Trees
2024-04-02T16:25:30
2024-04-02T16:25:30
Lifan Yuan, Ganqu Cui, Hanbin Wang, Ning Ding, Xingyao Wang, Jia Deng, Boji Shan, Huimin Chen, Ruobing Xie, Yankai Lin, Zhenghao Liu, Bowen Zhou, Hao Peng, Zhiyuan Liu, Maosong Sun
cs.AI
cs.AI, cs.CL, cs.LG
We introduce Eurus, a suite of large language models (LLMs) optimized for reasoning. Finetuned from Mistral-7B and CodeLlama-70B, Eurus models achieve state-of-the-art results among open-source models on a diverse set of benchmarks covering mathematics, code generation, and logical reasoning problems. Notably, Eurus-70B beats GPT-3.5 Turbo in reasoning through a comprehensive benchmarking across 12 tests covering five tasks, and achieves a 33.3% pass@1 accuracy on LeetCode and 32.6% on TheoremQA, two challenging benchmarks, substantially outperforming existing open-source models by margins more than 13.3%. The strong performance of Eurus can be primarily attributed to UltraInteract, our newly-curated large-scale, high-quality alignment dataset specifically designed for complex reasoning tasks. UltraInteract can be used in both supervised fine-tuning and preference learning. For each instruction, it includes a preference tree consisting of (1) reasoning chains with diverse planning strategies in a unified format, (2) multi-turn interaction trajectories with the environment and the critique, and (3) pairwise data to facilitate preference learning. UltraInteract allows us to conduct an in-depth exploration of preference learning for reasoning tasks. Our investigation reveals that some well-established preference learning algorithms may be less suitable for reasoning tasks compared to their effectiveness in general conversations. Inspired by this, we derive a novel reward modeling objective which, together with UltraInteract, leads to a strong reward model.
[ -0.24231283366680145, -0.5418699383735657, 0.8171009421348572, -0.30620816349983215, -0.06999582797288895, 0.03523965924978256, -0.3422578275203705, -0.2771761119365692, -0.09495147317647934, 0.4863708019256592, -0.5360277891159058, -0.5578164458274841, -0.2949657440185547, -0.09734170138835907, -0.18201300501823425, 0.900858461856842, -0.00928588304668665, -0.14937487244606018, -0.3323081135749817, -0.2072586566209793, -0.21523338556289673, -0.8646968007087708, -0.5554279685020447, -0.5652331709861755, 0.3558575510978699, 0.6528177261352539, 0.8634673357009888, 0.511650025844574, 0.23240284621715546, 0.24142758548259735, -0.4430403411388397, 0.43156132102012634, -0.6146293878555298, 0.2983470857143402, -0.30839622020721436, -0.5607187151908875, -0.3608553111553192, -0.21403361856937408, 0.19202612340450287, 0.7128334045410156, -0.45250800251960754, 0.12641538679599762, -0.09972083568572998, 0.7927484512329102, -0.49878713488578796, 0.10342603176832199, -0.7812508940696716, -0.007255970500409603, -0.16013973951339722, -0.4576141834259033, -0.660478949546814, -0.3266339898109436, 0.14947037398815155, -0.7855637669563293, -0.17063914239406586, 0.07398959249258041, 0.7905545830726624, 0.41418391466140747, -0.22672218084335327, -0.1780732423067093, -0.6708731055259705, 0.948884904384613, -0.5127267837524414, 0.26473498344421387, 0.09156075119972229, 0.2521471083164215, -0.3619472086429596, -0.6117147207260132, -0.038993172347545624, -0.2214551717042923, 0.16639970242977142, 0.09167911112308502, -0.5843382477760315, 0.1867021769285202, 0.28082337975502014, 0.47539371252059937, -0.4971886873245239, 0.1464913934469223, -0.13960738480091095, -0.0657132938504219, 0.5475475192070007, 0.44538402557373047, -0.02616908587515354, 0.0750352069735527, -0.09759331494569778, -0.10111388564109802, -1.0136083364486694, 0.5545440912246704, 0.3023403584957123, 0.10283350199460983, 0.22480958700180054, 0.5578169822692871, -0.49978989362716675, 0.8544831871986389, 0.1144760325551033, -0.040081143379211426, -0.16741257905960083, 0.1896616369485855, -0.4575028121471405, -0.019860215485095978, 0.4950907230377197, 0.29897570610046387, 0.5359299778938293, -0.096845343708992, -0.04287071153521538, 0.4996149241924286, -0.043729640543460846, -0.659871518611908, -0.5046286582946777, 0.2374090552330017, -0.30286043882369995, -0.3225989043712616, -0.13027836382389069, -0.2566169202327728, -0.3176013231277466, -0.7374539971351624, -0.011920124292373657, -0.21248935163021088, -0.13928169012069702, 0.6746248602867126, 0.1344841569662094, 0.02799413353204727, 0.5136107802391052, -1.065036654472351, 0.21902406215667725, 0.7670645117759705, 0.3124273419380188, -0.33142098784446716, -0.06127365306019783, -0.4083343744277954, 0.27682575583457947, -0.36078375577926636, 1.0259768962860107, -0.9473602771759033, -0.4009622037410736, -0.260355681180954, -0.0950891375541687, 0.28406357765197754, -0.5731908082962036, 0.9073022603988647, -0.3532772660255432, 0.24342268705368042, -0.2435186356306076, -0.694465696811676, -0.4319286346435547, 0.2072787880897522, -0.2822361886501312, 1.2679797410964966, 0.16731257736682892, -0.7104629874229431, 0.30553463101387024, -0.7886884212493896, -0.18905243277549744, 0.08224480599164963, -0.28394249081611633, -0.022001801058650017, 0.22490714490413666, 0.2629798352718353, 0.7347342371940613, -0.5519945621490479, 0.6333560347557068, -0.4628587067127228, -0.38133880496025085, 0.1003638505935669, -0.4472896158695221, 0.8596647381782532, 0.4052414298057556, -0.35913005471229553, 0.43977469205856323, -0.29324379563331604, 0.05704265832901001, 0.25288599729537964, -0.2933831512928009, -0.4811052083969116, 0.2545264959335327, -0.3145934045314789, -0.07263866811990738, 0.10469266027212143, -0.4818513095378876, 0.36370527744293213, -0.2604021430015564, 0.440400630235672, 1.1529955863952637, -0.34274551272392273, 0.32605376839637756, -0.1777201145887375, 0.3907666504383087, -0.05875883996486664, 0.3073590099811554, 0.053422894328832626, -0.502839207649231, -0.899409830570221, -0.03937966004014015, 0.15805235505104065, 0.4512116014957428, -0.22245921194553375, 0.38134437799453735, -0.2991132140159607, -0.38086506724357605, -0.37818896770477295, 0.1479928344488144, 0.21103663742542267, 0.3257524371147156, 0.3846598267555237, -0.018947871401906013, -0.5048072934150696, -0.839664876461029, -0.1240210309624672, -0.22590301930904388, 0.11065594106912613, 0.5295727849006653, 0.2540227770805359, -0.22264255583286285, 0.895487904548645, -0.6114773154258728, 0.1790844053030014, -0.5079295039176941, -0.2914845943450928, 0.3473312258720398, 0.1603095829486847, 0.22615280747413635, -0.5964534282684326, -0.4002724885940552, 0.28053855895996094, -0.8046308159828186, 0.0015837001847103238, 0.06411021202802658, -0.2625374495983124, 0.4332734942436218, 0.48566970229148865, -0.38886070251464844, 0.18919946253299713, 0.5961448550224304, -0.5484767556190491, 0.3490990400314331, -0.06140455976128578, -0.2404737025499344, -1.1422637701034546, -0.0248929001390934, 0.09178482741117477, -0.3135685920715332, -0.27117350697517395, 0.09705033153295517, -0.18224959075450897, 0.27047768235206604, -0.5340923070907593, 0.5614010095596313, -0.3569948375225067, -0.07710383087396622, -0.011843714863061905, -0.16227410733699799, -0.12516477704048157, 0.4925152659416199, 0.1519695371389389, 0.6833584904670715, 0.6206862330436707, -0.6210988163948059, 0.5923833847045898, 0.030946174636483192, -0.18215058743953705, 0.47771018743515015, -0.5972159504890442, 0.08669210225343704, 0.145936980843544, 0.30360400676727295, -0.614261269569397, -0.17239154875278473, -0.05874205008149147, -0.4006032645702362, 0.10946545004844666, -0.18199174106121063, -0.22291003167629242, -0.40540724992752075, -0.22950735688209534, 0.06522116810083389, 0.40008625388145447, -0.9210083484649658, 0.5354540944099426, 0.4890088140964508, -0.03094421699643135, -0.7547088861465454, -0.3573574125766754, -0.16083142161369324, -0.38153398036956787, -0.5142399072647095, 0.14618486166000366, -0.1939457505941391, -0.4686126410961151, 0.05256843566894531, -0.27034756541252136, 0.37574702501296997, 0.2866210639476776, 0.344635933637619, 0.4666670560836792, -0.09924302995204926, -0.01812625117599964, 0.11093617975711823, -0.5149604678153992, 0.005265328101813793, -0.4637298583984375, 0.3745949864387512, -0.6689543724060059, -0.5141276717185974, -0.21153883635997772, 0.2203318476676941, 0.5322465300559998, -0.15442125499248505, 0.17089490592479706, 0.14919322729110718, -0.20239238440990448, -0.25706714391708374, -0.5373682975769043, -0.09101182222366333, -0.4586901366710663, 0.20914754271507263, -0.6078148484230042, -1.4119770526885986, 0.13675034046173096, -0.3119204044342041, 0.41202619671821594, 0.5178720355033875, 0.7174606919288635, 0.0010747482301667333, 1.3304411172866821, 0.5663299560546875, -0.3468392789363861, 0.19410228729248047, -0.32042422890663147, 0.05701923742890358, -0.7709694504737854, -0.23173262178897858, -0.41048648953437805, -0.1196703165769577, -0.43141186237335205, -0.2981036603450775, 0.21762186288833618, 0.0703720673918724, -0.46822991967201233, 0.05273896083235741, -1.0404022932052612, 0.9190504550933838, 0.6200476288795471, -0.2490347921848297, 0.5216603875160217, 0.3029831349849701, -0.48053762316703796, 0.08531324565410614, -0.7002788186073303, -0.7127493619918823, 1.436713457107544, 0.17160353064537048, 1.0069507360458374, -0.0361352376639843, 0.5782567262649536, 0.24937543272972107, 0.5371690392494202, -0.8058463931083679, 0.6769431829452515, -0.25063198804855347, -0.5826064944267273, -0.32785776257514954, -0.46666935086250305, -1.0259395837783813, 0.2695106565952301, 0.060852088034152985, -0.8291479349136353, -0.2034902423620224, 0.072453074157238, -0.5625011324882507, 0.7302680015563965, -0.6186872124671936, 0.7869008779525757, -0.34714996814727783, -0.3937307894229889, -0.3272993862628937, -0.5069185495376587, 0.36659368872642517, 0.568414568901062, -0.095924511551857, -0.34119707345962524, 0.23602014780044556, 0.6054633855819702, 0.11876866221427917, 0.5829731225967407, -0.032711777836084366, 0.13337357342243195, 0.36617526412010193, 0.46359968185424805, 0.3228314518928528, 0.1306433230638504, -0.07087132334709167, -0.057525694370269775, 0.06352683901786804, -0.30273810029029846, -0.2898508310317993, 0.9328410625457764, -0.8441364765167236, -0.6847398281097412, -0.6119787693023682, -0.7232254147529602, -0.3009081184864044, -0.16658571362495422, -0.04567611590027809, 0.41328731179237366, -0.30561161041259766, 0.2559625506401062, 0.930419921875, 0.03415023535490036, 0.35874027013778687, 0.46883171796798706, -0.3309614360332489, -0.3064515292644501, 0.8371710777282715, -0.3606829345226288, 0.2366439253091812, 0.43112626671791077, 0.2964235842227936, -0.4189559817314148, -0.4458368420600891, -0.5573503971099854, 0.06573822349309921, -0.8285002112388611, -0.286881685256958, -0.5368795394897461, 0.0038618186954408884, 0.0888230949640274, -0.35002225637435913, -0.3000646233558655, -0.6755229830741882, -0.19684815406799316, -0.3151680529117584, 0.5606651306152344, 1.055527925491333, -0.1136823445558548, -0.0036148501094430685, -0.391541063785553, 0.03908304125070572, 0.5462453365325928, 0.14360900223255157, -0.29366880655288696, -0.6024001240730286, 0.053541019558906555, -0.1085423156619072, -0.6292619705200195, -0.5285018086433411, 0.1732487827539444, -0.22866062819957733, 0.6826135516166687, 0.5921119451522827, -0.17040273547172546, 0.4917411208152771, -0.09807208180427551, 0.5682395696640015, 0.02503959648311138, -0.8109707832336426, 0.5121918320655823, -0.43650028109550476, 0.04989546909928322, 0.6131414175033569, 0.2886696457862854, -0.5253733396530151, -0.10452872514724731, -0.9349246025085449, -0.5394296646118164, 0.60578453540802, -0.057112060487270355, -0.08311820775270462, 0.17467471957206726, 0.40145444869995117, 0.04768085479736328, -0.1104385256767273, -0.7184018492698669, -0.28002220392227173, 0.10595887154340744, -0.2335309088230133, -0.16190828382968903, -0.247224360704422, -0.2998894453048706, -0.6788829565048218, 0.8206855654716492, -0.48449593782424927, 0.01676071062684059, 0.02066190168261528, 0.11335129290819168, -0.21207229793071747, 0.6055624485015869, 0.3977877199649811, 0.563988447189331, -0.32103270292282104, 0.17410039901733398, 0.2223803550004959, 0.004830873105674982, 0.24830341339111328, 0.14687921106815338, -0.19687312841415405, -0.2153603434562683, -0.23437896370887756, 0.6650674343109131, 0.02737109735608101, -0.6221656799316406, 0.2774890065193176, -0.1153094694018364, -0.2852059006690979, -0.10479641705751419, 0.06523194164037704, 0.5295442938804626, 0.09959772229194641, 0.0911826342344284, 0.10295315831899643, 0.23489436507225037, -0.4306223392486572, -0.14398916065692902, 0.6262837052345276, -0.47163936495780945, -0.272217333316803, 0.6109250783920288, 0.3191230297088623, 0.15745843946933746, 0.5104933977127075, -0.21261624991893768, -0.5235055088996887, 0.3959755301475525, 0.43623387813568115, 0.7951011061668396, -0.31435340642929077, 0.24304112792015076, 0.21967259049415588, 0.23278437554836273, -0.2662234902381897, 0.455335408449173, -0.18724317848682404, -0.706447422504425, -0.47487467527389526, -0.647083044052124, -0.9204983711242676, 0.07236350327730179, -0.4244987666606903, 0.03931398689746857, -0.31150510907173157, 0.08109750598669052, -0.13675570487976074, 0.0036012837663292885, -0.41371455788612366, 0.13677765429019928, 0.3135293424129486, 0.8250933289527893, -0.7907485365867615, 0.7921831607818604, 1.043455958366394, -0.07220122963190079, -1.0775210857391357, -0.5231185555458069, 0.19043877720832825, -0.7014213800430298, 0.2961854934692383, 0.2876725494861603, -0.16330698132514954, -0.04361264035105705, -0.6733457446098328, -0.7174962162971497, 1.1225374937057495, 0.6967064142227173, -0.5335709452629089, 0.026631997898221016, 0.009525862522423267, 0.2896566092967987, -0.5669542551040649, 0.5129689574241638, 0.8662627935409546, 0.3779759407043457, 0.18278509378433228, -0.684625506401062, -0.04383770003914833, -0.25487709045410156, -0.23110629618167877, 0.3864835500717163, -0.622933030128479, 0.8204306960105896, -0.38142094016075134, 0.020995361730456352, -0.066386379301548, 0.5779619812965393, 0.5953668355941772, 0.02470342256128788, 0.5116413831710815, 1.0202666521072388, 0.943549633026123, -0.3075900971889496, 1.0996097326278687, -0.26295796036720276, 0.3421286344528198, 1.0563911199569702, -0.22387787699699402, 0.8964930772781372, 0.5243680477142334, -0.30286094546318054, 0.6972672343254089, 1.004024863243103, 0.3575631082057953, 0.1921924352645874, 0.3164539337158203, -0.30551397800445557, -0.9449208974838257, -0.3506966829299927, -0.4571816325187683, 0.20702867209911346, 0.5117103457450867, -0.09846554696559906, -0.166587695479393, -0.5751147270202637, 0.20543542504310608, 0.05323902890086174, -0.2980181872844696, 0.6230323910713196, 0.11770898103713989, -0.9164753556251526, 0.6121301651000977, -0.058946359902620316, 0.683144211769104, -0.5136693716049194, 0.03451623395085335, -0.34383127093315125, 0.5420867204666138, -0.32761073112487793, -1.0143400430679321, 0.05321446433663368, 0.08622520416975021, 0.10928831249475479, -0.3030259907245636, 0.5954899191856384, -0.10927319526672363, -0.47310876846313477, 0.420907199382782, 0.5704113841056824, 0.17756560444831848, -0.1807972639799118, -0.8276749849319458, -0.11698956787586212, 0.3658793568611145, -0.44186490774154663, 0.2788492441177368, 0.5186874270439148, -0.19022142887115479, 0.8026466965675354, 0.9412108659744263, -0.06218797713518143, -0.22707758843898773, 0.18546612560749054, 1.136704444885254, -0.6459599137306213, -0.40064966678619385, -0.8858203291893005, 0.41374850273132324, -0.08539862185716629, -0.4500349164009094, 0.5690904855728149, 0.8587304949760437, 0.9785401225090027, 0.31053784489631653, 0.7959793210029602, 0.1552869975566864, 0.5099113583564758, -0.49069055914878845, 0.09608608484268188, -0.5950126051902771, 0.2400018274784088, -0.023032402619719505, -0.9848126769065857, -0.36221325397491455, 0.491033136844635, -0.25186726450920105, -0.21755817532539368, 0.7506290674209595, 0.7809855937957764, -0.31743550300598145, 0.31382909417152405, 0.370204895734787, -0.0880681648850441, 0.3252195715904236, 1.2417759895324707, 1.1424709558486938, 0.19649694859981537, 0.6593998670578003, -0.2422533482313156, -0.32547727227211, -0.08090230077505112, -0.7220509052276611, -0.9986807703971863, -0.2529669404029846, 0.0027352427132427692, -0.17801018059253693, 0.1322014182806015, 1.145552396774292, 0.721680760383606, -0.8696825504302979, -0.5530165433883667, -0.2953513562679291, 0.06469758599996567, 0.021678142249584198, -0.18239529430866241, 0.29955166578292847, -0.19710314273834229, -0.4554523527622223, 0.5232997536659241, 0.5359758734703064, -0.07027147710323334, -0.28454723954200745, -0.4691014289855957, 0.05070281773805618, 0.10482662171125412, 0.5521517395973206, 0.4277375638484955, -1.1522912979125977, -0.11534707248210907, 0.206246480345726, -0.05022159218788147, 0.1745045781135559, 0.7943510413169861, -0.8345333337783813, 0.4532325267791748, 0.211479052901268, 0.6437742114067078, 0.49764299392700195, -0.022740956395864487, 0.4200853705406189, -0.06570852547883987, 0.03679250553250313, 0.23275835812091827, 0.7055166363716125, 0.4951929450035095, -0.13536512851715088, 0.9117283225059509, 0.16059666872024536, -0.7491384744644165, -0.7463106513023376, 0.2877173125743866, -1.0559114217758179, -0.28450557589530945, 1.3716038465499878, 0.023641349747776985, -0.048001423478126526, -0.03607859089970589, -0.43756037950515747, -0.03719199076294899, -0.6717373132705688, 0.5224764943122864, 0.6694980263710022, -0.46933749318122864, 0.19191209971904755, -0.4322170317173004, 0.5742474794387817, 0.9248808026313782, -1.0567601919174194, 0.24432578682899475, 0.6166973114013672, 0.2532607614994049, -0.024764053523540497, 0.5481927394866943, -0.15038932859897614, 0.359623521566391, -0.48075562715530396, 0.15340107679367065, -0.148042693734169, -0.4623773694038391, -0.37269511818885803, 0.05816607549786568, 0.4227423667907715, 0.1932845562696457 ]
http://arxiv.org/abs/2404.02068v1
http://arxiv.org/pdf/2404.02068v1
Using Interpretation Methods for Model Enhancement
2024-04-02T16:10:29
2024-04-02T16:10:29
Zhuo Chen, Chengyue Jiang, Kewei Tu
cs.CL
cs.CL
In the age of neural natural language processing, there are plenty of works trying to derive interpretations of neural models. Intuitively, when gold rationales exist during training, one can additionally train the model to match its interpretation with the rationales. However, this intuitive idea has not been fully explored. In this paper, we propose a framework of utilizing interpretation methods and gold rationales to enhance models. Our framework is very general in the sense that it can incorporate various interpretation methods. Previously proposed gradient-based methods can be shown as an instance of our framework. We also propose two novel instances utilizing two other types of interpretation methods, erasure/replace-based and extractor-based methods, for model enhancement. We conduct comprehensive experiments on a variety of tasks. Experimental results show that our framework is effective especially in low-resource settings in enhancing models with various interpretation methods, and our two newly-proposed methods outperform gradient-based methods in most settings. Code is available at https://github.com/Chord-Chen-30/UIMER.
[ -0.08475644886493683, -0.6488975882530212, 0.40146827697753906, 0.26452451944351196, -0.27135249972343445, -0.21701054275035858, -0.2095358818769455, -0.5162443518638611, 0.05503693222999573, 0.6808926463127136, -0.4738321602344513, -0.2570241093635559, -0.2864868640899658, 0.18761120736598969, -0.3079151213169098, 1.0301722288131714, 0.037014421075582504, 0.34855079650878906, 0.04103928059339523, -0.181929811835289, -0.5710396766662598, -0.5218493342399597, -0.5056712031364441, -0.6696184873580933, 0.2541680634021759, 0.08763798326253891, 0.7809830904006958, 0.9962441325187683, 0.6222472190856934, 0.2719842791557312, -0.45134714245796204, 0.20134124159812927, -0.25551265478134155, -0.08083119243383408, -0.2542415261268616, -0.6523246169090271, -0.43660327792167664, 0.007799190003424883, 0.5069426894187927, 0.8539889454841614, -0.16382315754890442, -0.0945984274148941, 0.2921275794506073, 0.4198867976665497, -0.7907410860061646, 0.16496463119983673, -0.6143872141838074, 0.07832961529493332, 0.08960771560668945, -0.6345296502113342, -0.3812325596809387, -0.02902715839445591, 0.41488879919052124, -0.6685755848884583, 0.18513882160186768, -0.18692398071289062, 0.7393590807914734, 0.1486094743013382, -0.42920586466789246, -0.16937892138957977, -0.7696941494941711, 0.8960533142089844, -1.1360985040664673, 0.15410767495632172, 0.46318867802619934, 0.4343758225440979, 0.059805918484926224, -0.8921336531639099, -0.5451508164405823, -0.519114077091217, -0.5444206595420837, 0.024579282850027084, -0.16883325576782227, 0.3512929379940033, 0.4581015706062317, 0.7017009854316711, -0.1231074333190918, -0.021123692393302917, -0.17388252913951874, -0.20020130276679993, 0.36315760016441345, 0.13997112214565277, 0.5345833897590637, -0.513889491558075, -0.4844975769519806, 0.15994834899902344, -0.3708780109882355, 0.06563378125429153, 0.28607919812202454, 0.44056764245033264, -0.043391186743974686, 0.5885173082351685, -0.33926478028297424, 0.919082760810852, -0.09852733463048935, 0.27698925137519836, 0.2604733407497406, -0.37076589465141296, -0.5843892693519592, -0.21114124357700348, 0.32991960644721985, 0.28446945548057556, 0.12515175342559814, -0.29616281390190125, -0.28932657837867737, 0.26690828800201416, 0.1730584055185318, -0.8148984909057617, -0.37667176127433777, -0.0566340871155262, -0.9044107794761658, -0.5759309530258179, -0.12731899321079254, -0.7925606369972229, -0.6171121001243591, -0.8003811240196228, 0.37571772933006287, -0.44544726610183716, -0.6140360832214355, 0.3183693587779999, -0.35412168502807617, 0.15206411480903625, 0.2586299479007721, -1.3325719833374023, 0.37859469652175903, 0.711569607257843, 0.6732762455940247, 0.15863165259361267, -0.03491633012890816, -0.804236114025116, -0.025048330426216125, -0.20535559952259064, 0.9358426928520203, -0.8464685082435608, -0.18128179013729095, -0.20027489960193634, -0.30945760011672974, -0.16573618352413177, -0.46431347727775574, 1.0670076608657837, -0.5268372297286987, 0.17075960338115692, -0.3002777695655823, -0.5664994716644287, -0.4816187024116516, 0.12813155353069305, -0.7518965005874634, 0.8250575065612793, 0.255148321390152, -0.5831306576728821, 0.19177401065826416, -1.1288920640945435, -0.2788298428058624, 0.1346435248851776, -0.09293387830257416, 0.22478917241096497, 0.4719432294368744, 0.6175380349159241, 0.047379471361637115, -0.25005659461021423, 0.0380004420876503, -0.24909982085227966, -0.3511984944343567, 0.49637728929519653, -0.7751536965370178, 1.0135741233825684, 0.33970004320144653, -0.4154698848724365, 0.13790713250637054, -0.7668216824531555, 0.21408692002296448, -0.23138359189033508, -0.2584550678730011, -0.40563467144966125, -0.039918702095746994, 0.15288393199443817, 0.11775318533182144, 0.04649290069937706, -0.24183981120586395, -0.17679594457149506, -0.8699554800987244, 0.5284051299095154, 0.7055543661117554, 0.15159273147583008, 0.8355210423469543, -0.24591530859470367, 0.7747922539710999, -0.14894311130046844, 0.02122499607503414, -0.38715243339538574, -0.010339506901800632, -0.6681577563285828, -0.44792434573173523, 0.616490364074707, 0.5428224802017212, -0.5440448522567749, 0.3444124162197113, -0.3551245629787445, -0.12371362745761871, -0.7813693881034851, 0.2875385284423828, 0.07437082380056381, 0.7922314405441284, 0.5386068820953369, -0.1556161791086197, -0.6773539781570435, -0.9610695838928223, -0.7884307503700256, 0.020514100790023804, -0.19976088404655457, 0.2573193609714508, 0.11892731487751007, -0.13721005618572235, 1.0896633863449097, -0.1597139835357666, -0.08906487375497818, -0.23337163031101227, 0.16089566051959991, 0.24863968789577484, 0.6697993874549866, 0.6850719451904297, -1.0240861177444458, -0.44684457778930664, 0.20137889683246613, -0.9105826616287231, -0.2740224003791809, -0.3794935643672943, -0.40177685022354126, -0.14339402318000793, 0.3514103293418884, -0.39697813987731934, 0.4549609124660492, 0.470573365688324, -0.3683268427848816, 0.3568393290042877, -0.0007905534585006535, 0.17556129395961761, -0.7192054390907288, 0.2212352454662323, 0.3665156066417694, -0.2653912901878357, -1.1119863986968994, 0.3214360773563385, -0.08738841861486435, 0.14968810975551605, -0.12835243344306946, 0.6492595672607422, -0.5112372636795044, 0.0234205462038517, -0.6178845167160034, 0.2363068014383316, 0.3604621887207031, 0.33367082476615906, -0.018402041867375374, 0.3455297648906708, 0.5789199471473694, -0.3650541305541992, 0.12114729732275009, 0.24012963473796844, -0.38375037908554077, 0.6916084885597229, -0.6970519423484802, 0.033089667558670044, -0.3407227396965027, 0.02019607461988926, -0.7785731554031372, -0.10147763788700104, 0.5332046747207642, -0.417898952960968, 0.2579040229320526, -0.3568548560142517, -0.5369418859481812, 0.11572568863630295, -0.22210092842578888, 0.10538914054632187, 0.500328004360199, -0.9777151346206665, 0.9253034591674805, -0.03266913443803787, -0.1903611123561859, -0.6361587643623352, -0.7979159951210022, 0.1568327397108078, -0.6776114702224731, -0.5065873265266418, 0.2746206521987915, -0.19060635566711426, -0.6046140789985657, 0.17750580608844757, -0.2155606895685196, -0.13612325489521027, 0.5129523873329163, -0.19748787581920624, 0.5947840809822083, -0.29648736119270325, 0.11933104693889618, 0.3016238212585449, -0.2773759961128235, 0.025652294978499413, -0.2591789662837982, 0.15366403758525848, -0.07727958261966705, -0.21248768270015717, -0.837831437587738, 0.2763527035713196, 0.247419074177742, -0.462388277053833, 0.6244115233421326, 0.5157352685928345, -0.49426499009132385, -0.1239018365740776, -0.41827359795570374, -0.39881592988967896, -0.5151169896125793, 0.3237228989601135, -0.3088891804218292, -0.5449371933937073, 0.4483223259449005, -0.23241457343101501, 0.14536572992801666, 0.4006344974040985, 0.2713742256164551, -0.13546645641326904, 1.6018399000167847, 0.4245627224445343, -0.02242211624979973, 0.9054924249649048, -0.18144668638706207, 0.10582611709833145, -1.155849814414978, 0.16407379508018494, -0.44828692078590393, -0.1952674835920334, -0.21681912243366241, -0.06776519119739532, -0.06380907446146011, 0.778078556060791, 0.10558806359767914, 0.08006643503904343, -0.595008373260498, 0.5254531502723694, 0.20292115211486816, 0.0793302059173584, 0.5249022245407104, 0.43285253643989563, 0.14802886545658112, -0.33487483859062195, -0.6523340940475464, -0.8342270255088806, 1.0219148397445679, 0.4961361289024353, 0.4227476716041565, -0.07457485049962997, 0.20308063924312592, 0.2629002034664154, 0.8226651549339294, -0.715354859828949, 0.22594891488552094, 0.03530391305685043, -0.7365814447402954, -0.07543367892503738, -0.6462034583091736, -0.6786935925483704, 0.8793042302131653, -0.45543724298477173, -0.9402944445610046, 0.3554403781890869, 0.3697473406791687, -0.333413302898407, 0.08212076872587204, -0.7395731210708618, 0.930313766002655, -0.4427475929260254, -0.17514120042324066, -0.30985593795776367, -0.4092935025691986, 0.3721928596496582, 0.21200241148471832, 0.18373914062976837, 0.08200392872095108, 0.12138328701257706, 0.4461754858493805, -0.27353477478027344, 0.7895547151565552, -0.41660961508750916, -0.008106442168354988, 0.2763758599758148, -0.047027379274368286, 0.6137782335281372, 0.12403484433889389, -0.6007788777351379, 0.06830696761608124, -0.03226010873913765, -0.27909156680107117, -1.212804913520813, 0.5128662586212158, -0.285596638917923, -0.41237592697143555, -0.1643674224615097, -0.8343380093574524, -0.06623866409063339, 0.26855364441871643, 0.007443562150001526, 0.7538641095161438, 0.17743155360221863, 0.08105023950338364, 0.1632741391658783, 0.11397776752710342, 0.1539786159992218, 0.23378010094165802, -0.15141955018043518, -0.36080485582351685, 0.7355567216873169, -0.16630209982395172, 0.44023504853248596, 0.14567048847675323, 0.31720447540283203, -0.4220234453678131, -0.9733278155326843, -0.3108963370323181, 0.11118125915527344, -1.0454617738723755, -0.05203958973288536, -0.591343343257904, 0.03779106214642525, -0.20071209967136383, 0.07907335460186005, 0.27937132120132446, -0.5818342566490173, -0.6061658263206482, -0.29051870107650757, 0.3139444887638092, 0.2666708528995514, -0.3181686997413635, 0.6690903306007385, -0.7309557199478149, 0.3450171947479248, 0.08282472938299179, 0.32765910029411316, 0.16323266923427582, -0.5985914468765259, -0.35836249589920044, 0.5900448560714722, -0.08010970056056976, -0.6497578620910645, 0.5861234664916992, 0.1299974024295807, 0.978138267993927, 0.448312908411026, -0.1000465676188469, 0.8004216551780701, -0.1734313815832138, 0.4806777834892273, -0.020175699144601822, -1.084589958190918, 0.5229300856590271, -0.3684808611869812, -0.14159145951271057, 0.7736572027206421, -0.04505477473139763, -0.3854731619358063, -0.19398371875286102, -0.6543545722961426, -0.6357012987136841, 0.7314743995666504, 0.38464123010635376, 0.35270634293556213, 0.24936698377132416, 0.8535550832748413, 0.08388465642929077, 0.20884466171264648, -0.9583355784416199, -0.2763712704181671, -0.2946372330188751, -0.37969931960105896, -0.007115119136869907, -0.1149870976805687, -0.2665087580680847, -0.1280968338251114, 0.5892664790153503, -0.3120439350605011, 0.10424745082855225, 0.06049429252743721, -0.36536237597465515, -0.10763233155012131, 0.400501012802124, 0.31260305643081665, 0.8584087491035461, -0.1224454715847969, -0.024019623175263405, 0.15807589888572693, -0.027589211240410805, -0.46687522530555725, 0.38766029477119446, -0.26286014914512634, -0.016672002151608467, 0.42738649249076843, 1.1265279054641724, 0.17193375527858734, -0.6456025838851929, 0.11978074163198471, -0.06770642846822739, 0.1821422278881073, -0.03005233220756054, 0.1487308293581009, -0.061975929886102676, 0.4797403812408447, 0.2546563446521759, 0.45726871490478516, 0.5521150827407837, -0.5253667235374451, -0.1461765617132187, 0.5488015413284302, -0.5530751943588257, -0.2869274318218231, 0.5292004942893982, -0.014540652744472027, -0.3494992256164551, 0.5843309760093689, -0.16526535153388977, -0.4732513129711151, 0.4450696110725403, 0.578079342842102, 0.7322720289230347, 0.09311509132385254, 0.11802621185779572, 0.11202730983495712, 0.13821490108966827, -0.21625664830207825, 0.28258877992630005, -0.23809711635112762, -0.7529998421669006, -0.8040387034416199, -0.469346821308136, -0.15427377820014954, 0.07747261971235275, -0.9328798055648804, 0.25727716088294983, -0.006351527292281389, -0.11674821376800537, 0.18503202497959137, -0.1388913094997406, -0.38059887290000916, 0.11333540827035904, 0.13505420088768005, 0.9402488470077515, -0.698793888092041, 0.5573133826255798, 0.6404667496681213, -0.36287203431129456, -0.7908056378364563, 0.0161603931337595, -0.010845058597624302, -0.39938896894454956, 0.63573157787323, 0.13384480774402618, 0.021896550431847572, 0.2164134830236435, -0.5118752121925354, -0.7063707709312439, 0.9378856420516968, 0.6440900564193726, -0.0861063003540039, -0.053121984004974365, -0.13803529739379883, 0.9061709046363831, -0.5636254549026489, 0.2640235424041748, 0.8689259886741638, 0.565708339214325, -0.14433468878269196, -0.5920817255973816, -0.0874764695763588, -0.47536054253578186, 0.15548256039619446, -0.05745536461472511, 0.17784912884235382, 0.727480411529541, 0.05444157123565674, -0.45098692178726196, 0.5758589506149292, 0.6998974084854126, 0.3312450349330902, 0.10420297831296921, 0.7484925389289856, 0.26109224557876587, 0.8439117670059204, 0.25156643986701965, 1.2465285062789917, -0.24698686599731445, 0.47292613983154297, 1.0382344722747803, -0.14440380036830902, 0.5083360075950623, 0.3813716471195221, 0.1448245495557785, 0.6849836707115173, 0.5009243488311768, -0.06245763972401619, 0.6795647740364075, 0.15946824848651886, -0.3677716851234436, -0.38717788457870483, -0.27519604563713074, -0.17416301369667053, 0.3930605947971344, 0.4798712730407715, -0.5990330576896667, -0.25953173637390137, 0.07904636859893799, -0.18102984130382538, 0.268434077501297, -0.4279120862483978, 0.47528761625289917, 0.1850983053445816, -0.5352528691291809, 0.3334220051765442, 0.057171136140823364, 0.6105178594589233, -0.4220729172229767, -0.388338565826416, -0.048953551799058914, 0.28693339228630066, -0.3405015766620636, -0.2990691661834717, 0.1406535506248474, -0.04718153551220894, -0.0455288402736187, -0.30566051602363586, 0.8980565667152405, -0.25466856360435486, -0.5852071642875671, 0.29962608218193054, 0.4746270179748535, -0.12696906924247742, -0.10258972644805908, -0.7702547311782837, -0.2719097435474396, 0.04517953470349312, -0.23263238370418549, 0.14468620717525482, 0.284970223903656, 0.05408395081758499, 0.40102097392082214, 0.8128555417060852, 0.4047093093395233, -0.11740458011627197, 0.26494112610816956, 0.7514848709106445, -0.4104589819908142, -0.5368190407752991, -1.0592893362045288, 0.763940155506134, -0.3796982169151306, -0.02801729366183281, 0.7631693482398987, 0.22976382076740265, 0.5192589163780212, 0.21299445629119873, 0.9711713194847107, 0.1446930468082428, 0.5698086619377136, -0.6723032593727112, 0.4877845346927643, -0.4940202534198761, 0.5831395983695984, -0.3838486969470978, -1.0179221630096436, -0.3693581223487854, 1.071759819984436, -0.48766282200813293, 0.14311562478542328, 0.5440583825111389, 0.6831374764442444, -0.18450026214122772, 0.5381034016609192, -0.039488524198532104, 0.03779548406600952, 0.3679506778717041, -0.03351936489343643, 1.267266035079956, -0.31430235505104065, 0.40698546171188354, -0.342887818813324, -0.4039943516254425, -0.04290393367409706, -0.8641230463981628, -0.8130539059638977, -0.10428279638290405, -0.1696029007434845, -0.3199062943458557, -0.15170086920261383, 0.9367106556892395, 0.5419195294380188, -0.5764094591140747, -0.1408248245716095, -0.2829149663448334, -0.050785403698682785, -0.6077703237533569, -0.24342815577983856, 0.31250032782554626, -0.4899179935455322, -0.7929280400276184, 0.7079299092292786, 0.07808846235275269, -0.008600371889770031, -0.21018385887145996, -0.09120244532823563, 0.010191725566983223, -0.0024549385998398066, 0.5523830652236938, 0.26421475410461426, -0.5055484175682068, -0.3559185862541199, 0.13103322684764862, 0.16804584860801697, 0.2645696997642517, 1.0436007976531982, -0.873240053653717, 0.6498878598213196, 0.5180882811546326, 0.5663520693778992, 0.382872074842453, 0.4013342559337616, 0.7915379405021667, -0.4473372995853424, -0.010765769518911839, 0.37550729513168335, 0.5492675304412842, 0.45914119482040405, -0.4099416732788086, 0.6003753542900085, -0.01674000360071659, -0.18989188969135284, -1.1525050401687622, 0.26167455315589905, -0.8366020321846008, -0.12480109930038452, 1.090799331665039, -0.1324131339788437, 0.13882680237293243, -0.0545869879424572, -0.2523016035556793, 0.2562147080898285, -0.10645274817943573, 0.7321414351463318, 0.536397397518158, -0.36852335929870605, -0.07565195858478546, -0.8791028261184692, 0.4034610688686371, 0.6696110963821411, -0.9754553437232971, 0.22165334224700928, 0.5654921531677246, 0.10553077608346939, 0.24721015989780426, 0.43420371413230896, -0.2513003647327423, 0.3613327443599701, -0.157371386885643, -0.2108048051595688, -0.15110881626605988, 0.005514894146472216, -1.026472806930542, -0.21009185910224915, 0.15921887755393982, 0.08903764933347702 ]
http://arxiv.org/abs/2404.02060v3
http://arxiv.org/pdf/2404.02060v3
Long-context LLMs Struggle with Long In-context Learning
2024-04-02T15:59:11
2024-06-12T02:46:16
Tianle Li, Ge Zhang, Quy Duc Do, Xiang Yue, Wenhu Chen
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have made significant strides in handling long sequences. Some models like Gemini could even to be capable of dealing with millions of tokens. However, their performance evaluation has largely been confined to metrics like perplexity and synthetic tasks, which may not fully capture their true abilities in more challenging, real-world scenarios. We introduce a benchmark (LongICLBench) for long in-context learning in extreme-label classification using six datasets with 28 to 174 classes and input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend the entire input to recognize the massive label spaces to make correct predictions. We evaluate on 15 long-context LLMs and find that they perform well on less challenging classification tasks with smaller label space and shorter demonstrations. However, they struggle with more challenging task like Discovery with 174 labels, suggesting a gap in their ability to process long, context-rich sequences. Further analysis reveals a bias towards labels presented later in the sequence and a need for improved reasoning over multiple pieces of information. Our study reveals that long context understanding and reasoning is still a challenging task for the existing LLMs. We believe LongICLBench could serve as a more realistic evaluation for the future long-context LLMs.
[ -0.46563345193862915, -0.5817955136299133, 0.6539885997772217, 0.1778150349855423, -0.3198896050453186, 0.04126875475049019, -0.6004814505577087, -0.8870285153388977, -0.23954400420188904, 0.3213599920272827, -0.48747318983078003, -0.6355812549591064, -0.6161022186279297, 0.3338826894760132, -0.35629260540008545, 1.0612850189208984, -0.17644861340522766, -0.23042920231819153, -0.18757662177085876, -0.376407653093338, -0.2595727741718292, -0.6426255106925964, -0.5161701440811157, -0.47018787264823914, 0.6342708468437195, 0.3296438157558441, 0.4387182891368866, 0.4131564199924469, 0.09462673962116241, 0.2109357863664627, -0.47808974981307983, 0.2416246086359024, -0.6559937000274658, 0.26039600372314453, -0.35084542632102966, -0.08803214132785797, -0.2563369572162628, -0.1683538258075714, 0.8658331632614136, 0.847995400428772, 0.15528838336467743, 0.1002652570605278, 0.0978412851691246, 0.5752041339874268, -0.46190524101257324, 0.2211030274629593, -0.3235160708427429, 0.1478702872991562, -0.31359902024269104, 0.16146810352802277, -0.5283940434455872, 0.11388883739709854, 0.2368701696395874, -0.35002684593200684, -0.24481502175331116, 0.3087772727012634, 0.5292245745658875, 0.13645420968532562, -0.7438186407089233, -0.4915924668312073, -0.5818645358085632, 0.6368706226348877, -0.5705380439758301, 0.5339064002037048, 0.23056641221046448, 0.4090617597103119, -0.4331957697868347, -0.7084065675735474, -0.4597416818141937, -0.27421703934669495, 0.26629316806793213, 0.0026624652091413736, 0.0741400346159935, 0.08782804012298584, 0.6050359606742859, -0.04545776918530464, -0.36544138193130493, 0.7222817540168762, -0.2222910374403, -0.11001799255609512, 0.39677008986473083, 0.14538536965847015, -0.36453911662101746, -0.1449059396982193, -0.7044559121131897, -0.08918514847755432, -0.7283229827880859, 0.3421867787837982, 0.0640677958726883, 0.19136692583560944, -0.07069718837738037, 0.2321384847164154, -0.002083000959828496, 0.7272821068763733, -0.3064383268356323, -0.2435520589351654, 0.3576696813106537, 0.2937721908092499, -0.2236427217721939, 0.0857408344745636, 0.5972645282745361, 0.2979363799095154, -0.0446612648665905, -0.2644026577472687, -0.5611652731895447, -0.22326961159706116, -0.268292635679245, -0.9036767482757568, 0.2557152807712555, 0.18434496223926544, -0.150650754570961, 0.3260454535484314, -0.09332884103059769, -0.4702806770801544, -0.47957345843315125, -0.47342294454574585, 0.39752396941185, -0.30329978466033936, 0.20523135364055634, 0.08260270953178406, -0.08028604835271835, 0.27235010266304016, 0.29772335290908813, -0.47506392002105713, 0.31831812858581543, 0.8606706857681274, 0.6954796314239502, -0.43975648283958435, -0.30681854486465454, -0.451907217502594, 0.2006288319826126, -0.26009997725486755, 0.6653236746788025, -0.43383997678756714, -0.4238106906414032, -0.051432158797979355, 0.09252149611711502, 0.17538894712924957, -0.7428166270256042, 0.6116787195205688, -0.6585854887962341, -0.1024102196097374, -0.1555566042661667, -0.9406747221946716, -0.00263597653247416, 0.31335538625717163, -0.35704976320266724, 1.0671534538269043, 0.23492994904518127, -0.48062077164649963, 0.5402956604957581, -0.5371777415275574, -0.4957161545753479, 0.33815863728523254, -0.27299433946609497, -0.2439584881067276, 0.12426720559597015, -0.05673817917704582, 0.8667017221450806, -0.36050179600715637, 0.5519552230834961, -0.4234962463378906, -0.6720799803733826, 0.5067570209503174, -0.4520130455493927, 0.3847929835319519, 0.0675881877541542, -0.5266073942184448, 0.025426629930734634, -0.8178011775016785, -0.04623094201087952, -0.1587466299533844, -0.5939866304397583, -0.3453476130962372, -0.07125379145145416, 0.14323647320270538, 0.3880762457847595, 0.029478469863533974, -0.6017372608184814, 0.2506205439567566, -0.25473183393478394, 0.6171932816505432, 1.0421266555786133, -0.5645648241043091, 0.2673196494579315, 0.02531951665878296, 0.14329546689987183, 0.000968136650044471, 0.03432174399495125, -0.06194859743118286, -0.17093534767627716, -0.6205255389213562, -0.3306930959224701, 0.2882484495639801, 0.25002190470695496, -0.7523764967918396, 0.588439404964447, -0.5365245938301086, -0.2243720144033432, -0.005345263984054327, 0.35158413648605347, 0.5869408845901489, 0.581052303314209, 0.4561575949192047, -0.34403449296951294, -0.2611595392227173, -0.8530821800231934, -0.008470501750707626, 0.27028489112854004, -0.2339150756597519, 0.6079967617988586, 0.840135395526886, -0.6824600696563721, 0.8446792960166931, -0.2364983707666397, -0.1698015332221985, -0.1331784576177597, 0.06139294430613518, 0.5434547662734985, 0.054083988070487976, 0.13600210845470428, -0.5768741369247437, -0.30942171812057495, -0.10532549768686295, -0.7357776165008545, -0.07433082163333893, 0.1526249498128891, 0.10966495424509048, 0.49097099900245667, 0.7099783420562744, -0.3952374756336212, 0.12610261142253876, 0.4985389709472656, -0.23817014694213867, 0.5161411762237549, -0.13821212947368622, -0.35286328196525574, -0.7293176651000977, 0.019336983561515808, 0.07857289165258408, -0.3667513132095337, -0.3765355944633484, 0.05789130553603172, 0.5512561798095703, -0.05064428597688675, -0.7508533596992493, 0.8867846131324768, -0.3289569318294525, -0.14990659058094025, -0.39099255204200745, 0.18036054074764252, -0.26858407258987427, 0.42715296149253845, 0.13628479838371277, 0.52939373254776, 0.5515666007995605, -0.6227481365203857, 0.4797811508178711, -0.19252057373523712, -0.8189281821250916, 0.5051169395446777, -0.34019458293914795, 0.3117205500602722, -0.2896948456764221, 1.0295946598052979, -0.9044820070266724, -0.30146533250808716, -0.017038622871041298, -0.07401405274868011, 0.6412562727928162, 0.09090737253427505, -0.7464534640312195, -0.6065608859062195, -0.11387713253498077, 0.6091642379760742, 0.5270806550979614, -0.9694190621376038, 0.3722900152206421, -0.004155932925641537, 0.16735661029815674, -0.7056704759597778, -0.4161165952682495, 0.31912124156951904, -0.42753714323043823, -0.3428494930267334, 0.43931248784065247, -0.07515845447778702, -0.027469677850604057, -0.3690434694290161, -0.3204406201839447, 0.4128219187259674, 0.009506529197096825, 0.4832797348499298, -0.0630105510354042, 0.016420910134911537, 0.45504170656204224, -0.08170533925294876, -0.19332411885261536, 0.12883634865283966, -0.31879448890686035, 0.2733169198036194, -0.3258148431777954, -0.1294826716184616, -0.01957091875374317, 0.2146388590335846, 0.5950148105621338, 0.29708442091941833, 0.7051288485527039, 0.5368912220001221, -0.32885950803756714, -0.64609295129776, -0.6187704801559448, 0.11104961484670639, -0.46983271837234497, 0.6585938930511475, -0.4479604661464691, -1.0449403524398804, 0.4632743299007416, -0.40918660163879395, 0.03196755796670914, 0.343743234872818, 0.29041385650634766, -0.2824883460998535, 0.6849286556243896, 0.49799251556396484, -0.21667301654815674, 0.15646901726722717, -0.3031919002532959, 0.025003595277667046, -1.0561974048614502, -0.45067843794822693, -0.21189628541469574, -0.44563189148902893, -0.2341471165418625, -0.6092960238456726, 0.5294516086578369, 0.04976771026849747, -0.5617146492004395, 0.21029628813266754, -0.22589893639087677, 0.6409779787063599, 0.23253706097602844, 0.3414958119392395, -0.005532547831535339, -0.2037990689277649, -0.16522611677646637, 0.19458529353141785, -0.5727863311767578, -0.3729683756828308, 0.9004870653152466, 0.620822548866272, 0.7520965933799744, 0.02601521648466587, 0.6261019706726074, 0.05743302032351494, 0.6809093356132507, -0.8553521633148193, 0.6372809410095215, -0.17565102875232697, -0.5878766775131226, -0.35993731021881104, -0.37804701924324036, -0.9060570597648621, 0.24120424687862396, -0.004468776285648346, -0.6404591202735901, -0.2038724273443222, -0.16294734179973602, -0.12713371217250824, 0.2327229380607605, -0.27359622716903687, 0.6267316937446594, -0.5391503572463989, -0.498990923166275, 0.08211206644773483, -1.1086914539337158, 0.22475497424602509, -0.29855841398239136, 0.6202764511108398, -0.15443211793899536, -0.21957635879516602, 0.9994915127754211, -0.1478949934244156, 0.9817155599594116, -0.09408779442310333, -0.24477887153625488, 0.10786768049001694, -0.158777117729187, 0.4486848711967468, 0.06968259066343307, -0.07373309135437012, 0.06329111754894257, -0.18833184242248535, -0.4148513078689575, -0.3770727217197418, 0.8323532342910767, -0.7646980881690979, -0.5049018859863281, -0.43135663866996765, -0.36933809518814087, -0.46495094895362854, 0.03539663553237915, 0.32954204082489014, 0.5201635360717773, -0.0490112379193306, 0.42174920439720154, 0.8597466349601746, -0.2735786736011505, 0.4668191969394684, 0.36751842498779297, -0.17481476068496704, -0.3003568649291992, 0.6884176135063171, 0.13123637437820435, 0.17411087453365326, 0.48117420077323914, 0.22135110199451447, -0.5239949226379395, -0.5846340656280518, -0.42472144961357117, 0.13043943047523499, -1.223541498184204, -0.2341620922088623, -0.5049614310264587, -0.0415397584438324, -0.10506599396467209, -0.1982026845216751, -0.21626709401607513, -0.0666012167930603, -0.22024941444396973, -0.10555402934551239, 0.04809008911252022, 0.7369526028633118, 0.1379794478416443, 0.20575952529907227, -0.7416249513626099, 0.1517467498779297, 0.27209916710853577, 0.5145873427391052, 0.16186000406742096, -0.7831307649612427, -0.36256352066993713, -0.2526213526725769, -0.34220099449157715, -0.614818274974823, 0.05946645885705948, 0.26026657223701477, 0.5000866055488586, 0.43524596095085144, 0.05543775483965874, 0.7575460076332092, -0.5250579118728638, 0.6962782740592957, 0.2384173423051834, -0.8927173614501953, 0.05790821090340614, -0.07526412606239319, 0.48595601320266724, 0.3595106899738312, 0.6732656955718994, -0.5839264392852783, -0.06093767285346985, -0.3283172845840454, -1.2012535333633423, 0.4406021535396576, -0.14176161587238312, 0.20001789927482605, -0.2341158539056778, 0.49974608421325684, 0.4421934187412262, 0.011976712383329868, -0.9168480038642883, -0.11034087836742401, 0.14796553552150726, 0.07456987351179123, -0.619805097579956, -0.2900252640247345, -0.13010379672050476, -0.4098729193210602, 0.4069245457649231, -0.2851526141166687, -0.05441158637404442, 0.07553735375404358, -0.26095715165138245, 0.1499430537223816, 0.4548201858997345, 0.6963045597076416, 0.857222855091095, -0.22101545333862305, 0.2829189598560333, 0.6597809791564941, 0.08496707677841187, 0.08191486448049545, 0.09184566885232925, 0.47335103154182434, -0.20198504626750946, 0.5663980841636658, 0.9289969801902771, 0.5414010882377625, -1.0176036357879639, 0.5413690805435181, 0.060778893530368805, -0.20703572034835815, -0.4636766314506531, -0.06671950221061707, 0.2165362387895584, 0.3150188624858856, 0.5878903865814209, -0.32951194047927856, 0.012085629627108574, -0.6697998642921448, -0.05815235152840614, 0.3381357789039612, -0.4653182029724121, -0.08950220793485641, 0.38039177656173706, 0.22186101973056793, -0.17843984067440033, 0.8850982189178467, -0.05432288721203804, -0.68951815366745, 0.7385505437850952, 0.6774579286575317, 0.5314940810203552, 0.12562738358974457, -0.3673612177371979, 0.055011164397001266, -0.18890252709388733, -0.24031099677085876, -0.26457247138023376, -0.4714961349964142, -0.39779001474380493, -0.4892970621585846, -0.7167133092880249, -0.6010441184043884, 0.34160491824150085, -0.44274207949638367, 0.3358498513698578, -0.38715660572052, -0.17241761088371277, -0.10436946898698807, -0.15293803811073303, -0.6871525049209595, 0.24872544407844543, 0.6150078177452087, 1.1284593343734741, -0.7346081733703613, 0.7946489453315735, 0.5604403018951416, 0.5054111480712891, -0.46193501353263855, -0.43314534425735474, -0.1690843403339386, -0.5909605622291565, 1.0293325185775757, 0.8707736730575562, -0.10804173350334167, -0.4621899127960205, -0.6887357831001282, -0.6083850264549255, 1.0727821588516235, -0.03576737642288208, -0.9092062711715698, -0.16386251151561737, 0.057442378252744675, 0.7356124520301819, -0.3187001049518585, 0.2555292546749115, 0.49342694878578186, 0.38983452320098877, 0.2295105755329132, -1.0051006078720093, 0.03377124294638634, 0.03752896934747696, -0.14628709852695465, 0.3696048855781555, -0.5985352993011475, 0.49680405855178833, -0.10040920972824097, -0.1189015731215477, -0.016746141016483307, 0.6807926297187805, 0.29528284072875977, 0.6115136742591858, 0.4937697649002075, 0.5100889205932617, 0.5634906888008118, -0.0017796737374737859, 0.9054272174835205, 0.04124767333269119, 0.3703518807888031, 1.1475392580032349, -0.42890170216560364, 0.9722867012023926, 0.47844818234443665, -0.22233794629573822, 0.4080582559108734, 0.8842710256576538, 0.21196149289608002, 0.3232823312282562, 0.7406107187271118, -0.27585822343826294, -0.3319694995880127, 0.11113614588975906, -0.4062459170818329, 0.27114027738571167, 0.8253350853919983, -0.26611319184303284, -0.1968415230512619, 0.440415620803833, -0.06132086366415024, -0.1987263709306717, -0.42506739497184753, 0.6364866495132446, 0.4865318536758423, -0.7512123584747314, 0.9689752459526062, -0.0028351182118058205, 1.0506843328475952, -0.4543217122554779, 0.21969091892242432, -0.10288099944591522, 0.3703557848930359, -0.12032647430896759, -0.9432819485664368, -0.1880972534418106, -0.22144955396652222, 0.03319244086742401, -0.31323015689849854, 0.3117251396179199, -0.19517283141613007, -0.13790501654148102, 0.6381262540817261, 0.04060062766075134, 0.3139757513999939, 0.04164654389023781, -0.5196408033370972, 0.12079402059316635, -0.3939923346042633, -0.5076419711112976, 0.6796525120735168, 0.3778940439224243, -0.22083714604377747, 0.845093309879303, 0.36101871728897095, -0.2892957627773285, -0.06727897375822067, -0.06825091689825058, 0.88136887550354, -0.8713718056678772, -0.3344523012638092, -0.9592521786689758, 0.055726662278175354, 0.04401899129152298, -0.45261362195014954, 0.42022398114204407, 0.64348965883255, 1.0788359642028809, 0.061086058616638184, 0.42164748907089233, 0.1532132625579834, 0.3133208453655243, -0.5023354887962341, 0.2704426348209381, -0.6381008625030518, 0.2644594609737396, -0.10126379877328873, -1.0102516412734985, -0.36072322726249695, 0.19259759783744812, -0.2917928993701935, -0.06499820947647095, 0.6384938359260559, 0.3532264828681946, -0.1115233451128006, -0.05229313671588898, 0.425676554441452, 0.24786476790905, 0.47693032026290894, 1.124493956565857, 1.1597882509231567, -0.1400763839483261, 0.3538118600845337, -0.21458473801612854, -0.42601966857910156, -0.27927207946777344, -1.1215496063232422, -1.1150554418563843, -0.5252022743225098, -0.029652724042534828, -0.3137491047382355, 0.2959306538105011, 1.200682282447815, 0.5689687728881836, -0.45811206102371216, -0.339828759431839, 0.29834309220314026, -0.05560009554028511, 0.0005641303141601384, -0.16030411422252655, 0.5418914556503296, -0.1079559326171875, -0.662865400314331, 0.48633912205696106, 0.2864241600036621, 0.018541162833571434, -0.0073948027566075325, -0.2293025106191635, 0.3156018853187561, -0.19635511934757233, 0.988949179649353, 0.4130449593067169, -0.8450419306755066, -0.4142104983329773, -0.24517816305160522, -0.13423609733581543, -0.022940313443541527, 0.5435379147529602, -0.9429311156272888, 0.38164401054382324, 0.23124243319034576, 0.608300507068634, 0.7122706174850464, -0.11691546440124512, 0.11641361564397812, -0.5800071358680725, -0.06785791367292404, 0.4172552227973938, 0.422236829996109, 0.30376771092414856, -0.07781343907117844, 0.32032325863838196, -0.11192535609006882, -0.8518379330635071, -0.9455785155296326, 0.14835254848003387, -0.973134458065033, -0.5752224326133728, 1.4247870445251465, -0.2525510787963867, -0.29185348749160767, -0.10186967253684998, -0.08622709661722183, 0.09914442151784897, -0.33568522334098816, 0.6538826823234558, 0.8112888932228088, -0.3297782838344574, 0.06706439703702927, -0.49808502197265625, 0.24910791218280792, 0.42746907472610474, -0.4320104420185089, 0.10426392406225204, 0.3574625253677368, 0.42695894837379456, -0.02738773450255394, 0.2761218845844269, 0.060771409422159195, 0.12512892484664917, -0.5180386304855347, -0.2797119617462158, -0.14370092749595642, -0.5545006394386292, -0.34525957703590393, 0.1907118707895279, 0.08293737471103668, 0.3289623558521271 ]
http://arxiv.org/abs/2404.02054v2
http://arxiv.org/pdf/2404.02054v2
Deconstructing In-Context Learning: Understanding Prompts via Corruption
2024-04-02T15:50:55
2024-05-29T16:12:37
Namrata Shivagunde, Vladislav Lialin, Sherin Muckatira, Anna Rumshisky
cs.CL
cs.CL
The ability of large language models (LLMs) to $``$learn in context$"$ based on the provided prompt has led to an explosive growth in their use, culminating in the proliferation of AI assistants such as ChatGPT, Claude, and Bard. These AI assistants are known to be robust to minor prompt modifications, mostly due to alignment techniques that use human feedback. In contrast, the underlying pre-trained LLMs they use as a backbone are known to be brittle in this respect. Building high-quality backbone models remains a core challenge, and a common approach to assessing their quality is to conduct few-shot evaluation. Such evaluation is notorious for being highly sensitive to minor prompt modifications, as well as the choice of specific in-context examples. Prior work has examined how modifying different elements of the prompt can affect model performance. However, these earlier studies tended to concentrate on a limited number of specific prompt attributes and often produced contradictory results. Additionally, previous research either focused on models with fewer than 15 billion parameters or exclusively examined black-box models like GPT-3 or PaLM, making replication challenging. In the present study, we decompose the entire prompt into four components: task description, demonstration inputs, labels, and inline instructions provided for each demonstration. We investigate the effects of structural and semantic corruptions of these elements on model performance. We study models ranging from 1.5B to 70B in size, using ten datasets covering classification and generation tasks. We find that repeating text within the prompt boosts model performance, and bigger models ($\geq$30B) are more sensitive to the semantics of the prompt. Finally, we observe that adding task and inline instructions to the demonstrations enhances model performance even when the instructions are semantically corrupted.
[ -0.09507844597101212, -0.8934853672981262, 0.565657377243042, 0.05139511451125145, -0.1967766135931015, -0.26245805621147156, -0.014532827772200108, -0.39742735028266907, -0.4135657250881195, 0.39767956733703613, -0.6434498429298401, -0.15191295742988586, -0.48166516423225403, 0.403949111700058, -0.3410837948322296, 1.2749370336532593, 0.22978375852108002, 0.24219506978988647, -0.3742556869983673, -0.11799793690443039, -0.8597568869590759, -0.315889447927475, -0.7366330027580261, -0.35796722769737244, 0.4531515836715698, 0.4520390033721924, 0.5610566139221191, 0.656766951084137, 0.15466587245464325, 0.3476007282733917, -0.3914162814617157, 0.022828081622719765, -0.8165550231933594, 0.21338534355163574, -0.2375309318304062, -0.5273141264915466, -0.20898935198783875, 0.13785791397094727, 0.7464507222175598, 0.7305243611335754, 0.37004101276397705, 0.07933516055345535, 0.7085740566253662, 0.35652145743370056, -0.49484413862228394, 0.2625986337661743, -0.6949597001075745, -0.3561374545097351, -0.08093132078647614, -0.21667909622192383, -0.6731903553009033, -0.11187266558408737, 0.31573721766471863, -0.6325656175613403, 0.19088506698608398, 0.02215179242193699, 0.8672772645950317, 0.3221692442893982, -0.40677130222320557, -0.40182793140411377, -0.4727151095867157, 0.6700624227523804, -0.48417797684669495, -0.06693664193153381, 0.3402405083179474, 0.26722434163093567, -0.40905705094337463, -0.6995061039924622, -0.3599841296672821, -0.3202635943889618, -0.2474619746208191, -0.016460029408335686, -0.2212837040424347, 0.1697498857975006, 0.5080984830856323, 0.16377206146717072, -0.3804631233215332, 0.25510719418525696, -0.4330960810184479, -0.3739602267742157, 0.34147801995277405, 0.4510096609592438, 0.47280243039131165, -0.5380662083625793, -0.3800838887691498, -0.24868394434452057, -1.026635766029358, 0.3261021077632904, 0.48349055647850037, 0.6123371124267578, -0.12516027688980103, 0.5474889278411865, -0.062431175261735916, 0.7894002795219421, 0.16782858967781067, -0.3109189569950104, -0.1695834845304489, -0.6163639426231384, -0.3344706594944, -0.05229895934462547, 0.5350679159164429, 0.11415788531303406, 0.040512584149837494, 0.0663052499294281, -0.3001691997051239, -0.03814529627561569, 0.28839606046676636, -0.9167801141738892, -0.191012442111969, 0.08082087337970734, -0.5222910046577454, -0.2209215611219406, -0.21668927371501923, -0.33296599984169006, -0.6343656778335571, -0.428766131401062, 0.6475109457969666, -0.6913313865661621, 0.27414950728416443, -0.2003195732831955, -0.23800347745418549, 0.23892608284950256, 0.6518053412437439, -0.6087692975997925, -0.03986406326293945, 0.6740292906761169, 0.7587904334068298, -0.056370727717876434, -0.4008171558380127, -0.6698402166366577, -0.2890284061431885, -0.30588337779045105, 0.7962729334831238, -0.5689685940742493, -0.5150719285011292, -0.1307433545589447, 0.11648209393024445, -0.11641430109739304, -0.539286732673645, 0.5132260918617249, -0.3108751177787781, 0.3465745449066162, -0.5765224099159241, -0.5142396688461304, -0.20030467212200165, 0.18642544746398926, -0.7010543942451477, 0.801116943359375, 0.20256738364696503, -0.6460310220718384, 0.49106839299201965, -0.495342880487442, -0.2624015510082245, 0.08157340437173843, -0.06925657391548157, -0.19545744359493256, 0.11496853828430176, 0.1868249475955963, 0.5315907001495361, -0.29628080129623413, 0.19576574862003326, -0.0858856737613678, -0.697950541973114, 0.25978952646255493, -0.6942679286003113, 0.957829475402832, -0.02622082270681858, -0.27478522062301636, 0.24763670563697815, -0.8491771817207336, -0.39336568117141724, -0.07114935666322708, -0.3383813202381134, -0.4151421785354614, -0.12263984233140945, -0.2508161664009094, 0.17727795243263245, -0.154806986451149, -0.2701058089733124, 0.3316405117511749, -0.5274284482002258, 0.31260445713996887, 0.8610642552375793, 0.16561894118785858, 0.5533169507980347, -0.47236961126327515, 0.5720223188400269, 0.11519541591405869, -0.00408641854301095, -0.9021642208099365, -0.5035114884376526, -0.5941402316093445, -0.3568263351917267, 0.11488186568021774, 0.3626517951488495, -0.8271271586418152, -0.16246604919433594, -0.24872922897338867, -0.3621496856212616, -0.6494137644767761, 0.2301270216703415, 0.513198733329773, 0.9981420636177063, 0.4409453570842743, -0.0036913680378347635, -0.20144325494766235, -0.8413339853286743, -0.440796822309494, -0.28758299350738525, -0.10406208783388138, 0.4398135542869568, 0.7118593454360962, -0.01734619215130806, 0.9515893459320068, -0.002460057381540537, -0.12491503357887268, -0.39408713579177856, 0.18867549300193787, 0.1710033416748047, 0.506359338760376, 0.5623753666877747, -0.32958680391311646, -0.32919806241989136, -0.3803297281265259, -0.4951590299606323, -0.13099095225334167, -0.34537771344184875, 0.15738210082054138, 0.14998145401477814, 0.4120706021785736, -0.4316923916339874, 0.509281575679779, 0.2305280715227127, -0.5339846611022949, 0.8761435747146606, 0.014189201407134533, 0.12782929837703705, -0.8585619330406189, -0.06236729398369789, -0.16567634046077728, -0.14923611283302307, -0.48989859223365784, 0.05137459561228752, 0.0926986038684845, -0.18511557579040527, -0.6659948825836182, 0.780968189239502, -0.4134693145751953, -0.04034041240811348, -0.37354227900505066, 0.2801702618598938, 0.05167527124285698, 0.3739750385284424, -0.31818845868110657, 1.070660948753357, 0.4397611618041992, -0.7429897785186768, 0.057864412665367126, 0.2317751795053482, -0.5402215719223022, 0.7433987855911255, -0.9790493249893188, 0.09085264056921005, -0.27098071575164795, 0.3667714595794678, -1.2245769500732422, -0.40204232931137085, 0.03360212966799736, -0.27444353699684143, 0.4137551486492157, -0.3630770146846771, -0.4591938555240631, 0.1992732733488083, -0.34456712007522583, 0.4617862403392792, 0.4067002236843109, -0.6768721342086792, 0.4459405243396759, -0.1452402025461197, -0.05201081559062004, -0.6995621919631958, -0.5024184584617615, -0.0574512779712677, -0.3453275263309479, -0.7775625586509705, 0.39258572459220886, -0.050407517701387405, -0.32419538497924805, -0.1180415153503418, -0.042405981570482254, 0.30143848061561584, 0.5021952390670776, 0.40331295132637024, 0.29696670174598694, -0.1497819572687149, 0.1788901835680008, 0.13129650056362152, 0.08209718763828278, 0.04289709031581879, -0.07347878068685532, 0.3569282591342926, -0.09440340846776962, -0.27239659428596497, -0.6406536102294922, 0.12748675048351288, 0.5540595054626465, -0.015622955746948719, 0.8269902467727661, 0.25127923488616943, -0.22274722158908844, -0.35146746039390564, -0.21918565034866333, -0.4017477333545685, -0.48303043842315674, 0.27020543813705444, -0.42460793256759644, -0.8493764996528625, 0.6528502702713013, -0.05928719416260719, 0.000012405354937072843, 0.34533408284187317, 0.408212810754776, -0.02568819746375084, 0.7757653594017029, 0.517402708530426, 0.047150567173957825, 0.5664955377578735, -0.2898816168308258, -0.12953780591487885, -0.888389527797699, -0.2041093409061432, -0.6212714910507202, -0.2334349900484085, -0.44806164503097534, -0.3153412640094757, 0.5124801397323608, 0.30776748061180115, -0.3653935194015503, 0.27317914366722107, -0.21589678525924683, 0.5984402298927307, 0.40231630206108093, 0.24313759803771973, 0.18450090289115906, -0.30786463618278503, -0.2788214087486267, 0.2312479019165039, -0.8371703624725342, -0.8781861066818237, 0.9825224280357361, 0.41199544072151184, 0.6512510776519775, 0.06440628319978714, 0.47466903924942017, 0.11154574155807495, 0.12126746773719788, -0.817600667476654, 0.4758699834346771, 0.24535156786441803, -0.45012515783309937, -0.2670648992061615, -0.19506965577602386, -1.1558672189712524, 0.3353859484195709, -0.1450786292552948, -0.8483838438987732, 0.2311054915189743, 0.25492414832115173, -0.5948874354362488, -0.03464016318321228, -0.7648695111274719, 0.9970446228981018, 0.13035431504249573, -0.6059674620628357, -0.06437762081623077, -0.5401354432106018, 0.5184964537620544, 0.11652714014053345, -0.02460690215229988, 0.09304241091012955, 0.08835460245609283, 0.574851393699646, -0.43847620487213135, 1.168698787689209, -0.0712045282125473, -0.15559203922748566, 0.3174663782119751, 0.3732236325740814, 0.8016501665115356, 0.0956534594297409, -0.11126454174518585, -0.09554798901081085, -0.011121266521513462, -0.521725058555603, -0.7305953502655029, 0.5646175146102905, -0.699684202671051, -0.7847918272018433, -0.16099366545677185, -0.558744490146637, -0.08663701266050339, -0.12507523596286774, 0.4229482114315033, 0.853471577167511, -0.17412352561950684, 0.2536764144897461, 0.6030371189117432, -0.47654324769973755, 0.6183481216430664, 0.18277300894260406, 0.20307350158691406, 0.052682653069496155, 0.6032914519309998, 0.1281738430261612, 0.451513409614563, 0.059556663036346436, 0.19175133109092712, -0.1622891128063202, -0.5212306976318359, -0.40090706944465637, 0.10982459038496017, -0.9816500544548035, -0.23862949013710022, -0.43301868438720703, 0.09053382277488708, -0.3045250475406647, -0.1461237519979477, -0.16267018020153046, -0.3373188376426697, -0.7271891832351685, -0.14536911249160767, 0.1310683935880661, 0.8455476760864258, 0.28279992938041687, 0.6007016897201538, -0.6335687041282654, -0.056087665259838104, 0.27280688285827637, 0.05994828790426254, 0.24762481451034546, -0.7919092774391174, -0.14496412873268127, 0.03897067904472351, -0.3452933728694916, -1.1459749937057495, 0.17039833962917328, 0.135881245136261, 0.5373745560646057, 0.4547329545021057, 0.02929645963013172, 0.8645505309104919, -0.43961092829704285, 1.2354533672332764, -0.3343748152256012, -1.0535410642623901, 0.6010429859161377, -0.3828209936618805, 0.4202854037284851, 0.4728597104549408, 0.30637243390083313, -0.2919432520866394, -0.34937864542007446, -0.46988391876220703, -0.6807625889778137, 0.9640860557556152, 0.03964884951710701, 0.34631383419036865, -0.07957518845796585, 0.4608379304409027, 0.26363322138786316, -0.06889103353023529, -0.7105281352996826, -0.1561264991760254, -0.22957921028137207, 0.04524005949497223, 0.018576372414827347, -0.49394482374191284, -0.0950295627117157, -0.15584121644496918, 0.5339877605438232, -0.2231493890285492, 0.09031876921653748, 0.16772514581680298, -0.46326425671577454, 0.28661784529685974, 0.4204053282737732, 0.7796118259429932, 0.6535145044326782, 0.15762072801589966, -0.003900176379829645, 0.21121220290660858, -0.14963431656360626, 0.11394904553890228, -0.28353172540664673, -0.3069709241390228, -0.10437006503343582, 0.8715556263923645, 1.1206713914871216, 0.475202739238739, -0.584237813949585, 0.5393050909042358, 0.10748320072889328, 0.2552914023399353, -0.03930636867880821, 0.3136274516582489, -0.36327940225601196, 0.2961824834346771, 0.3711458146572113, 0.06360772252082825, 0.16044023633003235, -0.9309466481208801, 0.1465468555688858, 0.4047788679599762, -0.30312955379486084, -0.4974476099014282, 0.5194296836853027, 0.1655329018831253, -0.3207664489746094, 0.8136847615242004, -0.32394590973854065, -0.534195065498352, 0.5271078944206238, 0.7281944155693054, 0.795350968837738, -0.179881289601326, 0.20887112617492676, 0.49735623598098755, 0.4063279926776886, -0.11008119583129883, -0.05606802925467491, -0.24730655550956726, -0.5821544528007507, -0.4145476520061493, -0.36665040254592896, -0.20817798376083374, 0.16262418031692505, -0.48153501749038696, 0.4021213948726654, -0.3102916479110718, -0.04364246502518654, -0.29125893115997314, -0.0889246016740799, -0.7705069780349731, -0.006029665470123291, -0.21162588894367218, 0.7870038151741028, -0.9408445358276367, 0.5675446391105652, 0.5306392908096313, -0.5943304300308228, -0.8549155592918396, 0.02828621305525303, 0.23345360159873962, -0.5646538138389587, 0.8008506894111633, 0.2670847773551941, 0.11416700482368469, -0.154926598072052, -0.6839141249656677, -0.7965767979621887, 1.0731089115142822, 0.5123957395553589, -0.2584626078605652, -0.21297498047351837, -0.12426096946001053, 0.5246961712837219, -0.38582843542099, 0.6651515364646912, 0.6116009950637817, 0.32426121830940247, -0.027943773195147514, -1.0546220541000366, 0.1745789796113968, -0.003651277394965291, -0.021765630692243576, -0.22466735541820526, -0.492737740278244, 1.0009105205535889, -0.30610042810440063, -0.46810856461524963, 0.21874824166297913, 0.4553796052932739, 0.4859738051891327, 0.16308870911598206, 0.27861303091049194, 0.09037857502698898, 0.8756822347640991, -0.20929327607154846, 1.3899236917495728, -0.12909908592700958, 0.03955846652388573, 1.1777957677841187, -0.08157846331596375, 0.6080474257469177, 0.4661926329135895, 0.1706731915473938, 0.7099136114120483, 0.6961285471916199, 0.07319372147321701, 0.36093807220458984, 0.13264375925064087, 0.03140205517411232, -0.15682198107242584, -0.14031048119068146, -0.050182171165943146, 0.5999019145965576, 0.29436230659484863, -0.3465893566608429, -0.36743447184562683, 0.3060355484485626, 0.15063920617103577, 0.03660101816058159, -0.4474729299545288, 0.7731454372406006, -0.05528227984905243, -0.8754655122756958, 0.5982319712638855, -0.020863140001893044, 0.5238632559776306, -0.4198005795478821, -0.18750770390033722, -0.2842605710029602, -0.060108624398708344, -0.13047073781490326, -0.5350163578987122, 0.1571653038263321, 0.03692378103733063, -0.1200215294957161, -0.197515070438385, 0.6508910059928894, -0.23657174408435822, -0.11168507486581802, 0.09810839593410492, 0.3382697105407715, 0.22374780476093292, -0.12175396829843521, -0.5963404774665833, 0.16845257580280304, -0.13075092434883118, -0.34325507283210754, 0.41478168964385986, 0.45843684673309326, -0.20157651603221893, 0.7643346786499023, 0.5284791588783264, -0.15383708477020264, -0.05035906657576561, -0.15140126645565033, 0.7852751612663269, -0.4874028265476227, -0.3428340554237366, -0.9777093529701233, 0.8928358554840088, 0.07514443248510361, -0.47244420647621155, 0.9688683748245239, 0.4063962996006012, 0.9719545841217041, -0.01438829954713583, 0.47568121552467346, 0.29048511385917664, 0.16122658550739288, -0.674691379070282, 0.6243451833724976, -0.49898073077201843, 0.6391834616661072, -0.47191306948661804, -0.6981592178344727, 0.03824787586927414, 0.40065377950668335, -0.21731534600257874, 0.18913519382476807, 0.6110612154006958, 0.8633816242218018, 0.08534227311611176, -0.013844515196979046, 0.3952626585960388, 0.28184059262275696, 0.3792780041694641, 0.32990366220474243, 0.9931719303131104, -0.4927319586277008, 0.45760059356689453, -0.1443670690059662, -0.10604996979236603, -0.19454115629196167, -0.9268127679824829, -1.0789172649383545, -0.7393447756767273, -0.2576861083507538, -0.410297155380249, 0.014327622018754482, 0.954064667224884, 0.5444144606590271, -0.5275692939758301, -0.0680411085486412, 0.12093735486268997, 0.39437663555145264, -0.26558399200439453, -0.2674219608306885, 0.4790935516357422, -0.6570928692817688, -0.7611009478569031, 0.801545262336731, 0.13533931970596313, 0.2416336089372635, -0.20493245124816895, 0.044304195791482925, 0.15181225538253784, 0.2649074196815491, 0.7979012727737427, 0.0573858767747879, -0.8789026737213135, -0.4063650965690613, -0.011639832518994808, -0.09356575459241867, -0.15323349833488464, 0.776772677898407, -1.1949982643127441, 0.49804064631462097, 0.6766796708106995, 0.6559053063392639, 0.14361372590065002, 0.23957529664039612, 0.6185272932052612, -0.9682088494300842, 0.053155168890953064, 0.17828978598117828, 0.48413556814193726, 0.3677235543727875, -0.4559847414493561, 0.2355869561433792, 0.2625422179698944, -0.5412781238555908, -1.0400407314300537, 0.22752946615219116, -0.7464786767959595, -0.6065754890441895, 1.2037315368652344, -0.23289497196674347, -0.3093871772289276, -0.11846883594989777, -0.3873263895511627, 0.2026219516992569, -0.3296862542629242, 0.7535234689712524, 0.8743801116943359, -0.24662785232067108, -0.17615774273872375, -0.30830061435699463, 0.6768052577972412, 0.3618184030056, -0.48053601384162903, 0.1234474927186966, 0.7455142140388489, 0.3419836163520813, -0.001770651899278164, 0.36529338359832764, -0.12879280745983124, 0.4223397970199585, 0.04984920471906662, -0.40257659554481506, -0.29327481985092163, -0.5139419436454773, -0.868864893913269, 0.28337132930755615, 0.0019985877443104982, 0.07884003967046738 ]
http://arxiv.org/abs/2404.02053v2
http://arxiv.org/pdf/2404.02053v2
BERTopic-Driven Stock Market Predictions: Unraveling Sentiment Insights
2024-04-02T15:50:10
2024-04-04T08:05:37
Enmin Zhu, Jerome Yen
cs.CL
cs.CL, cs.CE, q-fin.ST
This paper explores the intersection of Natural Language Processing (NLP) and financial analysis, focusing on the impact of sentiment analysis in stock price prediction. We employ BERTopic, an advanced NLP technique, to analyze the sentiment of topics derived from stock market comments. Our methodology integrates this sentiment analysis with various deep learning models, renowned for their effectiveness in time series and stock prediction tasks. Through comprehensive experiments, we demonstrate that incorporating topic sentiment notably enhances the performance of these models. The results indicate that topics in stock market comments provide implicit, valuable insights into stock market volatility and price trends. This study contributes to the field by showcasing the potential of NLP in enriching financial analysis and opens up avenues for further research into real-time sentiment analysis and the exploration of emotional and contextual aspects of market sentiment. The integration of advanced NLP techniques like BERTopic with traditional financial analysis methods marks a step forward in developing more sophisticated tools for understanding and predicting market behaviors.
[ -0.3466097116470337, -0.5797098278999329, -0.06635478883981705, 0.3942645490169525, -0.3615908622741699, 0.491222083568573, -0.25813156366348267, -0.5924795269966125, 0.38798776268959045, 0.2859439253807068, -0.8578715920448303, -0.4498310089111328, -0.45353251695632935, -0.3040347397327423, -0.33416643738746643, 1.2283380031585693, 0.4576275944709778, 0.3638087809085846, 0.020137930288910866, 0.3093109130859375, -0.10740052163600922, -0.8077221512794495, -0.6241878867149353, -0.056416504085063934, 0.35846826434135437, -0.1298234760761261, 0.969072699546814, 0.04054754972457886, 0.635086178779602, 0.24309273064136505, -0.10110881924629211, -0.01881389692425728, -0.009449983015656471, 0.3615192770957947, 0.18988291919231415, -0.17102696001529694, -0.5219423770904541, 0.14819121360778809, 0.2281142622232437, 0.8442326188087463, -0.24797268211841583, -0.06714428961277008, 0.22043165564537048, 0.6888834238052368, -0.3121297061443329, 0.4709973633289337, -0.5888291001319885, 0.462290495634079, -0.27155616879463196, -0.4182330071926117, -0.48887670040130615, -0.24245832860469818, 0.7392879128456116, -0.3423461318016052, 0.10985668748617172, 0.09633729606866837, 0.8769545555114746, 0.14705796539783478, 0.048935625702142715, -0.41441163420677185, -0.6905328631401062, 1.041853666305542, -0.9412025213241577, 0.15631161630153656, 0.13822445273399353, 0.2959333658218384, -0.10254258662462234, -0.5079601407051086, -0.2160596251487732, -0.024582017213106155, 0.14446796476840973, 0.2706109583377838, -0.28995659947395325, 0.0095824571326375, -0.09633851796388626, 0.37290307879447937, -0.23737522959709167, 0.03757602721452713, -0.5387477278709412, 0.19790275394916534, 0.7885733842849731, -0.13164374232292175, 0.027551570907235146, -0.4286755919456482, -0.35726189613342285, -0.07739473134279251, -0.16223396360874176, 0.09638671576976776, 0.3859899938106537, 0.8244245052337646, 0.17780368030071259, 0.2656920254230499, 0.03837187960743904, 0.4666798710823059, -0.11687012761831284, 0.14650575816631317, 0.4136539399623871, 0.23160485923290253, -0.3486139476299286, 0.3211442828178406, 0.5660905838012695, 0.42703092098236084, 0.4905157685279846, -0.10417065024375916, -0.013655837625265121, -0.32973146438598633, 0.5069090723991394, -0.4829040467739105, -0.24586819112300873, 0.3809606432914734, -0.7959758639335632, -0.6109428405761719, 0.40854567289352417, -1.2621979713439941, -0.387357234954834, -0.42220497131347656, 0.03918299451470375, -0.3563697636127472, -0.05432254076004028, 0.18388469517230988, -0.47079455852508545, 0.5160605907440186, 0.3362196087837219, -0.8607988953590393, 0.31879326701164246, 1.121781826019287, 0.6603907346725464, -0.043410543352365494, 0.002343880943953991, -0.37558501958847046, 0.04842493683099747, -0.32053300738334656, 0.8146220445632935, -0.6127637028694153, -0.49364957213401794, 0.22551974654197693, -0.38578465580940247, 0.28413209319114685, -0.2582411766052246, 0.37469977140426636, -0.4933580160140991, 0.45303088426589966, -0.4334171712398529, -0.4934689402580261, -0.5745054483413696, 0.15286271274089813, -0.5528945922851562, 0.9109886884689331, -0.3578595817089081, -1.029709815979004, 0.7671698927879333, -1.1120188236236572, -0.5142971873283386, 0.07439567148685455, -0.05535750463604927, -0.1743210405111313, 0.14423999190330505, 0.5363449454307556, 0.7489217519760132, -0.18985718488693237, 0.17121632397174835, -0.7334913611412048, -0.01815713383257389, 0.7720180749893188, -0.4315454959869385, 0.3222019076347351, 0.20440931618213654, -0.4273347854614258, -0.13573473691940308, -0.5080365538597107, -0.1344628930091858, -0.03266971558332443, 0.3096316456794739, -0.431233286857605, 0.6041128039360046, 0.24745261669158936, 0.13938607275485992, 0.44883543252944946, -0.43388721346855164, 0.3162871301174164, -0.8411386013031006, 0.39398902654647827, 1.2037055492401123, 0.07672309130430222, 0.43370354175567627, 0.1612144112586975, 0.5124644637107849, -0.09395986050367355, 0.4696907103061676, 0.24026599526405334, -0.632646381855011, -0.3811658024787903, -0.09649928659200668, 0.31858763098716736, 0.7155985236167908, 0.03153855353593826, 0.3724985420703888, 0.165218323469162, -0.44315576553344727, -0.5231813192367554, -0.13469359278678894, -0.35390546917915344, 0.30211448669433594, 0.29890406131744385, -0.2217293381690979, -0.7486199140548706, -0.948940098285675, -0.38366377353668213, 0.010990695096552372, -0.007172095589339733, 0.11523019522428513, 0.044935014098882675, -0.26940247416496277, 1.0207945108413696, -0.868843138217926, -0.10923328250646591, -0.25278374552726746, 0.7539107799530029, 0.7139149308204651, 0.06480352580547333, 0.560656726360321, -0.6657325625419617, -0.42598190903663635, 0.23750382661819458, -0.5421625375747681, 0.21391935646533966, -0.19073699414730072, 0.11377370357513428, 0.30387192964553833, 0.4868791401386261, -0.3226848244667053, 0.410948783159256, 0.39748743176460266, -0.27250203490257263, 0.1911146491765976, -0.04324663430452347, -0.3632192313671112, -1.0865060091018677, -0.07293128222227097, 0.39346131682395935, 0.08696626126766205, -0.4394863247871399, -0.33041656017303467, -0.7460343241691589, -0.13973262906074524, 0.011677371338009834, 0.3290911316871643, -0.010093867778778076, -0.49507832527160645, -0.5138553977012634, 0.006420999299734831, -0.24858297407627106, 0.26986029744148254, 0.15387924015522003, 0.7607422471046448, 0.7812951803207397, -0.18248987197875977, 0.29172483086586, 0.04692131280899048, -0.2655612826347351, -0.031108487397432327, -0.682919979095459, -0.1921743005514145, -0.11543738842010498, -0.04019772261381149, -1.3150396347045898, -0.012499374337494373, 0.27249154448509216, -0.7341222167015076, 0.10558439791202545, 0.3889898657798767, -0.41111183166503906, -0.21595560014247894, -0.6629139184951782, -0.3661839962005615, 0.33461061120033264, -0.24758291244506836, 0.5797131657600403, 0.2797389626502991, -0.8402981162071228, -1.0411783456802368, -0.8338225483894348, 0.13288620114326477, -0.00612859008833766, -0.41535237431526184, 0.15713079273700714, 0.07808049023151398, -0.6361086964607239, -0.14719630777835846, 0.07508508861064911, -0.1096918061375618, 0.1781834065914154, 0.31350424885749817, 0.7633975744247437, 0.02855110913515091, 0.3226243257522583, 0.06801702082157135, -0.2764546275138855, 0.35686588287353516, -0.2740270793437958, 0.48710906505584717, -0.3599399924278259, 0.19046533107757568, -0.28560376167297363, 0.4119971990585327, 0.5230250954627991, 0.051201727241277695, 0.6100363731384277, 0.35962021350860596, -0.0925392135977745, -0.3006919324398041, -0.324846088886261, -0.19176509976387024, -0.547274112701416, 0.23381611704826355, 0.212579607963562, -0.7391433119773865, 0.5127597451210022, 0.09675315022468567, 0.28628769516944885, 0.7097390294075012, 0.5786756873130798, -0.5163758993148804, 1.1181648969650269, 0.7080274820327759, -0.39509305357933044, 0.5678697228431702, -0.0735199972987175, 0.7804000973701477, -0.19983868300914764, -0.12232332676649094, -0.22093388438224792, -0.7283327579498291, -0.830100953578949, -0.27705758810043335, 0.11292325705289841, -0.36336374282836914, 0.09245111048221588, 0.012994380667805672, -0.6882736682891846, 0.05074077099561691, 0.7466134428977966, -0.17147919535636902, -0.04453336074948311, 0.05474778264760971, -0.11534170806407928, -0.4007909595966339, -0.3261227607727051, -0.4449458420276642, 1.2697628736495972, 0.6615964770317078, 0.49831658601760864, -0.44932758808135986, 0.4573374092578888, 0.8034271001815796, 0.2332262098789215, -0.8948878049850464, 0.4981442391872406, -0.538098931312561, -0.5135912299156189, -0.21552520990371704, -0.10378476232290268, -0.42014074325561523, 0.0037481095641851425, -0.2944747507572174, -0.40013450384140015, 0.476788192987442, -0.23522356152534485, -0.7058150768280029, 0.0867592990398407, -0.41220834851264954, 0.6110333204269409, -0.3593934178352356, 0.026228919625282288, -0.38784530758857727, -0.5404701828956604, -0.005432839039713144, 0.026148710399866104, 0.32177120447158813, -0.3403668999671936, -0.057937171310186386, 0.7971697449684143, -0.33392322063446045, 1.0552875995635986, -0.25650012493133545, -0.28011012077331543, -0.051569320261478424, -0.3729502856731415, 0.22546085715293884, 0.30915307998657227, -0.2930012047290802, 0.13301871716976166, -0.16292113065719604, -0.41182398796081543, -0.4378131330013275, 0.5077677369117737, -0.8719425201416016, -0.06897038966417313, -0.7988759875297546, -0.47584930062294006, -0.41867440938949585, -0.3727128803730011, 0.14884015917778015, -0.10617288947105408, -0.24471020698547363, 0.00888040754944086, 0.4026089906692505, -0.06966692209243774, 0.8248836994171143, 0.02098488062620163, -0.24062824249267578, -0.7099083662033081, 0.8117284178733826, 0.1695186197757721, -0.2650090157985687, 0.47006410360336304, 0.1681375950574875, -0.2209756076335907, -0.38941124081611633, 0.33455029129981995, -0.06196489930152893, -0.6073530316352844, -0.035178959369659424, -0.44215136766433716, -0.06384241580963135, -0.5931013226509094, -0.6106780171394348, -0.5425109267234802, -0.45967811346054077, -0.5077707767486572, -0.5577970743179321, 0.5600298643112183, 0.6560757756233215, -0.2754572629928589, 0.1453188806772232, -0.8518304824829102, 0.16817894577980042, 0.7205431461334229, 0.27472180128097534, 0.14378711581230164, -0.09977906942367554, -0.2119835615158081, -0.033830076456069946, -0.23043189942836761, -0.6747846603393555, 0.9050062298774719, 0.02489708736538887, 0.2902768552303314, 0.7845887541770935, 0.012236355803906918, 0.39120081067085266, 0.06966285407543182, 0.833206832408905, 0.13898096978664398, -0.9912553429603577, 0.8762111067771912, -0.373079389333725, -0.05708771571516991, 0.43764883279800415, 0.37388166785240173, -0.5519700646400452, -0.5174897909164429, -0.5779432058334351, -1.143930435180664, 0.4524376392364502, -0.050945181399583817, 0.1691632866859436, -0.04144590348005295, 0.4200350046157837, 0.400160551071167, 0.6317070722579956, -0.7667121887207031, -0.05413811281323433, -0.3763572573661804, -0.1423962265253067, 0.02835184335708618, -0.5018652081489563, 0.0814780592918396, -0.5085362195968628, 0.5507181882858276, -0.13132688403129578, 0.3488297164440155, 0.031572211533784866, 0.529583752155304, -0.11923450231552124, 0.10856243222951889, 0.33746445178985596, 0.5637679100036621, -0.7527310848236084, -0.45318731665611267, 0.06655977666378021, -0.07360566407442093, -0.630643904209137, 0.4216291606426239, 0.026181019842624664, 0.24075132608413696, 0.360391229391098, 0.5773196816444397, 0.4155668020248413, -0.9744300246238708, 0.5212040543556213, -0.04278792440891266, -0.2373303472995758, -0.7793009281158447, -0.23707711696624756, -0.24909943342208862, 0.5082984566688538, 0.8740290403366089, 0.19431038200855255, 0.505081832408905, -0.7745492458343506, 0.31520819664001465, 0.44033122062683105, -0.6574282646179199, -0.4464462697505951, 0.5260804891586304, 0.2231859564781189, 0.4783238470554352, 0.630399763584137, 0.2622220814228058, -0.5958870053291321, 0.52299565076828, -0.1516599804162979, 1.5108107328414917, -0.05025702714920044, 0.3810971677303314, -0.011370868422091007, 0.16564929485321045, 0.11552444100379944, 0.715897262096405, 0.0650099664926529, -0.764614462852478, -0.9261173009872437, -0.6998094916343689, -0.8334450125694275, -0.222109854221344, -0.8036007285118103, 0.2275688499212265, -0.8007394671440125, -0.37728267908096313, 0.5995461344718933, 0.114073745906353, -0.08222686499357224, 0.5005635023117065, 0.588038444519043, 0.6944084167480469, -0.6520867347717285, 0.5590260028839111, 0.6837592124938965, -0.30033496022224426, -0.11946645379066467, 0.2859179973602295, -0.1962457001209259, -0.7138277292251587, 0.9665549993515015, 0.23302997648715973, 0.03820693492889404, -0.7024321556091309, -0.7934569716453552, -0.49567997455596924, 0.48990947008132935, -0.051711320877075195, -0.43781474232673645, -0.0759674683213234, 0.10299167037010193, 0.6822327971458435, -0.46937090158462524, -0.13758066296577454, 0.4400458335876465, 0.5961968898773193, 0.3143538236618042, -0.404096394777298, -0.5468339920043945, -0.40946200489997864, -0.14514866471290588, 0.32056668400764465, -0.43459993600845337, 0.9387527704238892, 0.017140889540314674, 0.243009552359581, -0.16164357960224152, 1.000584602355957, -0.15385578572750092, 0.4491739571094513, 0.22210478782653809, 0.3610117435455322, 0.6334620714187622, -0.05209241434931755, 0.8972114324569702, -0.6064667701721191, 0.5014268159866333, 0.729311466217041, -0.37637415528297424, 1.3602848052978516, 0.5566344261169434, -0.30830851197242737, 0.6584956645965576, 0.5962249040603638, -0.3659001886844635, 0.5878632068634033, 0.15640583634376526, -0.19582432508468628, -0.28347206115722656, 0.05931361764669418, -0.31405124068260193, 0.7333876490592957, 0.42082834243774414, -0.5009174942970276, 0.015237661078572273, 0.02748628705739975, 0.009902031160891056, 0.01160475704818964, -0.3239179849624634, 0.7118499875068665, 0.048656314611434937, -0.09007888287305832, -0.3213527202606201, -0.0058608888648450375, 0.9968345761299133, -0.6318299770355225, 0.21316714584827423, -0.06834249943494797, 0.24385176599025726, 0.13223017752170563, -0.8067577481269836, 0.7528289556503296, -0.11437395960092545, -0.20861250162124634, -0.6046900749206543, 0.7801226377487183, 0.07940241694450378, -0.6643583178520203, 0.47864121198654175, 0.2181854099035263, -0.38384389877319336, -0.3754670023918152, -0.7343772649765015, -0.40868812799453735, 0.231327086687088, -0.5477141737937927, 0.3061971962451935, 0.5400111675262451, 0.7355175018310547, 0.7211301326751709, 0.8793633580207825, -0.10363911837339401, -0.21082250773906708, -0.1926622986793518, 0.8858691453933716, -1.1522051095962524, -0.6688123941421509, -0.7983828783035278, 0.35432565212249756, -0.36745208501815796, -0.35454678535461426, 0.6145697832107544, 0.4255520701408386, 0.2647015154361725, -0.27477994561195374, 1.0612080097198486, 0.3465474545955658, 0.9032284021377563, -0.30802467465400696, 0.7056102156639099, -0.33473795652389526, 0.24860049784183502, -0.46053850650787354, -0.6968845129013062, -0.42879295349121094, 0.6455479264259338, -0.742915153503418, -0.19462037086486816, 0.2594943344593048, 0.21870212256908417, 0.34963566064834595, 0.5654911994934082, -0.010857904329895973, 0.23228169977664948, -0.06771835684776306, -0.08973973989486694, 0.7625717520713806, -0.2612476050853729, 0.29624778032302856, -0.6954956650733948, 0.09120713919401169, -0.6397902369499207, -0.9839544296264648, -0.712008535861969, -0.23181554675102234, -0.47513076663017273, -0.02647247537970543, -0.04493673890829086, 0.9842473864555359, 0.19897571206092834, -0.9916107654571533, -0.4684762954711914, 0.02711135894060135, -0.11529703438282013, -0.3542267978191376, -0.42649853229522705, 0.41480308771133423, -0.7384304404258728, -0.7122210264205933, 0.2735607326030731, 0.8092063069343567, 0.04443200305104256, -0.5270859599113464, 0.2627672553062439, 0.05648035556077957, 0.5917667746543884, 0.8454549312591553, 0.20343080163002014, -0.47467276453971863, 0.04634309932589531, 0.09744756668806076, 0.12441647797822952, -0.11800413578748703, 0.7016867995262146, -0.5012599229812622, 0.2843427360057831, 0.59561687707901, 0.40262141823768616, 0.11931530386209488, -0.011564372107386589, 1.0469344854354858, -0.7546476721763611, 0.41145411133766174, 0.6057277321815491, 0.29870840907096863, -0.11876803636550903, -0.44282829761505127, 0.3060351610183716, 0.1061689704656601, -0.32384809851646423, -0.5632345080375671, -0.32564857602119446, -1.2100249528884888, -0.7847774028778076, 0.7175318598747253, 0.3071329891681671, -0.20274388790130615, 0.29216790199279785, -0.2127692699432373, -0.25150153040885925, -0.8463592529296875, 0.9760469198226929, 0.7636697292327881, -0.151981920003891, -0.18169543147087097, -0.7557432651519775, 0.44620341062545776, 0.5157495141029358, -0.5514583587646484, 0.31708261370658875, 0.14858411252498627, -0.46867722272872925, 0.006026636343449354, 0.1780751496553421, 0.11121521890163422, 0.2688179612159729, -0.1609625220298767, 0.2548708915710449, 0.4151025414466858, -0.15322557091712952, -0.2226029932498932, 0.6773794293403625, 0.05778959393501282, -0.40954387187957764 ]
http://arxiv.org/abs/2404.02043v1
http://arxiv.org/pdf/2404.02043v1
Ukrainian Texts Classification: Exploration of Cross-lingual Knowledge Transfer Approaches
2024-04-02T15:37:09
2024-04-02T15:37:09
Daryna Dementieva, Valeriia Khylenko, Georg Groh
cs.CL
cs.CL, cs.AI
Despite the extensive amount of labeled datasets in the NLP text classification field, the persistent imbalance in data availability across various languages remains evident. Ukrainian, in particular, stands as a language that still can benefit from the continued refinement of cross-lingual methodologies. Due to our knowledge, there is a tremendous lack of Ukrainian corpora for typical text classification tasks. In this work, we leverage the state-of-the-art advances in NLP, exploring cross-lingual knowledge transfer methods avoiding manual data curation: large multilingual encoders and translation systems, LLMs, and language adapters. We test the approaches on three text classification tasks -- toxicity classification, formality classification, and natural language inference -- providing the "recipe" for the optimal setups.
[ 0.060965750366449356, -0.325809508562088, 0.39808234572410583, 0.2246163934469223, -0.12154518812894821, 0.4130461812019348, 0.05969249829649925, -0.773704469203949, 0.031057240441441536, 0.5446901321411133, -0.32188406586647034, -0.7930281758308411, -0.5125036835670471, 0.27415162324905396, -0.24764257669448853, 0.9632250666618347, -0.22319883108139038, 0.45717117190361023, -0.07039234787225723, -0.2258128672838211, -0.45463985204696655, -0.771767258644104, -0.4083402454853058, -0.3477979004383087, 0.33648449182510376, 0.7122650146484375, 0.19108350574970245, 0.24779415130615234, 0.40920621156692505, 0.31153786182403564, 0.09363727271556854, -0.035471998155117035, -0.03823864459991455, 0.14138303697109222, -0.5332047939300537, -0.8829165697097778, 0.11281638592481613, -0.15762832760810852, 0.420790433883667, 0.682316243648529, -0.06963101774454117, 0.06347180902957916, -0.15931418538093567, 0.639748215675354, -0.6722732186317444, -0.07214609533548355, -0.6140481233596802, 0.621850311756134, -0.24937447905540466, -0.2545439898967743, -0.6232433319091797, -0.3387916386127472, 0.17280042171478271, -0.7002406120300293, -0.045033227652311325, 0.17275716364383698, 0.5023159980773926, -0.11321655660867691, -0.6107375621795654, -0.6820623874664307, -0.6900051832199097, 0.9130445122718811, -0.4647519886493683, 0.44504889845848083, 0.3777354657649994, 0.19250255823135376, 0.12152092158794403, -0.7514982223510742, -0.07065623998641968, 0.08219818770885468, -0.046080026775598526, 0.4029267728328705, -0.312347948551178, -0.23534433543682098, -0.0699913427233696, 0.15227444469928741, -0.390424519777298, 0.4528268277645111, -0.55220627784729, -0.6143196821212769, 0.38831597566604614, 0.10960129648447037, 0.5673298835754395, -0.264451265335083, -0.5453115701675415, 0.20201918482780457, -0.5338047742843628, 0.002973073162138462, 0.4155183434486389, 0.0901472419500351, 0.05847391486167908, 0.6932021975517273, -0.2746596336364746, 0.4926885962486267, 0.025198088958859444, -0.10184250771999359, 0.25073307752609253, -0.8889763951301575, -0.2593350410461426, 0.32038256525993347, 0.7027921676635742, 0.47653791308403015, -0.03235231339931488, -0.3964008390903473, 0.25885728001594543, 0.07174142450094223, 0.3017754554748535, -0.6146877408027649, 0.021539103239774704, -0.008249343372881413, -0.4539547264575958, -0.4602707326412201, -0.22951480746269226, -1.1673860549926758, -0.2732103765010834, -0.11807476729154587, 0.27889952063560486, -0.24165666103363037, -0.018873900175094604, 0.3900691270828247, -0.08608246594667435, 0.06428497284650803, 0.2583877742290497, -1.1214007139205933, 0.4125770926475525, 0.39702677726745605, 0.9378989934921265, -0.2829892337322235, -0.06252574175596237, -0.5287882685661316, 0.0656295195221901, -0.4209865927696228, 0.8257378339767456, -0.33689025044441223, -0.24040722846984863, 0.2949680685997009, 0.1929778903722763, 0.03065178357064724, -0.619966447353363, 0.7653610110282898, -0.34157735109329224, 0.4930422902107239, -0.3480222225189209, -0.4059116840362549, -0.23514829576015472, 0.269159197807312, -0.3977964222431183, 1.1574182510375977, 0.16424356400966644, -1.090707778930664, 0.4619641900062561, -0.3896885812282562, -0.4718369245529175, 0.04150424152612686, 0.2907436490058899, -0.037357646971940994, -0.08958938717842102, -0.21100546419620514, 0.6718364953994751, -0.2718014717102051, 0.18829523026943207, -0.2211940735578537, 0.009841961786150932, 0.22851869463920593, -0.01863461546599865, 0.8546627759933472, 0.2640068531036377, -0.29942774772644043, 0.0785183236002922, -0.7542436122894287, -0.12570951879024506, -0.41891542077064514, -0.5639543533325195, -0.748945951461792, -0.2160923182964325, 0.3827027976512909, 0.6037076115608215, 0.15265263617038727, -0.718803346157074, 0.1929876059293747, -0.3968254029750824, 0.2851974368095398, 0.31928789615631104, -0.1743346005678177, 1.0147022008895874, -0.4939485192298889, 0.7296827435493469, 0.15564163029193878, 0.160890594124794, 0.23913590610027313, -0.5170665979385376, -0.7010617852210999, 0.20161181688308716, 0.3946168124675751, 1.0931435823440552, -1.1031972169876099, 0.4773293435573578, -0.18778790533542633, -0.8446606397628784, -0.5148460268974304, 0.15143758058547974, 0.33415454626083374, 0.5494741201400757, 0.45887672901153564, -0.11799275130033493, -0.7027551531791687, -0.968777060508728, -0.06745130568742752, -0.29557907581329346, 0.13623981177806854, 0.1311209499835968, 0.45209801197052, -0.19224098324775696, 0.34169721603393555, -0.10433915257453918, -0.32945510745048523, -0.33787021040916443, 0.21261312067508698, -0.2389950156211853, 0.39455902576446533, 0.7313184142112732, -0.5546234846115112, -0.7349281907081604, 0.5552315711975098, -0.6576546430587769, -0.5479731559753418, -0.020053593441843987, -0.35428687930107117, 0.5479980707168579, 0.8140403628349304, -0.3127058446407318, 0.1160430833697319, 0.735115647315979, -0.3714165687561035, 0.6867879033088684, 0.05769367888569832, 0.07422134280204773, -1.253122329711914, 0.18739202618598938, -0.012950649484992027, -0.2451259195804596, -0.8637898564338684, -0.37228330969810486, 0.07193252444267273, 0.32378360629081726, -0.4033361077308655, 0.7510972023010254, -0.33595263957977295, -0.09342486411333084, 0.021393513306975365, 0.07900124043226242, -0.06143123656511307, 0.06828690320253372, 0.29603514075279236, 0.403729110956192, 0.6760278344154358, -0.40625935792922974, 0.39362746477127075, 0.2415374517440796, -0.3391674757003784, 0.8290865421295166, 0.055448997765779495, -0.28884878754615784, 0.16733308136463165, 0.10713477432727814, -0.786206841468811, 0.09138079732656479, 0.6701719760894775, -0.34339243173599243, 0.27951905131340027, -0.47687041759490967, -0.605104923248291, 0.02159254439175129, -0.17995983362197876, 0.2019871175289154, 0.3515552282333374, -0.3763987720012665, 0.5809807777404785, 0.3673044443130493, -0.5019246339797974, -0.8815011978149414, -0.91544508934021, 0.18260006606578827, -0.5501968860626221, -0.2897436022758484, 0.38327983021736145, -0.15994073450565338, -0.3627482056617737, -0.00719556026160717, -0.056892987340688705, -0.3957095742225647, 0.03402822092175484, -0.08640789240598679, 0.1694338470697403, -0.11228571832180023, 0.43762627243995667, 0.24754537642002106, 0.0935162678360939, 0.2523498833179474, -0.28376707434654236, 0.2983531951904297, 0.03365076333284378, -0.02053990587592125, -0.25206810235977173, 0.3891165554523468, 0.7207756042480469, -0.01144576445221901, 0.6023753881454468, 0.7510498762130737, -0.3294684588909149, -0.2163858413696289, -0.3838197886943817, 0.1810804307460785, -0.40118107199668884, 0.25077587366104126, -0.2308933436870575, -0.5682773590087891, 0.7726282477378845, -0.19304978847503662, 0.0409725047647953, 0.43157094717025757, 0.38570404052734375, 0.15875424444675446, 0.6378816962242126, 0.5614462494850159, -0.2545011341571808, 0.37519562244415283, 0.0023384783416986465, -0.17770439386367798, -0.5548158288002014, -0.466367244720459, -0.8967859148979187, -0.11109154671430588, -0.5811551213264465, -0.36547473073005676, -0.14226922392845154, -0.13177169859409332, 0.11480758339166641, 0.17854616045951843, -0.277635395526886, 0.3124402165412903, 0.40966707468032837, -0.00012094709381926805, 0.6092652082443237, 0.04672832041978836, -0.4638776481151581, -0.268398255109787, -0.9678077697753906, -0.44410377740859985, 0.9928879737854004, 0.20039263367652893, 0.6380258202552795, 0.05380900204181671, 0.575566828250885, -0.023551763966679573, 0.5984450578689575, -0.97479647397995, 0.3343561291694641, -0.2757319509983063, -0.6528732776641846, -0.09553927183151245, -0.47147902846336365, -0.9375216364860535, 0.18503858149051666, -0.45497193932533264, -0.6591386795043945, 0.11281449347734451, -0.2910822629928589, 0.14020971953868866, 0.4706275463104248, -0.7217237949371338, 0.815830647945404, -0.42029398679733276, -0.23543477058410645, 0.031933970749378204, -0.5662422180175781, 0.44593268632888794, -0.4905572533607483, 0.6330863237380981, 0.17395806312561035, -0.3768354654312134, 0.8712111711502075, -0.1512538194656372, 0.7836131453514099, -0.06863594800233841, -0.22497549653053284, -0.05242979899048805, 0.0792006105184555, 0.11550886183977127, -0.012106373906135559, 0.03515372425317764, 0.036245644092559814, 0.19482482969760895, -0.3092275857925415, -0.39119651913642883, 0.5365866422653198, -0.5079115033149719, 0.02292952500283718, -0.46708133816719055, -0.3939593434333801, -0.25154799222946167, 0.359183669090271, 0.7121266722679138, 0.16437964141368866, -0.19200144708156586, 0.29789039492607117, 0.5491371750831604, -0.4990614056587219, 0.13588519394397736, 0.70742267370224, -0.6066395044326782, -0.31273138523101807, 0.6117221117019653, 0.3007625341415405, 0.4216417968273163, 0.62086021900177, 0.15900816023349762, -0.30306774377822876, -0.8510844707489014, -0.4687047302722931, 0.01284842099994421, -0.9853538274765015, -0.3285094201564789, -0.6215305924415588, -0.1837022751569748, -0.21951068937778473, -0.375741183757782, -0.34033095836639404, -0.2984228730201721, -0.4917747974395752, -0.2268965244293213, 0.2615295946598053, 0.7599678635597229, -0.19926810264587402, 0.1699933111667633, -0.9741201400756836, 0.11623501032590866, 0.07849431037902832, 0.39934226870536804, -0.26704418659210205, -0.4542173743247986, -0.38184595108032227, -0.17458787560462952, -0.13532499969005585, -1.1665923595428467, 0.5210320949554443, -0.020267317071557045, 0.7040238976478577, 0.02216155454516411, 0.13959285616874695, 0.10830184817314148, -0.3239130973815918, 0.42721498012542725, 0.3076695203781128, -0.8942230939865112, 0.3141702711582184, -0.31303030252456665, 0.28318020701408386, 0.6032446622848511, 0.7311512231826782, -0.893288254737854, -0.37920087575912476, -0.5245514512062073, -0.6693968176841736, 0.5861501097679138, 0.13070105016231537, -0.04559839516878128, 0.3356838822364807, 0.14798599481582642, 0.3222339451313019, -0.11712507903575897, -0.7630013227462769, -0.12424881011247635, -0.10917118191719055, -0.48481035232543945, 0.02587769366800785, 0.06964809447526932, 0.061073288321495056, -0.24349474906921387, 0.6392261385917664, -0.14564728736877441, -0.03369789943099022, 0.34909361600875854, -0.45415082573890686, -0.17010900378227234, 0.521457314491272, 0.5470996499061584, 0.4362674355506897, -0.014973164536058903, 0.22342802584171295, 0.4942181408405304, -0.7429397702217102, 0.4090307950973511, 0.0607612282037735, -0.373991996049881, 0.21222271025180817, 0.216438427567482, 0.42538705468177795, 0.608636736869812, -0.6605954766273499, 0.2096603810787201, -0.23065988719463348, -0.5582863092422485, -0.07711315900087357, -0.17208725214004517, 0.27854272723197937, 0.18807435035705566, 0.333047091960907, 0.0781526044011116, 0.34423908591270447, -0.6525693535804749, 0.09975913166999817, 0.21995851397514343, -0.4047536253929138, -0.3467904329299927, 0.09928552806377411, 0.22762876749038696, -0.06330349296331406, 0.23806129395961761, -0.047939665615558624, -0.7532644271850586, 0.45461714267730713, 0.5116119980812073, 0.649229884147644, -0.3032619059085846, 0.5732868313789368, 0.45569342374801636, 0.3881355822086334, -0.1719987839460373, 0.26404038071632385, 0.21951419115066528, -0.8792201280593872, -0.46921220421791077, -0.6502687931060791, -0.5696513056755066, 0.3095288574695587, -0.6833223700523376, 0.2499636560678482, -0.37896475195884705, -0.028505025431513786, 0.226532444357872, 0.2013690173625946, -0.45502349734306335, -0.05369463935494423, -0.06554508954286575, 0.9861212968826294, -1.1824790239334106, 0.6890342235565186, 0.8409781455993652, 0.003685120027512312, -0.15673890709877014, -0.3821509778499603, -0.040916621685028076, -0.39250344038009644, 0.803601861000061, 0.16985906660556793, -0.019726654514670372, 0.05234752595424652, -0.24688860774040222, -0.7408856749534607, 0.7318665981292725, 0.1225128099322319, -0.46554163098335266, 0.030028613284230232, 0.04086427763104439, 0.729921817779541, -0.22142860293388367, -0.2304142862558365, 0.3273293673992157, 0.7324995398521423, -0.17557141184806824, -1.1192141771316528, -0.005826791748404503, -0.44038915634155273, -0.5198817849159241, 0.15420857071876526, -0.21116624772548676, 0.2908307909965515, 0.10636253654956818, -0.1753247082233429, 0.10462956875562668, 0.24541719257831573, -0.08243245631456375, 0.520918607711792, 0.2929069399833679, 0.4941810667514801, 0.6910301446914673, 0.03861266374588013, 0.587774395942688, 0.13575483858585358, 0.01579192653298378, 0.8512177467346191, -0.2647958993911743, 0.8121148943901062, 0.3098202347755432, -0.1952008306980133, 0.5996052622795105, 0.7314255833625793, -0.11338205635547638, 0.4646751880645752, 0.21581223607063293, -0.23700708150863647, -0.005745658650994301, -0.2986666262149811, -0.16034550964832306, 0.610666036605835, 0.5003408193588257, -0.31129565834999084, -0.288947731256485, 0.3260422945022583, 0.08806012570858002, 0.031689468771219254, -0.4387684166431427, 0.8868438601493835, -0.06698650121688843, -0.7447529435157776, 0.17492996156215668, 0.1022089421749115, 0.9306068420410156, -0.49751725792884827, 0.16128955781459808, -0.12805673480033875, 0.13908053934574127, -0.23606431484222412, -0.8271725177764893, 0.5854995846748352, -0.03068186528980732, -0.11853886395692825, -0.39457058906555176, 1.1906583309173584, -0.6149361729621887, -0.5133805871009827, 0.6136773824691772, 0.567826509475708, 0.1758449822664261, 0.213704451918602, -0.6786519289016724, -0.3411675691604614, -0.12108825147151947, 0.08717669546604156, 0.4660610556602478, 0.6815732717514038, -0.13129305839538574, 0.6690138578414917, 0.6799590587615967, 0.4095848500728607, 0.36284881830215454, -0.20157457888126373, 0.5195558667182922, -0.6139698624610901, -0.4256957471370697, -0.6473776698112488, 0.29712820053100586, 0.052908532321453094, -0.31857770681381226, 0.871242344379425, 0.7172693014144897, 0.9564229249954224, -0.16370511054992676, 0.9684444069862366, 0.2071031779050827, 0.4206206798553467, -0.9063295125961304, 0.66093510389328, -0.411896288394928, -0.13902580738067627, -0.19934172928333282, -0.5537664890289307, -0.4382440447807312, 0.4440045952796936, -0.034197770059108734, -0.17834827303886414, 0.9016790390014648, 0.28128963708877563, 0.005930136423557997, -0.13572955131530762, 0.16348721086978912, 0.13864096999168396, -0.08415771275758743, 0.5653448700904846, 0.9425368309020996, -0.3708972930908203, 0.711199164390564, -0.45570340752601624, -0.030942996963858604, -0.31852996349334717, -0.7595469355583191, -0.8362671732902527, -0.8177636861801147, -0.1426263451576233, -0.3187789022922516, -0.054738134145736694, 0.5010721683502197, 0.6063537001609802, -0.6511460542678833, -0.1559746414422989, -0.17370478808879852, 0.2102043628692627, 0.007411826401948929, -0.2348097711801529, 0.006169105414301157, -0.3951287567615509, -0.621396541595459, 0.17033573985099792, 0.16879069805145264, 0.4373547434806824, -0.27796512842178345, 0.04107527807354927, -0.4189473092556, -0.15408708155155182, 0.6629169583320618, 0.2361823171377182, -0.5021591186523438, -0.02859729714691639, 0.452725350856781, -0.2015657275915146, 0.05463176965713501, 0.7559097409248352, -0.5722341537475586, 0.45538002252578735, 0.7653260231018066, 0.6408533453941345, 0.48096367716789246, -0.25340861082077026, 0.5694168210029602, -0.6732397079467773, -0.08998198062181473, 0.3086092174053192, 0.3470287322998047, 0.5277078151702881, -0.2838514447212219, 0.45159175992012024, 0.2667320966720581, -0.49728426337242126, -0.7651337385177612, 0.11206154525279999, -0.9742740392684937, -0.5941169261932373, 1.172192096710205, -0.11030061542987823, -0.018379786983132362, -0.830528199672699, -0.38075798749923706, 0.32942187786102295, -0.043846964836120605, 0.7785450220108032, 1.209523320198059, 0.291440486907959, -0.21111157536506653, -0.9195626974105835, 0.6300029754638672, 0.32725170254707336, -1.497780203819275, 0.05737309902906418, 0.4702678620815277, 0.40989401936531067, 0.47335875034332275, 0.5663065314292908, -0.19821065664291382, 0.14447352290153503, -0.20848655700683594, 0.08790291845798492, 0.4734058380126953, -0.45937517285346985, -0.2906543016433716, -0.053093262016773224, -0.13953951001167297, 0.20967021584510803 ]
http://arxiv.org/abs/2404.02037v1
http://arxiv.org/pdf/2404.02037v1
MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languages
2024-04-02T15:32:32
2024-04-02T15:32:32
Daryna Dementieva, Nikolay Babakov, Alexander Panchenko
cs.CL
cs.CL, cs.AI
Text detoxification is a textual style transfer (TST) task where a text is paraphrased from a toxic surface form, e.g. featuring rude words, to the neutral register. Recently, text detoxification methods found their applications in various task such as detoxification of Large Language Models (LLMs) (Leong et al., 2023; He et al., 2024; Tang et al., 2023) and toxic speech combating in social networks (Deng et al., 2023; Mun et al., 2023; Agarwal et al., 2023). All these applications are extremely important to ensure safe communication in modern digital worlds. However, the previous approaches for parallel text detoxification corpora collection -- ParaDetox (Logacheva et al., 2022) and APPADIA (Atwell et al., 2022) -- were explored only in monolingual setup. In this work, we aim to extend ParaDetox pipeline to multiple languages presenting MultiParaDetox to automate parallel detoxification corpus collection for potentially any language. Then, we experiment with different text detoxification models -- from unsupervised baselines to LLMs and fine-tuned models on the presented parallel corpora -- showing the great benefit of parallel corpus presence to obtain state-of-the-art text detoxification models for any language.
[ -0.27466490864753723, -0.6935453414916992, 0.7142203450202942, 0.34156468510627747, -0.33661192655563354, 0.2645486295223236, -0.20754128694534302, -0.15973331034183502, 0.08468446135520935, 0.789654552936554, -0.30255407094955444, -1.0562607049942017, -0.6469202637672424, 0.3727371394634247, -0.6468184590339661, 1.2392140626907349, -0.055839139968156815, -0.26655998826026917, 0.11406978219747543, -0.39750146865844727, -0.16427581012248993, -0.6142148375511169, -0.8616666793823242, -0.0474705696105957, 0.6474751234054565, 0.45978665351867676, 0.6562891602516174, 0.42341771721839905, 0.22885796427726746, 0.3384834825992584, -0.009564664214849472, -0.12229199707508087, -0.43810322880744934, 0.34794196486473083, -0.44158849120140076, -0.17000144720077515, -0.009675173088908195, -0.26558858156204224, 0.6161133050918579, 0.5788822770118713, -0.13168758153915405, -0.2135736644268036, 0.16097618639469147, 0.6325313448905945, -0.780401349067688, -0.04081167280673981, -0.5115235447883606, -0.06918389350175858, -0.3356285095214844, -0.0818425640463829, -0.28734320402145386, -0.5940937399864197, -0.2306869924068451, -0.40986087918281555, -0.10557706654071808, -0.2613792419433594, 0.6503909230232239, 0.2623090147972107, -0.6633344292640686, -0.21704092621803284, -0.672730028629303, 0.9497545957565308, -0.6897992491722107, 0.5465186834335327, 0.043257784098386765, 0.20571906864643097, 0.19610553979873657, -0.867192804813385, -0.26998642086982727, 0.08120694011449814, 0.09806323051452637, 0.3431495726108551, 0.005606997292488813, -0.061283618211746216, -0.11539525538682938, 0.2789219319820404, -0.6278635263442993, 0.04603632539510727, -0.28246113657951355, -0.17982976138591766, 0.4167533814907074, 0.4004833698272705, 0.4882608950138092, -0.2202582061290741, -0.8699832558631897, -0.03945419564843178, -0.5405222177505493, -0.20242328941822052, 0.3569464087486267, 0.3297906517982483, -0.21749646961688995, 0.18957394361495972, -0.294351726770401, 0.05061168223619461, -0.39353498816490173, -0.01930053159594536, 0.5625321269035339, -0.8115308284759521, 0.014701193198561668, -0.05426438897848129, 1.0711520910263062, 0.17922505736351013, 0.14867538213729858, -0.1743994951248169, -0.07975634932518005, -0.09133736789226532, 0.4159160256385803, -1.0520689487457275, -0.27692025899887085, 0.4681118130683899, -0.6700534820556641, -0.4583924114704132, -0.3429219126701355, -1.3926628828048706, -0.49603623151779175, -0.3385866582393646, 0.318645715713501, -0.6669642925262451, -0.6475327610969543, 0.3895290195941925, -0.4419342279434204, -0.18536017835140228, 0.36750420928001404, -0.5127842426300049, 0.3650100529193878, 0.5518618226051331, 0.819800078868866, -0.50946444272995, -0.4883387088775635, -0.5221084356307983, 0.23777419328689575, 0.025872040539979935, 0.8712592124938965, -0.6551641225814819, -0.18050895631313324, 0.18682406842708588, -0.04577050730586052, -0.22605273127555847, -0.664775550365448, 0.9006195664405823, -0.1872958540916443, -0.039247702807188034, -0.17207761108875275, -0.15010403096675873, -0.16068968176841736, 0.228550523519516, -0.632810652256012, 0.8872542977333069, -0.2787353992462158, -0.9251095652580261, -0.0559857115149498, -0.242567241191864, -0.5010101795196533, -0.10694240033626556, -0.04478606954216957, -0.4886801540851593, 0.05877973884344101, 0.16624006628990173, 0.31176862120628357, -0.3995192348957062, 0.1475272923707962, -0.5654377937316895, -0.0783439427614212, -0.232948899269104, -0.6361565589904785, 1.0001230239868164, 0.4958125054836273, -0.28056660294532776, 0.34237733483314514, -0.7536686658859253, -0.21272188425064087, -0.16715535521507263, -0.2964629530906677, -0.8503720164299011, -0.12419921159744263, 0.7539348602294922, 0.47952309250831604, 0.16106994450092316, -0.6396315097808838, -0.3266478478908539, -0.11857005953788757, 0.24971282482147217, 0.5652677416801453, 0.33798083662986755, 0.09861307591199875, -0.271200567483902, 0.5183033347129822, 0.33863377571105957, 0.2716543972492218, -0.3088475167751312, -0.6220875382423401, -0.399946391582489, -0.43344900012016296, -0.14893107116222382, 0.8117446899414062, -0.9932692050933838, 0.10043206065893173, -0.24985581636428833, -0.4928574860095978, -0.06840862333774567, 0.09671838581562042, 0.46686097979545593, 0.3016698658466339, 0.47379282116889954, -0.2990787625312805, -0.3178773522377014, -0.9614143967628479, -0.30153724551200867, -0.048769161105155945, 0.09570107609033585, -0.16885876655578613, 0.32414117455482483, -0.24521882832050323, 0.5432441234588623, -0.33911600708961487, -0.07712046056985855, -0.2269597053527832, 0.348088800907135, -0.007126185577362776, 0.35577869415283203, 0.751852810382843, -0.7321470379829407, -0.5630598664283752, 0.04689699783921242, -0.867841362953186, -0.30570048093795776, -0.23232673108577728, -0.29453185200691223, -0.3770195543766022, 0.5565550327301025, -0.4419863820075989, 0.2593056559562683, 0.41671791672706604, -0.026145339012145996, 0.9901213645935059, -0.18486088514328003, 0.2938695549964905, -1.3468846082687378, -0.01107813324779272, 0.2127368301153183, -0.18513770401477814, -1.025706171989441, 0.15357694029808044, 0.2532970905303955, -0.3069645166397095, -0.8716531991958618, 0.8088107705116272, -0.25152143836021423, 0.5838934183120728, -0.4045557379722595, 0.06947271525859833, 0.08558504283428192, 0.415571928024292, 0.3960564434528351, 0.7959989905357361, 0.7129037976264954, -0.6109957695007324, 0.02952321246266365, 0.34834805130958557, 0.15766793489456177, 0.640373945236206, -0.3282851576805115, -0.18279649317264557, -0.18223360180854797, 0.11403432488441467, -1.047278642654419, 0.1938399076461792, 0.21006368100643158, 0.03958945721387863, 0.014774652197957039, -0.03467867150902748, -0.6996908783912659, -0.1790519654750824, -0.5277982950210571, 0.5481663942337036, 0.2518634498119354, -0.596320390701294, 0.19796408712863922, 0.513922393321991, -0.459018349647522, -0.5211521983146667, -0.3654078543186188, 0.368294358253479, -0.7731262445449829, -0.3011842370033264, 0.22306698560714722, -0.10719205439090729, -0.3730340600013733, -0.4138190448284149, -0.007124811876565218, -0.4011021554470062, 0.005918615031987429, -0.13487306237220764, -0.010947657749056816, 0.10530700534582138, 0.18034008145332336, 0.619235634803772, -0.23805928230285645, -0.009257182478904724, -0.05943082273006439, 0.5176114439964294, 0.018188167363405228, -0.13360048830509186, -0.49996283650398254, 0.8847487568855286, 0.7606329917907715, -0.36792588233947754, 0.8136401176452637, 0.9050014019012451, -0.3543708324432373, 0.006286631803959608, -0.4446772038936615, -0.09606968611478806, -0.46382516622543335, 0.3035088777542114, -0.5061754584312439, -0.6626144051551819, 0.6818228960037231, -0.3653402328491211, 0.024715539067983627, 0.34672799706459045, 0.7195364236831665, 0.40507131814956665, 0.8129029870033264, 0.5132113099098206, -0.022838357836008072, 0.32304003834724426, 0.2686934173107147, 0.04623553529381752, -0.5701495409011841, 0.16970194876194, -0.8519042730331421, 0.12930969893932343, -0.6477310657501221, -0.3286193609237671, 0.4413813650608063, 0.03697105497121811, -0.3718661665916443, 0.5925569534301758, -0.23453059792518616, 0.3399401605129242, 0.5453923344612122, 0.18325285613536835, 0.49100255966186523, 0.13212282955646515, -0.3685629665851593, 0.017155980691313744, -0.29144367575645447, -0.5680265426635742, 1.076766014099121, 0.31244027614593506, 0.6905476450920105, 0.06995831429958344, 1.2471455335617065, -0.012842523865401745, 0.307790070772171, -0.3861057460308075, 0.4771765470504761, -0.7529300451278687, -0.5240595936775208, -0.043106306344270706, -0.44010087847709656, -0.8280096650123596, 0.338715136051178, 0.2194080501794815, -0.8238130807876587, 0.4241202175617218, -0.3747466802597046, -0.29977282881736755, 0.5198761820793152, -0.7396113276481628, 1.0057168006896973, -0.02039489895105362, -0.5864134430885315, -0.2891704738140106, -0.5410209894180298, 0.5806218385696411, -0.48626020550727844, 0.5986507534980774, -0.2853727340698242, -0.27210479974746704, 0.6685558557510376, -0.396284282207489, 0.8577146530151367, -0.058495670557022095, -0.506437361240387, 0.16639110445976257, 0.04070853441953659, 0.48357197642326355, 0.2970620095729828, -0.41610389947891235, 0.5791163444519043, 0.21363940834999084, -0.3324461579322815, -0.20017366111278534, 0.7308170795440674, -0.4234357178211212, -0.39615073800086975, -0.12136568874120712, -0.5872220993041992, -0.27026301622390747, 0.4355495572090149, 0.12688542902469635, 0.4364687502384186, -0.08665581792593002, -0.04115145653486252, 0.5086528658866882, -0.8483323454856873, 0.46995192766189575, 0.1822783648967743, -0.2657376527786255, -0.5776176452636719, 1.0409108400344849, -0.3857748210430145, 0.30219200253486633, 0.5281735062599182, 0.3373834490776062, -0.5014281868934631, -0.7716655731201172, -0.4524606466293335, 0.2250317633152008, -0.6879070997238159, -0.07088158279657364, -0.9064971208572388, -0.171756774187088, -0.43532755970954895, 0.19195647537708282, -0.4448687434196472, -0.4487099051475525, -0.16460928320884705, 0.052342671900987625, 0.4168156385421753, 0.5074462890625, -0.2763144373893738, 0.22938352823257446, -1.2201085090637207, 0.4807354807853699, -0.040894992649555206, 0.15677055716514587, -0.26240772008895874, -0.21503272652626038, -0.10044577717781067, -0.14630761742591858, -0.3290761709213257, -1.2407233715057373, 0.6060868501663208, 0.03506355360150337, 0.6956990361213684, 0.5066066980361938, 0.3239767849445343, 0.492689847946167, -0.7795671820640564, 0.5584027767181396, 0.37231501936912537, -0.738670289516449, 0.463392436504364, -0.6956951022148132, 0.34991011023521423, 0.8623796105384827, 0.6277494430541992, -0.9438262581825256, -1.0481514930725098, -0.2721627950668335, -1.0588451623916626, 0.5317112803459167, 0.4759877324104309, 0.33243468403816223, -0.476589560508728, 0.12680606544017792, 0.6576709747314453, 0.3697163164615631, -0.45501193404197693, -0.40919941663742065, -0.1773315668106079, -0.47199854254722595, -0.07946521043777466, -0.2565291225910187, 0.03631825000047684, -0.04427717998623848, 0.5986039042472839, 0.23094215989112854, 0.17413479089736938, -0.19516561925411224, -0.05902402848005295, 0.37761440873146057, 0.5888645648956299, 0.3443030118942261, 0.31468871235847473, -0.12360171228647232, 0.5423024296760559, -0.020316526293754578, -0.7173216938972473, 0.3413470685482025, 0.30083945393562317, -0.15087920427322388, 0.048793498426675797, -0.03018815442919731, 0.5856969952583313, 0.21176956593990326, -0.7029378414154053, 0.25126296281814575, -0.06986244767904282, -0.10020443052053452, 0.029463890939950943, -0.2693628668785095, -0.01486304122954607, 0.12203240394592285, 0.19089221954345703, 0.12426568567752838, 0.46009811758995056, -0.3475203514099121, 0.6339385509490967, 0.19872424006462097, -0.37270697951316833, -0.18936719000339508, 1.0787686109542847, 0.30746638774871826, 0.05425361543893814, 0.38555726408958435, -0.2177591621875763, -0.40817996859550476, 0.46644482016563416, 0.39372989535331726, 1.2057380676269531, -0.424796998500824, 0.43613407015800476, 0.6358417272567749, 0.30753257870674133, 0.0587003193795681, 0.034516360610723495, -0.048276208341121674, -0.6807759404182434, -0.26981598138809204, -0.875454306602478, -0.0889703631401062, 0.3132251501083374, -0.4788496196269989, 0.0909995287656784, -0.2639927566051483, 0.11160887032747269, -0.0170780960470438, -0.35091862082481384, -0.40566486120224, -0.041069336235523224, 0.35110849142074585, 0.7802442908287048, -1.241640329360962, 0.927303671836853, 0.5995715856552124, -0.6439875364303589, -0.2638658285140991, 0.3811887204647064, 0.3570634722709656, -0.4472556710243225, 0.4462786316871643, 0.3883456289768219, -0.02733045257627964, 0.11309636384248734, 0.22609882056713104, -0.759339451789856, 0.46613579988479614, 0.33939090371131897, -0.4475539028644562, 0.15309178829193115, 0.4667898118495941, 0.5681195855140686, 0.2288532257080078, 0.48785829544067383, 0.482944518327713, 0.5062154531478882, -0.07036727666854858, -0.971500039100647, 0.3023396134376526, -0.4149709939956665, 0.16126322746276855, 0.21026626229286194, -0.6182733178138733, 0.8187428116798401, 0.23291590809822083, -0.18391089141368866, 0.2105761021375656, 0.2990969121456146, 0.3454771935939789, 0.2519613802433014, 0.4513915181159973, 0.8783479928970337, 0.5086991190910339, 0.23604528605937958, 0.9652841687202454, -0.24923734366893768, 0.24194367229938507, 1.0713618993759155, -0.4951709508895874, 0.7031926512718201, 0.33955714106559753, -0.13150537014007568, 0.5001152157783508, 0.6379856467247009, 0.5190051198005676, 0.6649845838546753, -0.13462595641613007, -0.7521201968193054, -0.26968640089035034, -0.06456519663333893, -0.3564639687538147, 0.07090353220701218, 0.41931822896003723, -0.3052613139152527, -0.9521558284759521, 0.5855823755264282, 0.12474310398101807, 0.2540149390697479, -0.16421790421009064, 0.6097533702850342, 0.0601719468832016, -0.409084290266037, 0.6291235089302063, 0.1152862161397934, 0.6392150521278381, -0.3660907745361328, 0.20490801334381104, -0.41160404682159424, 0.38099873065948486, 0.12721595168113708, -0.852240800857544, 0.6770853400230408, -0.09409962594509125, -0.002316712634637952, -0.5754697918891907, 0.8176099061965942, -0.4884894788265228, -0.45780786871910095, 0.6582705974578857, 0.7491746544837952, 0.5039324164390564, -0.49608731269836426, -1.0030102729797363, 0.17641372978687286, -0.09258907288312912, -0.07271446287631989, 0.5091253519058228, 0.5818307399749756, -0.2640085518360138, 0.5049399733543396, 0.4772803783416748, -0.08325904607772827, 0.318606972694397, 0.5039019584655762, 0.6673792600631714, -0.5150445103645325, -0.3481331169605255, -0.7299329042434692, 0.510155200958252, -0.008570564910769463, -0.12363378703594208, 1.0104873180389404, 1.0674312114715576, 0.4863821864128113, -0.12494589388370514, 0.9729673266410828, 0.20090769231319427, 0.5418835878372192, -0.4046792984008789, 0.8672153949737549, -0.6857469081878662, 0.03350888565182686, -0.5516632795333862, -0.7883481979370117, -0.3794766366481781, 0.007919498719274998, -0.21287114918231964, -0.10041853785514832, 1.1480813026428223, 0.7837690711021423, -0.2316415160894394, 0.13456523418426514, 0.32483571767807007, 0.1252119243144989, 0.2502395808696747, 0.49537408351898193, 0.659736156463623, -0.3697769343852997, 0.8377628922462463, -0.6500712037086487, -0.26462996006011963, 0.23920899629592896, -0.6627408266067505, -0.8102085590362549, -0.7648458480834961, -0.5970072746276855, -0.1910003423690796, 0.2691538333892822, 0.3855440020561218, 0.434661328792572, -0.8966658711433411, -0.312224417924881, -0.3715347349643707, 0.2492530345916748, -0.5583982467651367, -0.2250637263059616, 0.32350873947143555, -0.6803211569786072, -1.0955588817596436, 0.4701288640499115, 0.3700897991657257, -0.2634376883506775, 0.005820142105221748, 0.18870215117931366, -0.4226312041282654, -0.032208152115345, 0.7777479887008667, 0.17124487459659576, -0.4029730558395386, -0.22083841264247894, -0.5189713835716248, -0.05609869211912155, 0.2037387490272522, 0.6759629845619202, -0.6793732047080994, 0.206854447722435, 0.6430866718292236, 0.6407106518745422, 0.4343045949935913, 0.05802839994430542, 0.26265984773635864, -0.8832818269729614, 0.3149079978466034, -0.016256183385849, 0.14018189907073975, 0.10901749134063721, -0.14985129237174988, 0.20774312317371368, 0.4425729513168335, -0.2255639135837555, -0.6653065085411072, 0.25163230299949646, -0.9377022385597229, -0.5637885928153992, 1.3777973651885986, -0.03892970457673073, -0.22225119173526764, -0.6950228214263916, -0.19549770653247833, 0.2768375277519226, -0.47358953952789307, 0.6732897162437439, 0.4834878742694855, 0.20874114334583282, -0.4372522532939911, -0.7970793843269348, 0.3472948372364044, 0.3376923203468323, -1.3922090530395508, 0.37860631942749023, 0.3774542510509491, 0.4300662875175476, 0.1085968166589737, 0.7512092590332031, -0.3977900743484497, 0.07468095421791077, 0.0095170047134161, 0.14879760146141052, 0.26530030369758606, -0.384400337934494, -0.2722475230693817, 0.3631714880466461, -0.5452171564102173, -0.22801858186721802 ]
http://arxiv.org/abs/2404.02022v2
http://arxiv.org/pdf/2404.02022v2
Improving Retrieval Augmented Open-Domain Question-Answering with Vectorized Contexts
2024-04-02T15:10:11
2024-07-01T10:38:59
Zhuo Chen, Xinyu Wang, Yong Jiang, Pengjun Xie, Fei Huang, Kewei Tu
cs.CL
cs.CL
In the era of large language models, applying techniques such as Retrieval Augmented Generation can better address Open-Domain Question-Answering problems. Due to constraints including model sizes and computing resources, the length of context is often limited, and it becomes challenging to empower the model to cover overlong contexts while answering questions from open domains. This paper proposes a general and convenient method to covering longer contexts in Open-Domain Question-Answering tasks. It leverages a small encoder language model that effectively encodes contexts, and the encoding applies cross-attention with origin inputs. With our method, the origin language models can cover several times longer contexts while keeping the computing requirements close to the baseline. Our experiments demonstrate that after fine-tuning, there is improved performance across two held-in datasets, four held-out datasets, and also in two In Context Learning settings.
[ -0.7550694346427917, -0.7639924883842468, 0.3908683955669403, -0.022884421050548553, -0.2747577726840973, -0.16173842549324036, -0.5078880190849304, -0.4472794234752655, -0.003680851310491562, 0.44605305790901184, -0.4635133743286133, -0.14586769044399261, -0.357045978307724, 0.3119068145751953, -0.06858926266431808, 0.7241224646568298, -0.41374531388282776, -0.14354164898395538, -0.69376540184021, -0.3487739861011505, -0.6286720633506775, -0.4978058338165283, -0.532941997051239, 0.0915365219116211, 0.45109716057777405, 0.4126082956790924, 0.5753561854362488, 0.44772258400917053, 0.31394901871681213, 0.09301728755235672, -0.21645669639110565, 0.5810680389404297, -0.7348816990852356, 0.15327702462673187, -0.31111350655555725, -0.28864970803260803, -0.13532154262065887, -0.28185954689979553, 0.7294343113899231, 0.7956588268280029, 0.22591368854045868, 0.28729143738746643, 0.1807764321565628, 0.36309316754341125, -0.8607938885688782, -0.29393383860588074, -0.4526894986629486, 0.027000704780220985, 0.062459129840135574, -0.503677487373352, -0.45343491435050964, -0.10519725829362869, 0.3314453959465027, -0.7733103632926941, 0.18899868428707123, 0.16593217849731445, 0.6073305606842041, 0.11043485254049301, -0.4104178845882416, -0.01629542000591755, -0.8795208930969238, 1.0180546045303345, -0.2583301365375519, 0.6181943416595459, 0.5480200052261353, 0.47752901911735535, -0.003392997896298766, -0.6998898983001709, -0.44380977749824524, 0.2749110758304596, -0.2356201410293579, -0.173176571726799, -0.1172582134604454, -0.17998458445072174, 0.3296947777271271, 0.1394662857055664, -0.3105214536190033, -0.40587130188941956, -0.6324681639671326, -0.07724732160568237, 0.26389554142951965, 0.06494807451963425, 0.2657744288444519, 0.04340521618723869, -0.47081926465034485, -0.013243530876934528, -1.0072530508041382, 0.3519212007522583, -0.12732331454753876, 0.46280595660209656, 0.25473281741142273, 0.8491550087928772, -0.35428082942962646, 0.9990537166595459, 0.08729016035795212, 0.32304924726486206, -0.09429798275232315, -0.4455808103084564, -0.3819551467895508, -0.14425450563430786, -0.05982459709048271, 0.3741612136363983, 0.19698841869831085, -0.45371222496032715, -0.07338952273130417, -0.44773709774017334, 0.34172436594963074, -1.0459562540054321, 0.3986499309539795, 0.4050808250904083, -0.2455495148897171, 0.497598260641098, 0.044657934457063675, -0.602921724319458, 0.17681561410427094, -0.5316980481147766, 0.5491787791252136, -0.49964770674705505, 0.10610765218734741, 0.17345769703388214, -0.15141667425632477, 0.4710977375507355, 0.2552511990070343, -0.6276430487632751, 0.4454549252986908, 0.6297363638877869, 0.7023767828941345, -0.1988592892885208, -0.09384115785360336, -1.1004430055618286, 0.21354012191295624, -0.2746567130088806, 0.39948391914367676, -0.8380933403968811, -0.32294076681137085, 0.23812808096408844, 0.06016897037625313, -0.02807154506444931, -0.4347589910030365, 0.2712654173374176, -1.0462156534194946, 0.2794576585292816, -0.575019896030426, -0.5583333373069763, 0.004241063725203276, 0.3286926746368408, -0.41961753368377686, 1.1846951246261597, 0.38864386081695557, -0.730377733707428, 0.3392934799194336, -0.4727695882320404, -0.41207003593444824, 0.011000864207744598, -0.13641804456710815, -0.06076829507946968, 0.16444961726665497, 0.7520089149475098, 0.4374960660934448, -0.27675291895866394, -0.15441246330738068, 0.11913583427667618, -0.5351020693778992, -0.0007751062512397766, 0.09002673625946045, 0.5822760462760925, 0.09699409455060959, -0.1236182227730751, 0.04634500667452812, -0.42877626419067383, 0.2221360206604004, 0.07999544590711594, -0.32225528359413147, -0.9186829924583435, -0.14932863414287567, -0.12173426896333694, 0.06689810007810593, 0.2867240905761719, -0.9328694343566895, 0.07916774600744247, -0.478522926568985, 0.3769828975200653, 0.23776459693908691, 0.2556384801864624, 0.7504729628562927, -0.1837662011384964, 0.6575367450714111, 0.14592070877552032, -0.07215652614831924, -0.19852568209171295, -0.18754220008850098, -0.566347062587738, -0.12056401371955872, 0.3947988748550415, 0.28838294744491577, -1.3339990377426147, 0.05822756886482239, -0.5031053423881531, 0.06823737174272537, -0.5581080317497253, -0.028257427737116814, 0.45264625549316406, 0.6245144009590149, 0.8799527287483215, -0.31870728731155396, -0.5523674488067627, -0.6823816299438477, -0.27020958065986633, 0.3855093717575073, -0.3162047564983368, 0.9773409962654114, 0.5812569260597229, -0.24877946078777313, 1.4570941925048828, -0.6897059082984924, -0.11424819380044937, -0.13488276302814484, -0.25323784351348877, -0.13456673920154572, 0.36317503452301025, 0.5800911784172058, -0.9481048583984375, -0.6121044158935547, 0.0036206580698490143, -0.3966052532196045, 0.2730865180492401, 0.28194108605384827, -0.5686853528022766, 0.11716818064451218, 0.5542073249816895, -0.5374293923377991, 0.4453813135623932, 0.08437711000442505, -0.2741686999797821, 0.08246021717786789, -0.1101408377289772, 0.33886098861694336, -0.8870618343353271, 0.009946808218955994, -0.22595034539699554, -0.35249075293540955, -0.7871800065040588, 0.2815220057964325, 0.389657586812973, -0.2885075509548187, -0.6691316962242126, 0.9251113533973694, -0.6003516316413879, -0.0774102732539177, -0.17336125671863556, 0.2770961821079254, 0.18558233976364136, 0.511137068271637, 0.2742486596107483, 1.141671061515808, 0.4916780889034271, -0.7684175968170166, 0.004388191271573305, 0.5017215609550476, -0.32262593507766724, 0.37700894474983215, -0.7130255699157715, 0.3341589868068695, -0.4617784023284912, 0.2446286827325821, -0.7935869693756104, -0.27349624037742615, -0.000040097394958138466, -0.5067102909088135, 0.28449445962905884, -0.388685017824173, -0.18938417732715607, -0.32505738735198975, -0.15619851648807526, 0.9622233510017395, 0.542906641960144, -1.0496692657470703, 0.6286664605140686, 0.213880717754364, -0.12227565050125122, -0.8073995113372803, -0.4023160934448242, -0.2556128203868866, -0.1466008871793747, -0.590254008769989, 0.5442589521408081, 0.059827011078596115, 0.013260439969599247, 0.11682379245758057, -0.24726766347885132, -0.1504920870065689, -0.2026376873254776, -0.23181021213531494, -0.1946924924850464, -0.48613882064819336, 0.30458158254623413, 0.25803741812705994, 0.34971341490745544, -0.05370238795876503, -0.36415767669677734, 0.4914352595806122, 0.1395147442817688, -0.036071039736270905, 0.39788246154785156, 0.8128129839897156, 0.25839313864707947, -0.7325327396392822, 0.9237794280052185, 0.2095669060945511, -0.7507588863372803, -0.5089424252510071, -0.0868104100227356, -0.2935786545276642, -0.43034568428993225, 0.15486669540405273, -0.6548090577125549, -1.3274339437484741, 0.5249879956245422, 0.14295461773872375, 0.028688892722129822, 0.28445181250572205, 0.40101781487464905, 0.10859206318855286, 0.859346866607666, 0.7391945719718933, 0.034835800528526306, 0.4484608471393585, -0.16042651236057281, 0.025471901521086693, -1.239704966545105, -0.0362376905977726, -0.3237663805484772, -0.08453369140625, -0.12055611610412598, -0.901925265789032, 0.49063825607299805, 0.2548636496067047, -0.25756797194480896, 0.3935631215572357, -0.564076840877533, 0.6141664385795593, 0.526698887348175, 0.2328745722770691, -0.05804025009274483, 0.12890200316905975, -0.05654038116335869, 0.06020142510533333, -0.8701009154319763, -0.1578008383512497, 1.083988070487976, 0.2535703778266907, 0.6103163361549377, 0.3409065008163452, 0.48976930975914, -0.08345294743776321, 0.1740003079175949, -0.36487534642219543, 0.28329214453697205, 0.023410780355334282, -0.6002746224403381, -0.5839972496032715, -0.36538323760032654, -1.021483302116394, 0.36520707607269287, 0.03600172698497772, -0.5220165848731995, 0.46867725253105164, 0.136814147233963, -0.754611074924469, 0.0980733335018158, -0.3696326017379761, 0.7124183177947998, 0.1161625012755394, -0.5263566374778748, 0.12520669400691986, -0.6431159973144531, 0.2042086124420166, 0.19378070533275604, -0.21905279159545898, 0.30059564113616943, -0.07632254809141159, 0.560065746307373, -0.3894568681716919, 0.6381366848945618, -0.3393506109714508, -0.07602586597204208, 0.6283274292945862, -0.17831824719905853, 0.4011388123035431, 0.19945555925369263, 0.15590934455394745, -0.2299441546201706, 0.13553257286548615, -0.5712347626686096, -0.8675940036773682, 0.6067479252815247, -0.5607444047927856, -0.5063315629959106, -0.09420660883188248, -0.4727359116077423, -0.5048285126686096, 0.07053311914205551, 0.3407185971736908, 0.7664932608604431, -0.2973421812057495, 0.49456655979156494, 1.0380100011825562, -0.377253919839859, 0.17748905718326569, 0.2865740954875946, -0.09516412019729614, -0.31042081117630005, 0.5261058807373047, 0.07069068402051926, 0.2789894640445709, 0.6101251840591431, -0.037739530205726624, -0.4070078134536743, -0.25393685698509216, -0.7708652019500732, 0.036337632685899734, -0.7139593958854675, -0.39967653155326843, -0.7932300567626953, -0.20982366800308228, -0.5794852375984192, -0.10337972640991211, -0.1353992521762848, -0.3635372817516327, -0.3422989845275879, 0.12951524555683136, 0.6761314868927002, 0.08183097839355469, 0.27441850304603577, 0.21020002663135529, -0.6421322226524353, 0.5727071166038513, 0.44224658608436584, 0.5833795666694641, 0.08944934606552124, -0.5780350565910339, -0.3771620988845825, 0.2105228155851364, 0.2433953732252121, -0.6448814272880554, 0.2141137570142746, 0.36943042278289795, 0.41386178135871887, -0.14783824980258942, 0.33839836716651917, 0.7079934477806091, -0.9669008255004883, 0.6700496077537537, -0.3507925271987915, -0.6074373126029968, 0.6051724553108215, -0.2461233139038086, 0.5927900671958923, 0.5266219973564148, 0.7056446075439453, -0.5028373599052429, 0.04380689933896065, -0.047199446707963943, -1.0096219778060913, 0.6682971119880676, 0.3095860779285431, 0.26060816645622253, -0.3769597113132477, 0.6629813313484192, 0.10375849157571793, 0.026410436257719994, -0.17470861971378326, -0.05934778228402138, -0.12012698501348495, -0.04510815441608429, -0.24938948452472687, -0.33277592062950134, -0.4405604898929596, -0.4595414400100708, 0.6365179419517517, -0.46764814853668213, 0.6027059555053711, 0.6411649584770203, -0.39867091178894043, -0.2514343559741974, 0.3345887362957001, 0.7598738074302673, 0.8584497570991516, -0.2609007954597473, 0.04550278186798096, 0.3366590440273285, -0.2591867446899414, -0.04789101704955101, 0.21509647369384766, -0.21496371924877167, -0.10634059458971024, -0.06839368492364883, 0.8227348327636719, -0.009929034858942032, -0.7420768737792969, 0.5386956334114075, -0.2277403622865677, 0.09308105707168579, -0.38561442494392395, -0.01403331384062767, -0.11899751424789429, 0.2881723940372467, 0.47605225443840027, -0.24115817248821259, 0.14844848215579987, -0.42112699151039124, 0.31965890526771545, 0.46312132477760315, -0.48952624201774597, 0.03933383896946907, 0.8040185570716858, 0.11450859904289246, -0.20401029288768768, 0.4154520332813263, 0.1470056027173996, -0.5136982798576355, 0.6774703860282898, 0.6631196141242981, 0.5956685543060303, 0.007705093827098608, -0.1700238138437271, 0.3392700254917145, 0.13688208162784576, 0.003574119182303548, 0.5318126678466797, -0.427270770072937, -0.6659381985664368, -0.5476778149604797, -0.5690639615058899, -0.5262956619262695, -0.09888554364442825, -0.8969460129737854, -0.06997448951005936, -0.10155922174453735, -0.017777739092707634, -0.20352530479431152, -0.12773539125919342, -0.878169596195221, 0.48691675066947937, -0.21040505170822144, 1.1566821336746216, -0.36432090401649475, 0.6578153967857361, 0.7640928626060486, -0.28783127665519714, -0.29366376996040344, 0.014723126776516438, -0.683533251285553, -0.3122035562992096, 0.6307024955749512, 0.18957948684692383, -0.26535090804100037, 0.17017002403736115, -0.5064553022384644, -1.0413352251052856, 0.970583438873291, -0.08003712445497513, -0.2489410638809204, 0.0518011711537838, 0.09327832609415054, 0.6259334087371826, -0.6778414249420166, 0.0055944547057151794, 0.609218418598175, 0.020869456231594086, -0.20871882140636444, -0.6336033940315247, 0.09486057609319687, -0.11921271681785583, 0.09415615350008011, 0.32654044032096863, -0.34524857997894287, 0.7092650532722473, -0.15446224808692932, -0.2810981273651123, 0.16841888427734375, 1.1387630701065063, 0.1508907526731491, 0.20810313522815704, 0.35585662722587585, 0.20637989044189453, 0.5172949433326721, -0.036133404821157455, 1.2847530841827393, -0.23494206368923187, 0.28700944781303406, 1.1586155891418457, -0.2388659566640854, 1.0136680603027344, 0.5192396640777588, 0.1588573455810547, 0.1349540501832962, 0.5732399225234985, 0.5183881521224976, 0.6777611374855042, 0.1404041200876236, -0.307035893201828, -0.15756355226039886, -0.06594712287187576, -0.4107297956943512, 0.12229564785957336, 0.2605336606502533, -0.3179348409175873, -0.1818801909685135, 0.580290675163269, -0.2667647898197174, 0.23629218339920044, -0.5868794918060303, 0.47583603858947754, -0.027891123667359352, -0.9492230415344238, 0.828873336315155, 0.22301852703094482, 0.5599454045295715, -0.23935990035533905, -0.02638963796198368, -0.2950635552406311, 0.06920791417360306, 0.2428523451089859, -0.7099023461341858, 0.2433619499206543, 0.123572438955307, -0.43704697489738464, -0.2773565351963043, 0.7799040675163269, -0.7938241362571716, -0.19920645654201508, 0.24971012771129608, 0.4949873387813568, -0.13343675434589386, -0.06955765187740326, -0.017384624108672142, -0.15149252116680145, -0.34975671768188477, -0.3082173466682434, 0.3348903954029083, 0.5544252395629883, -0.38875100016593933, 0.2986317574977875, 0.29333022236824036, -0.3684610426425934, 0.28797125816345215, -0.11075452715158463, 1.0039916038513184, -0.6364724040031433, -0.4322507381439209, -0.4458034336566925, 0.2322276383638382, -0.09640835970640182, -0.3023912012577057, 0.7034924626350403, 0.7304622530937195, 1.1072028875350952, -0.22037462890148163, 0.5938189029693604, -0.16929519176483154, 0.8890174031257629, -0.46036335825920105, 0.4198264181613922, -0.7296164631843567, -0.07241746038198471, 0.11388736963272095, -0.8781308531761169, -0.28294637799263, 0.44033631682395935, -0.4380551278591156, 0.15227092802524567, 0.26003941893577576, 0.4994160234928131, -0.4874323308467865, -0.2040872722864151, 0.2847020924091339, -0.08718547224998474, -0.0030732078012079, 0.7377777695655823, 0.6822850704193115, -0.4883633553981781, 0.3030647337436676, -0.26042887568473816, -0.09537476301193237, -0.22290928661823273, -0.5467244982719421, -1.1370795965194702, -0.555415689945221, -0.05842548608779907, -0.4317014217376709, 0.13160307705402374, 0.8493892550468445, 0.6153069138526917, -0.8323772549629211, 0.17629317939281464, 0.3698892891407013, -0.11743754893541336, -0.34575724601745605, -0.20509158074855804, 0.5437303185462952, -0.26982325315475464, -0.8792221546173096, 0.5433513522148132, 0.04226158931851387, -0.13030557334423065, 0.03056979365646839, -0.01467223186045885, -0.2718302309513092, 0.46554362773895264, 1.0138492584228516, 0.5896112322807312, -0.5505004525184631, -0.8865923285484314, 0.4399315118789673, 0.027012059465050697, 0.25142958760261536, 0.9188592433929443, -0.9456581473350525, 0.4948672354221344, 0.6656056642532349, 1.2397700548171997, 0.6352014541625977, 0.5351609587669373, 0.659808337688446, -1.3624614477157593, -0.05789746716618538, 0.3273757994174957, 0.17411251366138458, 0.2700445353984833, -0.6182589530944824, 0.5238903164863586, -0.26807504892349243, -0.3521026074886322, -0.7649922370910645, 0.20937782526016235, -0.8108075261116028, -0.48557916283607483, 1.1979442834854126, -0.07428918033838272, -0.3882807493209839, -0.17220906913280487, -0.2007044404745102, 0.14480328559875488, -0.0945601835846901, 0.24837009608745575, 0.5269983410835266, -0.1366942971944809, -0.1483728140592575, -0.6217126846313477, 0.6427586674690247, 0.5104946494102478, -0.5623244643211365, 0.14375554025173187, 0.45950615406036377, 0.3371070921421051, 0.008965765126049519, 0.6715080738067627, -0.10613515228033066, 0.49145665764808655, -0.35609444975852966, -0.08298826962709427, 0.003625904442742467, -0.6541059613227844, -0.27219685912132263, 0.3504209518432617, -0.2889440059661865, -0.34920862317085266 ]
http://arxiv.org/abs/2406.11852v1
http://arxiv.org/pdf/2406.11852v1
Risks from Language Models for Automated Mental Healthcare: Ethics and Structure for Implementation
2024-04-02T15:05:06
2024-04-02T15:05:06
Declan Grabb, Max Lamparth, Nina Vasan
cs.CY
cs.CY, cs.AI, cs.CL
Amidst the growing interest in developing task-autonomous AI for automated mental health care, this paper addresses the ethical and practical challenges associated with the issue and proposes a structured framework that delineates levels of autonomy, outlines ethical requirements, and defines beneficial default behaviors for AI agents in the context of mental health support. We also evaluate ten state-of-the-art language models using 16 mental health-related questions designed to reflect various mental health conditions, such as psychosis, mania, depression, suicidal thoughts, and homicidal tendencies. The question design and response evaluations were conducted by mental health clinicians (M.D.s). We find that existing language models are insufficient to match the standard provided by human professionals who can navigate nuances and appreciate context. This is due to a range of issues, including overly cautious or sycophantic responses and the absence of necessary safeguards. Alarmingly, we find that most of the tested models could cause harm if accessed in mental health emergencies, failing to protect users and potentially exacerbating existing symptoms. We explore solutions to enhance the safety of current models. Before the release of increasingly task-autonomous AI systems in mental health, it is crucial to ensure that these models can reliably detect and manage symptoms of common psychiatric disorders to prevent harm to users. This involves aligning with the ethical framework and default behaviors outlined in our study. We contend that model developers are responsible for refining their systems per these guidelines to safeguard against the risks posed by current AI technologies to user mental health and safety. Trigger warning: Contains and discusses examples of sensitive mental health topics, including suicide and self-harm.
[ -0.10062192380428314, -0.7013298273086548, 0.9138504266738892, -0.002334342570975423, 0.291493684053421, -0.28082746267318726, 0.15307825803756714, -0.7053329348564148, -0.46054190397262573, 0.6913849115371704, -0.6067508459091187, -0.13602587580680847, -0.6808382868766785, 0.10252530872821808, -0.3823155462741852, 1.0385428667068481, -0.05030578747391701, -0.022920403629541397, -0.11181361973285675, 0.11261384934186935, -0.368030846118927, -0.5940229296684265, -0.7993633151054382, 0.06253747642040253, 0.42457088828086853, 0.04767977073788643, 1.0558651685714722, 0.604418158531189, 0.6088985800743103, 0.31325051188468933, 0.28659123182296753, -0.2672439217567444, -0.004601266235113144, 0.17048169672489166, -0.011891954578459263, -0.18123501539230347, -0.8852332234382629, 0.1389230191707611, 0.04924074560403824, 0.49606192111968994, -0.40137162804603577, 0.2308623343706131, -0.06506510823965073, 0.359566330909729, -0.49045413732528687, 0.23339103162288666, -0.2243374139070511, 0.14890331029891968, 0.06774727255105972, 0.05218684673309326, -0.440677672624588, -0.18343046307563782, 0.04285650700330734, -0.47037968039512634, -0.3066675364971161, 0.06908644735813141, 0.48784399032592773, 0.8312622308731079, -0.5141344666481018, -0.32623717188835144, -0.9964454174041748, 0.44360753893852234, -0.7979453206062317, -0.02259611338376999, 0.7006428837776184, 0.26486971974372864, -0.10078465193510056, -0.49629655480384827, -0.573788046836853, -0.24740299582481384, -0.11674255132675171, -0.12295370548963547, -0.5920920968055725, 0.4812304675579071, 0.4347354471683502, 0.19154170155525208, -0.4917079508304596, 0.20344513654708862, -0.28044894337654114, -0.022712495177984238, 0.9819610714912415, 0.6084239482879639, 0.7007157802581787, -0.18388178944587708, 0.052536655217409134, 0.07406919449567795, -0.2582869231700897, 0.18866132199764252, 0.4759242534637451, -0.02154914289712906, -0.1820889264345169, 0.641933023929596, 0.17816650867462158, 0.40228575468063354, 0.025323260575532913, -0.05677429214119911, -0.019682738929986954, -0.054488297551870346, -0.3153276741504669, -0.050881996750831604, 0.8308047652244568, 0.5348680019378662, 0.3889234662055969, -0.1063709557056427, -0.2733325958251953, 0.07926986366510391, 0.940190851688385, -0.33544018864631653, -0.22760988771915436, 0.801331102848053, -0.6148959398269653, -0.2304561734199524, -0.10331510007381439, -0.2347833663225174, -0.4582214653491974, -0.3897058069705963, 0.43527597188949585, -0.49315255880355835, -0.4062475562095642, 0.1423218697309494, 0.19590862095355988, 0.18569155037403107, 0.10119256377220154, -0.6169074177742004, 0.47274544835090637, 0.5880553126335144, 0.3094269633293152, -0.061297476291656494, -0.15143108367919922, -0.10724260658025742, 0.10421326756477356, -0.3563181757926941, 0.4544621407985687, -0.2266932725906372, -0.5966666340827942, -0.0939791351556778, 0.031161118298768997, -0.13730037212371826, -0.2077411264181137, 0.44194701313972473, 0.02746117115020752, 0.19412894546985626, -0.18018144369125366, -0.3946473002433777, -0.13566793501377106, -0.029855763539671898, -0.418057918548584, 0.48292577266693115, 0.16467544436454773, -0.8230997920036316, 0.03825237229466438, -0.9458156228065491, -0.5013039112091064, 0.21666975319385529, -0.23874081671237946, -0.09073489904403687, 0.0122087262570858, -0.03764216974377632, 0.5251704454421997, -0.15854404866695404, 0.36358389258384705, -0.39241158962249756, -0.12285509705543518, 0.15787635743618011, -0.4901915490627289, 1.37353515625, 0.2251555472612381, -0.5188660621643066, 0.47981780767440796, -0.5300551056861877, 0.16644906997680664, 0.19231997430324554, 0.2017148733139038, -0.506560206413269, 0.24613957107067108, 0.2185547947883606, 0.3655661344528198, 0.10720174759626389, -0.22889360785484314, -0.3717429041862488, -0.3138946294784546, 0.30533334612846375, 0.7968778610229492, 0.2075309157371521, 0.35652610659599304, -0.7209166884422302, 0.7451609373092651, -0.23855161666870117, 0.8998243808746338, 0.02027985453605652, -0.5343255400657654, -0.1174594983458519, -0.45607033371925354, -0.37386587262153625, 0.9730927348136902, -0.17534226179122925, 0.9253478050231934, 0.19344325363636017, -0.49072444438934326, -0.7858396768569946, -0.3339689373970032, 0.25166162848472595, 0.6257195472717285, 0.2679668664932251, 0.019038284197449684, -0.25673946738243103, -1.0306932926177979, -0.15752239525318146, -0.4496738910675049, -0.03528102487325668, 0.3718401789665222, 0.5027890205383301, -0.681955873966217, 0.900721549987793, -0.2631058096885681, 0.030505096539855003, -0.004476307425647974, 0.16323110461235046, -0.3866964280605316, 0.7457420229911804, 0.3507501184940338, -0.6656651496887207, -0.16775727272033691, -0.15053698420524597, -1.0864158868789673, -0.19981445372104645, 0.044378019869327545, -0.004771432839334011, 0.1870228350162506, 0.23415623605251312, -0.7341939210891724, 0.618868350982666, 0.3427872061729431, -0.22829720377922058, 0.5246753096580505, -0.28797948360443115, 0.06408607214689255, -1.1103159189224243, 0.3588271141052246, -0.18133296072483063, -0.0585557296872139, -0.835108757019043, 0.27508434653282166, -0.2592947483062744, -0.12416450679302216, -0.3843492865562439, 0.5081745982170105, 0.007767363917082548, 0.2644651532173157, -0.5306451320648193, -0.4029861092567444, -0.185524120926857, 0.10077136754989624, -0.22799791395664215, 0.4954809546470642, 0.4474382996559143, -0.4758327305316925, 0.2767760157585144, 0.07321839779615402, 0.10112219303846359, 0.7784380912780762, -0.717583417892456, 0.17045535147190094, -0.16592521965503693, 0.13564349710941315, -0.33990857005119324, -0.3215450942516327, 0.6251786351203918, -0.37099477648735046, 0.03610909730195999, 0.3736806809902191, -0.5159329771995544, -0.2392057627439499, -0.00799356959760189, 0.5162607431411743, 0.5442560315132141, 0.3640541434288025, 0.2612079381942749, 0.9784811735153198, -0.4318550229072571, -0.5864917635917664, -0.4802044630050659, 0.15687088668346405, -0.4619576632976532, -0.18600985407829285, 0.16925513744354248, -0.20609165728092194, -0.7863408327102661, 0.10619907081127167, 0.07639537006616592, -0.04845665022730827, 0.6733275651931763, 0.6021685600280762, 0.11564113199710846, 0.14357741177082062, 0.17926153540611267, 0.17430543899536133, -0.3091828525066376, 0.5979796648025513, -0.13013549149036407, 0.07347047328948975, -0.3030625283718109, -0.3812066614627838, -0.6285492777824402, 0.981328547000885, 0.6197392344474792, -0.2421932816505432, 0.5158776044845581, 0.382220059633255, -0.9800985455513, 0.26234784722328186, -0.39093074202537537, -0.28640010952949524, -0.34638968110084534, 0.2600170075893402, 0.17142805457115173, -0.7817004323005676, 0.417148619890213, 0.43230071663856506, 0.2924639582633972, 0.4457647204399109, 0.5842098593711853, -0.5083673596382141, 1.5036314725875854, 0.9281855821609497, -0.16840560734272003, 0.07449426501989365, 0.09547066688537598, 0.5098642110824585, -0.39494580030441284, -0.05571448802947998, -0.49730542302131653, 0.1121634915471077, -0.8248277902603149, -0.19475381076335907, 0.5132929086685181, -0.3749184012413025, -0.5453280806541443, 0.20361144840717316, -0.5873269438743591, -0.07604195922613144, 0.3602679967880249, 0.043004121631383896, 0.2904394865036011, -0.543967604637146, 0.014823680743575096, -0.00376718258485198, -0.44235777854919434, -0.9025298953056335, 0.7272216081619263, 0.5860294699668884, 1.0097867250442505, -0.08468025177717209, 0.6783583164215088, 0.5326584577560425, 0.1461963653564453, -0.6110684871673584, 0.38748854398727417, 0.25201180577278137, -0.9736998677253723, -0.46720075607299805, -0.17715276777744293, -0.758050262928009, -0.25851646065711975, 0.10515417903661728, -0.947221577167511, 0.1987433135509491, 0.13903920352458954, -0.6902649402618408, 0.025928732007741928, -0.4863380789756775, 0.837706446647644, -0.5718788504600525, 0.12731871008872986, -0.18894849717617035, -1.155301570892334, 0.35876622796058655, -0.09425391256809235, 0.22641809284687042, -0.34747567772865295, 0.016900861635804176, 0.5841334462165833, -0.22579319775104523, 0.8455840945243835, 0.12747281789779663, -0.22965829074382782, 0.24810607731342316, -0.014675669372081757, 0.14513464272022247, 0.10478710383176804, 0.045841991901397705, -0.06903864443302155, 0.433358758687973, -0.2523998022079468, -0.47985437512397766, 0.3325404226779938, -0.813160240650177, -1.0214507579803467, -0.44164320826530457, -0.8183346390724182, -0.20695029199123383, 0.41416844725608826, 0.16813288629055023, 0.23404675722122192, -0.15881569683551788, -0.24108296632766724, 0.5667362809181213, -0.28969690203666687, 0.225563183426857, 0.4180032014846802, 0.025416668504476547, -0.17100615799427032, 0.561067521572113, -0.12797653675079346, 0.14819256961345673, -0.09865565598011017, 0.10379908978939056, -0.1370917558670044, -0.3769403398036957, -0.22107556462287903, 0.10688313096761703, -0.6492560505867004, -0.06254739314317703, -0.8086945414543152, -0.4809114336967468, -0.6214233636856079, -0.17516954243183136, -0.3351556658744812, -0.058757614344358444, -0.39198756217956543, -0.2409084588289261, 0.3166045844554901, 0.9052166938781738, 0.032124318182468414, 0.0982404574751854, -0.7742519974708557, 0.12063422054052353, 0.09646608680486679, 0.09380471706390381, -0.21772386133670807, 0.07000722736120224, -0.040624089539051056, 0.0904233306646347, -0.16307806968688965, -0.9928272366523743, 0.3138323128223419, -0.3044351637363434, 0.8663998246192932, 0.4925483465194702, 0.5851541757583618, 0.5288280844688416, -0.630916953086853, 0.4967529773712158, -0.10602892190217972, -0.9405442476272583, 0.7229005098342896, -0.4513295292854309, 0.04901404678821564, 0.6902090311050415, 0.7735610604286194, -0.624876856803894, -0.6772982478141785, -0.8886138200759888, -0.7196576595306396, 0.43924951553344727, 0.279354453086853, 0.1858081966638565, -0.32660502195358276, 0.4461243152618408, 0.04023211821913719, 0.2347991019487381, -0.7145094871520996, -0.2625861167907715, -0.008800310082733631, -0.532630205154419, 0.03597794100642204, -0.003535199910402298, -0.5933802723884583, -0.08208595216274261, 0.45587819814682007, -0.1427001804113388, 0.5756515264511108, 0.2666237950325012, -0.029020657762885094, -0.38544416427612305, 0.23390579223632812, 0.46160653233528137, 0.4465806484222412, -0.12594634294509888, 0.002233050996437669, -0.2222139835357666, -0.18443751335144043, 0.33223897218704224, 0.4398442804813385, -0.0389525406062603, -0.5253991484642029, 0.18938188254833221, 0.4854181408882141, -0.030116388574242592, -0.8518388867378235, 0.334940642118454, 0.02324611321091652, 0.1711096614599228, -0.44259607791900635, 0.1463600993156433, -0.24106131494045258, 0.25474846363067627, 0.13091573119163513, 0.10540564358234406, 0.4671962559223175, -0.5734608173370361, 0.4157258868217468, 0.599273681640625, -0.36140644550323486, -0.39432886242866516, 0.686454713344574, 0.017424587160348892, -0.7055945992469788, 0.43031808733940125, -0.02428361028432846, -0.233253613114357, 0.7351402044296265, 0.33109214901924133, 1.0063676834106445, -0.5253943800926208, 0.2544685900211334, -0.17643295228481293, 0.6351373791694641, -0.10337194055318832, 0.3735058605670929, 0.17138038575649261, -0.542809009552002, 0.054265353828668594, 0.05569387227296829, -0.5854913592338562, 0.1480436474084854, -0.8068753480911255, -0.04083891585469246, -0.5577390193939209, -0.5992627143859863, -0.266762912273407, -0.03377725929021835, -0.275628000497818, 0.28944286704063416, 0.44463226199150085, 0.5613186359405518, -0.7121647596359253, 0.618955671787262, 0.7530596256256104, -0.22202754020690918, -0.7333349585533142, 0.2930757403373718, 0.22213207185268402, -0.49469509720802307, -0.14493761956691742, 0.18684051930904388, -0.2324073314666748, -0.10845016688108444, -0.43302223086357117, -0.6669982075691223, 1.0206804275512695, 0.454004168510437, 0.016906777396798134, -0.4888257384300232, 0.12859895825386047, 0.6463726758956909, -0.5403468608856201, 0.16012383997440338, 0.32338112592697144, 0.47901907563209534, -0.38172316551208496, -0.9817512631416321, 0.22860443592071533, -0.38111719489097595, -0.0007843807688914239, -0.171122208237648, -0.18349838256835938, 0.7683431506156921, -0.40494367480278015, -0.227430522441864, 0.11815974861383438, 0.30083808302879333, 0.1723533570766449, 0.33627790212631226, 0.43039610981941223, 0.39399659633636475, 0.9140750765800476, 0.39614319801330566, 1.1359249353408813, -0.4040829837322235, 0.04580944776535034, 0.8647853136062622, -0.5792633295059204, 0.42479684948921204, 0.22976019978523254, 0.041531436145305634, 0.15645335614681244, 0.6184647083282471, 0.16302335262298584, 0.2196696698665619, 0.02711094357073307, -0.27671030163764954, -0.13239778578281403, -0.2609700560569763, -0.34546613693237305, 0.3790375292301178, 0.579988420009613, -0.4243605136871338, -0.02957018092274666, 0.29429590702056885, 0.19607485830783844, 0.022321853786706924, -0.021381452679634094, 0.5778140425682068, 0.30719026923179626, -0.5401546955108643, -0.004985698964446783, 0.1847127377986908, 0.2384772151708603, -0.3792537450790405, 0.19050484895706177, 0.16038008034229279, 0.10946528613567352, 0.017748722806572914, -0.5033932328224182, 0.7074292898178101, 0.1503227949142456, -0.21487396955490112, -0.3778746724128723, 0.6824921369552612, 0.0679457038640976, -0.6817330718040466, 0.3063141405582428, 0.687267005443573, -0.06369536370038986, -0.053258344531059265, -1.183359146118164, -0.2793141305446625, -0.5187296867370605, -0.07703819870948792, 0.2394997477531433, 0.1255125105381012, -0.37092921137809753, 0.8707787990570068, 0.3978525996208191, 0.02209150232374668, -0.04681174084544182, -0.3650721311569214, 0.394855260848999, -0.5792776346206665, -0.44340524077415466, -0.8230876922607422, 0.5103075504302979, 0.2729779779911041, -0.20544490218162537, 0.3396635353565216, -0.101958267390728, 0.3902941048145294, 0.010552541352808475, 0.8427649736404419, -0.22171124815940857, 0.15643182396888733, -0.1111169308423996, 1.2484130859375, -0.6408898234367371, -0.03797747567296028, -0.24293580651283264, -0.20968641340732574, -0.4235335886478424, 0.7222009897232056, -0.43517595529556274, 0.3565385639667511, 0.6174114346504211, 0.5635509490966797, 0.552675724029541, 0.01824237033724785, 0.3244588375091553, 0.17450648546218872, 0.4497654438018799, 0.4006554186344147, 0.7350855469703674, -0.3254387676715851, 0.06813536584377289, -0.47127842903137207, -0.14784136414527893, 0.08088760077953339, -0.7819441556930542, -0.5604143142700195, -0.7467892169952393, -0.44756072759628296, -0.06026593968272209, 0.2571621239185333, 1.1453888416290283, 0.6415755152702332, -0.7097309231758118, -0.29894182085990906, 0.00020437035709619522, 0.14968989789485931, -0.44243094325065613, -0.21622423827648163, -0.014102580025792122, -0.15414462983608246, -0.5404323935508728, 0.2012561708688736, 0.45425018668174744, 0.2016603946685791, -0.37727975845336914, 0.15152479708194733, -0.12016215920448303, 0.11383385956287384, 0.28441479802131653, 0.39213070273399353, -0.9639214277267456, -0.39214447140693665, 0.011686128564178944, -0.6162248253822327, -0.18055285513401031, 0.6021944880485535, -0.35494521260261536, 0.12653326988220215, 0.09526915103197098, 0.6462303400039673, -0.6163899898529053, -0.05745464935898781, 0.8807927370071411, -0.057401083409786224, -0.13616129755973816, 0.7853689193725586, 0.3592792749404907, 0.061956170946359634, -1.0279266834259033, 0.22467492520809174, -0.002015608362853527, -0.5622424483299255, -0.8374675512313843, 0.23181387782096863, -0.8704586625099182, -0.0962006077170372, 0.8844199776649475, -0.26788777112960815, -0.15129759907722473, -0.39513903856277466, -0.20127014815807343, 0.3234550952911377, -0.1814671754837036, 0.9366066455841064, 0.4059610068798065, -0.38697710633277893, -0.34678733348846436, -0.9324713945388794, 0.6700074076652527, 0.1640675663948059, -0.9418789148330688, 0.14605052769184113, 0.3141561448574066, 0.15639561414718628, -0.17859084904193878, 0.8051380515098572, -0.28723350167274475, 0.542029082775116, -0.2924114465713501, 0.23322056233882904, -0.06838847696781158, -0.23441512882709503, -0.38832542300224304, -0.14082464575767517, 0.0360034815967083, 0.023092128336429596 ]
http://arxiv.org/abs/2404.02013v2
http://arxiv.org/pdf/2404.02013v2
Breaking the Silence Detecting and Mitigating Gendered Abuse in Hindi, Tamil, and Indian English Online Spaces
2024-04-02T14:55:47
2024-04-03T09:14:01
Advaitha Vetagiri, Gyandeep Kalita, Eisha Halder, Chetna Taparia, Partha Pakray, Riyanka Manna
cs.CL
cs.CL
Online gender-based harassment is a widespread issue limiting the free expression and participation of women and marginalized genders in digital spaces. Detecting such abusive content can enable platforms to curb this menace. We participated in the Gendered Abuse Detection in Indic Languages shared task at ICON2023 that provided datasets of annotated Twitter posts in English, Hindi and Tamil for building classifiers to identify gendered abuse. Our team CNLP-NITS-PP developed an ensemble approach combining CNN and BiLSTM networks that can effectively model semantic and sequential patterns in textual data. The CNN captures localized features indicative of abusive language through its convolution filters applied on embedded input text. To determine context-based offensiveness, the BiLSTM analyzes this sequence for dependencies among words and phrases. Multiple variations were trained using FastText and GloVe word embeddings for each language dataset comprising over 7,600 crowdsourced annotations across labels for explicit abuse, targeted minority attacks and general offences. The validation scores showed strong performance across f1-measures, especially for English 0.84. Our experiments reveal how customizing embeddings and model hyperparameters can improve detection capability. The proposed architecture ranked 1st in the competition, proving its ability to handle real-world noisy text with code-switching. This technique has a promising scope as platforms aim to combat cyber harassment facing Indic language internet users. Our Code is at https://github.com/advaithavetagiri/CNLP-NITS-PP
[ -0.23798660933971405, -0.8578377962112427, -0.14450021088123322, 0.7391915321350098, -0.12670664489269257, 0.5584424138069153, -0.0700668916106224, -0.7606273293495178, -0.20655390620231628, 0.330976665019989, -0.22819359600543976, -0.39615750312805176, -0.9021811485290527, 0.35077130794525146, -0.8836084604263306, 0.855335533618927, 0.00987306423485279, 0.2541649341583252, 0.11326142400503159, -0.2977520823478699, -0.8007387518882751, -0.30596673488616943, -0.6364245414733887, 0.008243433199822903, 0.3396037817001343, 0.04688504338264465, 0.2216821014881134, 0.24513190984725952, 0.6404951810836792, 0.387270987033844, -0.22728848457336426, 0.43180420994758606, -0.3841542899608612, 0.3398723304271698, -0.1482638418674469, -0.17278112471103668, -0.16156500577926636, -0.18863119184970856, 0.2887430787086487, 0.3444744646549225, -0.1866419017314911, 0.1509741246700287, 0.4468039572238922, 0.28505638241767883, -0.8016761541366577, 0.12207053601741791, -0.4709225594997406, 0.1468035876750946, -0.36479854583740234, 0.00037096525193192065, -0.31884661316871643, -0.23985812067985535, -0.21497663855552673, -0.22750170528888702, 0.008231615647673607, 0.006514652166515589, 0.8169548511505127, 0.14141163229942322, -0.011706175282597542, -0.515646755695343, -0.7849732637405396, 0.9072678685188293, -0.45479488372802734, 0.6866012215614319, 0.6413029432296753, 0.07251836359500885, 0.1952361762523651, -0.5562590956687927, -0.3161379396915436, -0.022204505279660225, -0.1440601795911789, 0.08289221674203873, -0.5556848049163818, -0.26026850938796997, 0.17317675054073334, 0.32785025238990784, -0.40941357612609863, 0.17881624400615692, -0.570420503616333, -0.13446888327598572, 0.38433438539505005, -0.06411010026931763, 0.8090303540229797, -0.11287821829319, -0.4603981673717499, 0.3953874409198761, -0.5209283828735352, -0.1382962167263031, 0.6434637904167175, 0.6975328326225281, -0.43979552388191223, 0.22445327043533325, 0.009185650385916233, 0.2606991231441498, 0.149644136428833, -0.15474741160869598, -0.010055260732769966, -0.28263652324676514, -0.047264352440834045, 0.13789965212345123, 0.8266381621360779, 0.3097692131996155, 0.2209177315235138, -0.19558750092983246, -0.25823792815208435, 0.25503531098365784, 0.19731405377388, -0.6297277212142944, 0.021518167108297348, 0.02749025635421276, -0.4500080645084381, -0.46215853095054626, -0.27538928389549255, -1.0472745895385742, -0.8128095865249634, -0.20771877467632294, 0.17813722789287567, -0.44307202100753784, -0.8869350552558899, -0.11127080023288727, -0.2706788182258606, 0.495310515165329, 0.11147842556238174, -0.8061827421188354, 0.5505604147911072, 0.6742868423461914, 1.0517815351486206, -0.14814406633377075, 0.005366151686757803, -0.4149167239665985, -0.09886297583580017, -0.29268553853034973, 0.4541732966899872, -0.7049450874328613, -0.26733601093292236, 0.2735985517501831, -0.22303949296474457, -0.11315758526325226, -0.8601289987564087, 0.5832801461219788, -0.24806080758571625, 0.2484886795282364, -0.07152832299470901, -0.13255326449871063, 0.07072185724973679, 0.4621579349040985, -0.500029981136322, 1.0767916440963745, -0.038311704993247986, -0.9607408046722412, 0.4583297669887543, -0.9636094570159912, -0.47971111536026, 0.26058119535446167, -0.06443507969379425, -0.4941198229789734, -0.17164571583271027, 0.3221836984157562, 0.14786958694458008, -0.2547054886817932, 0.21314115822315216, -0.038730937987565994, -0.40192559361457825, -0.016090407967567444, -0.3389178216457367, 1.1978894472122192, 0.34260353446006775, -0.5211958289146423, 0.23436622321605682, -0.3285364806652069, -0.3986892104148865, 0.1354692429304123, -0.03885751962661743, -0.3559809625148773, -0.025962332263588905, 0.3524930775165558, 0.15478384494781494, -0.23563362658023834, -0.8883445262908936, -0.4365653991699219, -0.24693237245082855, 0.40373143553733826, 0.6360130310058594, -0.07678496837615967, 0.10075029730796814, -0.22009876370429993, 0.517437219619751, 0.11916814744472504, 0.31193307042121887, 0.1303318440914154, -0.3998069763183594, -0.38010507822036743, -0.5544971823692322, 0.12921634316444397, 0.5634663105010986, -0.7223888039588928, 0.08031852543354034, -0.09877683967351913, -0.20146502554416656, -0.6907230019569397, 0.2832722067832947, 0.691223680973053, 0.48443230986595154, 0.3905094563961029, -0.22524172067642212, -0.7971374988555908, -0.9244345426559448, -0.5357027053833008, -0.1743345856666565, 0.18725921213626862, -0.18887872993946075, 0.23674730956554413, -0.003264359664171934, 0.777398407459259, 0.11380047351121902, -0.43221157789230347, -0.45958420634269714, 0.5395999550819397, -0.3497188687324524, 0.33832043409347534, 0.46073347330093384, -1.130063772201538, -0.6737631559371948, -0.15240029990673065, -0.9088304042816162, -0.6099738478660583, 0.2236475944519043, 0.10510635375976562, 0.18194453418254852, 0.744011640548706, -0.2026374340057373, 0.6568198800086975, 0.23406130075454712, -0.3043438196182251, 0.3863299787044525, 0.5258365869522095, 0.3006995618343353, -1.0055030584335327, -0.08257252722978592, 0.06214512139558792, -0.4019163250923157, -0.6838027834892273, 0.10577919334173203, -0.4448762536048889, -0.0856030210852623, -0.6021001935005188, 0.3752562403678894, -0.5313304662704468, 0.16512587666511536, -0.28556448221206665, -0.060159098356962204, -0.32706889510154724, 0.3302871584892273, -0.17184339463710785, 0.6772448420524597, 0.29251059889793396, -0.4195539951324463, 0.008500696159899235, 0.3653876483440399, -0.035388216376304626, 0.8330585956573486, -0.37567415833473206, 0.20632779598236084, -0.19280017912387848, -0.18114271759986877, -0.8165836930274963, -0.06711961328983307, 0.5627051591873169, -0.6401214003562927, 0.23255762457847595, -0.39101019501686096, -0.6404997110366821, -0.053579218685626984, -0.5764883160591125, 0.367514431476593, 0.10903559625148773, -0.5954718589782715, 0.4438079595565796, 0.6376501321792603, -0.12475070357322693, -0.6945947408676147, -0.8044747710227966, 0.41191771626472473, -0.21584120392799377, -0.25350308418273926, -0.10643000900745392, -0.12184079736471176, -0.6548265218734741, -0.18788592517375946, 0.13293017446994781, -0.2068096101284027, 0.12459041178226471, 0.5406114459037781, 0.19596312940120697, 0.08196582645177841, -0.010483111254870892, 0.07289686053991318, 0.15630370378494263, 0.12622511386871338, 0.10486926883459091, 0.9605575799942017, -0.4575602114200592, -0.24170657992362976, -0.3465508222579956, 0.7260394096374512, 0.6081374883651733, -0.2824421525001526, 0.5774241089820862, 1.065486192703247, -0.748981773853302, -0.0032663752790540457, -0.28629785776138306, -0.056562382727861404, -0.4477666914463043, 0.2772282063961029, -0.12329614907503128, -0.9053730964660645, 0.3691190779209137, -0.0282170120626688, 0.13706547021865845, 0.32371121644973755, 0.6160740852355957, -0.041552357375621796, 0.9740728139877319, 0.8676126003265381, -0.3085319399833679, 0.4238511621952057, 0.07364142686128616, 0.5235985517501831, -0.6212497353553772, -0.14195331931114197, -0.4383823573589325, -0.19828571379184723, -0.8498613238334656, -0.09601826220750809, 0.14214469492435455, 0.12065276503562927, -0.2083858996629715, 0.38493773341178894, -0.8384639024734497, 0.3768460750579834, 0.11644323170185089, 0.1394822746515274, 0.29900339245796204, 0.1835285723209381, 0.01702115684747696, -0.38969147205352783, -0.4019741714000702, -0.4256557524204254, 0.6052444577217102, 0.4073621928691864, 0.4054293632507324, 0.4044676125049591, 0.2659015357494354, 0.6789063811302185, 0.626509428024292, -0.5954700708389282, 0.5315613150596619, -0.13551636040210724, -0.7950090169906616, -0.061648063361644745, -0.24417312443256378, -0.9535617232322693, 0.1735067516565323, 0.011286456137895584, -0.9754354357719421, 0.2821049392223358, -0.2430231273174286, -0.02809254452586174, 0.8259199857711792, -0.5610730051994324, 0.3111288845539093, -0.07700132578611374, -0.6271045207977295, -0.17406783998012543, -0.4127654433250427, 0.6166481971740723, 0.00942586362361908, 0.416704386472702, -0.15352970361709595, 0.018123729154467583, 0.7011387348175049, -0.5012838840484619, 1.307212233543396, -0.18730665743350983, 0.10585370659828186, 0.23503290116786957, 0.12233257293701172, -0.057811420410871506, -0.2589516341686249, -0.02214251644909382, 0.5337793827056885, -0.30509090423583984, -0.3437650799751282, 0.0914313867688179, 0.578078031539917, -0.4984298348426819, -0.11986231058835983, -0.5513245463371277, -0.4894917905330658, -0.16540363430976868, 0.2622240483760834, 0.453450471162796, 0.4656597077846527, 0.09720953553915024, 0.20264901220798492, 0.5719740390777588, -0.25613126158714294, 0.7796214818954468, 0.28887173533439636, -0.4157732427120209, -0.20865918695926666, 1.0005196332931519, 0.08663256466388702, -0.1476360410451889, 0.26496046781539917, 0.2248973399400711, -0.2769167721271515, -0.4569470286369324, -0.5265102386474609, -0.20230399072170258, -0.44998177886009216, -0.41567057371139526, -0.7554038763046265, -0.4735594093799591, -0.44191911816596985, -0.0036488494370132685, -0.28309693932533264, 0.16933917999267578, 0.2572046220302582, -0.11004341393709183, 0.44766560196876526, 0.944749653339386, -0.3896181881427765, 0.27735161781311035, -0.5981155633926392, 0.36326903104782104, 0.22314020991325378, 0.5682382583618164, -0.16857250034809113, -0.6084724068641663, 0.05222444236278534, -0.33600515127182007, -0.1540476381778717, -0.9036669731140137, 0.5282840132713318, 0.0428110770881176, 0.08692309260368347, 0.18306423723697662, 0.2481575310230255, 0.6026318669319153, 0.03897027671337128, 0.5119171738624573, 0.1565832495689392, -0.8056104183197021, 0.4841296076774597, -0.5449570417404175, 0.1816699504852295, 0.5069575309753418, 0.4516836106777191, -0.6303327083587646, -0.7240490913391113, -0.42475426197052, -1.007215142250061, 0.6033341288566589, 0.5414183139801025, 0.3129647970199585, -0.1985301971435547, 0.06074369698762894, 0.04010920226573944, 0.4298275411128998, -0.7983747720718384, -0.28626880049705505, -0.04496738314628601, -0.2916490137577057, 0.8383922576904297, -0.2589144706726074, -0.18741583824157715, -0.4281822443008423, 0.5674924850463867, 0.30023959279060364, 0.46086961030960083, 0.03922749310731888, -0.4024105966091156, -0.10340471565723419, 0.11749666929244995, 0.47319841384887695, 0.5969479084014893, -0.12795324623584747, -0.009547675959765911, 0.20081497728824615, -0.9294578433036804, -0.11264695227146149, 0.06660276651382446, -0.2847081422805786, 0.1837976723909378, 0.48663046956062317, 0.6147335767745972, 0.2416292428970337, -0.6509288549423218, 0.6552999019622803, -0.2795785665512085, 0.0010551969753578305, -0.45432037115097046, -0.3066522479057312, -0.19070817530155182, 0.06558036804199219, 0.38316601514816284, 0.05840817466378212, 0.20983190834522247, -0.4622096121311188, 0.2608219087123871, 0.045394666492938995, -0.7990002632141113, -0.3021576702594757, 0.5567021369934082, 0.13213956356048584, -0.5870597958564758, 0.44586092233657837, -0.4164864420890808, -0.7934804558753967, 0.28852951526641846, 0.6195496320724487, 0.9944210648536682, -0.2753927707672119, 0.14804552495479584, 0.48670387268066406, 0.59061598777771, 0.2831007242202759, 0.37044402956962585, 0.07723715156316757, -0.6719783544540405, -0.2548307478427887, -0.6182442903518677, -0.306282103061676, 0.3217487931251526, -0.6528103947639465, 0.23899832367897034, -1.126499056816101, 0.20315808057785034, -0.06686833500862122, -0.14222337305545807, -0.40551111102104187, -0.007831400260329247, 0.3166212737560272, 0.6319257020950317, -0.9332404136657715, 0.3055833876132965, 0.3778800070285797, -0.551749050617218, -0.6766858100891113, -0.029741276055574417, 0.4018637537956238, -0.6971401572227478, 0.4849449694156647, 0.3124099373817444, -0.3367570638656616, -0.22414875030517578, -0.9244559407234192, -0.3325408101081848, 0.5397744178771973, 0.3619630038738251, -0.5034275054931641, 0.7115662097930908, 0.28880977630615234, 0.5892800092697144, -0.15021705627441406, 0.3564324378967285, 0.5349239706993103, 0.40265023708343506, -0.23009558022022247, -0.9474716186523438, 0.00908837839961052, -0.5250357985496521, -0.39285916090011597, 0.5314178466796875, -0.6697276830673218, 0.6474176645278931, 0.30542558431625366, -0.32927340269088745, -0.09911849349737167, 0.3357885777950287, 0.11785709857940674, 0.3898109793663025, 0.7706614136695862, 0.5445045232772827, 0.584357500076294, -0.14969080686569214, 0.9555606245994568, -0.05588337406516075, -0.12005006521940231, 1.129819393157959, -0.15477874875068665, 0.7688820958137512, 0.15056945383548737, -0.18279793858528137, 0.532797634601593, 0.38054513931274414, 0.002296959748491645, 0.07807862758636475, 0.25148528814315796, -0.5816870927810669, -0.007734028622508049, -0.9250274300575256, -0.165577232837677, 0.731926679611206, 0.509428858757019, 0.0026754180435091257, -0.4039222002029419, 0.44786256551742554, 0.5578451752662659, 0.4081922471523285, -0.2864103615283966, 0.7904075384140015, 0.013958324678242207, -0.04987812414765358, 0.2243122160434723, 0.14190007746219635, 0.9444185495376587, -0.5112298727035522, -0.1081245020031929, -0.3461257517337799, 0.08333469182252884, -0.3573269546031952, -0.5870020389556885, 0.5263421535491943, 0.5181591510772705, -0.15433458983898163, -0.43613746762275696, 1.1437938213348389, -0.43461450934410095, -0.48877114057540894, 0.6767624020576477, 0.468833327293396, 0.26626214385032654, -0.3054333031177521, -0.7713629603385925, 0.2932153344154358, -0.21163314580917358, 0.3847796320915222, 0.537202000617981, 0.10797367990016937, -0.4996813237667084, 0.5432400703430176, 0.7541659474372864, -0.04213598743081093, 0.2746497094631195, 0.25145256519317627, 0.7783469557762146, -0.3417631983757019, -0.29145869612693787, -0.8211094737052917, 0.2129981517791748, -0.4797247648239136, -0.45417407155036926, 0.5665552616119385, 0.656080424785614, 0.7342296838760376, 0.26561325788497925, 0.6160280108451843, -0.36278045177459717, 0.8029659986495972, 0.13132618367671967, 0.8362155556678772, -0.16043543815612793, 0.2250923216342926, -0.34881117939949036, -0.5469783544540405, -0.48833760619163513, 0.2163044512271881, -0.08339094370603561, -0.10321854799985886, 0.25969719886779785, 0.8519610166549683, -0.039553120732307434, 0.04667229950428009, 0.37508025765419006, 0.42328622937202454, 0.3148491680622101, -0.048602133989334106, 0.9194632768630981, -0.6247611045837402, 0.7744897603988647, -0.1797151416540146, -0.013721903786063194, 0.0325436033308506, -0.657672107219696, -0.7483028173446655, -0.3457716703414917, -0.4817524254322052, -0.33423230051994324, 0.2836955785751343, 0.9509603381156921, 0.7336353063583374, -0.8737586736679077, -0.24129663407802582, -0.01264734473079443, 0.277024507522583, -0.23388640582561493, -0.3105296492576599, 0.1762481927871704, -0.15716777741909027, -0.9423291683197021, 0.3773689568042755, 0.5146541595458984, -0.4792484641075134, -0.1537962406873703, 0.0859789103269577, -0.8301615715026855, -0.09417006373405457, 0.8275073766708374, 0.42377689480781555, -0.42294928431510925, -0.2561926245689392, -0.0435856357216835, -0.13089248538017273, 0.08362407982349396, 0.7161906361579895, -0.4254397451877594, 0.5988592505455017, 0.5029698610305786, 0.7528944611549377, 0.06514973938465118, -0.1699286699295044, 0.41263115406036377, -1.1069622039794922, 0.23531924188137054, 0.28579896688461304, 0.2961968183517456, 0.7464287281036377, -0.3815096616744995, 0.6311701536178589, 0.4501139223575592, -0.04904080182313919, -1.1919424533843994, 0.029093047603964806, -0.6152909994125366, -0.3061962425708771, 0.8400707244873047, 0.0017228815704584122, -0.13511328399181366, -0.8078309893608093, -0.2266053557395935, 0.4524344503879547, -0.41471049189567566, 0.8797092437744141, 0.627938985824585, 0.17970728874206543, -0.45703938603401184, -0.7449005246162415, 0.47805795073509216, 0.4256075620651245, -0.651856541633606, 0.12462034076452255, 0.02590274251997471, 0.18647484481334686, 0.30436426401138306, 0.48070019483566284, -0.4966987073421478, 0.19201691448688507, -0.08292827010154724, 0.21763664484024048, -0.007895056158304214, -0.2688741385936737, -0.39168763160705566, 0.22933541238307953, -0.31173160672187805, -0.5296070575714111 ]
http://arxiv.org/abs/2404.02009v1
http://arxiv.org/pdf/2404.02009v1
Preuve de concept d'un bot vocal dialoguant en wolof
2024-04-02T14:53:41
2024-04-02T14:53:41
Elodie Gauthier, Papa-Séga Wade, Thierry Moudenc, Patrice Collen, Emilie De Neef, Oumar Ba, Ndeye Khoyane Cama, Cheikh Ahmadou Bamba Kebe, Ndeye Aissatou Gningue, Thomas Mendo'o Aristide
cs.CL
cs.CL, cs.HC
This paper presents the proof-of-concept of the first automatic voice assistant ever built in Wolof language, the main vehicular language spoken in Senegal. This voicebot is the result of a collaborative research project between Orange Innovation in France, Orange Senegal (aka Sonatel) and ADNCorp, a small IT company based in Dakar, Senegal. The purpose of the voicebot is to provide information to Orange customers about the Sargal loyalty program of Orange Senegal by using the most natural mean to communicate: speech. The voicebot receives in input the customer's oral request that is then processed by a SLU system to reply to the customer's request using audio recordings. The first results of this proof-of-concept are encouraging as we achieved 22\% of WER for the ASR task and 78\% of F1-score on the NLU task.
[ -0.7120164632797241, -0.7865946888923645, 0.3088811933994293, 0.4321107864379883, -0.06442411243915558, 0.15052619576454163, 0.013987093232572079, -0.6810968518257141, 0.24862883985042572, 0.5861308574676514, -0.41020962595939636, -0.25307318568229675, -0.44395434856414795, 0.09345649927854538, -0.5075904726982117, 0.6098731756210327, 0.35972580313682556, -0.16549214720726013, 0.15890054404735565, -0.29483234882354736, -0.32967254519462585, -0.5622959136962891, -0.8107770681381226, 0.01624666154384613, 0.4908195734024048, 0.5877097249031067, 0.540566623210907, -0.07826882600784302, 0.15835359692573547, 0.4509477913379669, -0.014759301207959652, 0.2278829962015152, -0.21090728044509888, -0.1858372539281845, 0.06752071529626846, -0.4683725833892822, -0.6391304135322571, -0.11155662685632706, 0.217972069978714, 0.4646376669406891, -0.5541326403617859, 0.010171834379434586, 0.06827699393033981, 0.8839293122291565, -0.4548899829387665, 0.14074262976646423, -0.556938111782074, -0.21325595676898956, 0.04757501557469368, 0.09428680688142776, -0.030205460265278816, -0.3584292531013489, 0.2691183388233185, -0.5547966361045837, 0.061385951936244965, -0.09442177414894104, 0.9654707908630371, 0.5524937510490417, -0.2602270841598511, -0.5534684658050537, -0.883375346660614, 0.4590725600719452, -0.7026647329330444, 0.31177958846092224, 0.35340502858161926, 0.5559017062187195, -0.365123987197876, -0.5747889876365662, -1.2498317956924438, -0.10843829065561295, 0.1136082261800766, 0.08484259247779846, -0.296078622341156, 0.0881149098277092, -0.04376770183444023, 0.3377145528793335, -0.5090891122817993, -0.13170211017131805, -0.4603668451309204, -0.49085670709609985, 0.8449086546897888, -0.44112148880958557, 0.3010775148868561, 0.011233609169721603, -0.296835333108902, -0.02650991454720497, -0.285617470741272, 0.1075328066945076, 0.45877400040626526, 0.3233276307582855, -0.11086210608482361, 0.5806301236152649, -0.2638043761253357, 0.8819176554679871, -0.18762534856796265, -0.33432385325431824, 0.5002673864364624, -0.1477849930524826, -0.3810978829860687, 0.643235445022583, 1.1174986362457275, -0.08050458878278732, 0.4320049285888672, 0.07261109352111816, -0.3810011148452759, -0.016329847276210785, 0.021033110097050667, -0.380493700504303, 0.0515611506998539, 0.14254476130008698, -0.3202890157699585, -0.19223660230636597, 0.30763593316078186, -0.36646315455436707, 0.02881103754043579, -0.044710561633110046, 0.7577325701713562, 0.047287315130233765, -0.6421182751655579, 0.06254463642835617, -0.10047052055597305, 0.1780061572790146, 0.33270034193992615, -0.3272484540939331, 0.23094424605369568, 0.2680080533027649, 0.6686890125274658, 0.06577412039041519, -0.1765642762184143, -0.34571918845176697, 0.002541002118960023, -0.0005420789238996804, 0.9144288897514343, -0.23035646975040436, -0.8365126252174377, 0.058688655495643616, 0.24894393980503082, 0.12025118619203568, -0.6091100573539734, 0.7351349592208862, -0.30574434995651245, 0.28522324562072754, 0.252883642911911, -0.20775271952152252, -0.22419846057891846, -0.03236716613173485, -0.6399581432342529, 0.9809309244155884, 0.4040111303329468, -0.3886681795120239, 0.24842703342437744, -1.0824813842773438, -0.7945298552513123, 0.15686069428920746, -0.1162545457482338, -0.2808859944343567, -0.19487176835536957, 0.08124658465385437, 0.17735998332500458, -0.3363497853279114, 0.08391338586807251, 0.2691830098628998, -0.15017038583755493, 0.22528952360153198, -0.3544277846813202, 1.1163911819458008, 0.4116613268852234, -0.569374680519104, -0.11473257839679718, -0.9215021729469299, 0.10293236374855042, 0.2806113064289093, -0.26721084117889404, 0.02271718718111515, -0.4287647604942322, 0.3099091649055481, 0.2217828631401062, 0.3792305290699005, -0.8921170234680176, 0.06890067458152771, -0.5888393521308899, 0.4768418073654175, 0.28775471448898315, -0.13744276762008667, 0.09638666361570358, -0.1701958030462265, 0.6661994457244873, -0.47656533122062683, 0.10985390841960907, -0.07305332273244858, -0.9621807336807251, -0.6702527403831482, -0.17015258967876434, 0.2585299611091614, 0.7923163771629333, -0.5290114283561707, 0.6136811971664429, 0.29543763399124146, -0.5539111495018005, -0.4848640561103821, 0.17872637510299683, 0.28437840938568115, 0.65467369556427, 0.06375101953744888, 0.016856104135513306, -0.47516536712646484, -1.1320972442626953, 0.06620475649833679, -0.5663865804672241, 0.04936620593070984, 0.43659505248069763, 0.2924957871437073, -0.4217027723789215, 0.978089451789856, -0.3068881630897522, -0.7126568555831909, -0.5049779415130615, 0.4326278567314148, 0.40885651111602783, 0.5552976727485657, 0.7719219923019409, -1.1207575798034668, -0.6297305226325989, 0.11316819489002228, -0.427062064409256, -0.3305598795413971, 0.4828277826309204, -0.08620046824216843, 0.3192346394062042, 0.3551856577396393, -0.45660293102264404, 0.7937968969345093, 0.8138635158538818, -0.12278161942958832, 0.19149628281593323, -0.47148597240448, 0.2930644750595093, -0.8995176553726196, -0.05471687391400337, -0.37005215883255005, -0.45288845896720886, -0.3942551016807556, -0.7494807243347168, -0.36527344584465027, -0.4391997456550598, -0.7755084037780762, 0.522573709487915, -0.19108590483665466, -0.017459342256188393, -0.6687621474266052, 0.07751526683568954, -0.15423628687858582, 0.5068085789680481, 0.12691424787044525, 0.9379562139511108, 0.5417345762252808, -1.1161284446716309, 0.4956040680408478, 0.6427128314971924, -0.06393636018037796, 0.7061816453933716, -1.1200413703918457, 0.20650309324264526, 0.26167193055152893, -0.09507881850004196, -1.159039855003357, -0.04296194016933441, -0.008816951885819435, -0.7874783277511597, -0.03935797140002251, 0.055619873106479645, -0.4231823980808258, -0.7397918105125427, 0.7140979766845703, 0.03845614567399025, 0.7751196026802063, -0.47441962361335754, 0.42573466897010803, 1.1530262231826782, -0.259684681892395, -0.16142266988754272, -0.6159688830375671, 0.10911276936531067, -0.018332181498408318, -0.8669202923774719, 0.19986814260482788, 0.2113638073205948, -0.15087874233722687, -0.3450697064399719, 0.015397140756249428, -0.4421660602092743, 0.08957729488611221, 0.08297207951545715, -0.03544048219919205, -0.07008019089698792, 0.024262987077236176, -0.1973111778497696, -0.16491317749023438, -0.11856679618358612, -0.4118993282318115, 0.6448657512664795, -0.4141343832015991, -0.18565070629119873, -0.7870669364929199, 0.3228462338447571, 0.6108818054199219, -0.2665727734565735, 0.6146807670593262, 0.566901683807373, -0.36375194787979126, -0.07622427493333817, -0.5176259875297546, 0.14851146936416626, -0.5519101619720459, 0.11107156425714493, -0.1214735209941864, -0.4579867124557495, 0.1847948282957077, -0.22641924023628235, -0.04152669012546539, 0.473533034324646, 0.4214550256729126, -0.6135223507881165, 1.0827239751815796, 1.0414124727249146, 0.09707663208246231, 0.5698255300521851, -0.49749934673309326, 0.10507988929748535, -0.4653148949146271, -0.36167487502098083, -0.7132492065429688, -0.2324020266532898, -0.8191443681716919, -0.14643575251102448, 0.5653997659683228, 0.03858677297830582, -0.054897721856832504, 0.5496382117271423, -0.5543185472488403, -0.055340491235256195, 0.6174329519271851, -0.04676831141114235, 0.15321384370326996, -0.3302600383758545, -0.0009668671991676092, 0.2732333242893219, -0.9000923037528992, -0.7055380344390869, 0.692582905292511, -0.028193484991788864, 0.6019721031188965, -0.03973327577114105, 0.6587173342704773, 0.5942091345787048, 0.09312666952610016, -0.7865117788314819, 0.5094249248504639, -0.06727641820907593, -0.32583755254745483, -0.7813611030578613, -0.043817952275276184, -1.1150070428848267, -0.05424321070313454, 0.23654773831367493, -0.682370126247406, 0.3080310821533203, 0.7338319420814514, 0.022472994402050972, -0.10608777403831482, -0.8481153249740601, 0.9924506545066833, -0.7652912735939026, -0.11181402951478958, 0.038616035133600235, -0.5854027271270752, -0.07300026714801788, 0.2558552920818329, 0.36320480704307556, -0.14520396292209625, 0.27348053455352783, 0.9657914042472839, -0.8138892650604248, 0.2825620472431183, -0.6292997598648071, -0.5292057394981384, 0.7072837352752686, -0.23860305547714233, 0.6459258794784546, -0.005124576855450869, -0.034137021750211716, 0.059399593621492386, -0.24987107515335083, -0.2518208622932434, -0.469882607460022, 0.47488853335380554, -0.539662778377533, -0.5362244248390198, -0.3614589273929596, -0.24366769194602966, -0.4244033098220825, 0.42174553871154785, 0.25717076659202576, 0.188673198223114, -0.5390068292617798, 0.1710779368877411, 0.49414217472076416, -0.48024260997772217, 0.4870057702064514, 0.6248210072517395, -0.26604267954826355, -0.26064664125442505, 0.983634352684021, -0.30922722816467285, 0.4355242848396301, 0.4646994471549988, 0.41110894083976746, -0.49547457695007324, -0.22888068854808807, -0.5164818167686462, 0.14291271567344666, -0.34623727202415466, 0.03126555681228638, -0.857168436050415, -0.14579500257968903, -0.3594251871109009, 0.005353021435439587, -0.7468889355659485, -0.44602474570274353, 0.17939241230487823, 0.22980815172195435, 0.4265132248401642, 0.8347374200820923, -0.15871618688106537, 0.4506767988204956, -0.5928724408149719, 0.6323263645172119, 0.6367909908294678, -0.22442197799682617, -0.4782414138317108, -0.23462995886802673, -0.1778562217950821, 0.5102895498275757, -0.1919199526309967, -0.5388891100883484, 0.46740657091140747, 0.39444801211357117, 0.8528829216957092, 0.2634377181529999, 0.0883338525891304, 0.5062728524208069, -0.3274425268173218, 0.7146960496902466, 0.21197746694087982, -0.9160186052322388, 0.964759886264801, -0.1967017501592636, 0.4410528838634491, 0.48783573508262634, 0.044433511793613434, -0.4888639450073242, -0.5201604962348938, -0.7369202375411987, -0.6816641092300415, 0.5650490522384644, 0.5430454015731812, -0.15325069427490234, 0.09664303064346313, -0.046572551131248474, 0.07496144622564316, 0.6319265961647034, -0.3670397996902466, -0.5032429695129395, -0.40073180198669434, -0.1967284232378006, -0.035409633070230484, 0.1237405315041542, 0.09600339084863663, -0.2149430811405182, 0.6968266367912292, -0.24693983793258667, 0.6458059549331665, 0.6234923005104065, -0.3039739727973938, 0.16761821508407593, 0.3596203625202179, 0.818265438079834, 0.746991753578186, 0.07801100611686707, -0.28876566886901855, -0.07157395780086517, -0.5407460927963257, 0.29167604446411133, -0.0794859230518341, 0.04466228559613228, 0.29923710227012634, 0.058293864130973816, 0.7269346117973328, -0.09139192849397659, -0.9185340404510498, 0.6251594424247742, -0.10730361193418503, -0.2653607726097107, -0.7472596168518066, 0.347619891166687, 0.08165404945611954, 0.03477688878774643, 0.4750727713108063, 0.0037963443901389837, 0.22974252700805664, -0.6200032234191895, 0.1881944090127945, 0.6062495708465576, -0.6359236240386963, -0.20879966020584106, 0.7695130705833435, 0.6548711657524109, -0.8381134271621704, 0.19576330482959747, -0.3814444839954376, -1.0427939891815186, 0.8325570821762085, 0.5763064026832581, 0.8325483798980713, -0.27944499254226685, 0.40344828367233276, 0.3085971772670746, 0.14314575493335724, -0.0069302404299378395, 0.6753137707710266, -0.3156364858150482, -0.6367391347885132, 0.11876346915960312, -0.5725478529930115, -0.37006667256355286, -0.008850396610796452, -0.6522516012191772, 0.3394361138343811, -0.12266425043344498, -0.09522945433855057, -0.16098491847515106, -0.35930752754211426, -0.960721492767334, 0.47733211517333984, 0.03923637792468071, 0.7134182453155518, -0.5174500942230225, 0.8629295825958252, 0.6697396636009216, -0.31456127762794495, -0.5124524235725403, -0.05120231583714485, -0.2884936034679413, -1.1517789363861084, 1.1781429052352905, -0.027990641072392464, -0.7785417437553406, 0.23323605954647064, -0.4813890755176544, -0.5618126392364502, 0.7296997904777527, 0.3146826922893524, -1.029140591621399, 0.3684048056602478, 0.22100627422332764, 0.4222984313964844, -0.3915787935256958, 0.06743693351745605, 0.4965273141860962, 0.6967604160308838, 0.1758928745985031, -1.607078194618225, -0.5360379219055176, -0.3085334300994873, -0.16818289458751678, 0.034127913415431976, -0.8054003715515137, 0.5859680771827698, -0.48197558522224426, -0.17717421054840088, 0.19323496520519257, 0.666312038898468, -0.22926877439022064, 0.21474185585975647, 0.9356861114501953, 0.359884649515152, 0.9068633317947388, -0.005976238753646612, 0.9014990329742432, -0.2613343596458435, -0.041444145143032074, 0.9988601803779602, -0.319095641374588, 0.5510752201080322, 0.5129379630088806, -0.29198217391967773, 0.5263259410858154, 0.13394759595394135, 0.43536967039108276, 0.5959731340408325, 0.2573060393333435, -0.168882355093956, 0.07647508382797241, -0.302740216255188, -0.39816102385520935, 0.8779340386390686, 0.4782605767250061, 0.06311852484941483, 0.30609333515167236, 0.7061770558357239, -0.29566308856010437, 0.169186070561409, -0.22741955518722534, 1.0318008661270142, -0.08298574388027191, -0.5003135204315186, 0.7016005516052246, -0.47153788805007935, 0.656423807144165, -0.5723001956939697, -0.223602756857872, 0.19157598912715912, 0.23977306485176086, -0.06834516674280167, -0.799773633480072, 0.2367718517780304, -0.014307528734207153, 0.10395684838294983, -0.2294933944940567, 0.45126864314079285, -0.5462308526039124, -0.5738215446472168, 0.2640882730484009, 0.5254766345024109, 0.18979118764400482, -0.18039482831954956, -0.8410214781761169, -0.0772884339094162, 0.023493748158216476, 0.0981128141283989, -0.3903603255748749, 0.5359416604042053, 0.18063591420650482, 0.6318474411964417, 0.5718930959701538, 0.2848072052001953, -0.0029289228841662407, 0.3125738203525543, 0.46516185998916626, -0.6063251495361328, -0.8956888318061829, -0.4251972436904907, 0.503125011920929, -0.09884953498840332, -0.4581158459186554, 0.6318372488021851, 0.5279332399368286, 0.9260799884796143, 0.054286446422338486, 1.2429653406143188, -0.48705390095710754, 0.7298603057861328, -0.31660377979278564, 0.7966226935386658, -0.8024591207504272, -0.02166166342794895, -0.49441638588905334, -0.8916624188423157, 0.32280299067497253, 1.0987554788589478, 0.20111212134361267, -0.15234529972076416, 0.6295111179351807, 0.745469331741333, 0.2624477744102478, 0.07257512211799622, 0.48547518253326416, 0.18473447859287262, 0.42645347118377686, 0.1504986584186554, 0.910515546798706, -0.6847897171974182, 0.8194059133529663, -0.3350239098072052, -0.2973622977733612, -0.12259697169065475, -0.6692790389060974, -0.8550365567207336, -0.6235920190811157, -0.258676141500473, -0.18743079900741577, -0.02486312948167324, 0.776873767375946, 0.7423092722892761, -0.935038149356842, -0.4432111382484436, -0.4450630843639374, 0.1764165759086609, -0.27388766407966614, -0.2384861707687378, 0.06412435322999954, 0.12677808105945587, -1.0069068670272827, 0.4495694041252136, 0.33920782804489136, 0.383230060338974, -0.4854801595211029, -0.43720555305480957, -0.3333052098751068, -0.2440803498029709, 0.40528225898742676, 0.7033476233482361, -0.6686323285102844, -0.1695338785648346, 0.15483622252941132, 0.11013835668563843, 0.22413116693496704, 0.8935367465019226, -0.7937471270561218, 0.6012967824935913, 0.35297054052352905, 0.38465604186058044, 0.3492724597454071, -0.08229831606149673, 1.0502405166625977, -0.5654881000518799, 0.8535773754119873, 0.45187482237815857, 0.44610610604286194, 0.2940666675567627, -0.46913108229637146, 0.3310560882091522, 0.18731689453125, -0.543383002281189, -0.5522328019142151, 0.15433938801288605, -1.0272226333618164, 0.13156947493553162, 0.7979544997215271, 0.20052753388881683, -0.3265276849269867, -0.5051486492156982, -0.8902094960212708, 0.31729018688201904, -0.7870559692382812, 0.44104713201522827, 0.41328251361846924, -0.41600170731544495, -0.046782903373241425, -0.5105050206184387, 0.44985008239746094, 0.055438075214624405, -0.9949591755867004, -0.38413482904434204, -0.08865249902009964, -0.16921497881412506, 0.35702311992645264, 0.769234299659729, -0.022031350061297417, 0.6190517544746399, -0.08359567821025848, 0.19265522062778473, -0.13796301186084747, -0.3199784755706787, 0.36875125765800476, -0.0702122375369072, -0.07144898921251297, -0.6156337261199951 ]
http://arxiv.org/abs/2404.02000v3
http://arxiv.org/pdf/2404.02000v3
Africa-Centric Self-Supervised Pre-Training for Multilingual Speech Representation in a Sub-Saharan Context
2024-04-02T14:43:36
2024-04-22T09:18:44
Antoine Caubrière, Elodie Gauthier
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
We present the first self-supervised multilingual speech model trained exclusively on African speech. The model learned from nearly 60 000 hours of unlabeled speech segments in 21 languages and dialects spoken in sub-Saharan Africa. On the SSA subset of the FLEURS-102 dataset, our approach based on a HuBERT$_{base}$ (0.09B) architecture shows competitive results, for ASR downstream task, compared to the w2v-bert-51 (0.6B) pre-trained model proposed in the FLEURS benchmark, while being more efficient by using 7x less data and 6x less parameters. Furthermore, in the context of a LID downstream task, our approach outperforms FLEURS baselines accuracy by over 22\%.
[ -0.7051353454589844, -0.3613002598285675, 0.14300571382045746, 0.5195335149765015, -0.2389722317457199, -0.22672218084335327, -0.3927636742591858, -0.5028836727142334, 0.6430743336677551, 0.5349680185317993, -0.7569113969802856, -0.27808254957199097, -0.5828651189804077, 0.11462058871984482, -0.39392828941345215, 0.7041183114051819, 0.20746052265167236, 0.23018065094947815, -0.02968820556998253, -0.18699869513511658, -0.03386678174138069, -1.0565330982208252, -0.4323398768901825, -0.16245043277740479, 0.6240631341934204, 0.44756102561950684, 0.19067128002643585, 0.27585411071777344, -0.07235527038574219, 0.3157554566860199, 0.10619258135557175, 0.18395529687404633, -0.36799556016921997, -0.16272972524166107, -0.0689629539847374, 0.037449050694704056, -0.3800683915615082, -0.004174124915152788, 0.07754894345998764, 0.6733739376068115, -0.2841170132160187, 0.28703629970550537, -0.004993070848286152, 0.5313711762428284, -0.5661782622337341, 0.12417405843734741, -0.5254245400428772, -0.20750205218791962, -0.7000155448913574, -0.007235234137624502, -0.3892776370048523, 0.320634126663208, 0.21239688992500305, -0.44117555022239685, 0.287433385848999, -0.527574896812439, 0.6347761750221252, 0.11665381491184235, -0.4798496961593628, -0.2167108803987503, -0.6142515540122986, 0.5893197059631348, -0.4672289192676544, 0.6254956722259521, 0.4188251495361328, 0.39284080266952515, 0.20323622226715088, -0.9399710893630981, -0.18866989016532898, 0.04546339064836502, 0.14902348816394806, 0.12822094559669495, -0.0008995027747005224, -0.19375573098659515, -0.07197217643260956, 0.06560679525136948, -0.4177539348602295, 0.18533527851104736, -0.652878999710083, -0.47404715418815613, 1.0059902667999268, -0.5402842164039612, -0.11173425614833832, -0.006498268805444241, -0.4049387276172638, 0.09859517216682434, -0.49416807293891907, 0.04486113041639328, 0.3810654878616333, 0.7414307594299316, -0.2829718291759491, 0.1958172619342804, -0.3224254548549652, 0.6702939867973328, -0.18566147983074188, -0.08689658343791962, 0.46439141035079956, -0.02425627037882805, 0.023124748840928078, 0.2697373926639557, 0.8892917633056641, -0.20980499684810638, 0.7784942388534546, -0.0898064523935318, -0.44323521852493286, -0.036002811044454575, 0.4686320722103119, -0.6711046695709229, -0.5230739712715149, -0.145142063498497, -0.3567380905151367, 0.12738724052906036, -0.15812009572982788, -0.5134296417236328, -0.04379323124885559, -0.5265618562698364, 0.6044771671295166, -0.34441712498664856, -0.16435691714286804, -0.3778592050075531, 0.5077508687973022, -0.04626789689064026, 0.10775352269411087, -1.0134267807006836, 0.059539586305618286, 0.3219683766365051, 0.7617535591125488, -0.023829560726881027, -0.43034881353378296, -0.3420378267765045, 0.09015779942274094, -0.2690947651863098, 0.6973349452018738, -0.16431500017642975, -0.4766748547554016, 0.026202989742159843, -0.005194738041609526, 0.06361076980829239, -0.23354671895503998, 0.598553478717804, -0.4003722667694092, -0.09859313815832138, -0.40035852789878845, -0.49595069885253906, -0.2921777367591858, -0.3011218011379242, -0.4757736921310425, 0.8500112295150757, 0.20959489047527313, -0.38523635268211365, 0.465082049369812, -0.5154709219932556, -0.7118024230003357, 0.07892124354839325, -0.43176132440567017, -0.30871039628982544, 0.06109199300408363, 0.8086408376693726, 0.24895288050174713, 0.0265035480260849, 0.1414734572172165, -0.09900981187820435, -0.09679098427295685, -0.20147332549095154, -0.4994734525680542, 0.9455634355545044, 0.2638283371925354, -0.41639378666877747, 0.18913498520851135, -0.7860075235366821, 0.046592868864536285, 0.1522899866104126, 0.12161184102296829, -0.174759179353714, -0.23201465606689453, 0.20859336853027344, 0.3925621509552002, 0.31557488441467285, -0.9080039262771606, -0.11072850972414017, -0.3578822910785675, 0.4075213670730591, 0.7020817399024963, -0.17840053141117096, 0.2058655023574829, 0.13932009041309357, 0.38889268040657043, 0.08127296715974808, 0.18610085546970367, -0.10647408664226532, -0.3733934462070465, -0.8407391905784607, -0.5401060581207275, 0.7326424717903137, 0.4172256290912628, -0.5533121824264526, 0.24606412649154663, -0.20495112240314484, -0.611471951007843, -0.7424736022949219, 0.4528353214263916, 0.18197058141231537, 0.4540562331676483, 0.7164241671562195, -0.1966087967157364, -0.6975067853927612, -1.159490942955017, 0.08517125248908997, 0.24231746792793274, 0.1593482941389084, 0.13298185169696808, 0.4651470482349396, -0.40710964798927307, 0.9389078617095947, -0.11383122205734253, -0.7958125472068787, -0.43133997917175293, 0.27761897444725037, 0.13455885648727417, 0.5502278804779053, 1.0658133029937744, -0.803921103477478, -0.5458975434303284, -0.2626141607761383, -0.6277632117271423, -0.25101786851882935, 0.2615055739879608, 0.04643518477678299, 0.5326094627380371, 0.6911139488220215, -0.25004103779792786, 0.4826570153236389, 0.8476772308349609, 0.228036031126976, 0.15123318135738373, -0.370687872171402, -0.17539654672145844, -0.8669528961181641, -0.13260644674301147, -0.16174998879432678, -0.32343950867652893, -0.8542001843452454, -0.447920024394989, 0.14535079896450043, -0.4111916422843933, -0.42599785327911377, 0.3381879925727844, -0.6215340495109558, -0.1594659835100174, -0.3469923138618469, 0.1127614676952362, -0.2836247384548187, 0.629004716873169, 0.5358455181121826, 0.9330742955207825, 0.6705114245414734, -0.6939110159873962, 0.11504549533128738, 0.3192218840122223, -0.3433942496776581, 0.364557683467865, -0.6849209070205688, 0.3356153964996338, -0.2150251716375351, 0.23814719915390015, -0.8444663286209106, -0.03853652998805046, -0.30473795533180237, -0.4815672039985657, 0.3837905526161194, -0.17478491365909576, -0.024558933451771736, -0.335933119058609, 0.406541109085083, 0.4430033564567566, 0.24330328404903412, -0.6870158910751343, 0.7250904440879822, 0.7323650121688843, -0.4451563358306885, -0.6284562945365906, -1.1194097995758057, -0.14055389165878296, 0.081163190305233, -0.6466044783592224, 0.21560420095920563, 0.3019755184650421, 0.19450774788856506, -0.4438769221305847, -0.21731173992156982, -0.09166858345270157, -0.10425449162721634, 0.3076700270175934, -0.23190851509571075, -0.2021118849515915, 0.06834380328655243, -0.11102547496557236, -0.13227568566799164, -0.00741844717413187, -0.3782617747783661, 0.7214637994766235, 0.03710906580090523, -0.40883857011795044, -0.4396428167819977, 0.5620894432067871, 0.020635444670915604, -0.7337339520454407, 0.9168592691421509, 0.6263951659202576, -0.23388002812862396, -0.17406165599822998, -0.5236924886703491, -0.16229470074176788, -0.46320641040802, 0.1585012525320053, -0.7257953882217407, -0.7303570508956909, 0.5289465188980103, 0.24804314970970154, 0.06719648092985153, 0.5033832788467407, 0.46463215351104736, -0.2626209259033203, 0.811810314655304, 0.632036566734314, -0.2291935831308365, 0.5186184048652649, -0.5694717168807983, 0.26630091667175293, -0.49857762455940247, -0.31251147389411926, -0.4384068250656128, -0.1905660182237625, -0.606050968170166, -0.32114672660827637, 0.41112521290779114, 0.11886169761419296, -0.13861258327960968, 0.325812429189682, -0.18978601694107056, 0.0002746756945271045, 0.7387949824333191, 0.07720990478992462, -0.28317803144454956, 0.08532159775495529, -0.1909605711698532, -0.08143851906061172, -0.850485622882843, -0.3891661763191223, 1.0521591901779175, 0.15246684849262238, 0.6566398739814758, 0.11627605557441711, 1.0838840007781982, 0.43690499663352966, 0.6287145018577576, -0.4754039943218231, 0.26515331864356995, -0.45201343297958374, -0.7841401100158691, -0.4479386806488037, -0.37656888365745544, -0.8959835171699524, 0.5359000563621521, -0.028164541348814964, -0.6474922895431519, 0.30039191246032715, 0.32045722007751465, -0.31001660227775574, 0.1397409290075302, -0.6289700865745544, 1.043463110923767, -0.559604287147522, 0.02669444866478443, -0.0064411526545882225, -0.8020719289779663, 0.10231734067201614, -0.32824796438217163, 0.5475209355354309, -0.1834608018398285, 0.27437856793403625, 0.7604541182518005, -0.5967569947242737, 0.5143908858299255, -0.6240795850753784, -0.171128511428833, 0.39114075899124146, -0.03515464439988136, 0.04750325530767441, -0.10482382029294968, -0.10645659267902374, 0.7562711238861084, -0.1082478016614914, -0.6118931770324707, -0.15373769402503967, 0.6158803701400757, -0.9647325277328491, -0.4008375108242035, -0.48777133226394653, -0.35235393047332764, -0.5601444840431213, 0.31750816106796265, 0.577965497970581, 0.9240714907646179, -0.18875820934772491, 0.33052071928977966, 0.3002969026565552, -0.025344207882881165, 0.4707989990711212, 0.6145756244659424, -0.25382742285728455, -0.5345517992973328, 0.8040152192115784, 0.3842286169528961, 0.24429388344287872, 0.3411328196525574, -0.056874990463256836, -0.6926377415657043, -0.5160653591156006, -0.6006349325180054, 0.31435471773147583, -0.7996354103088379, -0.21832610666751862, -0.8610329627990723, -0.4023899435997009, -0.8506131172180176, 0.04391924664378166, -0.636106014251709, -0.32252001762390137, -0.3594367504119873, -0.18910099565982819, 0.17268410325050354, 0.6313675045967102, -0.60051429271698, 0.7405748963356018, -0.7189628481864929, 0.36655500531196594, 0.4427333474159241, -0.00761177996173501, -0.17419402301311493, -0.8226523995399475, -0.2987954914569855, 0.4443456828594208, 0.0780477225780487, -0.7379592657089233, 0.6307140588760376, 0.6328846216201782, 0.7618492841720581, 0.2885148525238037, 0.0658159852027893, 0.814176619052887, -0.5631352066993713, 0.8032446503639221, -0.015220214612782001, -1.1727802753448486, 0.6711272597312927, -0.07293026149272919, 0.2210085093975067, 0.7098375558853149, 0.6131306886672974, -0.1816951036453247, 0.004240585491061211, -0.48362794518470764, -0.8638296723365784, 0.780234158039093, 0.22700335085391998, 0.05819755047559738, -0.012154270894825459, 0.17635558545589447, 0.0929470807313919, 0.2493768334388733, -0.6271833181381226, -0.4984847903251648, -0.5975950360298157, -0.08838751167058945, -0.7402767539024353, -0.2823064923286438, -0.05004396662116051, -0.2060650736093521, 0.9137899279594421, -0.20993785560131073, 0.19483375549316406, 0.47209832072257996, -0.6078947186470032, 0.11749553680419922, 0.12025590240955353, 0.7235620021820068, 0.949414849281311, -0.048518408089876175, -0.0353558287024498, 0.08006563037633896, -0.1804855763912201, 0.2750323414802551, 0.40513893961906433, -0.12387622147798538, 0.0684828832745552, 0.5078199505805969, 0.8943670392036438, 0.03228342905640602, -0.378436803817749, 0.5758193135261536, -0.03750402852892876, -0.17069052159786224, -0.6379383206367493, -0.4700827896595001, 0.1543901562690735, -0.006098917219787836, 0.4399307370185852, -0.05565345287322998, 0.062131237238645554, -0.4202028214931488, 0.46228495240211487, 0.2781515121459961, -0.657298743724823, -0.17879655957221985, 0.7315483689308167, 0.48590731620788574, -0.11337679624557495, 0.5002203583717346, 0.0044703297317028046, -0.6054580211639404, 0.28232550621032715, 0.4038824141025543, 0.4689013361930847, -0.6514958739280701, 0.24263307452201843, 0.19168701767921448, 0.45017388463020325, 0.28368502855300903, 0.5574116110801697, -0.18148793280124664, -0.7111721038818359, -0.41487690806388855, -0.8893583416938782, -0.005877509713172913, 0.09779985249042511, -0.8802562355995178, 0.028853001073002815, -0.0807543396949768, -0.21757614612579346, 0.29206857085227966, -0.20347556471824646, -0.5821506977081299, 0.5242974758148193, 0.4306603670120239, 0.9879835247993469, -0.9785317182540894, 1.0649926662445068, 0.6874450445175171, -0.35865190625190735, -0.7555313110351562, -0.2682068943977356, -0.10642329603433609, -0.6691134572029114, 0.7041019797325134, 0.3137844502925873, -0.42911824584007263, 0.04668731242418289, -0.25505104660987854, -0.9657871127128601, 0.5888239741325378, 0.5205024480819702, -0.7711137533187866, 0.4529821574687958, 0.20333179831504822, 0.5142144560813904, -0.5742799639701843, -0.03491482883691788, 0.46296679973602295, 0.16456735134124756, 0.06563246995210648, -1.1205288171768188, -0.644314169883728, 0.02107025310397148, 0.054118331521749496, 0.16295748949050903, -0.7041051983833313, 0.9293621182441711, -0.13149109482765198, -0.04109109565615654, 0.06981877237558365, 1.2829442024230957, -0.05246599391102791, 0.07732335478067398, 0.6908336281776428, 0.4167831242084503, 0.6064361333847046, -0.22795410454273224, 0.9683324694633484, -0.5193460583686829, 0.19691599905490875, 1.2934660911560059, -0.27426210045814514, 0.7094565629959106, 0.2052818238735199, 0.03660537675023079, 0.5253092050552368, 0.7931399345397949, 0.5921230912208557, 0.7300383448600769, -0.01466913428157568, -0.09474129974842072, -0.5646337866783142, -0.2162495255470276, -0.5681821703910828, 0.9765737056732178, 0.37689685821533203, -0.1392786204814911, -0.0682099461555481, 0.23204123973846436, -0.20914718508720398, 0.15566641092300415, -0.5783792734146118, 0.6697219610214233, 0.2453259974718094, -0.4365277588367462, 0.5805819034576416, -0.20326711237430573, 0.5824387669563293, -0.9886048436164856, 0.4601824879646301, -0.1680338978767395, 0.2940446436405182, -0.1651078760623932, -0.414580762386322, 0.1519724577665329, -0.08162271976470947, 0.04728609696030617, -0.3633917570114136, 0.4640522301197052, -0.8014089465141296, -0.6049908399581909, 0.5867582559585571, 0.5152587890625, 0.13463635742664337, -0.33236342668533325, -0.5193161368370056, 0.03432544693350792, 0.05225193127989769, -0.11256906390190125, 0.04420554265379906, 0.37825635075569153, -0.1294410079717636, 0.5925789475440979, 0.4080784022808075, 0.19450287520885468, 0.2526373267173767, 0.5897597670555115, 0.6616544723510742, -0.3610078692436218, -0.8619883060455322, -0.4762263000011444, 0.24322642385959625, -0.003492680611088872, -0.29471832513809204, 0.7571286559104919, 0.6062865257263184, 1.0659990310668945, -0.1602402925491333, 0.8516799807548523, -0.020985422655940056, 0.7311424016952515, -0.35375115275382996, 0.5382729172706604, -0.7200717926025391, -0.39742258191108704, -0.1642395555973053, -0.8317283391952515, 0.24032877385616302, 0.811977207660675, -0.24698835611343384, 0.25601404905319214, 0.20048058032989502, 0.5757282376289368, -0.17654947936534882, 0.11624156683683395, 0.3309028744697571, -0.04426782578229904, 0.3101000189781189, 0.08222542703151703, 0.5744754672050476, -0.30399808287620544, 0.3582872450351715, -0.7521055340766907, -0.14719197154045105, -0.006171543151140213, -0.6655276417732239, -0.8053001761436462, -0.6193479895591736, -0.0831565409898758, 0.007168690674006939, -0.08955249935388565, 1.0577802658081055, 1.2107093334197998, -1.3383498191833496, -0.46164584159851074, 0.3336602747440338, -0.5362095832824707, -0.32952097058296204, -0.10821777582168579, 0.21456529200077057, -0.2626546621322632, -0.4864269196987152, 0.9394643306732178, 0.15372131764888763, 0.18536539375782013, -0.5771603584289551, -0.010047194547951221, -0.601101815700531, 0.022039731964468956, 0.5972800254821777, 0.29169243574142456, -0.5689252018928528, -0.08779514580965042, -0.30408260226249695, 0.0792027935385704, 0.08716268092393875, 0.8135551810264587, -0.6286092400550842, 0.6047255396842957, 0.10521991550922394, 0.48815444111824036, 0.9744789004325867, 0.2854406237602234, 0.6841246485710144, -1.1659536361694336, 0.718052089214325, 0.30740538239479065, 0.5592030882835388, 0.6426677107810974, -0.034078966826200485, 0.528374195098877, 0.1176837608218193, -0.47641852498054504, -0.5655065178871155, 0.2488413006067276, -0.8546700477600098, -0.0020011586602777243, 0.8567385673522949, -0.4277031123638153, -0.11737228184938431, -0.08154596388339996, -0.02630675956606865, 0.3272915780544281, -0.4189116954803467, 0.2899974584579468, 0.4870290756225586, -0.2265966236591339, -0.22982220351696014, -0.41119641065597534, 0.509204626083374, 0.31153199076652527, -0.7130107879638672, -0.19159440696239471, 0.33073386549949646, 0.22603002190589905, 0.36872977018356323, 0.841972827911377, 0.12988589704036713, -0.01644544117152691, -0.07664848119020462, 0.24533526599407196, -0.1050766259431839, -0.702172577381134, -0.3344322443008423, 0.1405409276485443, -0.21361397206783295, -0.31402653455734253 ]
http://arxiv.org/abs/2404.01994v1
http://arxiv.org/pdf/2404.01994v1
DELAN: Dual-Level Alignment for Vision-and-Language Navigation by Cross-Modal Contrastive Learning
2024-04-02T14:40:04
2024-04-02T14:40:04
Mengfei Du, Binhao Wu, Jiwen Zhang, Zhihao Fan, Zejun Li, Ruipu Luo, Xuanjing Huang, Zhongyu Wei
cs.CV
cs.CV, cs.CL, cs.LG
Vision-and-Language navigation (VLN) requires an agent to navigate in unseen environment by following natural language instruction. For task completion, the agent needs to align and integrate various navigation modalities, including instruction, observation and navigation history. Existing works primarily concentrate on cross-modal attention at the fusion stage to achieve this objective. Nevertheless, modality features generated by disparate uni-encoders reside in their own spaces, leading to a decline in the quality of cross-modal fusion and decision. To address this problem, we propose a Dual-levEL AligNment (DELAN) framework by cross-modal contrastive learning. This framework is designed to align various navigation-related modalities before fusion, thereby enhancing cross-modal interaction and action decision-making. Specifically, we divide the pre-fusion alignment into dual levels: instruction-history level and landmark-observation level according to their semantic correlations. We also reconstruct a dual-level instruction for adaptation to the dual-level alignment. As the training signals for pre-fusion alignment are extremely limited, self-supervised contrastive learning strategies are employed to enforce the matching between different modalities. Our approach seamlessly integrates with the majority of existing models, resulting in improved navigation performance on various VLN benchmarks, including R2R, R4R, RxR and CVDN.
[ -0.29984691739082336, -0.25102922320365906, 0.3702673614025116, -0.1342647671699524, -0.20078103244304657, 0.15537039935588837, -0.11464483290910721, -0.41012296080589294, 0.21331709623336792, 0.4566655457019806, -0.6519562602043152, -0.6328939199447632, -0.24209201335906982, -0.26768648624420166, 0.061494845896959305, 0.7182136178016663, -0.0563981793820858, 0.12261182814836502, -0.02852657251060009, -0.21149949729442596, -0.6353906393051147, -0.17332550883293152, -0.6192821860313416, -0.17373250424861908, 0.6620444059371948, 0.31147435307502747, 0.7803151607513428, 0.6155745387077332, 0.6188227534294128, 0.27501386404037476, 0.058033671230077744, 0.45299842953681946, -0.49280062317848206, 0.12194403260946274, -0.6495920419692993, -0.25803545117378235, -0.3973739743232727, -0.26724427938461304, 0.601832389831543, 0.5653012990951538, 0.1499190777540207, -0.28802627325057983, 0.18963319063186646, 0.6823861002922058, -0.8347846865653992, 0.23207104206085205, -0.18163509666919708, 0.25936993956565857, -0.05837661027908325, -0.17597931623458862, -0.04227609559893608, -0.06938227266073227, 0.3903040885925293, -1.078948736190796, -0.03184780105948448, -0.03409073129296303, 0.7566353678703308, 0.7934157848358154, -0.8556642532348633, -0.024349872022867203, -0.7014236450195312, 0.8447410464286804, -0.3856046497821808, 0.6317561864852905, 0.16789507865905762, 0.47405827045440674, 0.05271294713020325, -0.4469049274921417, -0.5540709495544434, -0.1488264501094818, -0.3623560070991516, 0.5654408931732178, 0.063321053981781, 0.24966517090797424, -0.07879579067230225, 0.45085570216178894, -0.8400285243988037, 0.34269219636917114, -0.333858460187912, -0.21879903972148895, 0.3953871428966522, 0.3702690303325653, 0.3210641145706177, -0.06927435100078583, -0.870885968208313, -0.39616429805755615, -0.47550860047340393, 0.04389631748199463, 0.07547083497047424, 0.5894816517829895, -0.29660889506340027, 0.3673996925354004, -0.2763640582561493, 0.8628306984901428, 0.4110155403614044, -0.13894571363925934, 0.5031622648239136, -0.8965780138969421, -0.2551923096179962, 0.0670015811920166, 0.6569351553916931, 0.5045445561408997, -0.06259613484144211, 0.09968321025371552, -0.26660022139549255, 0.21498370170593262, 0.4710157811641693, -0.3608858287334442, -0.23667290806770325, -0.08931587636470795, -0.29728925228118896, -0.15346777439117432, -0.07712964713573456, -0.7842841744422913, -0.4862525761127472, -0.5909323692321777, 0.778550386428833, -0.26578637957572937, -0.3541468381881714, 0.2436099797487259, 0.15615375339984894, 0.5467691421508789, 0.5621570944786072, -0.7871142029762268, 0.147774800658226, 0.548303484916687, 0.46664002537727356, -0.26798686385154724, -0.4508632719516754, -0.45316413044929504, 0.4085860550403595, -0.2838168442249298, 0.2880120575428009, -0.9008041024208069, -0.3751065135002136, 0.1241377666592598, -0.018141968175768852, -0.3645712733268738, -0.4124872386455536, 0.3046087324619293, -0.41002291440963745, 0.6270827054977417, -0.2924284338951111, -0.03408518806099892, -0.45437246561050415, 0.5416635870933533, -0.7123948335647583, 0.9106134176254272, 0.15894457697868347, -0.5140690207481384, 0.36326608061790466, -0.5941353440284729, -0.7019026875495911, -0.0066075678914785385, -0.5490750074386597, -0.07333475351333618, -0.07236651331186295, 0.36753877997398376, 0.13572366535663605, -0.25844836235046387, -0.08332499116659164, 0.22955752909183502, -0.3127540349960327, -0.24962115287780762, -0.2398715764284134, 0.6117168068885803, -0.03830912336707115, -0.6651764512062073, 0.2658894658088684, -0.6681009531021118, -0.21413159370422363, -0.15210440754890442, -0.2883542478084564, -0.675328254699707, -0.19518181681632996, -0.2113199084997177, 0.5815962553024292, 0.6240967512130737, -0.29887861013412476, 0.09467646479606628, -0.5179229378700256, -0.3151945471763611, 0.5468875169754028, -0.2292264997959137, 0.8530634045600891, -0.16050967574119568, 0.5997097492218018, 0.46457260847091675, 0.338534951210022, -0.15917976200580597, -0.08701438456773758, -1.1099656820297241, -0.09258677065372467, -0.04814981669187546, 0.7623975276947021, -0.9164479970932007, 0.5134207606315613, -0.3269087076187134, -0.20962856709957123, -0.43426820635795593, 0.06684161722660065, 0.9503120183944702, 0.7286551594734192, 0.7098087072372437, -0.407825231552124, -0.3394915461540222, -0.9461634159088135, 0.15073716640472412, -0.09445485472679138, 0.10708007216453552, 0.3016364276409149, 0.17705978453159332, -0.37190693616867065, 0.4443333148956299, -0.225222647190094, -0.7127437591552734, -0.10782323777675629, -0.03151283785700798, -0.1560625284910202, 0.671494722366333, 0.43904179334640503, -1.0878709554672241, -0.4473804533481598, 0.5718192458152771, -0.729438304901123, 0.013658521696925163, -0.3652878403663635, -0.5159738659858704, 0.2564428448677063, 0.5186290740966797, -0.09750927239656448, 0.6178805828094482, 0.5285496115684509, -0.4082314074039459, -0.15971311926841736, -0.2485480159521103, 0.4046967625617981, -1.2559832334518433, 0.022020995616912842, 0.06461949646472931, -0.05542711913585663, -0.6054771542549133, -0.045124299824237823, 0.14247269928455353, 0.10214827954769135, -0.3169715106487274, 0.5498096346855164, -0.5892353057861328, -0.07195921242237091, -0.23566342890262604, 0.41713571548461914, 0.1922864317893982, 0.6751352548599243, 0.3265616297721863, 0.48786306381225586, 0.6244016885757446, -0.3811229169368744, 0.30292046070098877, 0.29871666431427, -0.10974354296922684, 0.8743244409561157, -0.2647472620010376, -0.26143160462379456, -0.13727283477783203, 0.1354382485151291, -1.103822946548462, 0.21737675368785858, 0.5741491913795471, -0.027235034853219986, 0.6596431732177734, -0.09521661698818207, 0.171547070145607, -0.09828919172286987, -0.20252156257629395, 0.7283118963241577, 0.3107835352420807, -0.6691333651542664, 0.9957573413848877, 0.15589585900306702, 0.1064518392086029, -1.0421761274337769, -0.6905331611633301, -0.05443758890032768, 0.06666192412376404, -0.569900631904602, 0.45012739300727844, -0.08710960298776627, -0.02776314690709114, -0.025902889668941498, -0.45426633954048157, 0.11346190422773361, -0.22471420466899872, 0.3949255645275116, 0.5835484266281128, -0.32496318221092224, -0.1613045036792755, 0.25147783756256104, -0.3092934191226959, -0.22207240760326385, -0.38407719135284424, 0.4140373766422272, -0.023290041834115982, -0.46504974365234375, -0.5907777547836304, 0.35007336735725403, 0.5931104421615601, -0.5550392270088196, 0.5631887316703796, 0.450136661529541, -0.17211198806762695, -0.04483132064342499, -0.48670950531959534, -0.06404424458742142, -0.4517430365085602, 0.40647146105766296, -0.4892847537994385, -0.8303371667861938, 0.4494173228740692, 0.03249276801943779, 0.1507824808359146, 0.2896154820919037, 0.41018617153167725, 0.0419805571436882, 0.7601449489593506, 0.6881803274154663, 0.10623569041490555, 0.6561073064804077, -0.23759537935256958, 0.3161182999610901, -0.8632819652557373, -0.8105552196502686, -0.0574524849653244, -0.7425588369369507, -0.3686577379703522, -0.7647577524185181, 0.361704558134079, -0.26471763849258423, -0.3029795289039612, 0.21110284328460693, -0.3582157492637634, 0.5546817183494568, 0.6306965351104736, 0.13260610401630402, 0.26128482818603516, -0.13709989190101624, -0.07831060886383057, -0.09225736558437347, -0.5864157676696777, -0.05515288561582565, 0.6461977362632751, -0.00836393516510725, 1.0232943296432495, 0.20188623666763306, 0.8723838925361633, 0.06842462718486786, -0.20956110954284668, -0.5708661675453186, 0.5944334864616394, -0.30548107624053955, -0.43089210987091064, -0.3726201355457306, -0.3809969425201416, -0.9174696803092957, 0.5342966914176941, -0.17723101377487183, -0.3773043751716614, 0.6257256269454956, 0.20122994482517242, -0.5169652700424194, 0.04801851883530617, -0.3001558780670166, 1.2957494258880615, -0.5544052720069885, -0.3241099715232849, -0.33111292123794556, -1.2564119100570679, 0.29011476039886475, -0.03239762783050537, -0.10762946307659149, 0.247740238904953, -0.41739168763160706, 0.3212971091270447, -0.12692126631736755, 1.0307291746139526, -0.07073349505662918, -0.34945517778396606, -0.13079753518104553, 0.2345505803823471, 0.15209946036338806, -0.26589784026145935, 0.40501150488853455, 0.07649928331375122, -0.2266301065683365, -0.1715514212846756, -0.6634941697120667, 0.8755468130111694, -0.7384936809539795, -0.593891978263855, -0.39196768403053284, -0.5849640369415283, -0.11365333199501038, 0.18620815873146057, 0.025725943967700005, 0.6327466368675232, -0.30758923292160034, -0.17655503749847412, 0.7816650867462158, -0.20764324069023132, 0.34038251638412476, 0.716487467288971, -0.17077703773975372, -0.4262833595275879, 1.0567656755447388, -0.13131144642829895, 0.46398067474365234, 0.9909060597419739, -0.012764671817421913, -0.32544708251953125, -0.5470083951950073, -0.45854267477989197, 0.19907885789871216, -0.5960316061973572, -0.2290746569633484, -0.28302568197250366, -0.2730877697467804, -0.23981958627700806, -0.5564612746238708, -0.5143239498138428, -0.44427821040153503, -0.310616135597229, 0.16937986016273499, -0.3694324493408203, 0.6088311076164246, -0.48403728008270264, 0.035523686558008194, -0.6273583173751831, 0.5337615609169006, 0.37190285325050354, 0.07686543464660645, -0.26658329367637634, -0.695737361907959, -0.29019245505332947, 0.016737831756472588, 0.11528555303812027, -0.4134456217288971, 0.10667397081851959, 0.03276913985610008, 0.6409193873405457, 0.435824453830719, 0.07225367426872253, 0.6774728298187256, -0.20989546179771423, 0.6195119023323059, 0.4941008985042572, -0.7288644313812256, 0.7629789710044861, -0.1560487151145935, 0.5873640179634094, 0.781387209892273, 0.40122324228286743, -0.4656538665294647, -0.26129400730133057, -0.07628384977579117, -0.722842276096344, 0.7102032899856567, -0.17979876697063446, -0.26098430156707764, 0.2204686999320984, 0.04598185420036316, 0.17041252553462982, -0.04656795784831047, -0.6082143187522888, -0.2472524493932724, -0.4048493206501007, -0.5331465005874634, -0.04895416647195816, -0.022968607023358345, -0.40316036343574524, -0.033530302345752716, 0.5903795957565308, -0.11827567964792252, -0.41313764452934265, 0.061455607414245605, -0.23878419399261475, -0.060500022023916245, -0.023668814450502396, 0.6018160581588745, 0.6241490840911865, 0.07977788895368576, 0.1013057753443718, -0.04927892982959747, -0.46782124042510986, 0.12345928698778152, 0.36122262477874756, -0.192439004778862, -0.38999462127685547, 0.1227831169962883, 0.7159896492958069, 0.5633596181869507, -0.5662618279457092, 0.7383872270584106, -0.15304957330226898, 0.04359595477581024, -0.12356558442115784, 0.22096791863441467, -0.31439879536628723, 0.7234201431274414, -0.014079248532652855, 0.10869604349136353, 0.05512259900569916, -0.36999523639678955, -0.08177989721298218, 0.4069374203681946, -0.5965414643287659, -0.2055111974477768, 0.6753742694854736, 0.5623896718025208, -0.03225927799940109, 0.4855807423591614, 0.1253322809934616, -0.449632853269577, 0.2871750295162201, 0.274150550365448, 0.8418959379196167, -0.5062536001205444, 0.16161328554153442, 0.4282512366771698, 0.34436070919036865, 0.12052792310714722, 0.3280627131462097, -0.328649640083313, -0.6523391604423523, -0.35817986726760864, -0.5438947081565857, -0.1882002204656601, -0.3214614689350128, -0.7845349311828613, 0.021204330027103424, -0.2811046838760376, 0.2744719982147217, -0.4278865158557892, -0.04147390276193619, -0.7107884883880615, 0.44750767946243286, 0.6386464834213257, 0.6309689879417419, -0.7491884827613831, 0.6779621243476868, 0.7405595779418945, -0.6643916368484497, -0.4764711856842041, 0.12834474444389343, 0.28173449635505676, -0.8314248323440552, 0.7531794309616089, 0.07297919690608978, -0.7058634757995605, -0.20614071190357208, 0.07405988872051239, -0.9752936363220215, 1.2331160306930542, 0.06885945051908493, -0.7919636368751526, -0.22329606115818024, 0.22088156640529633, 0.36141663789749146, -0.35547935962677, -0.13991743326187134, 0.40317219495773315, 0.41976404190063477, 0.3213401436805725, -1.0514787435531616, 0.1995621770620346, -0.17592161893844604, 0.049922771751880646, 0.49674898386001587, -0.852942705154419, 0.5189276933670044, -0.15060974657535553, -0.23238451778888702, 0.09954897314310074, 0.8073524832725525, -0.14633233845233917, 0.2648417353630066, 0.5918003916740417, 0.7551814317703247, 0.5385515689849854, -0.005694056395441294, 0.6216514110565186, -0.3312465250492096, -0.07709497958421707, 1.3182170391082764, -0.3426362872123718, 0.6490575671195984, 0.5123019218444824, 0.3881244957447052, 0.6463547945022583, 0.3117676079273224, 0.23020778596401215, 0.8601356744766235, -0.093742236495018, -0.43397822976112366, -0.5440730452537537, -0.14983628690242767, -0.5454877614974976, 0.7194991707801819, 0.31343746185302734, -0.31066837906837463, -0.2601258158683777, 0.05438981577754021, -0.2540372610092163, 0.17488504946231842, -0.47250285744667053, 0.808379054069519, -0.17214292287826538, -0.5719582438468933, 0.4106224477291107, -0.5053037405014038, 0.5496205687522888, -0.7491906881332397, -0.0996793881058693, -0.4091249406337738, 0.2779560387134552, -0.12376882135868073, -0.8126863241195679, -0.08370120823383331, -0.5243680477142334, -0.1689298152923584, -0.10443362593650818, 0.44518542289733887, -0.8712786436080933, -0.18875397741794586, 0.48442280292510986, 0.6434999704360962, -0.1598491668701172, 0.3330516815185547, -0.529708743095398, 0.20071767270565033, 0.1692841798067093, -0.19071662425994873, 0.4161510765552521, 0.4030477702617645, 0.19116228818893433, 0.3531099855899811, 0.19580353796482086, -0.39467012882232666, 0.09327256679534912, 0.32458266615867615, 1.0160726308822632, -0.7625798583030701, -0.4537588357925415, -0.529922604560852, 0.6996983289718628, -0.15396177768707275, -0.4195214807987213, 0.6076833605766296, 0.7250476479530334, 1.2570099830627441, 0.2013850063085556, 0.5667802095413208, 0.138144388794899, 0.155428946018219, -0.7518225312232971, 0.28512147068977356, -0.9724212288856506, 0.12213108688592911, 0.008255565539002419, -1.0016686916351318, -0.48208141326904297, 0.6745555400848389, -0.2805618643760681, 0.012664576061069965, 0.7453275322914124, 1.1025322675704956, -0.415641188621521, -0.2542802095413208, 0.5505197644233704, 0.005009764805436134, 0.12658877670764923, 1.0517551898956299, 0.979992151260376, -0.24600942432880402, 0.7806183099746704, -0.24873951077461243, -0.29430365562438965, -0.26338285207748413, -0.48239874839782715, -0.9679892659187317, -0.6598941683769226, -0.4601626694202423, -0.1930227428674698, 0.12883208692073822, 0.5930585861206055, 0.5817553997039795, -0.5401999354362488, -0.11435551196336746, 0.20678752660751343, -0.10089868307113647, -0.1573312133550644, -0.14742900431156158, 0.3231470286846161, -0.28337547183036804, -0.8527571558952332, 0.9404358267784119, 0.7566201090812683, 0.11942650377750397, -0.43050846457481384, -0.3169253468513489, -0.17110508680343628, -0.15524227917194366, 0.2778587341308594, 0.6531288623809814, -0.8573521971702576, -0.30791038274765015, -0.1576378494501114, -0.4316898584365845, 0.18289844691753387, 0.7766225337982178, -0.9628900289535522, 0.7585938572883606, 0.46876347064971924, 0.825939416885376, 0.4305199086666107, -0.00764843076467514, 0.6901518106460571, -0.29267528653144836, 0.01056117843836546, 0.23859797418117523, 0.247674822807312, 0.33424222469329834, -0.16736680269241333, 0.5508847832679749, -0.05824236571788788, -0.4568048417568207, -0.2849160432815552, 0.4217618405818939, -1.4158713817596436, -0.15817657113075256, 0.8467487692832947, 0.04389466717839241, -0.13338498771190643, -0.03372744098305702, -0.521872878074646, 0.2639792263507843, -0.11219321936368942, 0.4933061897754669, 0.04569815471768379, -0.0785072073340416, -0.03435423970222473, 0.026400169357657433, 0.31596633791923523, 0.6553261280059814, -0.6340175271034241, -0.052220214158296585, 0.8672636151313782, -0.14459381997585297, 0.28440791368484497, 0.2315812110900879, -0.04196285083889961, 0.44895854592323303, 0.14756639301776886, -0.02155386283993721, -0.12596391141414642, -0.6722366809844971, -0.5142316222190857, -0.06322207301855087, -0.3712684214115143, -0.5567381978034973 ]
http://arxiv.org/abs/2404.01992v1
http://arxiv.org/pdf/2404.01992v1
Dissecting Paraphrases: The Impact of Prompt Syntax and supplementary Information on Knowledge Retrieval from Pretrained Language Models
2024-04-02T14:35:08
2024-04-02T14:35:08
Stephan Linzbach, Dimitar Dimitrov, Laura Kallmeyer, Kilian Evang, Hajira Jabeen, Stefan Dietze
cs.CL
cs.CL
Pre-trained Language Models (PLMs) are known to contain various kinds of knowledge. One method to infer relational knowledge is through the use of cloze-style prompts, where a model is tasked to predict missing subjects or objects. Typically, designing these prompts is a tedious task because small differences in syntax or semantics can have a substantial impact on knowledge retrieval performance. Simultaneously, evaluating the impact of either prompt syntax or information is challenging due to their interdependence. We designed CONPARE-LAMA - a dedicated probe, consisting of 34 million distinct prompts that facilitate comparison across minimal paraphrases. These paraphrases follow a unified meta-template enabling the controlled variation of syntax and semantics across arbitrary relations. CONPARE-LAMA enables insights into the independent impact of either syntactical form or semantic information of paraphrases on the knowledge retrieval performance of PLMs. Extensive knowledge retrieval experiments using our probe reveal that prompts following clausal syntax have several desirable properties in comparison to appositive syntax: i) they are more useful when querying PLMs with a combination of supplementary information, ii) knowledge is more consistently recalled across different combinations of supplementary information, and iii) they decrease response uncertainty when retrieving known facts. In addition, range information can boost knowledge retrieval performance more than domain information, even though domain information is more reliably helpful across syntactic forms.
[ -0.39584723114967346, -0.5957962274551392, 0.7533316016197205, 0.2059190273284912, -0.4399915337562561, -0.16243866086006165, 0.00016336231783498079, -0.09698814153671265, 0.07997976988554001, 0.3540700674057007, -0.38377049565315247, -0.31718510389328003, -0.5275117754936218, 0.2884158790111542, -0.27801263332366943, 0.9039733409881592, 0.27624770998954773, 0.0727834403514862, -0.6600175499916077, -0.1200379729270935, -0.4468885064125061, -0.6922944188117981, -0.25574013590812683, -0.01074061170220375, 0.6243765950202942, 0.29186955094337463, 0.7254529595375061, 0.603642463684082, 0.48146483302116394, 0.31128841638565063, -0.24467425048351288, -0.0889749601483345, -0.1864680051803589, 0.2176538109779358, -0.3273453414440155, -0.5063551068305969, 0.1021084189414978, 0.09347674250602722, 0.5256128907203674, 1.028829574584961, -0.19502167403697968, 0.005709821358323097, 0.3474658131599426, 0.6159451603889465, -0.7221469283103943, 0.23205748200416565, -0.4993348717689514, -0.3463013172149658, -0.3280164301395416, -0.40065720677375793, -0.34065118432044983, -0.6102041602134705, 0.6691949963569641, -0.7883842587471008, 0.1874992549419403, 0.027186140418052673, 0.5925490260124207, 0.2358809858560562, -0.2624569237232208, -0.7046518325805664, -0.20740260183811188, 0.5621612071990967, -0.5510706305503845, 0.4050579071044922, 0.19914618134498596, 0.2360600233078003, -0.0999004915356636, -1.0771288871765137, -0.5804588794708252, -0.4891048073768616, -0.6077643036842346, -0.2626167833805084, -0.09188824892044067, 0.11912544816732407, 0.3492131531238556, 0.2532636225223541, -0.5401416420936584, -0.352450966835022, -0.29737749695777893, -0.22671331465244293, 0.17564909160137177, 0.12702834606170654, 0.35954606533050537, -0.32983657717704773, -0.5316513776779175, -0.28703776001930237, -0.9394937753677368, 0.30633702874183655, 0.19233690202236176, 0.14052070677280426, 0.3041873574256897, 0.3418983817100525, -0.3553963303565979, 0.9701231718063354, -0.08789198100566864, -0.21268561482429504, 0.058763742446899414, -0.5687096118927002, 0.15518136322498322, -0.14341920614242554, 0.8836105465888977, 0.2661909759044647, 0.1899571716785431, -0.2801586389541626, -0.03185778111219406, -0.18733447790145874, -0.16156527400016785, -0.6934345960617065, -0.4322240948677063, -0.32401031255722046, -0.22850759327411652, 0.24832916259765625, 0.28956177830696106, -0.9406920075416565, -0.5299289226531982, -0.5656121969223022, 0.3943069875240326, -0.6155483722686768, 0.024763161316514015, 0.14937447011470795, -0.5794618129730225, 0.15296022593975067, 0.4071239233016968, -0.6042110919952393, 0.19131146371364594, 0.5539749264717102, 0.6402679681777954, -0.10723854601383209, -0.5829359292984009, -0.6226333379745483, -0.04853992164134979, -0.08267559856176376, 0.7444233894348145, -0.8727998733520508, -0.4989998936653137, -0.1298331618309021, 0.014323820360004902, -0.3647401034832001, -0.7501692175865173, 0.4904114902019501, -0.6121388077735901, 0.4013664126396179, -0.8136134743690491, -0.7140016555786133, -0.18632104992866516, -0.05764200538396835, -0.6064669489860535, 0.6701777577400208, 0.08643017709255219, -0.8778530359268188, 0.17229849100112915, -0.19039969146251678, -0.5011478066444397, 0.034007132053375244, -0.2340821921825409, 0.16428020596504211, -0.0376589260995388, 0.15293239057064056, 0.351197212934494, -0.5431262254714966, 0.4768891930580139, -0.21482150256633759, -0.21715335547924042, 0.2953025698661804, -0.19594287872314453, 0.6619598269462585, 0.1465650051832199, -0.1899951994419098, -0.1018928810954094, -0.7018197774887085, -0.26609542965888977, 0.006333999801427126, -0.18335872888565063, -0.6836057305335999, -0.1799248903989792, -0.6275362372398376, 0.26795223355293274, 0.3647782504558563, -0.29100555181503296, -0.03848100081086159, -0.14167235791683197, 0.282145231962204, 0.42717596888542175, 0.32302892208099365, 0.5668944120407104, -0.41960832476615906, 0.7183613777160645, 0.05696363002061844, 0.13449349999427795, -0.4067806601524353, -0.4067061245441437, -0.3847816586494446, -0.008595600724220276, 0.2256098985671997, 0.4352576732635498, -0.9410268664360046, 0.16875281929969788, -0.09003466367721558, -0.4533623456954956, -0.568383514881134, 0.2168692648410797, 0.4622327387332916, 0.8971787095069885, 0.5614157915115356, 0.14264638721942902, -0.5264140963554382, -0.6710950136184692, -0.4951684772968292, -0.16185393929481506, -0.08003424108028412, 0.19020962715148926, 0.3107817471027374, 0.33382511138916016, 1.0280447006225586, -0.5770041942596436, 0.09464702755212784, -0.3379625082015991, -0.15780533850193024, 0.15359191596508026, 0.30443212389945984, 0.7167211174964905, -0.6984397172927856, -0.5041775703430176, -0.3867039382457733, -0.7017313241958618, -0.28196853399276733, -0.0010088225826621056, -0.20566938817501068, -0.5645512938499451, 0.5362135171890259, -1.039237141609192, 0.06992606073617935, 0.12183810770511627, -0.2776730954647064, 0.702347993850708, 0.0464978963136673, 0.12541751563549042, -0.725924015045166, 0.2885829210281372, -0.32124432921409607, 0.0935850739479065, -0.5834516882896423, -0.004259088542312384, 0.1131853461265564, -0.10729845613241196, -0.5263447761535645, 0.5982810854911804, -0.44554415345191956, 0.1639471799135208, -0.03883571922779083, 0.36685511469841003, 0.44624343514442444, 0.33663827180862427, 0.14278218150138855, 1.0778154134750366, 0.551625669002533, -0.8856020569801331, 0.32386094331741333, 0.37987273931503296, -0.3843415379524231, 0.43280860781669617, -0.7893996238708496, 0.059486448764801025, -0.25786229968070984, 0.1751704216003418, -0.8388423919677734, -0.03647543117403984, 0.18217508494853973, -0.3207744359970093, 0.1726040542125702, 0.2006215751171112, -0.5750816464424133, -0.030348272994160652, -0.5891073346138, 0.40718400478363037, 0.4591596722602844, -0.5898255109786987, 0.12104412168264389, 0.2535270154476166, -0.4736720323562622, -0.5592271685600281, 0.014825426042079926, -0.04151109233498573, -0.4074711203575134, -0.3811558187007904, 0.058529868721961975, -0.17628125846385956, -0.3659153878688812, -0.13531213998794556, -0.13309569656848907, 0.16609981656074524, 0.27229323983192444, -0.18854562938213348, 0.15121454000473022, -0.21848390996456146, 0.23194655776023865, 0.10116676241159439, 0.07659028470516205, 0.2121228575706482, -0.2178857922554016, 0.7037183046340942, -0.121407151222229, -0.18382586538791656, -0.35371771454811096, 0.30698904395103455, 0.5110822319984436, -0.4338214695453644, 0.8753635287284851, 0.14075534045696259, -0.06862285733222961, -0.002082090824842453, -0.42739298939704895, -0.4661557078361511, -0.4567466974258423, -0.10447169095277786, -0.3759615123271942, -0.6500632166862488, 0.4307582378387451, -0.09039174765348434, -0.3689049482345581, 0.38866809010505676, 0.09733816981315613, -0.11034776270389557, 0.5728299617767334, 0.27941861748695374, 0.16858625411987305, 0.5901734232902527, -0.026265589520335197, -0.12728430330753326, -0.7072272300720215, -0.5594131350517273, -0.5557552576065063, 0.012108264490962029, -0.20637066662311554, -0.16661259531974792, 0.4389781057834625, 0.5132459998130798, 0.013670546002686024, 0.2968103289604187, -0.20506496727466583, 0.4025283753871918, 0.8552337884902954, 0.17452660202980042, 0.3880802094936371, -0.3314000368118286, -0.16679136455059052, -0.038181450217962265, -0.8345487117767334, -0.5614219903945923, 0.8443573117256165, 0.0013394722482189536, 0.6663307547569275, 0.050359953194856644, 0.40062883496284485, -0.017978964373469353, -0.08774834871292114, -0.48552146553993225, 0.6898841857910156, 0.03575035557150841, -0.3619847297668457, -0.08757689595222473, -0.37992382049560547, -0.9696329832077026, 0.2800811231136322, 0.16872723400592804, -0.42270326614379883, 0.3943846523761749, 0.060066211968660355, -0.5693869590759277, -0.21843881905078888, -0.8579080700874329, 0.8814420104026794, -0.047209348529577255, -0.06104900315403938, 0.16618594527244568, -1.1012718677520752, 0.1303606480360031, -0.04438752308487892, 0.05686334893107414, -0.012587505392730236, -0.10590710490942001, 0.907957911491394, -0.6122655868530273, 0.7495501637458801, -0.28148648142814636, 0.12821170687675476, 0.5452678203582764, 0.09179326146841049, 0.4716763496398926, 0.1927589476108551, -0.117669478058815, -0.1872391402721405, 0.23489700257778168, -0.29060661792755127, -0.8541808128356934, 0.5012761950492859, -0.4352622330188751, -0.9706370234489441, -0.24847003817558289, -0.5883468389511108, -0.3186078667640686, 0.17254768311977386, 0.4082028865814209, 0.5199235081672668, 0.1001046895980835, 0.3380185663700104, 0.6675503253936768, -0.2749420702457428, 0.3521521985530853, 0.6635442972183228, 0.033063534647226334, -0.31347715854644775, 0.6954838633537292, 0.050254564732313156, 0.41381892561912537, 0.6884016990661621, 0.2828432619571686, -0.5682907104492188, -0.4001792371273041, -0.23721136152744293, 0.4638492166996002, -0.9377003312110901, -0.3055255711078644, -0.7298614978790283, 0.08668652176856995, -0.5113136172294617, 0.13685277104377747, 0.12152083963155746, -0.4610808491706848, -0.49097001552581787, -0.13010825216770172, 0.4473857283592224, 0.566497266292572, 0.10447795689105988, 0.4862460494041443, -0.9243875741958618, 0.008926629088819027, 0.4048769474029541, -0.119280144572258, -0.15896464884281158, -0.39476439356803894, 0.05692261457443237, -0.054034218192100525, -0.16080836951732635, -1.2471730709075928, 0.059047214686870575, 0.3515152335166931, 0.7600510120391846, 0.31462153792381287, 0.4139614701271057, 0.6145131587982178, -0.446725070476532, 0.7813522815704346, 0.057615727186203, -0.9065585136413574, 0.7851704359054565, -0.3091222047805786, 0.21391379833221436, 0.7391476035118103, 0.6171771883964539, -0.33669617772102356, -0.46995702385902405, -0.6657307744026184, -0.49938175082206726, 0.6168847680091858, 0.08493953198194504, 0.02352655865252018, -0.46480926871299744, 0.5059986114501953, 0.4432533383369446, 0.6899232268333435, -0.2703670263290405, -0.25022271275520325, -0.03691631928086281, -0.0777093693614006, -0.0837511494755745, -0.3523314297199249, -0.058165691792964935, -0.32572540640830994, 0.158824622631073, 0.12091859430074692, -0.013145668432116508, 0.3186448812484741, -0.30445247888565063, 0.40047788619995117, 0.3140205144882202, 0.5353923439979553, 0.8744886517524719, 0.0008444531704299152, 0.514385461807251, 0.19085575640201569, -0.25564220547676086, -0.011323484592139721, 0.30105987191200256, -0.037074606865644455, 0.4568394720554352, 0.6087943315505981, 0.766663670539856, 0.16017106175422668, -0.8140926361083984, 0.6482077240943909, 0.10035986453294754, 0.17356881499290466, 0.16229389607906342, 0.01142457127571106, 0.0017240637680515647, 0.1690208613872528, 0.33121082186698914, 0.05178895965218544, 0.3883154094219208, -0.5923346877098083, 0.4659601151943207, 0.3337492346763611, 0.07910040020942688, -0.6039466261863708, 0.5890038013458252, 0.04823979362845421, -0.034519266337156296, 0.4254890978336334, -0.1831953525543213, -0.502995491027832, 0.4129350781440735, 0.44238707423210144, 0.2836633622646332, -0.45084401965141296, 0.2862412929534912, 0.16287188231945038, 0.015088281594216824, -0.2223288118839264, 0.21813519299030304, -0.3158789277076721, -0.30482345819473267, -0.21159492433071136, -0.6711647510528564, -0.261650025844574, 0.08075986057519913, -0.7305821180343628, 0.27266672253608704, -0.42257159948349, 0.021429581567645073, -0.24159903824329376, -0.15795378386974335, -0.7419138550758362, 0.0894431620836258, -0.26066353917121887, 0.9619894623756409, -0.6524817943572998, 0.709985613822937, 0.796225905418396, -0.6061604619026184, -0.8798407316207886, 0.0727037712931633, -0.4225023686885834, -0.7407400012016296, 0.5677222609519958, 0.15323872864246368, 0.031389813870191574, 0.16965150833129883, -0.20532634854316711, -0.8569598197937012, 1.053299903869629, 0.8333235383033752, -0.4615399241447449, -0.23905853927135468, 0.16647660732269287, 0.5270217657089233, -0.16819873452186584, 0.27903100848197937, 0.8051081299781799, 0.233328714966774, 0.24034731090068817, -1.091286301612854, 0.25874659419059753, -0.06944037973880768, -0.12417636066675186, 0.22809244692325592, -0.3169844150543213, 1.0485514402389526, -0.15362870693206787, -0.3509882092475891, -0.007242980878800154, 0.4539805054664612, 0.37565740942955017, 0.4138563871383667, 0.3735530376434326, 0.3424382209777832, 0.945766270160675, 0.12507741153240204, 1.1029900312423706, -0.5727782845497131, 0.17177900671958923, 1.0069870948791504, -0.09692727029323578, 0.6612545847892761, 0.6417747735977173, -0.20259900391101837, 0.5036647915840149, 0.6160662174224854, 0.449174165725708, 0.9413050413131714, -0.020743630826473236, -0.3346257209777832, -0.059214845299720764, -0.4392780065536499, -0.6734005212783813, 0.04534774273633957, 0.4105781316757202, -0.4304966330528259, -0.5016875267028809, 0.206154927611351, 0.15744972229003906, 0.09754321724176407, -0.06186681240797043, 0.9180992245674133, 0.31086215376853943, -1.053360939025879, 0.6437559723854065, -0.49324527382850647, 0.31792503595352173, -0.5885757803916931, -0.051476411521434784, -0.37691426277160645, -0.010830528102815151, -0.06222507730126381, -0.8450939059257507, 0.25882548093795776, -0.30666467547416687, 0.021157797425985336, -0.22261929512023926, 0.6774527430534363, -0.608953058719635, 0.019906168803572655, 0.24017295241355896, 0.826239824295044, 0.11959206312894821, -0.42582520842552185, -0.5137957334518433, -0.11919263005256653, -0.10571882128715515, -0.19811215996742249, 0.35468390583992004, 0.8912742137908936, 0.082516148686409, 0.594744086265564, 0.583305835723877, -0.10924790799617767, 0.282626748085022, -0.044618718326091766, 1.210805058479309, -0.5245994329452515, -0.521815299987793, -1.1148011684417725, 0.3092826306819916, 0.04595157876610756, -0.30113521218299866, 0.9866229891777039, 0.46210941672325134, 0.6319445371627808, -0.2927922010421753, 0.6387528777122498, 0.07704076915979385, 0.5591021776199341, -0.655738353729248, 0.30499333143234253, -0.2904331386089325, 0.5173433423042297, -0.13941161334514618, -0.7520775198936462, -0.05908704176545143, 0.3080101013183594, -0.5260391235351562, -0.11262231320142746, 0.9197772145271301, 0.6575214266777039, 0.17569008469581604, 0.06114668399095535, 0.050853580236434937, -0.2174118012189865, 0.19121098518371582, 0.4349037706851959, 1.2370285987854004, -0.1070752888917923, 0.7482267022132874, -0.26535728573799133, -0.09866712987422943, 0.031039385125041008, -0.5572407245635986, -0.933413028717041, -0.746796727180481, -0.03739636391401291, -0.0984828770160675, 0.08363516628742218, 0.7397955060005188, 0.30511975288391113, -0.60239177942276, -0.027095958590507507, -0.2466447353363037, 0.2940889596939087, 0.0657292902469635, -0.23415766656398773, 0.437227338552475, -0.7356997728347778, -0.5269317030906677, 0.5838512778282166, -0.059643086045980453, 0.04825727641582489, 0.1694478690624237, -0.052428554743528366, -0.1918455809354782, -0.1311047375202179, 0.448769211769104, 0.1005789265036583, -0.6232404708862305, -0.128280371427536, 0.3582255244255066, -0.07603747397661209, -0.07275749742984772, 1.0121370553970337, -0.9826062917709351, 0.2395220696926117, 0.7480995655059814, 0.5663207173347473, -0.10536570847034454, 0.2805159389972687, 0.7900328040122986, -0.9616737365722656, 0.19841249287128448, 0.31097108125686646, 0.40391549468040466, 0.366167277097702, -0.29050490260124207, 0.20309452712535858, 0.584736704826355, -0.3966050446033478, -0.7114017605781555, 0.18024207651615143, -0.7093933820724487, -0.407123327255249, 1.319259524345398, -0.43915292620658875, -0.006751260720193386, -0.11378781497478485, -0.320658802986145, 0.0922631099820137, -0.4124376177787781, 0.39602312445640564, 0.8079055547714233, -0.07915084809064865, -0.2501322031021118, -0.43524274230003357, 0.8569545149803162, 0.574231743812561, -0.619347095489502, -0.061613962054252625, 0.4138438105583191, 0.31597939133644104, 0.19687139987945557, 0.5416634678840637, 0.09786572307348251, 0.2936285734176636, -0.13815779983997345, -0.4182482361793518, -0.07378652691841125, -0.3579166531562805, -0.22363562881946564, 0.3537939190864563, 0.15826620161533356, -0.32896557450294495 ]
http://arxiv.org/abs/2404.01991v1
http://arxiv.org/pdf/2404.01991v1
Kallaama: A Transcribed Speech Dataset about Agriculture in the Three Most Widely Spoken Languages in Senegal
2024-04-02T14:31:14
2024-04-02T14:31:14
Elodie Gauthier, Aminata Ndiaye, Abdoulaye Guissé
cs.CL
cs.CL
This work is part of the Kallaama project, whose objective is to produce and disseminate national languages corpora for speech technologies developments, in the field of agriculture. Except for Wolof, which benefits from some language data for natural language processing, national languages of Senegal are largely ignored by language technology providers. However, such technologies are keys to the protection, promotion and teaching of these languages. Kallaama focuses on the 3 main spoken languages by Senegalese people: Wolof, Pulaar and Sereer. These languages are widely spoken by the population, with around 10 million of native Senegalese speakers, not to mention those outside the country. However, they remain under-resourced in terms of machine-readable data that can be used for automatic processing and language technologies, all the more so in the agricultural sector. We release a transcribed speech dataset containing 125 hours of recordings, about agriculture, in each of the above-mentioned languages. These resources are specifically designed for Automatic Speech Recognition purpose, including traditional approaches. To build such technologies, we provide textual corpora in Wolof and Pulaar, and a pronunciation lexicon containing 49,132 entries from the Wolof dataset.
[ -0.26334670186042786, -0.7866420149803162, 0.4290519952774048, 0.5051318407058716, 0.01607605442404747, 0.06088816374540329, -0.43757835030555725, -0.7361287474632263, 0.3221534192562103, 0.7741098999977112, -0.022037815302610397, -0.5087961554527283, -1.0654067993164062, 0.26828306913375854, -0.5776062607765198, 0.9325929284095764, 0.025673342868685722, -0.32040533423423767, 0.19757038354873657, -0.5328711271286011, -0.5097638964653015, -0.5238299369812012, -0.38703447580337524, -0.0757562592625618, 0.5193636417388916, 0.6640931963920593, 0.5914650559425354, 0.24519653618335724, 0.02946285344660282, 0.3480638861656189, -0.2561630308628082, 0.41730302572250366, -0.31670448184013367, 0.1461515873670578, 0.060382433235645294, -0.255188912153244, -0.23815271258354187, -0.08196569979190826, 0.4170575737953186, 0.6602463722229004, -0.36948665976524353, 0.35970112681388855, 0.0845528244972229, 0.7007948160171509, -0.754623293876648, 0.6354690790176392, -0.4328560531139374, -0.03883346542716026, -0.4604366421699524, 0.018226413056254387, -0.28216034173965454, -0.8105228543281555, 0.28275641798973083, -0.6527827978134155, 0.005475034937262535, -0.5487638711929321, 0.8549557328224182, 0.07611498236656189, -0.4522378742694855, -0.6267787218093872, -0.75274658203125, 0.6643901467323303, -0.42811745405197144, -0.04456847533583641, 1.0797758102416992, 0.5983331799507141, -0.44955265522003174, -0.3496667146682739, -0.7005319595336914, -0.012028595432639122, -0.021086759865283966, 0.12832504510879517, -0.14967665076255798, -0.22780698537826538, -0.31024545431137085, 0.39543700218200684, -0.2983390688896179, -0.002285003662109375, -0.47732865810394287, -0.3929797112941742, 0.5116026401519775, -0.1735810935497284, 0.07402683049440384, 0.17506767809391022, 0.19038432836532593, -0.4174453318119049, -0.40438732504844666, 0.08381130546331406, 0.6229614019393921, 0.5313282012939453, -0.137473925948143, 0.44804760813713074, -0.25162991881370544, 0.9011176824569702, -0.3452039659023285, -0.6194735169410706, 0.5850275158882141, -0.05595063790678978, -0.2798749506473541, 0.2317887246608734, 0.787631094455719, -0.009845081716775894, 0.06682492047548294, 0.19717852771282196, 0.051859717816114426, 0.26864492893218994, -0.04283859208226204, -0.006381313782185316, -0.1768123209476471, 0.13537800312042236, -0.32837995886802673, -0.3819717466831207, 0.006780112162232399, -1.223021149635315, -0.40548065304756165, 0.2605080008506775, 0.4588285982608795, -0.11466033011674881, -0.045093026012182236, 0.11166923493146896, 0.07525235414505005, 0.3035968840122223, 0.13408689200878143, -0.8786327838897705, 0.4242747724056244, 0.48929861187934875, 0.8225558996200562, 0.3293992578983307, -0.1822787970304489, -0.6582022309303284, 0.10057270526885986, -0.2698507010936737, 0.6495065093040466, -0.8542976379394531, -0.9878605604171753, 0.06765439361333847, 0.4174495339393616, -0.09732665121555328, -0.6178821921348572, 0.9279811978340149, -0.3197266161441803, 0.10827828198671341, -0.26396477222442627, -0.31500115990638733, -0.7379913330078125, -0.2583831250667572, -0.8055741786956787, 0.8581792712211609, 0.11085208505392075, -0.14923135936260223, 0.389467716217041, -0.7763601541519165, -0.8528682589530945, 0.051166992634534836, -0.25628581643104553, -0.41914287209510803, -0.2909945547580719, 0.19405043125152588, 0.4252927005290985, -0.41890856623649597, 0.15610761940479279, 0.408493310213089, 0.23438385128974915, 0.2000800222158432, -0.4626402258872986, 0.6236813068389893, 0.509711742401123, -0.48214638233184814, -0.41256770491600037, -1.0493131875991821, -0.38719552755355835, 0.12799614667892456, -0.4890795052051544, 0.06376966834068298, 0.21259236335754395, 0.6185157299041748, -0.13474927842617035, 0.28147608041763306, -0.8255935907363892, -0.022043777629733086, -0.40349987149238586, 0.34060707688331604, 0.5521331429481506, -0.15345337986946106, 0.3332173526287079, -0.2907879948616028, 0.5779001712799072, 0.027929022908210754, 0.14907625317573547, 0.028090015053749084, -0.8552654981613159, -0.6867341995239258, -0.16587580740451813, 0.4339635670185089, 0.577639639377594, -0.14706063270568848, 0.22338636219501495, 0.21560975909233093, -0.6900250911712646, -0.7647480368614197, 0.1228981614112854, 0.2428983598947525, 0.7390310168266296, 0.2716291546821594, -0.10975120961666107, -0.6362762451171875, -1.1712956428527832, 0.3560140132904053, 0.11324344575405121, 0.4388834536075592, 0.12968237698078156, 0.1920391023159027, -0.36643674969673157, 0.7249495983123779, -0.5666264295578003, -0.68316650390625, -0.15590831637382507, 0.3352423310279846, 0.596125066280365, 0.398422509431839, 0.562946617603302, -0.8945032358169556, -0.5449992418289185, 0.47710633277893066, -0.36332830786705017, -0.21620340645313263, 0.3457251191139221, 0.09924579411745071, 0.46547773480415344, -0.26260533928871155, -0.3162301480770111, 0.47112709283828735, 0.9557647705078125, -0.031670309603214264, 0.12498557567596436, -0.21874050796031952, 0.10626951605081558, -0.873927891254425, 0.08299970626831055, -0.1777578890323639, -0.057024601846933365, -0.3743213713169098, -0.2716200351715088, -0.3171936273574829, -0.18336811661720276, -0.4475046694278717, 0.4091032147407532, -0.41506627202033997, -0.01181576494127512, -0.4812111258506775, -0.031118106096982956, -0.11148760467767715, 0.14845725893974304, 0.12161529064178467, 1.098612904548645, 0.7630549669265747, -0.695782482624054, 0.288285493850708, 0.4680896997451782, -0.4995887577533722, 0.39932429790496826, -0.5274101495742798, -0.030982214957475662, 0.03747428581118584, 0.3423488438129425, -0.4005287289619446, -0.5368351340293884, 0.48609521985054016, -0.3450498878955841, -0.07750938087701797, 0.31840118765830994, -0.3733494281768799, -0.1822146475315094, 0.09729663282632828, 0.1339685618877411, 0.7051730751991272, -0.49478375911712646, 0.4706938862800598, 1.1572688817977905, -0.18576686084270477, -0.5314440727233887, -0.5780394673347473, 0.24720902740955353, -0.22193941473960876, -0.30453845858573914, -0.23629964888095856, 0.35401010513305664, -0.05466170608997345, -0.268533319234848, 0.0762067586183548, -0.31109732389450073, 0.048865146934986115, 0.6086626052856445, -0.19395244121551514, 0.015756167471408844, 0.087145134806633, -0.17032869160175323, -0.025904491543769836, -0.22861993312835693, -0.3012247085571289, 0.40337979793548584, -0.11828197538852692, 0.17644476890563965, -0.5727798938751221, 0.5647399425506592, 0.3966946303844452, -0.13259148597717285, 0.9556192755699158, 0.5257286429405212, -0.383172869682312, 0.02547195553779602, -0.5630657076835632, 0.45801833271980286, -0.425956666469574, -0.031092431396245956, -0.16190752387046814, -0.6224910020828247, 0.3106951415538788, -0.051648467779159546, -0.042268574237823486, 0.7011900544166565, 0.4410935044288635, -0.21476413309574127, 0.5879282355308533, 0.6312751173973083, -0.6404827833175659, -0.13522674143314362, -0.48207172751426697, 0.07880370318889618, -0.5466395020484924, -0.6172628998756409, -0.9627841711044312, -0.07347636669874191, -0.7110936641693115, -0.43685048818588257, 0.3221970200538635, -0.5048381686210632, 0.45944535732269287, 0.7074620127677917, -0.35538798570632935, 0.46871697902679443, 0.6497865915298462, -0.20021745562553406, 0.19673492014408112, -0.016112660989165306, 0.08852969110012054, 0.36228516697883606, -0.5004622340202332, -1.0820214748382568, 0.8995856642723083, 0.03542497381567955, 0.6398736238479614, 0.02290247566998005, 0.49420347809791565, 0.6358678936958313, -0.13610310852527618, -0.8452708721160889, 0.34203365445137024, -0.45417943596839905, -0.1447146236896515, -0.17177212238311768, -0.16086359322071075, -1.444182276725769, -0.1628546416759491, 0.15623101592063904, -0.8001735210418701, 0.49072712659835815, 0.18922241032123566, -0.20163221657276154, 0.11626037955284119, -0.6758190989494324, 0.47988423705101013, 0.10286876559257507, 0.146364226937294, -0.3612981140613556, -0.6753107309341431, 0.03353356197476387, -0.25081947445869446, 0.5915237665176392, -0.27530792355537415, 0.24215956032276154, 0.9999018907546997, -0.8397127389907837, 0.9265726804733276, -0.14202049374580383, -0.6756454110145569, 0.6408252120018005, -0.17244818806648254, 0.38188859820365906, -0.0803598091006279, -0.29251405596733093, 0.24250635504722595, 0.04348398745059967, -0.44381076097488403, -0.05194861814379692, 0.7545052170753479, -0.9402027726173401, -0.3202182948589325, -0.7941762208938599, -0.5283955335617065, -0.2933809757232666, -0.24543775618076324, 0.08001590520143509, 0.5411228537559509, -0.3255607485771179, 0.3034396171569824, 0.15205751359462738, -0.2707686424255371, 0.21056224405765533, 0.14932386577129364, 0.05207214877009392, -0.30430084466934204, 1.0975207090377808, 0.2848699390888214, -0.06659428775310516, 0.2796138525009155, 0.12277527153491974, -0.2596037685871124, -0.12983570992946625, -0.07127954810857773, 0.024709373712539673, -0.7300199270248413, -0.18135473132133484, -0.8383990526199341, -0.24568656086921692, -0.21396414935588837, -0.1392827033996582, -0.14532674849033356, -0.6567274928092957, -0.4481573700904846, -0.13609854876995087, 0.6744968295097351, 1.1604875326156616, -0.22090746462345123, 0.6625511050224304, -0.8085131049156189, 0.5201078057289124, 0.43102115392684937, -0.16595153510570526, -0.03032400645315647, -0.22363491356372833, -0.23003427684307098, 0.3143935203552246, -0.4635069668292999, -0.9886419177055359, 0.569954514503479, 0.7292042970657349, 0.5174017548561096, 0.1466246247291565, -0.30331581830978394, 0.47100552916526794, -0.3173936605453491, 0.7732540369033813, -0.010587243363261223, -0.8584684729576111, 1.0475612878799438, -0.15803177654743195, 0.3740067481994629, 0.4498816132545471, 0.4637211859226227, -0.5597031712532043, -0.5757365226745605, -0.43876105546951294, -0.7237842082977295, 0.6521809101104736, 0.40692493319511414, 0.06677810847759247, -0.38582947850227356, -0.4428749978542328, 0.8626920580863953, -0.026602767407894135, -0.21568813920021057, -0.05302870646119118, -0.2497439682483673, -0.2431836724281311, -0.14760930836200714, -0.1905604600906372, -0.2561095654964447, -0.05026858672499657, 0.9327964186668396, 0.15951374173164368, -0.09531991183757782, 0.2542780339717865, -0.2021588534116745, -0.09046860784292221, 0.4198845326900482, 0.42371055483818054, 0.7386719584465027, -0.10460123419761658, 0.013676255010068417, -0.022946106269955635, -1.128560185432434, 0.5372072458267212, 0.11383101344108582, -0.35409680008888245, 0.1838148683309555, 0.023015731945633888, 0.7640666961669922, 0.0856349766254425, -0.793375551700592, 0.08816255629062653, 0.2516951262950897, -0.24898724257946014, -0.42371249198913574, 0.22555994987487793, -0.06793392449617386, 0.26054659485816956, 0.6883103251457214, 0.052521515637636185, 0.22978973388671875, -0.479763001203537, -0.031137565150856972, -0.06423316150903702, -0.028027839958667755, -0.29542621970176697, 0.5091170072555542, 0.48116353154182434, -0.21317152678966522, 0.26368600130081177, 0.16792580485343933, -0.2852086126804352, 0.9677990674972534, 0.5343095660209656, 0.508338212966919, -0.08051389455795288, 0.7879986763000488, 0.5133547186851501, 0.05133066698908806, 0.07478604465723038, 0.6230753660202026, -0.232521191239357, -0.4461105763912201, 0.08057979494333267, -0.962334394454956, -0.41893061995506287, 0.2899003326892853, -0.7233255505561829, -0.09540940076112747, -0.2215479612350464, -0.5421590209007263, 0.09675803035497665, -0.027545860037207603, -0.5559183359146118, 0.21528121829032898, -0.053991928696632385, 0.7183493971824646, -0.8695992231369019, 1.026991605758667, 0.5526354908943176, -0.222712904214859, -0.4737052023410797, -0.29800641536712646, 0.0016840484458953142, -0.7011190056800842, 0.8616475462913513, -0.0533980131149292, -0.4666319787502289, 0.04914233088493347, -0.26631709933280945, -0.6496132016181946, 0.9030274748802185, 0.07147587090730667, -0.7442697882652283, 0.7439652681350708, 0.24066713452339172, 0.26440519094467163, -0.2195463925600052, -0.3039911389350891, 0.8131755590438843, 0.7925911545753479, -0.02725313976407051, -1.2177658081054688, -0.4485946297645569, -0.049730025231838226, -0.11423755437135696, 0.24987906217575073, -0.7624224424362183, 0.42657580971717834, 0.06526581943035126, -0.31192535161972046, 0.3798169195652008, 0.6356943845748901, 0.11621689051389694, 0.1358390897512436, 0.47090569138526917, 0.3413846492767334, 0.9856126308441162, -0.038491033017635345, 0.6647765636444092, 0.031224742531776428, 0.04272943362593651, 1.22450852394104, -0.6536110043525696, 0.7692503929138184, 0.5585021376609802, -0.43282705545425415, 0.284103125333786, 0.5439116954803467, 0.13600069284439087, 0.7717159986495972, -0.09580548852682114, -0.6691275835037231, 0.24184533953666687, -0.6957947611808777, -0.7473785877227783, 1.0922436714172363, 0.6315438151359558, -0.2626494765281677, -0.2504403293132782, 0.28360286355018616, 0.1302899420261383, 0.5061832666397095, -0.20025946199893951, 0.5204275846481323, 0.012263552285730839, -0.28279730677604675, 0.2776122987270355, -0.0971648320555687, 0.4689348638057709, -0.7680918574333191, -0.25303322076797485, -0.08587988466024399, -0.1721171885728836, -0.11308912187814713, -0.7969738841056824, 0.37783339619636536, 0.22780568897724152, -0.11351218819618225, 0.10456940531730652, 0.43465423583984375, -0.4405903220176697, -0.5734468698501587, 0.2954632639884949, 0.02059944160282612, 0.32149720191955566, 0.5017313957214355, -0.0686548724770546, 0.2215808928012848, -0.30470147728919983, 0.2782977521419525, -0.08587763458490372, 0.03179042786359787, -0.06714795529842377, 0.4407140612602234, 0.48614248633384705, 0.5264266133308411, 0.17636632919311523, 0.28181129693984985, 0.49977999925613403, -0.439495325088501, -0.4276490807533264, -0.5175259113311768, -0.1421934962272644, 0.05082317814230919, -0.4878515601158142, 0.7864229679107666, 0.48301833868026733, 0.7521880865097046, -0.36023378372192383, 0.8433260917663574, -0.3484855890274048, 0.24259443581104279, -0.5046805739402771, 0.7775770425796509, -0.22189582884311676, -0.35682031512260437, -0.3128334879875183, -0.9094340205192566, 0.11566268652677536, 0.7844132781028748, -0.07496348023414612, -0.31427085399627686, 0.34938478469848633, 0.7354811429977417, 0.1748727262020111, 0.46961942315101624, 0.37004029750823975, 0.4373369514942169, 0.04778970777988434, 0.5469183325767517, 0.6430816650390625, -0.5620279908180237, 0.3763725161552429, -0.3689991533756256, -0.19986878335475922, -0.13788701593875885, -0.8236359357833862, -0.14673210680484772, -1.0919599533081055, -0.12819033861160278, 0.13562464714050293, 0.3012574315071106, 0.7896087765693665, 0.685455858707428, -1.1701104640960693, -0.6831434965133667, 0.09109080582857132, -0.16003093123435974, -0.14972108602523804, -0.20282678306102753, 0.3968765437602997, -0.03489449992775917, -0.801171600818634, 0.7733184695243835, 0.3887697458267212, 0.022286497056484222, -0.08742678165435791, -0.18901339173316956, -0.7749229073524475, -0.120551697909832, 0.7883610725402832, 0.8140846490859985, -0.6596521735191345, -0.23483076691627502, -0.39918336272239685, 0.12693333625793457, 0.11105456948280334, 0.24083311855793, -0.7792176604270935, 0.6132652759552002, 0.23153436183929443, 0.6438405513763428, 0.24711567163467407, -0.19224591553211212, 0.7139926552772522, -0.5346239805221558, 0.6450316905975342, 0.11053244769573212, 0.42727354168891907, 0.26963523030281067, -0.48397526144981384, 0.6665619015693665, -0.05784519761800766, -0.6068981289863586, -0.4308452904224396, -0.040484435856342316, -0.9943697452545166, 0.24800166487693787, 0.7600104212760925, -0.04226319491863251, -0.44622567296028137, -0.3661670684814453, -0.6045427918434143, 0.46659228205680847, -0.6154594421386719, 0.6946768164634705, 0.8587961196899414, 0.2615119516849518, 0.16556057333946228, -0.764186441898346, 0.36658719182014465, 0.2791576385498047, -0.8023850321769714, -0.40945929288864136, 0.5867336988449097, -0.09779050201177597, 0.21350720524787903, 0.7930170893669128, -0.17810623347759247, 0.42017388343811035, -0.14932014048099518, -0.2559506297111511, 0.39699414372444153, -0.4598875939846039, -0.1550973504781723, 0.17419631779193878, 0.12465213984251022, -0.697904646396637 ]
http://arxiv.org/abs/2404.01961v1
http://arxiv.org/pdf/2404.01961v1
Team UTSA-NLP at SemEval 2024 Task 5: Prompt Ensembling for Argument Reasoning in Civil Procedures with GPT4
2024-04-02T13:55:05
2024-04-02T13:55:05
Dan Schumacher, Anthony Rios
cs.CL
cs.CL
In this paper, we present our system for the SemEval Task 5, The Legal Argument Reasoning Task in Civil Procedure Challenge. Legal argument reasoning is an essential skill that all law students must master. Moreover, it is important to develop natural language processing solutions that can reason about a question given terse domain-specific contextual information. Our system explores a prompt-based solution using GPT4 to reason over legal arguments. We also evaluate an ensemble of prompting strategies, including chain-of-thought reasoning and in-context learning. Overall, our system results in a Macro F1 of .8095 on the validation dataset and .7315 (5th out of 21 teams) on the final test set. Code for this project is available at https://github.com/danschumac1/CivilPromptReasoningGPT4.
[ -0.37133148312568665, -0.5854344964027405, 0.8504013419151306, 0.3208928406238556, -0.6068435311317444, -0.20074835419654846, 0.12680649757385254, -0.14186756312847137, -0.12186913192272186, 0.5025086402893066, -0.3959686756134033, -0.44849520921707153, -0.32052135467529297, 0.6261163353919983, -0.07291795313358307, 0.9160431027412415, -0.07835683226585388, 0.29529282450675964, -0.31835299730300903, -0.3725999891757965, -0.9348680973052979, -0.6885846853256226, -1.071694016456604, -0.18219007551670074, 0.28954198956489563, 0.6947258114814758, 0.0752302035689354, 0.15598198771476746, 0.0995660275220871, 0.2924198508262634, -0.19464011490345, -0.14717279374599457, 0.20643755793571472, 0.6157740950584412, -0.6030621528625488, -0.19880659878253937, -0.2360559105873108, -0.293846994638443, 0.17028358578681946, 0.3135528266429901, -0.2790631651878357, 0.08207683265209198, 0.04296298325061798, 0.365285187959671, -0.2878856658935547, 0.007151799276471138, -0.5793517231941223, 0.2065235823392868, -0.22134332358837128, -0.45604875683784485, -0.31018349528312683, -0.2078658938407898, 0.05344772711396217, -0.36030295491218567, 0.2099061906337738, -0.06405869871377945, 0.802450954914093, 0.5516638159751892, -0.4649679660797119, -0.24413250386714935, -0.25027206540107727, 0.3136596977710724, -0.8562887907028198, 0.13899008929729462, 0.214967742562294, 0.5103000998497009, -0.21178965270519257, -0.803353488445282, -0.4086642861366272, -0.0017497033113613725, 0.3251931369304657, 0.34710875153541565, 0.1277356892824173, 0.10634585469961166, 0.44457247853279114, -0.17726726830005646, -0.7659700512886047, -0.09345100075006485, -0.3977178931236267, -0.33235031366348267, 0.5427974462509155, 0.1366274356842041, 0.2219434380531311, -0.1292528510093689, -0.3776431679725647, 0.37438222765922546, -0.8363813161849976, 0.19484561681747437, 0.24354827404022217, 0.2046431452035904, 0.09751284122467041, 0.5046337246894836, -0.16661210358142853, 0.526648759841919, 0.007738746702671051, 0.41699889302253723, 0.0593063049018383, -0.30420055985450745, -0.5289848446846008, 0.25770729780197144, 0.5627377033233643, 0.0513291098177433, -0.07759501785039902, 0.2052708864212036, -0.26802340149879456, -0.048971209675073624, 0.26235231757164, -0.49916326999664307, -0.04496808722615242, 0.2317957729101181, -0.2673279345035553, -0.2460792064666748, -0.13976971805095673, -0.9579481482505798, -0.5426768064498901, -0.3258955478668213, 0.47058990597724915, -0.3412827253341675, 0.19260236620903015, 0.2989453375339508, -0.32384294271469116, 0.39716780185699463, 0.6878588199615479, -0.7663694620132446, 0.21155868470668793, 0.47182697057724, 0.4450152814388275, 0.08666033297777176, 0.011225518770515919, -0.8988224864006042, 0.21782207489013672, -0.052334610372781754, 1.0952008962631226, -0.7466825842857361, -0.4135858714580536, -0.22172735631465912, 0.15792597830295563, 0.05686380714178085, -0.420149028301239, 1.368563175201416, -0.3463614881038666, 0.24397681653499603, -0.6833344101905823, -0.4521336555480957, -0.16786402463912964, 0.22567343711853027, -0.37775886058807373, 0.9247348308563232, -0.08787278831005096, -0.47208619117736816, 0.6266077756881714, -1.224344253540039, -0.5481070280075073, 0.6401935815811157, -0.5073603987693787, -0.1417519450187683, -0.056062422692775726, 0.6444109678268433, 0.4303514361381531, -0.14642830193042755, 0.43623292446136475, -0.05780475214123726, -0.22227618098258972, -0.2891467213630676, -0.20143957436084747, 1.0333046913146973, 0.4591296911239624, -0.6771580576896667, 0.2225947231054306, -0.364585816860199, -0.2290859818458557, 0.3056993782520294, -0.5162732601165771, -0.1288011074066162, -0.12405162304639816, -0.4013824760913849, 0.3390335738658905, 0.11847612261772156, -0.41339200735092163, 0.3602631092071533, -0.33863481879234314, 0.4345775842666626, 0.892562747001648, 0.41523048281669617, 0.1816176325082779, 0.19147169589996338, 0.849934458732605, -0.10153120011091232, 0.05506299063563347, -0.12729904055595398, -0.8861780762672424, -0.5887008905410767, 0.2433623969554901, 0.336380273103714, 0.6263473629951477, -0.7964996695518494, 0.13377049565315247, 0.39915186166763306, 0.03990044817328453, -0.10292521864175797, -0.29555392265319824, 0.02256636507809162, 0.6952176094055176, 0.5419134497642517, 0.2177145779132843, -0.918687105178833, -0.7672098278999329, -0.33192476630210876, -0.19465409219264984, -0.08002369850873947, 0.2594919204711914, 0.807507336139679, -0.1661161333322525, 0.811656653881073, -0.12550340592861176, -0.19302213191986084, -0.34758707880973816, 0.4108852446079254, 0.37082627415657043, 0.24485185742378235, 0.3252982497215271, -0.6379709839820862, -0.16832298040390015, -0.02191975526511669, -0.8744688034057617, -0.7050784230232239, -0.20078159868717194, 0.05115590989589691, 0.5210704803466797, 0.7197321057319641, -0.20433223247528076, 0.37080302834510803, 0.1048651710152626, -0.8181260228157043, 0.74306720495224, -0.18713301420211792, 0.21313774585723877, -1.099005103111267, -0.015281779691576958, 0.033113837242126465, -0.33131393790245056, -0.2683168649673462, 0.14813534915447235, -0.3025341331958771, -0.32680708169937134, -0.46777579188346863, 0.35060855746269226, -0.48899704217910767, 0.019774727523326874, -0.0756218358874321, -0.05842088535428047, 0.016086069867014885, 0.31601405143737793, 0.08522515743970871, 0.8988977074623108, 0.4881245791912079, -0.5207924246788025, 0.41456568241119385, 0.25297144055366516, 0.1333809792995453, 0.844426155090332, -0.7831940650939941, 0.26064905524253845, 0.19534309208393097, 0.2935599088668823, -0.6622653603553772, -0.317445307970047, 0.18827112019062042, -0.44901901483535767, 0.09525120258331299, -0.42930227518081665, -0.41054269671440125, -0.5721287131309509, 0.005568179301917553, 0.09085036814212799, 0.18469949066638947, -0.42177101969718933, 0.5870140790939331, 0.6045388579368591, -0.529090940952301, -0.55915766954422, -0.27255547046661377, 0.5672590136528015, -0.5865445137023926, -0.6020330786705017, 0.17655955255031586, 0.12078350782394409, -0.03986483812332153, -0.0006829943740740418, -0.23209887742996216, -0.12337162345647812, -0.005530615337193012, 0.1437307447195053, 0.09784422069787979, -0.11744829267263412, 0.1857180893421173, 0.3517375588417053, -0.14171652495861053, 0.49190080165863037, -0.24293021857738495, 0.529821515083313, -0.6487076878547668, -0.32678115367889404, -0.1590789556503296, 0.5058547854423523, 0.2654491364955902, -0.05478108301758766, 0.19865572452545166, 0.2107110619544983, -0.5757225751876831, -0.043632298707962036, -0.53235924243927, -0.09960831701755524, -0.4592851400375366, -0.046600423753261566, -0.7137508392333984, -1.1150556802749634, 0.5899789333343506, -0.1879916787147522, 0.33354613184928894, 0.6215967535972595, 0.5949106812477112, -0.24480508267879486, 1.1201001405715942, 0.15565605461597443, 0.12692946195602417, -0.10491504520177841, 0.017106015235185623, 0.08949463069438934, -0.6204038858413696, -0.2840750217437744, -0.8460512161254883, 0.05077539384365082, -0.02654707245528698, -0.3468492925167084, 0.43395185470581055, 0.018171481788158417, -0.4480481445789337, 0.49444350600242615, -0.6758609414100647, 0.5917781591415405, 0.44643133878707886, -0.2655767798423767, 0.15245887637138367, -0.21946468949317932, -0.8473614454269409, 0.007324101869016886, -0.5855492949485779, -0.7037007808685303, 0.6168983578681946, 0.3830718398094177, 0.49179020524024963, 0.2080070823431015, 1.0181875228881836, 0.351681113243103, -0.08411858975887299, -0.5442529320716858, 1.0000182390213013, 0.2480315864086151, -0.4674256145954132, -0.6155583262443542, -0.2901584506034851, -1.0882781744003296, 0.29338857531547546, -0.003934704698622227, -0.7431442141532898, 0.029235370457172394, -0.09708525240421295, -0.6641066074371338, -0.048897240310907364, -0.3896455764770508, 0.9748432636260986, 0.038257814943790436, -0.29912880063056946, -0.025383783504366875, -0.812886118888855, 0.19656582176685333, 0.12603388726711273, 0.05937044322490692, -0.017587868496775627, 0.026885049417614937, 0.788170337677002, -0.6256811022758484, 0.5803760290145874, -0.5137118101119995, -0.12740567326545715, 0.4768340289592743, -0.1793918013572693, 0.41451296210289, 0.42893996834754944, 0.005943561438471079, -0.23526543378829956, 0.14440567791461945, -0.07222530245780945, -0.4545832872390747, 0.46254175901412964, -0.13146360218524933, -0.808091402053833, -0.7054073810577393, -0.2733534276485443, -0.18765439093112946, 0.09830734133720398, 0.2511066794395447, 0.44784778356552124, -0.0016873128479346633, 0.12471943348646164, 0.5015776753425598, -0.15017752349376678, 0.652702808380127, 0.3547532558441162, 0.1396462321281433, -0.3922548294067383, 0.7053107619285583, 0.029966898262500763, -0.45005902647972107, -0.0218338780105114, 0.4355999529361725, -0.8566187620162964, -0.5668823719024658, -0.8609651327133179, 0.10004069656133652, -0.9003093838691711, -0.31294527649879456, -0.7208893895149231, -0.13974086940288544, -0.6293026804924011, -0.346413791179657, 0.10779774188995361, -0.5003814697265625, -0.11171586066484451, -0.08636434376239777, -0.11160893738269806, 0.7673941850662231, 0.05656163766980171, -0.2775413691997528, -0.8697096705436707, -0.09427545219659805, 0.42261284589767456, 0.0922330692410469, -0.6945434212684631, -0.7434788346290588, 0.08047551661729813, -0.43832477927207947, -0.4321826696395874, -1.2459862232208252, 0.14624637365341187, -0.156828835606575, 0.8504253029823303, 0.3688491880893707, 0.05541277304291725, 0.6049728989601135, -0.5867337584495544, 1.028504729270935, -0.11459271609783173, -1.0813223123550415, 1.110274076461792, -0.6547020673751831, 0.4383789300918579, 0.8021636009216309, 0.12176770716905594, -0.47200724482536316, -0.4990749955177307, -0.7959070801734924, -0.7594243288040161, 0.39785856008529663, 0.19573646783828735, -0.22794277966022491, -0.11574389785528183, 0.2264733463525772, -0.09130837023258209, -0.0017601476283743978, -0.7596970200538635, 0.34417200088500977, -0.13097964227199554, -0.06176897883415222, 0.636548638343811, -0.21479476988315582, -0.38383278250694275, -0.43588438630104065, 0.731453001499176, -0.42220786213874817, 0.32006433606147766, 0.3088986575603485, -0.032219208776950836, 0.17468759417533875, 0.8004387021064758, 1.0476832389831543, 0.63336580991745, 0.051514290273189545, 0.049159541726112366, 0.6455486416816711, -0.3803369700908661, 0.3803175687789917, 0.2849915325641632, 0.042173147201538086, 0.13585469126701355, 0.038264837116003036, 0.5446081757545471, 0.09492890536785126, -0.44285884499549866, 0.5954011678695679, -0.3004603981971741, -0.6912474632263184, -0.48671478033065796, -0.0840127244591713, 0.09449046850204468, 0.45434898138046265, 0.3299610912799835, 0.07569079101085663, 0.5323851704597473, -0.2790408730506897, 0.2675738036632538, 0.1661861389875412, -0.3508673906326294, -0.2488100528717041, 0.9443458318710327, 0.5574867129325867, -0.0002883748966269195, 0.11626212298870087, -0.5456562042236328, -0.6159026026725769, 0.6895195245742798, 0.6593489050865173, 0.9323275685310364, -0.378610759973526, 0.301371306180954, 0.46077659726142883, 0.1751774549484253, -0.18283946812152863, 0.7519392371177673, -0.064947210252285, -0.5009847283363342, -0.661541759967804, -0.3947615623474121, -0.5095791220664978, 0.37571388483047485, -0.273045152425766, 0.5358115434646606, -0.3346898555755615, -0.04684148356318474, -0.2753799855709076, -0.16104969382286072, -0.349306583404541, 0.20370203256607056, 0.06519711762666702, 1.0258454084396362, -0.8802767992019653, 0.5741984248161316, 1.1897039413452148, -0.4846959412097931, -0.9892715215682983, -0.16184668242931366, 0.33469876646995544, -0.19309167563915253, 0.679669976234436, 0.4007839560508728, -0.1048935130238533, -0.0337677076458931, -0.6419419646263123, -0.30423685908317566, 0.9355894327163696, 0.3651946485042572, -0.2898100018501282, 0.050573356449604034, -0.08779018372297287, 0.3266957700252533, -0.29860568046569824, 0.0004929234855808318, 0.6018168330192566, 0.5974608063697815, 0.3409934937953949, -0.6973246932029724, 0.3009362816810608, -0.3400801420211792, -0.32024553418159485, 0.08422097563743591, -0.088922880589962, 0.44013145565986633, -0.3505387604236603, -0.4349915087223053, -0.27680033445358276, 0.7730991244316101, 0.5422716736793518, 0.4079599678516388, 0.7390196919441223, 0.9123644828796387, 0.8416221141815186, -0.1665600836277008, 0.6555883884429932, 0.20398566126823425, 0.1779809445142746, 1.2365303039550781, -0.5485267639160156, 0.5138536691665649, 0.6217735409736633, -0.05456939712166786, 0.4110988676548004, 0.7771875262260437, 0.11459629982709885, 0.22956067323684692, 0.07663725316524506, -0.6240323781967163, -0.38330718874931335, -0.15774329006671906, -0.46552321314811707, 0.47650307416915894, 0.4189967215061188, -0.0888754352927208, -0.4528043568134308, 0.005243626888841391, -0.014856782741844654, -0.09717661887407303, -0.22935304045677185, 0.7939820289611816, 0.14535591006278992, -0.9293355345726013, 0.15491421520709991, -0.1056930348277092, 0.1880650520324707, -0.1911948025226593, -0.39218762516975403, -0.17562313377857208, -0.18830417096614838, -0.11667663604021072, -1.2377326488494873, 0.48057711124420166, 0.22648479044437408, 0.33702635765075684, -0.23744282126426697, 0.8776050806045532, -0.11844512820243835, -0.03267306089401245, -0.017267871648073196, 0.3578125536441803, 0.4011990427970886, -0.04822312295436859, -0.8600705862045288, -0.3463578224182129, -0.020135940983891487, -0.37927278876304626, 0.024716876447200775, 0.7251068949699402, -0.48923200368881226, 0.397538423538208, 0.5748271942138672, 0.0037673739716410637, -0.10328934341669083, 0.7106443643569946, 0.9036176800727844, -0.6011284589767456, -0.587023913860321, -0.9301097393035889, 0.6544447541236877, -0.49194884300231934, -0.454691618680954, 0.5148617625236511, 0.5758472681045532, 0.3684149980545044, 0.016575133427977562, 0.7855376601219177, -0.19746874272823334, 0.3312062919139862, -0.6203403472900391, 0.3508596122264862, -0.3118046820163727, 0.13153418898582458, -0.3847634196281433, -0.7254480123519897, -0.3767876625061035, 0.7332018613815308, -0.10132959485054016, -0.21411429345607758, 1.0188825130462646, 0.4680244028568268, 0.1923598349094391, 0.49806931614875793, 0.4083099663257599, -0.23448610305786133, 0.5938319563865662, 0.5857667922973633, 0.8162228465080261, -0.062358610332012177, 0.5459941625595093, 0.333555668592453, -0.1591125875711441, -0.16011109948158264, -1.075535535812378, -0.8188206553459167, -0.6098253130912781, -0.04447586089372635, -0.3821006715297699, 0.1538352072238922, 1.0242364406585693, 0.2812541127204895, -0.8586330413818359, 0.11605194211006165, -0.4217377305030823, -0.14235888421535492, -0.06018488109111786, -0.25926473736763, 0.053915925323963165, -0.7000749111175537, -0.4028666913509369, 0.740044116973877, 0.5521543025970459, -0.009197589010000229, 0.17028184235095978, -0.13937826454639435, -0.4495999217033386, 0.13566088676452637, 0.6310621500015259, 0.448917418718338, -0.665222704410553, -0.5618216395378113, -0.15747669339179993, 0.04663221538066864, -0.0004919715574942529, 0.8472682237625122, -0.6322790384292603, 0.37193363904953003, 0.7100415825843811, 0.982157826423645, 0.34083274006843567, 0.18426381051540375, 0.8382882475852966, -0.7094579339027405, 0.07629498839378357, 0.6164048314094543, 0.9360893368721008, 0.06314300000667572, -0.3814086616039276, 1.145227074623108, 0.4357803165912628, -1.0870521068572998, -0.6415868997573853, 0.12409576773643494, -0.8783750534057617, -0.14526690542697906, 1.0713945627212524, -0.14249250292778015, 0.016419030725955963, -0.7312986850738525, -0.6292210817337036, 0.2138434499502182, -0.65496426820755, 0.4221000373363495, 0.9474266767501831, -0.35621100664138794, -0.4216806888580322, -0.8905209302902222, 0.5538438558578491, 0.7544219493865967, -1.2609245777130127, -0.3836430013179779, 0.507890522480011, 0.08217161148786545, -0.06597930938005447, 0.966916024684906, -0.2206694781780243, 0.5225858688354492, -0.22149643301963806, -0.018222341313958168, -0.011298266239464283, -0.4892337918281555, -0.6500147581100464, 0.21060311794281006, -0.30834344029426575, -0.08880984783172607 ]
http://arxiv.org/abs/2404.01954v2
http://arxiv.org/pdf/2404.01954v2
HyperCLOVA X Technical Report
2024-04-02T13:48:49
2024-04-13T15:06:19
Kang Min Yoo, Jaegeun Han, Sookyo In, Heewon Jeon, Jisu Jeong, Jaewook Kang, Hyunwook Kim, Kyung-Min Kim, Munhyong Kim, Sungju Kim, Donghyun Kwak, Hanock Kwak, Se Jung Kwon, Bado Lee, Dongsoo Lee, Gichang Lee, Jooho Lee, Baeseong Park, Seongjin Shin, Joonsang Yu, Seolki Baek, Sumin Byeon, Eungsup Cho, Dooseok Choe, Jeesung Han, Youngkyun Jin, Hyein Jun, Jaeseung Jung, Chanwoong Kim, Jinhong Kim, Jinuk Kim, Dokyeong Lee, Dongwook Park, Jeong Min Sohn, Sujung Han, Jiae Heo, Sungju Hong, Mina Jeon, Hyunhoon Jung, Jungeun Jung, Wangkyo Jung, Chungjoon Kim, Hyeri Kim, Jonghyun Kim, Min Young Kim, Soeun Lee, Joonhee Park, Jieun Shin, Sojin Yang, Jungsoon Yoon, Hwaran Lee, Sanghwan Bae, Jeehwan Cha, Karl Gylleus, Donghoon Ham, Mihak Hong, Youngki Hong, Yunki Hong, Dahyun Jang, Hyojun Jeon, Yujin Jeon, Yeji Jeong, Myunggeun Ji, Yeguk Jin, Chansong Jo, Shinyoung Joo, Seunghwan Jung, Adrian Jungmyung Kim, Byoung Hoon Kim, Hyomin Kim, Jungwhan Kim, Minkyoung Kim, Minseung Kim, Sungdong Kim, Yonghee Kim, Youngjun Kim, Youngkwan Kim, Donghyeon Ko, Dughyun Lee, Ha Young Lee, Jaehong Lee, Jieun Lee, Jonghyun Lee, Jongjin Lee, Min Young Lee, Yehbin Lee, Taehong Min, Yuri Min, Kiyoon Moon, Hyangnam Oh, Jaesun Park, Kyuyon Park, Younghun Park, Hanbae Seo, Seunghyun Seo, Mihyun Sim, Gyubin Son, Matt Yeo, Kyung Hoon Yeom, Wonjoon Yoo, Myungin You, Doheon Ahn, Homin Ahn, Joohee Ahn, Seongmin Ahn, Chanwoo An, Hyeryun An, Junho An, Sang-Min An, Boram Byun, Eunbin Byun, Jongho Cha, Minji Chang, Seunggyu Chang, Haesong Cho, Youngdo Cho, Dalnim Choi, Daseul Choi, Hyoseok Choi, Minseong Choi, Sangho Choi, Seongjae Choi, Wooyong Choi, Sewhan Chun, Dong Young Go, Chiheon Ham, Danbi Han, Jaemin Han, Moonyoung Hong, Sung Bum Hong, Dong-Hyun Hwang, Seongchan Hwang, Jinbae Im, Hyuk Jin Jang, Jaehyung Jang, Jaeni Jang, Sihyeon Jang, Sungwon Jang, Joonha Jeon, Daun Jeong, Joonhyun Jeong, Kyeongseok Jeong, Mini Jeong, Sol Jin, Hanbyeol Jo, Hanju Jo, Minjung Jo, Chaeyoon Jung, Hyungsik Jung, Jaeuk Jung, Ju Hwan Jung, Kwangsun Jung, Seungjae Jung, Soonwon Ka, Donghan Kang, Soyoung Kang, Taeho Kil, Areum Kim, Beomyoung Kim, Byeongwook Kim, Daehee Kim, Dong-Gyun Kim, Donggook Kim, Donghyun Kim, Euna Kim, Eunchul Kim, Geewook Kim, Gyu Ri Kim, Hanbyul Kim, Heesu Kim, Isaac Kim, Jeonghoon Kim, Jihye Kim, Joonghoon Kim, Minjae Kim, Minsub Kim, Pil Hwan Kim, Sammy Kim, Seokhun Kim, Seonghyeon Kim, Soojin Kim, Soong Kim, Soyoon Kim, Sunyoung Kim, Taeho Kim, Wonho Kim, Yoonsik Kim, You Jin Kim, Yuri Kim, Beomseok Kwon, Ohsung Kwon, Yoo-Hwan Kwon, Anna Lee, Byungwook Lee, Changho Lee, Daun Lee, Dongjae Lee, Ha-Ram Lee, Hodong Lee, Hwiyeong Lee, Hyunmi Lee, Injae Lee, Jaeung Lee, Jeongsang Lee, Jisoo Lee, Jongsoo Lee, Joongjae Lee, Juhan Lee, Jung Hyun Lee, Junghoon Lee, Junwoo Lee, Se Yun Lee, Sujin Lee, Sungjae Lee, Sungwoo Lee, Wonjae Lee, Zoo Hyun Lee, Jong Kun Lim, Kun Lim, Taemin Lim, Nuri Na, Jeongyeon Nam, Kyeong-Min Nam, Yeonseog Noh, Biro Oh, Jung-Sik Oh, Solgil Oh, Yeontaek Oh, Boyoun Park, Cheonbok Park, Dongju Park, Hyeonjin Park, Hyun Tae Park, Hyunjung Park, Jihye Park, Jooseok Park, Junghwan Park, Jungsoo Park, Miru Park, Sang Hee Park, Seunghyun Park, Soyoung Park, Taerim Park, Wonkyeong Park, Hyunjoon Ryu, Jeonghun Ryu, Nahyeon Ryu, Soonshin Seo, Suk Min Seo, Yoonjeong Shim, Kyuyong Shin, Wonkwang Shin, Hyun Sim, Woongseob Sim, Hyejin Soh, Bokyong Son, Hyunjun Son, Seulah Son, Chi-Yun Song, Chiyoung Song, Ka Yeon Song, Minchul Song, Seungmin Song, Jisung Wang, Yonggoo Yeo, Myeong Yeon Yi, Moon Bin Yim, Taehwan Yoo, Youngjoon Yoo, Sungmin Yoon, Young Jin Yoon, Hangyeol Yu, Ui Seon Yu, Xingdong Zuo, Jeongin Bae, Joungeun Bae, Hyunsoo Cho, Seonghyun Cho, Yongjin Cho, Taekyoon Choi, Yera Choi, Jiwan Chung, Zhenghui Han, Byeongho Heo, Euisuk Hong, Taebaek Hwang, Seonyeol Im, Sumin Jegal, Sumin Jeon, Yelim Jeong, Yonghyun Jeong, Can Jiang, Juyong Jiang, Jiho Jin, Ara Jo, Younghyun Jo, Hoyoun Jung, Juyoung Jung, Seunghyeong Kang, Dae Hee Kim, Ginam Kim, Hangyeol Kim, Heeseung Kim, Hyojin Kim, Hyojun Kim, Hyun-Ah Kim, Jeehye Kim, Jin-Hwa Kim, Jiseon Kim, Jonghak Kim, Jung Yoon Kim, Rak Yeong Kim, Seongjin Kim, Seoyoon Kim, Sewon Kim, Sooyoung Kim, Sukyoung Kim, Taeyong Kim, Naeun Ko, Bonseung Koo, Heeyoung Kwak, Haena Kwon, Youngjin Kwon, Boram Lee, Bruce W. Lee, Dagyeong Lee, Erin Lee, Euijin Lee, Ha Gyeong Lee, Hyojin Lee, Hyunjeong Lee, Jeeyoon Lee, Jeonghyun Lee, Jongheok Lee, Joonhyung Lee, Junhyuk Lee, Mingu Lee, Nayeon Lee, Sangkyu Lee, Se Young Lee, Seulgi Lee, Seung Jin Lee, Suhyeon Lee, Yeonjae Lee, Yesol Lee, Youngbeom Lee, Yujin Lee, Shaodong Li, Tianyu Liu, Seong-Eun Moon, Taehong Moon, Max-Lasse Nihlenramstroem, Wonseok Oh, Yuri Oh, Hongbeen Park, Hyekyung Park, Jaeho Park, Nohil Park, Sangjin Park, Jiwon Ryu, Miru Ryu, Simo Ryu, Ahreum Seo, Hee Seo, Kangdeok Seo, Jamin Shin, Seungyoun Shin, Heetae Sin, Jiangping Wang, Lei Wang, Ning Xiang, Longxiang Xiao, Jing Xu, Seonyeong Yi, Haanju Yoo, Haneul Yoo, Hwanhee Yoo, Liang Yu, Youngjae Yu, Weijie Yuan, Bo Zeng, Qian Zhou, Kyunghyun Cho, Jung-Woo Ha, Joonsuk Park, Jihyun Hwang, Hyoung Jo Kwon, Soonyong Kwon, Jungyeon Lee, Seungho Lee, Seonghyeon Lim, Hyunkyung Noh, Seungho Choi, Sang-Woo Lee, Jung Hwa Lim, Nako Sung
cs.CL
cs.CL, cs.AI
We introduce HyperCLOVA X, a family of large language models (LLMs) tailored to the Korean language and culture, along with competitive capabilities in English, math, and coding. HyperCLOVA X was trained on a balanced mix of Korean, English, and code data, followed by instruction-tuning with high-quality human-annotated datasets while abiding by strict safety guidelines reflecting our commitment to responsible AI. The model is evaluated across various benchmarks, including comprehensive reasoning, knowledge, commonsense, factuality, coding, math, chatting, instruction-following, and harmlessness, in both Korean and English. HyperCLOVA X exhibits strong reasoning capabilities in Korean backed by a deep understanding of the language and cultural nuances. Further analysis of the inherent bilingual nature and its extension to multilingualism highlights the model's cross-lingual proficiency and strong generalization ability to untargeted languages, including machine translation between several language pairs and cross-lingual inference tasks. We believe that HyperCLOVA X can provide helpful guidance for regions or countries in developing their sovereign LLMs.
[ -0.1989900767803192, -0.3497315049171448, 0.6439394950866699, 0.45123642683029175, 0.024629803374409676, 0.4342171549797058, -0.5248955488204956, -0.39541810750961304, 0.18380765616893768, 0.7185097932815552, -0.3430047929286957, -0.7256036996841431, -0.3440428376197815, 0.201687291264534, -0.38448965549468994, 1.0984703302383423, -0.14025698602199554, 0.3416341245174408, -0.295708030462265, -0.2302243858575821, -0.39755114912986755, -0.8910881280899048, -0.058432143181562424, -0.4352056384086609, 0.42016711831092834, 0.57914137840271, 0.9659331440925598, 0.9431741833686829, 0.4113461673259735, 0.35316020250320435, -0.2937942445278168, -0.05992250517010689, -0.6586502194404602, 0.09988744556903839, -0.20746783912181854, -0.8659695386886597, -0.7394675016403198, 0.044654473662376404, 0.6079823970794678, 0.6354398131370544, 0.05434449017047882, 0.6283935308456421, -0.28688955307006836, 0.6505401730537415, -0.3255176842212677, 0.33720821142196655, -0.5211002230644226, 0.03860485926270485, -0.2151961326599121, 0.06393203139305115, -0.3585842251777649, -0.21887598931789398, 0.33445310592651367, -0.9484639763832092, -0.16454912722110748, 0.37790751457214355, 0.8616243600845337, 0.03792104497551918, -0.3692997097969055, -0.28003332018852234, -0.9496751427650452, 0.9596779942512512, -0.16839367151260376, 0.7488113641738892, 0.47166624665260315, 0.28077757358551025, 0.035844434052705765, -0.6019071340560913, -0.6253337860107422, -0.3415951728820801, 0.23504042625427246, 0.016417961567640305, -0.3356902301311493, -0.12936940789222717, 0.06245340406894684, 0.17758513987064362, -0.973343014717102, 0.11835277080535889, -0.4273990988731384, -0.10623794049024582, 0.770358681678772, 0.42148640751838684, 0.3820042014122009, -0.24841514229774475, -0.3021354079246521, 0.044366504997015, -0.8477252721786499, 0.0812436193227768, 0.342553049325943, 0.1523086577653885, -0.2762283980846405, 0.6816673278808594, -0.5078205466270447, 0.39637261629104614, -0.34047582745552063, -0.38292446732521057, 0.5598921775817871, -0.6517415642738342, -0.295428067445755, 0.22382038831710815, 0.47463956475257874, 0.4100603461265564, 0.5076431632041931, -0.09257054328918457, 0.0062331752851605415, 0.07213730365037918, -0.0996379479765892, -0.5175386667251587, -0.18582677841186523, 0.24620027840137482, -0.5799567103385925, -0.32008129358291626, -0.23294733464717865, -0.8489642143249512, -0.14762045443058014, -0.5563230514526367, 0.04116117209196091, 0.18689948320388794, -0.46038252115249634, 0.5118809342384338, 0.08954725414514542, -0.14429831504821777, -0.13309970498085022, -0.615544319152832, 0.4541318118572235, 0.6680986881256104, 0.5870427489280701, -0.44704148173332214, -0.4206542372703552, -0.07167604565620422, 0.0024116302374750376, -0.48050472140312195, 0.49265801906585693, -0.5843491554260254, -0.5081474184989929, 0.10748057067394257, 0.11241693794727325, 0.16591084003448486, -0.7002298831939697, 0.7299673557281494, -0.5927569270133972, 0.16968652606010437, -0.23882970213890076, -0.3294551372528076, -0.3323993384838104, 0.40663620829582214, -0.750095784664154, 0.8414182066917419, 0.009283021092414856, -0.5350379347801208, 0.30861684679985046, -0.5064020156860352, -0.1495925635099411, 0.34406420588493347, -0.03347506374120712, -0.4261239469051361, -0.016617340967059135, -0.06623917073011398, 0.25479641556739807, -0.5702048540115356, 0.13540159165859222, -0.34821534156799316, -0.23390871286392212, 0.21208512783050537, -0.1140228733420372, 0.8071141839027405, -0.03183884173631668, -0.34281644225120544, 0.4961642622947693, -1.1277368068695068, 0.32094335556030273, 0.28671711683273315, -0.4545134902000427, -0.6787479519844055, -0.36150336265563965, 0.3976759612560272, 0.705096423625946, 0.2725282311439514, -0.7862034440040588, -0.0010185003047809005, -0.1671205759048462, 0.18282027542591095, 0.5531860589981079, -0.34720051288604736, 0.36409080028533936, -0.014990045689046383, 0.9246029853820801, -0.37849271297454834, 0.15063199400901794, -0.11361338198184967, -0.47936248779296875, -0.5435829758644104, -0.5641393661499023, 0.40102633833885193, 1.0212602615356445, -0.8274049162864685, 0.24325977265834808, -0.42270171642303467, -0.47371557354927063, -0.5096184015274048, 0.663799524307251, 0.8483189344406128, 0.28302499651908875, 0.02762593701481819, 0.42949193716049194, -1.0022355318069458, -0.7278928160667419, 0.22995200753211975, -0.24774755537509918, 0.45104601979255676, 0.20639866590499878, 0.6650239825248718, -0.39480072259902954, 0.5502108335494995, -0.4280957579612732, -0.06297871470451355, -0.7705662250518799, -0.10720792412757874, 0.05736852437257767, 0.11323809623718262, 0.2760865092277527, -0.9745369553565979, -0.7508414387702942, 0.6780408024787903, -0.9803274869918823, -0.048629067838191986, 0.10607516020536423, -0.3159986734390259, 0.22194871306419373, 0.6559332013130188, -0.6477916836738586, 0.2675505578517914, 0.9750935435295105, -0.46776726841926575, 0.9107963442802429, -0.1415412724018097, 0.06612647324800491, -0.9622400403022766, 0.000554956030100584, 0.12388717383146286, -0.23178909718990326, -0.7048644423484802, 0.060184601694345474, 0.21061235666275024, -0.22139936685562134, -0.6358286142349243, 0.693260669708252, -0.19151781499385834, -0.025384703651070595, -0.5265371799468994, 0.07767500728368759, -0.13588181138038635, 0.28137707710266113, 0.17523205280303955, 1.0281802415847778, 0.4617170989513397, -0.5212593078613281, 0.5927726030349731, 0.3734714686870575, -0.6137481331825256, 0.3798253536224365, -1.0631574392318726, -0.18947598338127136, 0.16540727019309998, 0.020830752328038216, -0.688660204410553, -0.21990405023097992, -0.33505499362945557, -0.42387545108795166, -0.255945086479187, -0.05168507620692253, -0.6032381057739258, -0.6920843124389648, -0.07838936150074005, 0.5577266812324524, 0.5623912215232849, -0.42659324407577515, 0.2768373191356659, 0.506811797618866, -0.4383324086666107, -0.3764626383781433, -0.2958787977695465, 0.055706851184368134, -0.22989585995674133, -0.7789304256439209, 0.12179075181484222, -0.04731433838605881, -0.4852469265460968, 0.12867581844329834, 0.23926429450511932, -0.3186221122741699, -0.032542504370212555, 0.28952330350875854, 0.6910552978515625, -0.48255521059036255, 0.026420217007398605, 0.06216452270746231, -0.3704177737236023, 0.1879601627588272, -0.2092590630054474, 0.6105331778526306, -0.11671549826860428, -0.05672219768166542, -0.6151957511901855, 0.3685120642185211, 1.226575255393982, -0.4823288321495056, 0.3497413396835327, 0.35836341977119446, -0.36233532428741455, 0.05408128350973129, -0.31015822291374207, 0.39889174699783325, -0.4051746129989624, 0.831200897693634, -0.592660129070282, -0.940568745136261, 0.6524052023887634, -0.049087345600128174, -0.17200082540512085, 0.008425697684288025, 1.0231484174728394, 0.12469783425331116, 1.6448071002960205, 0.9586514234542847, -0.2500314712524414, 0.15347415208816528, -0.10968205332756042, 0.13081324100494385, -0.7604038119316101, -0.41697898507118225, -0.5742906332015991, 0.02055717073380947, -0.6679086685180664, -0.2510873079299927, 0.5230306386947632, -0.4730599522590637, -0.3282139003276825, 0.18356570601463318, 0.10032996535301208, 0.767937183380127, 0.5110654234886169, -0.29919999837875366, 0.4604862630367279, -0.07233604788780212, -0.20178888738155365, -0.3406718075275421, -0.7952300906181335, -0.5844654440879822, 1.35659921169281, 0.4379030168056488, 0.9005882740020752, 0.0303858183324337, 0.522441565990448, 0.16521191596984863, -0.050973858684301376, -0.6307748556137085, 0.5196974873542786, -0.17287714779376984, -0.8476402759552002, -0.20399686694145203, -0.2668958604335785, -0.9406055808067322, 0.26495078206062317, -0.3318794071674347, -0.40611669421195984, -0.017928563058376312, 0.03740039840340614, -0.4811549484729767, 0.17400573194026947, -0.5078158378601074, 0.8095874786376953, -0.3990015983581543, -0.2657640874385834, -0.31434959173202515, -0.4102214276790619, 0.6753580570220947, -0.3231551945209503, 0.16643108427524567, -0.014924082905054092, 0.02031916007399559, 0.660663902759552, 0.09474405646324158, 0.7068476676940918, 0.22061830759048462, 0.0755251944065094, 0.03186767175793648, 0.09847418963909149, 0.2799026072025299, 0.15968379378318787, -0.01140984520316124, 0.13017775118350983, -0.21268346905708313, -0.5326638221740723, -0.7629687190055847, 0.8528899550437927, -0.9695655107498169, -0.5883398652076721, -0.22681528329849243, -1.0125882625579834, -0.06673511117696762, 0.3231266438961029, -0.01947549544274807, 0.038488443940877914, -0.3267177939414978, 0.22987863421440125, 1.0176489353179932, -0.2078021764755249, -0.11282374709844589, 0.4863351583480835, -0.8345491290092468, -0.6646993160247803, 1.2713415622711182, 0.1503259241580963, 0.3992280066013336, -0.03955734148621559, 0.09413979947566986, -0.3181796669960022, -0.3043932318687439, -0.6570440530776978, 0.5284059047698975, -0.6086595058441162, 0.08183924853801727, -0.6057239174842834, -0.07022310793399811, -0.1722361147403717, -0.16631679236888885, -0.7228617072105408, -0.4166103005409241, 0.20146049559116364, -0.3119382858276367, -0.1559160202741623, 1.0731191635131836, 0.3035721778869629, 0.12604987621307373, -0.7792317867279053, 0.24526703357696533, 0.06703491508960724, 0.1532140076160431, -0.341058611869812, -0.36609259247779846, -0.5923352837562561, -0.3590446710586548, 0.04980447515845299, -0.23879443109035492, 0.4206097722053528, -0.29926955699920654, 0.7176465392112732, 0.11775913834571838, -0.21229276061058044, 0.5510377883911133, -0.6649357676506042, 0.7007673978805542, 0.13753469288349152, -1.0845675468444824, 0.23427116870880127, -0.1302737444639206, 0.31417316198349, 0.33178985118865967, 0.7995112538337708, -0.5756462812423706, -0.1757020354270935, -0.3437862992286682, -0.5453391671180725, 0.2244933694601059, 0.08460123091936111, 0.37268462777137756, 0.0601864717900753, 0.1891428381204605, 0.21679756045341492, 0.2581610679626465, -0.7170716524124146, -0.3110465407371521, 0.008656976744532585, -0.17613427340984344, 0.06900482624769211, -0.3208480477333069, -0.26260533928871155, -0.5264204144477844, 0.6865896582603455, 0.0572192445397377, -0.1898593306541443, 0.09095151722431183, -0.15980751812458038, -0.07258856296539307, 0.15751996636390686, 1.0087292194366455, 0.8884419798851013, 0.16245165467262268, -0.0357188917696476, 0.11161844432353973, -0.564337432384491, 0.6549811363220215, -0.17795301973819733, -0.06289924681186676, -0.04761332646012306, 0.2768867015838623, 0.7543153166770935, 0.12576541304588318, -1.075836181640625, 0.3317517042160034, -0.04548975080251694, -0.36761757731437683, -0.1842256486415863, -0.24611984193325043, -0.17744064331054688, 0.35916635394096375, 0.06706392765045166, -0.3283202350139618, -0.052394382655620575, -0.4921964704990387, 0.1943856030702591, 0.15851660072803497, -0.40649789571762085, -0.6241028904914856, 0.5442397594451904, 0.46819785237312317, -0.03688507899641991, 0.5117679238319397, -0.48845964670181274, -0.948862612247467, 0.494546502828598, 1.004923939704895, 0.6362317800521851, -0.20849746465682983, 0.36700794100761414, 0.17019475996494293, 0.3430452048778534, -0.17993871867656708, 0.5723123550415039, 0.4500456154346466, -0.5320740938186646, -0.6389073133468628, -0.14055633544921875, -0.42385345697402954, -0.08621832728385925, -0.728641152381897, 0.3673776388168335, -0.33668407797813416, -0.20091679692268372, -0.21645574271678925, 0.05143388360738754, -0.5348719954490662, 0.03142571076750755, 0.45976755023002625, 1.1241408586502075, -1.2076454162597656, 0.990369439125061, 0.9931812286376953, -0.27523934841156006, -0.4367833435535431, -0.13811999559402466, 0.1485472023487091, -0.7825295329093933, 1.1728041172027588, -0.25300872325897217, -0.22026443481445312, -0.1886424869298935, -0.49495330452919006, -1.3166167736053467, 1.130837321281433, 0.18827594816684723, -0.42655444145202637, -0.0569571927189827, 0.13448847830295563, 0.6504875421524048, -0.6461929082870483, -0.3350467383861542, 0.68666011095047, 0.2870000898838043, -0.39523181319236755, -1.2366678714752197, -0.07750512659549713, -0.42333316802978516, 0.12140213698148727, -0.011415471322834492, -0.665779709815979, 0.8057880997657776, -0.3604537546634674, 0.18027226626873016, 0.36865147948265076, 0.92516028881073, 0.505680501461029, 0.5097484588623047, 0.2418353259563446, 0.49041733145713806, 0.9324853420257568, 0.24876585602760315, 1.2547403573989868, -0.5582117438316345, 0.13357622921466827, 1.1376633644104004, -0.896543562412262, 0.6723396182060242, 0.24824409186840057, 0.0701577216386795, 0.7113587260246277, 0.15992076694965363, 0.15777987241744995, 0.3716406524181366, 0.24360743165016174, -0.1542811542749405, -0.33885782957077026, -0.3710300922393799, -0.16646647453308105, 0.7283589243888855, 0.35071736574172974, -0.32881802320480347, 0.15351971983909607, 0.5636301040649414, 0.5643624067306519, 0.2167312651872635, -0.46080946922302246, 0.38802453875541687, -0.33200928568840027, -0.5443286299705505, 0.5819053649902344, 0.006580640096217394, 0.4002169370651245, -0.4263847768306732, 0.017304321750998497, 0.04272281751036644, 0.22403429448604584, -0.22357334196567535, -0.9731274247169495, 0.026957668364048004, 0.16742432117462158, -0.5259883403778076, 0.15171107649803162, 0.39791303873062134, -0.41541847586631775, -0.6790342926979065, 0.3904246687889099, 0.7058605551719666, 0.018223363906145096, 0.10872448980808258, -0.774268627166748, 0.5853880047798157, 0.029607469215989113, -0.16573761403560638, 0.24356888234615326, 0.5053719282150269, -0.6846083402633667, 1.0352799892425537, 0.7247939705848694, 0.30750399827957153, 0.34908756613731384, 0.06111239269375801, 0.9091759324073792, -0.7241217494010925, -0.42881521582603455, -0.5796527862548828, 0.415526419878006, -0.12274099886417389, -0.6382424831390381, 0.9744657278060913, 0.6821540594100952, 1.1444274187088013, 0.00009129656245931983, 1.076209306716919, 0.38279756903648376, 0.3974042236804962, -0.4206831455230713, 0.6341415643692017, -0.21176153421401978, -0.13798534870147705, 0.032985132187604904, -0.668470025062561, -0.5775262117385864, 0.260368674993515, -0.38472282886505127, -0.1487133800983429, 0.7619338035583496, 0.6019970178604126, -0.007579191587865353, -0.13549098372459412, 0.7611573338508606, 0.22508926689624786, 0.2863965332508087, 0.301846981048584, 0.6409282684326172, -0.18443891406059265, 0.7860108017921448, -0.2608848810195923, -0.39378872513771057, -0.08568479865789413, -0.294178307056427, -1.1084190607070923, -0.39743438363075256, -0.3484187722206116, -0.4029165804386139, 0.1624675989151001, 1.3980114459991455, 0.9602701663970947, -0.5496819615364075, -0.7048580050468445, 0.3461128771305084, 0.25863566994667053, -0.08465102314949036, -0.14951692521572113, 0.0997435599565506, -0.30660149455070496, -0.9214333891868591, 0.4218703508377075, 0.5074236392974854, 0.04809127748012543, -0.7262074947357178, -0.43872830271720886, -0.011875679716467857, 0.2502632141113281, 0.9335935115814209, 0.4138282835483551, -0.6223413944244385, 0.15356793999671936, 0.5975644588470459, -0.29853785037994385, -0.12412909418344498, 0.969140350818634, -0.5214799642562866, 0.5138267278671265, 0.5105628967285156, 0.724652886390686, 0.08153596520423889, -0.11896567791700363, 0.8202595710754395, -0.1427612006664276, 0.2236347794532776, -0.030304457992315292, 0.3576667904853821, 0.14089924097061157, -0.30349379777908325, 0.3142660856246948, 0.20781274139881134, -0.8142595887184143, -1.096619725227356, 0.24276544153690338, -0.8076144456863403, -0.0133008798584342, 1.3924024105072021, -0.42919662594795227, -0.5004414319992065, -0.4956796169281006, -0.313611775636673, -0.16014470160007477, -0.12901635468006134, 0.5977441668510437, 0.9693082571029663, -0.12906210124492645, 0.049058686941862106, -1.0093607902526855, 0.3356853127479553, 0.5747725963592529, -0.8159637451171875, 0.20706674456596375, 0.08639168739318848, 0.2810572385787964, 0.3010903596878052, 0.21297824382781982, -0.3842640221118927, 0.8305097818374634, -0.2412579208612442, 0.32654646039009094, 0.10205084830522537, -0.8023759126663208, -0.5249837636947632, 0.0004441147029865533, 0.1359100490808487, -0.2035895586013794 ]
http://arxiv.org/abs/2404.01953v1
http://arxiv.org/pdf/2404.01953v1
Classifying Graphemes in English Words Through the Application of a Fuzzy Inference System
2024-04-02T13:47:52
2024-04-02T13:47:52
Samuel Rose, Chandrasekhar Kambhampati
cs.CL
cs.CL, cs.LO
In Linguistics, a grapheme is a written unit of a writing system corresponding to a phonological sound. In Natural Language Processing tasks, written language is analysed through two different mediums, word analysis, and character analysis. This paper focuses on a third approach, the analysis of graphemes. Graphemes have advantages over word and character analysis by being self-contained representations of phonetic sounds. Due to the nature of splitting a word into graphemes being based on complex, non-binary rules, the application of fuzzy logic would provide a suitable medium upon which to predict the number of graphemes in a word. This paper proposes the application of a Fuzzy Inference System to split words into their graphemes. This Fuzzy Inference System results in a correct prediction of the number of graphemes in a word 50.18% of the time, with 93.51% being within a margin of +- 1 from the correct classification. Given the variety in language, graphemes are tied with pronunciation and therefore can change depending on a regional accent/dialect, the +- 1 accuracy represents the impreciseness of grapheme classification when regional variances are accounted for. To give a baseline of comparison, a second method involving a recursive IPA mapping exercise using a pronunciation dictionary was developed to allow for comparisons to be made.
[ -0.5257095694541931, -0.7585700154304504, 0.5187637209892273, -0.12365758419036865, -0.324651300907135, 0.2013038992881775, -0.333816796541214, -0.5217257142066956, 0.32733312249183655, 0.5310633778572083, -0.3093179166316986, -0.5164874196052551, -0.5687898397445679, 0.5623092651367188, -0.2546616196632385, 0.47645363211631775, 0.16573196649551392, 0.24430102109909058, 0.09129080176353455, -0.16783525049686432, -0.763184666633606, -0.6153663992881775, -0.8395578861236572, -0.3813626170158386, 0.44510549306869507, 0.49596235156059265, 0.7906703948974609, 0.6013033986091614, 0.23892222344875336, 0.4956763684749603, -0.30423158407211304, 0.3832033574581146, -0.2932818531990051, -0.2614994943141937, 0.11012960225343704, -0.5691052079200745, -0.12120162695646286, 0.33958005905151367, 0.4391290843486786, 0.838550865650177, -0.3498256802558899, -0.27204960584640503, -0.17811432480812073, 0.4630245566368103, -0.27475234866142273, 0.22518795728683472, -0.48037388920783997, -0.010813303291797638, -0.24335986375808716, 0.15819066762924194, -0.35958540439605713, -0.313193142414093, -0.2471815049648285, -0.6177605986595154, 0.38707271218299866, 0.36672961711883545, 0.9406452178955078, -0.18753746151924133, -0.10469809919595718, -0.3920315206050873, -0.4717140793800354, 0.6233302354812622, -1.0335241556167603, 0.9710730314254761, 0.34501516819000244, 0.13906975090503693, -0.24341349303722382, -0.5718227028846741, -0.9535952210426331, -0.2500162422657013, -0.25118178129196167, -0.03945406526327133, -0.011353863403201103, 0.3320455253124237, -0.08520582318305969, 0.15586140751838684, -0.36477336287498474, 0.2612621784210205, -0.37594616413116455, -0.2766055762767792, 0.9581130146980286, -0.13524885475635529, 0.6350657939910889, -0.32149165868759155, -0.1087346225976944, 0.0068084318190813065, -0.3644288182258606, -0.3663918972015381, 0.5882902145385742, 0.7454541325569153, -0.020579075440764427, 0.397941917181015, -0.07947645336389542, 0.7107369899749756, 0.1481381505727768, -0.6089239716529846, 0.5200780630111694, -0.24539422988891602, -0.13172481954097748, 0.30103814601898193, 0.8343552947044373, 0.22826629877090454, 0.5543198585510254, -0.20425032079219818, -0.26980337500572205, 0.12215425074100494, 0.1395462602376938, -0.3425235152244568, -0.12997089326381683, 0.21892645955085754, -0.1944621205329895, -0.24906855821609497, 0.12787099182605743, -0.7164977192878723, -0.10210613161325455, -0.20938144624233246, 0.2553988993167877, -0.9032418727874756, -0.21931950747966766, 0.20432378351688385, -0.6304468512535095, -0.09679504483938217, 0.17605237662792206, -0.8938255906105042, 0.7627760767936707, 0.9608230590820312, 0.7943323254585266, -0.031585365533828735, -0.5869663953781128, 0.05648830533027649, 0.0220070481300354, -0.4679540693759918, 1.0933092832565308, -0.5445823669433594, -0.6307536363601685, -0.09525904059410095, 0.0944119319319725, -0.46331602334976196, -0.6418520212173462, 0.33742085099220276, -0.3750990331172943, 0.420278400182724, 0.2700674831867218, -0.737824022769928, -0.7032084465026855, -0.0803709328174591, -0.7326418161392212, 1.074839472770691, 0.404777854681015, -0.469599187374115, 0.60715651512146, -0.40461596846580505, -0.7859486937522888, 0.44877031445503235, 0.011286606080830097, -0.12714551389217377, 0.10288529843091965, -0.14317451417446136, 0.13458508253097534, -0.14149825274944305, -0.1200994923710823, -0.13118679821491241, -0.6089386343955994, 0.19509010016918182, -0.15390025079250336, 0.5868565440177917, 0.2601393163204193, -0.2609141767024994, -0.31864067912101746, -0.47419318556785583, 0.3550960421562195, 0.06722402572631836, -0.2442738115787506, -0.3433760702610016, 0.2695492208003998, -0.10369554162025452, -0.1492428332567215, -0.10708548128604889, -0.7770566940307617, -0.07565931975841522, -0.6378967761993408, 0.5112015604972839, 0.3717658817768097, 0.07832828909158707, 0.1307610273361206, -0.16057422757148743, 0.3140944242477417, -0.13210880756378174, -0.12415464222431183, 0.5675603151321411, -0.6169970631599426, -0.5957617163658142, -0.5900083780288696, 0.8300157785415649, 0.8090190887451172, -0.41812863945961, 0.6183379292488098, -0.27500319480895996, -0.6137368679046631, -0.5022872686386108, 0.15050899982452393, 0.16366364061832428, 0.3016316294670105, 0.06949345767498016, -0.35665163397789, -0.08509210497140884, -0.7319374680519104, -0.15945234894752502, -0.4572347104549408, -0.01135540846735239, 0.343906044960022, 0.16983279585838318, -0.03319516032934189, 0.5040891170501709, -0.7589797377586365, -0.17010000348091125, -0.43924281001091003, 0.19665399193763733, 0.39751410484313965, 0.13410311937332153, 0.6077951192855835, -0.7878621816635132, -0.43384218215942383, 0.2596489489078522, -0.2943631410598755, -0.3382341265678406, 0.12997081875801086, -0.02833898551762104, 0.21310833096504211, 0.32430800795555115, -0.47498753666877747, 0.2806605398654938, 0.29891878366470337, -0.4911622703075409, 0.6064311265945435, -0.127345472574234, 0.33367815613746643, -0.6587227582931519, -0.21393835544586182, -0.07849719375371933, -0.26457762718200684, -0.7026594281196594, 0.06779836863279343, -0.4679723381996155, -0.17828184366226196, -0.25228312611579895, 0.3997453451156616, -0.4559025168418884, 0.11782082170248032, -0.17167451977729797, 0.46322280168533325, 0.09981948137283325, 0.32113873958587646, 0.05614796653389931, 0.8105415105819702, 0.2703651487827301, -0.42803576588630676, 0.4720519781112671, 0.2634304463863373, -0.23506230115890503, 0.6244485378265381, -0.3107401132583618, 0.20205289125442505, 0.05857401341199875, -0.24463698267936707, -1.3224843740463257, 0.09808902442455292, 0.31645268201828003, -0.6378881335258484, 0.5345563888549805, 0.18512283265590668, -0.5622674226760864, -0.3311557173728943, -0.03461720421910286, 0.024739645421504974, 0.457504540681839, -0.1779966652393341, 0.5024353265762329, 0.5908226370811462, -0.4101390540599823, -0.1316770613193512, -0.6468801498413086, -0.0003171038697473705, -0.39722687005996704, -0.5360963344573975, 0.0015522721223533154, 0.21451710164546967, -0.51833176612854, 0.18680118024349213, 0.02863960713148117, -0.3653011620044708, 0.1833110749721527, 0.0744713842868805, 0.19837260246276855, -0.15304973721504211, 0.301474004983902, -0.1581362634897232, -0.14634287357330322, -0.05345632880926132, -0.45842111110687256, 0.5950264930725098, -0.023167118430137634, -0.06371467560529709, -0.33385226130485535, 0.6900984048843384, 0.4219237267971039, -0.15891003608703613, 0.5280195474624634, 0.2143896371126175, -0.4315614700317383, -0.3797703981399536, -0.536548912525177, 0.20178937911987305, -0.44971951842308044, 0.26998254656791687, -0.31901949644088745, -0.37376460433006287, 0.3279470205307007, -0.06404862552881241, -0.46338099241256714, 0.7152755260467529, 0.23259779810905457, -0.17776864767074585, 0.9567884802818298, 0.49197593331336975, -0.22646963596343994, 0.47907957434654236, -0.1622840315103531, 0.4984229505062103, -0.4095475971698761, -0.019983943551778793, -0.7017590999603271, -0.04578094929456711, -0.7917966842651367, -0.05264635011553764, 0.06872731447219849, 0.09320086985826492, -0.08214051276445389, 0.4003734290599823, -0.519205629825592, 0.3432157039642334, 0.6049877405166626, 0.2222108542919159, 0.09027151763439178, 0.25376230478286743, -0.3261093497276306, 0.24312056601047516, -0.734229326248169, -0.36405816674232483, 0.4388260543346405, 0.035074371844530106, 0.5266826152801514, 0.024867691099643707, 0.861439049243927, 0.6172219514846802, 0.16099365055561066, -1.2110503911972046, 0.581440269947052, -0.4726143479347229, -0.371748685836792, -0.6369069218635559, -0.30643293261528015, -0.797924816608429, 0.12293259054422379, -0.31031104922294617, -0.8763946294784546, 0.20373152196407318, -0.1790848970413208, -0.040977802127599716, 0.33005890250205994, -0.9873995780944824, 0.5010054111480713, -0.3514616787433624, 0.00248865969479084, -0.23807045817375183, -0.30423492193222046, -0.15380974113941193, -0.281877726316452, 0.5147016048431396, -0.2340070903301239, 0.2796366512775421, 0.9301643371582031, -0.8951262831687927, 0.7016028165817261, -0.07017959654331207, -0.07515271753072739, 0.7700638175010681, 0.18958227336406708, 0.0708857923746109, -0.5461245179176331, -0.34419119358062744, 0.8367803692817688, 0.39612019062042236, -0.05754200741648674, -0.7092658281326294, 0.31352123618125916, -0.6334674954414368, -0.528598964214325, -0.5057113766670227, -0.3073120415210724, -0.28263917565345764, 0.6579671502113342, 0.34973594546318054, 0.4433082640171051, -0.06602706015110016, -0.5191103219985962, -0.03656022995710373, 0.2908749580383301, 0.025595229119062424, 0.3185913860797882, -0.01309073157608509, -0.6862846612930298, 1.102530837059021, 0.6317071318626404, 0.2199186235666275, 0.1907508820295334, 0.5545200705528259, -0.4469611942768097, -0.8891354203224182, -0.12197341024875641, 0.5562495589256287, -0.6971468925476074, -0.07927194237709045, -0.015809684991836548, -0.0436784066259861, -0.7280935645103455, -0.3945709466934204, 0.24039527773857117, -0.3364115059375763, -0.08996333181858063, -0.19034123420715332, 0.464184433221817, 1.0319087505340576, -0.19675619900226593, 0.534980058670044, -0.7208831906318665, 0.15010443329811096, 0.16142165660858154, 0.5204193592071533, -0.26890894770622253, -0.2566777169704437, -0.06698283553123474, 0.011464927345514297, 0.06146533787250519, -1.2743420600891113, 0.45543333888053894, 0.513474702835083, 0.6671416163444519, 0.4500415623188019, -0.24764804542064667, 0.6673259139060974, -0.7781810164451599, 0.8083915710449219, 0.15688924491405487, -1.0841617584228516, 0.04369054362177849, -0.13491705060005188, -0.33992382884025574, 0.6778717041015625, 0.1965532898902893, -1.0006475448608398, -0.5322552919387817, -0.9434516429901123, -0.6935272812843323, 0.3090779185295105, -0.037906065583229065, -0.0885808914899826, -0.5551366806030273, 0.513458788394928, 0.11532817035913467, 0.18064171075820923, 0.03361097350716591, -0.014392885379493237, -0.020812587812542915, -0.43388545513153076, -0.415957510471344, -0.18339964747428894, -0.15793462097644806, -0.132283553481102, 0.7247844338417053, -0.15383069217205048, 0.4416695833206177, 0.08288807421922684, 0.057804565876722336, 0.2631061375141144, 0.2777463495731354, 0.23346355557441711, 0.525959312915802, -0.014729288406670094, 0.2071157991886139, 0.577986478805542, -0.8774611353874207, 0.1438976675271988, 0.0885055810213089, -0.09430364519357681, 0.20440573990345, 0.7077593207359314, 0.5049447417259216, 0.02853022888302803, -0.4461720287799835, 0.313802033662796, 0.27194347977638245, -0.16368554532527924, -0.19566214084625244, 0.22337424755096436, 0.039419014006853104, -0.10038052499294281, -0.05044134333729744, -0.32250961661338806, 0.4444272220134735, -0.5161976218223572, 0.2850401699542999, 0.4081186056137085, -0.31089675426483154, -0.10413803160190582, 0.18080376088619232, 0.19227781891822815, -0.8074268698692322, 0.7886622548103333, -0.38743773102760315, -0.8847616314888, 0.7409626841545105, 0.932828426361084, 0.8642181754112244, -0.28818419575691223, 0.1643056571483612, 0.20685331523418427, 0.17147211730480194, 0.2289379984140396, 0.6096556186676025, 0.09465585649013519, -1.0703189373016357, 0.05552847683429718, -0.5287363529205322, -0.39066216349601746, -0.19966740906238556, -0.5480908155441284, 0.344766229391098, -0.4260435700416565, -0.27485594153404236, 0.3636685609817505, 0.07003225386142731, -0.46445131301879883, 0.6257573962211609, 0.49121811985969543, 1.0451714992523193, -0.9565693140029907, 0.2175953984260559, 0.6109187006950378, -0.03682946041226387, -1.0712792873382568, -0.1369198113679886, 0.12772385776042938, -0.9782982468605042, 0.5286319255828857, 0.15004630386829376, -0.6159158945083618, -0.02922622114419937, -0.5731980204582214, -0.68064945936203, 0.6417135000228882, 0.09723223000764847, -0.30187878012657166, 0.2440856397151947, 0.23820771276950836, 0.6511229276657104, -0.29960349202156067, 0.18220289051532745, 0.7415593266487122, 0.5958144664764404, 0.10281015187501907, -0.8280279040336609, -0.03742734342813492, -0.16416679322719574, -0.13293689489364624, 0.5926095247268677, -0.6335172653198242, 0.70146244764328, -0.29705891013145447, -0.7755443453788757, -0.09106923639774323, 0.4040064811706543, -0.15416991710662842, 0.06311483681201935, 0.8423747420310974, 0.5248499512672424, 1.240716576576233, -0.19837410748004913, 0.9393833875656128, -0.43091386556625366, 0.5760570168495178, 0.671596348285675, -0.3483269512653351, 0.9872973561286926, 0.274275004863739, -0.5626032948493958, 0.7679800987243652, 0.8592802286148071, -0.1390017718076706, 0.31824228167533875, 0.26486530900001526, -0.36651235818862915, -0.1673562377691269, -0.08097632229328156, -0.012833683751523495, 1.002467393875122, 0.647955596446991, -0.03896434232592583, -0.08133823424577713, -0.41823941469192505, 0.4275009334087372, -0.031136926263570786, -0.36624789237976074, 0.9632170796394348, -0.12171204388141632, -0.4832104444503784, 0.4842427670955658, 0.01110299862921238, 0.22254177927970886, -0.778669536113739, -0.40355926752090454, 0.006204323377460241, -0.04537195339798927, -0.33292219042778015, -0.9588817954063416, 0.07380381226539612, -0.3642960786819458, 0.22689294815063477, 0.4691001772880554, 0.8706380128860474, -0.4456227123737335, -0.7973197102546692, 0.3204813599586487, 0.27469953894615173, 0.34335437417030334, 0.2931702435016632, -0.3797851502895355, -0.40428829193115234, -0.19420483708381653, 0.15649761259555817, -0.36918240785598755, 0.3947405219078064, 0.06141490861773491, 0.42950451374053955, 0.4510114789009094, 0.5572631359100342, -0.057052597403526306, -0.13169898092746735, 0.421267032623291, -0.6823670864105225, -0.9454018473625183, -0.5539339184761047, -0.028833480551838875, -0.07409664988517761, -0.2497328370809555, 0.78758305311203, 0.4400252103805542, 0.7280722260475159, 0.23005814850330353, 0.9614239931106567, -0.0469982847571373, 0.471295028924942, -0.6418237090110779, 0.6650484204292297, -0.37816983461380005, -0.23902520537376404, -0.23312325775623322, -0.41660866141319275, -0.3288039267063141, 0.6591855883598328, -0.2333221137523651, -0.02498609945178032, 0.8622888922691345, 0.5589728355407715, 0.1671045571565628, 0.23585078120231628, 0.1947489082813263, 0.17119862139225006, -0.121392160654068, 0.09120839089155197, 0.3445757329463959, -0.10933242738246918, -0.05752087011933327, -0.28438490629196167, -0.18724481761455536, -0.014241510070860386, -0.5872360467910767, -0.35435208678245544, -0.4157600998878479, -0.07466518133878708, -0.5346234440803528, 0.1521359533071518, 0.7447455525398254, 0.5535265207290649, -0.9634422659873962, -0.49584341049194336, 0.37289634346961975, 0.4175545275211334, -0.7576872110366821, -0.20409013330936432, 0.37647491693496704, -0.3055900037288666, -0.779072105884552, 0.31218448281288147, 0.04690563678741455, -0.04001857712864876, 0.10204508155584335, 0.16916301846504211, -0.38342106342315674, 0.3135048747062683, 0.6040586829185486, 0.28218668699264526, -0.4323389530181885, -0.9381143450737, -0.15141375362873077, 0.09523428231477737, 0.4938431680202484, 0.5729528069496155, -0.5721462368965149, 0.5175669193267822, 0.6928940415382385, 0.24737690389156342, 0.13611485064029694, 0.18843814730644226, 0.520557165145874, -0.5112884044647217, 0.06017543375492096, -0.08012156933546066, 0.5747654438018799, 0.32197481393814087, -0.6759621500968933, 0.5422305464744568, 0.6210309267044067, -0.24335652589797974, -0.48620447516441345, 0.07687423378229141, -0.8084318041801453, -0.37218186259269714, 1.2103877067565918, 0.0964391753077507, -0.47048819065093994, -0.23154376447200775, -0.30172714591026306, 0.31318771839141846, -0.33986467123031616, 0.3685527443885803, 0.9892473220825195, -0.5122693777084351, 0.17622603476047516, -0.29361826181411743, 0.18830135464668274, -0.10494594275951385, -0.6380911469459534, -0.19342651963233948, 0.5361557006835938, 0.7261990308761597, 0.6144376397132874, 0.4390295743942261, 0.08304096758365631, -0.06442369520664215, 0.4260199964046478, 0.2089127153158188, -0.014348714612424374, -0.2866080105304718, -0.47407516837120056, 0.19804416596889496, 0.12458039820194244, -0.353618860244751 ]
http://arxiv.org/abs/2404.02183v1
http://arxiv.org/pdf/2404.02183v1
Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization
2024-04-02T13:37:28
2024-04-02T13:37:28
Yoichi Ishibashi, Yoshimasa Nishimura
cs.SE
cs.SE, cs.AI, cs.CL, cs.LG, cs.MA
Recent advancements in automatic code generation using large language model (LLM) agent have brought us closer to the future of automated software development. However, existing single-agent approaches face limitations in generating and improving large-scale, complex codebases due to constraints in context length. To tackle this challenge, we propose Self-Organized multi-Agent framework (SoA), a novel multi-agent framework that enables the scalable and efficient generation and optimization of large-scale code. In SoA, self-organized agents operate independently to generate and modify code components while seamlessly collaborating to construct the overall codebase. A key feature of our framework is the automatic multiplication of agents based on problem complexity, allowing for dynamic scalability. This enables the overall code volume to be increased indefinitely according to the number of agents, while the amount of code managed by each agent remains constant. We evaluate SoA on the HumanEval benchmark and demonstrate that, compared to a single-agent system, each agent in SoA handles significantly less code, yet the overall generated code is substantially greater. Moreover, SoA surpasses the powerful single-agent baseline by 5% in terms of Pass@1 accuracy.
[ -0.453200101852417, -0.48633715510368347, 0.44992244243621826, 0.6333991885185242, 0.07886862009763718, 0.2331896424293518, 0.01551556121557951, -0.3747948408126831, 0.356566458940506, 0.5518637895584106, -0.5632910132408142, -0.445355087518692, -0.09099899977445602, 0.332253634929657, -0.18144188821315765, 0.7660998106002808, 0.24504457414150238, 0.01321115717291832, -0.305379182100296, -0.3832307755947113, -0.10720203816890717, -0.7536036372184753, -0.37282460927963257, -0.25109827518463135, 0.33857858180999756, 0.5871075391769409, 0.7059385776519775, 1.2354754209518433, 0.6135950088500977, 0.46917855739593506, 0.4749392569065094, 0.1375054121017456, -0.4743943214416504, 0.2913151979446411, 0.12140995264053345, -0.15569111704826355, -0.8352532386779785, -0.3412639796733856, 0.6750476360321045, 0.08348293602466583, -0.2678964138031006, 0.49750131368637085, -0.24158883094787598, 0.6589383482933044, -0.5383819341659546, 0.16233253479003906, -0.3095099627971649, -0.032153256237506866, -0.018031619489192963, -0.44342952966690063, -0.10746117681264877, -0.024805424734950066, -0.41293585300445557, -0.5227767825126648, -0.1441381275653839, -0.22775046527385712, 0.2389480471611023, 0.6199128031730652, -0.3671456277370453, -0.26245829463005066, -0.6984764337539673, 0.5585684776306152, -0.6588488817214966, -0.03606663644313812, -0.29678183794021606, 0.21971209347248077, -0.3405736982822418, -0.765775740146637, -0.5459742546081543, -0.19845515489578247, 0.38675054907798767, 0.05978858470916748, -0.11891696602106094, 0.03927333652973175, -0.037739455699920654, 0.10506047308444977, -0.758871853351593, 0.3261149823665619, -0.0856744647026062, -0.07932403683662415, 0.7833942770957947, 0.36078789830207825, 0.5259693264961243, 0.15496212244033813, -0.6249036192893982, 0.07836036384105682, -0.6397596001625061, -0.18089932203292847, 0.229550302028656, 0.31300729513168335, 0.1840425729751587, 0.308958500623703, -0.20601336658000946, 0.20849381387233734, 0.0642765611410141, -0.18281041085720062, 0.32180866599082947, -0.3842546343803406, -0.30775681138038635, -0.09408093988895416, 0.8193842768669128, 0.23552706837654114, -0.04933333396911621, -0.055774930864572525, -0.41635772585868835, 0.2122173309326172, 0.4574083387851715, -1.01894211769104, 0.03962024301290512, 0.4397793710231781, -0.5147247910499573, -0.5479130148887634, -0.16926084458827972, -0.6697940826416016, -0.24508534371852875, -0.006039100233465433, 0.26928937435150146, 0.22332797944545746, -0.27308058738708496, 0.1480495184659958, 0.23895849287509918, 0.28228506445884705, 0.18919521570205688, -0.5630539655685425, 0.08775074034929276, 0.42172250151634216, 0.5310401320457458, -0.16547510027885437, -0.7675558924674988, -0.6899543404579163, 0.3745975196361542, -0.6617502570152283, 0.7171052098274231, -0.43766748905181885, -0.21856506168842316, -0.1597507894039154, -0.3708156943321228, 0.38193947076797485, -0.4615219831466675, -0.06492363661527634, -0.6355754137039185, -0.36029911041259766, 0.1505025327205658, -0.2930314838886261, 0.28196731209754944, 0.14595535397529602, -0.5915460586547852, 0.9542281627655029, 0.24895180761814117, -0.281005322933197, 0.05637873709201813, -0.7603545784950256, -0.2605542540550232, 0.25639578700065613, -0.5047394037246704, -0.5298840999603271, 0.08568257093429565, -0.06653806567192078, 0.48672109842300415, -0.4640648365020752, 0.2827468514442444, -0.3379559814929962, -0.32079029083251953, -0.0032191118225455284, -0.07320669293403625, 0.5140842795372009, 0.5036817789077759, -0.563277006149292, 0.473779559135437, -0.824206531047821, 0.2612568736076355, 0.14506973326206207, -0.607724666595459, 0.043551791459321976, -0.13663046061992645, -0.14539454877376556, 0.5520836114883423, 0.5893324017524719, -0.24111723899841309, 0.6808059811592102, -0.13525773584842682, 0.18243274092674255, 0.8946217894554138, -0.024906132370233536, 0.7013258934020996, -0.12423449754714966, 0.7435178756713867, -0.311871737241745, 0.48365622758865356, -0.2313845008611679, -0.06577601283788681, -0.44418588280677795, -0.5057595372200012, -0.12427201122045517, 0.2303784340620041, -0.6854546666145325, 0.4505641758441925, -0.09677278995513916, -0.5424059629440308, -0.04990196228027344, 0.4525775909423828, 0.5431906580924988, -0.11366570740938187, 0.21584093570709229, -0.25069835782051086, -0.3868432343006134, -0.7138581275939941, 0.10939747095108032, -0.06412026286125183, 0.19274823367595673, 0.07717742770910263, 0.6596252918243408, -0.8039620518684387, 0.7829346656799316, -0.31559616327285767, -0.37121614813804626, -0.25885578989982605, 0.08886938542127609, -0.026823827996850014, 0.7672744989395142, 0.5861952304840088, -0.629095733165741, -0.47104063630104065, 0.11974278837442398, -0.7478168606758118, -0.2446097582578659, -0.39047491550445557, -0.2456541210412979, 0.39926877617836, 0.6078330874443054, -0.512925922870636, 0.29636064171791077, 0.5723870396614075, -0.36640438437461853, 0.7651737928390503, -0.7377659678459167, -0.2055196464061737, -1.0103399753570557, -0.15777400135993958, -0.5112414360046387, -0.1790992170572281, -0.6179245114326477, 0.7523226141929626, 0.042079512029886246, -0.044167254120111465, -0.2501990497112274, 0.29101675748825073, -0.6902798414230347, -0.33828914165496826, -0.5215110182762146, -0.1107376217842102, -0.1342965066432953, 0.7748850584030151, -0.3568311333656311, 1.077303171157837, 0.7597590684890747, -0.6872054934501648, 0.4789085388183594, -0.13005614280700684, 0.03105398267507553, 0.2838263213634491, -0.6237786412239075, 0.3156281113624573, -0.10376088321208954, 0.381136417388916, -0.5389235615730286, -0.3005901277065277, -0.1709291636943817, -0.25922295451164246, 0.18773259222507477, 0.13780829310417175, -0.7755191922187805, -0.3049982786178589, -0.43887174129486084, 0.4891642928123474, 0.26376262307167053, -0.5569296479225159, 0.7648546099662781, 0.4354236423969269, 0.1512783169746399, -0.639430582523346, -0.5390914082527161, 0.1167207658290863, 0.029453903436660767, -0.6359364986419678, 0.025084227323532104, -0.5163702964782715, -0.1909182220697403, -0.13342271745204926, -0.4931182861328125, -0.056619204580783844, 0.17511019110679626, 0.35300207138061523, -0.014475850388407707, -0.3825172185897827, 0.4972267150878906, 0.0893685594201088, -0.2714003622531891, 0.024148888885974884, -0.7084840536117554, 0.5597217679023743, -0.4770304262638092, -0.3377586901187897, -0.11835983395576477, 0.4562527537345886, 0.8647704720497131, -0.5979018807411194, 0.7082646489143372, 0.2296764850616455, -0.09509088844060898, -0.6797882914543152, -0.3974924683570862, 0.13947589695453644, -0.5000948309898376, 0.34445399045944214, -0.7723617553710938, -0.8795344233512878, 0.7772817611694336, -0.3276343047618866, 0.20460867881774902, 0.43715399503707886, 0.7146397233009338, 0.14498476684093475, 1.1104762554168701, 0.8573712706565857, -0.049275826662778854, 0.42097747325897217, -0.4209720194339752, -0.15812097489833832, -0.23436926305294037, 0.07878877222537994, -0.6328092217445374, 0.0033332447055727243, -0.762102484703064, -0.8198517560958862, 0.5575920939445496, 0.09468881785869598, -0.48031169176101685, 0.24867242574691772, -0.8216465711593628, 0.7382147312164307, 0.39791756868362427, -0.3491179347038269, 0.4243311285972595, -0.1875333935022354, 0.10070643573999405, 0.7358341217041016, -0.8764926195144653, -0.5731197595596313, 1.1375298500061035, 0.34745267033576965, 0.8184683322906494, 0.22583870589733124, 1.2210438251495361, 0.4039500057697296, 0.2506861090660095, -0.3688961863517761, 0.6389192938804626, 0.18906979262828827, -0.6200844049453735, -0.732874870300293, -0.6047678589820862, -1.0305986404418945, 0.5097257494926453, 0.05005035921931267, -0.3970378637313843, 0.23578409850597382, -0.057734161615371704, -0.4733227491378784, 0.029419641941785812, -0.7019995450973511, 0.9827284216880798, -0.3408208191394806, -0.33805155754089355, -0.32749658823013306, -0.6310634613037109, -0.10364768654108047, -0.5121183395385742, 0.301920086145401, -0.05231805518269539, -0.3076680600643158, 0.3362676799297333, -0.8236770629882812, 0.40916019678115845, -0.017235586419701576, -0.47499769926071167, 0.5776264071464539, 0.2264009565114975, 0.6724774837493896, 0.20868094265460968, -0.27481988072395325, 0.032781220972537994, 0.02246318943798542, -0.6041542887687683, -0.7473748326301575, 0.7393258810043335, -0.8666715025901794, -0.34700655937194824, -0.3331774175167084, -0.582667887210846, 0.31146907806396484, 0.6405476331710815, 0.01474060956388712, 0.7925125360488892, -0.1419261246919632, 0.16134847700595856, 0.2722848951816559, -0.16847768425941467, 0.6637026071548462, 0.7600676417350769, -0.25824594497680664, -0.25703540444374084, 0.9264570474624634, 0.12567684054374695, 0.21472980082035065, 0.21724911034107208, 0.05333178490400314, -0.17120221257209778, -0.6052480340003967, -0.6547890901565552, 0.03199619799852371, -0.5951222777366638, -0.49438631534576416, -0.504660427570343, 0.03262852132320404, -0.5037205219268799, -0.47203749418258667, -0.6726557612419128, -0.11393969506025314, -0.0626414492726326, 0.17463678121566772, -0.08013574779033661, 1.1319763660430908, -0.2719046175479889, 0.3341773748397827, -0.8265507817268372, 0.4647318124771118, 0.3741680681705475, 0.5478187203407288, -0.11627122759819031, 0.0375426821410656, -0.5925549268722534, -0.24740701913833618, -0.11829400062561035, -0.8088651895523071, 0.3860139846801758, -0.15073202550411224, 0.4969959259033203, 0.29240161180496216, 0.3253176212310791, 0.5511012673377991, -0.4313904643058777, 0.3604213297367096, 0.22834154963493347, -0.9376078844070435, 0.3241615295410156, -0.43313342332839966, 0.5123701095581055, 0.3832692503929138, -0.20760460197925568, 0.052026595920324326, -0.668400228023529, -0.7145830392837524, -0.6794820427894592, 0.8637933731079102, 0.4392874836921692, 0.125663623213768, 0.23913341760635376, 0.3396187722682953, -0.07463841885328293, 0.300361692905426, -0.9018352031707764, -0.46912041306495667, -0.10306554287672043, -0.036001648753881454, -0.10678883641958237, -0.3208463788032532, -0.18871912360191345, 0.21370147168636322, 0.512836217880249, -0.6096957921981812, 0.30499106645584106, 0.16557322442531586, -0.03982065990567207, -0.41803547739982605, 0.3662087321281433, 0.6388112306594849, 0.8570972084999084, 0.0016094468301162124, 0.20417843759059906, 0.027109533548355103, -0.2993181049823761, 0.43556511402130127, -0.004214541520923376, -0.006580573506653309, -0.5643802285194397, 0.36330080032348633, 0.2788516879081726, -0.2590752840042114, -0.7009962201118469, 0.4489617943763733, -0.03949394077062607, -0.11865364015102386, -0.28636634349823, 0.11939644813537598, -0.028823446482419968, 0.6800665855407715, 0.5369260907173157, 0.10242075473070145, 0.23486876487731934, -0.583626925945282, 0.28232941031455994, 0.3477745056152344, 0.27354705333709717, -0.02538640797138214, 0.4225417673587799, 0.4795578718185425, -0.34139278531074524, 0.11345014721155167, -0.6272415518760681, -0.3797145485877991, 1.1466575860977173, 0.6702347993850708, 0.9941474199295044, -0.28672751784324646, 0.18071357905864716, -0.013765709474682808, 0.3985947370529175, -0.0754355862736702, 0.3475207984447479, -0.29412275552749634, -0.5577075481414795, -0.4565408527851105, -0.7354291081428528, -0.09811326116323471, -0.17402052879333496, -0.2516254186630249, -0.06224457919597626, -0.5296350121498108, 0.06686404347419739, -0.1738964319229126, 0.345874547958374, -0.22965240478515625, 0.1340772807598114, -0.004100307356566191, 0.6513268351554871, -0.36405885219573975, 0.951353907585144, 0.9171807765960693, -0.5137429237365723, -1.06971275806427, 0.14261314272880554, -0.13558080792427063, -0.49515363574028015, 0.3447321653366089, 0.3221163749694824, -0.6282862424850464, 0.16995687782764435, -0.6305896043777466, -1.0042153596878052, 1.0468237400054932, 0.49357306957244873, -0.39713913202285767, 0.09521463513374329, 0.04804270714521408, 0.9349208474159241, -0.7466673254966736, 0.20114363729953766, 0.26420146226882935, 0.41948404908180237, 0.14953728020191193, -0.7565018534660339, 0.09913453459739685, -0.4247698485851288, 0.16019651293754578, 0.18280969560146332, -0.9747816324234009, 0.7400801777839661, -0.40227916836738586, -0.2156987488269806, 0.08097502589225769, 0.7047043442726135, 0.28368115425109863, 0.41320496797561646, 0.4030821621417999, 0.12778030335903168, 0.5279040336608887, 0.4256066381931305, 0.8223821520805359, -0.7262176871299744, 0.5169427990913391, 0.9789451956748962, -0.3648482859134674, 0.3485722839832306, 0.1315724402666092, -0.025145642459392548, 0.4239252805709839, 0.27466028928756714, 0.1435791254043579, -0.0650520920753479, 0.30125692486763, -0.07757183909416199, -0.4389658272266388, 0.12645220756530762, -0.47652944922447205, 0.6977142095565796, -0.11373467743396759, 0.07547193765640259, -0.11663664877414703, -0.11497844010591507, -0.16484282910823822, 0.14797018468379974, -0.4053005278110504, 0.8251816034317017, -0.1913992166519165, -0.5014495253562927, 0.5842883586883545, 0.05329465866088867, 0.3609655499458313, -0.5533174872398376, 0.037483055144548416, -0.4219514727592468, 0.33152052760124207, -0.29952457547187805, -0.26701584458351135, 0.23027403652668, -0.01337449811398983, -0.2240261286497116, -0.5846377015113831, 0.8480255007743835, -0.2294308990240097, -0.1830931156873703, 0.47268977761268616, 0.7650588750839233, 0.2064725160598755, -0.15221679210662842, -0.6011298298835754, 0.03807219862937927, -0.1922413855791092, -0.5531285405158997, 0.4373568296432495, 0.8202380537986755, -0.016468271613121033, 0.9970526695251465, 0.5921204686164856, -0.07109541445970535, 0.16594740748405457, -0.0016265383455902338, 1.147632122039795, -0.6012747883796692, -0.837215006351471, -0.7463791966438293, 0.13871753215789795, 0.10945107787847519, -0.11016616970300674, 0.8085440993309021, 0.6033140420913696, 0.5993790030479431, -0.130026176571846, 0.43407362699508667, -0.14189346134662628, -0.09272897988557816, -0.10612349957227707, 0.7244459390640259, -0.9464436173439026, 0.38125959038734436, -0.36648374795913696, -0.9441723227500916, -0.32315194606781006, 0.4130929708480835, 0.3423066735267639, 0.17925599217414856, 0.49544620513916016, 0.975736677646637, 0.3210042715072632, -0.32640552520751953, 0.5258303880691528, 0.16453778743743896, 0.37480777502059937, 0.40872901678085327, 0.7201494574546814, -0.06857731938362122, 0.809884786605835, -0.006760819349437952, -0.4166226089000702, -0.22156421840190887, -0.5793831944465637, -0.6995981335639954, -0.42522192001342773, -0.177530899643898, -0.12348867207765579, -0.21277326345443726, 1.2167474031448364, 0.8327125906944275, -0.5362885594367981, -0.5811474323272705, -0.4448417127132416, 0.27682146430015564, -0.40415123105049133, -0.11938585340976715, 0.11750384420156479, -0.6996519565582275, -0.6899585127830505, 0.5969073176383972, 0.8379592895507812, -0.10179217159748077, -0.7149885296821594, -0.530929684638977, -0.033669792115688324, 0.3124862313270569, 0.6222606301307678, 0.3197433054447174, -0.23512668907642365, 0.06996316462755203, 0.02961023524403572, -0.7847790122032166, 0.018542524427175522, 0.8315970301628113, -0.6314433217048645, 0.6391744613647461, 0.3629612326622009, 0.6391961574554443, 0.20979374647140503, 0.023399215191602707, 0.5919530987739563, -0.6186215877532959, -0.047625359147787094, 0.12166929244995117, -0.07698240876197815, -0.4527425169944763, -0.5664498209953308, 0.6889466047286987, 0.015984052792191505, -0.9027609825134277, -0.8489425182342529, 0.25109240412712097, -0.848766028881073, -0.42314577102661133, 1.012022614479065, -0.12720359861850739, -0.21076230704784393, -0.09157822281122208, -0.08487387001514435, 0.31316354870796204, -0.5884286761283875, 0.6493915915489197, 0.13889944553375244, -0.4454462230205536, 0.037538137286901474, -0.0626504123210907, 0.4502655267715454, 0.4226539731025696, -1.227911114692688, 0.038263820111751556, 0.738264799118042, -0.07953855395317078, 0.5473802089691162, 1.234857201576233, 0.05403916910290718, 0.447194904088974, 0.26481926441192627, 0.570703387260437, -0.36093801259994507, -0.797183096408844, -0.4653686285018921, 0.4990006983280182, 0.04662742465734482, -0.19025515019893646 ]
http://arxiv.org/abs/2404.01940v1
http://arxiv.org/pdf/2404.01940v1
Towards Better Understanding of Cybercrime: The Role of Fine-Tuned LLMs in Translation
2024-04-02T13:33:23
2024-04-02T13:33:23
Veronica Valeros, Anna Širokova, Carlos Catania, Sebastian Garcia
cs.CL
cs.CL
Understanding cybercrime communications is paramount for cybersecurity defence. This often involves translating communications into English for processing, interpreting, and generating timely intelligence. The problem is that translation is hard. Human translation is slow, expensive, and scarce. Machine translation is inaccurate and biased. We propose using fine-tuned Large Language Models (LLM) to generate translations that can accurately capture the nuances of cybercrime language. We apply our technique to public chats from the NoName057(16) Russian-speaking hacktivist group. Our results show that our fine-tuned LLM model is better, faster, more accurate, and able to capture nuances of the language. Our method shows it is possible to achieve high-fidelity translations and significantly reduce costs by a factor ranging from 430 to 23,000 compared to a human translator.
[ -0.03307958319783211, -0.7999625205993652, 0.4181572198867798, 0.09297940135002136, -0.5992235541343689, 0.4050096273422241, -0.2897970676422119, -0.779763400554657, 0.15656214952468872, 0.7741634249687195, -0.42751196026802063, -0.2863225042819977, -0.8477048277854919, 0.2202526479959488, -0.5278567671775818, 1.154162049293518, 0.16954387724399567, 0.2855124771595001, -0.0003628308477345854, 0.3190155327320099, -0.3533613979816437, -0.5505028963088989, -0.7103126645088196, -0.4206238090991974, 0.1470756083726883, 0.31643614172935486, 0.6380299925804138, 0.6547238826751709, 0.9016656875610352, 0.41290533542633057, -0.163692906498909, 0.30658599734306335, -0.9207919239997864, -0.24541956186294556, -0.3079565167427063, -0.8494317531585693, -0.498561829328537, -0.024746811017394066, 0.07179625332355499, 0.38077330589294434, 0.0020583041477948427, 0.2358006089925766, 0.14878299832344055, 0.4367554187774658, -0.28219321370124817, -0.045905206352472305, -0.8790042996406555, -0.12583675980567932, -0.19792519509792328, -0.47311511635780334, -0.5701614022254944, -0.155512273311615, -0.035617273300886154, -0.5756002068519592, 0.19291430711746216, -0.0004691129142884165, 0.6861684918403625, 0.1177990511059761, -0.29087531566619873, 0.01056161243468523, -0.9465946555137634, 0.809661328792572, -0.7963050007820129, 0.08731875568628311, 0.6106517910957336, 0.3064127564430237, -0.31192710995674133, -0.6759953498840332, -0.2511318027973175, 0.06964070349931717, 0.1313573271036148, -0.11607857793569565, -0.48568010330200195, 0.08344798535108566, -0.0273740291595459, 0.15958167612552643, -0.3733346462249756, 0.22014115750789642, -0.8319041132926941, -0.4800870418548584, 0.9516125321388245, 0.48680511116981506, 0.1531612128019333, 0.05273250862956047, -0.15186738967895508, 0.1474902480840683, -0.5396692156791687, -0.24760015308856964, 0.5116320252418518, 0.4366520941257477, -0.43645811080932617, 0.357622891664505, -0.2536177635192871, 0.637882649898529, 0.10040313005447388, -0.6417880058288574, -0.07232016324996948, -0.5881393551826477, -0.31284964084625244, -0.09911834448575974, 0.5700838565826416, 0.525146484375, 0.6710631251335144, -0.2857791781425476, -0.16709794104099274, 0.06221078708767891, 0.6330541968345642, -0.9414313435554504, -0.2781328856945038, 0.26488178968429565, -0.47912994027137756, -0.7368786931037903, 0.017368681728839874, -0.5771270394325256, -0.29255983233451843, -0.5092588067054749, 0.18747468292713165, -0.28272199630737305, 0.007066936697810888, 0.47090455889701843, -0.043013036251068115, 0.07023262977600098, 0.5947087407112122, -0.4068836271762848, 0.2961917817592621, 0.7168516516685486, 0.7408814430236816, 0.014024821110069752, -0.0751119926571846, -0.5070996880531311, 0.14057286083698273, -0.49552488327026367, 0.6691873669624329, -0.297412246465683, -0.020365562289953232, -0.1251123547554016, -0.19419802725315094, 0.34241315722465515, -0.33384037017822266, 0.16770415008068085, -0.7119941115379333, 0.10804038494825363, 0.4316767156124115, -0.17466329038143158, -0.06301809102296829, 0.366515189409256, -0.147536963224411, 0.21480481326580048, -0.12425699830055237, -0.449417382478714, 0.013045030646026134, -0.21181397140026093, -0.64783775806427, 0.44328176975250244, 0.3395783007144928, -0.1712825447320938, 0.27373799681663513, 0.21262972056865692, 0.6076948046684265, -0.6294061541557312, 0.5188136100769043, -0.3974936306476593, -0.33819344639778137, 0.5998308658599854, -0.46696674823760986, 0.6322148442268372, 0.43725457787513733, -0.19434428215026855, -0.03686593100428581, -0.26131901144981384, 0.020160706713795662, 0.022511223331093788, -0.35898205637931824, -0.03787707909941673, 0.11404156684875488, 0.2226184606552124, 0.1958005577325821, 0.5716226696968079, -0.43274161219596863, -0.06679317355155945, -0.7355098724365234, 0.8085288405418396, 0.7054443359375, -0.05152715742588043, 0.2765556275844574, -0.3283774256706238, 0.5703584551811218, -0.08244089037179947, 0.3731860816478729, -0.07042548060417175, -0.3864552080631256, -0.49600347876548767, -0.3778310716152191, 0.19969630241394043, 0.8605740070343018, -0.511307418346405, 0.28802672028541565, -0.48335883021354675, -0.5879034399986267, -0.8081030249595642, 0.28442081809043884, 0.465261846780777, 0.023087939247488976, 0.4347623884677887, -0.24944128096103668, -0.4368261396884918, -0.8796778321266174, -0.4413388669490814, -0.08606302738189697, 0.01696597971022129, 0.3326825499534607, 0.41863930225372314, -0.26444703340530396, 0.30866876244544983, -0.41516995429992676, -0.3085962235927582, -0.40720656514167786, 0.1715986132621765, 0.1628328412771225, 0.1952771693468094, 0.10611382871866226, -0.7270306944847107, -0.5665746331214905, 0.26505208015441895, -0.4249018430709839, -0.086374431848526, -0.2319066971540451, 0.23092836141586304, 0.032932307571172714, 0.8425598740577698, -0.4722038209438324, 0.46896064281463623, 0.4285511076450348, -0.42367324233055115, 0.2789852023124695, -0.2348811775445938, 0.20354868471622467, -1.463936448097229, 0.21755504608154297, -0.1440519392490387, -0.7849252820014954, -0.8679099678993225, 0.4053424298763275, -0.032808300107717514, -0.3677372634410858, -0.9322220683097839, 0.284449964761734, -0.39961040019989014, 0.2299121767282486, -0.4511295258998871, 0.5728699564933777, -0.25213515758514404, 0.1606566160917282, -0.3367663323879242, 0.8612796664237976, 0.3017871081829071, -0.6639542579650879, 0.585003137588501, 0.14821678400039673, -0.5220471024513245, 0.7340566515922546, -0.8095307946205139, 0.18246936798095703, 0.057043034583330154, 0.11899096518754959, -0.6940330862998962, -0.40181490778923035, 0.11025998741388321, -0.7265077233314514, 0.5023317337036133, -0.23079293966293335, -0.547387421131134, -0.1037503182888031, -0.11579980701208115, 0.4089409112930298, 0.444744348526001, -0.07460211962461472, 0.20271249115467072, 0.840587854385376, -0.10831299424171448, -0.4797404706478119, -0.8688637614250183, 0.5052309632301331, -0.328066349029541, -0.6829057335853577, 0.40637585520744324, 0.018168313428759575, -0.38874009251594543, -0.4051405191421509, 0.05978066101670265, -0.1190379187464714, 0.4486929178237915, -0.07492969930171967, 0.116617351770401, -0.13405321538448334, -0.2616909444332123, -0.36504578590393066, -0.05721086263656616, 0.16632623970508575, -0.43511176109313965, 0.7464702129364014, 0.07397051155567169, -0.15166552364826202, -0.681579053401947, 0.32342204451560974, 0.6920960545539856, -0.1281842440366745, 0.5925610065460205, 0.40599846839904785, -0.28327128291130066, -0.056192949414253235, -0.5988330245018005, -0.45388850569725037, -0.49137982726097107, 0.5480362772941589, -0.2077292948961258, -1.067590355873108, 0.471098393201828, -0.04208802804350853, -0.22853754460811615, 0.28529784083366394, 0.5851406455039978, -0.09137158840894699, 1.0963735580444336, 0.715404212474823, -0.6361755728721619, 0.2693805694580078, 0.07377218455076218, 0.32643693685531616, -0.42686545848846436, -0.058008939027786255, -0.5771275162696838, -0.4557090103626251, -0.589844286441803, -0.3760165274143219, 0.22236847877502441, -0.017401758581399918, 0.06654620915651321, 0.6674399971961975, -0.3070187270641327, 0.6795871257781982, 0.11737950891256332, 0.2128090113401413, 0.22455757856369019, 0.15950727462768555, 0.3502691984176636, -0.17338275909423828, -0.5454131960868835, -0.7325100898742676, 0.9178858399391174, 0.37374481558799744, 0.7656798362731934, 0.43587541580200195, 0.554531991481781, 0.26038458943367004, -0.07989546656608582, -0.7872161865234375, 0.5659060478210449, -0.3185120224952698, -0.6752253174781799, -0.07461577653884888, -0.4466703236103058, -1.186286449432373, -0.09207567572593689, -0.4093873202800751, -1.0479708909988403, -0.07367469370365143, 0.13645172119140625, -0.24790209531784058, 0.2788490355014801, -0.13485591113567352, 0.6472755074501038, -0.19387118518352509, -0.3379027545452118, -0.8387885093688965, -0.5981476306915283, 0.3590334951877594, -0.30354490876197815, 0.34853073954582214, -0.1065112054347992, -0.0013105323305353522, 0.480044960975647, -0.1414366215467453, 1.2560356855392456, 0.3187355697154999, -0.1309657245874405, 0.12076425552368164, 0.4106363356113434, 0.57680344581604, 0.20312826335430145, 0.26559796929359436, 0.39499738812446594, -0.01584949530661106, -0.45415690541267395, -0.16556905210018158, 0.4409308433532715, -0.9034900665283203, -0.7567169070243835, -0.16565613448619843, -0.664885938167572, 0.26776567101478577, 0.2744801938533783, 0.3095968961715698, 0.34104570746421814, -0.38711825013160706, 0.4769571125507355, 0.7637816071510315, -0.054003212600946426, 0.0024920429568737745, 0.8296740055084229, 0.021614378318190575, -0.4724811613559723, 0.8806837201118469, -0.14920726418495178, 0.40011969208717346, 0.6485578417778015, -0.0033875976223498583, 0.08739563822746277, -0.756431519985199, -0.2292613536119461, 0.39778149127960205, -0.44400274753570557, -0.6894006133079529, -0.6137272119522095, -0.16081097722053528, -0.6926941275596619, -0.3300592005252838, -0.27617529034614563, -0.4037703275680542, -0.5625120401382446, 0.18210315704345703, 0.4273736774921417, 0.6978365778923035, -0.03491082787513733, 0.5430192947387695, -0.9105502963066101, 0.4347822368144989, 0.068609319627285, -0.08067838102579117, -0.3989424407482147, -1.2399948835372925, -0.4795171916484833, 0.23103374242782593, -0.4181769788265228, -0.969801127910614, 0.6516361832618713, 0.06452096998691559, 0.256680428981781, 0.36294862627983093, -0.07334528118371964, 0.989418089389801, -0.36192598938941956, 0.7646946907043457, -0.08101076632738113, -1.0684516429901123, 0.47399118542671204, -0.5018019676208496, 0.2669288218021393, 0.5698066353797913, 0.21661432087421417, -0.6975577473640442, -0.5692051649093628, -0.5792616009712219, -0.6769024729728699, 0.8127124905586243, 0.05368100479245186, 0.5272884964942932, 0.07114679366350174, 0.28326570987701416, -0.3471793830394745, 0.19903911650180817, -0.5585324168205261, 0.11371763795614243, 0.26038411259651184, -0.17803655564785004, -0.2997775375843048, -0.22302018105983734, -0.21159763634204865, 0.0479397177696228, 0.7741985321044922, -0.11746853590011597, 0.2119472175836563, -0.12754707038402557, -0.19296616315841675, -0.2725784480571747, 0.21628648042678833, 0.8996238112449646, 0.6017807722091675, 0.2349691390991211, -0.017442049458622932, 0.4844409227371216, -0.6563705801963806, -0.004141955636441708, -0.3290511667728424, -0.12751822173595428, -0.19954103231430054, 0.508955180644989, 0.6244179606437683, 0.1376064568758011, -0.6977202296257019, 0.8319275975227356, 0.05652560666203499, -0.36342546343803406, -0.23147638142108917, 0.10861705988645554, 0.1223650649189949, 0.38557660579681396, 0.032780785113573074, 0.07754302769899368, 0.016334375366568565, -0.41191044449806213, 0.1747119277715683, 0.6220616698265076, -0.24151074886322021, -0.3794081509113312, 0.5423636436462402, 0.3626270294189453, -0.8475784659385681, 0.6415696144104004, 0.06664338707923889, -0.5881514549255371, 0.438938707113266, 0.8322969079017639, 0.890488862991333, -0.28888654708862305, 0.18181365728378296, 0.14187000691890717, 0.7929297089576721, -0.2326696366071701, 0.2815472483634949, 0.18285882472991943, -0.5614498853683472, -0.7670159339904785, -0.3971851170063019, -0.3114202916622162, 0.469445139169693, -0.5277665853500366, 0.5871055722236633, -0.46001186966896057, -0.17621076107025146, -0.11194860190153122, -0.13759413361549377, -0.7264614701271057, 0.08899814635515213, 0.09856443852186203, 0.8950274586677551, -0.7982818484306335, 0.663414478302002, 0.5241969227790833, 0.020977512001991272, -0.4743814170360565, -0.22095398604869843, 0.020159436389803886, -0.7462658882141113, 0.5317887663841248, 0.02764594554901123, -0.13408808410167694, 0.04047108441591263, -0.8893778920173645, -0.9526001811027527, 0.8175143599510193, 0.5016171336174011, -0.6237971186637878, 0.18749357759952545, 0.6090648770332336, 0.7100360989570618, -0.3272329866886139, -0.06598223745822906, 0.4027203619480133, 0.3519097864627838, -0.40319564938545227, -1.0965296030044556, -0.09844621270895004, -0.27539166808128357, -0.10416067391633987, 0.6047802567481995, -0.6425045132637024, 0.6209845542907715, -0.06494362652301788, -0.26121488213539124, -0.062325168401002884, 0.477965384721756, -0.2638668119907379, 0.21123777329921722, -0.10842844098806381, 0.35446929931640625, 0.4859171211719513, 0.1614806354045868, 0.843604564666748, -0.43653157353401184, -0.045734141021966934, 0.9742371439933777, 0.2649381756782532, 0.7055091857910156, 0.5870285630226135, -0.17252898216247559, 0.015548634342849255, 0.3812226951122284, -0.12149184942245483, 0.34104374051094055, 0.3309193551540375, -0.08433528989553452, -0.4560719430446625, -0.08039112389087677, 0.18658286333084106, 0.7127387523651123, 0.504392683506012, -0.44962990283966064, 0.002028962830081582, -0.17663908004760742, 0.3484658896923065, 0.35959282517433167, -0.32076236605644226, 1.139943242073059, 0.32063397765159607, -0.4346074163913727, 0.7227305769920349, 0.5826793909072876, 0.610759973526001, -0.3674791157245636, 0.33759379386901855, -0.058589961379766464, 0.35166969895362854, -0.08645559102296829, -0.5309585928916931, 0.5081666707992554, 0.23287832736968994, 0.0627349466085434, -0.09369795769453049, 0.7133753895759583, -0.39209070801734924, -0.3899048864841461, 0.108857162296772, 0.2992260754108429, 0.7366702556610107, -0.15177564322948456, -0.7738363742828369, -0.11467423290014267, 0.14707431197166443, 0.1438923478126526, 0.3299790918827057, 0.4414423406124115, -0.08885432034730911, 0.6551315188407898, 0.8307834267616272, 0.4643512964248657, -0.253129243850708, -0.49991992115974426, 0.6666072010993958, -0.4225265085697174, -0.4002187252044678, -1.215877652168274, 0.385252445936203, -0.18060851097106934, -0.6379556655883789, 0.6189365983009338, 0.3443996012210846, 0.9937658905982971, -0.10730969160795212, 0.5612617135047913, 0.3254665434360504, 0.19678790867328644, -0.4821990728378296, 0.7931811809539795, -0.3655811548233032, 0.17534013092517853, -0.04859842360019684, -0.7015547752380371, -0.3454280197620392, 0.6282147765159607, -0.16798384487628937, -0.48241838812828064, 0.29113516211509705, 0.8246965408325195, -0.33031460642814636, -0.2502667307853699, 0.49840256571769714, 0.20958904922008514, 0.3941865861415863, 0.4666156470775604, 0.4401301443576813, -0.6148421168327332, 0.8424925804138184, -0.06390232592821121, 0.09675096720457077, -0.4750354588031769, -0.9787541031837463, -1.240845799446106, -0.10954523831605911, -0.2678096890449524, -0.36200571060180664, 0.11597931385040283, 0.7952806353569031, 0.7365983128547668, -0.7148577570915222, -0.36737242341041565, 0.07118066400289536, -0.13785932958126068, -0.005720069631934166, -0.14184264838695526, -0.3819160759449005, -0.32419395446777344, -0.631380021572113, 0.5978372693061829, 0.22784538567066193, 0.13709299266338348, -0.3821333646774292, 0.10038652271032333, 0.08580383658409119, 0.5135887861251831, 0.5672081112861633, 0.0009766769362613559, -0.7798821330070496, -0.19720208644866943, 0.1128382608294487, -0.2951407730579376, -0.1352001130580902, 0.7112097144126892, -0.43317410349845886, 0.2827320992946625, 0.6860129833221436, 0.8183645606040955, 0.5136969685554504, -0.07560136914253235, 0.8283843398094177, -0.5985061526298523, 0.3079156279563904, 0.2566508948802948, 0.15550024807453156, 0.41522204875946045, -0.6187914609909058, 0.30357643961906433, 0.14266280829906464, -0.6230072379112244, -0.8648393750190735, 0.3929724395275116, -0.40447545051574707, -0.5459504723548889, 1.042799949645996, -0.04849577322602272, -0.2777338922023773, -0.4248703420162201, -0.15780945122241974, 0.34967276453971863, -0.35226917266845703, 0.9795002341270447, 0.5207363963127136, 0.6503027677536011, 0.023595549166202545, -0.5612643361091614, 0.4255470335483551, 0.27360105514526367, -0.7987110614776611, 0.20923562347888947, 0.25949397683143616, 0.11577995866537094, 0.2937047779560089, 0.37727227807044983, -0.11223337054252625, 0.27121445536613464, -0.3624194860458374, -0.07743945717811584, 0.026177531108260155, -0.5153979659080505, -0.3352847993373871, -0.11787372827529907, -0.04151979461312294, 0.2041054368019104 ]
http://arxiv.org/abs/2404.01923v1
http://arxiv.org/pdf/2404.01923v1
SGSH: Stimulate Large Language Models with Skeleton Heuristics for Knowledge Base Question Generation
2024-04-02T13:17:36
2024-04-02T13:17:36
Shasha Guo, Lizi Liao, Jing Zhang, Yanling Wang, Cuiping Li, Hong Chen
cs.CL
cs.CL, cs.AI
Knowledge base question generation (KBQG) aims to generate natural language questions from a set of triplet facts extracted from KB. Existing methods have significantly boosted the performance of KBQG via pre-trained language models (PLMs) thanks to the richly endowed semantic knowledge. With the advance of pre-training techniques, large language models (LLMs) (e.g., GPT-3.5) undoubtedly possess much more semantic knowledge. Therefore, how to effectively organize and exploit the abundant knowledge for KBQG becomes the focus of our study. In this work, we propose SGSH--a simple and effective framework to Stimulate GPT-3.5 with Skeleton Heuristics to enhance KBQG. The framework incorporates "skeleton heuristics", which provides more fine-grained guidance associated with each input to stimulate LLMs to generate optimal questions, encompassing essential elements like the question phrase and the auxiliary verb.More specifically, we devise an automatic data construction strategy leveraging ChatGPT to construct a skeleton training dataset, based on which we employ a soft prompting approach to train a BART model dedicated to generating the skeleton associated with each input. Subsequently, skeleton heuristics are encoded into the prompt to incentivize GPT-3.5 to generate desired questions. Extensive experiments demonstrate that SGSH derives the new state-of-the-art performance on the KBQG tasks.
[ -0.4221808612346649, -0.8809259533882141, 0.6756662726402283, -0.13549530506134033, -0.5095618963241577, -0.07116935402154922, -0.09860999882221222, -0.11857892572879791, 0.08287657052278519, 0.6937922835350037, -0.4842246472835541, -0.6574556231498718, -0.2409585863351822, 0.025418762117624283, -0.0897919163107872, 0.899029016494751, -0.03431423753499985, 0.03678572177886963, -0.15469537675380707, 0.1911371499300003, -0.2840576469898224, -0.489382266998291, -0.4546530842781067, -0.09521077573299408, 0.32028713822364807, 0.6813721656799316, 0.6830654144287109, 0.7069095969200134, 0.24253928661346436, 0.20033490657806396, 0.08435450494289398, 0.1666490137577057, -0.3770976662635803, 0.5275909900665283, -0.008607552386820316, -0.4295330047607422, -0.27950894832611084, -0.26847174763679504, 0.4943697154521942, 0.8696765899658203, -0.17917656898498535, 0.2821185290813446, -0.16016729176044464, 0.633713960647583, -0.4034632742404938, 0.5214336514472961, -0.8681531548500061, -0.1905098557472229, -0.15917737782001495, -0.3465788662433624, -0.1307019293308258, -0.518414318561554, 0.1868070363998413, -0.4491368532180786, 0.28666064143180847, 0.06788909435272217, 0.7316818237304688, 0.17210505902767181, -0.49742403626441956, -0.2574599087238312, -0.19332852959632874, 0.14813877642154694, -0.7496598958969116, 0.5273736119270325, 0.41006597876548767, 0.34106072783470154, -0.3603953421115875, -0.6450150609016418, -0.6077759861946106, -0.5526678562164307, 0.0610574334859848, 0.01336605940014124, 0.31592851877212524, 0.1519065648317337, 0.35332179069519043, 0.19503098726272583, -0.6912562847137451, -0.259196937084198, -0.41405412554740906, -0.13619984686374664, 0.5576087832450867, 0.27828797698020935, 0.2783806622028351, -0.7620022296905518, -0.12021245807409286, -0.06993061304092407, -0.9030529856681824, 0.0023868915159255266, 0.5849958658218384, 0.5498237013816833, 0.3021327555179596, 0.7013911604881287, -0.47002676129341125, 0.6463504433631897, 0.3149852752685547, -0.12938925623893738, 0.07133637368679047, -0.4349451959133148, 0.04552663490176201, 0.09142260998487473, 0.6105372309684753, 0.4824102818965912, 0.24262785911560059, -0.2915627062320709, -0.08556610345840454, 0.005393252708017826, 0.3239424228668213, -0.9438904523849487, -0.39684736728668213, 0.2076156884431839, -0.20956847071647644, -0.3616660237312317, -0.15069803595542908, -0.4623259902000427, -0.3390272557735443, -0.24179087579250336, 0.5280117392539978, -0.5656718611717224, -0.6157447099685669, 0.29552653431892395, -0.21030652523040771, 0.21091526746749878, 0.12453410774469376, -1.0622165203094482, 0.1100444495677948, 0.37182649970054626, 0.20628449320793152, -0.09582448750734329, -0.039603911340236664, -0.4277527630329132, 0.6374107599258423, -0.3664124310016632, 0.6151351928710938, -0.25862744450569153, -0.3869800865650177, -0.11121524125337601, 0.008634806610643864, 0.1571093052625656, -0.5650292634963989, 0.174808070063591, -0.6011428833007812, 0.408072292804718, -0.5336577892303467, -0.5766171813011169, -0.09702309966087341, 0.4400770366191864, -0.5088890194892883, 1.0236631631851196, 0.4465053677558899, -0.7252285480499268, 0.5193930268287659, -0.538244366645813, -0.5191854238510132, 0.41841134428977966, -0.3558887243270874, -0.08156236261129379, -0.19231712818145752, 0.3659484088420868, 0.8243599534034729, -0.5023044943809509, 0.4937007427215576, -0.22072067856788635, 0.06680471450090408, -0.29793184995651245, -0.021199986338615417, 0.5609472990036011, -0.08194142580032349, -0.446965754032135, 0.10288551449775696, -0.5238275527954102, 0.416159987449646, 0.2616192102432251, -0.4161902368068695, -0.22534562647342682, -0.1560467779636383, -0.500995397567749, 0.04802946001291275, 0.012926461175084114, -0.2046593874692917, 0.3497276306152344, -0.5771068334579468, 0.14213135838508606, 0.5983708500862122, 0.29725736379623413, 0.46946829557418823, -0.14440591633319855, 0.7433181405067444, -0.0715523511171341, -0.10511856526136398, -0.14627058804035187, -0.45083388686180115, -0.3123863637447357, 0.08573389798402786, 0.38944441080093384, 0.5590106844902039, -1.0656521320343018, 0.32215553522109985, -0.22192002832889557, -0.5320239663124084, -0.34542137384414673, 0.19225482642650604, 0.021424468606710434, 0.7271715402603149, 0.343289852142334, -0.08507005870342255, -0.5288596749305725, -0.8491648435592651, 0.012412935495376587, -0.6334545612335205, -0.01610175147652626, 0.5562611818313599, 0.352984219789505, 0.1408246010541916, 0.9858202338218689, -0.6816775798797607, 0.3898157477378845, -0.48119693994522095, 0.25264856219291687, 0.10433951765298843, 0.4510871469974518, 0.41976699233055115, -0.7375968098640442, -0.5017401576042175, -0.17634893953800201, -0.7256717085838318, -0.21364766359329224, 0.07768843322992325, -0.2902868092060089, 0.005652096122503281, 0.5116474628448486, -1.1313567161560059, 0.08149081468582153, -0.02912595123052597, -0.14139942824840546, 0.9522638916969299, 0.17959384620189667, 0.2610671818256378, -1.3677226305007935, 0.12006056308746338, -0.4236031770706177, -0.03677205368876457, -0.581343412399292, 0.3119388520717621, 0.12749083340168, -0.13946382701396942, -0.23600833117961884, 0.7232528328895569, -0.4058471918106079, 0.10661691427230835, -0.04995908960700035, 0.23418089747428894, -0.19050657749176025, 0.6592867970466614, -0.020733799785375595, 0.47886428236961365, 0.3990246057510376, -0.7929055690765381, 0.5738641619682312, 0.2816931903362274, -0.28067338466644287, 0.49603724479675293, -0.5382357239723206, 0.16542571783065796, -0.29491785168647766, 0.3356584310531616, -0.9434312582015991, -0.6701404452323914, 0.35041067004203796, -0.5251094102859497, 0.37629541754722595, -0.4715343713760376, -0.6177297234535217, -0.7952049970626831, -0.32366743683815, 0.19437257945537567, 0.5514857769012451, -0.34233778715133667, 0.5814571976661682, 0.37575411796569824, -0.5782824754714966, -0.5553629398345947, -0.3472999036312103, -0.04891158640384674, -0.15409840643405914, -0.9842112064361572, 0.2390190064907074, -0.16300633549690247, -0.12759548425674438, 0.1007622480392456, -0.4526149332523346, 0.040971796959638596, 0.011494573205709457, -0.02109656110405922, 0.28428587317466736, -0.5711705088615417, 0.17271925508975983, 0.24802221357822418, 0.034929439425468445, 0.30876150727272034, -0.6223989129066467, 0.6891939640045166, 0.04738142341375351, -0.46844273805618286, 0.015542767941951752, 0.33833131194114685, 0.3324423134326935, 0.018220437690615654, 0.35153913497924805, 0.5363342761993408, -0.18158818781375885, -0.1505708396434784, -0.6815706491470337, -0.4949812591075897, -0.4515921473503113, 0.48959511518478394, -0.41651371121406555, -1.0457576513290405, 0.38918203115463257, -0.16247765719890594, 0.006769268773496151, 0.33802586793899536, 0.7427928447723389, 0.0663469061255455, 1.3651015758514404, 0.3035167455673218, -0.008619893342256546, 0.103317990899086, -0.03673018887639046, -0.04098312556743622, -0.3987307548522949, -0.1251230239868164, -0.33856281638145447, 0.0252976194024086, -0.3216454088687897, -0.49290621280670166, 0.3759368360042572, 0.5372007489204407, -0.31587696075439453, 0.33389073610305786, -0.2635391652584076, 0.502685010433197, 0.42271536588668823, 0.06353786587715149, 0.06695172935724258, -0.1195274069905281, -0.4948609471321106, 0.38117682933807373, -1.0076462030410767, -0.4232867956161499, 1.2390286922454834, 0.04628121480345726, 0.636970579624176, 0.037088487297296524, 0.7616487741470337, -0.1183561384677887, 0.27144137024879456, -0.7127578258514404, 0.8237878680229187, 0.23827852308750153, -0.7928654551506042, -0.44063833355903625, -0.6661426424980164, -0.8064807653427124, -0.040748827159404755, 0.028105638921260834, -0.5672435164451599, -0.2830130457878113, 0.43908223509788513, -0.679638683795929, 0.11577825248241425, -0.8880113959312439, 0.7587613463401794, -0.19038568437099457, -0.26150205731391907, 0.06823213398456573, -0.8518290519714355, 0.519200325012207, 0.14039766788482666, -0.17572808265686035, -0.1206773966550827, 0.1275920271873474, 0.550598680973053, -0.33226051926612854, 0.6127545237541199, -0.6421957015991211, -0.1620226502418518, 0.42476198077201843, 0.08813189715147018, 0.7540538907051086, 0.3489506244659424, 0.0650925412774086, -0.42117196321487427, -0.06126745045185089, -0.3492191433906555, -0.5335574746131897, 0.34894707798957825, -0.4286843240261078, -1.0158843994140625, 0.23242701590061188, -0.4950951635837555, -0.7945598363876343, 0.3389914035797119, 0.13708294928073883, 0.3001709282398224, 0.0030755032785236835, 0.24615247547626495, 0.7881562113761902, -0.25808897614479065, -0.08351561427116394, 0.5002714991569519, -0.4034484922885895, -0.38634824752807617, 0.7205694317817688, -0.010907506570219994, 0.5305311679840088, 0.20968182384967804, 0.2434796392917633, -0.4324754774570465, -0.5334351658821106, -0.878932774066925, 0.07138128578662872, -0.6650068759918213, -0.5603780746459961, -0.8668524622917175, -0.33296048641204834, -0.7257372140884399, 0.018182769417762756, 0.08302577584981918, -0.5222067832946777, 0.026951180770993233, -0.2405807375907898, 0.4740827679634094, 0.5986474752426147, 0.002038768259808421, 0.4243326783180237, -0.8071829080581665, 0.5459557175636292, 0.7108602523803711, 0.414612352848053, -0.08559711277484894, -0.18970857560634613, -0.14016574621200562, 0.05082325264811516, -0.029349984601140022, -0.9942024350166321, 0.029161155223846436, -0.30935171246528625, 0.8270490169525146, 0.08836691826581955, -0.013083424419164658, 0.5640507340431213, -0.5255381464958191, 0.8422644734382629, 0.07059752196073532, -0.6094939708709717, 0.5048364996910095, -0.9025917053222656, 0.36387258768081665, 0.724461019039154, 0.4685631990432739, -0.47668156027793884, -0.3919171988964081, -0.7819583415985107, -1.067893147468567, 0.8897538185119629, -0.045293595641851425, 0.15901771187782288, -0.2790900468826294, 0.5123039484024048, 0.31172674894332886, 0.5048777461051941, -0.4683627188205719, 0.09637783467769623, -0.18544866144657135, -0.4228458106517792, 0.6216738224029541, -0.1370752602815628, 0.051229946315288544, -0.20731529593467712, 0.731909453868866, -0.5579797029495239, 0.07903263717889786, -0.17683178186416626, -0.23261994123458862, -0.25210127234458923, 0.13430579006671906, 0.08663304150104523, 0.4085735082626343, -0.20359627902507782, -0.0474427193403244, 0.2845771014690399, -0.5042233467102051, -0.0017525791190564632, 0.22193537652492523, -0.273691326379776, -0.2537499666213989, 0.13158611953258514, 0.7684391140937805, 0.1096734032034874, -0.5511126518249512, 0.4282844662666321, 0.013830620795488358, -0.5909741520881653, 0.03902306780219078, 0.3825886845588684, 0.4506015479564667, 0.27408480644226074, 0.2957078814506531, -0.30847516655921936, -0.22681592404842377, -0.34632331132888794, 0.29169362783432007, 0.5525836944580078, 0.060780998319387436, -0.0341372936964035, 0.5835998058319092, 0.11637398600578308, 0.06547460705041885, 0.4686753749847412, -0.4268728196620941, -0.8460213541984558, 0.46765390038490295, 0.5052289366722107, 0.5331208109855652, -0.29750362038612366, 0.2609507441520691, 0.4540272057056427, 0.292985200881958, -0.332965612411499, 0.7674152255058289, -0.3243652880191803, -0.7128974199295044, -0.5797716975212097, -0.5498718023300171, -0.22718596458435059, 0.39845216274261475, -0.2861105799674988, 0.3551468253135681, -0.4387010633945465, 0.07078670710325241, -0.18491455912590027, 0.03557028993964195, -0.6613271236419678, 0.15151748061180115, 0.16976337134838104, 0.978001594543457, -0.4811323285102844, 0.5557745695114136, 0.5364343523979187, -0.5193988680839539, -1.2954185009002686, 0.240494504570961, -0.14293654263019562, -0.8595144152641296, 0.691561758518219, 0.042645689100027084, 0.1179078072309494, 0.3209155201911926, -0.8659338355064392, -0.9045013189315796, 1.0824087858200073, 0.5005190968513489, -0.0844016969203949, -0.39839649200439453, 0.319789856672287, 0.15737417340278625, -0.15958307683467865, 0.03088226541876793, 0.4612294137477875, 0.6501302719116211, 0.27346983551979065, -0.7217673659324646, 0.23322418332099915, -0.3134356737136841, -0.38233813643455505, 0.3978087306022644, -0.33421120047569275, 0.6257938742637634, -0.31083357334136963, -0.21354874968528748, 0.15300558507442474, 0.6286205053329468, 0.53618985414505, -0.18254952132701874, 0.8218963742256165, 0.33438172936439514, 0.8737092018127441, 0.0835130512714386, 0.7295963168144226, -0.49210768938064575, -0.12773717939853668, 0.9766983985900879, -0.4381253719329834, 0.4647709131240845, 0.3163732588291168, 0.03512254357337952, 0.32334330677986145, 0.6398967504501343, 0.036420974880456924, 0.45578256249427795, 0.5452048182487488, -0.21760782599449158, -0.47470930218696594, 0.10770879685878754, -0.6319054365158081, 0.35994523763656616, 0.41897884011268616, -0.1536022275686264, -0.31245240569114685, -0.041429199278354645, 0.05120173096656799, -0.35197460651397705, -0.2230021059513092, 0.8759015798568726, -0.15660767257213593, -0.8809248805046082, 0.4486967921257019, -0.14552852511405945, 0.3066837191581726, -1.0189661979675293, -0.030505655333399773, -0.1864931285381317, -0.28976452350616455, 0.029905783012509346, -0.674406111240387, -0.045513253659009933, 0.03490408509969711, -0.2518751621246338, -0.2248772382736206, 1.0236599445343018, -0.572464644908905, -0.26151055097579956, -0.1454591453075409, 0.8767527341842651, 0.06906166672706604, -0.20694805681705475, -0.4866555333137512, -0.5282166004180908, 0.016488315537571907, -0.46276554465293884, 0.24572381377220154, 0.7817323803901672, -0.18972015380859375, 0.4447189271450043, 0.8303288817405701, 0.12535935640335083, -0.15336787700653076, 0.0816354751586914, 1.0666142702102661, -0.7703621983528137, -0.6446496844291687, -0.6580663323402405, 0.45773807168006897, -0.18705064058303833, -0.15037524700164795, 0.6039543747901917, 0.4137527346611023, 0.5328574180603027, 0.0348440483212471, 1.0111584663391113, -0.32335829734802246, 0.5895358920097351, -0.5609584450721741, 0.7411131262779236, -0.3910314738750458, 0.20494584739208221, -0.42018869519233704, -0.6722659468650818, -0.014412074349820614, 0.36374667286872864, -0.1825076937675476, 0.19335408508777618, 0.6459876298904419, 1.0156776905059814, 0.06943464279174805, 0.40682080388069153, 0.006657618097960949, 0.2419382631778717, 0.1496809720993042, 0.43164604902267456, 0.7901141047477722, 0.03552193567156792, 0.7406493425369263, -0.010077843442559242, -0.12199927121400833, -0.024784788489341736, -0.8604210615158081, -0.9398806691169739, -0.6102799773216248, 0.03924218937754631, -0.4867892563343048, 0.08765161037445068, 1.280109167098999, 0.7877683639526367, -0.6658948659896851, 0.021958129480481148, -0.08263622969388962, 0.061669882386922836, 0.22334009408950806, -0.23192639648914337, 0.49345633387565613, -0.37007471919059753, -0.04267275333404541, 0.45957785844802856, 0.0850994810461998, 0.0523068867623806, -0.3768137991428375, 0.01473874133080244, -0.11180262267589569, -0.1707087606191635, 0.6368048191070557, 0.02836139127612114, -0.43384265899658203, -0.3728303611278534, 0.24398070573806763, -0.22127825021743774, -0.2756015956401825, 0.8603938817977905, -1.0726643800735474, -0.04275331273674965, 0.6095569133758545, 1.0109659433364868, 0.5365232825279236, 0.04663398489356041, 0.8511426448822021, -0.9748737812042236, -0.35102471709251404, 0.38981619477272034, 0.1498359739780426, 0.32541128993034363, -0.4667629897594452, 0.6166191101074219, 0.39509856700897217, -0.32745176553726196, -0.8032976984977722, 0.24156954884529114, -0.5799540877342224, -0.3022611737251282, 1.402700424194336, 0.26074713468551636, -0.22945694625377655, -0.26218077540397644, -0.4300529360771179, 0.3384436368942261, -0.2789752185344696, 0.7729032039642334, 0.8265329003334045, -0.17164954543113708, 0.04153337702155113, -0.8772236704826355, 0.7858569622039795, 0.45796963572502136, -1.0303878784179688, 0.4327525198459625, 0.6188687682151794, 0.26281073689460754, -0.032449379563331604, 0.7729138731956482, -0.01809348724782467, 0.43237388134002686, 0.038798559457063675, -0.08879084885120392, -0.14012767374515533, -0.08423472940921783, 0.3864785134792328, 0.5337703824043274, -0.0765209048986435, 0.3305789828300476 ]
http://arxiv.org/abs/2404.01921v2
http://arxiv.org/pdf/2404.01921v2
A Rationale-centric Counterfactual Data Augmentation Method for Cross-Document Event Coreference Resolution
2024-04-02T13:15:07
2024-05-08T04:07:35
Bowen Ding, Qingkai Min, Shengkun Ma, Yingjie Li, Linyi Yang, Yue Zhang
cs.CL
cs.CL
Based on Pre-trained Language Models (PLMs), event coreference resolution (ECR) systems have demonstrated outstanding performance in clustering coreferential events across documents. However, the existing system exhibits an excessive reliance on the `triggers lexical matching' spurious pattern in the input mention pair text. We formalize the decision-making process of the baseline ECR system using a Structural Causal Model (SCM), aiming to identify spurious and causal associations (i.e., rationales) within the ECR task. Leveraging the debiasing capability of counterfactual data augmentation, we develop a rationale-centric counterfactual data augmentation method with LLM-in-the-loop. This method is specialized for pairwise input in the ECR system, where we conduct direct interventions on triggers and context to mitigate the spurious association while emphasizing the causation. Our approach achieves state-of-the-art performance on three popular cross-document ECR benchmarks and demonstrates robustness in out-of-domain scenarios.
[ -0.6048588156700134, -1.0645793676376343, 0.6940889954566956, -0.23670940101146698, -0.5345773100852966, -0.13100266456604004, -0.26258015632629395, -0.48057880997657776, 0.25575894117355347, 0.4984336495399475, -0.5776374936103821, -0.3322468101978302, -0.5878416895866394, 0.10805168747901917, -0.4636515974998474, 0.8571361899375916, -0.17918230593204498, 0.1597651094198227, -0.5599144101142883, -0.30317431688308716, -0.48368775844573975, -1.0698474645614624, -0.4628681540489197, -0.6603579521179199, 0.32591256499290466, 0.555924117565155, 0.27994677424430847, 0.484154611825943, 0.38597556948661804, 0.2008785754442215, 0.09951722621917725, 0.23741401731967926, -0.3183611333370209, 0.13131821155548096, -0.6560678482055664, -0.2746847867965698, -0.5013375282287598, 0.010285631753504276, 0.16850420832633972, 0.39969611167907715, 0.12751173973083496, -0.010269117541611195, 0.07892697304487228, 0.28725719451904297, -0.49801376461982727, -0.1165841668844223, -0.7845194935798645, -0.3538190722465515, -0.2286262810230255, -0.565009593963623, -0.45056092739105225, -0.013797971419990063, 0.22048814594745636, -0.6129658818244934, 0.474128782749176, 0.1889158934354782, 0.6187809109687805, 0.23812371492385864, -0.1700850874185562, -0.3700089752674103, -0.7159336805343628, 0.6182624697685242, -0.6016569137573242, 0.11266051232814789, 0.2715168595314026, -0.2527018189430237, -0.039845794439315796, -0.4381802976131439, -0.80568927526474, 0.06158106029033661, -0.3597097098827362, 0.007856355980038643, -0.3718104064464569, -0.013478200882673264, 0.5426065325737, 0.0486631914973259, -0.7337782979011536, 0.09547261148691177, -0.09900932759046555, -0.12970399856567383, 0.42078933119773865, 0.13724063336849213, 0.31765463948249817, 0.13250188529491425, -0.31331387162208557, 0.21433378756046295, -0.9102575182914734, -0.16080470383167267, 0.014094089157879353, 0.23748034238815308, 0.017004109919071198, 0.7144720554351807, -0.11621727794408798, 0.4424310624599457, 0.9796829223632812, 0.12124571204185486, -0.01848725974559784, -0.48255813121795654, -0.15878920257091522, 0.6718142032623291, 0.3801705837249756, 0.6483578085899353, 0.22935868799686432, -0.22710749506950378, 0.14513641595840454, 0.7216571569442749, 0.1729375720024109, -0.674375593662262, 0.3198103606700897, 0.39926114678382874, 0.04232075437903404, -0.04760061576962471, -0.20108629763126373, -0.4231666624546051, -0.263248085975647, -0.6542157530784607, 0.3316141664981842, -0.5335537195205688, 0.023640692234039307, -0.2596778869628906, -0.14404326677322388, 0.23853610455989838, 0.15299606323242188, -0.2891671061515808, 0.00903697032481432, 0.6191115975379944, 0.5872216820716858, -0.028943292796611786, -0.1655285507440567, -0.5393138527870178, 0.4432941973209381, -0.30346372723579407, 1.0699948072433472, -0.8012660145759583, -0.766273021697998, -0.1392713189125061, 0.10657493025064468, -0.1264926642179489, -0.49676549434661865, 0.8841057419776917, -0.4488110840320587, 0.06383786350488663, -0.5291253924369812, -0.6845645904541016, -0.1342545747756958, 0.40223580598831177, -0.3113850951194763, 1.1689924001693726, -0.24419239163398743, -0.8481648564338684, 0.6587962508201599, -0.2767215073108673, -0.3963842988014221, 0.18180686235427856, -0.33185115456581116, -0.2061963975429535, -0.15013407170772552, 0.33687663078308105, 0.18618248403072357, -0.2960246205329895, 0.7883238196372986, -0.5742477178573608, -0.20830713212490082, 0.14420771598815918, -0.13520649075508118, 0.23333747684955597, -0.26498883962631226, -0.4656248390674591, 0.45446401834487915, -0.8394269943237305, -0.520340085029602, -0.19339874386787415, 0.17406512796878815, -0.9051800966262817, -0.04404246807098389, -0.19905248284339905, 0.6239191293716431, 0.1283436119556427, -0.6036928296089172, 0.02846779301762581, -0.23690097033977509, 0.12620234489440918, 0.37615200877189636, 0.22162650525569916, 0.5671579837799072, -0.4091583788394928, 0.17455004155635834, 0.42452678084373474, 0.13050667941570282, -0.36509814858436584, -0.2472253143787384, -0.8682425022125244, -0.1366722136735916, -0.222035750746727, 0.6290081143379211, -0.696153461933136, 0.7787193655967712, -0.2379636913537979, -0.35308101773262024, -0.052325066179037094, 0.05272882059216499, 0.4294409155845642, 1.1693412065505981, 0.5710708498954773, -0.1001620665192604, -1.0418013334274292, -0.9070650339126587, -0.3051229417324066, -0.11724594235420227, 0.14283417165279388, 0.23371663689613342, 0.4902353286743164, -0.2632777988910675, 1.2056281566619873, 0.028329499065876007, -0.29746687412261963, -0.3283807337284088, 0.4059940576553345, 0.21075502038002014, 0.658741295337677, 0.5217416286468506, -0.6521826386451721, -0.24778413772583008, -0.10915153473615646, -0.6245412230491638, -0.4695921242237091, -0.2685765326023102, -0.1509048193693161, 0.5077685117721558, 0.6398249268531799, -0.4812775254249573, 0.6974087953567505, 0.12063993513584137, -0.4522368907928467, 0.5729432702064514, -0.09710332751274109, 0.27851834893226624, -0.775323748588562, 0.2709663212299347, 0.168474942445755, 0.010574628598988056, -0.6058955788612366, -0.2592078447341919, 0.05449240282177925, 0.2096136510372162, -0.2194090187549591, 0.49418407678604126, -0.18068869411945343, 0.23667632043361664, -0.4153653085231781, 0.4452876150608063, 0.10064800083637238, 0.46525928378105164, 0.3377896845340729, 0.6420456767082214, 0.3796290159225464, -0.6584328413009644, 0.1705436408519745, 0.23979510366916656, 0.025286972522735596, 1.1382513046264648, -0.622267484664917, 0.024988573044538498, -0.18874292075634003, 0.4556070566177368, -0.7833141684532166, 0.148191899061203, 0.2650012671947479, -0.22223316133022308, 0.10854963213205338, -0.19815997779369354, -0.2692647874355316, -0.12507693469524384, -0.2427760511636734, 0.4904101490974426, 0.07107352465391159, -0.7233856320381165, 0.9036813378334045, 0.2538057267665863, -0.27072328329086304, -0.4779896140098572, -0.5241433382034302, 0.15204133093357086, -0.305279016494751, -0.5095517635345459, 0.6169016361236572, -0.16290932893753052, -0.36739665269851685, -0.048844870179891586, -0.3131236732006073, 0.2610473334789276, -0.39208289980888367, 0.45972639322280884, 0.6733209490776062, 0.023203440010547638, -0.05961240828037262, 0.06903889775276184, -0.28250089287757874, 0.14002563059329987, -0.1785728633403778, 0.4063648581504822, 0.058356065303087234, -0.37218424677848816, 0.027847835794091225, 0.5680387020111084, 0.4763394892215729, 0.09087926894426346, 0.604712724685669, 0.2954767346382141, -0.38668113946914673, -0.11739735305309296, -0.9547145366668701, -0.28888505697250366, -0.3452053368091583, 0.07867240160703659, -0.3895871639251709, -0.7254025936126709, 0.7464777827262878, -0.023651087656617165, -0.1538771241903305, 0.48562929034233093, 0.6506809592247009, 0.14306838810443878, 0.7654961347579956, 0.2054421305656433, -0.11155420541763306, 0.43587610125541687, -0.04896848276257515, 0.26949042081832886, -1.0025548934936523, -0.1814713031053543, -0.5348972678184509, 0.05489571765065193, -0.1125202625989914, -0.6521031260490417, 0.3923584222793579, 0.27730077505111694, -0.13399221003055573, 0.3491976261138916, -0.27465492486953735, 0.2834009528160095, 0.38393643498420715, 0.144280806183815, 0.4917592704296112, -0.3063291013240814, -0.4034561812877655, -0.12180858105421066, -0.7573975324630737, -0.5056633353233337, 0.7054997682571411, -0.1925232708454132, 0.48146939277648926, -0.27180835604667664, 0.2461801916360855, 0.2422136813402176, 0.6055341958999634, -0.5382530093193054, 0.4573307931423187, 0.0372200645506382, -0.6440082788467407, -0.04365576058626175, 0.006891733966767788, -0.46783867478370667, 0.15799842774868011, -0.26171639561653137, -0.7582323551177979, 0.7476861476898193, 0.15161950886249542, -0.19779105484485626, 0.16662324965000153, -0.40769681334495544, 0.5344663262367249, -0.05556320771574974, -0.6049680113792419, -0.5168130397796631, -0.4594828188419342, 0.325818806886673, -0.12531103193759918, 0.42092445492744446, 0.08106137067079544, 0.14037930965423584, 0.6520317196846008, -0.45110589265823364, 0.9846293926239014, 0.08856144547462463, -0.02139146625995636, 0.37051504850387573, 0.05177583917975426, 0.889372706413269, 0.056623026728630066, -0.13528084754943848, 0.3135201930999756, -0.1915879249572754, -0.15305723249912262, -0.46950915455818176, 0.9318697452545166, -0.3745359480381012, -0.6983124613761902, -0.3177151679992676, -0.4342445433139801, -0.26068684458732605, 0.05343875288963318, 0.3927404582500458, 0.7124145030975342, -0.6024932265281677, 0.09105341881513596, 0.529893696308136, 0.0939270555973053, 0.6542443037033081, 0.907389223575592, 0.17119315266609192, -0.45341262221336365, 0.4415813088417053, 0.2528423070907593, -0.055815666913986206, 0.3409299850463867, 0.09799360483884811, -0.3981553316116333, -0.4021667242050171, -0.42567452788352966, 0.1513301432132721, -0.744099497795105, -0.16537991166114807, -0.8111897110939026, 0.09301523864269257, -0.5415932536125183, -0.5747066140174866, 0.05058962106704712, -0.21731489896774292, -0.3634772002696991, -0.272175133228302, 0.3614397943019867, 0.09643619507551193, -0.1923370659351349, 0.3694116175174713, -0.8221405744552612, 0.14592574536800385, -0.09067068248987198, 0.0924355760216713, -0.23285022377967834, -0.7611809372901917, -0.2519681453704834, -0.26522576808929443, -0.10308967530727386, -0.7945197820663452, 0.3703027665615082, 0.007059188559651375, 0.7694461941719055, 0.49194955825805664, 0.337266743183136, 0.8335287570953369, -0.29067355394363403, 0.6003727912902832, 0.19555552303791046, -1.0625337362289429, 0.7090100049972534, -0.37989774346351624, 0.07632160931825638, 0.5114148855209351, 0.3591266870498657, -0.49857255816459656, -0.41112640500068665, -0.8906057476997375, -0.9608224630355835, 0.6946898698806763, -0.12553060054779053, -0.47962018847465515, -0.15291962027549744, 0.3523917496204376, 0.03778718411922455, 0.02259281650185585, -0.3523450195789337, -0.198505237698555, -0.11466848105192184, -0.04181184247136116, -0.10415905714035034, -0.29089492559432983, -0.3281731903553009, -0.05758504197001457, 1.0252143144607544, -0.319690465927124, -0.47989317774772644, 0.8252778649330139, -0.5235295295715332, -0.5187802910804749, 0.5144076347351074, 0.6346758008003235, 0.7371456623077393, -0.16476230323314667, 0.20080815255641937, 0.3240954577922821, -0.1969415843486786, -0.041306622326374054, 0.1991313397884369, -0.4040808081626892, 0.07787803560495377, 0.4579578638076782, 0.547264039516449, 0.4964049458503723, -0.6019142866134644, 0.3012975752353668, 0.2835127115249634, -0.036450501531362534, -0.14283709228038788, -0.17824684083461761, -0.17504268884658813, 0.1473013013601303, 0.5438016653060913, 0.0019354147370904684, 0.1174655333161354, -0.441336065530777, 0.5028859972953796, 0.43930312991142273, -0.3794091045856476, -0.3447224497795105, 0.21319271624088287, 0.4055422246456146, 0.12652088701725006, -0.01772356405854225, 0.05336882919073105, -0.7115070223808289, 0.5792730450630188, 0.6317727565765381, 0.7678127288818359, -0.21952226758003235, -0.0740213692188263, 0.716354250907898, 0.4614267647266388, 0.07192524522542953, 0.2206641435623169, -0.03211075812578201, -0.9632577896118164, -0.6020464897155762, -0.3342335522174835, -0.5189640522003174, 0.20298247039318085, -0.6123103499412537, 0.36951544880867004, -0.26617398858070374, -0.21210457384586334, -0.045291509479284286, -0.05076491832733154, -0.4635648727416992, 0.20437437295913696, 0.11661276966333389, 0.896884560585022, -0.8590542674064636, 0.8824995756149292, 0.702021598815918, -0.4276614487171173, -0.48021405935287476, -0.3045814335346222, 0.16009610891342163, -0.5140018463134766, 0.5877608060836792, -0.14674116671085358, -0.1693931519985199, -0.2162199765443802, -0.34440603852272034, -0.5891858339309692, 0.8091104626655579, 0.03765925019979477, -1.016321063041687, 0.1169431135058403, 0.1078118234872818, 0.40061718225479126, -0.7220406532287598, 0.40326419472694397, 0.7734307646751404, 0.6705971360206604, 0.1816791296005249, -0.7550418972969055, 0.520929753780365, -0.07454285025596619, -0.26777905225753784, 0.11799019575119019, -0.3577745258808136, 0.34678351879119873, -0.0534498356282711, -0.2194107323884964, -0.26054930686950684, 0.3853120803833008, 0.4864893853664398, 0.6916418075561523, 0.6311182975769043, 0.7194114923477173, 0.3435991704463959, -0.03901221230626106, 0.6566495299339294, -0.6489030122756958, 0.1279461830854416, 1.3902387619018555, -0.6764853000640869, 0.49019792675971985, 0.8731703758239746, -0.0026223291642963886, 0.5337358117103577, 0.40170928835868835, 0.17489394545555115, 0.25434252619743347, -0.24657565355300903, -0.24936379492282867, -0.6026222705841064, -0.6009688973426819, -0.2110612988471985, 0.04738139361143112, 0.7756935358047485, -0.3358640968799591, -0.4778306782245636, -0.1765214502811432, -0.004138842690736055, 0.10499659180641174, -0.42101460695266724, 0.803309977054596, 0.10692653059959412, -0.6476514339447021, 0.12575054168701172, -0.19651907682418823, 0.8249125480651855, -0.42265838384628296, 0.0753050222992897, -0.13072694838047028, 0.21266135573387146, -0.25686967372894287, -0.35222911834716797, 0.600596010684967, 0.05950336530804634, -0.6030373573303223, 0.01754121482372284, 1.0301014184951782, -0.507704496383667, -0.44099342823028564, 0.5453104972839355, 0.576265811920166, -0.358041912317276, -0.11038344353437424, -0.445218563079834, 0.023450642824172974, -0.41998693346977234, -0.15836219489574432, 0.2548719048500061, 0.4011467397212982, -0.41223326325416565, 0.17588883638381958, 0.8913074135780334, 0.037759631872177124, -0.28894543647766113, 0.3195449113845825, 1.0222853422164917, -0.6887254118919373, -0.6430206298828125, -0.9248756766319275, 0.2630523145198822, -0.2387343794107437, -0.33332279324531555, 0.6153419613838196, 0.5344447493553162, 0.7010441422462463, 0.2513054311275482, 0.837639331817627, -0.04522988945245743, 0.5913832187652588, -0.20987318456172943, 0.059954363852739334, -0.14078521728515625, 0.3420097529888153, -0.34733593463897705, -0.4948097765445709, -0.22703932225704193, 0.16089242696762085, -0.716738224029541, -0.25838854908943176, 0.7150720953941345, 1.045202374458313, 0.11782476305961609, 0.1954520344734192, 0.39979591965675354, 0.3456996977329254, 0.12665560841560364, 0.4462665021419525, 0.785851240158081, -0.18637968599796295, 0.4958072304725647, -0.1851499080657959, -0.39560467004776, -0.4769637882709503, -1.0503169298171997, -0.9063680768013, -0.5503380298614502, -0.5144284963607788, -0.39607343077659607, 0.14563065767288208, 1.117856502532959, 0.5280592441558838, -0.9567396640777588, 0.22346919775009155, -0.18833699822425842, 0.24339795112609863, -0.16952374577522278, -0.2535184919834137, 0.24090853333473206, -0.23429445922374725, -0.5529224276542664, 0.4608824849128723, 0.5259613394737244, -0.16751714050769806, 0.03898249566555023, 0.026174208149313927, -0.35785406827926636, 0.4918521046638489, 0.6596008539199829, 0.190407857298851, -0.7563865184783936, -0.31560012698173523, -0.1263096034526825, -0.13130447268486023, -0.008219528943300247, 1.4738516807556152, -0.9309754371643066, 0.09719837456941605, 0.5608087778091431, 0.2762962579727173, 0.3561241030693054, 0.15703846514225006, 0.6325008273124695, -0.6828916072845459, 0.18051530420780182, 0.0522087961435318, 0.5847381949424744, 0.17299439013004303, -0.7088776230812073, 0.3989673852920532, 0.5581255555152893, -0.3249534070491791, -0.6772608757019043, 0.10572672635316849, -1.2381993532180786, -0.33019885420799255, 0.9346249103546143, -0.07609353214502335, -0.08175473660230637, -0.6612785458564758, -0.221283957362175, 0.41160061955451965, -0.47537484765052795, 0.6518980264663696, 0.7680773138999939, -0.4338078200817108, -0.13534687459468842, 0.3171437978744507, 0.20363293588161469, 0.46916666626930237, -0.675471305847168, 0.21875758469104767, 0.6981474161148071, 0.21575909852981567, 0.35910311341285706, 0.5247019529342651, -0.2068556696176529, 0.2404119372367859, 0.060596950352191925, 0.17048755288124084, -0.08653166145086288, -0.16522216796875, -0.3143872022628784, 0.10471215099096298, -0.3739238977432251, 0.3219301104545593 ]