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.08202v1
http://arxiv.org/pdf/2406.08202v1
A Dialogue Game for Eliciting Balanced Collaboration
2024-06-12T13:35:10
2024-06-12T13:35:10
Isidora Jeknić, David Schlangen, Alexander Koller
cs.CL
cs.CL
Collaboration is an integral part of human dialogue. Typical task-oriented dialogue games assign asymmetric roles to the participants, which limits their ability to elicit naturalistic role-taking in collaboration and its negotiation. We present a novel and simple online setup that favors balanced collaboration: a two-player 2D object placement game in which the players must negotiate the goal state themselves. We show empirically that human players exhibit a variety of role distributions, and that balanced collaboration improves task performance. We also present an LLM-based baseline agent which demonstrates that automatic playing of our game is an interesting challenge for artificial systems.
[ -0.49697399139404297, -0.6830986142158508, 0.49565550684928894, 0.5134068131446838, 0.03538599982857704, 0.43910059332847595, 0.07004720717668533, -0.7501621246337891, 0.530236542224884, 0.5911840796470642, -0.5962507724761963, -0.013978419825434685, -0.21663950383663177, 0.1685190051794052, 0.2479843646287918, 0.8022683262825012, 0.31152236461639404, 0.3219773471355438, -0.6311829686164856, -0.406096488237381, -0.886988639831543, -0.194072425365448, -1.0028184652328491, -1.1316351890563965, 0.19777822494506836, 0.4623362421989441, 1.0316576957702637, 0.5497170090675354, 0.5605924725532532, 0.43462851643562317, 0.12869109213352203, -0.056458212435245514, -0.4849208891391754, 0.5164580941200256, -0.26558786630630493, -0.711296558380127, -0.5283585786819458, 0.028531022369861603, 0.28607839345932007, 0.9628713726997375, -0.5066140294075012, -0.13441528379917145, 0.17308178544044495, 0.36314430832862854, -0.31059741973876953, -0.09753294289112091, -0.2269032597541809, 0.29431137442588806, 0.22375677525997162, -0.07570086419582367, 0.10717371106147766, 0.004076818469911814, 0.3707782030105591, -0.9883231520652771, -0.12969981133937836, -0.0471697673201561, 0.6591790318489075, 0.5294296145439148, -0.3286505341529846, -0.3724559545516968, -0.6651296019554138, 0.6825637221336365, -0.35218870639801025, -0.18101288378238678, 0.2669737935066223, 0.14556238055229187, -0.341825395822525, -0.4428624212741852, -0.4684976637363434, 0.1251567304134369, -0.03243505582213402, 0.6367449760437012, -0.12203463166952133, 0.5392099022865295, 0.15821076929569244, 0.27679964900016785, -0.0982678234577179, 0.09245296567678452, -0.3181708753108978, 0.005314226262271404, 0.5661030411720276, 0.30382904410362244, 0.6801524758338928, 0.25451138615608215, -0.4924389719963074, 0.2798791825771332, -0.17226682603359222, 0.5143372416496277, 0.5219860076904297, 0.11007288843393326, -0.2471581995487213, 0.7184851169586182, -0.07207387685775757, 0.6497073769569397, 0.3665142357349396, 0.0679813101887703, -0.2907197177410126, -0.4383690059185028, -0.3003307282924652, 0.1169954389333725, 0.5202867388725281, 1.0267401933670044, -0.13513398170471191, -0.15077894926071167, -0.05791494995355606, 0.4289964437484741, 0.4188568890094757, -0.4644520580768585, -0.23768408596515656, 0.3221316337585449, -0.30006468296051025, -0.33128321170806885, 0.14542017877101898, -0.47985002398490906, -0.48997604846954346, -0.34708166122436523, 0.4961794912815094, 0.1271827220916748, 0.02657473459839821, -0.08014802634716034, -0.6681241989135742, 0.2877572476863861, 0.6262726783752441, -0.8930942416191101, 0.9025782346725464, 0.6375948786735535, 0.7398316264152527, -0.26231589913368225, -0.33358731865882874, -0.5412337183952332, 0.29240208864212036, -0.3339868187904358, 0.628162682056427, -0.1767112761735916, -0.8133344054222107, -0.3225303888320923, -0.324957013130188, 0.4185463488101959, -0.6507307887077332, 0.4423113763332367, -0.01780468225479126, 0.6024433970451355, -0.31065621972084045, -0.34181398153305054, 0.3323451280593872, 0.5558086633682251, -0.673632025718689, 0.6994910836219788, -0.09761638194322586, -0.5879472494125366, 0.32526224851608276, -0.798210859298706, -0.5839693546295166, 0.46255165338516235, -0.43970105051994324, -0.31549781560897827, -0.022750182077288628, -0.24490472674369812, -0.27834728360176086, -0.4098719358444214, -0.09745751321315765, -0.2344781905412674, -0.8009501695632935, 0.27781227231025696, 0.17761589586734772, 1.1139895915985107, 0.17940686643123627, -0.4601466953754425, 0.05014032498002052, -0.023522095754742622, 0.0826299637556076, -0.06327877193689346, -0.49455180764198303, -0.07991591840982437, 0.3935881555080414, -0.3372810482978821, 0.1498943567276001, 0.3805455267429352, -0.5502605438232422, 0.27694642543792725, -0.4175959825515747, 0.21628117561340332, 0.406208872795105, -0.10965105891227722, 0.8865006566047668, -0.6871263980865479, 0.3645276725292206, -0.35422372817993164, 0.31694063544273376, 0.40869075059890747, -0.8348168134689331, -0.7443736791610718, -0.5464714765548706, -0.2770191729068756, 0.9843865036964417, -0.6581922769546509, 0.7428483366966248, 0.14153146743774414, 0.14156213402748108, -0.7317118048667908, 0.15937979519367218, 0.4083136320114136, 0.17445112764835358, 0.12341765314340591, -0.7843374013900757, -0.6103386282920837, -0.8647927641868591, 0.06912967562675476, -0.38505464792251587, -0.2404850572347641, 0.5829383134841919, -0.04032440856099129, -0.33717063069343567, 1.1576342582702637, -0.4820728003978729, -0.7407544255256653, -0.36582767963409424, 0.4651831090450287, 0.040108103305101395, 0.4072338938713074, 0.31986603140830994, -0.6779850125312805, -0.6827067136764526, -0.21007269620895386, -0.8123325109481812, -0.20951522886753082, -0.07237330824136734, -0.25940510630607605, 0.07377878576517105, 0.4046553075313568, -0.8899698853492737, 0.19083765149116516, 0.511202335357666, -0.5167425274848938, -0.08978831768035889, -0.40301433205604553, 0.33071383833885193, -1.1461676359176636, 0.10432437062263489, -0.5157251954078674, -0.46893641352653503, -0.7692769765853882, 0.08992816507816315, -0.7042072415351868, -0.19893573224544525, -0.13229362666606903, 0.17426881194114685, -0.5459427833557129, -0.28162723779678345, -0.37121808528900146, 0.531645655632019, 0.04192682355642319, 0.3339211046695709, 0.04559241607785225, 0.3740471303462982, 0.3631293773651123, -0.19733181595802307, 0.4975740909576416, 0.49194297194480896, -0.08164602518081665, 1.114202857017517, -0.6716516017913818, 0.08682800084352493, 0.08651905506849289, 0.5126935243606567, -0.954031229019165, -0.25556740164756775, 0.19895219802856445, -0.40916362404823303, 0.06354416161775589, -0.075597383081913, -0.2742075026035309, -0.24594859778881073, -0.47679397463798523, 0.504658579826355, 0.34092196822166443, -0.022837961092591286, 0.4648929536342621, 0.8384776711463928, -0.1687888354063034, -0.6807880997657776, -0.7362069487571716, 0.17989303171634674, -0.07282067835330963, -0.7503425478935242, 0.533715009689331, -0.3091345429420471, -0.6404903531074524, 0.0593731589615345, -0.18432296812534332, -0.1551293432712555, 0.44455859065055847, 0.5059501528739929, 0.3107845187187195, 0.10890848189592361, -0.3685716390609741, -0.2981523275375366, -0.014359023422002792, -0.1258147805929184, -0.02267107367515564, 0.2497817724943161, -0.02410244196653366, -0.33407843112945557, -0.29852980375289917, 0.6370264291763306, 0.4623192846775055, 0.22615572810173035, 0.5195725560188293, 0.050697822123765945, -0.46798139810562134, -0.0055840229615569115, -0.5425180196762085, -0.18184073269367218, -0.47700294852256775, 0.148917555809021, -0.02173750475049019, -0.8628907203674316, 0.6345442533493042, -0.03767639398574829, 0.21922916173934937, -0.10196860134601593, 0.5427563786506653, -0.5236961841583252, 1.1721595525741577, 0.434749037027359, -0.06823177635669708, 0.18658362329006195, 0.056395336985588074, 0.16043256223201752, -0.3912217617034912, -0.24404673278331757, -0.13264299929141998, -0.6859518885612488, -0.36099597811698914, -0.6725020408630371, 0.21315045654773712, 0.5837631225585938, -0.26646727323532104, 0.19740243256092072, -0.6246728897094727, 0.8271446824073792, 0.4719148874282837, 0.13094373047351837, 0.3227699398994446, -0.4094603657722473, -0.1801067292690277, -0.07340273261070251, -0.5550383925437927, -0.22654500603675842, 0.21490705013275146, 0.10385338217020035, 0.46036460995674133, 0.5535873174667358, 0.9175872802734375, 0.4033481776714325, 0.061744675040245056, -0.7490365505218506, 0.46452510356903076, 0.21030616760253906, -0.8659590482711792, -0.7696648836135864, -0.3635280728340149, -1.0821278095245361, 0.07402659952640533, -0.49282336235046387, -0.656321108341217, -0.09188145399093628, -0.026240285485982895, -0.6640185713768005, -0.027046680450439453, -0.6515628099441528, 0.8351715207099915, -0.32833927869796753, -0.6483339667320251, -0.463063508272171, -0.8973426222801208, 0.045844126492738724, 0.4465080797672272, 0.1441735029220581, -0.06602729111909866, -0.13652603328227997, 0.1852579116821289, -0.1463138461112976, 0.8380884528160095, -0.20255430042743683, 0.29048049449920654, 0.4891080856323242, 0.5683126449584961, 0.3940557837486267, 0.12918423116207123, 0.11628081649541855, -0.07524577528238297, -0.20421934127807617, -0.6670822501182556, -0.6853158473968506, 0.5557169318199158, -1.1909407377243042, -0.9525527358055115, -0.5480049848556519, -0.8054450154304504, -0.006993437185883522, 0.17430101335048676, 0.2131485641002655, -0.16159687936306, -0.7301713824272156, 0.44453001022338867, 0.19927702844142914, 0.03547380864620209, 0.44906744360923767, 0.28648611903190613, 0.11545015871524811, -0.5570601224899292, 0.5963078141212463, -0.11239524930715561, 0.5510259866714478, 0.3980434834957123, 0.08193130046129227, -0.05268644541501999, -0.007759096100926399, -0.20612621307373047, -0.27321454882621765, -0.44919726252555847, -0.10806082934141159, -0.31445637345314026, -0.07141362130641937, -0.0867815837264061, -0.86158686876297, -0.28199702501296997, -0.4618760347366333, -0.22494526207447052, -0.019459372386336327, -0.3426372706890106, 0.9229306578636169, -0.1839449107646942, 0.18579408526420593, -0.4878110885620117, 0.2620507478713989, 0.8512809872627258, 0.2945358157157898, -0.2646929621696472, 0.23093588650226593, -0.10561908036470413, 0.3848963677883148, -0.6120171546936035, -0.6024417281150818, 0.12150578200817108, -0.11956099420785904, 0.8358756899833679, 0.2278902381658554, 0.05676867440342903, 0.766228973865509, -0.28395774960517883, 0.9702960252761841, 0.6887459754943848, -1.0849318504333496, 0.14790426194667816, -0.6320266723632812, 0.2972574234008789, 0.5915625095367432, -0.03890779986977577, -0.6114285588264465, -0.5218414664268494, -0.5099943280220032, -0.7203079462051392, 1.2905125617980957, 0.7768692374229431, -0.12916745245456696, 0.13281792402267456, -0.11842777580022812, -0.3361040949821472, 0.3411633372306824, -0.885018527507782, -0.21840430796146393, -0.33146002888679504, -0.07229878008365631, 0.013007722795009613, -0.01906701549887657, -0.8653665781021118, -0.03657212108373642, 0.0696735680103302, -0.045102156698703766, 0.3701663911342621, 0.29274821281433105, 0.014916513115167618, -0.7120206952095032, 0.16641829907894135, 0.7644863128662109, 0.3350209891796112, -0.13993099331855774, 0.22241365909576416, 0.5075989365577698, -0.02041822113096714, 0.3069455921649933, -0.1088227853178978, 0.08418119698762894, -0.5213934779167175, 0.38225656747817993, 0.38616764545440674, 0.4797089993953705, -0.3822821378707886, 0.569549560546875, 0.07728198915719986, -0.3748796880245209, -0.08089421689510345, 0.18876789510250092, 0.5244961380958557, 0.6999198794364929, 0.16418534517288208, 0.1600959151983261, 0.12529389560222626, -0.9694470167160034, 0.40149128437042236, 0.6401815414428711, -0.5372921824455261, -0.13447809219360352, 0.586171567440033, 0.7660390138626099, -0.9883084893226624, 0.42344334721565247, -0.25375595688819885, -0.6283289790153503, 0.7680808901786804, 0.5224729180335999, 0.6602334380149841, -0.1270076483488083, 0.553013026714325, -0.10720046609640121, 0.12462187558412552, -0.33929145336151123, 0.2235117256641388, -0.2865583300590515, -1.0438958406448364, -0.04582706838846207, -0.08236780017614365, -0.798940896987915, -0.45860663056373596, -0.4348825216293335, 0.332615464925766, -0.29046866297721863, -0.4169692099094391, -0.11154517531394958, 0.3932308256626129, -0.4413946568965912, -0.4042526185512543, 0.28736475110054016, -0.03568984568119049, -0.5455426573753357, 0.4328397214412689, 0.7219752669334412, -0.5167930126190186, -0.2774064242839813, 0.07289521396160126, 0.23340123891830444, -0.3746810257434845, 0.573862612247467, -0.014857619069516659, -0.27470484375953674, 0.01883833296597004, -0.528626024723053, -0.49110549688339233, 1.4210965633392334, 0.5099748373031616, -0.05864015594124794, -0.17836177349090576, 0.38547483086586, 0.8162339329719543, -0.5018139481544495, 0.3648644983768463, -0.04064932093024254, 0.3490259647369385, 0.2559746503829956, -1.1019080877304077, -0.03718709573149681, -0.10520453006029129, -0.28412991762161255, 0.03160196542739868, -0.8853432536125183, 0.8633429408073425, 0.07088886201381683, -0.23156407475471497, 0.25130119919776917, 0.27173760533332825, 0.34303247928619385, 0.39217424392700195, 0.8230602145195007, 0.5892668962478638, 0.4396761953830719, -0.07496003806591034, 0.5959534645080566, -0.17350926995277405, 0.1436794251203537, 1.0767855644226074, -0.8730934858322144, 0.3395664095878601, 0.5358076095581055, -0.04380571097135544, 0.2989828586578369, 0.19780002534389496, -0.021153412759304047, 0.3450396955013275, 0.21576786041259766, -0.4415875971317291, -0.5505979657173157, -0.44007235765457153, 0.29573121666908264, 0.35059306025505066, 0.10641378164291382, 0.2550320327281952, -0.22351515293121338, -0.3799203932285309, -0.34834808111190796, 0.18972808122634888, 0.08179669082164764, 1.007680892944336, 0.2116946280002594, -1.1187673807144165, -0.11097840219736099, -0.24633316695690155, 0.5039019584655762, -0.22802124917507172, -0.21000905334949493, -0.17285199463367462, 0.32354435324668884, -0.41697046160697937, -0.8276544213294983, 0.036509860306978226, -0.44176074862480164, -0.1758154332637787, -0.33391544222831726, 0.38128045201301575, -0.7900394797325134, -0.05095550790429115, 0.7268561124801636, 0.5372164845466614, -0.1681440770626068, 0.3958730399608612, -0.8110352158546448, -0.17019769549369812, -0.06844092160463333, 0.2787998616695404, 0.37394481897354126, 0.46492430567741394, -0.02702976018190384, 0.5846579670906067, 0.44335150718688965, 0.01496175117790699, -0.31194037199020386, -0.03803069889545441, 0.5773932933807373, -0.30280521512031555, -0.6503372192382812, -0.5632915496826172, 0.8107103109359741, -0.6346981525421143, -0.09519071877002716, 0.6365756988525391, 0.6969702839851379, 0.5180805921554565, 0.18980567157268524, 0.47958073019981384, -0.10070616751909256, 0.19673311710357666, 0.08769596368074417, 0.6374279260635376, -0.5176723003387451, 0.2033701390028, -0.3643638789653778, -0.8600910902023315, -0.31808674335479736, 0.7569441199302673, 0.5877246856689453, -0.3849928677082062, 0.3701556324958801, 0.5965391993522644, -0.05151510611176491, 0.055550817400217056, 0.4996131360530853, -0.12349436432123184, 0.33546310663223267, 0.44077268242836, 1.1359286308288574, -0.03972412273287773, 0.49900659918785095, -0.19902759790420532, -0.3700818717479706, -0.31296467781066895, -0.5238339900970459, -1.0652371644973755, -0.3975009620189667, -0.2679330110549927, -0.4343511760234833, 0.027486909180879593, 1.5005813837051392, 0.6869689226150513, -0.46375951170921326, -1.1333643198013306, -0.4186346232891083, 0.23895342648029327, -0.285433292388916, -0.19915151596069336, -0.4437708258628845, -0.10359661281108856, -0.7588034272193909, 0.5784207582473755, 0.3693962097167969, 0.009418566711246967, -0.0831979438662529, -0.3531840443611145, -0.41141292452812195, 0.4026404023170471, 0.4489968419075012, 0.44689449667930603, -0.5509212017059326, -0.32174474000930786, 0.21199356019496918, -0.47524330019950867, -0.00873903464525938, 1.0976152420043945, -0.20742209255695343, 0.7658255100250244, 0.782027006149292, 0.47289690375328064, 0.3697669208049774, 0.2888391315937042, 1.2690552473068237, -0.7304570078849792, 0.5005364418029785, 0.4820121228694916, 0.008993773721158504, 0.18895405530929565, -0.4585976302623749, 0.6795304417610168, 0.4095214605331421, -0.7667266726493835, -0.7081266045570374, 0.19734929502010345, -0.9807068705558777, -0.15920589864253998, 0.6029251217842102, -0.09606222063302994, 0.4481986463069916, -0.39845386147499084, -0.4494243860244751, 0.5462782979011536, -0.4472182095050812, 0.8474021553993225, 0.9521644711494446, -0.5975322127342224, 0.16188637912273407, -0.23001572489738464, 0.7063496708869934, 0.6065489649772644, -0.6592668890953064, -0.3536900579929352, 0.5545219779014587, -0.24247272312641144, 0.4658225476741791, 0.859662652015686, 0.4319066107273102, 0.3249513804912567, 0.07667858153581619, 0.24829304218292236, 0.22742213308811188, -0.21113094687461853, -0.033582188189029694, -0.04891270399093628, 0.19123302400112152, -0.09522069245576859 ]
http://arxiv.org/abs/2406.12907v1
http://arxiv.org/pdf/2406.12907v1
Reconciling Kaplan and Chinchilla Scaling Laws
2024-06-12T13:30:48
2024-06-12T13:30:48
Tim Pearce, Jinyeop Song
cs.LG
cs.LG, cs.CL
Kaplan et al. [2020] (`Kaplan') and Hoffmann et al. [2022] (`Chinchilla') studied the scaling behavior of transformers trained on next-token language prediction. These studies produced different estimates for how the number of parameters ($N$) and training tokens ($D$) should be set to achieve the lowest possible loss for a given compute budget ($C$). Kaplan: $N_\text{optimal} \propto C^{0.73}$, Chinchilla: $N_\text{optimal} \propto C^{0.50}$. This note finds that much of this discrepancy can be attributed to Kaplan counting non-embedding rather than total parameters, combined with their analysis being performed at small scale. Simulating the Chinchilla study under these conditions produces biased scaling coefficients close to Kaplan's. Hence, this note reaffirms Chinchilla's scaling coefficients, by explaining the cause of Kaplan's original overestimation.
[ -0.42701733112335205, -0.21522264182567596, 0.32871657609939575, 0.37529894709587097, 0.04843652993440628, -0.265144407749176, -0.4587181806564331, -0.19546891748905182, 0.4125809669494629, 0.5361564755439758, -0.3911376893520355, 0.16281196475028992, -0.4295116662979126, -0.20831219851970673, -0.49983084201812744, 1.1114144325256348, 0.1059960126876831, 0.39354196190834045, 0.013898978941142559, -0.38891714811325073, -0.1761586219072342, -0.14549604058265686, -0.7527722120285034, -0.36580196022987366, 0.4576605260372162, 0.43000784516334534, 1.057429313659668, 0.9624507427215576, 0.49997517466545105, 0.21467627584934235, 0.07498934864997864, -0.5843228697776794, -0.32667970657348633, -0.21733272075653076, 0.08461099117994308, -0.9548171758651733, -0.293691486120224, 0.1555023491382599, 0.7580642104148865, 0.6549242734909058, -0.4607127904891968, 0.13480280339717865, -0.1991533488035202, 0.8480166792869568, -0.5122660994529724, 0.14148211479187012, -0.5588085651397705, 0.34390872716903687, -0.1408371776342392, -0.18364417552947998, -0.7327688336372375, -0.3150157034397125, -0.07159561663866043, -0.689018189907074, 0.3446763753890991, 0.11494053155183792, 0.8293456435203552, 0.6120697855949402, -0.2430359572172165, -0.29902151226997375, -0.39396995306015015, 1.207639455795288, -0.7910777926445007, 0.5274801254272461, 0.3842446804046631, 0.43807294964790344, 0.12313705682754517, -0.9824127554893494, -0.5019615888595581, -0.5356623530387878, 0.039226990193128586, 0.020489782094955444, -0.33887526392936707, -0.07841469347476959, 0.4901317358016968, 0.429294615983963, -0.24901528656482697, 0.3500998318195343, -0.710761308670044, -0.46172529458999634, 0.6399487853050232, 0.22253406047821045, 0.17133551836013794, -0.032119665294885635, -0.2463407963514328, -0.38400474190711975, -0.6586266160011292, 0.16838642954826355, 0.20180639624595642, 0.5999873876571655, -0.3417578935623169, 0.4622563421726227, 0.004578090272843838, 0.4502815306186676, 0.569320797920227, -0.20835445821285248, 0.5032848119735718, -0.23304025828838348, -0.22695884108543396, 0.4077116847038269, 0.5110777616500854, 0.5482286214828491, 0.6447094082832336, 0.012513097375631332, 0.1796758621931076, -0.23867809772491455, 0.7084172964096069, -0.8158361911773682, -0.1064099371433258, -0.18884791433811188, -0.6676698923110962, -0.6081040501594543, 0.008154848590493202, -0.8982668519020081, -0.39077308773994446, -0.27832508087158203, 0.4863852262496948, 0.19604133069515228, -0.31860536336898804, -0.10445696115493774, -0.1672373116016388, 0.6328831911087036, 0.23898467421531677, -1.1369422674179077, 0.4843403100967407, 0.5943607687950134, 0.8586005568504333, 0.22791989147663116, -0.3820333480834961, -0.6025679707527161, -0.4146544635295868, -0.584367036819458, 0.35945913195610046, -0.4509228765964508, -0.41336730122566223, 0.22099386155605316, 0.010912061668932438, 0.024022480472922325, -0.6735235452651978, 0.6106097102165222, -0.35170096158981323, -0.13199807703495026, -0.6028925776481628, -0.4434033930301666, -0.04323652759194374, -0.11459386348724365, -0.7287716269493103, 0.8746463656425476, 0.4061416983604431, -0.7442823648452759, 0.6563147306442261, -0.288556843996048, -0.5355174541473389, -0.11017657071352005, -0.16781765222549438, -0.49263995885849, 0.35485345125198364, 0.07006584852933884, 0.21173511445522308, -0.686371386051178, -0.028479205444455147, -0.3944791853427887, -0.399240642786026, 0.196727454662323, -0.3268778324127197, 0.8951795697212219, 0.13422858715057373, -0.5820988416671753, 0.10673342645168304, -0.5196056962013245, 0.18485015630722046, 0.03346596285700798, -0.36939647793769836, 0.06820452213287354, 0.045300524681806564, 0.11815202981233597, -0.025339532643556595, -0.03040085919201374, -0.7466040253639221, 0.14655707776546478, -0.42431560158729553, 0.788665771484375, 0.6235935091972351, 0.04473103955388069, 0.8422508835792542, -0.28987133502960205, 0.4973028004169464, -0.1354646533727646, 0.45597952604293823, -0.04248809441924095, -0.6131102442741394, -0.6719669699668884, 0.04994944483041763, 0.2575698792934418, 0.10766790062189102, -0.17444734275341034, -0.19985784590244293, -0.13921701908111572, -0.7259621024131775, -0.45882874727249146, -0.057673364877700806, 0.037366218864917755, 0.5782315731048584, 0.7072230577468872, -0.15844352543354034, -0.5933440923690796, -1.0728720426559448, -0.4129791259765625, -0.2148984968662262, 0.04613678157329559, 0.03010808490216732, 0.31167542934417725, 0.0012761924881488085, 1.0076240301132202, -0.5833477973937988, -0.4455421566963196, -0.4158998131752014, -0.0692489892244339, 0.22168275713920593, 0.6467543840408325, 0.8820570111274719, -0.8877459168434143, -0.9657994508743286, -0.06347130239009857, -0.23175236582756042, -0.016836874186992645, -0.3397570848464966, 0.33144980669021606, 0.17621800303459167, 0.9402636885643005, -0.49029237031936646, 0.4778241217136383, 0.32794398069381714, 0.40711793303489685, 0.5819710493087769, -0.151731476187706, -0.2161579132080078, -0.9711830019950867, -0.29544755816459656, 0.29103031754493713, 0.08980225771665573, -0.6929371356964111, 0.27204734086990356, 0.4514751732349396, 0.21951240301132202, -0.3477112948894501, 0.4088316261768341, -0.1657811999320984, -0.1275791972875595, -0.19835086166858673, 0.16769523918628693, -0.25127917528152466, 0.6676162481307983, -0.20531737804412842, 0.9372565746307373, 0.49580585956573486, -0.35307076573371887, 0.21831941604614258, 0.06680215150117874, 0.1195036992430687, 0.7141592502593994, -0.9089295268058777, -0.34222233295440674, 0.16593419015407562, 0.5495412349700928, -0.8864177465438843, -0.04551107808947563, 0.05220305547118187, -0.6838359236717224, 0.4640182852745056, -0.2626523971557617, -0.24689914286136627, -0.26528018712997437, -0.723910927772522, 0.49927982687950134, 0.8746166825294495, -0.6350688934326172, 0.5688042640686035, 0.49406152963638306, 0.3373846709728241, -0.7598512172698975, -0.9188233017921448, -0.019491668790578842, -0.2956141233444214, -0.2835559546947479, 0.39424487948417664, -0.1728331744670868, -0.40336596965789795, -0.16249585151672363, -0.35781264305114746, -0.27535244822502136, -0.35528793931007385, 0.27405938506126404, 0.05238621309399605, -0.639254093170166, 0.024524083361029625, 0.14413805305957794, -0.14577139914035797, 0.5104950070381165, -0.27085211873054504, 0.513689398765564, -0.1552705019712448, -0.233482226729393, -0.42682430148124695, -0.23926416039466858, 0.7449902296066284, -0.26413241028785706, 0.9043214321136475, 0.8268100023269653, -0.3498947322368622, -0.06604071706533432, -0.5739068388938904, -0.18579520285129547, -0.5413756966590881, 0.2244938313961029, -0.11681903898715973, -0.5456711053848267, 0.7340996265411377, 0.16260488331317902, 0.11253605037927628, 1.1384525299072266, 0.6599509119987488, 0.18160532414913177, 0.8549883365631104, 0.5825775265693665, -0.25769102573394775, 0.41448742151260376, -0.3159744441509247, 0.34110650420188904, -1.2773019075393677, -0.196539968252182, -0.7546658515930176, -0.46930938959121704, -1.043183445930481, -0.4427727460861206, 0.08919033408164978, -0.2540234327316284, -0.36452603340148926, 0.575472891330719, -0.16260705888271332, 0.5506582260131836, 0.5249491333961487, -0.1273626685142517, -0.06871847063302994, -0.17929509282112122, -0.28852829337120056, -0.4498756229877472, -0.5944979190826416, 0.08709976077079773, 1.4154046773910522, 0.2726365327835083, 0.7266641855239868, -0.03380477800965309, 0.6228629350662231, 0.30449792742729187, 0.6273193359375, -1.0343061685562134, 0.4616493582725525, -0.03714863955974579, -0.8677338361740112, -0.5190495252609253, -0.5072839260101318, -0.6725674271583557, 0.2672315537929535, -0.05982495844364166, -0.7458595633506775, 0.15261144936084747, -0.0003388090990483761, -0.23573064804077148, 0.5178504586219788, -0.2605825960636139, 0.6397315859794617, 0.36908093094825745, -0.3372955918312073, -0.5364601612091064, -0.7469843029975891, 0.13475042581558228, -0.3872990310192108, 0.1643471121788025, 0.20002932846546173, -0.08340278267860413, 0.8524964451789856, -0.6090391278266907, 0.8111532926559448, -0.3447134494781494, -0.07546400278806686, 0.5608046650886536, -0.02491058222949505, 0.35017260909080505, 0.24928148090839386, -0.07008849084377289, -0.05818847194314003, 0.041278377175331116, -0.572472333908081, -0.6144073605537415, 0.8990722298622131, -0.8081067800521851, -0.3109501898288727, -0.41265639662742615, -0.38636595010757446, -0.055468663573265076, 0.10766733437776566, 0.48258358240127563, 0.8568292856216431, 0.00030816212529316545, 0.5985725522041321, 0.43899106979370117, -0.24697567522525787, 0.5367786884307861, 0.6745445132255554, -0.11851340532302856, -0.3465769290924072, 0.7916051149368286, 0.4432660937309265, 0.28592464327812195, 0.3753974139690399, 0.4857940375804901, -0.2222101092338562, -0.4435172975063324, -0.3610011339187622, 0.4696175456047058, -0.6940308213233948, -0.14432963728904724, -0.2904817759990692, -0.40937116742134094, -0.24542954564094543, -0.43423962593078613, -0.7155482769012451, -0.5649853348731995, -0.034075357019901276, -0.08662813156843185, 0.03603295236825943, 0.7826656699180603, -0.34403449296951294, 0.47723034024238586, -0.6407410502433777, -0.13639792799949646, 0.020228184759616852, 0.29405996203422546, 0.5148968696594238, -0.9994418621063232, -0.656936764717102, 0.09495092928409576, -0.21485917270183563, -0.7578328251838684, 0.03515114635229111, 0.16406680643558502, 0.6481553316116333, 0.5139158368110657, 0.15327021479606628, 0.6535072922706604, -0.5383843183517456, 0.6739045977592468, 0.24643047153949738, -1.0254096984863281, 0.06991469860076904, -0.24792341887950897, 0.23874232172966003, 0.6933971047401428, 0.2775977551937103, -0.7330085635185242, -0.3452072739601135, -0.9023087620735168, -0.7459352016448975, 0.6099989414215088, 0.09784498065710068, 0.5200098752975464, 0.12104573100805283, 0.768706202507019, -0.03297577425837517, 0.17425662279129028, -0.602783739566803, -0.17016027867794037, -0.15545083582401276, -0.23303420841693878, -0.22748242318630219, -0.15962865948677063, 0.11535114794969559, -0.5729119181632996, 0.4118410050868988, -0.08731043338775635, 0.17488634586334229, 0.03377653658390045, -0.2772102653980255, -0.38726794719696045, -0.17198529839515686, 1.1686781644821167, 0.7192016839981079, -0.07766566425561905, -0.09540331363677979, 0.4853517711162567, -0.9047302007675171, -0.01150781475007534, -0.47022271156311035, 0.17777119576931, -0.2786980867385864, 0.742423415184021, 0.4196443259716034, 0.64776211977005, -0.4156588315963745, 0.6254242658615112, -0.040178071707487106, -0.3811205327510834, -0.6722237467765808, 0.15888112783432007, -0.06630633026361465, 0.20604971051216125, 0.6238836050033569, 0.46633633971214294, -0.11936316639184952, -0.3672080338001251, 0.5653284192085266, 0.15491333603858948, -0.6915568709373474, -0.5354019999504089, 0.7421234250068665, 0.05314801260828972, -0.34202516078948975, 1.0210105180740356, 0.014505859464406967, -0.5521820187568665, 0.8801889419555664, 0.5337265729904175, 0.7693474292755127, -0.3568797707557678, 0.37272483110427856, 0.8526929020881653, 0.6382430791854858, -0.2716214954853058, -0.20306555926799774, 0.014576023444533348, -0.5511965155601501, -0.21645213663578033, -0.44656267762184143, -0.47724154591560364, -0.20820409059524536, -1.2962288856506348, 0.22366943955421448, -0.7528893947601318, -0.339836448431015, 0.14515340328216553, 0.117735855281353, -0.42150190472602844, 0.21469826996326447, -0.24762961268424988, 1.0492011308670044, -0.9641382098197937, 0.6092907786369324, 0.31142643094062805, -0.6982319355010986, -1.0801430940628052, 0.4188740849494934, 0.203055277466774, -1.1185803413391113, 0.5293049812316895, 0.0021976823918521404, 0.04858973249793053, 0.050548430532217026, -0.340828001499176, -1.0038604736328125, 0.9458277821540833, 0.2606392502784729, -0.2813890874385834, 0.11304173618555069, 0.04369109869003296, 0.7938231825828552, -0.3738561272621155, 0.12169834226369858, 0.5128473043441772, 0.448999285697937, 0.17444655299186707, -1.0590707063674927, 0.15139487385749817, 0.024368172511458397, -0.28485924005508423, 0.6044564247131348, -0.9375560879707336, 1.2228904962539673, -0.5926288962364197, 0.1039009615778923, -0.026670681312680244, 0.6268514394760132, -0.33062952756881714, 0.19008976221084595, 0.3623926639556885, 0.5700306296348572, 0.3817610442638397, 0.07625238597393036, 1.0568541288375854, -0.40157732367515564, 0.6547048091888428, 1.1042572259902954, -0.15801718831062317, 1.0791808366775513, 0.5815249681472778, -0.7828149795532227, 0.49040812253952026, 0.7121105790138245, -0.2893202304840088, 0.4279842674732208, 0.37971946597099304, 0.40155029296875, 0.22509004175662994, -0.05351603776216507, -0.568615734577179, 0.4597816467285156, -0.08887974172830582, -0.40628582239151, -0.13624829053878784, -0.22457344830036163, 0.47794145345687866, -0.1805826872587204, -0.3334242105484009, 0.32043495774269104, 0.09577955305576324, -0.4633922278881073, 0.4662230908870697, 0.06216338276863098, 0.3275100886821747, -0.5498412251472473, 0.2747252583503723, -0.44541871547698975, 0.43355926871299744, -0.2733950912952423, -0.5468153953552246, 0.32044002413749695, -0.3092281222343445, -0.03790401667356491, 0.032590560615062714, 0.26182401180267334, -0.09176591038703918, -0.4453437328338623, 0.16082853078842163, -0.019615301862359047, 0.00237918714992702, -0.047994498163461685, -0.6136862635612488, 0.23180288076400757, 0.06433923542499542, -0.2701736092567444, 0.5282005071640015, -0.15067915618419647, 0.020839953795075417, 0.6381580829620361, 0.44200319051742554, 0.06358063220977783, 0.219429612159729, 0.23309165239334106, 0.736594557762146, -0.30833008885383606, -0.5628740787506104, -0.87701815366745, 0.14919424057006836, -0.029581919312477112, -0.48387518525123596, 0.8646501302719116, 0.505382239818573, 0.694237470626831, 0.08122169971466064, 0.25292840600013733, 0.08922732621431351, 0.02070228010416031, -0.30190354585647583, 0.6846516132354736, -0.8965818881988525, -0.09453728795051575, -0.19244858622550964, -1.357346773147583, -0.14501194655895233, 0.7584062814712524, -0.10001300275325775, 0.41582387685775757, 0.9487782716751099, 0.5684675574302673, 0.08217606693506241, 0.20683617889881134, 0.02771662175655365, 0.2841285765171051, 0.26784414052963257, 0.18188634514808655, 0.24417515099048615, -0.5182320475578308, 0.3272356390953064, -0.12469004094600677, -0.06347674876451492, -0.418819785118103, -0.5073584914207458, -0.7134207487106323, -0.8536456227302551, -0.3203853666782379, -0.2713301181793213, -0.5375406742095947, 0.7996405363082886, 0.6516343355178833, -0.6965976357460022, -0.4514332711696625, -0.07774695008993149, -0.16727831959724426, -0.29680001735687256, -0.21085502207279205, 0.19022634625434875, -0.37973082065582275, -0.484499454498291, 0.08040272444486618, 0.3268091678619385, -0.0766359493136406, -0.6071663498878479, -0.2677842378616333, 0.16393886506557465, 0.4882790744304657, 0.09937437623739243, 0.34968507289886475, -0.7535698413848877, -0.4242117702960968, -0.04531076177954674, -0.31117480993270874, 0.32977601885795593, 1.1218584775924683, -0.5473801493644714, 0.25882163643836975, 0.5148223638534546, 0.5433319807052612, 0.7462922930717468, -0.31832364201545715, 0.5702708959579468, -0.5258872509002686, 0.24509821832180023, -0.012410408817231655, 0.15003521740436554, 0.215255007147789, -0.15578609704971313, 0.5668599605560303, -0.044521763920784, -0.43540528416633606, -1.0953189134597778, 0.3101996183395386, -0.8411901593208313, 0.04800983890891075, 0.6844308972358704, 0.13874804973602295, -0.17555895447731018, 0.3287334144115448, -0.0635722205042839, 0.09323591738939285, -0.17352625727653503, 0.5495578050613403, 0.7369444966316223, -0.09672324359416962, -0.1847262680530548, -0.8607045412063599, 0.6402257084846497, 0.5896998643875122, -0.27098461985588074, -0.033910345286130905, -0.1413808912038803, 0.24962803721427917, 0.3051290512084961, 0.5407902598381042, -0.005996462423354387, 0.19741861522197723, 0.3709368109703064, -0.5222414135932922, 0.26328134536743164, -0.3032372295856476, -0.3298676311969757, -0.021915581077337265, 0.29335400462150574, 0.09534280747175217 ]
http://arxiv.org/abs/2406.08183v2
http://arxiv.org/pdf/2406.08183v2
Underneath the Numbers: Quantitative and Qualitative Gender Fairness in LLMs for Depression Prediction
2024-06-12T13:14:19
2024-06-14T09:34:35
Micol Spitale, Jiaee Cheong, Hatice Gunes
cs.CL
cs.CL
Recent studies show bias in many machine learning models for depression detection, but bias in LLMs for this task remains unexplored. This work presents the first attempt to investigate the degree of gender bias present in existing LLMs (ChatGPT, LLaMA 2, and Bard) using both quantitative and qualitative approaches. From our quantitative evaluation, we found that ChatGPT performs the best across various performance metrics and LLaMA 2 outperforms other LLMs in terms of group fairness metrics. As qualitative fairness evaluation remains an open research question we propose several strategies (e.g., word count, thematic analysis) to investigate whether and how a qualitative evaluation can provide valuable insights for bias analysis beyond what is possible with quantitative evaluation. We found that ChatGPT consistently provides a more comprehensive, well-reasoned explanation for its prediction compared to LLaMA 2. We have also identified several themes adopted by LLMs to qualitatively evaluate gender fairness. We hope our results can be used as a stepping stone towards future attempts at improving qualitative evaluation of fairness for LLMs especially for high-stakes tasks such as depression detection.
[ -0.30047041177749634, -0.490064412355423, 0.8911835551261902, 0.5565837621688843, -0.13579311966896057, 0.28453394770622253, 0.1373049020767212, -0.28181779384613037, -0.16627267003059387, 0.1168336272239685, -0.8726451396942139, -0.6053202748298645, -0.9048317670822144, 0.27558645606040955, -0.3114873766899109, 0.9979400634765625, 0.265224426984787, 0.7980616092681885, -0.3498219847679138, 0.18818825483322144, -0.7695655822753906, -0.5326203107833862, -0.7976452112197876, -0.7103193998336792, 0.38550934195518494, 0.2724020183086395, 0.6983460783958435, -0.10998716205358505, 0.44409093260765076, 0.2701985239982605, -0.30574244260787964, -0.11339255422353745, -0.7155144214630127, -0.07399213314056396, 0.04323741793632507, -0.9465635418891907, -0.6009465456008911, 0.1652374267578125, 0.42557471990585327, 0.5968260765075684, -0.21014249324798584, 0.31208348274230957, 0.2966664135456085, 0.811836838722229, -0.49762505292892456, 0.15405364334583282, -0.5656105279922485, 0.6776136159896851, -0.09714899212121964, 0.07791896909475327, -0.008309517987072468, -0.7744783163070679, 0.004886406473815441, -0.34165164828300476, 0.33993634581565857, 0.055957868695259094, 0.3795554041862488, 0.4033605754375458, -0.6259987354278564, -0.2403678447008133, -0.24064254760742188, 0.991176962852478, -0.6376471519470215, -0.012499712407588959, 0.5749353170394897, 0.42718443274497986, -0.2990244925022125, -0.34733399748802185, -0.3538646399974823, 0.139222651720047, -0.013915430754423141, 0.19617336988449097, -0.39803725481033325, -0.12100780010223389, 0.34969353675842285, 0.40655645728111267, -0.5234182476997375, 0.24705898761749268, -0.44330161809921265, 0.06381034851074219, 0.5601140856742859, 0.35776159167289734, 0.28697752952575684, -0.31834539771080017, -0.3198516070842743, 0.41847509145736694, -0.48033711314201355, 0.14333494007587433, 0.43047717213630676, -0.06446543335914612, -0.3856932520866394, 0.6382192969322205, -0.04366431385278702, -0.04893546551465988, 0.33693060278892517, -0.10087820142507553, 0.18621554970741272, 0.06935158371925354, -0.1980699896812439, 0.4148889183998108, 0.7953967452049255, 0.6379626393318176, 0.2858966886997223, -0.0909201055765152, -0.16192656755447388, 0.3143346309661865, 0.23371173441410065, -0.7632375359535217, -0.03213437274098396, 0.31944540143013, -0.9103482961654663, -0.5307039022445679, -0.3417282998561859, -0.8254207372665405, -1.102900505065918, -0.2640104293823242, 0.2791958749294281, -0.2210497260093689, -0.44060736894607544, 0.15990155935287476, -0.359496533870697, 0.012169397436082363, 0.31120923161506653, -0.6493595242500305, 0.23531697690486908, 1.0392638444900513, 0.9632648229598999, -0.03893450275063515, 0.2585376501083374, -0.33565714955329895, -0.1340150088071823, -0.2633717954158783, 0.7889432311058044, -0.37842729687690735, -0.4786428213119507, -0.23505878448486328, -0.08376744389533997, 0.14223507046699524, -0.6172589659690857, 0.6428137421607971, 0.10299891978502274, 0.49137213826179504, -0.4556749761104584, -0.4926755130290985, -0.11519079655408859, 0.17372214794158936, -0.6975528597831726, 0.987201988697052, 0.2886267602443695, -1.1178926229476929, 0.5283859968185425, -0.5499541163444519, -0.004143060650676489, -0.272600919008255, -0.435177206993103, -0.618687093257904, 0.2448417842388153, 0.17743760347366333, 0.39796343445777893, -0.5151302218437195, 0.6051872968673706, -0.6833914518356323, -0.5971131324768066, 0.6398777961730957, -0.4072536826133728, 0.9022232890129089, 0.07877717912197113, -0.5788450241088867, -0.17422029376029968, -0.43886011838912964, -0.26909124851226807, 0.05893845111131668, 0.04451817646622658, -0.17203393578529358, -0.01832048036158085, -0.40186023712158203, 0.1267888993024826, -0.03850420191884041, -0.5019859671592712, -0.35249921679496765, -0.1670391857624054, 0.3711825907230377, 1.0412510633468628, -0.49758872389793396, 0.5001261234283447, -0.412972629070282, 0.8847447037696838, 0.05348896235227585, 0.42762491106987, 0.4381987452507019, -0.7023213505744934, -0.38262203335762024, -0.4676424264907837, 0.4940023124217987, 0.6817800998687744, -0.45554712414741516, 0.24198263883590698, 0.11953525990247726, -0.3382927477359772, -0.7432302832603455, -0.13555499911308289, 0.4850582480430603, 0.5093931555747986, 0.1457478255033493, -0.40618789196014404, -0.6088373064994812, -0.9537808299064636, -0.6036211848258972, -0.01567067578434944, -0.3374766707420349, 0.2530972361564636, 0.3519670069217682, 0.004795901942998171, 0.9634913206100464, -0.4518449008464813, -0.4538780450820923, -0.06580060720443726, 0.25614672899246216, 0.4575192332267761, 0.41480058431625366, 0.5925580263137817, -0.6572299003601074, -0.0913587138056755, -0.39526280760765076, -0.891225278377533, -0.31635159254074097, 0.3526008129119873, -0.18513506650924683, -0.01182838436216116, 0.16099482774734497, -0.5466940999031067, 0.7937068939208984, 0.5243101119995117, -0.6234005689620972, 0.40182337164878845, 0.40067678689956665, 0.21736115217208862, -0.5824467539787292, -0.30160123109817505, 0.20244340598583221, -0.22320616245269775, -0.3659283220767975, -0.655001163482666, -0.16352534294128418, 0.0016001224284991622, -0.32595184445381165, 0.4533645212650299, -0.22330784797668457, -0.6327787637710571, -0.1345967799425125, 0.06396925449371338, 0.0054061636328697205, 0.10155323892831802, -0.22506485879421234, 0.6710783243179321, 0.4548352062702179, -0.2204868048429489, 0.06364831328392029, 0.17575225234031677, -0.4592154324054718, 0.8689613938331604, -0.6464898586273193, -0.0787648856639862, -0.5206401348114014, 0.6236815452575684, -1.3507583141326904, 0.31382375955581665, 0.6100569367408752, -0.6481541991233826, -0.03131341561675072, -0.19596709311008453, -0.28867799043655396, -0.41658636927604675, -0.40778848528862, 0.715687096118927, 0.6174739599227905, -0.11699356138706207, 0.28700053691864014, 0.37165361642837524, -0.34564387798309326, -0.6292659640312195, -0.914425790309906, -0.09297864139080048, -0.805988609790802, -0.3210037052631378, 0.22174201905727386, -0.04552248865365982, -0.6414178609848022, -0.28543606400489807, -0.11464665085077286, 0.04632517322897911, 0.27696990966796875, 0.4950333833694458, 0.005826243199408054, 0.005012331064790487, 0.23132911324501038, 0.2033521831035614, -0.36226746439933777, 0.31340059638023376, 0.25143760442733765, 0.42401909828186035, -0.05589017644524574, -0.3477587401866913, -0.4869396984577179, 0.20841340720653534, -0.09618641436100006, 0.28960543870925903, 0.5366207361221313, 0.946882426738739, -0.4012983739376068, 0.07374533265829086, -0.5037630796432495, -0.27074116468429565, -0.4453136920928955, 0.05905697122216225, -0.2664251923561096, -0.9371767640113831, 0.5042840242385864, -0.06243429705500603, -0.315633088350296, 0.24761740863323212, 0.5266275405883789, -0.3517703115940094, 1.2952804565429688, 0.6444129943847656, -0.09035909175872803, 0.31168892979621887, -0.09419169276952744, 0.22221851348876953, -0.7538965940475464, -0.3236391842365265, -0.6119048595428467, -0.7170505523681641, -0.7908588647842407, -0.46272340416908264, 0.3423994481563568, 0.19338218867778778, -0.6666735410690308, -0.4306958019733429, -0.40955719351768494, 0.21418896317481995, 0.3555447459220886, 0.5323618054389954, 0.32001861929893494, -0.0022118811029940844, 0.1241140067577362, -0.4866868555545807, -0.6462241411209106, -0.6103509664535522, 1.1674762964248657, 0.601566731929779, 0.5491582751274109, 0.008233032189309597, 0.5511974692344666, 0.9295675754547119, 0.5249128937721252, -0.547505259513855, 0.3948875665664673, -0.32895538210868835, -0.5940132737159729, -0.25927114486694336, -0.541971743106842, -1.1179972887039185, 0.48164427280426025, -0.0757158026099205, -0.5205848813056946, 0.43651092052459717, -0.13921912014484406, -0.3380102813243866, 0.25575584173202515, -0.5247977375984192, 0.5831223726272583, -0.3103175759315491, -0.0538320317864418, -0.2891422510147095, -0.5786423087120056, 0.8230410814285278, -0.05221407860517502, 0.5340754985809326, -0.777902364730835, -0.08600969612598419, 0.599492073059082, -0.1406765729188919, 1.1073274612426758, -0.31649887561798096, -0.5309724807739258, -0.0074465107172727585, 0.08196720480918884, -0.092093326151371, 0.3809623420238495, -0.4994577467441559, 0.546649694442749, -0.051963936537504196, -0.6341657042503357, -0.49281203746795654, 0.5857159495353699, -0.8608716130256653, -0.45449694991111755, -0.5404229760169983, -0.38201799988746643, -0.10751395672559738, -0.04322639852762222, 0.03316374868154526, 0.11794625967741013, -0.18683023750782013, -0.16766975820064545, 0.6753100752830505, -0.6942605376243591, 0.25021952390670776, 0.35082727670669556, -0.3239978849887848, -0.5153729915618896, 0.2834635078907013, 0.06120250001549721, 0.029251201078295708, 0.2368573695421219, 0.25170549750328064, -0.3304236829280853, -0.23058928549289703, -0.14447671175003052, 0.13848260045051575, -0.5135430097579956, -0.4680384397506714, -0.5477983951568604, 0.10119474679231644, -0.3925994336605072, 0.08960352838039398, -0.1601393222808838, -0.6516022682189941, -0.39771631360054016, -0.258677214384079, 0.47219324111938477, 0.6507440805435181, -0.20217666029930115, 0.485623300075531, -0.38379648327827454, 0.9021692872047424, 0.22640112042427063, 0.4379241466522217, 0.12994009256362915, -0.40270715951919556, 0.21446089446544647, 0.2530694603919983, -0.5195826888084412, -0.8207046985626221, 0.41563665866851807, -0.2808019816875458, 0.3411993980407715, 0.4014243185520172, 0.12754160165786743, 0.6339080333709717, -0.23516413569450378, 0.7202380895614624, 0.5290979146957397, -0.9075183272361755, 0.3483855426311493, -0.2356327325105667, -0.03416649252176285, 0.30955028533935547, 0.45639142394065857, -0.33205127716064453, -0.35871464014053345, -0.593250572681427, -0.5882241725921631, 0.8296378254890442, 0.3569066524505615, -0.1350032240152359, 0.09739917516708374, 0.44471630454063416, 0.5046565532684326, 0.5855289101600647, -0.8613864183425903, -0.3269382119178772, -0.15665513277053833, -0.28069454431533813, -0.12251343578100204, -0.4015961289405823, -0.21468102931976318, -0.15473449230194092, 0.21832484006881714, -0.01570618897676468, 0.5936985611915588, 0.10535574704408646, 0.07826629281044006, -0.26041337847709656, 0.19508767127990723, 0.18782123923301697, 0.8792287111282349, -0.3609216511249542, 0.18552620708942413, 0.44445645809173584, -0.2042381465435028, 0.18275240063667297, -0.03459298238158226, -0.17398789525032043, 0.1248234361410141, 0.3197679817676544, 0.8069560527801514, 0.19963712990283966, -0.587713360786438, 0.5341833829879761, -0.3591068983078003, -0.34418928623199463, -0.52967369556427, 0.0079978471621871, 0.08581460267305374, 0.8996913433074951, 0.40570834279060364, -0.29616859555244446, 0.5806344151496887, -0.5808284282684326, -0.1769416779279709, 0.48562413454055786, -0.535711944103241, -0.15526412427425385, 0.6472253799438477, -0.09314293414354324, -0.2698313891887665, 0.5320983529090881, 0.09806523472070694, -0.530969500541687, 0.9686040282249451, 0.27799883484840393, 0.9406531453132629, -0.12139441072940826, 0.6168822646141052, 0.04565136507153511, 0.18974103033542633, -0.219495952129364, 0.5680985450744629, 0.1651495397090912, -0.5043480396270752, -0.22366225719451904, -0.5098661780357361, -0.3711937963962555, -0.12120643258094788, -0.6717062592506409, 0.36218196153640747, -0.30763331055641174, -0.7164425849914551, -0.2337133139371872, 0.21941377222537994, -0.644143283367157, 0.3431333303451538, 0.5402784943580627, 0.47383663058280945, -0.6944374442100525, 0.23718729615211487, 0.4370167553424835, -0.16542503237724304, -0.17389200627803802, -0.08187044411897659, 0.18293848633766174, -1.0037117004394531, 0.5846267938613892, 0.26694250106811523, 0.1230415403842926, -0.3064247667789459, -0.4776791036128998, -0.6992305517196655, 1.4096475839614868, 0.6016131043434143, -0.6023670434951782, 0.16033096611499786, 0.4394170045852661, 0.3763784170150757, -0.06583669036626816, 0.7869135737419128, 0.6815712451934814, 0.7139132618904114, -0.3393210172653198, -0.954490602016449, 0.11155356466770172, 0.022262733429670334, 0.11393069475889206, -0.1333809792995453, -0.8786903023719788, 0.9628446698188782, -0.18117208778858185, -0.027818797156214714, 0.10472793877124786, 0.5841957926750183, 0.7962955236434937, 0.9803133010864258, 0.5773894786834717, 0.4822321832180023, 1.0004897117614746, -0.1358649730682373, 1.003254771232605, 0.29752129316329956, 0.20645073056221008, 0.7605858445167542, -0.3951353430747986, 0.23839877545833588, 0.3691447079181671, -0.722221314907074, 0.5083141922950745, 0.9559048414230347, 0.13512346148490906, 0.39817577600479126, 0.7624830007553101, -0.1865120530128479, -0.12230418622493744, -0.29244840145111084, -0.6073810458183289, 0.08729368448257446, 0.3642141819000244, -0.3027491867542267, -0.15408901870250702, -0.0026279001031070948, 0.34027397632598877, -0.0096336854621768, -0.575684666633606, 0.5500017404556274, 0.6697027683258057, -0.14926639199256897, 0.4430295526981354, 0.10513094067573547, 0.8286334276199341, -0.1701655387878418, 0.021296991035342216, -0.7245029211044312, 0.16999664902687073, -0.41379961371421814, -0.8892752528190613, -0.09294584393501282, 0.2050175964832306, -0.38067787885665894, -0.18478995561599731, 0.9201487302780151, -0.26918962597846985, -0.7199785113334656, 0.42980584502220154, 0.6399998664855957, 0.30100730061531067, -0.2699420750141144, -0.9638426899909973, 0.003863721387460828, -0.09310658276081085, -0.1399562507867813, 0.7017330527305603, 1.0516893863677979, -0.20009441673755646, 0.9735769033432007, 0.25337570905685425, -0.03425021097064018, 0.07188555598258972, 0.2931819260120392, 0.648039698600769, -0.925416886806488, -0.3857124447822571, -1.0337022542953491, 0.36495789885520935, 0.014561033807694912, -0.09043702483177185, 0.6901335716247559, 0.33138954639434814, 0.4267919659614563, 0.011440299451351166, 0.7516452670097351, 0.31858471035957336, 0.7106884717941284, -0.48214176297187805, 0.5801541805267334, -0.4808429479598999, 0.2747856080532074, -0.5658550262451172, -0.8460901379585266, -0.16867074370384216, 0.5225731730461121, -0.5577769875526428, 0.18622922897338867, 0.4768410921096802, 0.45595332980155945, 0.11862188577651978, 0.35836148262023926, 0.0332142673432827, 0.18771590292453766, 0.21553778648376465, 0.6140304803848267, 1.471047043800354, -0.3932211995124817, 0.42529261112213135, -0.08384779095649719, -0.23363575339317322, 0.0051916418597102165, -0.9874429702758789, -0.913244366645813, 0.161723330616951, -0.2956811189651489, -0.15773142874240875, 0.2650001347064972, 0.43251851201057434, 0.26762670278549194, -0.6052532196044922, -0.3936214745044708, 0.1319969743490219, 0.5887258052825928, -0.057905811816453934, -0.26460182666778564, 0.24645408987998962, -0.16775640845298767, -0.5328826904296875, -0.06615560501813889, -0.06826939433813095, -0.09924471378326416, -0.23003807663917542, -0.19641514122486115, 0.22786177694797516, -0.22050751745700836, 0.6477673053741455, -0.5464780926704407, -0.6833665370941162, 0.171355739235878, -0.47587114572525024, -0.01682288944721222, 0.09713369607925415, 0.8571794033050537, -1.0600805282592773, -0.29734382033348083, 0.4046206772327423, 0.2820284068584442, 0.2632763087749481, 0.28416529297828674, 0.7437477111816406, -0.24664773046970367, -0.07989101111888885, 0.15618805587291718, 0.1667444407939911, 0.3353182077407837, -0.6138046383857727, 0.8371407985687256, 0.09288305044174194, -0.5910593271255493, -1.0749542713165283, -0.16940991580486298, -0.685158908367157, -0.532622754573822, 1.0445361137390137, -0.05297943577170372, 0.04311090335249901, -0.24615442752838135, -0.4940333962440491, 0.36488765478134155, -0.694341778755188, 1.100631594657898, 0.5989457964897156, -0.22267286479473114, -0.2164199948310852, -0.8760277628898621, 0.5631992816925049, 0.7363377213478088, -0.557101309299469, -0.14284224808216095, 0.4307217597961426, 0.10651423782110214, -0.4744737446308136, 0.7234593629837036, -0.31309089064598083, 0.1133246198296547, -0.38006168603897095, 0.08658643811941147, 0.44117632508277893, 0.21063204109668732, -0.5326748490333557, 0.09800691902637482, -0.13476526737213135, 0.054391082376241684 ]
http://arxiv.org/abs/2406.08173v1
http://arxiv.org/pdf/2406.08173v1
Semi-Supervised Spoken Language Glossification
2024-06-12T13:05:27
2024-06-12T13:05:27
Huijie Yao, Wengang Zhou, Hao Zhou, Houqiang Li
cs.CL
cs.CL
Spoken language glossification (SLG) aims to translate the spoken language text into the sign language gloss, i.e., a written record of sign language. In this work, we present a framework named $S$emi-$S$upervised $S$poken $L$anguage $G$lossification ($S^3$LG) for SLG. To tackle the bottleneck of limited parallel data in SLG, our $S^3$LG incorporates large-scale monolingual spoken language text into SLG training. The proposed framework follows the self-training structure that iteratively annotates and learns from pseudo labels. Considering the lexical similarity and syntactic difference between sign language and spoken language, our $S^3$LG adopts both the rule-based heuristic and model-based approach for auto-annotation. During training, we randomly mix these complementary synthetic datasets and mark their differences with a special token. As the synthetic data may be less quality, the $S^3$LG further leverages consistency regularization to reduce the negative impact of noise in the synthetic data. Extensive experiments are conducted on public benchmarks to demonstrate the effectiveness of the $S^3$LG. Our code is available at \url{https://github.com/yaohj11/S3LG}.
[ 0.07902752608060837, -0.5261467695236206, 0.4649248421192169, 0.23207740485668182, -0.17578500509262085, 0.10219626128673553, -0.3265478014945984, -0.30436065793037415, 0.3215031325817108, 0.46598002314567566, -0.47202613949775696, -0.8744730949401855, -0.5619540810585022, 0.15724773705005646, -0.4377982020378113, 0.9740318059921265, -0.04304909706115723, 0.02281198650598526, 0.3021329641342163, 0.015877438709139824, -0.05169293284416199, -0.22212952375411987, -0.8540953397750854, -0.16434237360954285, 0.0851169005036354, 0.49225053191185, 0.7479429244995117, 0.9058685302734375, -0.021244827657938004, 0.1730014532804489, -0.08555471897125244, 0.15259817242622375, -0.6275229454040527, -0.13886608183383942, 0.3107347786426544, -0.3906129002571106, -0.4021970331668854, 0.16103702783584595, 0.8800846934318542, 0.6601207256317139, -0.43025726079940796, 0.212616965174675, -0.13875454664230347, 0.5279601812362671, -0.2997109591960907, 0.4583985507488251, -0.38863587379455566, 0.04659019783139229, -0.498124361038208, 0.2843472957611084, -0.42167121171951294, -0.27031248807907104, -0.20303811132907867, -0.8110573887825012, 0.19815026223659515, 0.10994185507297516, 0.9369075894355774, 0.39986810088157654, -0.19751666486263275, -0.1026519313454628, -0.7985014915466309, 0.685207724571228, -1.0452840328216553, 0.5948852896690369, 0.26736244559288025, 0.2682666480541229, 0.2165716290473938, -0.6685652732849121, -0.5338700413703918, -0.16937966644763947, -0.2962607741355896, 0.4118224084377289, 0.05023001506924629, 0.3689572513103485, 0.2867608666419983, 0.6809453964233398, -0.5869185328483582, 0.2448166459798813, -0.615249514579773, -0.48413917422294617, 0.9127909541130066, -0.18741893768310547, 0.25943002104759216, -0.12569141387939453, -0.42782318592071533, 0.2098393589258194, -0.9150916337966919, -0.49367663264274597, 0.11981353163719177, 0.6548619270324707, -0.20405423641204834, 0.2931009829044342, -0.16956235468387604, 0.9091614484786987, 0.04729409143328667, -0.3041350841522217, 0.44925224781036377, -0.3686182498931885, -0.2450864166021347, 0.19607944786548615, 0.9341683983802795, 0.39656683802604675, 0.15146249532699585, -0.04998910799622536, -0.2855076193809509, -0.22732678055763245, -0.195724219083786, -0.4200647473335266, 0.07439129799604416, -0.022313009947538376, -0.3551255166530609, -0.001920012873597443, -0.14541825652122498, -0.2955605089664459, -0.4934241473674774, -0.4833693206310272, 0.4437485337257385, -0.2693765163421631, -0.1303258091211319, 0.3414996266365051, 0.2162434160709381, 0.07280378043651581, 0.438150554895401, -0.7779145240783691, 0.1181526780128479, 0.35540273785591125, 0.9473124742507935, -0.4095146954059601, -0.21313373744487762, -0.4098798632621765, 0.5030293464660645, -0.15257595479488373, 0.3056003153324127, -0.10060200095176697, -0.3182143270969391, 0.05272756889462471, -0.11211108416318893, -0.25820204615592957, -0.46730783581733704, 0.31364378333091736, -0.2051156610250473, 0.29797816276550293, 0.2648400068283081, -0.6803439855575562, -0.10573176294565201, -0.1950162947177887, -0.5252352952957153, 1.4039280414581299, 0.2366548627614975, -0.40803080797195435, 0.5037111639976501, -0.5715213418006897, -0.5909898281097412, 0.4761382043361664, -0.4983854591846466, -0.605893075466156, -0.11920350790023804, 0.03209048509597778, 0.6105784773826599, -0.332148939371109, 0.3128998577594757, 0.019849946722388268, -0.4091239273548126, -0.47470301389694214, 0.10336590558290482, 0.6199077367782593, 0.3235323429107666, -0.6325691342353821, 0.06302158534526825, -1.0341708660125732, -0.23774856328964233, -0.04291593283414841, -0.24497318267822266, -0.13059040904045105, -0.1885368525981903, -0.0962943285703659, -0.0521407276391983, 0.4367705285549164, -0.6779125332832336, 0.19469985365867615, -0.4523695409297943, 0.15132740139961243, 0.6187769174575806, -0.0852416530251503, 0.4938686192035675, 0.12489207834005356, 0.4333361089229584, -0.11273261904716492, 0.38323307037353516, 0.21586723625659943, -0.5058247447013855, -1.019137978553772, -0.2948787808418274, 0.1783817708492279, 0.5137149095535278, -0.6547767519950867, 0.33325809240341187, -0.17248547077178955, -0.43190574645996094, -0.6254003047943115, 0.38943415880203247, 0.5794141292572021, 0.25518134236335754, 0.3364776074886322, 0.01073882170021534, -0.5126088261604309, -1.0300929546356201, -0.1764698177576065, -0.24641111493110657, -0.10400909185409546, 0.10322321206331253, 0.10635049641132355, -0.29351264238357544, 0.6461401581764221, -0.37788134813308716, -0.8063430786132812, -0.27732083201408386, 0.3165546655654907, 0.37238600850105286, 0.2682986557483673, 0.31773489713668823, -0.5969603061676025, -0.8447791934013367, 0.15106989443302155, -0.6928983926773071, -0.44677603244781494, -0.3206566274166107, 0.16186130046844482, 0.05803573876619339, 0.9755105376243591, -0.170706644654274, 0.6082615256309509, 0.7064455151557922, -0.031961590051651, 0.5334885716438293, -0.14627261459827423, -0.10246244072914124, -0.9573513865470886, -0.23409689962863922, -0.04298976808786392, -0.42314520478248596, -1.1513760089874268, -0.24850942194461823, -0.00494192773476243, -0.3470090627670288, -0.5324504375457764, 0.4836743474006653, -0.7312347888946533, -0.1328834891319275, -0.2142760157585144, 0.46073877811431885, -0.2685237228870392, 0.4581880271434784, 0.17969977855682373, 1.0182794332504272, 1.051115870475769, -0.7092389464378357, 0.15998761355876923, 0.1273740828037262, 0.032416779547929764, 0.28765758872032166, -0.5736650228500366, 0.08760839700698853, -0.03613460808992386, -0.06431920826435089, -0.6681869626045227, -0.1405179351568222, 0.3913766145706177, -0.04631522297859192, 0.5231042504310608, -0.032645631581544876, -0.43055570125579834, -0.14361843466758728, -0.039008527994155884, 0.3631049692630768, 0.3306131362915039, -0.5208939909934998, 1.0798307657241821, 0.6538425087928772, 0.11320802569389343, -0.14957429468631744, -0.8627213835716248, 0.21611501276493073, -0.11401201039552689, -0.44917675852775574, 0.20592528581619263, -0.031132569536566734, 0.015269008465111256, -0.5997357368469238, -0.1245151087641716, 0.5115422010421753, -0.15511958301067352, 0.24687284231185913, -0.04601140692830086, 0.03431054204702377, 0.2567625343799591, -0.19700466096401215, -0.22389817237854004, -0.24593812227249146, -0.35312584042549133, 0.25944775342941284, -0.4873582422733307, -0.38099005818367004, -0.618318498134613, 0.17113758623600006, 0.2079521119594574, 0.08323589712381363, 0.5887239575386047, 0.5529865622520447, -0.2563081979751587, -0.40842726826667786, -0.3400558829307556, 0.08671991527080536, -0.45790937542915344, 0.028573771938681602, -0.4217987060546875, -1.0755611658096313, 0.5738085508346558, -0.11133894324302673, 0.05191044881939888, 0.42879730463027954, 0.4420192837715149, -0.09092386066913605, 0.9610348343849182, 0.5871765613555908, -0.12398026883602142, 0.46309956908226013, -0.2580416202545166, 0.3664511740207672, -0.5520883798599243, -0.09350721538066864, -0.08579611033201218, 0.15332213044166565, -0.4441799521446228, -0.5943266153335571, 0.5723206996917725, 0.14566129446029663, 0.11633632332086563, 0.7423601150512695, -0.4788680374622345, 0.11836275458335876, 0.49046170711517334, 0.03373083844780922, 0.1822148859500885, -0.26918908953666687, 0.08748047053813934, 0.2068578153848648, -0.827345609664917, -0.4140346348285675, 0.9263061285018921, 0.47601088881492615, 0.8401490449905396, 0.12883661687374115, 1.1274300813674927, 0.6353817582130432, 0.4991963803768158, -0.6142958998680115, 0.8769152164459229, -0.15015920996665955, -0.4226149022579193, -0.5896517038345337, -0.460644006729126, -0.684933602809906, 0.020424921065568924, 0.07619716227054596, -0.7249304056167603, 0.028065867722034454, 0.4794602692127228, -0.13438037037849426, 0.009715196676552296, -0.8522621393203735, 0.7318323254585266, -0.3091197907924652, -0.06862890720367432, 0.03191646188497543, -0.6867181658744812, 0.22875647246837616, -0.27297618985176086, 0.4873815178871155, -0.1332918107509613, 0.09403833746910095, 1.051216721534729, -0.5248457193374634, 1.0165162086486816, -0.31963175535202026, -0.4974381625652313, 0.28876277804374695, 0.03156288340687752, 0.6181011199951172, -0.005213735159486532, -0.005792965181171894, 0.44883593916893005, -0.25555863976478577, -0.475622296333313, -0.5168531537055969, 0.4208240807056427, -0.5320282578468323, -0.8097892999649048, -0.5171369314193726, -0.3100526034832001, -0.27975237369537354, 0.4883985221385956, 0.049661751836538315, 0.22830936312675476, 0.0035168579779565334, -0.2650148272514343, 0.5442115664482117, 0.031677935272455215, 0.14204256236553192, 0.5068709254264832, -0.5769544839859009, -0.34576448798179626, 0.9019984602928162, -0.1481878012418747, 0.5779911875724792, 0.01163658406585455, 0.4149778187274933, -0.35709401965141296, -0.821761965751648, -0.5002362132072449, 0.684174120426178, -0.8768691420555115, -0.1405327171087265, -0.05219247564673424, -0.2516804337501526, -0.5504358410835266, 0.12958404421806335, -0.46318164467811584, -0.39954492449760437, -0.4850260019302368, -0.20100529491901398, 0.24552501738071442, 0.8696255087852478, -0.41044187545776367, 0.8589369654655457, -0.3122853934764862, 0.3016520142555237, 0.17144456505775452, 0.43232691287994385, -0.4983118176460266, -0.8214945197105408, -0.578461229801178, 0.11604592204093933, 0.35155951976776123, -0.7509245276451111, -0.006393447984009981, 0.6615456342697144, 0.5883522033691406, 0.7485412359237671, -0.2486603707075119, 0.7197139263153076, -0.37897247076034546, 0.826564371585846, 0.42183446884155273, -0.9969795346260071, 0.6049342751502991, -0.44993725419044495, 0.40262702107429504, 0.7861277461051941, 0.27365437150001526, -0.7568411827087402, -0.7582406401634216, -0.6450845003128052, -0.8246656656265259, 0.9079025387763977, 0.3348258137702942, -0.3015962541103363, -0.04376661032438278, 0.3095281720161438, 0.10128658264875412, 0.09607323259115219, -1.0379427671432495, -0.6607338190078735, -0.178981214761734, -0.11951828002929688, -0.3824712336063385, -0.07312272489070892, -0.29438379406929016, -0.10199014097452164, 1.0879100561141968, -0.20196394622325897, -0.014851336367428303, 0.06885221600532532, -0.2706329822540283, 0.13435664772987366, -0.09384717047214508, 0.5191299915313721, 0.22251169383525848, -0.17737846076488495, 0.3396901786327362, 0.11620273441076279, -0.40121161937713623, 0.09787046164274216, 0.12495622038841248, -0.773693859577179, 0.1588791012763977, 0.2530795633792877, 1.1175676584243774, 0.1760779619216919, -0.362885445356369, 0.6053361296653748, 0.15746065974235535, -0.37318655848503113, -0.32201433181762695, -0.11255116015672684, -0.11795143783092499, -0.1314096450805664, 0.20303793251514435, -0.24384252727031708, 0.28588157892227173, -0.37799444794654846, 0.25997161865234375, 0.07476556301116943, -0.31506097316741943, -0.12866179645061493, 0.6485044956207275, 0.14576786756515503, -0.32486891746520996, -0.007889087311923504, -0.420538067817688, -0.7064891457557678, -0.05147286504507065, 0.3321472406387329, 0.7883989214897156, -0.36057281494140625, 0.4533873498439789, 0.5296447277069092, 0.2720453441143036, -0.23812726140022278, 0.28291094303131104, -0.3852916657924652, -0.5394369959831238, -0.30950239300727844, -0.7972579002380371, -0.26009315252304077, 0.18337658047676086, -0.4108128249645233, 0.3049149215221405, -0.3600725531578064, -0.10016248375177383, -0.10246548801660538, -0.4411797523498535, -0.3596901595592499, 0.43622374534606934, 0.5534695982933044, 0.6484403014183044, -1.2553950548171997, 0.46105921268463135, 0.4135534465312958, -0.39749032258987427, -0.8988134860992432, -0.03822248801589012, 0.005645085126161575, -1.0730929374694824, 0.5422356128692627, 0.12308643013238907, -0.5784962773323059, 0.27398622035980225, -0.2698797583580017, -1.1543846130371094, 1.000352382659912, 0.0004957548226229846, -0.6096974015235901, 0.23697488009929657, 0.5647223591804504, 0.5675545334815979, -0.3954436480998993, 0.13012433052062988, 0.9152870774269104, 0.5837236642837524, 0.07085642218589783, -1.1987025737762451, 0.12898573279380798, 0.01951872929930687, 0.2077360302209854, 0.1966247856616974, -0.7785853147506714, 0.20522737503051758, -0.042896680533885956, -0.9413970708847046, -0.17162320017814636, 0.9616134762763977, 0.13605256378650665, 0.3454159200191498, 0.6839898228645325, 0.5141197443008423, 0.7188808917999268, -0.36949238181114197, 0.5117500424385071, -0.44817596673965454, 0.3940889835357666, 1.025951862335205, -0.19888953864574432, 0.30084118247032166, 0.5876158475875854, -0.2677498757839203, 0.29379570484161377, 0.6157994866371155, -0.027778295800089836, 0.38325202465057373, 0.4200585186481476, -0.3795214295387268, -0.16759246587753296, 0.05197843909263611, 0.043632879853248596, 0.5379021167755127, 0.3699783980846405, -0.30934205651283264, -0.44241464138031006, 0.3892708420753479, 0.1276685893535614, 0.20628276467323303, -0.4499671161174774, 0.7677110433578491, 0.02717478759586811, -0.388378769159317, 0.9682510495185852, -0.13349564373493195, 0.577153205871582, -0.6601274013519287, 0.29731228947639465, -0.2526775300502777, -0.061932992190122604, -0.33443623781204224, -0.6329977512359619, 0.08004885911941528, -0.36358532309532166, 0.40629494190216064, -0.7497552633285522, 0.5600383877754211, -0.7827568054199219, -0.349182665348053, 0.34263506531715393, 0.2807312607765198, 0.7156614661216736, 0.3533145487308502, -0.8080363869667053, 0.14451076090335846, 0.27960026264190674, -0.2871344983577728, -0.11792252957820892, 0.2011204957962036, -0.08982835710048676, 0.7237803936004639, 0.3757680654525757, 0.5000824928283691, 0.23300674557685852, 0.8686372637748718, 0.6425351500511169, -0.45911628007888794, -0.6314032077789307, -0.37027084827423096, 0.30232319235801697, -0.23372405767440796, -0.14954353868961334, 1.175167441368103, 0.9256812334060669, 0.7470768094062805, -0.10046138614416122, 0.8841383457183838, -0.16051563620567322, 0.6707231998443604, -0.6253376603126526, 0.43632587790489197, -0.6246460676193237, 0.3743041157722473, -0.1298050433397293, -0.7615087628364563, -0.6187872886657715, 0.4217698872089386, -0.2752290666103363, 0.0939849317073822, 0.501835286617279, 1.139731764793396, 0.06139754131436348, -0.06846502423286438, 0.5953919887542725, 0.2285481095314026, 0.183302640914917, 0.2803100645542145, 0.47970691323280334, -0.6050865650177002, 0.4713568091392517, -0.1319350302219391, -0.5076785087585449, -0.19103191792964935, -0.7509697675704956, -0.8895593881607056, -0.8613013029098511, -0.6390953063964844, -0.30180129408836365, 0.02588142827153206, 0.34406206011772156, 0.8368082642555237, -0.8133635520935059, -0.46975138783454895, -0.3468471169471741, -0.3040366768836975, -0.17624370753765106, -0.2507544457912445, 0.5515477657318115, -0.17651361227035522, -0.5747597813606262, 0.7357696294784546, 0.4881400167942047, 0.31831079721450806, -0.3288731276988983, -0.28217437863349915, -0.33431342244148254, -0.11890625953674316, 0.39320704340934753, 0.5135284066200256, -0.6837531328201294, -0.4666469693183899, -0.4195728302001953, -0.0832434892654419, 0.04317865148186684, 0.6422541737556458, -0.37162354588508606, 0.6187578439712524, 0.01419053040444851, 0.19989681243896484, 1.0198814868927002, 0.14889703691005707, 0.5865962505340576, -1.0393238067626953, 0.06682858616113663, 0.21086572110652924, 0.282641738653183, 0.5682135820388794, -0.43382057547569275, 0.5127721428871155, 0.2896788716316223, -0.48529061675071716, -0.7124513387680054, 0.5134121775627136, -1.0389567613601685, 0.10035837441682816, 1.5889194011688232, -0.004171623848378658, -0.32474181056022644, -0.20426803827285767, -0.17030681669712067, 0.4888368844985962, -0.2828916311264038, 0.6455250978469849, 0.43186333775520325, -0.3809964656829834, -0.3783840835094452, -0.19466863572597504, 1.1447747945785522, 0.38535091280937195, -0.759941577911377, 0.4844648540019989, 0.41100013256073, 0.064015693962574, 0.37729310989379883, 0.8178764581680298, 0.02993178181350231, 0.23116421699523926, -0.22296719253063202, 0.5375152230262756, -0.09033464640378952, -0.23998290300369263, -0.5096697807312012, -0.38090386986732483, -0.04053907096385956, -0.13770653307437897 ]
http://arxiv.org/abs/2406.08155v1
http://arxiv.org/pdf/2406.08155v1
Examining Post-Training Quantization for Mixture-of-Experts: A Benchmark
2024-06-12T12:44:48
2024-06-12T12:44:48
Pingzhi Li, Xiaolong Jin, Yu Cheng, Tianlong Chen
cs.LG
cs.LG, cs.AI, cs.CL
Large Language Models~(LLMs) have become foundational in the realm of natural language processing, demonstrating performance improvements as model sizes increase. The Mixture-of-Experts~(MoE) approach offers a promising way to scale LLMs more efficiently by using fewer computational FLOPs through sparse activation. However, it suffers from significant memory overheads, necessitating model compression techniques. Post-training quantization, a popular method for model compression, proves less effective when directly applied to MoE models due to MoE's overlooked inherent sparsity. This paper explores several MoE structure-aware quantization heuristics, ranging from coarse to fine granularity, from MoE block to individual linear weight. Our investigations reveal critical principles: different MoE structures (i.e., blocks, experts, linear layers) require varying numbers of weight bits for effective and efficient quantization. Conclusions are supported by extensive benchmarking across two representative MoE models and six tasks. We further introduce novel enhancements to more accurately identify the most critical weights in MoE quantization that necessitate higher bit allocations, including the linear weight outlier scorer and MoE block scorer. Additionally, subsequent experiments validate our findings in the context of both weight and activation quantization.
[ -0.5770956873893738, -0.7092790007591248, 0.47431543469429016, 0.17685778439044952, -0.2829183340072632, 0.2757592797279358, -0.38774144649505615, -0.2272033542394638, 0.01662340573966503, 0.21736307442188263, -0.17403994500637054, -0.2676200866699219, -0.9296877384185791, 0.02679571323096752, -0.33505067229270935, 0.714053750038147, -0.016644787043333054, -0.06495267897844315, -0.3175366222858429, -0.21860520541667938, -0.5326747894287109, -0.5812406539916992, -0.45463666319847107, -0.11267637461423874, 0.30405929684638977, 0.07824902981519699, 0.7649358510971069, 0.6763052940368652, 0.41014841198921204, 0.2876377999782562, -0.26856765151023865, 0.2435871660709381, -0.4881364107131958, 0.1483134776353836, 0.0734148696064949, -0.6289103031158447, -0.6466435194015503, -0.09674085676670074, 0.6524465084075928, 0.8248519897460938, -0.5133107900619507, -0.1428985595703125, 0.1048106700181961, 0.5390307903289795, -1.00471031665802, -0.03326227888464928, -0.8914775252342224, 0.047843869775533676, -0.2532060742378235, -0.3040456473827362, -0.25236430764198303, -0.1665668785572052, 0.17094728350639343, -0.5053437352180481, 0.1466793417930603, 0.03239921107888222, 0.7789739370346069, 0.5385726690292358, -0.4690028727054596, -0.0024035139940679073, -0.45673760771751404, 1.0398765802383423, -0.8161728978157043, 0.3604886829853058, 0.5121103525161743, 0.18581531941890717, -0.153710275888443, -0.16469042003154755, -0.2808118462562561, 0.06474144756793976, 0.12574143707752228, -0.10550610721111298, -0.1154157966375351, 0.23142163455486298, -0.003015701426193118, 0.7789211869239807, -0.39768725633621216, 0.05456151068210602, -0.14120149612426758, -0.0770091637969017, 0.6277568936347961, -0.05572882294654846, -0.012082981877028942, 0.07364106923341751, -0.41892844438552856, -0.16507573425769806, -0.5895897746086121, -0.0859694555401802, 0.37884223461151123, -0.07436762750148773, 0.11596055328845978, 0.3885459899902344, -0.358474999666214, 0.7393216490745544, 0.13131771981716156, 0.02198212221264839, 0.09485751390457153, -0.22816424071788788, -0.13755644857883453, -0.013336841948330402, 0.8855529427528381, 0.1383315920829773, 0.4816417396068573, -0.33075085282325745, -0.5742039084434509, -0.20714718103408813, 0.2812865078449249, -0.8979941606521606, -0.5725112557411194, 0.24645692110061646, -0.28277528285980225, -0.2534716725349426, -0.06899145990610123, -0.3148818612098694, -0.2538096308708191, -0.3452873229980469, 0.8165519833564758, -0.5919527411460876, -0.49390554428100586, 0.3211449682712555, -0.13963532447814941, -0.09334982931613922, 0.19358469545841217, -0.9750438928604126, 0.3646264970302582, 0.8470632433891296, 0.6284074783325195, 0.07729310542345047, 0.144148051738739, -0.6159631609916687, 0.06078934296965599, -0.44642993807792664, 0.8452311754226685, -0.581251323223114, -0.4902878999710083, -0.28432342410087585, -0.8798490166664124, 0.009476974606513977, -0.8732325434684753, 0.321024090051651, -0.5413409471511841, -0.005811979994177818, -0.29583027958869934, -0.7338832020759583, -0.0936865359544754, 0.30913370847702026, -0.3679817020893097, 1.4042266607284546, 0.32613423466682434, -0.5707827210426331, 0.5662180185317993, -0.2116766721010208, -0.35914885997772217, 0.11674326658248901, -0.45676299929618835, -0.25839918851852417, 0.6970292329788208, 0.3683212995529175, 0.7166715860366821, -0.19833393394947052, 0.5774425268173218, -0.266126811504364, -0.38234564661979675, 0.5822333693504333, -0.529326319694519, 0.46811196208000183, 0.06056402623653412, -0.11186600476503372, 0.06583889573812485, -0.9121001958847046, 0.14540672302246094, -0.15002413094043732, -0.49447140097618103, -0.5133021473884583, 0.095144122838974, -0.22557120025157928, -0.048584502190351486, 0.25408947467803955, -0.09567763656377792, 0.15952368080615997, -0.30927595496177673, 0.580504298210144, 0.8857759833335876, -0.04822712391614914, 0.5329713821411133, -0.17643848061561584, 0.1961810439825058, 0.014198040589690208, -0.008649768307805061, -0.19427579641342163, -0.46452343463897705, -0.8060719966888428, -0.5986442565917969, 0.6531448364257812, 0.316223680973053, -0.773742139339447, 0.8593050241470337, -0.5231570601463318, -0.27660155296325684, -0.667911171913147, 0.3101784288883209, 0.45163026452064514, 0.18906354904174805, 0.3609922528266907, -0.5743719935417175, -0.3483548164367676, -0.9691701531410217, -0.35651928186416626, 0.049061037600040436, -0.2150522619485855, 0.03695502504706383, 0.36658531427383423, 0.13942906260490417, 1.2210432291030884, -0.4092104732990265, 0.12223612517118454, 0.10379666090011597, 0.49401649832725525, -0.02648295648396015, 0.6200357675552368, 0.3415709137916565, -0.6422911882400513, -0.4892900586128235, -0.08024201542139053, -0.5781254172325134, -0.1375659853219986, -0.012220562435686588, -0.26397621631622314, -0.06535651534795761, 0.3861101567745209, -0.5697893500328064, 0.35877135396003723, 0.4851035475730896, 0.12580786645412445, 0.32208558917045593, -0.31571754813194275, 0.026781318709254265, -0.9395360350608826, -0.2944123446941376, 0.09111151844263077, -0.42501020431518555, -0.4521857500076294, 0.3940543830394745, 0.0628470629453659, 0.19765833020210266, -0.14582785964012146, 0.36815372109413147, -0.7416794300079346, -0.1418851613998413, -0.4234432876110077, -0.08912860602140427, -0.07509785890579224, 0.6291983127593994, 0.09769190847873688, 0.8536101579666138, 0.6432989835739136, -0.6060643792152405, 0.08882781118154526, -0.21150483191013336, -0.6425435543060303, 0.6772879362106323, -0.7391817569732666, 0.15453538298606873, -0.042883824557065964, -0.01648404635488987, -0.9801411032676697, -0.1268330216407776, 0.09496784210205078, -0.35709547996520996, 0.5243793725967407, -0.09332100301980972, -0.8768979907035828, 0.01263677328824997, -0.41303011775016785, 0.6794710755348206, 0.8101736903190613, 0.022717177867889404, 0.6932995915412903, 0.30832773447036743, -0.18182644248008728, -0.308758944272995, -0.6167930960655212, 0.11855972558259964, -0.2559407651424408, -0.6536205410957336, 0.39309656620025635, -0.17331743240356445, -0.39297956228256226, 0.015174215659499168, -0.32311955094337463, -0.43683135509490967, 0.37942150235176086, -0.08738040924072266, -0.16497229039669037, -0.36735373735427856, -0.07674731314182281, 0.40706104040145874, -0.22549983859062195, -0.07891158759593964, -0.12471530586481094, 0.592519998550415, -0.09748563170433044, -0.11769947409629822, -0.320773184299469, 0.39504238963127136, 0.1454557329416275, -0.34255340695381165, 0.8134342432022095, 0.7419152855873108, -0.42639681696891785, -0.02375929243862629, -0.8635536432266235, -0.2046246975660324, -0.4652854800224304, 0.41452187299728394, -0.39107587933540344, -0.8080573081970215, 0.35479509830474854, 0.04755422845482826, 0.09515872597694397, 0.20261770486831665, 0.5322275757789612, -0.07999222725629807, 0.8590269088745117, 0.47767373919487, -0.1121651753783226, 0.528751015663147, -0.18601715564727783, 0.23428361117839813, -0.9176540970802307, 0.1980149745941162, -0.32037946581840515, -0.487203449010849, -0.09403734654188156, -0.7612139582633972, 0.5026388168334961, 0.6779926419258118, 0.06795251369476318, 0.320448100566864, -0.32999542355537415, 0.5771827101707458, 0.5615601539611816, 0.23280726373195648, 0.22948139905929565, 0.13262978196144104, 0.3189961016178131, 0.06239477917551994, -0.8959298133850098, -0.23768489062786102, 1.148116946220398, 0.2153000682592392, 0.5177949666976929, -0.023827899247407913, 0.7469667196273804, 0.10340568423271179, 0.342457115650177, -0.8346072435379028, 0.5796020030975342, 0.006223746109753847, -0.5813724994659424, -0.2628149092197418, -0.6249243021011353, -0.7435362935066223, 0.6566022038459778, -0.36248311400413513, -0.5259962677955627, 0.2772753834724426, 0.23724113404750824, -0.7176227569580078, 0.14839941263198853, -0.7748661041259766, 0.5476709008216858, -0.0367950014770031, -0.1381428986787796, -0.4224771559238434, -0.5992766618728638, 0.32027357816696167, -0.1462438404560089, 0.3628064692020416, -0.1276414841413498, -0.29179486632347107, 0.6315822005271912, -0.6503143310546875, 0.6649572849273682, 0.1140715703368187, -0.262504905462265, 0.2746589183807373, 0.0782073587179184, 0.46203872561454773, -0.13778060674667358, -0.04169381037354469, 0.3069790005683899, -0.3449092209339142, -0.6486355066299438, -0.6230881810188293, 0.37517452239990234, -0.791252851486206, -0.5139623880386353, -0.0019319169223308563, -0.7447842359542847, -0.4272805452346802, -0.06967388838529587, 0.3390944302082062, 0.6940151453018188, 0.3835483491420746, 0.5937114953994751, 1.093693494796753, 0.02554008550941944, 0.31784990429878235, 0.29456034302711487, 0.1880435049533844, -0.5885375142097473, 1.0074729919433594, 0.3193986415863037, 0.27469074726104736, 0.643686056137085, 0.24699941277503967, 0.08908998221158981, -0.9423521757125854, -0.35550662875175476, -0.047957826405763626, -0.47829321026802063, -0.26460692286491394, -0.6983600854873657, -0.10066276043653488, -0.37185123562812805, -0.15263909101486206, -0.5725157260894775, -0.3270144462585449, -0.1840948760509491, -0.03532221540808678, 0.26695650815963745, 0.3301483988761902, 0.21005463600158691, 0.7282090187072754, -1.0138577222824097, 0.18149812519550323, 0.3128756284713745, 0.26124706864356995, 0.20500382781028748, -0.4405069053173065, -0.5248789191246033, 0.025856155902147293, -0.24824556708335876, -0.6295015811920166, 0.05527610704302788, 0.30935779213905334, 0.6237631440162659, 0.7894423007965088, -0.07077246159315109, 0.89091557264328, -0.47263407707214355, 0.6779956817626953, 0.021279921755194664, -1.0011906623840332, 0.15262985229492188, -0.33846110105514526, -0.06191140413284302, 0.6297367811203003, 0.3224189281463623, -0.08698587864637375, -0.410667359828949, -0.5927999019622803, -1.112529993057251, 0.41086527705192566, 0.44171038269996643, 0.16095641255378723, 0.06321819871664047, 0.4230051040649414, 0.3046971261501312, 0.6826423406600952, -0.6029216051101685, -0.10396666824817657, 0.21748653054237366, -0.3391362428665161, 0.09509682655334473, -0.5432056784629822, -0.025995535776019096, -0.11410072445869446, 0.40381598472595215, 0.1859269142150879, -0.10678724199533463, -0.10359953343868256, -0.43480217456817627, -0.05656314641237259, 0.24188677966594696, 0.41902095079421997, 0.5751644372940063, -0.29374343156814575, 0.04350268840789795, 0.022540217265486717, -0.13927339017391205, -0.01648174412548542, 0.035762425512075424, -0.07277597486972809, -0.10907858610153198, 0.5311210751533508, 0.8822668194770813, 0.7199774384498596, -0.6428461074829102, 0.6308684945106506, 0.22437754273414612, -0.24624492228031158, 0.12558509409427643, 0.3191794157028198, -0.1752605140209198, 0.21953101456165314, 0.6053522229194641, 0.27236616611480713, 0.27318456768989563, -0.4619811177253723, -0.04913915693759918, 0.4279397428035736, -0.05673585832118988, -0.4270685613155365, 0.5129461288452148, 0.3412308990955353, -0.06995169073343277, 0.3396850824356079, -0.26892998814582825, -0.5187739133834839, 0.361004501581192, -0.06423485279083252, 0.7986518740653992, -0.20814618468284607, -0.18075323104858398, -0.01828954555094242, 0.22706742584705353, -0.3920172452926636, 0.12004653364419937, -0.510061502456665, -0.8109269738197327, -0.6736042499542236, -0.3826901316642761, -0.2555435001850128, -0.238636314868927, -0.8761003017425537, 0.13850805163383484, -0.4809446930885315, -0.2576374411582947, -0.3978685736656189, -0.21564824879169464, -0.5110776424407959, 0.17736385762691498, 0.1912880390882492, 0.7576137781143188, -0.6163544654846191, 0.5837530493736267, 0.5858327746391296, -0.06746484339237213, -0.6692099571228027, 0.0017015165649354458, -0.25989004969596863, -0.8242779970169067, 0.38884687423706055, 0.0640556663274765, 0.2484462559223175, 0.08850787580013275, -0.3338875472545624, -0.7297898530960083, 0.8682703375816345, 0.2624446153640747, -0.7293465733528137, -0.13377869129180908, -0.09685824066400528, 0.38656333088874817, 0.12426222860813141, 0.40381067991256714, 0.5258422493934631, 0.24576902389526367, -0.03391677513718605, -0.8077079057693481, -0.12741632759571075, -0.14699222147464752, 0.2380995750427246, 0.4400097727775574, -0.656990110874176, 1.1878454685211182, 0.28982481360435486, -0.11315331608057022, 0.18107160925865173, 1.009860634803772, 0.416378915309906, 0.07292528450489044, 0.638184666633606, 0.8142277002334595, 0.7264754176139832, -0.02042142115533352, 1.101549506187439, -0.5055550336837769, 0.27109596133232117, 0.8760692477226257, -0.15052299201488495, 1.0197985172271729, 0.46817320585250854, -0.5146008729934692, 0.3416001498699188, 0.7872809171676636, 0.36107704043388367, 0.5525238513946533, 0.34704339504241943, -0.2959519922733307, -0.5050686001777649, 0.11709843575954437, -0.5859361886978149, -0.0005178917781449854, 0.32462459802627563, 0.029031576588749886, -0.13534902036190033, -0.11162438243627548, -0.025362491607666016, -0.041353486478328705, -0.45880183577537537, 0.7844876050949097, 0.17015159130096436, -0.4010908901691437, 0.5437783598899841, 0.03563958406448364, 1.0916236639022827, -0.5629367828369141, 0.2452419400215149, -0.2856622636318207, -0.052507806569337845, -0.06134583801031113, -0.6050591468811035, 0.07731447368860245, -0.06608982384204865, -0.17946934700012207, -0.34782424569129944, 0.3691764771938324, -0.5996307134628296, -0.4645601809024811, -0.22502699494361877, 0.4276033341884613, 0.26580995321273804, -0.7394547462463379, -0.38970693945884705, 0.02621499076485634, -0.2670305371284485, -0.437142014503479, 0.5020067095756531, 0.8617231845855713, -0.08607081323862076, 0.560137152671814, 0.4115156829357147, 0.19320663809776306, 0.3250645399093628, -0.040619634091854095, 0.8349803686141968, -0.40904781222343445, -0.5511638522148132, -0.8984732031822205, 0.66192227602005, 0.08488255739212036, -0.35295915603637695, 0.7142660021781921, 0.5840282440185547, 0.9398939609527588, 0.10354650765657425, 0.5210837721824646, 0.2655651867389679, 0.13654956221580505, -0.7978470921516418, 0.47745630145072937, -0.6776580810546875, 0.20494794845581055, -0.2463551163673401, -1.0393887758255005, -0.1903531551361084, 0.6410179734230042, -0.3061748445034027, 0.2171160876750946, 0.46739527583122253, 0.5507487654685974, 0.0016908146208152175, -0.2419239580631256, 0.32978567481040955, 0.11106010526418686, 0.206434965133667, 0.575806200504303, 0.8968585729598999, -0.49301180243492126, 0.6235321164131165, -0.18496552109718323, -0.1659172922372818, -0.5154567360877991, -0.7606339454650879, -0.8557916283607483, -0.33931365609169006, -0.601548969745636, 0.16786225140094757, -0.18981564044952393, 0.9811367988586426, 1.1094402074813843, -0.6093371510505676, -0.07497314363718033, -0.07782667875289917, 0.007123681250959635, -0.0972377136349678, -0.25215283036231995, 0.14967885613441467, -0.18629850447177887, -0.7992473840713501, 0.3146023750305176, 0.46303591132164, 0.038711242377758026, -0.3078489899635315, -0.05944858863949776, 0.2480803281068802, 0.12492029368877411, 0.6553200483322144, -0.23747149109840393, -0.675441563129425, 0.015427472069859505, -0.29906708002090454, -0.08272382616996765, 0.17539556324481964, 0.9644954800605774, -0.769821047782898, 0.3632078468799591, 0.6023746728897095, 0.8684358596801758, 0.03658674657344818, 0.22550912201404572, 0.6817232370376587, -1.0884990692138672, 0.23388975858688354, 0.21840806305408478, 0.4540192186832428, 0.28908291459083557, -0.3278535008430481, 0.39487987756729126, 0.2967068552970886, -0.34347712993621826, -1.101091742515564, -0.0892823114991188, -0.9246329665184021, -0.34836068749427795, 0.8949466943740845, -0.07474751025438309, -0.14964644610881805, 0.14305560290813446, -0.21597833931446075, 0.014854374341666698, -0.6636129021644592, 0.7174031734466553, 1.0673166513442993, 0.0503048337996006, -0.355448454618454, -0.4091147780418396, 0.20489761233329773, 0.6617650389671326, -0.59586101770401, -0.2342732697725296, 0.22293001413345337, 0.16718420386314392, -0.0336393341422081, 0.6899574398994446, 0.13297387957572937, 0.040577232837677, 0.037338197231292725, 0.09153328090906143, -0.1170823872089386, -0.2482907623052597, -0.27395835518836975, 0.07962954044342041, 0.08216541260480881, -0.10594967752695084 ]
http://arxiv.org/abs/2406.08124v1
http://arxiv.org/pdf/2406.08124v1
Legend: Leveraging Representation Engineering to Annotate Safety Margin for Preference Datasets
2024-06-12T12:06:32
2024-06-12T12:06:32
Duanyu Feng, Bowen Qin, Chen Huang, Youcheng Huang, Zheng Zhang, Wenqiang Lei
cs.CL
cs.CL, cs.AI
The success of the reward model in distinguishing between responses with subtle safety differences depends critically on the high-quality preference dataset, which should capture the fine-grained nuances of harmful and harmless responses. This motivates the need to develop a dataset involving preference margins, which accurately quantify how harmless one response is compared to another. In this paper, we take the first step to propose an effective and cost-efficient framework to promote the margin-enhanced preference dataset development. Our framework, Legend, Leverages representation engineering to annotate preference datasets. It constructs the specific direction within the LLM's embedding space that represents safety. By leveraging this safety direction, Legend can then leverage the semantic distances of paired responses along this direction to annotate margins automatically. We experimentally demonstrate our effectiveness in both reward modeling and harmless alignment for LLMs. Legend also stands out for its efficiency, requiring only the inference time rather than additional training. This efficiency allows for easier implementation and scalability, making Legend particularly valuable for practical applications in aligning LLMs with safe conversations.
[ -0.18618738651275635, -0.14523033797740936, 0.42558443546295166, 0.09269692748785019, -0.29247575998306274, 0.07664504647254944, -0.04986922815442085, -0.35973650217056274, 0.6641678810119629, 0.6666178107261658, -0.16688576340675354, -0.6659953594207764, -0.615557849407196, -0.3161419630050659, 0.1671094000339508, 1.0211364030838013, -0.05061079189181328, -0.22110316157341003, -0.18159861862659454, -0.5044711828231812, -0.7041963338851929, -0.8188456296920776, -0.5611417293548584, -0.09016367793083191, 0.9122390747070312, 0.2975643575191498, 0.7704643607139587, 1.020505666732788, 0.3726373314857483, 0.16014912724494934, 0.12472663819789886, 0.1872224360704422, -0.7038307785987854, 0.10142899304628372, 0.18331079185009003, -0.43415024876594543, -0.752659797668457, 0.2659396231174469, 0.14485087990760803, 0.6546351909637451, 0.25342491269111633, 0.04832988232374191, 0.4087817370891571, 0.7722671627998352, -0.8612316846847534, 0.5607234239578247, -0.2915753424167633, -0.0030280810315161943, -0.021431755274534225, -0.47685930132865906, -0.7519858479499817, -0.7463147640228271, -0.00016931432764977217, -0.855476975440979, -0.355722039937973, 0.10446544736623764, 0.7395148873329163, 0.4036864638328552, -0.5451325178146362, -0.18715406954288483, -0.4156571626663208, 0.8019570112228394, -0.28727447986602783, 0.2576691508293152, 0.3233521580696106, 0.5035374760627747, 0.0721319168806076, -0.46127229928970337, 0.06296729296445847, -0.37124380469322205, -0.4146290421485901, 0.00004502532465266995, -0.021225260570645332, 0.3697754740715027, 0.1056123748421669, -0.25854530930519104, -0.25780943036079407, 0.37672027945518494, -0.14384429156780243, -0.393522709608078, 1.0781563520431519, 0.060135576874017715, 0.10097131878137589, -0.3499327301979065, -0.6395890116691589, -0.49249354004859924, -1.080419898033142, 0.4750306308269501, 0.5132704973220825, 0.4640413224697113, -0.1581483781337738, 0.5303136706352234, -0.09375520795583725, 0.4560120701789856, -0.26333150267601013, -0.2117423266172409, 0.3606537878513336, 0.42045170068740845, -0.09158250689506531, 0.4882794916629791, 0.6442769169807434, 1.2967172861099243, 0.2239832729101181, -0.1311405748128891, -0.3020904064178467, 0.14359278976917267, 0.37550753355026245, -0.5560573935508728, -0.28949683904647827, 0.00801929458975792, -0.6466135382652283, -0.7053066492080688, -0.007468926254659891, -0.7707946300506592, -1.082203984260559, -0.426974356174469, 0.439681738615036, -0.2260666936635971, -0.2756703197956085, 0.0999264195561409, -0.110885389149189, -0.032830413430929184, 0.22898156940937042, -0.7916440367698669, -0.12349098175764084, 0.7504981160163879, 0.5975138545036316, -0.16080538928508759, 0.2390269935131073, -0.7734586596488953, 0.4196687936782837, -0.5312246084213257, 0.8952122926712036, -0.4904516041278839, -0.5057620406150818, 0.0712248757481575, -0.004796319175511599, 0.29202041029930115, -0.3875391483306885, 1.0637027025222778, -0.3812466561794281, -0.5974408984184265, -0.6398236751556396, -0.5997970104217529, -0.4586584270000458, 0.153464674949646, -0.8882867693901062, 0.609228789806366, -0.16511580348014832, -0.7296301126480103, 0.7718101143836975, -0.5910271406173706, -0.07200279831886292, 0.18541951477527618, -0.5169358253479004, -0.3039500415325165, 0.041475776582956314, 0.18671783804893494, 0.5467934608459473, 0.10893561691045761, 0.29236936569213867, -0.7534507513046265, -0.15255317091941833, 0.2494475394487381, -0.3790469169616699, 0.5196004509925842, 0.0718383640050888, -0.227401465177536, 0.291511595249176, -0.4553215801715851, -0.07058370113372803, -0.0108379777520895, -0.025442346930503845, -0.8504016399383545, 0.05379236862063408, 0.08764076977968216, -0.05164894834160805, 0.33968523144721985, -0.3246699869632721, 0.12005652487277985, -0.039088569581508636, 0.030226683244109154, 1.1958991289138794, -0.11809350550174713, 0.6378082633018494, -0.5773680806159973, 0.41477152705192566, -0.32985949516296387, 0.35780972242355347, 0.14337602257728577, -0.2900328040122986, -0.6408091187477112, -0.36027926206588745, 0.464073121547699, 0.46095502376556396, -0.5190926194190979, 0.6337908506393433, -0.3468010127544403, -0.3140946328639984, -0.2865320146083832, -0.11853111535310745, 0.19535884261131287, 0.6215847730636597, 0.25758644938468933, -0.13213081657886505, -0.5812954902648926, -1.3481004238128662, -0.35500597953796387, -0.4273218512535095, -0.10726074129343033, 0.337782084941864, -0.1795227974653244, 0.16021926701068878, 1.212395429611206, -0.5847144722938538, -0.16655233502388, -0.10331738740205765, 0.08953498303890228, -0.07957842946052551, 0.5637706518173218, 0.9252892732620239, -0.9228036999702454, -0.30875280499458313, -0.2118377983570099, -1.015712022781372, -0.1892913579940796, -0.07805384695529938, -0.40213021636009216, 0.24286766350269318, 0.3284156620502472, -0.10975717753171921, 0.6186997890472412, 0.3097788989543915, -0.226871058344841, 0.2402392327785492, 0.038736067712306976, 0.24104097485542297, -0.6655880212783813, 0.1373525857925415, 0.23076823353767395, -0.021418122574687004, -0.663764238357544, -0.20889127254486084, 0.20365354418754578, 0.06419064849615097, -0.39173242449760437, 0.47392013669013977, -0.10751263052225113, 0.12189964205026627, -0.23858389258384705, -0.21321918070316315, -0.13724693655967712, 0.313268780708313, 0.3370167016983032, 0.5462995767593384, 0.29180365800857544, -0.48415765166282654, 0.09151200950145721, 0.028906693682074547, 0.12764804065227509, 0.6354947090148926, -0.47871455550193787, 0.07645285129547119, -0.14109326899051666, 0.2997829020023346, -0.9225550889968872, -0.38360196352005005, 0.48029863834381104, -0.19933131337165833, 0.37629589438438416, -0.6764340996742249, -0.4692593514919281, -0.04605414718389511, -0.6196090579032898, 0.20336443185806274, 0.6717298626899719, -0.5716836452484131, 0.5619363188743591, 0.8653474450111389, -0.33661964535713196, -0.8421114087104797, -0.40625688433647156, 0.03894152492284775, -0.7826525568962097, -0.6174138784408569, 0.06374536454677582, 0.05719448998570442, -0.32628676295280457, -0.26359352469444275, -0.33690863847732544, 0.37165510654449463, 0.10456014424562454, 0.5903435349464417, 0.5036028623580933, 0.06749672442674637, 0.35065820813179016, 0.3296751379966736, -0.8225495219230652, 0.21318599581718445, 0.023288171738386154, 0.2217753827571869, -0.007139179389923811, -0.30056101083755493, -0.012613988481462002, 0.438259094953537, 0.2563084661960602, 0.04791063815355301, 0.35886475443840027, 0.013891740702092648, -0.3952096402645111, -0.012292559258639812, -0.5806493163108826, -0.26630663871765137, -0.5584734678268433, -0.08180218935012817, -0.0735594853758812, -0.6729352474212646, 0.3759402930736542, -0.13173307478427887, 0.42619913816452026, 0.3058900237083435, -0.050163257867097855, -0.12903018295764923, 1.0883632898330688, 0.652398407459259, -0.15216346085071564, 0.14275208115577698, -0.10402535647153854, 0.19475865364074707, -0.3821306824684143, -0.26600608229637146, -0.2146645188331604, -0.5844855904579163, -0.6209297180175781, -0.1924493908882141, 0.791400671005249, 0.19719339907169342, -0.3848014771938324, 0.09230588376522064, -0.7764056921005249, 0.37375709414482117, 0.4255509078502655, 0.21549010276794434, 0.20272621512413025, 0.2802785634994507, 0.08591026067733765, -0.47457194328308105, -0.4145607054233551, -1.2360637187957764, 1.2098968029022217, 0.6255084872245789, 0.9930251836776733, -0.062339745461940765, 0.9356304407119751, 0.2778300940990448, 0.6136245131492615, -0.6922012567520142, 0.6825802326202393, -0.19081135094165802, -0.17885375022888184, -0.19059278070926666, -0.15710532665252686, -0.8057490587234497, -0.1118321418762207, -0.276377409696579, -0.6983532905578613, 0.35263606905937195, 0.36689481139183044, -0.627776563167572, 0.33715060353279114, -0.8179762959480286, 0.755599856376648, -0.4376492202281952, -0.3471274971961975, 0.029341736808419228, -0.8008104562759399, 0.32295331358909607, 0.20830513536930084, 0.0947406142950058, -0.23319925367832184, -0.1930718719959259, 1.0622533559799194, -0.20685231685638428, 1.0242944955825806, -0.44542717933654785, -0.09660378098487854, 0.14926853775978088, 0.20210573077201843, 0.5315637588500977, 0.2886269986629486, -0.10510633885860443, 0.07585751265287399, -0.3029825687408447, -0.26795318722724915, -0.5741347074508667, 0.7790946960449219, -0.5039607882499695, -0.5048494338989258, -0.41608908772468567, -0.6759161949157715, -0.35135939717292786, -0.06692880392074585, 0.06597629189491272, 0.11727274954319, 0.10160117596387863, 0.039217185229063034, 0.8213715553283691, -0.40989670157432556, 0.3871444761753082, 0.28074491024017334, -0.21201924979686737, -0.4678278863430023, 0.9285151362419128, 0.4503636956214905, -0.008748237043619156, 0.16378091275691986, 0.05817180126905441, -0.7168337106704712, -0.30658894777297974, -0.5290578603744507, 0.03622778505086899, -1.069425344467163, -0.35597047209739685, -0.7022745609283447, -0.19648081064224243, -0.09071321785449982, -0.5409199595451355, -0.36155813932418823, -0.5656021237373352, 0.010245050303637981, -0.6957391500473022, 0.8530396223068237, 0.7524374723434448, -0.43966159224510193, 0.04118518531322479, -0.5445629358291626, -0.05526191368699074, 0.4428570866584778, 0.4575363099575043, -0.27365201711654663, 0.051862429827451706, 0.1263897866010666, -0.040251463651657104, -0.28079885244369507, -0.8172277808189392, 0.3386317789554596, -0.5609127283096313, 0.8359082937240601, 0.45411598682403564, 0.7422411441802979, 0.3173600137233734, -0.11962869018316269, 0.7285314798355103, 0.26064157485961914, -0.47376763820648193, 0.42152151465415955, -0.34031251072883606, -0.7636448740959167, 0.657292902469635, 0.48754236102104187, -0.2651599943637848, -0.08914194256067276, -0.648027777671814, -0.906653881072998, 0.3131770193576813, 0.06118421629071236, -0.06144654005765915, 0.29370859265327454, 0.24764660000801086, 0.5562925338745117, 0.12252496182918549, -0.7023782730102539, -0.5233535170555115, -0.25141680240631104, -0.20669713616371155, -0.24579550325870514, -0.3460114300251007, -0.6918337941169739, 0.07281436771154404, 0.38922348618507385, -0.3626057803630829, 0.28154611587524414, -0.29637691378593445, -0.036306481808423996, 0.09619133919477463, 0.21923968195915222, 0.5479206442832947, 0.5259912014007568, -0.3854426443576813, 0.23387174308300018, 0.12482286244630814, -0.20181924104690552, 0.3438282012939453, 0.44549235701560974, -0.09083645790815353, -0.08666367083787918, 0.20339469611644745, 0.6763657927513123, 0.006035763770341873, -0.310534805059433, 0.44825321435928345, 0.0915987640619278, 0.0060707270167768, -0.22302983701229095, 0.07744258642196655, 0.027763303369283676, -0.0022204371634870768, 0.5696024298667908, -0.0021770899184048176, 0.31301528215408325, 0.07096704095602036, 0.3586910665035248, 0.283295601606369, -0.6089920997619629, 0.16224578022956848, 0.6446899771690369, 0.40325862169265747, -0.10833083838224411, 0.07802443206310272, -0.16782024502754211, -0.25454872846603394, 0.710475742816925, -0.12202507257461548, 0.8888294100761414, 0.07878721505403519, 0.3385236859321594, 0.3446834683418274, 0.2602252662181854, 0.11415522545576096, 0.14429226517677307, 0.27570441365242004, -0.2652577757835388, -0.23754407465457916, -0.2934599816799164, -0.29626208543777466, 0.0509088933467865, -0.7472956776618958, 0.3742893934249878, -0.39016222953796387, -0.13913919031620026, -0.19516220688819885, -0.22632931172847748, -0.43120500445365906, 0.06080835685133934, 0.25543883442878723, 0.839263379573822, -1.1274677515029907, 0.34400686621665955, 0.6854245066642761, -0.5697630047798157, -1.090749740600586, -0.09859844297170639, 0.18123413622379303, -0.8321749567985535, 0.7626482844352722, 0.4902907907962799, 0.020471524447202682, -0.3925167918205261, -0.6548449397087097, -0.4497433006763458, 1.1734569072723389, 0.7450418472290039, -0.5953767895698547, 0.1204017624258995, 0.31214505434036255, 0.3374040126800537, -0.49121618270874023, 0.22452083230018616, 0.5201303362846375, 0.5308994054794312, -0.10513772815465927, -0.8082486987113953, 0.3045465052127838, -0.06353115290403366, -0.011341478675603867, 0.10564278811216354, -0.6317152380943298, 0.5028377175331116, -0.008178453892469406, -0.0979437455534935, -0.15867114067077637, 0.568651556968689, 0.8243027329444885, 0.569683313369751, 0.8728498816490173, 0.4377284049987793, 0.6592093110084534, -0.2063976526260376, 0.9990469217300415, -0.30738458037376404, 0.2766582667827606, 0.6850196719169617, -0.1653175801038742, 0.5756373405456543, 0.48491913080215454, 0.1631363481283188, 0.2098054140806198, 0.9408788084983826, 0.4856095016002655, 0.8024011850357056, 0.19227086007595062, -0.32917511463165283, -0.5874269008636475, -0.27806562185287476, -0.6626356840133667, -0.023983055725693703, 0.39127734303474426, -0.4934520423412323, -0.3323115110397339, 0.023416193202137947, 0.051203541457653046, 0.020763447508215904, -0.29244932532310486, 0.669924795627594, 0.22309494018554688, -0.3695531189441681, 0.5234891176223755, -0.36807018518447876, 0.656074047088623, -0.4899638891220093, -0.320660263299942, -0.3437989056110382, -0.04161222651600838, -0.24790699779987335, -1.142552375793457, 0.07424101233482361, -0.23965974152088165, 0.09610423445701599, -0.29768237471580505, 0.7969063520431519, -0.15545785427093506, -0.3427540063858032, 0.34181448817253113, 0.013730459846556187, 0.02564181759953499, 0.19825471937656403, -0.614996075630188, 0.336770236492157, -0.18040557205677032, 0.01989269256591797, 0.33546310663223267, 0.2288602888584137, -0.3765611946582794, 0.6040502190589905, 0.46222537755966187, -0.1475588083267212, -0.12451198697090149, -0.053130459040403366, 0.9659994840621948, -0.36412644386291504, -0.9857057332992554, -0.6519156694412231, 0.9462636709213257, -0.4581572711467743, -0.005067340563982725, 0.4983968436717987, 0.655794084072113, 0.38767287135124207, -0.016978897154331207, 1.0999023914337158, -0.0410490408539772, 0.43241116404533386, -0.6485152244567871, 0.951406717300415, -0.4410194456577301, 0.49754950404167175, -0.34116747975349426, -0.6996330618858337, -0.3758765161037445, 0.7236098647117615, -0.4724367558956146, 0.03804199397563934, 0.3484610617160797, 0.9684600234031677, -0.14738936722278595, 0.0884021520614624, 0.09468474239110947, -0.21905045211315155, 0.5025897026062012, 0.6217593550682068, 0.8486353754997253, -0.11687514930963516, 0.5753140449523926, -0.3525370657444, -0.5186395049095154, -0.33252134919166565, -1.3239262104034424, -0.8299709558486938, -0.42764395475387573, -0.36749836802482605, -0.6013401746749878, 0.22863219678401947, 1.1493163108825684, 0.7829329967498779, -0.6288877129554749, -0.20526796579360962, 0.2255338579416275, -0.06825681775808334, -0.249810129404068, -0.17277805507183075, 0.7427065372467041, -0.24470974504947662, -0.27953198552131653, 0.16320687532424927, 0.39205506443977356, 0.18415264785289764, -0.19439515471458435, -0.4951130747795105, 0.4617568850517273, -0.2204955667257309, 0.4514310956001282, 0.2544846832752228, -0.6925333142280579, -0.7802534103393555, -0.1473139375448227, -0.23478883504867554, 0.16514581441879272, 0.748457133769989, -0.587691068649292, 0.49360454082489014, 0.3063824474811554, 0.8247231245040894, 0.17105667293071747, -0.031000399962067604, 0.7981457710266113, -0.6292316317558289, 0.15218132734298706, 0.20665888488292694, 0.324429988861084, 0.4125080108642578, -0.7112392783164978, 0.8279773592948914, 0.028063906356692314, -0.5355563163757324, -0.8909865617752075, 0.16095592081546783, -1.2443668842315674, 0.1116720512509346, 1.3567790985107422, -0.16461114585399628, 0.05843938887119293, -0.1179104745388031, -0.5193639993667603, 0.14359363913536072, -0.7062162160873413, 0.8502064347267151, 0.44020602107048035, -0.29265451431274414, -0.08077506721019745, -0.6147104501724243, 0.8720524907112122, 0.36748072504997253, -0.7121043801307678, 0.25828465819358826, 0.5164213180541992, 0.2786957919597626, 0.3061332106590271, 0.4070994257926941, 0.041387222707271576, 0.29875504970550537, -0.15354523062705994, 0.1389816850423813, -0.20096611976623535, -0.21776676177978516, -0.34132489562034607, 0.3365694284439087, 0.0563448928296566, -0.47437819838523865 ]
http://arxiv.org/abs/2406.08116v1
http://arxiv.org/pdf/2406.08116v1
Supportiveness-based Knowledge Rewriting for Retrieval-augmented Language Modeling
2024-06-12T11:52:35
2024-06-12T11:52:35
Zile Qiao, Wei Ye, Yong Jiang, Tong Mo, Pengjun Xie, Weiping Li, Fei Huang, Shikun Zhang
cs.CL
cs.CL, cs.AI
Retrieval-augmented language models (RALMs) have recently shown great potential in mitigating the limitations of implicit knowledge in LLMs, such as untimely updating of the latest expertise and unreliable retention of long-tail knowledge. However, since the external knowledge base, as well as the retriever, can not guarantee reliability, potentially leading to the knowledge retrieved not being helpful or even misleading for LLM generation. In this paper, we introduce Supportiveness-based Knowledge Rewriting (SKR), a robust and pluggable knowledge rewriter inherently optimized for LLM generation. Specifically, we introduce the novel concept of "supportiveness"--which represents how effectively a knowledge piece facilitates downstream tasks--by considering the perplexity impact of augmented knowledge on the response text of a white-box LLM. Based on knowledge supportiveness, we first design a training data curation strategy for our rewriter model, effectively identifying and filtering out poor or irrelevant rewrites (e.g., with low supportiveness scores) to improve data efficacy. We then introduce the direct preference optimization (DPO) algorithm to align the generated rewrites to optimal supportiveness, guiding the rewriter model to summarize augmented content that better improves the final response. Comprehensive evaluations across six popular knowledge-intensive tasks and four LLMs have demonstrated the effectiveness and superiority of SKR. With only 7B parameters, SKR has shown better knowledge rewriting capability over GPT-4, the current state-of-the-art general-purpose LLM.
[ -0.17322766780853271, -0.7476341128349304, 0.6381240487098694, 0.06265558302402496, -0.33142802119255066, 0.040457651019096375, -0.1469501256942749, -0.17810742557048798, 0.2698805034160614, 0.7057493925094604, -0.45505306124687195, -0.38872405886650085, -0.40035760402679443, 0.1784585565328598, -0.08435780555009842, 1.2824281454086304, -0.23311138153076172, -0.1088377833366394, -0.7269349694252014, -0.06287341564893723, -0.4679308533668518, -0.40896305441856384, -0.33937397599220276, -0.45499715209007263, 0.9196638464927673, 0.4015657901763916, 0.6774623394012451, 0.5900717973709106, 0.4171485900878906, 0.1978713423013687, 0.004003192763775587, 0.20996510982513428, -0.4581073224544525, 0.7242909669876099, -0.17712147533893585, -0.5397778749465942, -0.7759921550750732, -0.3087322413921356, 0.3474676311016083, 0.4907345175743103, -0.5154421925544739, 0.03478538990020752, 0.2607288658618927, 0.8059691190719604, -0.5710843205451965, -0.10726269334554672, -1.074354648590088, -0.30757614970207214, 0.061651211231946945, -0.00771339749917388, -0.31825369596481323, -0.5535863041877747, 0.20087042450904846, -0.7387276887893677, 0.42127305269241333, 0.26565831899642944, 0.39495787024497986, 0.3706243336200714, -0.32137149572372437, -0.4083240032196045, -0.5157826542854309, 0.8781766295433044, -0.7238484621047974, 0.5317966938018799, 0.6097365021705627, 0.3971691131591797, -0.3828253149986267, -0.5688563585281372, -0.5915012359619141, -0.30570530891418457, 0.0031804402824491262, 0.17229978740215302, -0.05007055774331093, 0.2365456372499466, 0.08629657328128815, 0.5707529187202454, -0.3130442202091217, -0.41119083762168884, -0.2930796146392822, -0.3931916654109955, 0.3982292413711548, -0.02983022853732109, -0.04007295146584511, -0.31828269362449646, -0.41556066274642944, 0.31124579906463623, -0.8356750011444092, -0.22513987123966217, 0.2870364487171173, 0.201351597905159, 0.33481353521347046, 0.7785462737083435, -0.3751150369644165, 0.4148615300655365, 0.049384649842977524, -0.419168621301651, 0.10798770189285278, -0.3996746838092804, -0.3046427369117737, -0.15837666392326355, 0.38810524344444275, 0.321061372756958, 0.18445557355880737, -0.34607988595962524, -0.4351743161678314, 0.11235135048627853, 0.5426638722419739, -0.46134141087532043, -0.021412666887044907, 0.11748819053173065, -0.29807594418525696, -0.35848596692085266, -0.447509765625, -0.43201908469200134, -0.46182093024253845, -0.2769760489463806, 0.27479711174964905, -0.5750879645347595, -0.42210933566093445, 0.047058191150426865, 0.16521480679512024, 0.16340012848377228, 0.3364541530609131, -0.8325522541999817, 0.17947396636009216, 0.7401961088180542, 0.5483304262161255, -0.20534956455230713, 0.0488138310611248, -0.45825645327568054, 0.43239036202430725, 0.06780959665775299, 0.8908335566520691, -0.4928647577762604, -0.3819291591644287, -0.004540977068245411, -0.13696449995040894, -0.02661338821053505, -0.3500126600265503, 0.7227139472961426, -0.8114520311355591, 0.02526702731847763, -0.4355103075504303, -0.6537267565727234, -0.0430457703769207, 0.5887900590896606, -0.7453869581222534, 0.9918950200080872, 0.3122774660587311, -0.944519579410553, 0.6442772746086121, 0.003605666570365429, -0.5170173048973083, -0.10156702995300293, -0.201223686337471, -0.6692792773246765, 0.28451159596443176, 0.01648031920194626, 0.25631242990493774, -0.11299857497215271, 0.49315884709358215, -0.5051605105400085, -0.12620875239372253, -0.13459162414073944, -0.2876966893672943, 0.07216808944940567, 0.14655272662639618, -0.1318259835243225, 0.09816067665815353, -0.7319369316101074, -0.023449676111340523, -0.1812780201435089, -0.5797898173332214, -0.47417205572128296, 0.12543968856334686, -0.2814260721206665, 0.13534338772296906, 0.17589673399925232, -0.595653235912323, 0.447709321975708, -0.4358213543891907, 0.06961122900247574, 0.8385817408561707, -0.014207963831722736, 0.45808491110801697, -0.5383153557777405, 0.9019257426261902, -0.37548068165779114, 0.09250607341527939, 0.06583315879106522, -0.40389856696128845, -0.6524527668952942, -0.11571886390447617, -0.14935210347175598, 0.49404606223106384, -1.0686489343643188, -0.022899115458130836, -0.09803622215986252, -0.33421653509140015, -0.6922444701194763, 0.5593225955963135, 0.7119648456573486, 0.9719868898391724, 0.37753379344940186, 0.12883292138576508, -0.7580909729003906, -1.099303960800171, -0.3299308121204376, -0.35269293189048767, 0.36530789732933044, 0.3035796582698822, 0.17597900331020355, -0.27580317854881287, 0.7514952421188354, -0.3869152069091797, -0.3130527138710022, -0.6466760039329529, -0.3607284128665924, 0.15542618930339813, 0.2430761158466339, 0.09709068387746811, -0.6571258306503296, -0.43490663170814514, -0.07065340131521225, -0.5617449879646301, -0.24349889159202576, 0.16837608814239502, -0.3200986385345459, 0.5022204518318176, 0.16439200937747955, -0.5031526684761047, 0.32860150933265686, 0.36636948585510254, -0.30366194248199463, 0.7040819525718689, -0.34022173285484314, -0.03144097328186035, -1.2384980916976929, 0.016513749957084656, -0.1828661859035492, -0.2446921467781067, -0.45109090209007263, -0.19208937883377075, -0.13879923522472382, 0.35102537274360657, -0.20006756484508514, 0.46720001101493835, -0.45400914549827576, 0.12081804871559143, -0.5474477410316467, 0.16825516521930695, 0.12970316410064697, 0.2680199146270752, 0.035995569080114365, 0.6322280764579773, 0.3130193054676056, -0.3652702271938324, 0.3344627022743225, 0.4392557144165039, -0.059039343148469925, 0.5983474254608154, -0.6559088826179504, 0.15569889545440674, -0.12804822623729706, 0.22089174389839172, -0.8393231630325317, -0.2305039018392563, 0.05780075117945671, -0.3217243254184723, 0.28930750489234924, -0.3223516345024109, -0.4059697985649109, -0.0708271712064743, -0.37421590089797974, 0.21851098537445068, 0.4252050518989563, -0.14660859107971191, 0.9846612215042114, 0.09199365228414536, -0.26627305150032043, -0.8665734529495239, -0.5125564336776733, -0.2435348778963089, -0.19134816527366638, -0.7911378145217896, 0.33099132776260376, 0.02248646505177021, -0.1812109649181366, 0.1213240772485733, -0.4263305068016052, 0.2918446660041809, 0.007014501839876175, 0.20116138458251953, 0.31885257363319397, -0.07538501173257828, 0.041572004556655884, 0.14767765998840332, -0.33339449763298035, 0.0893043652176857, -0.11949127912521362, 0.24754051864147186, 0.1847323626279831, -0.540543258190155, -0.1368437558412552, 0.4048040807247162, 0.4946775436401367, 0.03313510864973068, 0.8054601550102234, 0.4052516520023346, -0.2083151936531067, -0.33182448148727417, -1.0117124319076538, -0.21634948253631592, -0.43459171056747437, 0.21759605407714844, -0.42911893129348755, -1.0570920705795288, 0.5472404360771179, 0.3565558195114136, 0.09083816409111023, 0.3314819931983948, 0.41434407234191895, 0.0496276430785656, 0.9168878197669983, 0.828091561794281, -0.23980620503425598, 0.44591668248176575, 0.11801102012395859, 0.10962661355733871, -0.9403559565544128, -0.4261913299560547, -0.1846921294927597, -0.04425662010908127, -0.37185779213905334, -0.1493186056613922, 0.24304762482643127, 0.16951115429401398, -0.15035435557365417, 0.031086184084415436, -0.4293844997882843, 0.21243152022361755, 0.6029863953590393, 0.23748961091041565, 0.5378402471542358, 0.20939427614212036, -0.2809875011444092, -0.1664147824048996, -0.6769503355026245, -0.6558887958526611, 1.1930195093154907, 0.18047034740447998, 1.0899860858917236, 0.020397109910845757, 0.5487322807312012, 0.29367899894714355, 0.39983630180358887, -0.4875526428222656, 0.4358201324939728, -0.06971267610788345, -0.5621019005775452, 0.13024860620498657, -0.33082854747772217, -0.43725118041038513, -0.046939294785261154, -0.2952689528465271, -0.1970745474100113, -0.13481751084327698, 0.7035814523696899, -0.3391357958316803, 0.25829872488975525, -0.8177603483200073, 0.5299460291862488, -0.2071165293455124, -0.735800564289093, -0.2490009069442749, -0.39714884757995605, 0.3347054719924927, -0.06719420105218887, 0.07320748269557953, 0.05061190575361252, -0.10820144414901733, 0.4578346610069275, -0.48611998558044434, 0.7811185121536255, -0.5098447203636169, -0.21326637268066406, 0.26292383670806885, 0.18049056828022003, 0.7424904704093933, 0.11521408706903458, -0.44947320222854614, -0.6029820442199707, -0.05720057338476181, -0.30088719725608826, -0.8865216374397278, 0.6782864332199097, -0.42291370034217834, -1.0047498941421509, -0.21671894192695618, -0.4438486099243164, -0.2972264587879181, 0.30609428882598877, 0.08195026218891144, 0.33718785643577576, 0.1811026781797409, 0.32825517654418945, 0.7765618562698364, -0.19312416017055511, -0.30254656076431274, 0.5918076634407043, -0.3967960774898529, -0.7011866569519043, 0.9243661165237427, 0.11393643915653229, 0.6384085416793823, 0.1550036072731018, 0.09556616842746735, -0.46613970398902893, -0.8523365259170532, -0.39057695865631104, 0.3418966829776764, -0.7399911284446716, -0.4309772849082947, -0.7280210852622986, -0.0642712339758873, -0.4737851321697235, -0.38498854637145996, -0.0891256332397461, -0.45439332723617554, -0.012610597535967827, -0.3973182141780853, 0.7680420875549316, 0.7991741895675659, 0.2301175743341446, 0.011905054561793804, -0.41918042302131653, 0.39597374200820923, 0.16774198412895203, 0.6718965172767639, 0.03197646886110306, -0.46743494272232056, -0.23547613620758057, -0.15680848062038422, -0.22296129167079926, -0.6042004823684692, 0.17071186006069183, 0.1275978982448578, 0.883347749710083, 0.1477971076965332, 0.3013332784175873, 0.6557161211967468, -0.41887933015823364, 0.5126467943191528, -0.2654755413532257, -0.49322518706321716, 0.7674847841262817, -0.4193699359893799, -0.12517473101615906, 0.8792863488197327, 0.05300049111247063, -0.2973637878894806, -0.6966919302940369, -0.5271553993225098, -1.0410562753677368, 0.3933039605617523, 0.14426195621490479, 0.1455954611301422, -0.20123454928398132, 0.8047503232955933, 0.3351204991340637, 0.4082198441028595, -0.5745779275894165, -0.13378623127937317, -0.3269190490245819, -0.35733726620674133, 0.3518224358558655, -0.7604327201843262, 0.17345894873142242, 0.059642717242240906, 1.0796092748641968, -0.11674360930919647, 0.0724216103553772, 0.4393255114555359, -0.14559052884578705, -0.03928373008966446, 0.42388826608657837, 0.43481844663619995, 0.43852782249450684, -0.2684818506240845, 0.3440694212913513, 0.25055572390556335, -0.5722082853317261, 0.02292085625231266, -0.023702923208475113, -0.30645179748535156, -0.33131760358810425, 0.3634755313396454, 0.43871748447418213, 0.3156680166721344, -0.4414106011390686, 0.34821128845214844, 0.04397525265812874, -0.22210152447223663, -0.28255054354667664, 0.39072108268737793, 0.10051180422306061, 0.14634545147418976, 0.4235466420650482, -0.19493743777275085, -0.04468725249171257, -0.11233244836330414, 0.3817891478538513, 0.7349182367324829, -0.2984912693500519, -0.40323421359062195, 0.7237170934677124, 0.12219545990228653, 0.0028555337339639664, 0.4052383005619049, -0.09406169503927231, -0.6452069282531738, 0.08550950884819031, 0.8114662170410156, 0.6651952266693115, -0.12565134465694427, -0.11529894173145294, 0.2491113543510437, 0.13594381511211395, -0.13742594420909882, 0.6214575171470642, -0.15914829075336456, -0.7720385193824768, -0.4020601809024811, -0.8318225145339966, -0.4092330038547516, -0.050793204456567764, -0.7512652277946472, 0.09380427747964859, -0.3415820598602295, -0.06416058540344238, -0.4135538339614868, 0.25256818532943726, -0.2575458288192749, 0.14848817884922028, -0.3594745099544525, 1.1188188791275024, -0.7101538181304932, 0.9151169657707214, 0.8077621459960938, -0.6212260127067566, -0.8130173683166504, -0.3365112841129303, 0.01811404712498188, -0.8417495489120483, 0.34665030241012573, -0.08914854377508163, -0.3926333785057068, -0.003115003928542137, -0.3594755530357361, -0.773923397064209, 1.3868564367294312, 0.5246685743331909, -0.4471531808376312, -0.14286454021930695, 0.07585582137107849, 0.5819377899169922, -0.3203304708003998, 0.02201957069337368, 0.31585586071014404, 0.3725382089614868, 0.23891735076904297, -0.5728390216827393, 0.2060028463602066, -0.291544109582901, 0.012194451875984669, -0.044496793299913406, -0.5996371507644653, 0.3163222372531891, -0.06367272138595581, -0.007685061078518629, 0.11984811723232269, 0.7508465051651001, 0.6722983121871948, 0.3575037121772766, 0.5191758275032043, 0.5791496634483337, 0.6433358192443848, 0.14186957478523254, 1.1077125072479248, -0.2888462543487549, -0.01412784494459629, 0.9407991766929626, -0.3748056888580322, 0.8042547106742859, 0.7729211449623108, 0.07079129666090012, 0.6247571110725403, 0.04615825042128563, 0.1764695644378662, 0.5426312685012817, 0.06325236707925797, -0.5499102473258972, -0.3168647289276123, -0.2726820111274719, -0.2831437885761261, -0.07896488904953003, 0.02200431004166603, -0.5283545255661011, -0.13834817707538605, 0.030142594128847122, 0.18963423371315002, 0.33719465136528015, -0.192025825381279, 0.9653033018112183, 0.1493803858757019, -0.8878774046897888, 0.4496837854385376, -0.3767540454864502, 0.7720286250114441, -0.6591620445251465, -0.03790036961436272, -0.4573218524456024, 0.39922651648521423, -0.4966272711753845, -0.856207549571991, 0.6854071617126465, 0.21944406628608704, -0.8375330567359924, -0.4409101903438568, 1.230226755142212, -0.43062156438827515, -0.5690177083015442, 0.42090409994125366, 0.5390447974205017, -0.2194446325302124, -0.09249355643987656, -0.4800804555416107, 0.11239142715930939, 0.22931897640228271, -0.5003554821014404, 0.40063995122909546, 0.5376093983650208, -0.15114931762218475, 0.9963432550430298, 0.6788008809089661, 0.3487864136695862, -0.07876042276620865, 0.1871042102575302, 1.2016242742538452, -0.5286393165588379, -0.1094311773777008, -0.8185854554176331, 0.5859020352363586, 0.12792137265205383, 0.09912213683128357, 0.9987824559211731, 0.6116406321525574, 0.5647269487380981, 0.21965764462947845, 1.0617918968200684, -0.003943276591598988, 0.8278207182884216, -0.4117504358291626, 0.8472805023193359, -0.4100516736507416, 0.5050991773605347, -0.396898090839386, -0.8079559803009033, -0.39498451352119446, 0.5295650362968445, -0.45760881900787354, 0.07064589858055115, 0.06788545846939087, 1.008347511291504, 0.0521208718419075, -0.07145322114229202, 0.1956968754529953, -0.022730430588126183, 0.43206164240837097, 0.5355292558670044, 0.7633897662162781, -0.07821418344974518, 0.7806459069252014, -0.1716168373823166, -0.09301251173019409, -0.0951666608452797, -1.0845693349838257, -0.7107548713684082, -0.4195297658443451, -0.1498032510280609, -0.5707301497459412, 0.24798652529716492, 0.7838913798332214, 0.3940744996070862, -0.6552289128303528, 0.2790282368659973, -0.3042828142642975, 0.4801728427410126, 0.057089321315288544, -0.19059297442436218, 0.3350081145763397, -0.4754692316055298, -0.17395362257957458, 0.39467093348503113, -0.03452542424201965, -0.11552895605564117, -0.33555495738983154, -0.2043745368719101, 0.06610475480556488, -0.2143435925245285, 0.4904532730579376, 0.13390026986598969, -0.7407935261726379, -0.4118551015853882, 0.48976871371269226, -0.029088428243994713, -0.1770341992378235, 0.6669446229934692, -0.9422634840011597, 0.5477153062820435, 0.39006850123405457, 0.7691336274147034, 0.06994131952524185, 0.25750887393951416, 0.9200777411460876, -0.6573910713195801, -0.33835482597351074, 0.13458983600139618, 0.3237365484237671, 0.5343360304832458, -0.4302537441253662, 0.281729519367218, 0.38939449191093445, -0.7574087381362915, -0.8617402911186218, 0.3134283125400543, -0.8478787541389465, 0.26771214604377747, 1.428169846534729, -0.1802458018064499, -0.18454407155513763, -0.37998998165130615, -0.4245242476463318, 0.31303757429122925, -0.5128210783004761, 0.7806703448295593, 0.6784647703170776, -0.04452388733625412, -0.18250951170921326, -0.4886898696422577, 0.6544402837753296, 0.371792733669281, -0.3309435248374939, 0.43890872597694397, 0.6164434552192688, 0.589278519153595, -0.13691850006580353, 0.8215813636779785, -0.010665860958397388, 0.08785148710012436, -0.23966766893863678, -0.06611787527799606, -0.5354712605476379, -0.02648990973830223, -0.12141703069210052, 0.09218066930770874, 0.37159037590026855, 0.24856440722942352 ]
http://arxiv.org/abs/2406.08101v2
http://arxiv.org/pdf/2406.08101v2
CoXQL: A Dataset for Parsing Explanation Requests in Conversational XAI Systems
2024-06-12T11:27:10
2024-06-13T03:16:47
Qianli Wang, Tatiana Anikina, Nils Feldhus, Simon Ostermann, Sebastian Möller
cs.CL
cs.CL
Conversational explainable artificial intelligence (ConvXAI) systems based on large language models (LLMs) have garnered significant interest from the research community in natural language processing (NLP) and human-computer interaction (HCI). Such systems can provide answers to user questions about explanations in dialogues, have the potential to enhance users' comprehension and offer more information about the decision-making and generation processes of LLMs. Currently available ConvXAI systems are based on intent recognition rather than free chat, as this has been found to be more precise and reliable in identifying users' intentions. However, the recognition of intents still presents a challenge in the case of ConvXAI, since little training data exist and the domain is highly specific, as there is a broad range of XAI methods to map requests onto. In order to bridge this gap, we present CoXQL, the first dataset for user intent recognition in ConvXAI, covering 31 intents, seven of which require filling multiple slots. Subsequently, we enhance an existing parsing approach by incorporating template validations, and conduct an evaluation of several LLMs on CoXQL using different parsing strategies. We conclude that the improved parsing approach (MP+) surpasses the performance of previous approaches. We also discover that intents with multiple slots remain highly challenging for LLMs.
[ -0.19181452691555023, -0.2869661748409271, 0.7575182914733887, 0.2914394736289978, -0.1320502758026123, 0.010303557850420475, 0.14837764203548431, -0.2782672941684723, 0.046912647783756256, 0.5113620758056641, -0.7032564878463745, -0.5839418172836304, -0.1444704383611679, 0.044765837490558624, -0.28725162148475647, 0.6042124032974243, 0.14220619201660156, 0.17080864310264587, -0.19181779026985168, -0.2973840534687042, -0.6191606521606445, -0.4054746925830841, -1.1454445123672485, -0.37541070580482483, 0.6889020204544067, 0.6967302560806274, 0.9399207234382629, 0.7382066249847412, -0.013997402042150497, 0.19126245379447937, -0.016876593232154846, 0.19383504986763, -0.4887378215789795, -0.08126795291900635, -0.11541740596294403, -0.6102955341339111, -0.1626095473766327, -0.2901681065559387, 0.6059309244155884, 0.8271703124046326, -0.19219744205474854, -0.05818619951605797, -0.021347906440496445, 0.6538375616073608, -0.7470388412475586, 0.24922524392604828, -0.45055314898490906, 0.21916763484477997, -0.010495869442820549, -0.3057563900947571, -0.5499688982963562, -0.33286726474761963, 0.27060335874557495, -0.7244007587432861, -0.14477305114269257, 0.49076929688453674, 0.3339935839176178, 0.01842142641544342, -0.63679039478302, -0.46091726422309875, -0.47782182693481445, 0.9441113471984863, -0.5987876057624817, 0.47449150681495667, 0.24243901669979095, 0.6256601214408875, -0.556896984577179, -0.662998378276825, -0.8408640027046204, -0.07955032587051392, -0.3338083028793335, 0.04750778526067734, -0.35784175992012024, 0.4053254723548889, 0.2536373436450958, 0.20098407566547394, -0.9416041374206543, 0.014106471091508865, -0.2404036819934845, -0.06937487423419952, 0.8025333881378174, 0.4441867470741272, 0.3295866847038269, -0.17376820743083954, -0.3472629189491272, -0.10308565944433212, -0.7206228971481323, 0.7660930752754211, 0.04626031219959259, 0.11478998512029648, -0.044675376266241074, 0.6174405217170715, -0.38055944442749023, 0.7271365523338318, 0.13753001391887665, 0.1201457679271698, 0.015340232290327549, 0.07834813743829727, -0.5059602856636047, 0.42905864119529724, 0.7509765625, 0.3385121524333954, 0.04757244884967804, -0.24664856493473053, 0.136958047747612, -0.15964780747890472, 0.034302983433008194, -0.30312642455101013, 0.03069874458014965, 0.8588247895240784, -0.5878454446792603, -0.20770417153835297, -0.18748368322849274, -0.29458823800086975, -0.7878338694572449, -0.5892103910446167, -0.00154171884059906, -0.35151907801628113, -0.01630021445453167, 0.4790124297142029, -0.19385971128940582, 0.7620956301689148, 0.4414295256137848, -0.7321957945823669, 0.4739094376564026, 0.8349655866622925, 0.46716606616973877, -0.3114907443523407, -0.06239642575383186, -0.8008770942687988, 0.11732346564531326, -0.22337883710861206, 0.6762473583221436, -0.9124130010604858, -0.2822907865047455, 0.2438209056854248, 0.030920494347810745, -0.1563340574502945, -0.5555498003959656, 0.9478491544723511, -0.770897626876831, 0.09561502188444138, -0.38405919075012207, -0.6442116498947144, -0.5670301914215088, 0.3807414770126343, -0.4754082262516022, 0.6504529714584351, 0.06449183076620102, -0.5460766553878784, 0.15301230549812317, -0.7450119853019714, -0.21243439614772797, 0.33042025566101074, -0.36688587069511414, 0.006127558182924986, 0.08523818850517273, 0.18965506553649902, 0.4442639648914337, -0.5844187140464783, 0.45510998368263245, -0.3837813436985016, -0.3527708351612091, 0.5356144905090332, -0.43970322608947754, 0.9652538299560547, 0.37291714549064636, -0.11232531815767288, 0.3798847794532776, -1.0099561214447021, 0.43290382623672485, -0.15358155965805054, -0.3217957317829132, -0.3099568486213684, 0.29746320843696594, -0.03287363797426224, 0.30735763907432556, -0.04533854126930237, -0.44916629791259766, 0.21316099166870117, -0.5069557428359985, 0.38766083121299744, 0.4279863238334656, -0.18992817401885986, 0.1691405028104782, -0.3595306873321533, 0.6434634327888489, 0.25383758544921875, 0.3646712899208069, -0.2992307245731354, -0.3505760729312897, -0.6961816549301147, 0.08882506936788559, -0.1265774518251419, 0.685308575630188, -0.945275068283081, 0.05486650764942169, -0.33216285705566406, -0.31408122181892395, -0.42546334862709045, -0.10830385237932205, 0.5839523077011108, 0.41861841082572937, 0.16862095892429352, 0.08591224253177643, -0.5814756751060486, -1.0083680152893066, -0.2705114781856537, -0.2647583782672882, -0.2737124264240265, 0.8557718992233276, -0.026247574016451836, -0.14232394099235535, 1.1092482805252075, -0.3336494565010071, 0.07128876447677612, -0.6051978468894958, -0.0041258991695940495, 0.35167396068573, 0.2451045960187912, 0.5002966523170471, -1.0437871217727661, -0.4816199839115143, 0.1565942019224167, -0.6986370086669922, -0.14088107645511627, -0.22424915432929993, -0.07177575677633286, -0.12270732969045639, 0.4670058786869049, -0.4190002977848053, 0.33722981810569763, 0.44250601530075073, -0.38444334268569946, 0.42206865549087524, 0.014626995660364628, 0.16576190292835236, -0.8238925337791443, 0.012087799608707428, -0.015450282022356987, -0.44519689679145813, -0.8276993036270142, -0.3025801479816437, -0.052936453372240067, -0.15253442525863647, -0.8721808791160583, 0.5527688264846802, -0.26595187187194824, 0.11092407256364822, -0.23457354307174683, 0.20317701995372772, 0.03026946634054184, 0.6524688601493835, 0.2241130769252777, 0.5297853946685791, 0.7025986909866333, -0.6418917179107666, 0.4885154664516449, 0.3832412660121918, -0.05808238685131073, 0.11255010962486267, -0.9649766087532043, 0.1551397144794464, -0.2593831419944763, 0.1504124253988266, -1.3888139724731445, -0.3923434019088745, 0.5851565003395081, -0.3794441223144531, -0.2134341299533844, -0.3729928135871887, -0.02728784643113613, -0.07834125310182571, -0.31177642941474915, 0.723812460899353, 0.3162252902984619, -0.8038491010665894, 0.6888049840927124, 0.3389335572719574, 0.010156786069273949, -0.6115623712539673, -0.29176512360572815, 0.16270692646503448, -0.326437383890152, -0.9302338361740112, 0.20623381435871124, 0.02205866016447544, -0.3050878643989563, -0.4497065246105194, 0.24587216973304749, -0.2738947868347168, -0.11501427739858627, 0.32661762833595276, -0.05418117344379425, -0.4040353298187256, 0.11829964816570282, 0.2692639231681824, -0.09800248593091965, 0.2593027353286743, -0.4475807249546051, 0.5729281902313232, -0.09774062037467957, -0.17377649247646332, -0.8801444172859192, 0.6452511548995972, 0.7271021008491516, -0.0217891838401556, 0.6492933034896851, 0.0422423779964447, -0.18404266238212585, 0.03508131206035614, -0.37021660804748535, 0.3337860703468323, -0.4502221941947937, -0.21399489045143127, -0.3790757954120636, -0.7953380346298218, 0.5512540340423584, -0.27794817090034485, 0.050312984734773636, 0.17850372195243835, 0.13618558645248413, 0.07488327473402023, 1.5506848096847534, 0.4327271282672882, -0.04340558126568794, 0.15770894289016724, 0.0023026217240840197, 0.15509648621082306, -0.8499360084533691, -0.18874578177928925, -0.47921958565711975, -0.3024507462978363, -0.5351473689079285, -0.005940787494182587, 0.34021976590156555, -0.2695130705833435, 0.04773518443107605, 0.044416505843400955, -0.2189592570066452, 0.4972866177558899, 0.5325531363487244, -0.04900035262107849, 0.2707132399082184, -0.11134292185306549, 0.17345166206359863, 0.19872750341892242, -0.7633476853370667, -0.5172911882400513, 0.7516307830810547, 0.14333711564540863, 0.8578771948814392, 0.3113052546977997, 0.22693395614624023, 0.4528934359550476, -0.1213742271065712, -0.7860356569290161, 0.5442836880683899, -0.029596928507089615, -0.23969967663288116, -0.2455885410308838, -0.3043869435787201, -1.317453145980835, 0.33345887064933777, -0.2203289270401001, -0.9350045323371887, 0.4935891926288605, 0.5158475637435913, -0.652976393699646, -0.20414933562278748, -0.8915328979492188, 0.897790789604187, -0.21931742131710052, -0.3364316523075104, -0.045716412365436554, -0.9050145149230957, 0.4490196704864502, 0.34506380558013916, 0.07029660046100616, 0.041141558438539505, 0.3010651171207428, 0.5031227469444275, -0.34638282656669617, 0.7577894926071167, -0.29638031125068665, 0.0473104864358902, 0.3970760405063629, -0.16167844831943512, 0.45211607217788696, 0.4336887001991272, -0.19836649298667908, -0.1986483931541443, 0.33236467838287354, -0.33530592918395996, -0.8418763279914856, 0.4996660053730011, -0.6437718868255615, -0.6120703816413879, -0.38486340641975403, -0.5116474032402039, -0.06400185078382492, 0.11140909790992737, -0.0326797291636467, 0.5941892862319946, -0.0484425351023674, 0.26421791315078735, 0.8202437162399292, -0.37888962030410767, 0.06595908105373383, 0.40937182307243347, -0.41991937160491943, 0.09259945154190063, 0.7598575353622437, -0.3051069974899292, -0.048822466284036636, 0.5236427187919617, 0.33135735988616943, -0.4339291751384735, -0.6686933636665344, -0.3390638530254364, 0.06554971635341644, -0.5292617678642273, 0.028318636119365692, -0.7005656361579895, -0.13733910024166107, -0.5416844487190247, -0.17603573203086853, 0.04750213399529457, -0.5199239253997803, -0.17189927399158478, 0.3460236191749573, -0.06923288851976395, 0.420999139547348, 0.44139254093170166, 0.7733093500137329, -0.9137812852859497, 0.3691912293434143, 0.16990146040916443, 0.1387283056974411, -0.10903401672840118, -0.2771659195423126, 0.08791092038154602, 0.33586037158966064, -0.19757398962974548, -0.7201142311096191, 0.4596113860607147, 0.2525436580181122, 0.5441893935203552, 0.8129207491874695, 0.30209290981292725, 0.583223819732666, -0.26128724217414856, 0.768245279788971, 0.0719609260559082, -0.8410583734512329, 0.7031422257423401, -0.30735012888908386, 0.3250354826450348, 0.3915832042694092, 0.49521201848983765, -1.0132222175598145, 0.06687450408935547, -0.49914854764938354, -0.6761359572410583, 1.048493504524231, 0.2875920236110687, -0.055547527968883514, -0.04535754397511482, 0.8792127370834351, 0.21048973500728607, 0.037338126450777054, -0.5457697510719299, -0.2781560719013214, 0.10833895951509476, -0.43607816100120544, 0.18595218658447266, -0.4663247764110565, 0.10604742914438248, -0.11884664744138718, 0.6679994463920593, -0.3236609101295471, 0.02480659820139408, 0.28108182549476624, -0.20958122611045837, 0.2791673541069031, 0.48368027806282043, 0.5040608048439026, 0.6767455339431763, 0.08433105796575546, 0.10394976288080215, 0.07718721777200699, -0.32034537196159363, 0.07687412947416306, -0.02037476748228073, 0.009335256181657314, -0.15389376878738403, 0.11226322501897812, 0.7948459386825562, -0.051112543791532516, -1.1848242282867432, 0.5849525928497314, -0.7516474723815918, 0.09807655215263367, -0.7301358580589294, 0.5939788222312927, -0.28481170535087585, 0.3958180844783783, 0.09351755678653717, -0.3059985339641571, 0.6542937755584717, -0.5166060924530029, -0.1612696349620819, 0.4240211248397827, -0.7317066192626953, -0.2497653067111969, 0.37880560755729675, 0.03214753419160843, -0.42415133118629456, 0.7437303066253662, -0.32156744599342346, -0.15228793025016785, 0.43401581048965454, 0.47469964623451233, 0.6671124696731567, -0.22290752828121185, 0.2701597511768341, 0.1436333805322647, -0.17062059044837952, 0.20269618928432465, 0.5243245363235474, -0.22288045287132263, -0.8024001121520996, -0.19817203283309937, -0.3406519591808319, -0.5851074457168579, 0.3092019557952881, -0.7001860737800598, 0.4031585454940796, -0.2907885015010834, 0.28618645668029785, 0.3987458050251007, -0.3294891119003296, -0.5302596688270569, 0.23019571602344513, 0.0506514236330986, 0.9836868643760681, -0.6226667165756226, 0.6904086470603943, 0.7721989154815674, 0.060178693383932114, -0.7777428030967712, -0.37612423300743103, 0.12466520816087723, -0.8059396743774414, 0.39975109696388245, 0.11856114864349365, -0.2933085262775421, -0.09135183691978455, -0.8936294913291931, -0.6654691100120544, 0.9537057876586914, 0.2903715670108795, -0.5495411157608032, 0.10145153105258942, 0.5796153545379639, 0.3155161738395691, -0.6441124677658081, 0.28844988346099854, 0.8432504534721375, 0.3424782156944275, 0.4131258428096771, -0.4020515978336334, 0.021083379164338112, -0.33731722831726074, 0.012406864203512669, -0.001120918896049261, -0.48511025309562683, 0.3496689796447754, -0.06618931144475937, -0.3588835895061493, -0.06420038640499115, 0.6296466588973999, 0.3026968836784363, 0.7350329160690308, 0.6976903080940247, 0.03262624517083168, 0.8049038648605347, 0.0009309655288234353, 1.1873804330825806, -0.016235867515206337, -0.12352342903614044, 1.1614807844161987, -0.42405134439468384, 0.5917649269104004, 0.4754205644130707, -0.019794853404164314, 0.3141076862812042, 0.6489848494529724, 0.38712096214294434, 0.2598128020763397, 0.3103363811969757, -0.45940032601356506, -0.4258328080177307, -0.30340269207954407, 0.10776364058256149, 0.5822405219078064, 0.684689998626709, -0.31449899077415466, -0.22535766661167145, 0.25629737973213196, -0.03850068151950836, -0.21153317391872406, -0.34064093232154846, 0.9413768649101257, -0.1494344025850296, -0.9812196493148804, 0.5862131714820862, -0.07374227046966553, 0.101725734770298, -0.5919156670570374, -0.26222190260887146, -0.08375715464353561, 0.30854153633117676, -0.3410834074020386, -0.8555478453636169, 0.2911140024662018, -0.2097388058900833, -0.24240168929100037, 0.07063749432563782, 0.6791468262672424, -0.36583220958709717, -0.26364368200302124, 0.09785999357700348, 0.15915578603744507, 0.5562752485275269, -0.26141756772994995, -0.6468081474304199, 0.16808070242404938, 0.243186816573143, 0.007589175831526518, 0.03685512766242027, 0.3739362061023712, -0.43372800946235657, 0.9242824912071228, 0.549824595451355, -0.4884486794471741, 0.15616291761398315, 0.2283552587032318, 0.8582407832145691, -0.6644056439399719, -0.5188255310058594, -0.6560627818107605, 0.5869500041007996, -0.08480361104011536, -0.33918583393096924, 0.42128223180770874, 0.7551208734512329, 0.4807344675064087, 0.21763457357883453, 1.0034531354904175, 0.025157099589705467, 0.4875001311302185, -0.7296742796897888, 0.3837292492389679, -0.514496386051178, 0.4525952637195587, 0.1523059755563736, -0.5863469243049622, -0.4400508403778076, 0.29548269510269165, -0.18655741214752197, -0.13991525769233704, 0.4997728765010834, 0.7051810026168823, -0.2581656277179718, 0.4437791109085083, 0.4548981487751007, 0.24370045959949493, 0.7203463912010193, 0.7732707262039185, 1.0319184064865112, -0.3671434223651886, 0.7559034824371338, 0.04631175473332405, -0.45135846734046936, -0.24828146398067474, -0.7100796103477478, -0.6620665192604065, -0.5888528227806091, -0.2841414511203766, 0.022687777876853943, 0.14581744372844696, 1.0133342742919922, 0.5987246632575989, -0.8432445526123047, -0.30359408259391785, -0.21156512200832367, 0.31878817081451416, -0.32385751605033875, -0.1915716826915741, 0.4247109889984131, -0.4668111503124237, -0.5087546110153198, 0.5456209778785706, 0.4148298501968384, -0.16906525194644928, 0.05848133936524391, -0.10925102978944778, -0.16557186841964722, 0.27088460326194763, 0.773309588432312, 0.5851836800575256, -0.7931594848632812, -0.4117988049983978, 0.1784907579421997, 0.17474909126758575, 0.40699443221092224, 0.9870067834854126, -0.9512879848480225, 0.3962666094303131, 0.5387040376663208, 0.555084228515625, 0.29479265213012695, 0.03494958207011223, 0.5497702360153198, -0.5414018630981445, -0.10022170096635818, 0.1551356017589569, 0.39973869919776917, 0.06358468532562256, -0.5856448411941528, 0.2119123339653015, -0.39594322443008423, -0.5886462926864624, -0.4316590130329132, 0.226920485496521, -1.5519180297851562, -0.03386871889233589, 1.0851112604141235, -0.1736377477645874, -0.5178927183151245, -0.7417756915092468, -0.8863810896873474, -0.07704583555459976, -0.5077232122421265, 0.7014935612678528, 0.48283299803733826, -0.6958910226821899, -0.44382473826408386, -0.3285607695579529, 0.5323445200920105, 0.25500035285949707, -0.8468132019042969, 0.44054949283599854, 0.5381807684898376, -0.05050179734826088, 0.11793849617242813, 0.562435507774353, -0.09642264991998672, 0.5668772459030151, -0.45073631405830383, -0.14388883113861084, 0.2747536599636078, -0.10406868159770966, -0.39389631152153015, 0.31238430738449097, 0.045533761382102966, -0.18942835927009583 ]
http://arxiv.org/abs/2406.08100v1
http://arxiv.org/pdf/2406.08100v1
Multimodal Table Understanding
2024-06-12T11:27:03
2024-06-12T11:27:03
Mingyu Zheng, Xinwei Feng, Qingyi Si, Qiaoqiao She, Zheng Lin, Wenbin Jiang, Weiping Wang
cs.CL
cs.CL, cs.AI
Although great progress has been made by previous table understanding methods including recent approaches based on large language models (LLMs), they rely heavily on the premise that given tables must be converted into a certain text sequence (such as Markdown or HTML) to serve as model input. However, it is difficult to access such high-quality textual table representations in some real-world scenarios, and table images are much more accessible. Therefore, how to directly understand tables using intuitive visual information is a crucial and urgent challenge for developing more practical applications. In this paper, we propose a new problem, multimodal table understanding, where the model needs to generate correct responses to various table-related requests based on the given table image. To facilitate both the model training and evaluation, we construct a large-scale dataset named MMTab, which covers a wide spectrum of table images, instructions and tasks. On this basis, we develop Table-LLaVA, a generalist tabular multimodal large language model (MLLM), which significantly outperforms recent open-source MLLM baselines on 23 benchmarks under held-in and held-out settings. The code and data is available at this https://github.com/SpursGoZmy/Table-LLaVA
[ -0.27850642800331116, -1.073789119720459, 0.8076316118240356, 0.14288130402565002, -0.36138784885406494, -0.19016475975513458, -0.1188933402299881, -0.44764354825019836, 0.047645453363657, 0.536037802696228, -0.6177716255187988, -0.5640956163406372, -0.5149123668670654, 0.01921115815639496, -0.4435177743434906, 0.7571285963058472, -0.1705782413482666, 0.22045733034610748, -0.48147550225257874, -0.19687996804714203, -0.6897947788238525, -0.19670435786247253, -0.043600983917713165, -0.3055935800075531, 0.9505308866500854, 0.7108732461929321, 0.5503710508346558, 0.5713421702384949, 0.5928213000297546, 0.2852035164833069, 0.31012770533561707, 0.28995901346206665, -0.2790581285953522, 0.1997944861650467, 0.12645670771598816, -0.5707721710205078, -0.5910134315490723, -0.3219018578529358, 0.40170809626579285, 0.3538273572921753, -0.20062118768692017, 0.4888693392276764, -0.09874098747968674, 0.6905207633972168, -0.29377350211143494, 0.8170197606086731, -0.8749180436134338, 0.25628718733787537, -0.37717264890670776, -0.15310731530189514, -0.8998381495475769, -0.15517102181911469, -0.14184992015361786, -0.7454448342323303, -0.2278650403022766, 0.3588073253631592, 0.6884250640869141, 0.024549050256609917, -0.9844473004341125, -0.27656522393226624, -0.5947146415710449, 0.4277055263519287, -0.3271283507347107, 0.8673458695411682, 0.5154822468757629, 0.8361957669258118, -0.2861250936985016, -0.6977186799049377, -1.065532922744751, -0.586082935333252, -0.12385335564613342, -0.0725259929895401, -0.004725422244518995, -0.2148929089307785, 0.18133413791656494, 0.07617496699094772, -0.7719348669052124, 0.020841296762228012, 0.025416331365704536, -0.023952582851052284, 0.09383384883403778, 0.38163989782333374, 0.4443168044090271, -0.2587793171405792, -0.4504769742488861, -0.1450943946838379, -0.5465481877326965, 0.10209567099809647, -0.13662371039390564, 0.26022303104400635, -0.30168822407722473, 0.7811605334281921, 0.017789006233215332, 1.0292317867279053, -0.31982406973838806, -0.38543015718460083, 0.24625732004642487, -0.26358628273010254, -0.3621983826160431, -0.4569013714790344, 0.4506962299346924, 0.5157765746116638, 0.22889046370983124, -0.14042183756828308, -0.13837245106697083, 0.24282261729240417, 0.16916155815124512, -0.5473580360412598, -0.061250317841768265, 0.10127884894609451, -0.33343711495399475, -0.10249773412942886, -0.2469029426574707, -0.9216786026954651, -0.5590560436248779, -0.7013950943946838, 0.5777347683906555, -0.24944211542606354, -0.13130123913288116, -0.37235718965530396, 0.1655639410018921, 0.46827182173728943, 0.7157699465751648, -0.86281818151474, -0.10000734031200409, 0.27861395478248596, 0.6340169310569763, -0.00875985436141491, -0.16517682373523712, -0.6483731865882874, 0.5606377720832825, -0.256782203912735, 0.8948333859443665, -0.6996010541915894, -0.1493872106075287, -0.07801578938961029, 0.014244254678487778, -0.06067546457052231, -0.2563423812389374, 0.2957559823989868, -0.5733491778373718, -0.04633322358131409, -0.26506221294403076, -0.06523693352937698, -0.3218567967414856, 0.5851824283599854, -0.908035397529602, 0.45187485218048096, -0.21148687601089478, -0.5253888368606567, 0.7063881158828735, -0.731685221195221, -0.28114017844200134, -0.1225653812289238, -0.2914063036441803, -0.44811195135116577, 0.07013095170259476, 0.5988883376121521, 0.6097975969314575, -0.39823442697525024, 0.4040222764015198, -0.489256888628006, 0.10386683791875839, 0.48664286732673645, -0.40225398540496826, 0.16009226441383362, 0.2947344481945038, 0.1222950667142868, 0.4456850588321686, -0.8150929808616638, -0.05050893500447273, 0.28189584612846375, -0.5981481671333313, -0.032965242862701416, -0.057569365948438644, 0.3236333429813385, 0.3311578035354614, -0.049906279891729355, -0.25844502449035645, 0.26334378123283386, 0.2517184019088745, 0.5147002935409546, 0.7127116918563843, -0.24895092844963074, 0.3921455144882202, -0.13084776699543, 0.2088049203157425, 0.17109403014183044, 0.16320817172527313, -0.3025863468647003, -0.3157613277435303, -0.6808018088340759, -0.357211172580719, 0.34329670667648315, 0.5622931122779846, -1.2280410528182983, -0.2667665183544159, -0.3935364782810211, -0.2916375994682312, -0.2738299071788788, 0.2794627249240875, 0.3180338144302368, 0.8049064874649048, 0.5064302086830139, -0.1609676331281662, -0.47867265343666077, -1.068198800086975, -0.119923435151577, 0.06052530184388161, -0.001083958544768393, 0.5859224796295166, 0.6300665736198425, -0.32606786489486694, 0.5995376706123352, -0.2562517821788788, -0.47677889466285706, -0.5085198879241943, 0.12258751690387726, 0.21887242794036865, 0.3908124268054962, 0.28744804859161377, -0.7714526653289795, -0.49360963702201843, 0.44817620515823364, -0.8338795900344849, 0.2534353733062744, -0.2312793731689453, -0.21886275708675385, 0.16556859016418457, 0.31463783979415894, -0.6597501039505005, 0.19679446518421173, 0.4416484236717224, -0.269025593996048, 0.3345158100128174, -0.14117008447647095, 0.16530771553516388, -0.956447184085846, 0.21364927291870117, 0.13271202147006989, -0.379202663898468, -0.7610543966293335, 0.22196562588214874, 0.5174465179443359, -0.27636685967445374, -0.5212194919586182, 0.44078412652015686, -0.7891600728034973, -0.31163015961647034, 0.2601858675479889, 0.06508301943540573, 0.05120139196515083, 0.7814300656318665, -0.16838331520557404, 0.6261823177337646, 0.15121111273765564, -0.30925536155700684, 0.36586758494377136, 0.41447311639785767, -0.5222671031951904, 0.6446366310119629, -0.3656351864337921, 0.09655430912971497, -0.3996674716472626, 0.3012542724609375, -1.1423834562301636, -0.5700082778930664, 0.354811429977417, -0.18125024437904358, 0.6042803525924683, -0.22452498972415924, -0.4603649377822876, -0.3733564019203186, -0.1770818531513214, 0.09259552508592606, 0.09448393434286118, -0.4864388108253479, 1.1688820123672485, 0.5373534560203552, -0.020708471536636353, -1.0052434206008911, -0.7642802000045776, 0.21032162010669708, -0.10561610758304596, -0.7005611658096313, 0.1558978259563446, -0.004916854668408632, -0.3517177999019623, -0.31297576427459717, -0.20286451280117035, -0.1630898416042328, -0.1390865594148636, 0.35473963618278503, 0.14743652939796448, -0.10025566816329956, 0.33829325437545776, -0.07186417281627655, 0.07243626564741135, -0.01821582205593586, 0.19026823341846466, 0.7945893406867981, -0.22579734027385712, -0.3337644636631012, -0.6194987297058105, 0.1288032829761505, 0.7893722057342529, -0.36836427450180054, 0.5651187896728516, 0.7168883085250854, -0.14684270322322845, -0.042434144765138626, -0.5348720550537109, -0.0015152754494920373, -0.3979758620262146, 0.6235222816467285, -0.6392515301704407, -0.4464578628540039, 0.7075672149658203, 0.18585337698459625, 0.145594522356987, 0.18980053067207336, 0.6969836950302124, -0.4823282063007355, 0.8389680981636047, 0.5808014273643494, 0.24272893369197845, 0.3569128215312958, -0.05001922324299812, -0.30839356780052185, -0.4696830213069916, -0.6879927515983582, -0.5782551765441895, -0.47614166140556335, -0.2766605615615845, -0.49990594387054443, 0.4563548266887665, -0.5490551590919495, 0.06535331904888153, 0.17506806552410126, 0.09540273994207382, 0.5703645944595337, 0.3805001676082611, 0.6002037525177002, 0.4969388544559479, 0.23532406985759735, -0.15188360214233398, -0.018791014328598976, -0.47931140661239624, -0.38853728771209717, 0.849777102470398, 0.42207440733909607, 1.1379038095474243, 0.22695626318454742, 0.29384008049964905, 0.305634081363678, 0.5212459564208984, -0.6428882479667664, 0.6393924355506897, -0.07366960495710373, -0.6110281944274902, -0.28756430745124817, -0.5235570669174194, -0.9489604830741882, 0.6613829135894775, -0.585702121257782, -0.4430360794067383, -0.01994030922651291, 0.39148563146591187, 0.1762048900127411, 0.1694115251302719, -0.9783671498298645, 1.1663672924041748, -0.4077419638633728, -0.5427617430686951, -0.09788045287132263, -0.6391555666923523, 0.6901124119758606, 0.033021315932273865, 0.567646324634552, -0.22655221819877625, -0.013120567426085472, 0.48257941007614136, -0.1020246148109436, 0.7332165837287903, -0.30459117889404297, -0.19732904434204102, -0.05835868418216705, 0.36788856983184814, 0.3825157880783081, 0.14009171724319458, 0.17050877213478088, -0.23871253430843353, -0.17072199285030365, -0.26489701867103577, -0.6325540542602539, 0.5628790259361267, -0.5465614199638367, -0.4543839693069458, -0.04732738435268402, -0.9478669762611389, -0.3162676990032196, 0.010937575250864029, -0.3381480872631073, 0.6450852155685425, 0.0640534907579422, 0.31127747893333435, 0.4272564649581909, -0.39279884099960327, 0.4316178858280182, 0.40574270486831665, -0.5326719284057617, -0.3329509496688843, 0.8497307896614075, 0.16300523281097412, -0.11609099060297012, 0.6560295820236206, -0.12309105694293976, -0.5753037333488464, -0.4346594214439392, -0.880933403968811, 0.07731951773166656, -0.8300639986991882, -0.2963452935218811, -0.5758489966392517, 0.4876652657985687, 0.09426362812519073, 0.14841103553771973, 0.22759033739566803, -0.36229467391967773, -0.13319221138954163, -0.1561238318681717, 0.3724574148654938, 0.6908000111579895, 0.31527647376060486, 0.31219014525413513, -0.8055421113967896, 0.5483968257904053, 0.6727610230445862, 0.3527151048183441, 0.18001751601696014, -0.41249534487724304, 0.061019379645586014, -0.10081406682729721, -0.11335423588752747, -1.3015027046203613, 0.5773984789848328, 0.36015692353248596, 0.83039391040802, 0.16609656810760498, -0.3985404074192047, 0.7744361758232117, -0.7224433422088623, 0.45989489555358887, 0.30556151270866394, -0.9213845133781433, 0.40907201170921326, -0.39698314666748047, 0.44429999589920044, 0.42513614892959595, 0.3346649408340454, -0.4270994961261749, -0.0067492579109966755, 0.1465967446565628, -0.8913585543632507, 0.5023671388626099, -0.16514790058135986, 0.1535806506872177, 0.22832444310188293, -0.017035193741321564, 0.4946845769882202, 0.3428025245666504, -1.5064154863357544, 0.18343569338321686, -0.1245526671409607, -0.24874547123908997, -0.005690968595445156, -0.3394900858402252, -0.06333167850971222, -0.12248095870018005, 0.27833816409111023, -0.1789184957742691, 0.3018820285797119, -0.24976471066474915, -1.0485975742340088, 0.03549611568450928, 0.5552040934562683, 0.9560486674308777, 0.9300403594970703, -0.19878347218036652, 0.4790800213813782, 0.2477537989616394, -0.43093085289001465, 0.18353700637817383, -0.0977460965514183, 0.2973208427429199, -0.10374770313501358, 0.2653864622116089, 0.7123151421546936, 0.09938836097717285, -0.6540348529815674, 0.2648713290691376, -0.2834538221359253, -0.11789707839488983, 0.013514488935470581, -0.2762720286846161, 0.16643297672271729, 0.322367399930954, 0.35280194878578186, -0.30211398005485535, 0.060525082051754, -0.80258709192276, 0.38136398792266846, 0.6068886518478394, -0.1448211371898651, -0.1582786738872528, 0.7330831289291382, 0.248183012008667, -0.14034411311149597, 0.6431050896644592, 0.15728315711021423, -0.09986259788274765, 0.5437528491020203, 0.5570715069770813, 0.20306682586669922, 0.013135815970599651, 0.31212007999420166, 0.204220712184906, 0.3965480327606201, 0.3736804723739624, 0.6103905439376831, -0.22099368274211884, -0.39696159958839417, -0.5532864332199097, -0.6872178316116333, -0.3578161597251892, 0.08710917085409164, -0.45862019062042236, 0.059671130031347275, -0.3446716070175171, -0.2601923942565918, 0.27602481842041016, -0.50431889295578, -0.786140501499176, -0.004180006217211485, 0.17471227049827576, 0.6939959526062012, -0.7761325836181641, 0.860727846622467, 0.49293676018714905, -0.5766943097114563, -0.6252617835998535, -0.42842549085617065, -0.047419048845767975, -1.1381796598434448, 0.9249489903450012, 0.2208654284477234, 0.2719057500362396, -0.31145259737968445, -0.6115816831588745, -0.6171690821647644, 1.0015710592269897, 0.5250263810157776, -0.747654139995575, 0.0005262360791675746, 0.3982276916503906, 0.29890304803848267, -0.1421113759279251, 0.41598761081695557, 0.3967743217945099, 0.9287344217300415, -0.044404882937669754, -0.9301148056983948, 0.035081133246421814, -0.26121464371681213, -0.03445468097925186, 0.2982425391674042, -0.2318994402885437, 0.829975962638855, -0.23326267302036285, 0.05536125227808952, -0.3878544569015503, 0.6652494072914124, 0.013957151211798191, 0.3895431458950043, 0.4641038179397583, 0.5778195858001709, 0.38386815786361694, -0.2491806298494339, 0.8130181431770325, 0.1809849739074707, -0.04370885714888573, 1.1417951583862305, -0.3115055561065674, 0.9541692733764648, 0.7145434021949768, -0.14625637233257294, 0.33303436636924744, 0.501365602016449, -0.07347891479730606, 0.4426553547382355, 0.1295391470193863, 0.1143440380692482, -0.1488136202096939, 0.03069666214287281, -0.3853648602962494, 0.7284882664680481, 0.5743066668510437, -0.4408559501171112, -0.6050831079483032, 0.15799935162067413, -0.18839150667190552, 0.0440409854054451, -0.5161281228065491, 0.9149574041366577, -0.13322539627552032, -0.159122034907341, 0.46054697036743164, -0.13278332352638245, 0.3678382635116577, -0.5193347930908203, -0.3141618072986603, -0.29297351837158203, -0.16822336614131927, -0.17726166546344757, -0.8605788946151733, 0.11371467262506485, -0.08854888379573822, -0.13429223001003265, -0.0884508341550827, 0.49056658148765564, -0.6492185592651367, -0.3071155548095703, -0.006260883063077927, 0.8503226637840271, 0.04224969819188118, 0.18519015610218048, -0.5908679962158203, 0.35664063692092896, -0.003567027859389782, -0.22741858661174774, 0.4915492534637451, 0.32305508852005005, -0.12398219108581543, 0.8283783197402954, 0.6112498044967651, -0.5435223579406738, 0.041962847113609314, 0.10513422638177872, 0.7333294749259949, -0.47291356325149536, -0.3842242658138275, -0.9839701652526855, 0.6835397481918335, 0.1629725843667984, 0.01478227972984314, 0.47253212332725525, 0.2516474425792694, 0.4332601726055145, -0.6770341992378235, 0.21158170700073242, 0.08216962963342667, 0.022034741938114166, -0.8640701770782471, 0.8886651992797852, -0.8299965858459473, -0.015280017629265785, -0.37204709649086, -0.941177248954773, -0.6279452443122864, 0.563187301158905, -0.26415684819221497, -0.1383085995912552, 0.3959338963031769, 0.6800766587257385, -0.10943061113357544, -0.3035902678966522, 0.45230093598365784, 0.3249650001525879, 0.3409898281097412, 0.5152971744537354, 0.9883912205696106, 0.06363565474748611, 0.8073703050613403, 0.09816673398017883, -0.054905641824007034, -0.25315824151039124, -0.9131001830101013, -0.7650359869003296, -0.7661651968955994, 0.3132462203502655, -0.02959754504263401, 0.08492885529994965, 0.8874975442886353, 0.5426814556121826, -0.5563333630561829, -0.3812532126903534, 0.24291439354419708, 0.15819352865219116, 0.08566246926784515, -0.11532684415578842, 0.2187434881925583, -0.14609959721565247, -0.48452872037887573, 0.20478622615337372, 0.18993745744228363, 0.2891537547111511, -0.0040656705386936665, 0.24691519141197205, -0.4799061119556427, -0.12319330126047134, 0.9155529737472534, 0.07938803732395172, -0.8175661563873291, -0.14226114749908447, -0.06152108311653137, -0.038395583629608154, 0.37505999207496643, 0.5011800527572632, -0.5657367706298828, 0.4395936131477356, 0.4076509475708008, 0.6346246004104614, 0.7245728373527527, -0.21403519809246063, 0.36652758717536926, -0.7189196944236755, 0.26254501938819885, 0.07224169373512268, 0.612407386302948, 0.1891033947467804, -0.07886790484189987, 0.45725730061531067, -0.24940302968025208, -0.3351083993911743, -0.9626076817512512, 0.3238038122653961, -1.3423315286636353, -0.2596378028392792, 0.7617163062095642, 0.27069923281669617, -0.6888276934623718, 0.025848576799035072, -0.4949430823326111, 0.10400260984897614, -0.5111192464828491, 0.8409234881401062, 0.4583795964717865, -0.17123174667358398, -0.6701024174690247, -0.7142215371131897, 0.23639751970767975, 0.19560688734054565, -1.171074628829956, 0.1748858541250229, 0.8310741782188416, -0.030362548306584358, 0.09612593054771423, 0.22219033539295197, -0.13748987019062042, 0.29596588015556335, -0.04318626597523689, 0.325931578874588, -0.33271709084510803, -0.6772533655166626, -0.05955802649259567, 0.4777377247810364, 0.14214026927947998, -0.0744919702410698 ]
http://arxiv.org/abs/2406.08092v1
http://arxiv.org/pdf/2406.08092v1
Languages Transferred Within the Encoder: On Representation Transfer in Zero-Shot Multilingual Translation
2024-06-12T11:16:30
2024-06-12T11:16:30
Zhi Qu, Chenchen Ding, Taro Watanabe
cs.CL
cs.CL
Understanding representation transfer in multilingual neural machine translation can reveal the representational issue causing the zero-shot translation deficiency. In this work, we introduce the identity pair, a sentence translated into itself, to address the lack of the base measure in multilingual investigations, as the identity pair represents the optimal state of representation among any language transfers. In our analysis, we demonstrate that the encoder transfers the source language to the representational subspace of the target language instead of the language-agnostic state. Thus, the zero-shot translation deficiency arises because representations are entangled with other languages and are not transferred effectively to the target language. Based on our findings, we propose two methods: 1) low-rank language-specific embedding at the encoder, and 2) language-specific contrastive learning of the representation at the decoder. The experimental results on Europarl-15, TED-19, and OPUS-100 datasets show that our methods substantially enhance the performance of zero-shot translations by improving language transfer capacity, thereby providing practical evidence to support our conclusions.
[ -0.16297630965709686, -0.2272816151380539, 0.3817148506641388, 0.031263068318367004, -0.17441512644290924, 0.29581835865974426, -0.2661830484867096, -0.4138982594013214, 0.493161141872406, 0.18534274399280548, 0.02047860622406006, -0.0722033828496933, -0.7585535645484924, 0.13989506661891937, -0.2989298403263092, 0.9666581153869629, -0.3899734616279602, 0.15722618997097015, -0.2914740741252899, -0.5369538068771362, -0.46248042583465576, -0.6526393294334412, -0.5198774933815002, -0.5380944013595581, 0.5112965703010559, 0.19756591320037842, 0.5296451449394226, 0.6228484511375427, 0.5097910165786743, 0.2633064091205597, 0.1387234777212143, -0.2885088324546814, -0.46795132756233215, 0.19374041259288788, -0.17366819083690643, -0.6975111365318298, -0.17556077241897583, -0.4366961419582367, 0.8406683206558228, 0.842058539390564, 0.26677238941192627, 0.09606365859508514, 0.01441086083650589, 0.31764617562294006, -0.8469710350036621, 0.11872581392526627, -0.46868377923965454, 0.31249186396598816, -0.245248481631279, -0.29377278685569763, -0.4681295156478882, 0.1050754114985466, -0.25910642743110657, -0.27653059363365173, 0.08356557041406631, -0.1957181990146637, 0.6229001879692078, 0.15284329652786255, -0.6707947254180908, -0.0024804212152957916, -0.8347342610359192, 0.5660682916641235, -0.3748714327812195, 0.2952422797679901, 0.04626114293932915, 0.1337839514017105, 0.3572787642478943, -0.03310799226164818, -0.5914273262023926, -0.2122056782245636, -0.248170405626297, 0.26706334948539734, -0.3258092403411865, -0.11614112555980682, 0.02917996421456337, 0.3958841562271118, -0.6933748126029968, 0.09348730742931366, -0.49800634384155273, -0.27001118659973145, 0.6045265793800354, -0.09708701819181442, 0.37667158246040344, -0.06005364656448364, -0.2971506416797638, -0.20331121981143951, -0.6899110674858093, -0.08753011375665665, 0.24794043600559235, 0.2662045657634735, -0.2021780163049698, 0.5910167098045349, 0.13671447336673737, 0.6218503713607788, -0.020496197044849396, 0.12125147879123688, 0.4988016188144684, -0.4184827506542206, 0.007008883636444807, 0.430759072303772, 0.7372979521751404, 0.15563707053661346, 0.2531532943248749, -0.6267392635345459, -0.14611345529556274, 0.1272205263376236, 0.01594419963657856, -0.738223671913147, 0.13319800794124603, -0.04545332118868828, -0.2340523600578308, 0.006847037468105555, 0.005174329038709402, -0.3333894908428192, -0.12314625829458237, -0.05747080594301224, 0.7070112824440002, -0.31624287366867065, -0.32117873430252075, 0.03369584679603577, -0.1998334676027298, 0.46168825030326843, -0.12975828349590302, -0.9601513743400574, 0.2196781486272812, 0.09822875261306763, 0.7197834253311157, -0.33860647678375244, -0.43276792764663696, -0.22905215620994568, 0.4561978876590729, -0.6425256729125977, 0.5851796865463257, -0.2700549364089966, -0.14575426280498505, 0.17539574205875397, 0.15204685926437378, -0.28575950860977173, -0.4915236830711365, 0.02944587916135788, -0.29233959317207336, 0.0005087681347504258, -0.3391895592212677, -0.42553606629371643, -0.09943177551031113, 0.17959332466125488, -0.4116857051849365, 0.579754114151001, 0.06635010242462158, -0.23925021290779114, 0.02958793006837368, -0.6511491537094116, -0.5848488807678223, 0.16832204163074493, -0.2944950759410858, 0.01611548475921154, 0.3165791630744934, 0.18447178602218628, 0.3624739646911621, 0.01754872128367424, -0.1010182648897171, -0.19201907515525818, -0.4548391103744507, 0.4076031744480133, -0.36222124099731445, 0.807830274105072, 0.20139725506305695, -0.27221745252609253, -0.2455044686794281, -0.3927489221096039, -0.2050510048866272, 0.47721540927886963, -0.11056247353553772, -0.34024283289909363, -0.500284731388092, -0.024379780516028404, 0.07809419929981232, 0.31938549876213074, -0.8006183505058289, 0.19470296800136566, -0.27681678533554077, 0.33428892493247986, 0.40422993898391724, -0.045154668390750885, 1.0474239587783813, -0.09671608358621597, 0.5987967252731323, 0.3982887864112854, -0.33382922410964966, -0.5343360900878906, -0.31024542450904846, -1.141165852546692, 0.1744832843542099, 0.4452948272228241, 0.739290714263916, -0.926460325717926, 0.25178012251853943, -0.4261320233345032, 0.14798955619335175, -1.0700374841690063, -0.0007473152363672853, 0.5701422095298767, 0.21526587009429932, 0.419956237077713, -0.46217790246009827, -0.1818493753671646, -1.191718578338623, -0.25080275535583496, -0.10112268477678299, 0.19509102404117584, -0.08202871680259705, 0.4798458218574524, -0.05831999331712723, 0.3836122453212738, -0.23865793645381927, -0.3919256925582886, -0.35604357719421387, 0.12870322167873383, 0.010286732576787472, 0.7073765993118286, 0.8850399255752563, -0.5330818891525269, -0.6529363393783569, 0.47686198353767395, -0.9932345151901245, 0.11041207611560822, -0.386976957321167, -0.060118090361356735, 0.33652567863464355, 0.5032575130462646, -0.459541380405426, 0.3009044826030731, 0.6327283382415771, -0.281653493642807, 0.028046341612935066, -0.4589555561542511, 0.42558225989341736, -1.1221518516540527, 0.17948932945728302, -0.325656533241272, -0.3771519064903259, -0.7359486222267151, 0.39761096239089966, 0.16216349601745605, -0.3053167164325714, -0.4650871157646179, 0.4085090160369873, -0.6747745871543884, -0.30240291357040405, -0.12057400494813919, 0.14597934484481812, -0.036884356290102005, 0.5280222296714783, -0.16269855201244354, 0.7303289175033569, 0.6513045430183411, -0.2685009837150574, 0.35784369707107544, 0.266262024641037, 0.17857052385807037, 0.8997577428817749, -0.5351539254188538, 0.39900216460227966, -0.41149717569351196, -0.057480212301015854, -0.8896346688270569, 0.08045016974210739, 0.5559130311012268, -0.6939674615859985, 0.7150177955627441, -0.30131056904792786, -0.32930827140808105, 0.12531042098999023, 0.06553015857934952, 0.5455475449562073, 0.6162393093109131, -0.21972404420375824, 0.10801707953214645, 0.23513630032539368, -0.050264857709407806, -0.46720266342163086, -1.3485759496688843, 0.4417910575866699, -0.08997916430234909, -0.35528573393821716, 0.6751424670219421, -0.07021843641996384, 0.047503869980573654, 0.43320974707603455, 0.03762861341238022, -0.1709413230419159, -0.09629795700311661, -0.1694963276386261, -0.08130457997322083, -0.48482319712638855, 0.256803959608078, 0.0374365858733654, -0.21375738084316254, -0.03049158863723278, -0.1693265587091446, 0.24316631257534027, -0.04260043799877167, -0.6150456070899963, -0.22590523958206177, 0.7288616299629211, 0.5092953443527222, -0.359551340341568, 0.9176630973815918, 0.5865441560745239, -0.36936336755752563, 0.04890048876404762, -0.16046074032783508, 0.0024739918299019337, -0.3307196795940399, 0.44324755668640137, -0.6623018383979797, -0.7422423958778381, 0.7063875198364258, 0.21744151413440704, -0.2472451627254486, 0.5716603994369507, 0.3779740333557129, 0.0954408124089241, 0.8941484093666077, 0.7206830978393555, -0.26231229305267334, 0.37006768584251404, -0.34686994552612305, 0.3794099688529968, -0.8662042021751404, -0.1637207567691803, -0.5171003341674805, -0.609404444694519, -0.4528679847717285, -0.43203818798065186, 0.23102295398712158, 0.22683751583099365, -0.20775721967220306, 0.5779388546943665, -0.30539000034332275, 0.6626235842704773, 0.3425122797489166, -0.12048783153295517, 0.28667616844177246, 0.21648043394088745, -0.15892024338245392, -0.4171265959739685, -0.7930721640586853, -0.0961238220334053, 0.9879611134529114, 0.09864005446434021, 0.37511008977890015, 0.4364947974681854, 0.904628336429596, 0.15016116201877594, 0.0656718760728836, -0.8192614316940308, 0.2288057804107666, -0.28762051463127136, -0.32844826579093933, 0.08857230097055435, -0.41113612055778503, -0.9647570848464966, 0.6129998564720154, -0.1768699288368225, -0.5799970030784607, 0.4359215795993805, -0.11745095998048782, -0.04866141453385353, 0.1892387419939041, -0.650027334690094, 0.9954847097396851, -0.448854923248291, -0.23760704696178436, -0.1568903774023056, -0.5056002140045166, 0.21382679045200348, -0.006437905132770538, -0.042395468801259995, 0.2037079632282257, -0.07689394801855087, 0.3780600428581238, 0.12457820773124695, 0.4015304744243622, -0.060534246265888214, -0.048561494797468185, -0.08719362318515778, 0.3529401123523712, 0.1642991453409195, -0.2766972482204437, 0.004574157763272524, 0.1794338971376419, -0.24988041818141937, -0.6066567301750183, -0.8400341272354126, 0.6895497441291809, -0.8323498368263245, -0.3395605981349945, -0.4830504059791565, -0.44247937202453613, -0.056881383061409, 0.18632426857948303, 0.3963196575641632, 0.1610422432422638, -0.2006426900625229, 0.3909948170185089, 0.5127888917922974, -0.08553770929574966, 0.6410173177719116, 0.5181012153625488, -0.1923452466726303, -0.156328946352005, 1.0532195568084717, 0.3538219630718231, 0.4149317741394043, 0.5737950801849365, -0.16491974890232086, -0.10743463039398193, -0.5995815396308899, -0.8553071618080139, 0.2410193532705307, -0.912612795829773, -0.16666699945926666, -0.46347424387931824, -0.3245137929916382, -0.5005908608436584, -0.3106095492839813, -0.5212678909301758, -0.4479912221431732, -0.22870293259620667, -0.04142758250236511, -0.048945724964141846, 0.5166306495666504, -0.10000386089086533, 0.24529673159122467, -0.8636599183082581, 0.42157894372940063, 0.07502836734056473, 0.03222636878490448, -0.17393247783184052, -0.7996668815612793, -0.46706077456474304, 0.10523078590631485, -0.16857346892356873, -1.1423718929290771, 0.363766610622406, 0.4917886257171631, 0.922256588935852, 0.17656978964805603, 0.03511020541191101, 0.7913342714309692, -0.42607009410858154, 0.6817806363105774, 0.3049474358558655, -1.017726182937622, 0.38481295108795166, -0.052688807249069214, 0.5965122580528259, 0.35279956459999084, 0.3692735433578491, -0.77573162317276, -0.4398549795150757, -0.44917023181915283, -0.649393618106842, 0.6643627882003784, 0.2593713104724884, 0.5030590295791626, -0.0037294027861207724, 0.24296791851520538, -0.13076448440551758, 0.0009963472839444876, -1.0046600103378296, -0.4734766185283661, -0.11689798533916473, -0.09272808581590652, -0.4275585114955902, 0.05884188041090965, -0.08147882670164108, -0.20428918302059174, 0.24635329842567444, -0.37790146470069885, 0.7014844417572021, 0.33513277769088745, -0.6960332989692688, -0.1869698017835617, 0.33700427412986755, 0.4816632568836212, 0.43861281871795654, 0.08246808499097824, 0.3811991810798645, 0.17448890209197998, 0.019614484161138535, 0.4305424690246582, -0.02463841810822487, -0.33797675371170044, 0.26119017601013184, 0.42634519934654236, 1.026300072669983, 0.3081471621990204, -0.11084578931331635, 0.8025705218315125, 0.43794921040534973, -0.11263512074947357, -0.09892137348651886, -0.28642597794532776, 0.19351963698863983, 0.1816609650850296, 0.30253511667251587, 0.2570539116859436, 0.23126213252544403, -0.6434749960899353, 0.028987739235162735, 0.320962518453598, -0.5543707609176636, -0.5922015309333801, 0.49450358748435974, 0.13559381663799286, -0.19067256152629852, 0.4914253056049347, -0.3189983069896698, -0.48644816875457764, 0.5768301486968994, 0.9248753190040588, 0.976844310760498, -0.4173688292503357, 0.39551299810409546, 0.43773144483566284, 0.5029017925262451, 0.09513108432292938, -0.0776134803891182, -0.11286496371030807, -1.0626187324523926, -0.423939973115921, -0.31463122367858887, -0.13256466388702393, -0.14678452908992767, -0.7765108346939087, -0.082012839615345, 0.16014966368675232, 0.15114936232566833, -0.10521532595157623, -0.38586729764938354, -0.6776064038276672, -0.4689984619617462, 0.5465644001960754, 0.3310698866844177, -0.9551335573196411, 0.9040505886077881, 0.7332139611244202, -0.7409719228744507, -0.2511366903781891, -0.21749307215213776, -0.2055441439151764, -0.8324556350708008, 0.6809963583946228, -0.05829877406358719, -0.11549177765846252, 0.10981139540672302, -0.27233436703681946, -0.766531229019165, 0.7534444332122803, 1.0068145990371704, -0.3341197371482849, 0.27656909823417664, 0.4682104289531708, 0.6588376760482788, -0.5438199639320374, 0.023024218156933784, 0.3804520070552826, 0.39299988746643066, 0.02927481383085251, -0.8379898071289062, 0.053371768444776535, -0.2299525886774063, 0.17090751230716705, 0.28421252965927124, -0.44800201058387756, 0.8523776531219482, -0.10584046691656113, -0.35195392370224, -0.0797947496175766, 0.34479019045829773, -0.2497798204421997, 0.011697139590978622, -0.07224510610103607, 0.7013264298439026, 0.2786802351474762, 0.10709042847156525, 1.0923762321472168, -0.22947441041469574, 0.2891654670238495, 0.7910452485084534, -0.24222277104854584, 1.0854921340942383, 0.6834102272987366, -0.13400223851203918, 0.3058781325817108, 0.12861084938049316, 0.05369918420910835, 0.6165388226509094, 0.06734969466924667, -0.31244274973869324, -0.14524689316749573, -0.18217775225639343, -0.44762736558914185, 0.640030026435852, 0.1607494354248047, -0.4713369905948639, -0.33032646775245667, 0.24435490369796753, 0.10294368118047714, 0.139659583568573, -0.1444597691297531, 0.9108063578605652, 0.09792160242795944, -0.6509692072868347, 0.8279367089271545, -0.012369112111628056, 0.6122874021530151, -0.43831169605255127, -0.16545669734477997, -0.5836979150772095, 0.30784374475479126, -0.059025052934885025, -0.7013406157493591, 0.5813833475112915, -0.23887377977371216, -0.14145325124263763, -0.6975090503692627, 0.6389080882072449, -0.923793375492096, -0.420550674200058, 0.5411748290061951, 0.7278503179550171, 0.44033288955688477, -0.04568452015519142, -0.6471038460731506, -0.02379610948264599, 0.00431082071736455, 0.1522027999162674, 0.6382001638412476, 0.32373684644699097, 0.012385549955070019, 0.1410711705684662, 0.39280813932418823, 0.34337756037712097, 0.25196653604507446, -0.0712955892086029, 0.48681002855300903, -0.6639733910560608, -0.3095971941947937, -0.7525650262832642, 0.39586278796195984, 0.15968072414398193, -0.27779749035835266, 0.7014227509498596, 0.46512964367866516, 1.0302613973617554, -0.18863412737846375, 0.7293674349784851, -0.11148682236671448, -0.13708394765853882, -0.38293638825416565, 0.8477835655212402, -0.5990211963653564, -0.2596622705459595, 0.20768725872039795, -1.063219666481018, -0.4838777184486389, 0.6627027988433838, 0.09775189310312271, -0.3583969473838806, 0.871080219745636, 0.6392636895179749, -0.038794707506895065, -0.7025955319404602, 0.6585885286331177, -0.044595349580049515, 0.07221975922584534, 0.9094887375831604, 0.5488407015800476, -0.8863306641578674, 0.6311431527137756, -0.2596440613269806, 0.04656298831105232, -0.17379005253314972, -0.6728912591934204, -0.5057654976844788, -0.6039679050445557, -0.5379433035850525, -0.0623079389333725, 0.25563591718673706, 0.5019078254699707, 0.6010434627532959, -0.8098331689834595, -0.5392042398452759, 0.08439508825540543, 0.08234623074531555, -0.26371899247169495, -0.14632806181907654, 0.0723189264535904, -0.6349372863769531, -0.8260076642036438, 0.513883113861084, 0.3788592517375946, 0.10888368636369705, -0.42457032203674316, -0.30370524525642395, -0.1232961118221283, -0.2920660674571991, 0.6358743906021118, 0.3732336461544037, -0.6335031986236572, -0.2738510072231293, 0.1195988580584526, -0.20182187855243683, 0.27931126952171326, 0.8228937387466431, -0.6484668850898743, 0.6944702863693237, 0.5545753240585327, 0.9940434694290161, 0.6415070295333862, -0.4222255349159241, 0.771304190158844, -0.998132586479187, 0.40126290917396545, 0.1960638165473938, 0.45346271991729736, 0.5966103076934814, -0.23564891517162323, 0.2328573316335678, 0.37754446268081665, -0.14508308470249176, -0.6380847692489624, 0.1859399974346161, -0.8336132764816284, -0.29296261072158813, 1.0523452758789062, -0.3209180533885956, -0.12811385095119476, 0.06010834500193596, 0.12274004518985748, 0.3074777126312256, -0.10491949319839478, 0.2768179178237915, 0.6777656078338623, 0.009090976789593697, -0.5709187388420105, -0.5595188736915588, 0.07735724002122879, 0.5179092884063721, -0.5204176306724548, -0.43605807423591614, 0.2551853656768799, 0.0031968173570930958, 0.5324272513389587, 0.4869629740715027, -0.22264854609966278, 0.09116114675998688, 0.2434503436088562, 0.31071823835372925, -0.026553859934210777, -0.13582776486873627, -0.8704084157943726, 0.12154742330312729, 0.08548889309167862, -0.6572137475013733 ]
http://arxiv.org/abs/2406.08080v1
http://arxiv.org/pdf/2406.08080v1
AustroTox: A Dataset for Target-Based Austrian German Offensive Language Detection
2024-06-12T11:04:11
2024-06-12T11:04:11
Pia Pachinger, Janis Goldzycher, Anna Maria Planitzer, Wojciech Kusa, Allan Hanbury, Julia Neidhardt
cs.CL
cs.CL, cs.AI, cs.CY, I.2.7
Model interpretability in toxicity detection greatly profits from token-level annotations. However, currently such annotations are only available in English. We introduce a dataset annotated for offensive language detection sourced from a news forum, notable for its incorporation of the Austrian German dialect, comprising 4,562 user comments. In addition to binary offensiveness classification, we identify spans within each comment constituting vulgar language or representing targets of offensive statements. We evaluate fine-tuned language models as well as large language models in a zero- and few-shot fashion. The results indicate that while fine-tuned models excel in detecting linguistic peculiarities such as vulgar dialect, large language models demonstrate superior performance in detecting offensiveness in AustroTox. We publish the data and code.
[ -0.20699374377727509, -0.7588218450546265, 0.30488714575767517, 0.18547508120536804, -0.20585398375988007, -0.38254693150520325, -0.20423683524131775, -0.8195940256118774, -0.11772511899471283, 0.885032594203949, -0.3210781514644623, -0.9462327361106873, -0.6938176155090332, 0.560605525970459, -0.8087306618690491, 1.1015019416809082, 0.031777091324329376, -0.05826588347554207, 0.2896534502506256, -0.5840089321136475, -0.12501953542232513, -0.6602423191070557, -0.6350486278533936, 0.03773598372936249, 0.6644115447998047, 0.5592262148857117, 0.5497123003005981, 0.5197736620903015, 0.4864780306816101, 0.3489055931568146, -0.09461656212806702, -0.16998782753944397, -0.3259560167789459, 0.09478368610143661, -0.39478254318237305, -0.6537947654724121, -0.3120203912258148, -0.5101597309112549, 0.30745577812194824, 0.23298333585262299, -0.11220572143793106, -0.14709322154521942, -0.43422549962997437, 0.12525327503681183, -0.8435974717140198, 0.4288732707500458, -0.745660126209259, 0.05313907191157341, -0.569431722164154, 0.40140795707702637, -0.7570239305496216, 0.004917651880532503, -0.1939166784286499, -0.4792850613594055, -0.27457281947135925, 0.24606606364250183, 0.5338665843009949, -0.006161112803965807, -0.48689401149749756, -0.27020832896232605, -0.41200071573257446, 0.6590071320533752, -1.1208322048187256, 0.3063224256038666, 0.2917990982532501, 0.17916791141033173, 0.12891998887062073, -0.5827233195304871, -0.5433713793754578, -0.3518441915512085, -0.3580590784549713, -0.245430126786232, -0.7939382195472717, 0.19296935200691223, 0.28817638754844666, 0.047880347818136215, -0.4449056386947632, 0.414728581905365, -0.17713722586631775, -0.45081833004951477, 0.8181281089782715, 0.24312545359134674, 0.6899131536483765, -0.20763714611530304, -0.09447086602449417, 0.2245270013809204, -0.5439658164978027, -0.28072211146354675, 0.810664713382721, 0.7615553736686707, -0.07055395841598511, 0.5812762975692749, -0.5993959903717041, 0.6036902070045471, -0.26961955428123474, 0.33878204226493835, 0.2562280297279358, 0.033117152750492096, 0.15672184526920319, 0.19030079245567322, 0.9509080648422241, 0.4064282774925232, 0.680566668510437, -0.1642228215932846, -0.5525017976760864, 0.17124947905540466, 0.34843501448631287, -0.8287314176559448, -0.387741357088089, 0.041734930127859116, 0.004919149912893772, -0.5793039202690125, -0.23700487613677979, -0.6600441336631775, -0.409516841173172, 0.0897471159696579, 0.25491029024124146, -0.3724144697189331, -0.56940758228302, 0.18594728410243988, -0.26292333006858826, -0.21540842950344086, -0.06835199892520905, -0.85297691822052, 0.47995877265930176, 0.5815609693527222, 0.4698989689350128, -0.4132927656173706, -0.2664005160331726, -0.5477216243743896, -0.07727980613708496, -0.5597836375236511, 0.9300548434257507, -0.933366596698761, -0.13470610976219177, 0.3722304403781891, 0.26588544249534607, 0.4082297086715698, -0.7565284967422485, 0.8703725337982178, -0.7256255149841309, 0.047338832169771194, -0.0022713206708431244, -0.1745976358652115, -0.47092875838279724, 0.1502147763967514, -0.623419463634491, 1.017630934715271, 0.4020198881626129, -1.1143462657928467, 0.47658827900886536, -0.7414215207099915, -0.7694523334503174, 0.15761835873126984, 0.4503006041049957, -0.47431647777557373, -0.05221817269921303, 0.14144207537174225, 0.23191000521183014, 0.21181754767894745, 0.1550048291683197, -0.51296466588974, -0.25879740715026855, 0.03339073807001114, -0.3116647005081177, 0.7136247158050537, 0.3654751777648926, -0.4815176725387573, 0.2863316237926483, -0.7727447748184204, -0.3561955690383911, 0.2596755027770996, -0.3698146939277649, -0.6751179695129395, 0.13502448797225952, 0.5376196503639221, 0.1060352772474289, -0.10501499474048615, -0.7275152802467346, -0.32286834716796875, -0.5804059505462646, 0.23352520167827606, 0.5058883428573608, 0.03205246105790138, 0.10981322824954987, 0.028598647564649582, 0.4549889862537384, 0.46814805269241333, 0.2085430920124054, -0.13157859444618225, -0.37573549151420593, -0.773640513420105, 0.12316105514764786, -0.17482654750347137, 0.7344809174537659, -0.7286720275878906, 0.5155983567237854, -0.19718310236930847, -0.5270894169807434, 0.03777529299259186, 0.05660530552268028, 0.6219220757484436, 0.35160794854164124, 0.3038940727710724, -0.3392270505428314, -0.631202757358551, -1.2252075672149658, -0.5121918320655823, -0.5501919984817505, 0.04317900910973549, 0.5515079498291016, 0.493607759475708, -0.16686764359474182, 0.7157119512557983, -0.42475199699401855, -0.0546867772936821, -0.2059592306613922, 0.3236379027366638, -0.06439228355884552, 0.07154306769371033, 0.8364667296409607, -0.6333810687065125, -0.6921750903129578, 0.2870379686355591, -0.6756210923194885, -0.6454070806503296, 0.5930702090263367, -0.0177210234105587, 0.19646410644054413, 0.3131876289844513, 0.05338950455188751, 0.04384562000632286, 0.35627302527427673, -0.29943758249282837, 0.6358644366264343, 0.44525134563446045, 0.3178160786628723, -0.937742292881012, -0.14500053226947784, 0.4288789629936218, -0.43776366114616394, -0.817363440990448, 0.040015991777181625, 0.014169097878038883, -0.08370804041624069, -0.9988722801208496, 0.6527020931243896, 0.07151490449905396, 0.3175623118877411, -0.2291277050971985, -0.13564500212669373, -0.21636995673179626, 0.5010263919830322, 0.42211106419563293, 0.8535626530647278, 0.548651397228241, -0.3064987361431122, 0.4602939486503601, 0.1985463947057724, -0.31618502736091614, 0.6806818842887878, -0.33986568450927734, -0.05161306634545326, -0.03902086615562439, -0.028829224407672882, -0.8869134187698364, -0.4647877514362335, 0.501015305519104, -0.23729044198989868, 0.22424106299877167, -0.38692882657051086, -0.2798003852367401, -0.4014452397823334, -0.08087320625782013, 0.4911854565143585, 0.10821733623743057, -0.4592593014240265, 0.32641127705574036, 0.6411980390548706, -0.4392251968383789, -0.675041913986206, -0.6974102258682251, 0.340436726808548, -0.5442636609077454, -0.3893589675426483, -0.4673287868499756, 0.4372149109840393, -0.4809708297252655, -0.07837612181901932, 0.22212325036525726, -0.32468414306640625, 0.12381596118211746, -0.035809148102998734, 0.1633559763431549, -0.5627450346946716, 0.08977968990802765, -0.06379739195108414, 0.016668453812599182, 0.3737272024154663, -0.24601802229881287, 0.2858678698539734, -0.0695401132106781, -0.16380846500396729, -0.2900310456752777, 0.6483641266822815, 0.6906101703643799, -0.13534943759441376, 0.4643227159976959, 0.28406450152397156, -0.4738558530807495, -0.32722678780555725, -0.3319195806980133, -0.2723751962184906, -0.4431401789188385, 0.8632590770721436, -0.11594660580158234, -0.7011706829071045, 0.5887783765792847, 0.2440432459115982, 0.10504346340894699, 0.6311821937561035, 0.5708299875259399, 0.35501566529273987, 1.232698678970337, 0.4678843319416046, -0.5407326817512512, 0.6229361891746521, 0.19625358283519745, 0.17555466294288635, -0.267007052898407, 0.12387340515851974, -0.6717551946640015, 0.08157362788915634, -0.45662468671798706, -0.005801088642328978, 0.1779247224330902, -0.44567155838012695, -0.622920036315918, 0.7089806795120239, -0.5647380948066711, 0.4684307873249054, 0.10345671325922012, 0.16718724370002747, 0.30759716033935547, 0.10682585090398788, -0.004255066625773907, -0.10924354940652847, -0.4936951696872711, -0.4861745834350586, 1.008509874343872, 0.3499455451965332, 0.8818645477294922, 0.1870042383670807, 0.23828007280826569, 0.7363525629043579, 0.6186978816986084, -0.8564434051513672, 0.3136291801929474, -0.2631787955760956, -1.1968709230422974, -0.25457116961479187, -0.4067712426185608, -0.557287871837616, -0.04045168682932854, -0.12134832888841629, -1.106947660446167, 0.08687356859445572, 0.10424699634313583, -0.03185988962650299, 0.7138684391975403, -0.8811728954315186, 0.9778784513473511, -0.21169188618659973, -0.4437851309776306, -0.008716917596757412, -0.40941479802131653, 0.4340971112251282, -0.16114215552806854, 0.4297119081020355, -0.31247857213020325, -0.1371801793575287, 0.7800774574279785, -0.2377336025238037, 1.05620276927948, -0.12450304627418518, -0.3626594841480255, 0.21944379806518555, 0.21382483839988708, 0.42651644349098206, -0.22100691497325897, -0.30287712812423706, 0.47787049412727356, -0.13273859024047852, -0.1608940064907074, -0.09827648103237152, 0.30672314763069153, -0.33509331941604614, -0.5209106206893921, -0.15482798218727112, -0.45885446667671204, -0.2012861669063568, 0.5196242332458496, 0.3866240978240967, 0.5912963151931763, -0.23632900416851044, -0.11670496314764023, 0.2911064028739929, -0.3406203091144562, 0.060643892735242844, 0.7520132660865784, -0.34647059440612793, 0.046813856810331345, 0.9980427622795105, -0.14243443310260773, 0.3081686496734619, 0.1590462327003479, 0.0744548961520195, -0.4081384837627411, -0.646267831325531, -0.6037386655807495, 0.02837553061544895, -0.8422970771789551, -0.2676791846752167, -0.8046053051948547, -0.1248936727643013, -0.11484352499246597, 0.09749763458967209, -0.43862998485565186, -0.050050023943185806, 0.034877896308898926, -0.16335178911685944, 0.5156108736991882, 1.1323360204696655, -0.13256306946277618, 0.45226243138313293, -0.6730678081512451, 0.0071829380467534065, 0.06652183830738068, 0.5289546251296997, -0.2741294801235199, -0.6160221099853516, -0.19711755216121674, 0.19587442278862, -0.10822759568691254, -1.1124544143676758, 0.23429279029369354, 0.04777254909276962, 0.34058594703674316, 0.8757947683334351, 0.29322123527526855, -0.013002543710172176, -0.35461264848709106, 0.6471982002258301, 0.032205305993556976, -0.8007979393005371, 0.7583723664283752, -0.6059784889221191, -0.20876066386699677, 0.3383098244667053, 0.5423870086669922, -0.8169558048248291, -0.8846626877784729, -0.3628208637237549, -0.6934873461723328, 1.1800673007965088, 0.03770369663834572, 0.651786208152771, -0.4953095018863678, -0.021088143810629845, 0.17213578522205353, -0.05675298720598221, -0.8189422488212585, -0.3454645872116089, 0.10371226817369461, -0.2638814151287079, -0.032019905745983124, -0.4856511652469635, -0.2966630756855011, -0.21306860446929932, 0.7518576383590698, -0.18882010877132416, -0.039256200194358826, -0.31576281785964966, -0.32351645827293396, -0.23104089498519897, 0.4714773893356323, 0.20384056866168976, 0.46569356322288513, 0.03333929553627968, 0.13857974112033844, 0.5876520872116089, -0.43689531087875366, 0.30029234290122986, 0.005750794429332018, -0.19372931122779846, 0.1629035770893097, 0.5588930249214172, 0.9286272525787354, 0.5807395577430725, -0.832878053188324, 0.6794381141662598, 0.11667756736278534, -0.0017282941844314337, 0.03064092807471752, 0.2954410910606384, -0.0709320604801178, 0.042806532233953476, 0.028240885585546494, -0.15309563279151917, 0.6011462807655334, -0.5972065329551697, 0.6292954683303833, 0.19841472804546356, -0.8181610107421875, -0.25487416982650757, 0.8099197745323181, 0.25572842359542847, -0.38196229934692383, 0.5031837224960327, -0.038218721747398376, -0.9890802502632141, 0.548681914806366, 0.5830848813056946, 0.5507746338844299, -0.18845722079277039, 0.2771380543708801, 0.6075118780136108, 0.29837265610694885, 0.2971644401550293, 0.030233701691031456, -0.0476919487118721, -0.9096634984016418, 0.07588662207126617, -0.5915098786354065, -0.3358498215675354, -0.09485726803541183, -0.7167931199073792, 0.36799025535583496, -0.16232900321483612, -0.12016946077346802, 0.3310742676258087, -0.4058367908000946, -0.11631865799427032, 0.17732109129428864, 0.5111512541770935, 1.1845402717590332, -1.483557105064392, 0.481976181268692, 0.6430568099021912, -0.385635644197464, -0.6765920519828796, -0.1395246535539627, 0.20688676834106445, -1.065544605255127, 0.3649786114692688, 0.2121473103761673, 0.0423116609454155, -0.007115501910448074, -0.6177902817726135, -0.2254091054201126, 0.07968351989984512, 0.46506646275520325, -0.43013596534729004, 0.27167946100234985, 0.3248901069164276, 0.5589098334312439, -0.026115121319890022, 0.38372132182121277, 1.0577832460403442, 0.5598104000091553, 0.018786225467920303, -0.6661708354949951, -0.10161569714546204, -0.32177239656448364, -0.38717737793922424, 0.4823361039161682, -0.3107396960258484, 0.5553404092788696, 0.04547570273280144, -0.3214941620826721, -0.2049095332622528, 0.3301362097263336, -0.2028605192899704, 0.09300766885280609, 0.5840989947319031, 0.6473349928855896, 0.30879074335098267, -0.23917211592197418, 1.0175062417984009, -0.12937958538532257, 0.3667709529399872, 0.8927159905433655, -0.24156197905540466, 0.9067209959030151, -0.004903663881123066, -0.35209956765174866, 0.6265802383422852, 0.674828052520752, 0.10385298728942871, 0.3450651466846466, 0.1613406389951706, -0.5080433487892151, -0.25792014598846436, -0.35224002599716187, -0.1552288830280304, 0.6752030849456787, 0.4827192425727844, -0.2413044571876526, -0.69941246509552, 0.14776676893234253, 0.4633825123310089, 0.07597313076257706, -0.3562106788158417, 1.101507544517517, -0.15369608998298645, -0.528046727180481, 0.43548575043678284, 0.04288998991250992, 0.8671491146087646, -0.6734576225280762, 0.03661825880408287, -0.2958697974681854, 0.18726301193237305, -0.2770370543003082, -1.1530756950378418, 0.498595654964447, 0.3429521322250366, 0.22252872586250305, 0.36144575476646423, 0.7028312683105469, -0.36875638365745544, -0.549310028553009, 0.5307738184928894, 0.036843422800302505, 0.2618802487850189, -0.3431144058704376, -0.6069671511650085, 0.01098984107375145, -0.13992872834205627, -0.2077287882566452, -0.034556467086076736, 0.6170158982276917, -0.32125282287597656, 0.5312056541442871, 0.46111857891082764, 0.16730786859989166, 0.06827698647975922, -0.029938368126749992, 0.8398882746696472, -0.2797733247280121, -0.4077082574367523, -0.842028796672821, 0.4171428978443146, -0.2840716540813446, -0.306452214717865, 0.5083472728729248, 0.8027988076210022, 0.9371011853218079, 0.061195939779281616, 0.9474945664405823, -0.11513694375753403, 0.35071951150894165, -0.22497901320457458, 0.7545048594474792, -0.6987444758415222, -0.13688161969184875, -0.2240825742483139, -0.6010674834251404, -0.4750754237174988, 0.35586535930633545, -0.47068193554878235, 0.039112675935029984, 0.423296183347702, 1.0619654655456543, -0.27135950326919556, 0.12517781555652618, 0.5495082139968872, 0.4882217049598694, 0.16913917660713196, 0.4953310191631317, 0.8616933822631836, -0.2157067060470581, 0.6246407628059387, -0.5039665699005127, -0.1756572127342224, -0.4193630516529083, -0.6723793148994446, -0.8344372510910034, -0.41205716133117676, -0.049468062818050385, -0.27174919843673706, 0.17001940310001373, 0.4967033863067627, 0.7635380625724792, -1.4431166648864746, -0.0667288675904274, 0.09285947680473328, 0.11046385765075684, 0.19166840612888336, -0.26491090655326843, -0.052841514348983765, -0.39441877603530884, -0.9662023186683655, -0.03946539759635925, 0.4984007179737091, -0.16977621614933014, -0.0564286895096302, 0.0022228271700441837, -0.15180470049381256, 0.21476224064826965, 0.5938178896903992, 0.4967445731163025, -0.654346227645874, -0.6955078840255737, -0.13181172311306, -0.33139804005622864, 0.2424178272485733, 0.5156461596488953, -0.13481132686138153, 0.5992621779441833, 0.18620556592941284, 0.3736104965209961, 0.1493532508611679, -0.008967661298811436, 0.4891762137413025, -0.6833468079566956, 0.662480890750885, 0.3739393353462219, 0.5110257267951965, 0.3440982699394226, -0.47241711616516113, 0.42919155955314636, 0.2412828952074051, -0.149765744805336, -0.7559778690338135, 0.13761822879314423, -0.604350745677948, -0.27462124824523926, 1.3569525480270386, -0.31336483359336853, -0.32013922929763794, -0.48220697045326233, -0.4476899206638336, 0.144858717918396, -0.46652084589004517, 0.5609610080718994, 0.9762141704559326, 0.2318798154592514, -0.05934042111039162, -0.5701847076416016, 0.4689745008945465, 0.23255881667137146, -0.9679152369499207, 0.3960396647453308, 0.62171870470047, 0.48198801279067993, -0.05406052619218826, 0.3092378079891205, -0.1924644410610199, 0.4315427541732788, 0.35907670855522156, 0.023363178595900536, 0.12620143592357635, -0.3007095754146576, -0.15167340636253357, -0.13908074796199799, 0.12626248598098755, -0.1603575199842453 ]
http://arxiv.org/abs/2406.08074v1
http://arxiv.org/pdf/2406.08074v1
A Concept-Based Explainability Framework for Large Multimodal Models
2024-06-12T10:48:53
2024-06-12T10:48:53
Jayneel Parekh, Pegah Khayatan, Mustafa Shukor, Alasdair Newson, Matthieu Cord
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Large multimodal models (LMMs) combine unimodal encoders and large language models (LLMs) to perform multimodal tasks. Despite recent advancements towards the interpretability of these models, understanding internal representations of LMMs remains largely a mystery. In this paper, we present a novel framework for the interpretation of LMMs. We propose a dictionary learning based approach, applied to the representation of tokens. The elements of the learned dictionary correspond to our proposed concepts. We show that these concepts are well semantically grounded in both vision and text. Thus we refer to these as "multi-modal concepts". We qualitatively and quantitatively evaluate the results of the learnt concepts. We show that the extracted multimodal concepts are useful to interpret representations of test samples. Finally, we evaluate the disentanglement between different concepts and the quality of grounding concepts visually and textually. We will publicly release our code.
[ -0.33589643239974976, -0.7037138342857361, 0.7647914290428162, -0.05812903493642807, -0.4140929579734802, 0.2157396525144577, -0.321427583694458, -0.185456782579422, 0.22292596101760864, 0.09599617123603821, -0.6343492269515991, -0.2880416810512543, -0.5689692497253418, -0.005809016991406679, -0.4188765287399292, 0.6910886168479919, -0.2388797402381897, 0.11810176074504852, -0.4173086881637573, -0.2692737877368927, -0.5157725214958191, -0.37766405940055847, -0.36038362979888916, -0.28054744005203247, 0.5048500895500183, 0.2660738229751587, 0.6998345255851746, 0.5854336619377136, 0.4364013075828552, 0.3419575095176697, -0.27834734320640564, 0.2853861153125763, -0.22063782811164856, -0.10289139300584793, -0.44217193126678467, -0.5158199667930603, -0.09478489309549332, -0.21777567267417908, 0.5641499757766724, 0.8605333566665649, -0.12261920422315598, -0.1186799556016922, 0.015057067386806011, 0.3097836971282959, -0.4708619713783264, 0.572758138179779, -0.5147550702095032, 0.009882498532533646, 0.06788872927427292, -0.1878623068332672, -0.3844287395477295, 0.39999333024024963, -0.09243573248386383, -0.8549427390098572, 0.056388940662145615, 0.039094533771276474, 0.5509127974510193, -0.02932615764439106, -0.743409276008606, -0.5660311579704285, -0.19223108887672424, 0.7004534006118774, -0.5698989629745483, 0.6488068103790283, 0.172721266746521, 0.5431914925575256, -0.025592975318431854, -0.6902797818183899, -1.0767178535461426, -0.18911907076835632, -0.039520420134067535, 0.15546350181102753, 0.301432728767395, 0.16703134775161743, -0.057963937520980835, 0.4784449338912964, -0.3513488173484802, 0.12085586041212082, -0.13181835412979126, -0.2509954869747162, 0.288017213344574, 0.1695479154586792, 0.29135388135910034, -0.6414339542388916, -0.7118505239486694, 0.14219844341278076, -0.3012871742248535, 0.16212569177150726, -0.14626668393611908, 0.2558450400829315, -0.4225902855396271, 0.7745949625968933, -0.005114452913403511, 0.4568256139755249, 0.023744456470012665, -0.52225261926651, 0.5310834050178528, -0.442044198513031, -0.36821770668029785, -0.20827357470989227, 0.475925475358963, 0.5195289850234985, 0.1562354564666748, -0.29825544357299805, -0.259380966424942, 0.10333114862442017, 0.13730013370513916, -0.7103997468948364, 0.24602992832660675, 0.2977948784828186, -0.9700549840927124, -0.31236764788627625, 0.06347442418336868, -0.6833391785621643, -0.744649350643158, -0.4374082684516907, 0.7102033495903015, -0.5873416662216187, -0.6972130537033081, 0.10650306940078735, -0.3547118306159973, 0.158261239528656, 0.30076083540916443, -0.8966577053070068, -0.007486511953175068, 0.6498929858207703, 0.9901856184005737, -0.10257867723703384, -0.2710707187652588, -0.1138024851679802, 0.3579198122024536, -0.36985263228416443, 0.27075114846229553, -0.5128731727600098, -0.32868316769599915, -0.13155198097229004, 0.17693276703357697, -0.14322295784950256, -0.349157452583313, -0.023762943223118782, -0.4599003791809082, -0.14457917213439941, -0.0520218200981617, -0.5872476100921631, -0.3963317275047302, 0.3528132438659668, -0.6368248462677002, 0.5080462694168091, -0.0062842704355716705, -0.6297143697738647, 0.38023218512535095, -0.8616505265235901, -0.056763142347335815, -0.136598140001297, -0.29905056953430176, 0.2293728142976761, 0.40112611651420593, 0.020823385566473007, 0.7245126962661743, -0.32758259773254395, 0.42189839482307434, -0.4223457872867584, -0.19703154265880585, 0.6636921763420105, -0.6278973817825317, 0.44079816341400146, 0.5349961519241333, -0.09833236783742905, 0.31315645575523376, -0.9005117416381836, -0.16969895362854004, 0.05638786032795906, -0.1768738031387329, -0.3210752606391907, 0.12699905037879944, 0.06372580677270889, 0.33616194128990173, 0.2258184552192688, -0.3484591245651245, -0.1368052214384079, -0.28096550703048706, 0.888370931148529, 0.9442916512489319, -0.2426510602235794, 0.594359815120697, -0.0680769681930542, 0.2640877366065979, 0.6832873225212097, 0.13198301196098328, -0.8565782308578491, -0.21078503131866455, -0.6806322932243347, -0.6340502500534058, 0.054813601076602936, 0.02122822031378746, -1.1634224653244019, 0.09851152449846268, -0.28803136944770813, -0.099614217877388, -0.21100006997585297, 0.3048687279224396, 0.3067382872104645, 0.4224669337272644, 0.1906002312898636, -0.3344443738460541, -0.23840218782424927, -1.0523887872695923, 0.05897302180528641, -0.16768419742584229, 0.003920131828635931, 0.024658357724547386, 0.760485827922821, -0.47621530294418335, 0.9165626168251038, -0.17993071675300598, -0.06102454289793968, -0.18192723393440247, 0.17001308500766754, 0.09272008389234543, 0.3391697108745575, 0.2500858008861542, -1.122205376625061, 0.1798340380191803, 0.11839304119348526, -0.85279780626297, 0.4586378037929535, -0.32869231700897217, 0.2189459651708603, -0.04290744662284851, 0.6943526864051819, -0.6617267727851868, 0.18420793116092682, 0.37321433424949646, -0.5632551908493042, 0.3579345643520355, -0.3702777922153473, -0.12801992893218994, -1.3999701738357544, -0.20669260621070862, 0.007763692177832127, -0.3633672297000885, -0.20744308829307556, 0.6141001582145691, 0.20624053478240967, -0.1570182889699936, -0.47514259815216064, 0.6049595475196838, -0.3991517424583435, -0.07055150717496872, -0.020923122763633728, 0.15283720195293427, 0.2565343677997589, 0.3942956030368805, -0.07871821522712708, 0.5512450933456421, 0.6220255494117737, -0.5786219835281372, 0.6368383169174194, 0.1131376326084137, -0.5393206477165222, 0.7926765084266663, -0.5897386074066162, -0.30138421058654785, -0.6597998738288879, 0.24546316266059875, -1.2316160202026367, -0.3616703450679779, 0.07785230129957199, -0.4156576991081238, 0.10566103458404541, 0.04138597100973129, -0.5741594433784485, -0.13501499593257904, -0.1461038738489151, 0.28284919261932373, 0.10781966149806976, -0.7241120338439941, 0.9406111836433411, 0.2801952362060547, 0.1074945256114006, -0.49334487318992615, -0.6115826964378357, 0.17093616724014282, -0.44307848811149597, -0.47974270582199097, 0.160421684384346, -0.36773374676704407, -0.46157822012901306, 0.03200678154826164, -0.10166920721530914, -0.3799954652786255, 0.3084626793861389, 0.5641249418258667, 0.06896273791790009, -0.28923338651657104, 0.8239186406135559, -0.1763262301683426, -0.0664241686463356, 0.19160029292106628, -0.14226095378398895, 0.39406734704971313, -0.0274935495108366, -0.45393332839012146, -0.45225805044174194, 0.365344762802124, 0.9704776406288147, -0.1870090216398239, 0.8166192770004272, 0.8043420910835266, -0.29566720128059387, -0.1595446914434433, -0.1566442847251892, -0.028776826336979866, -0.451430082321167, 0.5452595353126526, -0.8012372851371765, -0.5246178507804871, 0.6197697520256042, -0.3075588643550873, -0.15838657319545746, 0.46837979555130005, 0.6802167296409607, -0.2671833038330078, 0.9955521821975708, 0.7978321313858032, 0.2910507023334503, 0.408409982919693, -0.2723918855190277, 0.09923402220010757, -0.5888194441795349, -0.7446461915969849, -0.02887159027159214, -0.2058725357055664, -0.19554609060287476, -0.7839483618736267, 0.31304365396499634, 0.27806004881858826, -0.24148176610469818, -0.22936800122261047, -0.01901656575500965, 0.40680360794067383, 0.35617896914482117, 0.14274448156356812, 0.3493189513683319, -0.15983381867408752, -0.6082484126091003, 0.10696770995855331, -0.38225117325782776, -0.44543907046318054, 1.1484253406524658, 0.6605508327484131, 0.8480212092399597, 0.45091521739959717, 0.33065471053123474, 0.17972134053707123, 0.045675262808799744, -1.0550464391708374, 0.26327478885650635, 0.09718035906553268, -0.7402958869934082, -0.13742035627365112, -0.45419231057167053, -0.5488280653953552, 0.5859895348548889, -0.42799949645996094, -0.5520526170730591, 0.05283743888139725, -0.14062435925006866, -0.2771548926830292, 0.27517008781433105, -0.96165931224823, 0.9489616751670837, -0.33857208490371704, -0.1034097969532013, -0.5776680707931519, -0.6830706596374512, 0.5206606388092041, -0.3501662611961365, 0.8290943503379822, 0.014663158915936947, -0.2427011877298355, 0.672673761844635, -0.39650359749794006, 0.9989185929298401, -0.1363486498594284, -0.3646495044231415, 0.09348877519369125, 0.02113277278840542, -0.07245926558971405, 0.3747848570346832, 0.058150142431259155, 0.016966918483376503, 0.36609113216400146, -0.21704812347888947, -0.9533005952835083, 0.6510211229324341, -0.7041164040565491, -0.30217644572257996, -0.09253682941198349, -0.8341429829597473, -0.1970255821943283, 0.266437828540802, -0.20008955895900726, 0.8933997750282288, -0.030807549133896828, 0.300959050655365, 0.6187096238136292, -0.31650859117507935, 0.5720195770263672, 0.3228662610054016, -0.4607684314250946, -0.23985236883163452, 0.9638247489929199, -0.1008693128824234, 0.2846890091896057, 0.47924181818962097, 0.19773069024085999, -0.6396329402923584, -0.4496346116065979, -0.5024099946022034, 0.03906835615634918, -0.9891057014465332, 0.09340783208608627, -0.30930420756340027, 0.1991422176361084, -0.09101355075836182, -0.10258965194225311, -0.11298803985118866, -0.5437191128730774, -0.270114928483963, -0.25961431860923767, 0.08933427929878235, 0.8478954434394836, -0.11653690785169601, 0.431949257850647, -0.6044614315032959, 0.8577381372451782, 0.4306269884109497, 0.5126884579658508, 0.14274995028972626, -0.4822852611541748, -0.34661227464675903, 0.3328210115432739, -0.14002001285552979, -0.6952997446060181, 0.15795138478279114, 0.2276611477136612, 0.6435167789459229, 0.8203027248382568, -0.11799163371324539, 0.8544341325759888, -0.44660380482673645, 0.8211257457733154, 0.7512767910957336, -1.264775276184082, 0.2284787893295288, -0.0991288274526596, -0.01653994992375374, 0.16108089685440063, 0.18198205530643463, -0.6614692807197571, 0.10981964319944382, -0.47446924448013306, -0.7946112155914307, 0.35878586769104004, -0.20325544476509094, 0.42997267842292786, -0.07179291546344757, 0.36470669507980347, 0.35001370310783386, 0.3007917106151581, -0.7309072017669678, -0.2226688265800476, -0.5120748281478882, -0.566661536693573, -0.5764963030815125, -0.42122840881347656, -0.3559820353984833, -0.15997080504894257, 0.05192282050848007, -0.3881368935108185, 0.2635074257850647, -0.03277994319796562, -0.6254751682281494, 0.1871606856584549, 0.310005247592926, 0.6378375887870789, 1.0905402898788452, -0.20063969492912292, 0.7147515416145325, -0.09723585844039917, -0.10660409182310104, 0.16640540957450867, -0.17598509788513184, 0.32057812809944153, 0.0570087730884552, 0.5812205672264099, 0.7867001295089722, 0.4275261461734772, -0.9842483401298523, 0.7205833792686462, -0.013630250468850136, -0.05450534075498581, -0.32044607400894165, -0.30288365483283997, 0.352222740650177, 0.46248987317085266, 0.42450588941574097, -0.04550949111580849, -0.10692098736763, -1.016013264656067, 0.21692177653312683, 0.5601680278778076, -0.35714563727378845, -0.46976423263549805, 0.6983668208122253, 0.2231280356645584, 0.17378680408000946, 0.14955158531665802, -0.15266340970993042, -0.28407761454582214, 0.647040605545044, 0.4876335859298706, 0.2352733463048935, 0.10247824341058731, 0.39731597900390625, 0.04568026214838028, 0.16352736949920654, 0.06589321792125702, 0.24396854639053345, -0.19291996955871582, -0.9115641713142395, -0.42937377095222473, -0.571626603603363, -0.22763878107070923, 0.056398872286081314, -0.6889813542366028, -0.031569261103868484, -0.43552348017692566, 0.03259893134236336, 0.2994310259819031, -0.48240140080451965, -0.5616507530212402, 0.3580833077430725, 0.36771976947784424, 0.9121096134185791, -0.7754585146903992, 0.6324493885040283, 0.7294527292251587, -0.6798734068870544, -0.6637255549430847, -0.21415838599205017, 0.20981517434120178, -1.155569076538086, 1.0726314783096313, 0.16298751533031464, 0.06420084834098816, -0.11954128742218018, -0.28912779688835144, -0.7282364964485168, 1.084002137184143, 0.27444109320640564, -0.3100561499595642, -0.29886430501937866, 0.11731108278036118, 0.21775464713573456, -0.38658320903778076, 0.4704197347164154, 0.1630426049232483, 0.4892551898956299, 0.24760212004184723, -0.9148625135421753, -0.03868051618337631, -0.01988879218697548, -0.013937577605247498, -0.24182459712028503, -0.3473881483078003, 1.0888643264770508, -0.3284088671207428, -0.20308014750480652, -0.0489472970366478, 0.5531112551689148, -0.0724499300122261, 0.42344143986701965, 0.5599738359451294, 0.4532611072063446, 0.766664981842041, 0.10878553986549377, 0.9631410837173462, -0.14790219068527222, 0.5631038546562195, 0.6665435433387756, 0.11519370973110199, 0.7208035588264465, 0.8206363916397095, 0.05748709663748741, 0.4963405132293701, 0.6159871220588684, 0.4642171561717987, 0.6147444844245911, 0.23251734673976898, -0.07645419985055923, -0.42534253001213074, -0.18678922951221466, -0.27364975214004517, 0.7519469857215881, 0.5959089398384094, -0.6424560546875, -0.42843881249427795, 0.3775429129600525, -0.23025795817375183, -0.10499259829521179, -0.692457377910614, 0.7256172895431519, 0.2542707920074463, -0.03521835431456566, 0.5910282135009766, 0.09294621646404266, 0.7825450301170349, -0.6069048643112183, -0.03260786086320877, 0.07534509152173996, 0.391157329082489, -0.12056449800729752, -0.7470912337303162, 0.15994462370872498, -0.3831469714641571, -0.2870436906814575, -0.36471477150917053, 0.3361450135707855, -0.4309247136116028, -0.5203078389167786, 0.1491617113351822, 0.7349098324775696, 0.14745548367500305, -0.021085649728775024, -0.5766851902008057, 0.04036710038781166, -0.30005839467048645, 0.04119006171822548, 0.23919367790222168, 0.8624454140663147, -0.04400353878736496, 0.924178421497345, 0.5741171836853027, -0.1466829478740692, 0.018695753067731857, 0.02411280944943428, 0.7954209446907043, -0.7918579578399658, -0.5065349340438843, -0.8126034736633301, 0.569673478603363, 0.19997529685497284, -0.16945740580558777, 0.6986955404281616, 0.2732203006744385, 0.6259952187538147, -0.10320229828357697, 0.6949710249900818, 0.030186202377080917, 0.3943902254104614, -0.8617040514945984, 0.654773473739624, -0.8862724900245667, 0.06766879558563232, -0.16095614433288574, -0.6360794901847839, -0.14338386058807373, 0.7516188621520996, 0.22124218940734863, -0.12274237722158432, 0.8853940367698669, 0.6413427591323853, -0.34775277972221375, -0.09850502014160156, 0.5546746850013733, 0.3662535548210144, 0.30343422293663025, 0.4951213002204895, 1.0904455184936523, 0.024131039157509804, 0.3515297472476959, -0.01656588353216648, -0.11725667864084244, -0.1058550477027893, -0.8083412647247314, -0.8897448182106018, -0.9931498765945435, 0.05746367201209068, -0.16310320794582367, -0.21444714069366455, 0.8626200556755066, 0.6828973889350891, -0.4960302412509918, -0.02461962029337883, 0.17859362065792084, 0.2962600290775299, -0.19599883258342743, -0.1850496381521225, 0.30910998582839966, -0.35412660241127014, -0.5545914173126221, 0.5285682082176208, 0.059959642589092255, -0.042550187557935715, -0.527972400188446, -0.25909218192100525, 0.060108378529548645, 0.11777610331773758, 0.9794022440910339, -0.15838587284088135, -0.9392868876457214, -0.4981240928173065, -0.2169572412967682, 0.1786833554506302, -0.08596187829971313, 0.875548243522644, -0.8147936463356018, 0.7149993777275085, 0.07571050524711609, 0.5876032114028931, 0.20385602116584778, -0.2317928671836853, 0.3700558543205261, -0.6065686941146851, 0.360937237739563, -0.19657430052757263, 0.7160703539848328, 0.23815734684467316, 0.05479968339204788, 0.20599815249443054, 0.3857153058052063, 0.24410030245780945, -0.8145314455032349, 0.44481006264686584, -1.198500156402588, -0.6711386442184448, 1.1919595003128052, -0.15006935596466064, -0.07799338549375534, -0.2925393581390381, -0.10418635606765747, 0.12898243963718414, -0.08965907990932465, 0.598067045211792, 0.753152072429657, 0.31643638014793396, -0.37656617164611816, -0.6092469692230225, 0.0447557233273983, 0.20562990009784698, -0.60251784324646, 0.1037469282746315, 0.5781311392784119, 0.5317050814628601, 0.38303977251052856, 0.303245484828949, -0.22855141758918762, -0.0723843201994896, -0.1016855388879776, 0.07951956242322922, -0.4650894105434418, -0.24797429144382477, -0.5402355194091797, 0.3422752916812897, 0.09887456148862839, -0.37965521216392517 ]
http://arxiv.org/abs/2406.08068v1
http://arxiv.org/pdf/2406.08068v1
Large Language Models Meet Text-Centric Multimodal Sentiment Analysis: A Survey
2024-06-12T10:36:27
2024-06-12T10:36:27
Hao Yang, Yanyan Zhao, Yang Wu, Shilong Wang, Tian Zheng, Hongbo Zhang, Wanxiang Che, Bing Qin
cs.CL
cs.CL
Compared to traditional sentiment analysis, which only considers text, multimodal sentiment analysis needs to consider emotional signals from multimodal sources simultaneously and is therefore more consistent with the way how humans process sentiment in real-world scenarios. It involves processing emotional information from various sources such as natural language, images, videos, audio, physiological signals, etc. However, although other modalities also contain diverse emotional cues, natural language usually contains richer contextual information and therefore always occupies a crucial position in multimodal sentiment analysis. The emergence of ChatGPT has opened up immense potential for applying large language models (LLMs) to text-centric multimodal tasks. However, it is still unclear how existing LLMs can adapt better to text-centric multimodal sentiment analysis tasks. This survey aims to (1) present a comprehensive review of recent research in text-centric multimodal sentiment analysis tasks, (2) examine the potential of LLMs for text-centric multimodal sentiment analysis, outlining their approaches, advantages, and limitations, (3) summarize the application scenarios of LLM-based multimodal sentiment analysis technology, and (4) explore the challenges and potential research directions for multimodal sentiment analysis in the future.
[ -0.5785481929779053, -0.8521597981452942, 0.6177898049354553, 0.45607513189315796, -0.1921803504228592, 0.03163076564669609, -0.5574131608009338, -0.599664032459259, 0.2176143229007721, 0.26636868715286255, -0.7090125679969788, -0.40639567375183105, -0.7533595561981201, 0.08845021575689316, -0.16376538574695587, 0.8973067998886108, 0.060975972563028336, 0.33561140298843384, -0.3320316970348358, -0.31787100434303284, -0.4191582202911377, -0.9305353760719299, -0.5818990468978882, -0.14245668053627014, 0.8191632032394409, 0.34967130422592163, 0.48875200748443604, -0.2814158499240875, 0.6972225308418274, 0.36102935671806335, -0.05711917579174042, -0.047564104199409485, -0.17194409668445587, 0.39172807335853577, 0.13614927232265472, -0.2882919907569885, -0.7611250281333923, 0.15186171233654022, 0.5253925919532776, 0.40630200505256653, 0.02669314295053482, -0.11319553852081299, -0.23942288756370544, 0.6056682467460632, -0.4261624813079834, 0.22905166447162628, -0.33789557218551636, 0.2804328203201294, -0.10535279661417007, -0.2834642827510834, -0.5351556539535522, -0.14015649259090424, 0.24714909493923187, 0.10222554206848145, -0.2489200234413147, -0.004556505475193262, 0.2830706536769867, 0.07743322104215622, -0.9536128640174866, -0.4803609848022461, -0.5751489400863647, 1.1661983728408813, -0.7150862216949463, 0.6680168509483337, -0.19357863068580627, 0.12455420196056366, 0.04968627914786339, -0.4317018389701843, -0.6584939360618591, -0.40558332204818726, 0.15560369193553925, 0.34966129064559937, -0.07664698362350464, -0.03327810764312744, 0.08463908731937408, 0.4261976480484009, -0.6460739970207214, 0.09511704742908478, 0.052355412393808365, -0.009272859431803226, 0.5992922782897949, 0.2987689673900604, 0.48221853375434875, -0.4647656977176666, -0.6760164499282837, -0.19286128878593445, -0.30629122257232666, 0.004295085556805134, 0.11529698222875595, 0.09674973785877228, -0.279747873544693, 0.6676840782165527, -0.020358530804514885, 0.6606868505477905, -0.35786712169647217, -0.37551480531692505, 0.3659612834453583, -0.34753847122192383, -0.2194991260766983, -0.04943817853927612, 1.0830096006393433, 0.8308345675468445, 0.34808406233787537, 0.20538176596164703, -0.23918455839157104, 0.11266578733921051, -0.04122007265686989, -0.8749069571495056, 0.06073262542486191, 0.4204765856266022, -0.6523546576499939, -0.21301928162574768, -0.26843714714050293, -1.3014758825302124, -0.7559928894042969, -0.48207053542137146, 0.14432208240032196, -0.23254574835300446, -0.5798256993293762, 0.15999913215637207, -0.18764640390872955, 0.3374086618423462, 0.36583638191223145, -0.7812108397483826, -0.07905681431293488, 0.6285656094551086, 0.9271930456161499, -0.15338151156902313, -0.10159789025783539, -0.0613236203789711, -0.3676801919937134, 0.030801057815551758, 0.8791779279708862, -0.7144059538841248, -0.45314496755599976, 0.12488140165805817, -0.03872044011950493, -0.277084618806839, -0.06366609781980515, 0.6279783844947815, -0.5556210875511169, 0.39751771092414856, -0.31927594542503357, -0.3268078863620758, -0.22722871601581573, 0.815019428730011, -0.7008235454559326, 0.7983408570289612, -0.30278217792510986, -0.9052150845527649, 0.14719286561012268, -0.6524118781089783, -0.2948873043060303, -0.36121487617492676, 0.012084138579666615, -0.24159017205238342, 0.3158837854862213, 0.31418898701667786, 0.8197959661483765, -0.5177590847015381, 0.027886750176548958, -0.5469908118247986, 0.09219077974557877, 0.868182361125946, -0.7300290465354919, 0.43909215927124023, 0.32910585403442383, 0.030476722866296768, 0.20396709442138672, -0.5903013348579407, 0.0734991505742073, -0.035429954528808594, -0.28868579864501953, -0.3271254599094391, 0.12768130004405975, 0.5443357825279236, 0.5539426803588867, 0.44366103410720825, -0.6962870359420776, 0.3380957543849945, -0.005002664402127266, 0.5604190826416016, 0.6183863878250122, -0.057105984538793564, 0.46967723965644836, 0.02145806886255741, 0.7179281115531921, 0.014116914011538029, 0.19578957557678223, -0.4250938892364502, -0.4419759511947632, -0.5735218524932861, -0.463816374540329, -0.002456646878272295, 0.4051774740219116, -0.5893792510032654, -0.08611776679754257, -0.2616514265537262, -0.5584233999252319, -0.21691517531871796, -0.17229604721069336, -0.021808529272675514, 0.17819762229919434, 0.050613630563020706, -0.2448350340127945, -0.6783461570739746, -0.7032670974731445, -0.24375854432582855, -0.09793145209550858, 0.38164234161376953, 0.23634156584739685, 0.3237312138080597, -0.5325061082839966, 0.7376694679260254, -0.5038043856620789, -0.22412078082561493, -0.549098014831543, 0.29183855652809143, 0.07633710652589798, -0.017482656985521317, 0.537947952747345, -1.08305823802948, -0.5680442452430725, 0.1869223564863205, -0.6626797914505005, 0.07749015092849731, -0.01195412315428257, 0.24746914207935333, 0.3769460618495941, 0.4806397557258606, -0.8618205785751343, -0.2303362488746643, 1.0820136070251465, -0.15473532676696777, 0.45310482382774353, 0.05119879171252251, 0.4045562148094177, -1.1576045751571655, -0.04713894799351692, 0.24780622124671936, -0.17680245637893677, -0.6469558477401733, -0.07570534944534302, 0.12167820334434509, -0.12176258116960526, -0.4027843773365021, 0.5397093892097473, -0.49536779522895813, -0.019522061571478844, -0.476163774728775, 0.17383749783039093, -0.14961329102516174, 0.2740871012210846, 0.1741846352815628, 0.5086061954498291, 0.4095275104045868, -0.07841094583272934, 0.6951754093170166, 0.039169616997241974, -0.18277397751808167, 0.7123598456382751, -0.41866475343704224, 0.08072809875011444, -0.3558495342731476, 0.42245426774024963, -1.3140311241149902, -0.3442580997943878, 0.10144072771072388, -0.4816395342350006, 0.26794859766960144, 0.11773224174976349, -0.5036951303482056, -0.2366781383752823, -0.6039264798164368, 0.37884825468063354, 0.29358312487602234, -0.3810141980648041, 0.7658320069313049, 0.4056914448738098, -0.4905032813549042, -0.4982050061225891, -0.5274490714073181, 0.2522958815097809, -0.25506916642189026, -0.712539553642273, -0.1475224643945694, -0.29722851514816284, -0.3363298773765564, -0.19673225283622742, 0.20374298095703125, -0.10186458379030228, -0.1653939038515091, 0.38166889548301697, 0.4156828224658966, -0.19424861669540405, 0.36434194445610046, -0.3865703046321869, -0.10915293544530869, 0.18147394061088562, 0.13267317414283752, 0.7342165112495422, -0.34553152322769165, -0.2312798798084259, -0.27215850353240967, 0.4883177876472473, 1.0563738346099854, -0.49479255080223083, 0.5910115242004395, 0.9478992223739624, -0.06237323209643364, -0.04706450551748276, -0.6720314621925354, -0.020898377522826195, -0.3954113721847534, 0.6748619079589844, -0.17339454591274261, -1.0669748783111572, 0.0966062992811203, -0.043303173035383224, -0.03949947655200958, 0.2629789710044861, 1.0338646173477173, -0.15617243945598602, 1.1957143545150757, 0.709200382232666, -0.3811012804508209, 0.7775264978408813, 0.20566783845424652, 0.4469820559024811, -0.705851137638092, -0.1279730647802353, -0.48821523785591125, -0.31095272302627563, -0.7226569056510925, -0.26186221837997437, 0.3908122181892395, -0.6403428316116333, 0.11588411778211594, -0.1643674224615097, -0.19340066611766815, 0.005391025450080633, 0.07434951514005661, -0.10240060091018677, 0.22101908922195435, 0.060387708246707916, 0.2032376527786255, -0.11302625387907028, -0.4930545389652252, -0.36141547560691833, 0.9182676076889038, 0.5372564196586609, 0.7494994401931763, 0.053157348185777664, 0.24652478098869324, 0.19751957058906555, 0.5152496695518494, -1.1547918319702148, 0.6156566739082336, -0.2536827623844147, -0.5985864400863647, -0.05919857323169708, -0.43592411279678345, -0.5917263031005859, 0.4816407561302185, -0.2291376292705536, -0.5415548086166382, -0.06791237741708755, -0.11654942482709885, 0.08258478343486786, 0.11879912763834, -0.7616752982139587, 0.8879060745239258, -0.20624640583992004, -0.10334500670433044, -0.18614549934864044, -0.4663621783256531, 0.534546971321106, -0.08331982791423798, 0.6101115942001343, -0.21703080832958221, 0.027991309762001038, 0.5359162092208862, 0.07341191172599792, 0.9218368530273438, -0.24583576619625092, -0.44571083784103394, 0.2971205413341522, -0.19033822417259216, 0.29445749521255493, 0.05753176286816597, -0.2019144594669342, -0.028638053685426712, 0.09726640582084656, -0.01918526366353035, -0.5177024602890015, 1.014129638671875, -0.7304240465164185, -0.3488631248474121, -0.6225787997245789, -0.6134584546089172, -0.46199101209640503, -0.14245644211769104, 0.011012449860572815, 0.4115533232688904, -0.18295839428901672, 0.379019170999527, 0.6765546798706055, -0.15884841978549957, 0.7750076055526733, 0.23149317502975464, -0.3379491865634918, -0.4959096610546112, 0.8323415517807007, -0.10311312973499298, 0.18034696578979492, 0.5869002342224121, 0.2354937344789505, -0.47234317660331726, -0.25370296835899353, -0.2703252136707306, 0.22614793479442596, -0.6385420560836792, 0.008533802814781666, -0.6955872178077698, 0.06607484817504883, -0.29988083243370056, 0.04324451461434364, -0.47898340225219727, -0.07055980712175369, 0.03846459090709686, 0.11306041479110718, 0.45143041014671326, 0.48237642645835876, 0.24916358292102814, 0.2860390245914459, -1.1111263036727905, 0.3095014691352844, 0.37457844614982605, 0.21812844276428223, -0.004460208583623171, -0.09628503769636154, 0.05531996488571167, 0.07369350641965866, -0.034469038248062134, -0.9274380207061768, 0.5463313460350037, -0.035011228173971176, 0.07722662389278412, 0.30905982851982117, -0.21022915840148926, 0.3930053114891052, -0.37219366431236267, 0.9771956205368042, 0.5061274170875549, -0.7286684513092041, 0.08549017459154129, -0.42169010639190674, 0.34194865822792053, 0.09843213856220245, 0.4468734562397003, -1.0913972854614258, 0.05847971513867378, 0.1327299326658249, -0.6272056698799133, 0.4339492917060852, -0.19550247490406036, 0.4017183184623718, -0.023639759048819542, -0.0035147606395184994, -0.028046689927577972, 0.28874334692955017, -1.0295616388320923, 0.16508100926876068, -0.05249684676527977, -0.5756820440292358, -0.429777592420578, -0.564885139465332, 0.22770769894123077, 0.1996258944272995, 0.3309279978275299, -0.14673404395580292, 0.47079983353614807, 0.07277826964855194, -0.08687236905097961, -0.021054066717624664, 0.7076236605644226, 0.48634040355682373, 0.31158962845802307, -0.19669808447360992, 0.2744901478290558, 0.007567967288196087, -0.4478834867477417, 0.1091376543045044, -0.15688486397266388, 0.2128918617963791, -0.0959983542561531, 0.3749520480632782, 0.6390964388847351, 0.26609668135643005, -0.9170724153518677, 0.8205769658088684, -0.1806885153055191, 0.040001776069402695, -0.36788657307624817, -0.3661896884441376, 0.2299274057149887, 0.34575968980789185, 0.09265369176864624, 0.022059831768274307, 0.06294722110033035, -0.7629238367080688, -0.24576427042484283, 0.7351118326187134, -0.7360556721687317, -0.5280442833900452, 0.19362378120422363, 0.12251847237348557, 0.1202206015586853, 0.47770199179649353, 0.09250392019748688, -0.5467537045478821, 0.43048545718193054, 0.3435691297054291, 0.8513200283050537, -0.2008567452430725, 0.08253971487283707, 0.02086137793958187, 0.10160840302705765, -0.08831708133220673, 0.4780108630657196, 0.23621882498264313, -0.7001034021377563, -0.7230895161628723, -0.683989942073822, -0.49289941787719727, -0.08503471314907074, -0.3352804183959961, 0.21033677458763123, -0.29964882135391235, -0.2814951241016388, -0.04163632541894913, -0.23059003055095673, -0.5173594951629639, 0.5235154032707214, 0.5636847615242004, 0.5337387323379517, -0.6489444375038147, 0.669187068939209, 0.9416136741638184, -0.2001734972000122, -0.36252307891845703, -0.16506488621234894, 0.19325804710388184, -0.4353925287723541, 0.5373764634132385, 0.257904052734375, -0.18111982941627502, -0.29597800970077515, -0.548086941242218, -0.44682326912879944, 0.8459275960922241, -0.01390941720455885, -0.5856500267982483, 0.0817125216126442, 0.2414395660161972, 0.7143863439559937, -0.30625951290130615, 0.5325131416320801, 0.2891659140586853, 0.5715047717094421, 0.029072102159261703, -0.8371652364730835, -0.1937766820192337, -0.31954336166381836, -0.19450408220291138, 0.3631463646888733, -0.9493914842605591, 1.151780366897583, 0.29934921860694885, 0.08763644099235535, -0.015233928337693214, 0.4612685441970825, 0.030498307198286057, 0.4246971905231476, 0.5671343207359314, 0.3433629274368286, 0.2375439703464508, 0.1256720870733261, 1.0307157039642334, -0.2960098385810852, 0.4824455976486206, 0.7242677211761475, -0.4504045844078064, 1.0969500541687012, 0.6263104677200317, -0.14544612169265747, 0.2745896279811859, 0.4379619061946869, 0.05862666666507721, 0.14025931060314178, -0.199354887008667, -0.5125063061714172, -0.39999285340309143, -0.1869180053472519, -0.3855411112308502, 0.6400220394134521, 0.38257962465286255, -0.15146508812904358, -0.18604041635990143, 0.40526723861694336, 0.028610574081540108, -0.17800500988960266, -0.40797463059425354, 0.6221778392791748, 0.22509965300559998, -0.40629851818084717, -0.058612048625946045, 0.16733576357364655, 0.9230283498764038, -0.7381990551948547, 0.1973210722208023, -0.11630237847566605, 0.2801375389099121, -0.2030637562274933, -0.8275217413902283, 0.03298507258296013, 0.12442313879728317, -0.26380911469459534, -0.4237039387226105, 0.9493423700332642, -0.18658514320850372, -0.39116203784942627, 0.4084310829639435, 0.6411178708076477, -0.09766023606061935, -0.46399158239364624, -0.456474244594574, 0.34024578332901, 0.03253411129117012, -0.6550526022911072, 0.46266576647758484, 0.6970175504684448, 0.04537556320428848, 0.6803827285766602, 0.603449285030365, -0.2168286144733429, 0.16542206704616547, 0.14080698788166046, 0.8014270067214966, -0.9075921773910522, -0.24242469668388367, -1.019858956336975, 0.5131575465202332, 0.0662526935338974, -0.2765727937221527, 0.9059762954711914, 0.28936606645584106, 0.35078486800193787, -0.3274345099925995, 0.9077897071838379, -0.16416698694229126, 0.3780149519443512, -0.5237048268318176, 0.564256489276886, -0.7665644288063049, -0.19202806055545807, -0.5127741694450378, -1.072221040725708, -0.38309359550476074, 0.3137856125831604, -0.3851344883441925, 0.03625285252928734, 0.7195349931716919, 0.6853179335594177, 0.06733241677284241, 0.35022929310798645, 0.32189011573791504, 0.24773168563842773, 0.42205512523651123, 0.5436854362487793, 1.4254815578460693, -0.11136007308959961, 0.4225563406944275, -0.02731591835618019, -0.1743699610233307, -0.36256033182144165, -0.9663825631141663, -0.9442664980888367, -0.5166404843330383, -0.17833057045936584, 0.057548120617866516, -0.32483696937561035, 1.1113663911819458, 0.3974866271018982, -0.513206958770752, -0.1732366532087326, 0.2878339886665344, -0.03147486597299576, 0.23510147631168365, -0.1828528195619583, 0.07502949237823486, -0.4134751558303833, -0.9603271484375, 0.259032279253006, 0.4136466681957245, -0.10187230259180069, -0.38099971413612366, 0.06033409386873245, -0.050912316888570786, 0.1444685459136963, 1.1780779361724854, -0.077996626496315, -0.49321773648262024, -0.3778778910636902, 0.29888394474983215, -0.293832927942276, 0.14547297358512878, 0.9974291324615479, -0.2527773976325989, 0.47220391035079956, 0.7342819571495056, 0.4782777726650238, 0.39783456921577454, -0.34550562500953674, 0.29931575059890747, -0.47722703218460083, 0.21202486753463745, 0.12381542474031448, 0.46681496500968933, 0.40550854802131653, -0.008952399715781212, 0.03177499398589134, 0.0470246821641922, -0.5907928943634033, -0.5791881084442139, 0.23748517036437988, -1.5989515781402588, -0.21672329306602478, 1.340445876121521, 0.1020074114203453, -0.13838398456573486, 0.2845478951931, -0.6734936237335205, -0.05700693279504776, -0.33807289600372314, 0.5540704727172852, 0.9727745652198792, -0.05413360893726349, -0.505282998085022, -0.5584878921508789, 0.055456168949604034, 0.3950963020324707, -0.8659564256668091, 0.06480483710765839, 0.6502622365951538, 0.05991586670279503, 0.06951164454221725, 0.5559683442115784, -0.1958150416612625, -0.05233362317085266, -0.2292981892824173, 0.20815487205982208, 0.25475943088531494, -0.15690667927265167, -0.53342205286026, 0.7039234042167664, 0.2020798921585083, 0.05417763069272041 ]
http://arxiv.org/abs/2406.08055v1
http://arxiv.org/pdf/2406.08055v1
Learning Job Title Representation from Job Description Aggregation Network
2024-06-12T10:12:52
2024-06-12T10:12:52
Napat Laosaengpha, Thanit Tativannarat, Chawan Piansaddhayanon, Attapol Rutherford, Ekapol Chuangsuwanich
cs.CL
cs.CL
Learning job title representation is a vital process for developing automatic human resource tools. To do so, existing methods primarily rely on learning the title representation through skills extracted from the job description, neglecting the rich and diverse content within. Thus, we propose an alternative framework for learning job titles through their respective job description (JD) and utilize a Job Description Aggregator component to handle the lengthy description and bidirectional contrastive loss to account for the bidirectional relationship between the job title and its description. We evaluated the performance of our method on both in-domain and out-of-domain settings, achieving a superior performance over the skill-based approach.
[ -0.14762437343597412, -0.2145971804857254, 0.3584369122982025, -0.013435903936624527, -0.468365341424942, -0.006722761318087578, -0.09701810777187347, -0.5617964863777161, 0.4300135374069214, 0.5850962400436401, -0.5708200931549072, -0.14210478961467743, -0.7366746068000793, 0.17835360765457153, -0.24210456013679504, 0.9371645450592041, 0.09594469517469406, -0.08745328336954117, -0.6741067171096802, 0.0184251070022583, -0.6733471751213074, -0.1517392247915268, -1.0951495170593262, -0.6552608013153076, 0.5709912180900574, 0.23773500323295593, 0.5899755954742432, 0.8114542961120605, 0.5596399307250977, 0.262969434261322, 0.008064089342951775, 0.22408610582351685, -0.2698434591293335, 0.18461991846561432, -0.5635085701942444, -0.2980172336101532, -0.43584808707237244, 0.12629485130310059, 0.8489301800727844, 1.2305617332458496, -0.25510266423225403, 0.27297720313072205, 0.11713221669197083, 0.7601478099822998, -0.6267821788787842, 0.5925559997558594, -0.49178749322891235, 0.2643044590950012, -0.281043142080307, -0.29588544368743896, -0.36713987588882446, 0.16381078958511353, 0.3017231523990631, -0.6162184476852417, 0.20572158694267273, -0.04374028742313385, 0.8503722548484802, 0.13426826894283295, -0.745061993598938, -0.15519016981124878, -0.8706344962120056, 0.7251367568969727, -0.25201112031936646, 0.46554994583129883, 0.5865776538848877, 0.6296935677528381, 0.44481584429740906, -0.5048509240150452, -0.2794817388057709, 0.20661313831806183, -0.3791574239730835, 0.604932963848114, 0.43847039341926575, 0.22410893440246582, -0.15329457819461823, 0.522309422492981, -0.35952523350715637, 0.3889453709125519, -0.5487779974937439, 0.06230958178639412, 0.8762044310569763, 0.4132762849330902, -0.20406441390514374, -0.09679802507162094, -0.5518435835838318, -0.23176628351211548, -0.4928429424762726, 0.09320062398910522, 0.559532105922699, 0.5215731859207153, -0.014231935143470764, 0.4740872383117676, -0.35627099871635437, 0.7048554420471191, -0.14114125072956085, -0.3707841634750366, 0.11326485127210617, 0.06014000624418259, -0.5194527506828308, 0.14186923205852509, 0.2638474702835083, 0.33920618891716003, -0.37297528982162476, -0.4538160562515259, -0.20326749980449677, -0.4179081320762634, 0.7310796976089478, -0.5127174258232117, 0.05175282806158066, -0.11794927716255188, -0.6773985028266907, -0.2151542752981186, 0.19720782339572906, -0.5402470827102661, -0.6779631972312927, -0.4422493875026703, 0.3313157260417938, -0.2015172392129898, -0.12469368427991867, -0.22540242969989777, -0.2991626262664795, 0.4152475595474243, 0.4629868268966675, -0.6326315402984619, 0.18400226533412933, 0.649071991443634, 0.7914207577705383, -0.3073967695236206, -0.1908963918685913, -0.44238921999931335, 0.44006407260894775, -0.1809997260570526, 0.4221356511116028, -0.645757794380188, -0.4842875897884369, 0.06605389714241028, 0.17675146460533142, -0.43137267231941223, -0.6471618413925171, 0.1340906023979187, -1.1908433437347412, 0.19501449167728424, 0.13904239237308502, -0.618356466293335, -0.5043489933013916, 0.132737934589386, -0.8483050465583801, 0.6819948554039001, 0.431603342294693, -0.8176038265228271, 0.35780155658721924, -0.652186930179596, -0.359141081571579, 0.17912930250167847, -0.2531711161136627, -0.45876339077949524, -0.01561648678034544, -0.14811007678508759, 0.6752997636795044, -0.1165836751461029, 0.03375132381916046, 0.11044558882713318, -0.6098916530609131, -0.0034112681169062853, -0.06356124579906464, 0.9443678259849548, -0.045931924134492874, -0.044170815497636795, -0.2810964584350586, -0.45289209485054016, -0.51664799451828, 0.176142156124115, -0.5045288801193237, -0.574736475944519, 0.02294114977121353, -0.3869371712207794, 0.14273998141288757, 0.2335192859172821, -0.1901160329580307, 0.009503018110990524, -0.4508720636367798, -0.5727423429489136, 0.7317525744438171, -0.09979742020368576, 0.7215150594711304, -0.18792858719825745, 0.8845213651657104, 0.18784396350383759, -0.026296347379684448, -0.018273383378982544, -0.3021789789199829, -0.28046712279319763, -0.12139660865068436, 0.34890472888946533, 0.6884532570838928, -1.2345308065414429, 0.4811018705368042, -0.38641074299812317, -0.4807286262512207, -0.47887393832206726, 0.22177919745445251, 0.6302117705345154, 0.8373193144798279, 0.5678032040596008, -0.7989336848258972, -0.6134941577911377, -1.1083011627197266, -0.3838610351085663, -0.07463225722312927, 0.030284574255347252, 0.3423144817352295, 0.19443002343177795, -0.4089289903640747, 0.875565230846405, -0.40651801228523254, -0.6068686246871948, -0.29292523860931396, 0.2372240275144577, 0.3286924958229065, 0.2673426568508148, 0.15139256417751312, -1.0191293954849243, -0.44771289825439453, 0.2111520916223526, -0.6944988369941711, 0.3436644375324249, -0.33904916048049927, -0.18140792846679688, -0.05089057981967926, 0.3639957904815674, -0.4648894667625427, 0.3563883602619171, 0.4165041446685791, -0.34387558698654175, 0.8344438076019287, 0.10835011303424835, -0.09284886717796326, -1.2297028303146362, 0.28253790736198425, 0.275130957365036, -0.321968138217926, -0.3486740291118622, 0.0956563800573349, -0.07053151726722717, -0.1824796348810196, -0.41419896483421326, 0.4527240991592407, -0.6547771096229553, -0.5286749601364136, -0.2735973000526428, 0.12777870893478394, 0.1741326004266739, 0.4495908319950104, 0.24526230990886688, 0.8536818027496338, 0.6028943061828613, -0.7542778849601746, 0.6889076232910156, 0.4465895891189575, -0.2579372525215149, 0.7391338348388672, -0.2783956527709961, -0.24798914790153503, -0.7347939014434814, 0.3891649544239044, -0.6343629360198975, -0.2568488121032715, 0.14153021574020386, -0.04788455739617348, 0.5731013417243958, -0.6232537031173706, -0.24173866212368011, -0.4929939806461334, -0.17585225403308868, 0.32216107845306396, 0.4885352849960327, -0.360442191362381, 0.3787323236465454, 0.25632721185684204, -0.46962466835975647, -0.9218228459358215, -0.8452003002166748, -0.06781890988349915, -0.3625606894493103, -0.1275772601366043, 0.9691624045372009, 0.6103653311729431, -0.12438385933637619, -0.2147703468799591, -0.1777230203151703, -0.6009302735328674, 0.10531900078058243, 0.08902472257614136, 0.3321785628795624, -0.055484190583229065, 0.4093671143054962, 0.043336041271686554, -0.17415215075016022, 0.2057427167892456, 0.07724195718765259, 0.17553682625293732, 0.4467644691467285, -0.39620769023895264, -0.4836244583129883, 0.3686097264289856, 0.25027868151664734, -0.26809850335121155, 1.0899183750152588, 0.8478863835334778, -0.045298948884010315, -0.08150778710842133, -0.17135024070739746, -0.12155865132808685, -0.45441776514053345, 0.5100284218788147, -0.06127274036407471, -0.47764062881469727, 0.5289793014526367, -0.2818921208381653, -0.12623755633831024, 0.7226624488830566, 0.20126692950725555, -0.2848072052001953, 0.5315296649932861, 0.7956725358963013, 0.009520829655230045, 0.5488141775131226, -0.5992172360420227, 0.03972393274307251, -1.1659140586853027, -0.551250696182251, -0.05950240418314934, -0.37742340564727783, -0.23936738073825836, -0.4790877103805542, 0.46233686804771423, 0.10217618942260742, -0.11363935470581055, 0.43976151943206787, -0.3585353493690491, 0.35397037863731384, 0.48063012957572937, 0.24004796147346497, 0.15071186423301697, 0.02403266914188862, 0.029291722923517227, 0.07557761669158936, -0.24118120968341827, -0.38327938318252563, 0.8396667838096619, 0.4001806974411011, 0.5175876021385193, 0.1701951026916504, 0.9187180995941162, 0.38112184405326843, 0.15786460041999817, -0.6902099251747131, 0.3513498902320862, -0.38907134532928467, -0.3307690918445587, -0.6945430040359497, -0.5155421495437622, -1.0819447040557861, 0.5529778003692627, 0.01654338836669922, -0.5764822363853455, 0.15693700313568115, 0.10587441921234131, -0.49502405524253845, 0.34135574102401733, -0.466463565826416, 0.9859862923622131, 0.015452992171049118, -0.1522512584924698, -0.3165892958641052, -0.9367404580116272, 0.23918645083904266, -0.07179895788431168, 0.3209208846092224, 0.028063055127859116, -0.33503273129463196, 0.9413885474205017, -0.2791284918785095, 1.031632423400879, -0.4028984308242798, -0.007066675461828709, 0.27515164017677307, -0.04721732810139656, 0.5030520558357239, 0.054768532514572144, -0.5911583304405212, -0.11543548107147217, -0.2286967933177948, -0.3630902171134949, -0.4303058087825775, 0.3081277012825012, -0.7193281650543213, -0.3314509391784668, -0.02352992445230484, -0.4444778859615326, -0.45772334933280945, 0.3486606180667877, 0.1321837604045868, 0.44577598571777344, -0.21279624104499817, 0.15727633237838745, 0.5259578227996826, -0.1004074290394783, 0.3547016382217407, -0.023246070370078087, 0.12627117335796356, -0.12107422947883606, 0.8241733908653259, 0.10039225220680237, -0.09091826528310776, 0.6113812327384949, -0.08809476345777512, -0.4989124536514282, -0.3089352548122406, -0.3954305052757263, 0.11578089743852615, -0.679961621761322, -0.5143083333969116, -0.4714559018611908, -0.16805917024612427, -0.35078439116477966, -0.07192137837409973, -0.15316160023212433, -0.2486591637134552, -0.37441903352737427, -0.037170398980379105, 0.2704225182533264, 0.5271425843238831, 0.269018292427063, 0.5916979312896729, -0.7184641361236572, 0.13779088854789734, 0.6911046504974365, 0.6526644229888916, 0.06817368417978287, -0.418876975774765, -0.8781039118766785, 0.20693963766098022, -0.5320719480514526, -1.0295579433441162, 0.29605501890182495, 0.4851703643798828, 0.7960707545280457, 0.6395837664604187, 0.08964818716049194, 0.6188961863517761, -0.20779255032539368, 0.7414735555648804, 0.2957896590232849, -0.5869722962379456, 0.352760910987854, -0.26705145835876465, 0.08445775508880615, 0.7040220499038696, 0.7967984676361084, -0.6013346314430237, 0.03978799283504486, -0.6497342586517334, -1.1639431715011597, 0.9599135518074036, 0.3938535451889038, 0.1499413698911667, -0.114373579621315, 0.35032373666763306, 0.5119268894195557, 0.4275150001049042, -0.5082692503929138, -0.285103440284729, 0.026943691074848175, -0.04471079260110855, -0.13003966212272644, -0.3022165894508362, -0.08750971406698227, -0.12251266837120056, 0.7273219227790833, 0.035212256014347076, 0.634079098701477, 0.0180190559476614, -0.19424942135810852, 0.12035419046878815, 0.2060888260602951, 0.10051241517066956, 0.5852702260017395, -0.11734943836927414, 0.25437965989112854, 0.19384199380874634, -0.0754392147064209, -0.30809029936790466, 0.23474492132663727, 0.49175378680229187, 0.10638868063688278, 0.4825478792190552, 0.6733678579330444, -0.07418448477983475, -0.6341841220855713, 0.8565885424613953, 0.43018239736557007, -0.10629871487617493, -0.4954530894756317, -0.14365361630916595, 0.21579433977603912, 0.3291124999523163, 0.4407323896884918, -0.06299442052841187, 0.49154016375541687, -0.5296370387077332, 0.2381877899169922, 0.2201160043478012, -0.4806879758834839, 0.08884385973215103, 0.5216635465621948, 0.2683880627155304, -0.02347882091999054, 0.7225504517555237, -0.4985145330429077, -0.2498752474784851, 0.8952000737190247, 0.5289438366889954, 0.8716062903404236, -0.2843298614025116, 0.38606491684913635, 0.04609979689121246, -0.3554193675518036, -0.15238220989704132, 0.01462241169065237, -0.20655912160873413, -0.45667797327041626, -0.6343517899513245, -0.4895766079425812, -0.45238208770751953, -0.36933907866477966, -1.027824878692627, -0.01887572556734085, -0.35788318514823914, -0.10392766445875168, -0.1456204056739807, -0.2570117115974426, -0.9506791234016418, 0.531994640827179, 0.2947778105735779, 0.5904337763786316, -0.9289329051971436, 0.540203332901001, 1.331683874130249, -0.6403543949127197, -0.4182385802268982, -0.03926374018192291, -0.2523452341556549, -0.8932783603668213, 0.9234654903411865, 0.3203422427177429, -0.16110019385814667, -0.2413502037525177, -0.004941168241202831, -0.7523845434188843, 1.556538701057434, 0.20137132704257965, -0.15881437063217163, -0.41644933819770813, -0.03662809729576111, 0.3411639928817749, -0.5093055367469788, 0.2779546082019806, 0.11842678487300873, 0.1821727156639099, 0.006338810548186302, -1.0861186981201172, -0.06089754402637482, -0.048029057681560516, 0.4858852028846741, -0.12751521170139313, -0.6722326874732971, 0.8041326999664307, 0.08203837275505066, -0.28448450565338135, -0.24690821766853333, 0.6952303647994995, -0.11977873742580414, 0.2772601544857025, 0.6132215261459351, 0.3316047489643097, 0.6378203630447388, 0.27175411581993103, 1.0263078212738037, -0.005472337361425161, 0.5254456400871277, 1.0516072511672974, -0.1292220801115036, 0.5524189472198486, 0.48500844836235046, -0.3606996536254883, 1.0863630771636963, 0.6529676914215088, 0.09336360543966293, 0.6492118835449219, 0.07280094921588898, -0.12201288342475891, -0.4022993743419647, -0.21166415512561798, -0.36359652876853943, 0.6206595301628113, 0.27868202328681946, -0.7084071040153503, -0.3676951229572296, 0.011149775236845016, -0.3569625914096832, 0.18614743649959564, -0.5964116454124451, 0.8409023284912109, 0.08174088597297668, -0.22003668546676636, 0.2951468229293823, 0.22449332475662231, 0.6021656394004822, -0.2468050867319107, -0.27990734577178955, -0.08242227882146835, -0.1651894599199295, -0.3516446352005005, -0.8164176940917969, 0.7792049050331116, -0.533446192741394, -0.2637042999267578, -0.4422619938850403, 0.6077855229377747, -0.5986424684524536, -0.24968749284744263, 0.24543479084968567, 0.4264116585254669, 0.19459402561187744, -0.11336444318294525, -0.6208803057670593, -0.5078468322753906, -0.4439844787120819, 0.04242271929979324, 0.25013601779937744, 0.3105444312095642, 0.09604624658823013, 0.6003314256668091, -0.020829830318689346, 0.1468089073896408, -0.18843694031238556, -0.05102274939417839, 0.5063977837562561, -0.7180317640304565, -1.0408345460891724, -0.46689939498901367, 0.5109758973121643, -0.5713688135147095, -0.07552342861890793, 0.4557895064353943, 0.601939857006073, 1.0026476383209229, -0.3783230185508728, 0.7045155167579651, -0.011977816931903362, 0.6360390782356262, -0.48671865463256836, 0.47688859701156616, -0.8762104511260986, 0.14924897253513336, -0.2991335093975067, -0.9586978554725647, -0.2046627253293991, 0.44125884771347046, -0.3836193382740021, 0.3421659469604492, 0.6190951466560364, 0.39109084010124207, -0.33120736479759216, -0.27062034606933594, 0.3555482029914856, -0.22834362089633942, -0.2893078327178955, 0.22826889157295227, 0.5286571383476257, -0.3080248534679413, 0.5076013803482056, -0.4181649088859558, -0.04032537341117859, -0.6571344137191772, -0.6920220255851746, -0.637775182723999, -0.49030616879463196, -0.6260344982147217, -0.2517169713973999, 0.19890707731246948, 0.8101975917816162, 0.7438724040985107, -0.4919419288635254, -0.506027102470398, 0.36819636821746826, 0.29904451966285706, -0.9048058986663818, -0.28647416830062866, 0.5262064933776855, -0.19701097905635834, -0.45500993728637695, 0.48035377264022827, 0.07515028864145279, -0.14192980527877808, -0.0654406026005745, -0.11438235640525818, 0.09607710689306259, -0.2141309678554535, 0.8648262023925781, 0.23969537019729614, -0.4432193338871002, -0.10466479510068893, -0.8078655004501343, -0.06507747620344162, -0.17091083526611328, 0.8979915976524353, -0.589318037033081, 0.5180607438087463, 0.3944866955280304, 0.9579121470451355, 0.1396310031414032, 0.3709951639175415, 0.5223386287689209, -1.3173327445983887, 0.06226745620369911, 0.2500227689743042, 0.42569008469581604, 0.4314940571784973, -0.6876094937324524, 0.5237023234367371, 0.3087347447872162, -0.21524709463119507, -0.3561469614505768, 0.44298073649406433, -1.1745264530181885, -0.2768935561180115, 1.1806116104125977, -0.041280634701251984, 0.09901073575019836, -0.36042463779449463, 0.02511516585946083, 0.5588403940200806, -0.34672877192497253, 0.8073360323905945, 0.08536656945943832, -0.302038311958313, -0.20565909147262573, -0.3027119040489197, 0.26758715510368347, 0.0956118181347847, -0.3438144028186798, 0.08520431816577911, 0.42443257570266724, -0.010665982961654663, 0.08401194959878922, 0.7807855010032654, -0.2727196216583252, 0.2914304733276367, -0.1182033121585846, 0.3143500089645386, -0.1541161835193634, -0.31465378403663635, -0.3160778880119324, 0.030357446521520615, 0.20865704119205475, -0.4472091495990753 ]
http://arxiv.org/abs/2406.08050v1
http://arxiv.org/pdf/2406.08050v1
Adversarial Evasion Attack Efficiency against Large Language Models
2024-06-12T10:02:27
2024-06-12T10:02:27
João Vitorino, Eva Maia, Isabel Praça
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) are valuable for text classification, but their vulnerabilities must not be disregarded. They lack robustness against adversarial examples, so it is pertinent to understand the impacts of different types of perturbations, and assess if those attacks could be replicated by common users with a small amount of perturbations and a small number of queries to a deployed LLM. This work presents an analysis of the effectiveness, efficiency, and practicality of three different types of adversarial attacks against five different LLMs in a sentiment classification task. The obtained results demonstrated the very distinct impacts of the word-level and character-level attacks. The word attacks were more effective, but the character and more constrained attacks were more practical and required a reduced number of perturbations and queries. These differences need to be considered during the development of adversarial defense strategies to train more robust LLMs for intelligent text classification applications.
[ -0.3669467270374298, -1.1483359336853027, 0.40664538741111755, 0.11149071902036667, -0.038944389671087265, 0.09871543198823929, -0.21403078734874725, -0.25763723254203796, -0.08180758357048035, 0.7359389066696167, -0.17815545201301575, -0.5732831954956055, -0.866691529750824, 0.10383650660514832, -0.8946239948272705, 1.0733221769332886, 0.3387850522994995, 0.08443662524223328, 0.05434634909033775, -0.05470435693860054, 0.030981190502643585, -1.1778817176818848, -0.7976740598678589, -0.008931678719818592, 0.7325122356414795, -0.24358341097831726, 0.8880324363708496, -0.05066705122590065, 0.7904255390167236, 0.3561709225177765, -0.4018714427947998, -0.13253054022789001, -0.480851948261261, 0.2725920081138611, -0.00949771422892809, -0.7727435827255249, -0.3040362000465393, -0.03807060047984123, 0.5074494481086731, 0.4456179141998291, 0.014219962991774082, -0.19443002343177795, 0.09940049052238464, 0.5888847708702087, -0.7315357327461243, -0.29628074169158936, -0.8056578636169434, 0.08054852485656738, -0.3550237715244293, 0.003816507989540696, -0.6231128573417664, -0.3299953043460846, 0.04970754310488701, -0.20318758487701416, -0.05009319633245468, -0.10478254407644272, 0.6918849945068359, 0.2806537449359894, -0.28143832087516785, -0.539604663848877, -0.408408522605896, 0.7253842949867249, -0.8810843229293823, 0.031199205666780472, 0.020392201840877533, 0.1383034586906433, -0.4691758155822754, -0.49827006459236145, -0.5385958552360535, -0.39982545375823975, -0.07764697819948196, -0.10157312452793121, -0.4349997043609619, 0.29890239238739014, 0.41231006383895874, 0.2623462975025177, -0.416080504655838, 0.3428160846233368, 0.08036522567272186, -0.04366065189242363, 0.5223303437232971, 0.209558367729187, 0.5490237474441528, -0.30528590083122253, -0.48665234446525574, -0.3039989769458771, -0.7551475763320923, 0.007953350432217121, 0.7391930222511292, 0.2998369336128235, 0.1343165785074234, 0.5538560152053833, 0.1255955994129181, 0.560531735420227, -0.18944373726844788, -0.31149032711982727, -0.2297487109899521, -0.16331873834133148, -0.09467922151088715, -0.2391112744808197, 1.022209644317627, 0.002396786818280816, 0.17713409662246704, -0.2250988483428955, -0.4582149386405945, 0.11276689171791077, 0.48023709654808044, -0.7260173559188843, -0.08609560132026672, -0.03663221374154091, -0.1830747425556183, -0.725039005279541, 0.12420910596847534, -0.856693685054779, -0.8834995627403259, 0.19690291583538055, 0.41834890842437744, -0.4776906371116638, 0.11761460453271866, 0.0866277813911438, -0.2153136283159256, 0.17872029542922974, 0.3967909514904022, -0.6562308669090271, 0.41611671447753906, 0.8089613914489746, 0.6791307330131531, -0.11314620077610016, 0.021134166046977043, -0.40542155504226685, -0.24318262934684753, -0.17505188286304474, 0.47792497277259827, -0.3268410563468933, -0.6756188869476318, 0.07522762566804886, -0.39140063524246216, -0.2518889307975769, -0.40273207426071167, 0.6336408257484436, -0.9380399584770203, 0.21630136668682098, -0.23117785155773163, -0.5235469341278076, -0.3961828947067261, 0.5196680426597595, -0.8050285577774048, 0.6218074560165405, 0.007308516185730696, -1.1208049058914185, -0.04945098236203194, -0.37397468090057373, -0.6512415409088135, -0.0477750338613987, -0.038316816091537476, -0.35489621758461, 0.30963370203971863, 0.1060299202799797, 0.648586094379425, -0.26783713698387146, -0.2857305407524109, -0.5206552147865295, -0.2802659571170807, 0.5869855284690857, -0.8526418805122375, 0.8039699792861938, 0.1631414294242859, -0.27123141288757324, -0.05269675701856613, -0.6958443522453308, -0.11962971836328506, 0.3203599750995636, -0.521142303943634, -0.6946621537208557, 0.1547149270772934, -0.14838124811649323, -0.042462341487407684, 0.258877158164978, -0.382788747549057, 0.5224834680557251, -0.6951989531517029, 0.21788786351680756, 0.5795619487762451, 0.2032313197851181, 0.16840428113937378, 0.007959489710628986, 0.7937648892402649, -0.22992061078548431, 0.19080115854740143, 0.16820600628852844, -0.1752651035785675, -0.7366857528686523, -0.41483181715011597, 0.3253202438354492, 0.6883397698402405, -1.0235060453414917, 0.19761061668395996, -0.06889884173870087, -0.6047220826148987, -0.3295421302318573, 0.225178524851799, 0.6371280550956726, 0.08687180280685425, 0.1805194616317749, 0.10826703906059265, -0.2232031524181366, -0.6376320123672485, -0.6114593148231506, -0.18055953085422516, 0.08372215926647186, 0.028564708307385445, 0.5999356508255005, -0.22779884934425354, 0.37561655044555664, -0.4889069199562073, -0.0022594258189201355, -0.5058110952377319, 0.03602956235408783, -0.1023467630147934, -0.027742961421608925, 0.8660677075386047, -0.6349087953567505, -0.5177562832832336, -0.11928299069404602, -0.7579923868179321, 0.004060075618326664, -0.11518740653991699, 0.002193639287725091, 0.45034676790237427, 0.3817676901817322, -0.6976897716522217, 0.4303733706474304, 0.5845662355422974, -0.23974426090717316, 0.419552743434906, 0.08516673743724823, 0.1465691477060318, -0.8115108013153076, -0.145067498087883, 0.09442153573036194, -0.1503155380487442, -0.9438127279281616, 0.41987401247024536, -0.010780027136206627, 0.014795904979109764, -0.5598517060279846, 0.296484112739563, -0.09352711588144302, 0.10819415003061295, -0.17771099507808685, 0.11754172295331955, 0.06155969575047493, 0.1819992959499359, -0.36146607995033264, 0.6574530005455017, 0.42764440178871155, -0.599254846572876, 0.44851231575012207, -0.08812914788722992, -0.34842637181282043, 0.4715186059474945, -0.6094635725021362, 0.3759300410747528, -0.05426318570971489, 0.19187821447849274, -0.8901888132095337, 0.060974325984716415, 0.3547511398792267, -0.5926784873008728, 0.6590232849121094, 0.08966574817895889, -0.615121603012085, -0.15333369374275208, -0.7657376527786255, -0.09543333947658539, 0.15861864387989044, -0.7964211702346802, 0.5629756450653076, 0.1709674745798111, -0.038645245134830475, -0.891865611076355, -0.6731212735176086, 0.34853145480155945, -0.5914759635925293, -0.5401372313499451, -0.04251466318964958, 0.1606033891439438, -0.5068359971046448, -0.2100696712732315, 0.2689172029495239, 0.32103338837623596, 0.5524984002113342, 0.08613570779561996, 0.21549078822135925, -0.004692825488746166, -0.1252017617225647, -0.4047125279903412, 0.23125068843364716, 0.21164162456989288, 0.08321897685527802, 0.814512312412262, -0.19833260774612427, -0.45705777406692505, -0.5006347298622131, 0.29360225796699524, 0.8103985786437988, 0.0033309778664261103, 1.0889675617218018, 0.48700225353240967, -0.17576970160007477, -0.33867135643959045, -0.49773967266082764, 0.07737259566783905, -0.4780159890651703, 0.7189425826072693, -0.36308926343917847, -0.6349608302116394, 0.37979987263679504, 0.2881149351596832, 0.15088576078414917, 0.5049887895584106, 0.33776792883872986, -0.13057595491409302, 1.3009815216064453, 0.22010284662246704, -0.5999515652656555, 0.30499154329299927, -0.26308557391166687, 0.22465789318084717, -0.7687373161315918, -0.14876633882522583, -0.7063677906990051, -0.03468194231390953, -0.6061522364616394, -0.14047467708587646, 0.28509315848350525, 0.05683910846710205, -0.09739308804273605, 0.29879170656204224, -0.16533316671848297, 0.11297482252120972, 0.39901942014694214, -0.004756933078169823, 0.08390260487794876, 0.24941158294677734, 0.25802528858184814, 0.028128579258918762, -0.6174113750457764, -0.6437897682189941, 1.0693771839141846, 0.47530487179756165, 1.0415914058685303, 0.4555700421333313, 0.5259366631507874, 0.37425270676612854, 0.3896525800228119, -1.0222957134246826, 0.8145920634269714, -0.6395775675773621, -0.4690452814102173, -0.13807305693626404, -0.5679720044136047, -0.8345312476158142, 0.4828778803348541, -0.29250454902648926, -0.5187408328056335, -0.2751789689064026, -0.017841512337327003, -0.220723494887352, 0.6731316447257996, -0.5968036651611328, 0.5476053357124329, -0.46403437852859497, 0.02669672854244709, -0.17699645459651947, -0.2752363085746765, 0.28144147992134094, -0.3402930796146393, 0.2370845228433609, 0.37586578726768494, -0.14891822636127472, 0.6896597743034363, -0.3250896632671356, 0.8994969725608826, -0.28203317523002625, -0.16297802329063416, 0.20778118073940277, 0.1406848430633545, 0.6505249738693237, -0.21528322994709015, -0.17519375681877136, 0.107481449842453, -0.22472338378429413, -0.15061986446380615, -0.7205074429512024, 0.7462819218635559, -0.7588726282119751, -1.0462359189987183, -0.3888285458087921, -0.30774548649787903, -0.16462041437625885, -0.09474240988492966, 0.28256383538246155, 0.4702465534210205, -0.3587329685688019, 0.41692426800727844, 0.7984678745269775, -0.5245804190635681, 0.5202913880348206, 0.5015039443969727, -0.0748714730143547, -0.4199358820915222, 0.871199369430542, 0.138853520154953, 0.5397505164146423, 0.5393310785293579, 0.10637367516756058, -0.18126195669174194, -0.7379114627838135, -0.13306394219398499, 0.11908531934022903, -0.8794214725494385, -0.29544687271118164, -0.6412040591239929, -0.1643683761358261, -0.5436766147613525, -0.0848226472735405, -0.2847025692462921, -0.2604244649410248, -0.3683440685272217, 0.11386417597532272, 0.3180994391441345, 0.8296258449554443, 0.5727738738059998, 0.5762131214141846, -0.5570345520973206, -0.023851042613387108, 0.28996697068214417, -0.04246087744832039, 0.0501595064997673, -0.5834406614303589, -0.08843284845352173, -0.16969212889671326, -0.3912141025066376, -1.1028386354446411, 0.42916321754455566, -0.011190308257937431, 0.4630853533744812, 0.5877830982208252, 0.13588935136795044, 0.1852598339319229, -0.25604161620140076, 0.9996973276138306, 0.2585635781288147, -0.8243620991706848, 0.35083335638046265, -0.15366701781749725, 0.18192170560359955, 0.4832417964935303, 0.5541503429412842, -0.25939664244651794, -0.43317949771881104, -0.5386031270027161, -0.7612491846084595, 0.5889357328414917, 0.16209794580936432, 0.21399784088134766, -0.015270842239260674, 0.404100239276886, -0.19074741005897522, 0.15634126961231232, -0.6403533816337585, -0.3137386441230774, -0.013727431185543537, -0.21056124567985535, -0.1428709775209427, -0.3413672149181366, -0.09879782050848007, 0.027676966041326523, 0.7364231944084167, 0.21101133525371552, -0.1282663494348526, 0.08748739212751389, -0.1920517235994339, 0.48360732197761536, 0.39661723375320435, 0.40192660689353943, -0.18147604167461395, 0.2051437646150589, 0.2678641080856323, 0.4828541874885559, -0.5912281274795532, 0.12335521727800369, -0.11393038928508759, -0.2673325836658478, -0.21749967336654663, 0.6950348615646362, 0.8367687463760376, 0.08511854708194733, -0.5923863649368286, 0.5785658359527588, -0.3204173445701599, -0.06600770354270935, -0.16024532914161682, 0.16340479254722595, -0.04775108024477959, 0.33814573287963867, -0.053504250943660736, 0.046399086713790894, 0.12715718150138855, -0.5288127660751343, -0.3213138282299042, 0.8865044713020325, -0.2005234956741333, -0.3064057230949402, 0.22793640196323395, -0.012469458393752575, -0.385610967874527, 0.3749217987060547, -0.07571583986282349, -1.1462537050247192, 0.5076159834861755, 0.4003545045852661, 0.7758695483207703, -0.32180967926979065, -0.060375142842531204, -0.17103201150894165, 0.42721056938171387, 0.05273481085896492, -0.10449004918336868, 0.22823220491409302, -0.6577110290527344, 0.013765310868620872, -0.6437439918518066, -0.4583640694618225, 0.4196903109550476, -0.5254499316215515, 0.13989602029323578, -0.8454242944717407, -0.4628114700317383, 0.09935882687568665, 0.0027524051256477833, -0.33176159858703613, 0.1914883852005005, 0.3458902835845947, 0.6905047297477722, -0.4118787348270416, 0.4944971203804016, 0.8685154914855957, -0.39380720257759094, -0.6582590341567993, 0.16292035579681396, 0.2054254710674286, -0.6145047545433044, 0.7413718104362488, -0.055277928709983826, -0.4344738721847534, -0.39032113552093506, -0.469382643699646, -0.6898667216300964, 0.5558871626853943, 0.20197784900665283, -0.39013493061065674, 0.13536027073860168, 0.19229789078235626, 0.7633269429206848, -0.06629576534032822, 0.13393794000148773, 0.6269150972366333, 0.35652831196784973, -0.15351365506649017, -0.5541384816169739, 0.02639484591782093, -0.02252580225467682, 0.08385320752859116, 0.2618652284145355, -0.7256507873535156, 0.7304632663726807, 0.07854587584733963, -0.22272208333015442, -0.01746131107211113, 0.5303553342819214, -0.05417850241065025, -0.060647062957286835, 0.6397619247436523, 0.6502381563186646, 0.5125007629394531, -0.05063130334019661, 1.5180354118347168, -0.38583630323410034, 0.11601126194000244, 0.6184314489364624, -0.09865635633468628, 0.9544402360916138, 0.21646589040756226, -0.3965718150138855, 0.20660685002803802, 0.20920120179653168, -0.06991790235042572, 0.34892407059669495, 0.39467522501945496, -0.42981916666030884, 0.11181613057851791, 0.2515140771865845, -0.196308895945549, 0.41393184661865234, 0.5706067681312561, -0.26770609617233276, 0.06193514168262482, 0.2711360454559326, 0.7263022661209106, 0.11759767681360245, -0.33319568634033203, 0.84722501039505, 0.11453757435083389, -0.5490404963493347, 0.5789611339569092, 0.23181620240211487, 1.0209155082702637, -0.6860657334327698, 0.4706873297691345, -0.031999897211790085, 0.5752927660942078, -0.30048176646232605, -0.5853475332260132, -0.021499793976545334, 0.3304485082626343, -0.05210709571838379, 0.12171608209609985, 0.7996653318405151, -0.0857912078499794, -0.37073954939842224, 0.39052292704582214, -0.04726983606815338, -0.09366943687200546, -0.22056612372398376, -0.616007387638092, 0.1975695937871933, 0.11523577570915222, -0.775801420211792, 0.5606896281242371, 0.1689154952764511, 0.2755756378173828, 0.701429545879364, 0.47252869606018066, 0.4380493760108948, 0.008160949684679508, 0.36963993310928345, 0.8777737021446228, -0.45840081572532654, -0.17222651839256287, -1.1120424270629883, -0.02289341390132904, -0.2796332836151123, -0.07156745344400406, 1.1861660480499268, 0.20209796726703644, 0.5168898105621338, 0.12521590292453766, 0.9050540328025818, 0.307645708322525, 0.4761628806591034, -0.5719414949417114, 0.7030186057090759, -0.44442710280418396, 0.8171716332435608, -0.4633176922798157, -0.6383280158042908, -0.3980506658554077, 0.36352047324180603, -0.4184753894805908, 0.09539280086755753, 0.650399923324585, 0.6602254509925842, 0.5348665714263916, 0.15655751526355743, 0.27101296186447144, 0.39616045355796814, 0.7442952394485474, 0.2936440408229828, 1.1937793493270874, -0.30568182468414307, 0.5723249912261963, -0.14449016749858856, -0.21145561337471008, -0.028971390798687935, -0.5028986930847168, -1.248927116394043, 0.0773208811879158, -0.2331627458333969, -0.4856468141078949, 0.3031628131866455, 0.6659507155418396, 0.2214696705341339, -0.6738892197608948, 0.06999914348125458, 0.17202168703079224, 0.05459952726960182, 0.31490838527679443, -0.27029532194137573, 0.48395317792892456, -0.3570578396320343, -0.6741144061088562, 0.40743595361709595, 0.06949809193611145, 0.027311153709888458, -0.6633560061454773, 0.19140726327896118, -0.04207896441221237, 0.42137789726257324, 0.7535150647163391, 0.02282879874110222, -0.72398841381073, -0.30340951681137085, -0.11425022035837173, -0.40561559796333313, -0.44437551498413086, 0.6152104735374451, -0.43314334750175476, 0.2063639611005783, 0.5678855180740356, 0.8499947786331177, -0.06100933998823166, 0.10794168710708618, 0.28927549719810486, -0.6781880855560303, 0.06567457318305969, 0.38022899627685547, 0.42465347051620483, 0.3690199851989746, -0.640171468257904, 0.15358780324459076, 0.2406955361366272, -0.43414849042892456, -0.8120520114898682, 0.13090276718139648, -0.6089235544204712, -0.6278910636901855, 1.552167296409607, -0.4077604115009308, -0.1125105544924736, 0.11612560600042343, -0.27292361855506897, -0.09728481620550156, -0.28133392333984375, 0.6254420280456543, 0.8954948782920837, 0.03415351361036301, 0.27618589997291565, -0.4920591711997986, 0.4276885986328125, 0.4450891315937042, -0.7717490196228027, -0.0658285990357399, 0.27006426453590393, 0.11334267258644104, 0.07502970099449158, 0.0756860226392746, -0.25032418966293335, -0.26359492540359497, 0.0041781822219491005, -0.15913277864456177, 0.10199521481990814, -0.22739256918430328, -0.485111802816391, 0.6656343936920166, 0.10462682694196701, -0.03905285522341728 ]
http://arxiv.org/abs/2406.10284v1
http://arxiv.org/pdf/2406.10284v1
Improving child speech recognition with augmented child-like speech
2024-06-12T08:56:46
2024-06-12T08:56:46
Yuanyuan Zhang, Zhengjun Yue, Tanvina Patel, Odette Scharenborg
cs.CL
cs.CL, cs.SD, eess.AS
State-of-the-art ASRs show suboptimal performance for child speech. The scarcity of child speech limits the development of child speech recognition (CSR). Therefore, we studied child-to-child voice conversion (VC) from existing child speakers in the dataset and additional (new) child speakers via monolingual and cross-lingual (Dutch-to-German) VC, respectively. The results showed that cross-lingual child-to-child VC significantly improved child ASR performance. Experiments on the impact of the quantity of child-to-child cross-lingual VC-generated data on fine-tuning (FT) ASR models gave the best results with two-fold augmentation for our FT-Conformer model and FT-Whisper model which reduced WERs with ~3% absolute compared to the baseline, and with six-fold augmentation for the model trained from scratch, which improved by an absolute 3.6% WER. Moreover, using a small amount of "high-quality" VC-generated data achieved similar results to those of our best-FT models.
[ -0.5114476084709167, -0.29795047640800476, -0.23672924935817719, -0.09405189007520676, -0.32947176694869995, 0.1643756777048111, -0.2529667019844055, -0.8199760913848877, -0.2539425194263458, 0.4579470157623291, -0.564130425453186, -0.0938870832324028, -0.5260159373283386, 0.013675670139491558, -0.5361983776092529, 0.8031644821166992, 0.1833486109972, 0.4780619442462921, -0.10436806827783585, 0.1750074177980423, -0.30207815766334534, -0.7008921504020691, -0.9340425729751587, -0.25229838490486145, 0.33158063888549805, 0.6867777109146118, 0.3843768537044525, 0.7384084463119507, 0.16564491391181946, 0.25316253304481506, -0.38953474164009094, 0.10258333384990692, -0.5554331541061401, -0.09744703024625778, -0.16111798584461212, -0.06234372407197952, -0.6931236386299133, 0.03268064185976982, 0.6455366611480713, 0.9307110905647278, -0.10436376184225082, -0.07262519747018814, 0.42960241436958313, 0.7416169047355652, -0.4781365990638733, 0.11485586315393448, -0.570937991142273, 0.056788597255945206, -0.20423275232315063, -0.29821446537971497, -0.36666586995124817, 0.008906408213078976, 0.5805802941322327, -0.6698294281959534, 0.6526305079460144, -0.1342628002166748, 0.6669824719429016, 0.10099104046821594, -0.17102929949760437, -0.4043102264404297, -1.0601441860198975, 0.7663547992706299, -0.476588636636734, 0.787827730178833, 0.34275147318840027, 0.10742614418268204, -0.08570205420255661, -0.5572424530982971, -0.5887757539749146, -0.26231157779693604, 0.07926157861948013, 0.004498491529375315, -0.5372898578643799, 0.03139657899737358, 0.2450476437807083, 0.24978874623775482, -0.541077196598053, 0.18412797152996063, -0.86604905128479, -0.21923139691352844, 0.8105950951576233, -0.02265951782464981, 0.11918502300977707, 0.12734296917915344, -0.10170178860425949, -0.41460052132606506, -0.5701332092285156, 0.4155122935771942, 0.2712279260158539, 0.8622531890869141, 0.03220702335238457, 0.34084776043891907, -0.3710455298423767, 0.7186199426651001, 0.7240753769874573, -0.37516576051712036, 0.21100540459156036, -0.40169596672058105, -0.037149135023355484, 0.3862234950065613, 0.319871723651886, 0.2298947423696518, 0.5709887146949768, -0.06650734692811966, -0.3529818058013916, 0.25160133838653564, 0.0042761522345244884, -0.7661831974983215, -0.1592070311307907, -0.4033890962600708, -0.47253769636154175, -0.047484248876571655, 0.06216726079583168, -0.28292718529701233, -0.15463918447494507, -0.582209587097168, 0.29873043298721313, -0.49177178740501404, -0.2303914576768875, 0.052123744040727615, -0.1447581946849823, 0.327314168214798, 0.2627665102481842, -0.9318526983261108, 0.6984384059906006, 0.543032169342041, 0.4077228307723999, -0.26777899265289307, -0.1812877357006073, -0.6515058279037476, 0.11332709342241287, -0.5957168936729431, 0.9183971881866455, -0.4346202611923218, -0.812329113483429, -0.13264533877372742, 0.0022252784110605717, -0.1136549562215805, -1.0282998085021973, 0.433193176984787, -0.35081228613853455, 0.11979690194129944, -0.26608583331108093, -0.19616074860095978, -0.059530649334192276, -0.25662773847579956, -0.42570722103118896, 0.8513288497924805, 0.1539788395166397, -0.2655891180038452, 0.9545896649360657, -0.4633626639842987, -0.7641856670379639, 0.08429037779569626, 0.2975785732269287, -0.30832821130752563, 0.2684156000614166, 0.5980159640312195, 0.23874324560165405, -0.23060983419418335, -0.0691867247223854, 0.10502145439386368, -0.43549180030822754, -0.041264913976192474, -0.7205310463905334, 0.6631978154182434, 0.2338208109140396, -0.0856449082493782, -0.15017841756343842, -0.9081850647926331, -0.05292217433452606, -0.19115956127643585, -0.4052460193634033, -0.22404426336288452, 0.022739773616194725, 0.3312351703643799, 0.5285855531692505, 0.1792072206735611, -0.7335638403892517, -0.1605735570192337, -0.6324765086174011, 0.30097731947898865, 0.19005708396434784, -0.11514096707105637, 0.33589550852775574, -0.47914978861808777, 0.4112219512462616, 0.2553032636642456, 0.44354769587516785, 0.19184459745883942, -0.30529308319091797, -1.1143358945846558, -0.18361182510852814, 0.2842079997062683, 0.3946116864681244, -0.8833762407302856, 0.36987432837486267, -0.44256746768951416, -0.39593401551246643, -0.7087582945823669, -0.04778904467821121, 0.7573782205581665, 0.6693907976150513, 0.4565090835094452, -0.7637408971786499, -0.8318531513214111, -0.8035992980003357, 0.046832919120788574, -0.46140164136886597, -0.025107890367507935, 0.3702180087566376, 0.1118495836853981, -0.10749857127666473, 0.8031631112098694, 0.19012780487537384, -0.35832270979881287, -0.1876755803823471, -0.08125724643468857, -0.06700421124696732, 0.6939741969108582, 0.30585893988609314, -0.7814050316810608, -0.6926162838935852, 0.1855817437171936, 0.07655001431703568, -0.1250225454568863, 0.32122641801834106, 0.5519391894340515, 0.5539103746414185, 0.5123600363731384, -0.03992214426398277, 0.6830571889877319, 0.6998053193092346, -0.17742402851581573, 0.2789035439491272, -0.13997502624988556, 0.2218402624130249, -0.6789084076881409, -0.14113062620162964, -0.27178335189819336, -0.23311865329742432, -0.9755019545555115, -0.25541624426841736, -0.12763187289237976, -0.2464999556541443, -0.773152232170105, 0.18330524861812592, -0.479452520608902, -0.16463056206703186, -0.3935525715351105, -0.0719941109418869, -0.3047550320625305, 0.0008230750681832433, 0.22740501165390015, 1.1814677715301514, 0.5993609428405762, -0.5979298949241638, 0.42993924021720886, 0.18849243223667145, 0.07846655696630478, 0.7004424333572388, -0.7670621275901794, 0.20247483253479004, 0.01623494178056717, 0.25039243698120117, -0.944857120513916, -0.06003605201840401, -0.19470195472240448, -0.8096430897712708, 0.8284191489219666, -0.20824852585792542, -0.47175708413124084, -0.5445026159286499, -0.09818688035011292, 0.36027076840400696, 0.46654146909713745, -0.8119998574256897, 0.4552556276321411, 0.5494359731674194, -0.4230104684829712, -0.17703916132450104, -0.7755264639854431, 0.2283214032649994, 0.13576149940490723, -0.7220199108123779, 0.4277881681919098, 0.09081940352916718, 0.29295065999031067, 0.11675099283456802, -0.20840412378311157, -0.2441960871219635, -0.5501473546028137, -0.0743546262383461, 0.21040259301662445, -0.4112743139266968, -0.05560314282774925, 0.2287759929895401, -0.39676037430763245, -0.141069233417511, -0.20288589596748352, 0.47425326704978943, -0.18611560761928558, -0.09521465748548508, -0.5489060878753662, 0.41370251774787903, 0.6272535920143127, -0.07951955497264862, 0.4304948151111603, 0.26167500019073486, -0.4303187131881714, -0.2748793661594391, -0.5742643475532532, -0.03974799066781998, -0.4779622256755829, 0.2160864621400833, -0.6095489859580994, -0.9924980401992798, 0.4858461916446686, 0.11599656194448471, -0.4138869643211365, 0.47324544191360474, 0.35916775465011597, 0.025336183607578278, 1.209991455078125, 0.6204814910888672, -0.10196422040462494, 0.5755366683006287, -0.07868152856826782, -0.028764136135578156, -0.8799697160720825, -0.3006727695465088, -0.4285113215446472, 0.02508118376135826, -0.9899376034736633, -0.4024882912635803, 0.4618975818157196, -0.06891283392906189, -0.06560119241476059, 0.5410144925117493, -0.8432806730270386, 0.21238276362419128, 0.6544601917266846, 0.05860905721783638, 0.2878822982311249, -0.016722388565540314, 0.22114309668540955, -0.2143421322107315, -0.9336910843849182, -0.2608823776245117, 0.8831505179405212, 0.1274292916059494, 0.6998382210731506, -0.016052335500717163, 0.6180598139762878, 0.049454912543296814, 0.18215857446193695, -0.6722427010536194, 0.5062024593353271, -0.8576912879943848, -0.5867631435394287, -0.3979601263999939, -0.27849316596984863, -0.8477787971496582, 0.007329470012336969, -0.3204880356788635, -0.4805479645729065, 0.7570307850837708, 0.4220488667488098, -0.3433694541454315, 0.017102951183915138, -0.6766356825828552, 0.32754260301589966, -0.1030309721827507, -0.21012108027935028, -0.18624956905841827, -0.5862319469451904, 0.015383321791887283, -0.2518211007118225, -0.156659334897995, 0.38323551416397095, 0.01927565410733223, 0.6917240619659424, -0.5367319583892822, 0.6752902269363403, -0.3240249454975128, -0.056378576904535294, 0.49792084097862244, -0.38176628947257996, 0.4513787031173706, -0.35152772068977356, -0.07925739884376526, 0.1445549577474594, -0.02343391254544258, -0.23738227784633636, -0.3988434970378876, 0.7178750038146973, -0.9303115606307983, -0.49329930543899536, -0.3354480564594269, -0.6017206907272339, -0.3667636513710022, -0.01350549515336752, 0.4047587215900421, 0.41898229718208313, -0.19127562642097473, 0.4157322645187378, 0.6944019198417664, -0.19334059953689575, 0.26786741614341736, 0.7468769550323486, -0.06464144587516785, -0.5489680767059326, 0.887268602848053, 0.6012977361679077, 0.5156633853912354, 0.0906047523021698, 0.21886037290096283, -0.39533570408821106, -0.556614339351654, -0.4284740388393402, 0.09940224885940552, -0.41482192277908325, 0.008531064726412296, -0.373680055141449, -0.6780144572257996, -0.8362017869949341, -0.26602423191070557, -0.5330883264541626, -0.5139743089675903, -0.5055549740791321, -0.01488843560218811, 0.33595147728919983, 0.49159637093544006, -0.4297509491443634, 0.24651502072811127, -0.480423241853714, 0.3613322675228119, 0.6249306797981262, 0.20766298472881317, -0.025592075660824776, -1.0804742574691772, -0.23138019442558289, -0.03132031112909317, -0.0998571515083313, -0.38730213046073914, 0.48386967182159424, 0.4722287952899933, 0.10511697828769684, 0.256738543510437, 0.04483047127723694, 1.267413854598999, -0.7186014652252197, 0.6951431632041931, 0.24755877256393433, -1.1268736124038696, 0.625977635383606, -0.43466705083847046, 0.05284455791115761, 0.4941053092479706, -0.3125055432319641, -0.4485853612422943, -0.09455506503582001, -0.5722518563270569, -0.8486070036888123, 0.9864473342895508, 0.014790707267820835, 0.20895379781723022, 0.42833295464515686, 0.07372520118951797, 0.08695291727781296, 0.11601772159337997, -0.34983518719673157, -0.20306463539600372, -0.3279218375682831, 0.2296696901321411, -0.26122403144836426, -0.14442063868045807, 0.2558581233024597, -0.8253364562988281, 0.8080066442489624, 0.1834728866815567, -0.006617530714720488, 0.21408522129058838, 0.25615012645721436, -0.6486427187919617, 0.38289675116539, 0.5640354752540588, 0.31593385338783264, -0.05452273041009903, -0.05112532153725624, 0.550279438495636, -0.4318680763244629, 0.11476627737283707, 0.5279030799865723, -0.35831987857818604, -0.0793599933385849, 0.49138447642326355, 0.8074885606765747, 0.09056679904460907, -0.5238559246063232, 0.4844309091567993, 0.10909319669008255, -0.34794723987579346, -0.41892701387405396, 0.3455246388912201, -0.011948710307478905, 0.16685150563716888, 0.5008214712142944, -0.00630291597917676, 0.34109368920326233, -0.6643304228782654, 0.37297242879867554, 0.43706557154655457, -0.7260450720787048, -0.18966999650001526, 0.6460504531860352, 0.22344970703125, -0.4719081521034241, 0.317023903131485, -0.011776394210755825, -0.5250794887542725, 0.34838318824768066, 0.921596109867096, 0.8841539621353149, -0.7024016380310059, 0.0422891303896904, 0.2326785922050476, 0.464153528213501, 0.14690369367599487, 0.3719530403614044, -0.24267975986003876, -0.5677716135978699, -0.3552597761154175, -0.33903855085372925, -0.47722333669662476, 0.20647010207176208, -1.1037611961364746, 0.20438851416110992, -0.18176016211509705, -0.04144725576043129, -0.012763378210365772, 0.06083546578884125, -0.6007592678070068, 0.6325269341468811, 0.2973507046699524, 0.5669681429862976, -0.760671079158783, 0.8997498154640198, 0.6977536678314209, -0.20845264196395874, -0.8965990543365479, 0.08939079940319061, -0.18920952081680298, -0.5852453112602234, 0.6495123505592346, -0.06446265429258347, -0.5775963068008423, 0.09151933342218399, -0.5498865842819214, -1.0203886032104492, 0.7551520466804504, 0.1804954707622528, -0.8980658650398254, 0.10578365623950958, 0.5826607346534729, 0.9197862148284912, -0.4189501702785492, -0.37964192032814026, 0.6409584879875183, 0.22115585207939148, 0.21182596683502197, -1.4385461807250977, -0.29872334003448486, -0.30072203278541565, 0.4492736756801605, 0.11593912541866302, -0.42952969670295715, 0.8210879564285278, -0.17078188061714172, -0.31635022163391113, 0.006700700148940086, 0.7143504023551941, 0.3027788996696472, 0.6200926303863525, 0.7195748090744019, 0.28089800477027893, 0.2805446684360504, 0.0312773771584034, 0.6818859577178955, -0.2589688003063202, 0.051121942698955536, 0.819165050983429, -0.18545904755592346, 1.0070512294769287, 0.6281060576438904, -0.11176571995019913, 0.10898604989051819, 0.3437521755695343, 0.2300194799900055, 0.647156834602356, 0.11895221471786499, -0.365668922662735, -0.14884120225906372, -0.3442537486553192, -0.32547610998153687, 0.5305894017219543, 0.6275162100791931, -0.3157012164592743, 0.1902133822441101, 0.2691565752029419, -0.2483556717634201, 0.13362295925617218, -0.4680785536766052, 1.0026185512542725, 0.04037005454301834, -0.4247298240661621, 1.0106526613235474, -0.26696741580963135, 0.7671287655830383, -0.3120177686214447, -0.015397079288959503, 0.19953195750713348, 0.10656803101301193, -0.2766997814178467, -0.3302198350429535, 0.19362735748291016, 0.517638623714447, -0.5129252672195435, -0.19103072583675385, 0.6892447471618652, -0.6308491826057434, -0.7508510947227478, 0.46005016565322876, 0.4886711537837982, 0.11988943815231323, 0.3115614950656891, -0.5001465082168579, -0.12553982436656952, -0.04138743877410889, -0.10425949096679688, 0.05924306809902191, 0.4399898946285248, -0.12584348022937775, 0.38986653089523315, 0.961669385433197, 0.508995532989502, 0.20401722192764282, 0.17373134195804596, 1.1131634712219238, -0.2978730797767639, -0.42392468452453613, -0.2411249279975891, 0.4092368483543396, 0.21852044761180878, -0.3821167051792145, 0.4942006766796112, 0.7579404711723328, 1.2387572526931763, 0.00630783848464489, 0.7190556526184082, 0.0106666786596179, 1.1360328197479248, -0.2263132482767105, 0.6304476261138916, -0.5516908168792725, 0.11624060571193695, -0.6248637437820435, -0.6676230430603027, -0.33334165811538696, 0.7317249774932861, -0.2640637755393982, 0.10122546553611755, 0.27093738317489624, 0.9962897896766663, -0.21856045722961426, -0.16989633440971375, 0.643729567527771, -0.055071137845516205, 0.130918487906456, 0.494920015335083, 0.9244130253791809, -0.5872715711593628, 0.710236132144928, -0.4533579349517822, -0.31779831647872925, -0.1481831818819046, -0.33629247546195984, -0.5842366218566895, -0.5042760372161865, -0.27651160955429077, -0.23072299361228943, 0.522984504699707, 0.8430426120758057, 0.9034491181373596, -1.0622689723968506, -0.28288400173187256, -0.15082934498786926, -0.6391690373420715, -0.30907487869262695, -0.17945189774036407, 0.21389399468898773, 0.10950017720460892, -0.8447273373603821, 0.8110575675964355, 0.08980659395456314, 0.015649478882551193, 0.08272109180688858, -0.294940710067749, 0.24548986554145813, 0.23660051822662354, 0.6636684536933899, 0.39656612277030945, -0.8443068861961365, -0.46479347348213196, -0.0005050647305324674, -0.030838320031762123, 0.19498907029628754, 0.6611393094062805, -0.7316881418228149, 0.8501918911933899, 0.3659842014312744, 0.3320825695991516, 0.7235273718833923, 0.27835577726364136, 0.4779449999332428, -0.7401463985443115, 0.1283321976661682, 0.4278465509414673, -0.018977148458361626, 0.4912438988685608, -0.13178642094135284, 0.2014511525630951, 0.11594593524932861, -0.34759601950645447, -0.7335647940635681, 0.12787805497646332, -0.7898150086402893, 0.18376338481903076, 0.9862332344055176, 0.10116808116436005, 0.1429363489151001, -0.3981088697910309, -0.3133658766746521, 0.5634664297103882, -0.6890884637832642, 0.5033724308013916, 0.43842267990112305, -0.4771973192691803, -0.2201034426689148, -0.13042134046554565, 0.4389271140098572, 0.19013158977031708, -0.4948633015155792, 0.1248655617237091, 0.5872161984443665, 0.16391344368457794, 0.2680722773075104, 0.5077363848686218, -0.1803847700357437, 0.6461321711540222, 0.2147080898284912, 0.17807750403881073, -0.08787371218204498, -0.43557894229888916, -0.648716390132904, -0.041323378682136536, 0.16019149124622345, -0.3751690685749054 ]
http://arxiv.org/abs/2406.10283v1
http://arxiv.org/pdf/2406.10283v1
Attentive Merging of Hidden Embeddings from Pre-trained Speech Model for Anti-spoofing Detection
2024-06-12T08:27:44
2024-06-12T08:27:44
Zihan Pan, Tianchi Liu, Hardik B. Sailor, Qiongqiong Wang
cs.CL
cs.CL, cs.SD, eess.AS
Self-supervised learning (SSL) speech representation models, trained on large speech corpora, have demonstrated effectiveness in extracting hierarchical speech embeddings through multiple transformer layers. However, the behavior of these embeddings in specific tasks remains uncertain. This paper investigates the multi-layer behavior of the WavLM model in anti-spoofing and proposes an attentive merging method to leverage the hierarchical hidden embeddings. Results demonstrate the feasibility of fine-tuning WavLM to achieve the best equal error rate (EER) of 0.65%, 3.50%, and 3.19% on the ASVspoof 2019LA, 2021LA, and 2021DF evaluation sets, respectively. Notably, We find that the early hidden transformer layers of the WavLM large model contribute significantly to anti-spoofing task, enabling computational efficiency by utilizing a partial pre-trained model.
[ -0.3329831063747406, -0.9475641250610352, 0.097603440284729, -0.1104595735669136, -0.3166550397872925, 0.3444393277168274, 0.06296568363904953, -0.5847392678260803, 0.3299255073070526, 0.44483351707458496, -0.4938587546348572, -0.12698347866535187, -0.7625302076339722, -0.5294128656387329, -0.7199180722236633, 0.8664844632148743, 0.2668280005455017, -0.24196761846542358, -0.23829980194568634, -0.10718675702810287, 0.005505236331373453, -0.7835955023765564, -0.27121689915657043, -0.24429883062839508, 0.29112595319747925, 0.05862594023346901, 0.5000227689743042, 0.4541066586971283, 0.2436332106590271, 0.3263513743877411, 0.06589300185441971, 0.2349623143672943, -0.23733872175216675, 0.02150851860642433, -0.015448655933141708, -0.11918240785598755, -0.6012918949127197, 0.11564647406339645, 0.7048200964927673, 0.04426679387688637, -0.5617815852165222, 0.3091537356376648, 0.06983192265033722, 0.013156785629689693, -0.7413566708564758, -0.14932870864868164, -0.8749666213989258, 0.1083856001496315, -0.3088712692260742, -0.3439381718635559, -0.36048129200935364, -0.12560321390628815, 0.2867453396320343, -0.3451046049594879, 0.1906043440103531, -0.08765161782503128, 0.7577173709869385, 0.44017359614372253, -0.23759569227695465, -0.08924851566553116, -0.5910549163818359, 1.0056309700012207, -0.7948393821716309, 0.5047224760055542, 0.42145514488220215, 0.2822127342224121, -0.05705410614609718, -0.445818156003952, -0.6162225008010864, -0.1560952067375183, 0.18981969356536865, 0.21415074169635773, -0.875791072845459, -0.16591237485408783, 0.029078729450702667, 0.24369123578071594, -0.2590861916542053, 0.1529196947813034, -0.38274073600769043, -0.4795049726963043, 0.6236320734024048, -0.3232377767562866, 0.23406314849853516, -0.04183632880449295, -0.5451145172119141, -0.01775961183011532, -0.3791177570819855, 0.20950819551944733, 0.5228725671768188, 0.45706769824028015, -0.08113820850849152, 0.34222331643104553, 0.00543051864951849, 0.2916092872619629, 0.25784268975257874, -0.012822967022657394, 0.5337939262390137, -0.11297697573900223, -0.4562537372112274, 0.389899343252182, 0.6392965912818909, -0.10168866813182831, -0.02104964852333069, -0.07438553124666214, -0.4113779366016388, 0.3730432093143463, 0.6205187439918518, -0.33332785964012146, -0.1515943706035614, 0.5106320977210999, -0.39878422021865845, -0.6210110187530518, -0.02729242481291294, -0.329619437456131, -0.04381837323307991, -0.17402184009552002, 0.9387593269348145, -0.4108797609806061, -0.7439051866531372, 0.0033864325378090143, -0.13262751698493958, 0.191672220826149, 0.10507310181856155, -0.30909448862075806, 0.3289591670036316, 0.5055395364761353, 0.4106695055961609, -0.2097812443971634, -0.7545568346977234, -0.9136978983879089, 0.21994183957576752, -0.30410632491111755, 0.5751649737358093, -0.23174627125263214, -0.43610015511512756, -0.13142818212509155, -0.029128776863217354, -0.22621384263038635, -0.6050679683685303, 0.3218350112438202, -0.4190232753753662, 0.11037630587816238, 0.23669551312923431, -0.5299549698829651, -0.006797846406698227, 0.206033393740654, -0.5762816071510315, 1.2126861810684204, -0.10078908503055573, -0.7359445095062256, 0.19932220876216888, -0.7467405200004578, -0.5726626515388489, 0.18019665777683258, -0.08713644742965698, -0.9080373644828796, 0.23565708100795746, 0.18759767711162567, 0.3925899863243103, 0.3685033321380615, -0.012888103723526001, -0.17907866835594177, -0.40379172563552856, 0.269489049911499, -0.6008798480033875, 0.8957903385162354, 0.2573578655719757, -0.7763609290122986, 0.48247000575065613, -0.9623600244522095, 0.29746684432029724, 0.18426333367824554, -0.13789287209510803, -0.23568765819072723, -0.08477256447076797, -0.0037498550955206156, 0.1468067765235901, 0.14905062317848206, -0.5245203971862793, -0.23045285046100616, -0.27666857838630676, 0.41743525862693787, 0.48956748843193054, -0.05116450414061546, 0.5804343819618225, -0.3403644859790802, 0.4179406464099884, 0.48799535632133484, 0.5027123689651489, -0.14150241017341614, -0.6008312106132507, -0.552514910697937, -0.5889506340026855, 0.10230813920497894, 0.6199462413787842, -0.4599238336086273, 0.6580843925476074, -0.07500868290662766, -0.7145575284957886, -0.9954047203063965, -0.008036987856030464, 0.4962747395038605, 0.23861396312713623, 0.6623747944831848, -0.052324455231428146, -0.3948762118816376, -0.7956109046936035, -0.27732741832733154, 0.1735280454158783, -0.03267383575439453, 0.04707781597971916, 0.3589784502983093, -0.3418397307395935, 0.8497823476791382, 0.045693814754486084, -0.4114242196083069, -0.038835108280181885, 0.09471908211708069, -0.24947524070739746, 0.8069230318069458, 0.48578646779060364, -0.7712868452072144, -0.3676261007785797, -0.20401836931705475, -0.3812655210494995, 0.17277036607265472, 0.011958738788962364, 0.1743924766778946, 0.13302059471607208, 0.5060184597969055, -0.5839332342147827, 0.869998037815094, 0.65283203125, 0.08198501914739609, 0.3521972894668579, -0.471619188785553, 0.058943357318639755, -0.7885697484016418, -0.288291335105896, -0.1454375982284546, -0.20926737785339355, -1.0095276832580566, 0.34838512539863586, 0.4777046740055084, -0.1013871505856514, -0.6132428646087646, -0.09243718534708023, -0.4963900148868561, 0.1740245521068573, -0.2933301627635956, 0.1144641786813736, -0.213537335395813, 0.21761980652809143, -0.17737311124801636, 0.47742798924446106, 0.9631869196891785, -0.2998930513858795, 0.28422215580940247, -0.1965339332818985, -0.21266914904117584, 0.26601508259773254, -0.5128191113471985, 0.30000442266464233, -0.0666741207242012, 0.4218710958957672, -0.8994589447975159, 0.037547700107097626, 0.14933133125305176, -0.5302771925926208, 0.38756051659584045, -0.2732485830783844, -0.4188311696052551, -0.4689090847969055, -0.4461555778980255, 0.37447264790534973, 0.5407717823982239, -0.5546673536300659, 1.0183050632476807, 0.5823361277580261, 0.3806018531322479, -0.48451805114746094, -0.859451949596405, -0.16564710438251495, -0.29300129413604736, -0.5497857928276062, 0.4146212339401245, -0.018276730552315712, 0.18872059881687164, -0.08750788122415543, -0.23007293045520782, -0.00007122505485313013, 0.010199123993515968, 0.4522703289985657, 0.25094228982925415, -0.3211127817630768, -0.5098848342895508, -0.0641292929649353, 0.07464329153299332, -0.21113407611846924, -0.19791032373905182, 0.3477709889411926, -0.07060212641954422, -0.8237356543540955, -0.8720688223838806, 0.609248697757721, 0.918011486530304, -0.4803553521633148, 0.7161110639572144, 0.7331922054290771, -0.539808452129364, -0.3498164415359497, -0.7993923425674438, -0.28179898858070374, -0.5204682946205139, 0.2306981086730957, -0.46797576546669006, -0.6078431606292725, 0.87925124168396, 0.23329350352287292, -0.1544753462076187, 0.22045589983463287, 0.1727750450372696, -0.09473196417093277, 0.9651706218719482, 0.5804176330566406, -0.3008876144886017, 0.4985961318016052, -0.19523049890995026, 0.26123860478401184, -0.5623136162757874, -0.3228050768375397, -0.2141536921262741, 0.1490863859653473, -0.533862292766571, -0.6327198147773743, 0.08148925006389618, 0.0005654107662849128, -0.10051199793815613, 0.26167231798171997, -0.5000853538513184, 0.4440694749355316, 0.820438027381897, 0.3376416265964508, -0.11689414829015732, 0.3563152551651001, 0.01659936085343361, 0.05735442414879799, -0.699116051197052, 0.030015617609024048, 0.6588979959487915, 0.6421487927436829, 0.5832633972167969, 0.09753042459487915, 0.865398645401001, 0.23325280845165253, -0.18992900848388672, -0.6820250153541565, 0.31253886222839355, -0.33389151096343994, -0.5462402105331421, -0.560571551322937, -0.2029072791337967, -0.6924837827682495, 0.22381331026554108, -0.37596675753593445, -0.6223102807998657, 0.11646131426095963, 0.2745197117328644, -0.5725027322769165, 0.4034710228443146, -0.5588105320930481, 0.4179663062095642, 0.09355823695659637, -0.07167427241802216, -0.26233696937561035, -0.7934612035751343, 0.08828812837600708, -0.3877536654472351, 0.3849470913410187, 0.03440296649932861, 0.46878162026405334, 0.7066249251365662, -0.35380464792251587, 0.8019177317619324, -0.43426990509033203, -0.30072638392448425, 0.35333025455474854, 0.054365597665309906, 0.7733741402626038, -0.564276933670044, 0.02789727970957756, 0.36881399154663086, -0.01598498597741127, -0.5882760286331177, -0.43940579891204834, 0.5664059519767761, -0.9180517196655273, -0.6309959888458252, -0.34895262122154236, -0.11948034912347794, -0.03521796688437462, 0.12669308483600616, 0.43590137362480164, 0.6965155601501465, 0.23924028873443604, 0.357062965631485, 0.6757042407989502, -0.08419381827116013, 0.26810023188591003, 0.6150647401809692, -0.06568868458271027, -0.39994633197784424, 0.9103897213935852, 0.4078696072101593, 0.35529181361198425, -0.016264518722891808, 0.3245265781879425, -0.2704855799674988, -0.6471706032752991, -0.39669692516326904, -0.0736927017569542, -0.66888028383255, -0.23250699043273926, -0.6633687615394592, -0.8895844221115112, -0.6353368163108826, 0.10529525578022003, -0.7635661959648132, -0.03201267495751381, -0.2530437111854553, -0.03419514000415802, 0.08146778494119644, 0.7560068368911743, -0.08344490826129913, 0.43789660930633545, -0.7707555294036865, 0.32427409291267395, 0.3518749475479126, 0.13512971997261047, 0.3921806514263153, -0.9187613725662231, -0.23562079668045044, 0.10350801050662994, -0.026102779433131218, -0.8030256628990173, 0.15107044577598572, 0.25385940074920654, 1.1188256740570068, 0.4473707377910614, 0.26413068175315857, 0.9978105425834656, -0.6336838006973267, 0.9524477124214172, 0.19738291203975677, -1.2906657457351685, 0.7087022066116333, -0.2255418300628662, 0.263548344373703, 0.06651972979307175, 0.1738235503435135, 0.1300133764743805, -0.8182991147041321, -0.8224091529846191, -0.9092516303062439, 0.803180456161499, 0.30989331007003784, 0.2615453004837036, 0.3032410442829132, -0.2139992117881775, -0.24828281998634338, 0.09128200262784958, -0.5726341009140015, -0.5238845944404602, -0.7773791551589966, -0.13419786095619202, 0.0034778593108057976, -0.41862568259239197, -0.2689058780670166, -0.45735156536102295, 0.5149683356285095, 0.2622565031051636, 0.06519965827465057, 0.020137356594204903, -0.2115817368030548, -0.3466511070728302, 0.13552112877368927, 0.69510418176651, 0.35984060168266296, -0.272271066904068, 0.4359486997127533, 0.5150852799415588, -0.525599479675293, -0.030729059129953384, 0.004698484670370817, 0.20187897980213165, -0.006946605630218983, 0.5057277679443359, 0.7938405871391296, 0.45228415727615356, -0.1211927980184555, 1.0344812870025635, 0.11816751956939697, -0.26594725251197815, -0.2547715902328491, 0.1315566599369049, -0.09352420270442963, 0.44308218359947205, 0.9050524234771729, 0.23355324566364288, 0.01478313934057951, -0.46975982189178467, 0.605601966381073, 0.5459905862808228, -0.27799805998802185, -0.24117837846279144, 0.5845125913619995, -0.05821133404970169, -0.26512661576271057, 0.39523783326148987, 0.08184558898210526, -1.0579999685287476, 0.37629473209381104, 0.9402598738670349, 0.5736928582191467, -0.933476984500885, -0.16091173887252808, -0.07758264243602753, 0.3122510313987732, 0.005393097642809153, 0.07933616638183594, -0.39429542422294617, -0.6351698040962219, -0.19644781947135925, -0.5504856109619141, -0.13007913529872894, 0.0766361877322197, -0.9436772465705872, 0.2559792995452881, -0.15401709079742432, -0.14271023869514465, 0.16512194275856018, -0.14090612530708313, -0.4396813213825226, 0.24653363227844238, 0.2400694489479065, 0.712886393070221, -0.9114636778831482, 1.3403987884521484, 0.514049768447876, -0.1335453987121582, -0.9325520396232605, 0.20574325323104858, 0.057910893112421036, -0.816722571849823, 0.42696455121040344, 0.010342398658394814, -0.6545950770378113, 0.13535171747207642, -0.3127712607383728, -0.7989642024040222, 0.8035140037536621, 0.21334706246852875, -0.4802153706550598, 0.1428251415491104, 0.01114836148917675, 0.3472384512424469, -0.22408446669578552, -0.0023634948302060366, 0.31531262397766113, 0.11736903339624405, 0.10500873625278473, -1.1071220636367798, 0.006626077461987734, -0.23633284866809845, -0.3282976448535919, -0.10483936965465546, -0.5192850232124329, 0.7756102085113525, 0.018943320959806442, -0.2542705237865448, -0.25123095512390137, 0.5910198092460632, 0.3084704279899597, 0.4608256220817566, 0.8635960221290588, 0.32080692052841187, 0.8749948143959045, 0.3233996033668518, 0.54661625623703, -0.2960744798183441, 0.3154662251472473, 1.2682188749313354, -0.1200886145234108, 1.276008129119873, 0.4005999267101288, -0.19799572229385376, 0.3764194846153259, 0.23157960176467896, -0.06764306128025055, 0.8420198559761047, 0.09861521422863007, -0.2998640537261963, -0.23511049151420593, 0.3465435206890106, -0.6618598699569702, 0.686225414276123, 0.33241787552833557, -0.11111664772033691, -0.013984819874167442, 0.4781653583049774, -0.20702219009399414, -0.1845833957195282, -0.24763542413711548, 0.9171675443649292, -0.16693657636642456, -0.18069949746131897, 0.5343130230903625, -0.3327227830886841, 1.1152504682540894, -0.6291592717170715, 0.31995689868927, 0.027475440874695778, 0.13429699838161469, -0.5424847602844238, -0.5298484563827515, 0.3107258379459381, -0.13923677802085876, -0.31842494010925293, -0.04644777998328209, 0.8705741167068481, -0.6169212460517883, -0.2444373220205307, 0.7111237049102783, 0.25944003462791443, 0.2345685362815857, -0.33826908469200134, -0.5718778371810913, 0.35851433873176575, 0.09421559423208237, -0.10770101100206375, 0.2831079661846161, 0.3243058919906616, 0.0852421447634697, 0.46657732129096985, 0.9180848598480225, 0.3240624964237213, 0.544059157371521, 0.2842269837856293, 0.8046202659606934, -0.3949142396450043, -0.9494855403900146, -0.8906009197235107, 0.4973927438259125, -0.23157969117164612, 0.33870530128479004, 1.1136127710342407, 0.47590699791908264, 0.658683717250824, 0.004267668351531029, 0.6644170880317688, 0.4784877598285675, 0.5950789451599121, -0.06208300590515137, 1.1630691289901733, -0.7956505417823792, 0.2216147482395172, -0.35556867718696594, -0.5447447896003723, -0.19400081038475037, 0.6180830001831055, 0.16115082800388336, -0.27530616521835327, 0.2691456377506256, 0.8446808457374573, -0.5012319684028625, 0.08749623596668243, 0.7164135575294495, -0.03550781309604645, 0.33387890458106995, -0.022151939570903778, 0.9544897675514221, -0.6459358930587769, 0.5025157332420349, -0.31214791536331177, -0.36119377613067627, -0.4378678500652313, -0.7500722408294678, -0.7772690653800964, -0.6826335787773132, -0.45535025000572205, -0.5065797567367554, -0.012674374505877495, 0.882030725479126, 1.0156620740890503, -0.9293469190597534, 0.14694128930568695, 0.2888815402984619, -0.1638021469116211, -0.12166999280452728, -0.17313338816165924, 0.5497193932533264, -0.02411024644970894, -0.38294070959091187, 0.8306528329849243, 0.13494931161403656, 0.4830925464630127, -0.2305329442024231, 0.11391636729240417, -0.036283399909734726, 0.5572664141654968, 0.5418590307235718, 0.01036266703158617, -0.9932510852813721, -0.3672146201133728, -0.3288273513317108, -0.14408864080905914, -0.03536631539463997, 0.5936917662620544, -0.6203389167785645, 0.4378669261932373, 0.15360091626644135, 0.3578171730041504, 0.47058892250061035, 0.15352846682071686, 0.12373145669698715, -1.052315354347229, 0.3347777724266052, -0.09019757807254791, 0.1402314454317093, 0.20986425876617432, -0.39898452162742615, -0.23071357607841492, 0.03205638378858566, -0.3508526384830475, -1.3406990766525269, -0.0566820353269577, -0.8890809416770935, -0.3333684802055359, 0.7677717208862305, -0.2028132975101471, -0.2380724847316742, -0.22600239515304565, -0.001478655613027513, 0.6418462991714478, -0.358808308839798, 0.6388780474662781, 0.37929216027259827, -0.03349527344107628, -0.06929142028093338, -0.24510440230369568, 0.706154465675354, 0.39899662137031555, -0.3803544044494629, 0.05760212242603302, -0.10822272300720215, 0.4168565571308136, 0.6061956882476807, 0.42339619994163513, -0.0031120688654482365, 0.2998288869857788, 0.36460137367248535, -0.33989080786705017, -0.3156542479991913, -0.5033500790596008, -0.5362461805343628, 0.3714653253555298, -0.24394682049751282, -0.6473010182380676 ]
http://arxiv.org/abs/2406.07990v1
http://arxiv.org/pdf/2406.07990v1
Blowfish: Topological and statistical signatures for quantifying ambiguity in semantic search
2024-06-12T08:26:30
2024-06-12T08:26:30
Thomas Roland Barillot, Alex De Castro
cs.LG
cs.LG, cs.AI, cs.CL
This works reports evidence for the topological signatures of ambiguity in sentence embeddings that could be leveraged for ranking and/or explanation purposes in the context of vector search and Retrieval Augmented Generation (RAG) systems. We proposed a working definition of ambiguity and designed an experiment where we have broken down a proprietary dataset into collections of chunks of varying size - 3, 5, and 10 lines and used the different collections successively as queries and answers sets. It allowed us to test the signatures of ambiguity with removal of confounding factors. Our results show that proxy ambiguous queries (size 10 queries against size 3 documents) display different distributions of homologies 0 and 1 based features than proxy clear queries (size 5 queries against size 10 documents). We then discuss those results in terms increased manifold complexity and/or approximately discontinuous embedding submanifolds. Finally we propose a strategy to leverage those findings as a new scoring strategy of semantic similarities.
[ -0.3886343240737915, -0.9389065504074097, 0.7462666034698486, 0.0882495790719986, -0.46265530586242676, 0.08487682044506073, 0.1386738419532776, -0.5459422469139099, 0.6695516109466553, 0.25192514061927795, -0.618377149105072, -0.24194857478141785, -1.0465868711471558, 0.46247631311416626, -0.6052141785621643, 0.6755569577217102, 0.044648367911577225, -0.025575419887900352, -0.38199594616889954, -0.24358631670475006, -0.3939642608165741, -0.007882672362029552, -0.3146287798881531, 0.08643919229507446, 0.7980461716651917, 0.10170655697584152, 1.1260477304458618, 0.872244656085968, 0.8031222820281982, 0.3503475785255432, -0.36667534708976746, 0.44935715198516846, -0.543267548084259, 0.5592696666717529, -0.36987990140914917, -0.48466914892196655, -0.1657564789056778, -0.05205996707081795, 0.5347235798835754, 1.066738247871399, 0.17797039449214935, 0.3212750256061554, -0.2240762859582901, 0.4532601833343506, -0.863201916217804, 0.03333623707294464, -0.8148486018180847, 0.12524567544460297, -0.7597187161445618, -0.5024576187133789, -0.12908689677715302, -0.06325781345367432, 0.2801781892776489, -0.9797229170799255, 0.18415266275405884, 0.32490065693855286, 0.9547505974769592, 0.7339958548545837, -0.8677253723144531, -0.866593599319458, -0.5179224014282227, 0.6255975365638733, -0.5509793162345886, 0.5710951685905457, 0.2129543423652649, 0.11620263755321503, -0.6614862084388733, -0.7764649391174316, -0.7520022392272949, 0.34409600496292114, -0.2705678343772888, 0.13988621532917023, -0.2038591057062149, -0.08121169358491898, 0.23315012454986572, 0.33651119470596313, -0.7903095483779907, -0.035245779901742935, -0.6291313171386719, -0.29904523491859436, 0.6457556486129761, 0.2089717984199524, 0.35240083932876587, -0.28578516840934753, -0.46519941091537476, -0.2298494577407837, -0.6400313973426819, 0.08907847851514816, 0.7703444361686707, 0.26820799708366394, 0.09002447128295898, 0.9433445334434509, -0.11849869787693024, 0.8592144250869751, -0.24927476048469543, 0.32714056968688965, 0.20838914811611176, 0.08271761238574982, 0.05481216683983803, 0.08538464456796646, 0.5111002922058105, 0.22166301310062408, -0.2204560935497284, -0.024867594242095947, -0.12899209558963776, 0.10214165598154068, 0.5371527671813965, -0.16835515201091766, 0.030985821038484573, 0.4788590669631958, -0.43845027685165405, -0.30721887946128845, 0.36661896109580994, -0.8744263648986816, -0.5222108364105225, -0.21521931886672974, 0.670709490776062, -0.36838051676750183, -0.08145857602357864, 0.35358330607414246, -0.769135057926178, 0.5823568105697632, -0.03644706681370735, -0.5510716438293457, 0.5681898593902588, 1.0979245901107788, 0.7516087889671326, 0.03366731107234955, -0.2925024628639221, -0.5724318623542786, 0.1809670478105545, -0.40154168009757996, 0.8517097234725952, -1.0268348455429077, -0.4257047772407532, 0.09458323568105698, -0.21810664236545563, 0.13679173588752747, -0.44833284616470337, 0.8002278804779053, -0.5389885902404785, 0.39367786049842834, -0.43579962849617004, -1.1312134265899658, -0.27535492181777954, 0.0831725001335144, -0.6729671955108643, 1.2227667570114136, 0.2891947329044342, -0.8976374268531799, 0.580564022064209, -0.6005900502204895, -0.24459969997406006, 0.4208524227142334, -0.40308114886283875, -0.24268966913223267, 0.30132994055747986, 0.005992995575070381, 0.2722916305065155, -0.22333356738090515, -0.10940874367952347, -0.41978779435157776, -0.7760846018791199, 0.4125232398509979, 0.32549870014190674, 0.7348471283912659, 0.17529962956905365, -0.5323014855384827, 0.023547908291220665, -0.45128944516181946, 0.07770828157663345, 0.07042433321475983, 0.1645262986421585, -0.7544430494308472, 0.10735651105642319, -0.2585983872413635, -0.11138710379600525, 0.27208787202835083, -0.49080508947372437, 0.39517471194267273, -0.44651439785957336, 0.15406149625778198, 0.5659754872322083, 0.21387529373168945, 0.11118442565202713, -0.35444411635398865, 0.5855606198310852, 0.26731693744659424, 0.17811319231987, 0.04161757603287697, -0.8940396904945374, -0.5913695693016052, -0.09167752414941788, 0.3746750056743622, 0.28698399662971497, -0.813117504119873, 0.4485785663127899, -0.5506102442741394, -0.5552661418914795, -0.7042229771614075, -0.13173791766166687, 0.19302313029766083, 0.0969969853758812, 0.3667197525501251, -0.27255141735076904, -0.423653781414032, -0.865893542766571, -0.7824954986572266, -0.06914268434047699, -0.10144629329442978, 0.45297929644584656, 0.6612265110015869, -0.29260948300361633, 1.032730221748352, -0.8290348052978516, -0.26824381947517395, 0.30620479583740234, 0.10526146739721298, 0.21864540874958038, 0.1356762796640396, 0.31604042649269104, -1.3460609912872314, -0.03543488308787346, -0.20081382989883423, -0.5123720765113831, -0.016846396028995514, 0.10689526796340942, -0.043512701988220215, -0.05396270006895065, 0.590050220489502, -0.601826548576355, 0.472336083650589, 0.5301136374473572, -0.6043707728385925, 0.07478505373001099, -0.2467261105775833, 0.061484143137931824, -0.6650874018669128, -0.1374744176864624, -0.3172277510166168, -0.005409479606896639, -0.5894282460212708, 0.2782731056213379, -0.030864572152495384, 0.1563001424074173, -0.2611545920372009, 0.6685078144073486, -0.35419315099716187, -0.12001954019069672, 0.00882207602262497, 0.7340641021728516, -0.2446935474872589, 0.14396578073501587, -0.33491629362106323, 0.2789377272129059, 0.4703464210033417, -0.8341495394706726, 0.40248075127601624, 0.33077433705329895, 0.0675053596496582, 0.5728254914283752, -0.7753084897994995, -0.10475748032331467, -0.1494913101196289, 0.27178242802619934, -1.1432663202285767, -0.4488752484321594, 0.26523083448410034, -0.5661755800247192, 0.0881015881896019, 0.003649540478363633, -0.12115450203418732, -0.41741639375686646, -0.4349072277545929, 0.7754055261611938, 0.3538629710674286, -0.3933868110179901, 0.4185478091239929, 0.5355350375175476, 0.23327888548374176, -0.557799756526947, -0.3386930525302887, -0.13615626096725464, -0.42866250872612, -0.7779907584190369, 0.22377119958400726, 0.20480461418628693, -0.22694775462150574, 0.18528582155704498, -0.25096258521080017, 0.1100410744547844, -0.016454046592116356, 0.4103628396987915, 0.17146635055541992, 0.010378967970609665, 0.346365749835968, 0.26363223791122437, -0.053896259516477585, -0.12621267139911652, -0.6180079579353333, 0.41191592812538147, 0.0007863491773605347, -0.37259089946746826, 0.40308234095573425, 0.16428983211517334, 0.32416263222694397, -0.09567700326442719, 0.5584951043128967, 0.8933265805244446, -0.39185139536857605, -0.10388828814029694, -0.33712896704673767, -0.09873886406421661, -0.5271066427230835, -0.22845642268657684, -0.5953948497772217, -1.1661415100097656, 0.8545219302177429, -0.3409736752510071, -0.32963326573371887, 0.8530181050300598, 0.24485541880130768, -0.1757436990737915, 0.5620241165161133, 0.22814643383026123, 0.6169878840446472, -0.11483301222324371, -0.08785980939865112, 0.5409935712814331, -0.91661536693573, -0.2840767502784729, -0.6662194728851318, -0.573540449142456, -1.4622067213058472, -0.6230037212371826, 0.6529489159584045, -0.11455820500850677, 0.01923746056854725, 0.3383170962333679, -0.7330702543258667, 0.44249194860458374, 0.37080153822898865, -0.035352371633052826, -0.0721343532204628, -0.35647067427635193, -0.19356787204742432, -0.13020777702331543, -0.5340597033500671, -0.227066308259964, 0.9934681057929993, 0.10276764631271362, 0.3305739760398865, 0.6003890037536621, 0.6833827495574951, 0.4326515793800354, -0.5339662432670593, -0.5222108364105225, 0.3848971128463745, -0.24473391473293304, -0.7914438843727112, -0.646618664264679, -0.5892109274864197, -1.3793294429779053, 0.47197070717811584, -0.3593931794166565, -0.758984386920929, 0.44143345952033997, -0.28132104873657227, 0.16374634206295013, 0.16175295412540436, -0.341137558221817, 0.7198991179466248, 0.1276182234287262, -0.1928681582212448, 0.11015758663415909, -0.8351663947105408, 0.2564132511615753, 0.052529044449329376, 0.38078761100769043, -0.16978228092193604, -0.6403428316116333, 0.637942910194397, -0.28207674622535706, 0.4807063639163971, 0.0461304746568203, -0.2937317192554474, 0.1016692966222763, 0.3944587707519531, 0.5264227986335754, -0.14460784196853638, -0.07946449518203735, 0.25137442350387573, 0.40645065903663635, -0.6839000582695007, -0.7512261271476746, 0.470134973526001, -0.40686410665512085, -0.5727338194847107, -0.5314801335334778, -0.4762730300426483, -0.17970727384090424, 0.43934008479118347, 0.4898902475833893, 0.5366510152816772, 0.08614248782396317, 0.20507220923900604, 0.6762233972549438, -0.15936581790447235, 0.08792508393526077, 0.1476099193096161, -0.24234344065189362, 0.038208264857530594, 0.9115118384361267, -0.020398415625095367, -0.11229854077100754, 0.5121940970420837, 0.24404563009738922, -0.36661505699157715, -0.2907114326953888, -0.2251110076904297, 0.2944336235523224, -0.5330453515052795, -0.153206467628479, -0.551990807056427, 0.056982483714818954, -0.5605401992797852, -0.14838668704032898, -0.09085771441459656, -0.5430590510368347, 0.10657861828804016, 0.13765409588813782, 0.46345922350883484, 1.2331706285476685, -0.037775155156850815, 0.1577414572238922, -0.5824028253555298, 0.23347371816635132, -0.06088345870375633, 0.4977474808692932, -0.38883596658706665, -0.3976951241493225, 0.01522282138466835, 0.04468487948179245, -0.037611838430166245, -1.2552857398986816, 0.10498727858066559, 0.030835820361971855, 0.5124391317367554, 0.2611598074436188, 0.15320232510566711, 0.6211161017417908, -0.21707889437675476, 1.0622566938400269, -0.3339211940765381, -1.1650073528289795, 0.5269121527671814, -0.768968939781189, 0.2279532551765442, 0.18002842366695404, 0.8541537523269653, -0.6669685244560242, -0.7857453227043152, -0.9935349225997925, -0.9776296019554138, 0.2934820055961609, 0.3597835600376129, 0.05513694882392883, -0.010108424350619316, 0.6435503959655762, 0.09836148470640182, 0.09744447469711304, -0.15453094244003296, -0.5230588316917419, 0.10930589586496353, -0.09351658821105957, 0.13725192844867706, -0.30684247612953186, -0.22027504444122314, -0.20634028315544128, 0.47130927443504333, -0.13383124768733978, 0.15221968293190002, 0.3953840136528015, 0.07158499211072922, 0.12210626155138016, 0.10581642389297485, 0.8981924653053284, 0.7197457551956177, -0.07092513889074326, 0.5255945920944214, 0.2579858601093292, -0.6741932034492493, 0.006360135041177273, -0.1789940446615219, 0.08313357084989548, 0.25769397616386414, 0.6913264989852905, 0.39968377351760864, 0.44991493225097656, -0.5315662622451782, 0.4725951850414276, 0.08789282292127609, -0.12991221249103546, -0.11061259359121323, 0.07571563124656677, -0.14919061958789825, 0.12209378182888031, 0.2775561809539795, -0.332894504070282, 0.7157425880432129, -0.4772339165210724, 0.16298869252204895, 0.47012707591056824, -0.552544891834259, 0.13851307332515717, 0.3196943700313568, -0.14427106082439423, -0.18236719071865082, 0.5304325819015503, -0.5796070694923401, -0.738509476184845, 0.34627842903137207, 0.06490471959114075, 0.5455847382545471, -0.16308453679084778, 0.2985858619213104, 0.0828021839261055, 0.43182867765426636, 0.44167423248291016, 0.39060866832733154, -0.03821771591901779, -0.4871346056461334, 0.03529340773820877, -0.5751559734344482, -0.595003068447113, -0.37114217877388, -0.8536689281463623, 0.36355865001678467, 0.13789543509483337, -0.015552641823887825, 0.2924099266529083, 0.09777221083641052, -0.3663218021392822, 0.12724900245666504, -0.29965469241142273, 0.6074662208557129, -0.7441017031669617, 0.19992443919181824, 0.7765129208564758, -0.3983590304851532, -0.7986447215080261, 0.04404236748814583, 0.49080464243888855, -0.4883511960506439, 0.6275634765625, -0.2409685105085373, -0.22223900258541107, -0.3563162088394165, -0.3538244068622589, -1.0621347427368164, 1.062286615371704, 0.11343859881162643, -0.06584417819976807, 0.056621961295604706, 0.45720744132995605, 0.6621708273887634, -0.258714884519577, 0.38048145174980164, 0.5624457001686096, 0.7350677847862244, 0.35169994831085205, -0.7747833728790283, 0.2624373733997345, -0.1781546026468277, 0.20203951001167297, 0.6050626039505005, -0.3881700336933136, 0.8548800349235535, 0.18327011168003082, -0.3323633372783661, -0.06956080347299576, 0.5049502849578857, 0.041178055107593536, 0.3983692228794098, 0.4991021454334259, 0.560874879360199, 1.1837118864059448, -0.5056426525115967, 1.141573190689087, -0.042381495237350464, 0.546916127204895, 0.9402675628662109, -0.17802537977695465, 0.8791950345039368, 0.6306846737861633, -0.1843859851360321, 0.5979793667793274, 0.8145573735237122, -0.05399308353662491, 0.07054594904184341, 0.611599326133728, -0.013969916850328445, -0.06555388122797012, -0.11664759367704391, -0.3982278108596802, 0.8409427404403687, 0.6386666893959045, 0.032891955226659775, -0.20712830126285553, -0.24567300081253052, -0.1770092248916626, 0.10109428316354752, 0.26360461115837097, 0.7485888600349426, -0.012491215020418167, -0.42240890860557556, 0.20279045403003693, -0.25596433877944946, 0.5574021935462952, -0.44257083535194397, -0.08154557645320892, -0.11299354583024979, -0.023542752489447594, -0.4652271270751953, -1.03708016872406, 0.4519089162349701, -0.5116848349571228, -0.00834963470697403, -0.03218197450041771, 0.6678536534309387, -0.37279894948005676, -0.37704530358314514, 0.27441704273223877, 0.40794384479522705, 0.5925240516662598, 0.2254069447517395, -0.4208805561065674, 0.5126410722732544, -0.3458459973335266, -0.04202884063124657, -0.25363612174987793, 0.8821537494659424, 0.03860146179795265, 0.587227463722229, 0.5644057393074036, 0.29906943440437317, 0.44705045223236084, -0.23072679340839386, 0.6697435975074768, -0.5447515249252319, -0.3714744746685028, -0.5139862895011902, 0.2838877737522125, -0.11422396451234818, -0.5835398435592651, 0.8283684849739075, 0.5520543456077576, 1.037796974182129, -0.01548079214990139, 0.0633619949221611, -0.17660103738307953, 0.44593074917793274, -0.5618604421615601, 0.4852207899093628, -0.8706346154212952, 0.280242383480072, -0.4467843472957611, -1.059293270111084, -0.38245928287506104, 0.35269489884376526, -0.2610335052013397, 0.14947742223739624, 0.823223888874054, 0.6984761357307434, -0.2172735184431076, 0.2664821743965149, 0.29430243372917175, 0.18363171815872192, 0.27757391333580017, 0.12081753462553024, 0.7224547266960144, -0.7391421794891357, 0.1514771729707718, -0.062030334025621414, 0.021582666784524918, -0.3410342037677765, -0.7266576290130615, -0.41171857714653015, -1.2795957326889038, -0.38957464694976807, -0.22908589243888855, -0.05734507367014885, 0.4149363040924072, 0.37177184224128723, -0.28534993529319763, -0.1060759425163269, 0.14472541213035583, 0.5129343271255493, -0.13019652664661407, -0.29965266585350037, 0.34843042492866516, -0.4857257306575775, -0.5523114800453186, 0.12162218242883682, 0.4860939681529999, -0.08243437856435776, -0.25571075081825256, 0.059826236218214035, -0.5233342051506042, 0.42328697443008423, 0.3128780126571655, 0.16382014751434326, -0.8206847310066223, -0.5055064558982849, 0.10746742784976959, 0.05047416687011719, -0.5440351366996765, 0.9904541373252869, -0.5294831991195679, 0.4845485985279083, 0.5536326169967651, 0.4978845417499542, 0.5263294577598572, -0.251904159784317, 0.44910162687301636, -0.8175416588783264, 0.22949212789535522, 0.06914491951465607, 0.24430209398269653, 0.04068164527416229, -0.6407635807991028, 0.9037621021270752, 0.06596695631742477, -0.4954439699649811, -0.9588855504989624, 0.3163881301879883, -1.2452863454818726, -0.35772594809532166, 0.8931757807731628, 0.1895425170660019, -0.2736334204673767, -0.1553320586681366, 0.1082037016749382, 0.11394064873456955, 0.16760390996932983, 0.6791481971740723, 0.7462154030799866, -0.29741302132606506, 0.3103853762149811, -0.3600098192691803, 0.7096965909004211, 0.4336819052696228, -0.6127699613571167, -0.3295362889766693, 0.3153049349784851, -0.05615679547190666, 0.6330146193504333, 0.08166738599538803, -0.22050315141677856, 0.2808734178543091, 0.2514438331127167, -0.44257673621177673, 0.23199471831321716, -0.12860393524169922, -0.2741786539554596, 0.08999834209680557, -0.29617011547088623, 0.06308795511722565 ]
http://arxiv.org/abs/2406.07971v2
http://arxiv.org/pdf/2406.07971v2
It Takes Two: On the Seamlessness between Reward and Policy Model in RLHF
2024-06-12T07:52:17
2024-06-13T05:13:50
Taiming Lu, Lingfeng Shen, Xinyu Yang, Weiting Tan, Beidi Chen, Huaxiu Yao
cs.CL
cs.CL, cs.AI, cs.LG
Reinforcement Learning from Human Feedback (RLHF) involves training policy models (PMs) and reward models (RMs) to align language models with human preferences. Instead of focusing solely on PMs and RMs independently, we propose to examine their interactions during fine-tuning, introducing the concept of seamlessness. Our study starts with observing the saturation phenomenon, where continual improvements in RM and PM do not translate into RLHF progress. Our analysis shows that RMs fail to assign proper scores to PM responses, resulting in a 35% mismatch rate with human preferences, highlighting a significant discrepancy between PM and RM. To measure seamlessness between PM and RM without human effort, we propose an automatic metric, SEAM. SEAM quantifies the discrepancies between PM and RM judgments induced by data samples. We validate the effectiveness of SEAM in data selection and model augmentation. Our experiments demonstrate that (1) using SEAM-filtered data for RL training improves RLHF performance by 4.5%, and (2) SEAM-guided model augmentation results in a 4% performance improvement over standard augmentation methods.
[ -0.4824109375476837, -0.7945187091827393, 0.5262448787689209, 0.17799466848373413, -0.07933111488819122, 0.3686199486255646, -0.15263570845127106, -0.49766242504119873, 0.22031834721565247, 0.4537794291973114, -0.9564110040664673, -0.24006694555282593, -0.4622190594673157, -0.20395492017269135, 0.06209757924079895, 1.2610554695129395, -0.1389612853527069, -0.08407717198133469, -0.5572100877761841, -0.15845812857151031, -0.6824489235877991, -0.2017901986837387, -0.3416453003883362, -1.0515010356903076, 0.6536270380020142, 0.5721078515052795, 1.0590711832046509, 0.9726831912994385, 0.32992562651634216, 0.32731667160987854, 0.03303353115916252, 0.3060600757598877, -0.5221023559570312, 0.054843880236148834, -0.3131866455078125, -0.5187863707542419, -0.26448357105255127, 0.1873513162136078, 0.5552896857261658, 0.7508854269981384, -0.33034589886665344, 0.03787383809685707, 0.3920259475708008, 1.1045955419540405, -0.7862777709960938, 0.4240150451660156, -0.06716075539588928, 0.48114755749702454, 0.06750744581222534, -0.31047892570495605, -0.04684211686253548, -0.618190586566925, 0.3358929455280304, -0.5722352862358093, 0.10736121237277985, 0.1140935942530632, 1.0107537508010864, 0.568804919719696, -0.1456686407327652, 0.019562361761927605, -0.6641062498092651, 0.7946431636810303, -0.5712699294090271, 0.5678431987762451, 0.6703901290893555, -0.008539180271327496, -0.26429229974746704, -0.23989109694957733, -0.43723607063293457, -0.5212945342063904, -0.16137927770614624, 0.20022878050804138, 0.3665408790111542, 0.3209682106971741, 0.0064174155704677105, 0.6080623269081116, -0.6688681244850159, 0.2863868772983551, -0.06489719450473785, -0.32592636346817017, 0.7377094626426697, 0.4887809455394745, 0.09789563715457916, -0.31716591119766235, -0.38001328706741333, -0.5074582099914551, -0.32250627875328064, 0.6636332273483276, 0.4530547261238098, 0.2968144714832306, -0.46455496549606323, 0.5897542238235474, -0.4033326208591461, 0.6892268061637878, -0.20367223024368286, -0.21391667425632477, 0.07221679389476776, -0.07392807304859161, -0.3815923035144806, -0.32007452845573425, 0.5762339234352112, 0.1296219378709793, -0.034229010343551636, -0.22723957896232605, -0.49866577982902527, 0.04935362562537193, 0.4088834226131439, -0.29759693145751953, -0.3373687267303467, 0.3048425614833832, -0.2500343322753906, -0.48209238052368164, 0.33983415365219116, -0.5833909511566162, -0.4353199005126953, -0.7425007820129395, 0.44216641783714294, -0.17067581415176392, -0.28257614374160767, 0.16529704630374908, -0.24037691950798035, 0.2291404753923416, 0.20439159870147705, -0.5531711578369141, 0.22297419607639313, 0.9909924864768982, 0.6979109048843384, -0.4067397117614746, -0.8688817024230957, -0.43569448590278625, -0.3632958233356476, -0.5092090964317322, 0.8122745156288147, -0.328509122133255, -0.3757832646369934, 0.2628117501735687, 0.14245820045471191, -0.06244942918419838, -0.5223197340965271, 0.47247055172920227, -0.42979857325553894, 0.48111477494239807, -0.42024239897727966, -0.4953889548778534, -0.2564069330692291, 0.34237679839134216, -0.6390684843063354, 1.117266058921814, 0.33872976899147034, -0.6590949892997742, 0.7657357454299927, -0.5124022364616394, -0.2457338571548462, 0.05152059346437454, 0.04676206037402153, -0.7830114960670471, 0.007921501062810421, -0.06114921718835831, 0.17514987289905548, -0.10796074569225311, 0.36711829900741577, -0.6008579134941101, -0.6260050535202026, 0.5576136708259583, -0.4904360771179199, 0.3038316071033478, 0.06125315651297569, -0.4530802071094513, 0.24853673577308655, -0.5519020557403564, 0.20439550280570984, -0.013808069750666618, -0.9146242737770081, -0.2292647361755371, 0.11348582804203033, 0.11787941306829453, 0.07209432870149612, 0.2256162166595459, -0.39941754937171936, 0.11086086928844452, -0.5997653007507324, 0.1601899415254593, 0.9391600489616394, -0.14804041385650635, 0.5293473601341248, -0.7025821805000305, 0.5581668615341187, -0.05550869554281235, 0.2879413366317749, -0.051832836121320724, -0.01224990002810955, -1.193759799003601, -0.10626459121704102, 0.4642186164855957, 0.45253297686576843, -0.6958805918693542, 0.5951462984085083, -0.13555894792079926, -0.18415392935276031, -0.6096283197402954, -0.017005935311317444, 0.7137040495872498, 0.2986932694911957, 0.2867862284183502, -0.83271723985672, -0.309748113155365, -0.7715514302253723, -0.6140101552009583, -0.22081051766872406, 0.10850656032562256, 0.5144917368888855, 0.3241514265537262, -0.027670864015817642, 1.0614817142486572, -0.21910814940929413, -0.12713317573070526, -0.046051062643527985, 0.45045313239097595, -0.009015526622533798, 0.5444604158401489, -0.09744687378406525, -0.5997287034988403, -0.21248608827590942, -0.05720124393701553, -0.78011554479599, 0.07562601566314697, -0.09209784120321274, 0.09176941215991974, 0.571740448474884, 0.013849458657205105, -0.2867259383201599, 0.6158707141876221, 0.515693187713623, -0.5935877561569214, 0.5637730956077576, -0.5115967392921448, 0.45005255937576294, -0.32924884557724, -0.07188336551189423, 0.04503924772143364, -0.5457693338394165, -0.302556574344635, 0.19883273541927338, 0.13662782311439514, -0.02022416889667511, -0.36912840604782104, 0.41352352499961853, -0.22489330172538757, -0.3554912209510803, -0.4780278205871582, -0.11456499993801117, 0.10697365552186966, 0.7989997267723083, -0.01728374883532524, 0.6199950575828552, 0.3052293360233307, -0.8031532168388367, 0.3386886715888977, 0.04273911565542221, -0.33772167563438416, 0.5636956095695496, -0.7418288588523865, 0.10648836940526962, -0.2990769147872925, 0.25891104340553284, -0.8947863578796387, -0.619827926158905, 0.2789718210697174, -0.21363919973373413, 0.24391134083271027, -0.11460999399423599, -0.17226698994636536, -0.3936922550201416, -0.3613976538181305, 0.32847777009010315, 0.37115153670310974, -0.4363120198249817, 0.3675258159637451, 0.43202486634254456, 0.048657745122909546, -0.6949339509010315, -0.7577598690986633, -0.21604080498218536, -0.1811533272266388, -0.27362242341041565, 0.27503764629364014, 0.0335797555744648, 0.067404605448246, 0.1987244337797165, -0.30264559388160706, 0.011204910464584827, 0.07660668343305588, 0.5819746851921082, 0.532913088798523, -0.04552570730447769, -0.09580541402101517, -0.09392526745796204, -0.13273102045059204, 0.06517341732978821, -0.43426334857940674, 0.6187430024147034, -0.13323502242565155, -0.5465449690818787, -0.8403715491294861, -0.15783990919589996, 0.5280349254608154, -0.21559768915176392, 0.5838780999183655, 0.5960738062858582, 0.14109006524085999, -0.15919001400470734, -0.6350674629211426, -0.20901109278202057, -0.45610693097114563, 0.2861999571323395, -0.2749057114124298, -1.0042433738708496, 0.15856775641441345, 0.13382379710674286, 0.05743924528360367, 0.08358579128980637, 0.27495914697647095, 0.013962555676698685, 0.9363478422164917, 0.9719179272651672, -0.25408703088760376, 0.605415940284729, -0.17105624079704285, -0.11076436936855316, -0.5454846024513245, -0.6505671143531799, -0.4377948045730591, -0.25843551754951477, -0.6956343054771423, -0.31336790323257446, 0.4534575939178467, 0.15351887047290802, -0.5689205527305603, 0.21826140582561493, -0.3388955295085907, 0.6143540143966675, 0.6090149879455566, 0.5188109278678894, 0.058239053934812546, -0.1260444074869156, -0.0035784931387752295, -0.11842674762010574, -0.831487774848938, 0.028081905096769333, 0.6593489050865173, 0.6606011986732483, 0.9183263778686523, -0.1572834849357605, 0.6252462863922119, 0.5831208825111389, -0.23345965147018433, -0.8410395383834839, 0.1546008586883545, 0.17666776478290558, 0.02660200744867325, -0.6346277594566345, -0.5700797438621521, -0.7476531267166138, 0.0891573503613472, -0.43623924255371094, -0.3802284002304077, 0.2738383710384369, 0.40683862566947937, -0.45737630128860474, 0.021654805168509483, -0.30173027515411377, 0.8624417185783386, -0.1921873539686203, -0.7124953866004944, -0.5159251093864441, -0.5964794158935547, 0.46918365359306335, 0.30255547165870667, 0.2146688550710678, -0.19787684082984924, 0.19596366584300995, 0.650095522403717, -0.37678107619285583, 0.7297453880310059, -0.23378784954547882, -0.07328686863183975, 0.08518499881029129, 0.46099475026130676, 0.6992534399032593, 0.14946968853473663, 0.23669874668121338, 0.10112139582633972, -0.06172701716423035, -0.6314787864685059, -0.5434417128562927, 0.6075013875961304, -0.9853112697601318, -0.2889820337295532, -0.5555269718170166, -0.9113913774490356, -0.3487968146800995, 0.0020980816334486008, -0.10750845074653625, 0.2209504395723343, -0.20973165333271027, -0.09565023332834244, 0.8614368438720703, -0.47735175490379333, 0.40830838680267334, 0.592086672782898, -0.2281479686498642, -0.4397088289260864, 0.9113718271255493, -0.24020305275917053, 0.3003943860530853, 0.2887101471424103, 0.310492604970932, -0.6064205169677734, 0.16544196009635925, -0.40276437997817993, 0.27061915397644043, -0.43032845854759216, -0.11744572222232819, -0.3657045066356659, -0.2493991255760193, -0.35242316126823425, 0.007657507434487343, -0.6640481352806091, -0.25732600688934326, -0.06514082103967667, 0.13841664791107178, 0.10741360485553741, 1.0788418054580688, -0.32835546135902405, 0.0676536038517952, -0.653645396232605, 0.09932752698659897, 0.4920172095298767, 0.5949935913085938, 0.01121028047055006, -0.6990606784820557, -0.4397937059402466, 0.2067803293466568, -0.24936120212078094, -0.3528575599193573, 0.3979160189628601, 0.0876084417104721, 0.28037911653518677, 0.3121775984764099, -0.06054426729679108, 1.0272448062896729, -0.28543588519096375, 0.8234328031539917, 0.17144522070884705, -1.0698658227920532, 0.46660178899765015, -0.14923644065856934, 0.3212891221046448, 0.36473897099494934, 0.32528743147850037, -0.6642299294471741, -0.3633107542991638, -0.48240700364112854, -0.7602093815803528, 1.0692654848098755, -0.22734154760837555, 0.01657581515610218, 0.6202772259712219, 0.3043432831764221, 0.1280706375837326, 0.18592804670333862, -0.711916446685791, -0.21510310471057892, -0.32945817708969116, 0.22396212816238403, -0.12653036415576935, -0.24502304196357727, -0.2643238604068756, -0.12092990428209305, 0.6663151979446411, -0.050584323704242706, 0.0790475532412529, 0.16184839606285095, 0.027038482949137688, -0.5896239280700684, 0.2806544601917267, 0.5370798110961914, 0.7282829284667969, -0.1283571571111679, -0.003884456120431423, -0.08403901010751724, -0.022109709680080414, 0.13286460936069489, -0.10432654619216919, 0.0760166272521019, -0.2504720985889435, 0.3334878981113434, 1.2108525037765503, 0.25187134742736816, -0.6225634813308716, 0.48909497261047363, 0.01994304731488228, -0.31345102190971375, -0.12601280212402344, 0.4200280010700226, -0.3012831211090088, 0.5273693203926086, -0.08669159561395645, 0.1013995036482811, -0.11331150680780411, -0.5930855870246887, 0.44921186566352844, 0.47614625096321106, -0.8931124806404114, -0.11444688588380814, 0.5853559374809265, -0.22479043900966644, -0.511824369430542, 0.5924669504165649, -0.09847034513950348, -0.572796106338501, 0.4568595290184021, 0.2991922199726105, 0.6708145141601562, -0.04031224921345711, 0.7504367828369141, 0.2823947072029114, 0.107323557138443, -0.353539377450943, 0.07707831263542175, -0.3481143116950989, -0.5649067163467407, -0.50588059425354, -0.8334741592407227, -0.5483181476593018, 0.08334191888570786, -1.0282137393951416, 0.15219001471996307, -0.3847464919090271, 0.1494738608598709, -0.32691824436187744, 0.0447264239192009, -0.7429447174072266, 0.23597832024097443, 0.0339246541261673, 0.5287548303604126, -1.079141616821289, 0.6634531617164612, 0.5234770774841309, -0.6408105492591858, -1.105230450630188, 0.23143145442008972, 0.0665532648563385, -0.9232751727104187, 0.42242732644081116, -0.1608274132013321, 0.02471454255282879, -0.26539888978004456, -0.4119296669960022, -0.810526430606842, 1.0622159242630005, 0.12398368120193481, -0.38823312520980835, -0.01714656874537468, 0.46883049607276917, 0.42583805322647095, -0.05500461533665657, 0.2457142323255539, 0.9317880272865295, 0.4754205346107483, -0.1620820015668869, -1.1985421180725098, -0.19132694602012634, 0.2586708068847656, 0.3038669526576996, 0.19197261333465576, -0.6894479393959045, 0.9921520352363586, -0.00442682858556509, -0.07721325755119324, 0.06356974691152573, 0.5652707815170288, 0.5265440940856934, 0.4104771018028259, 0.6666876673698425, 0.8055844306945801, 0.5473551750183105, -0.1729619950056076, 1.0832326412200928, -0.06552711129188538, 0.731343150138855, 0.9122708439826965, -0.08251770585775375, 0.5003456473350525, 0.4126007854938507, -0.4160067141056061, 0.7025388479232788, 0.9464327692985535, 0.2495940625667572, 0.6814795732498169, 0.2192734032869339, -0.039762645959854126, -0.3356807231903076, -0.22733688354492188, -0.22285594046115875, 0.46950680017471313, -0.05878499895334244, 0.12709321081638336, -0.2043592631816864, 0.24595890939235687, -0.12482914328575134, 0.20321370661258698, -0.2913450300693512, 0.9530276656150818, -0.01801765337586403, -1.2368066310882568, 0.7390281558036804, 0.11031749844551086, 0.5704770684242249, -0.4522404372692108, -0.1436455249786377, -0.5285776257514954, 0.12007948011159897, -0.3749747574329376, -0.8478409647941589, 0.18429692089557648, -0.3124586045742035, -0.14295238256454468, -0.02483914978802204, 0.4884452521800995, -0.6324611306190491, -0.03672989830374718, 0.09556199610233307, 0.5058944821357727, 0.10820255428552628, 0.11627542227506638, -0.942197322845459, 0.06486956030130386, 0.0813763216137886, -0.18644477427005768, 0.44053465127944946, 0.3681831359863281, 0.25515297055244446, 0.7915340065956116, 0.6650792360305786, 0.3688698709011078, -0.0800342932343483, -0.05188767611980438, 0.7945169806480408, -0.6945222020149231, -0.8943386673927307, -0.6931518316268921, 0.6599315404891968, 0.15342052280902863, -0.2414853423833847, 0.4962102770805359, 0.39576688408851624, 1.0270222425460815, -0.08518117666244507, 0.6819144487380981, -0.10934006422758102, 0.5570608377456665, -0.7240421772003174, 0.520142138004303, -0.8358654379844666, 0.3125755190849304, -0.24257169663906097, -0.8647640943527222, -0.03587088733911514, 0.5235783457756042, -0.17509673535823822, -0.15087251365184784, 0.6634340882301331, 0.9802910685539246, -0.1490020900964737, -0.014671744778752327, 0.34813129901885986, -0.17135611176490784, 0.08094184845685959, 0.4603786766529083, 1.019789218902588, -0.31690865755081177, 0.11577221006155014, -0.44030746817588806, -0.25132933259010315, -0.11157733201980591, -0.6268617510795593, -0.650057315826416, -0.4772535264492035, -0.3083113729953766, -0.7498422265052795, 0.4193447530269623, 1.1261069774627686, 0.8822202086448669, -0.7556233406066895, -0.5142288208007812, -0.5547280311584473, 0.32266348600387573, -0.3241809904575348, -0.31859254837036133, 0.26656457781791687, -0.8398887515068054, -0.6414114236831665, 0.4696711599826813, 0.3227214515209198, -0.0487016886472702, -0.7215728163719177, -0.5420812368392944, 0.18660181760787964, -0.09226331859827042, 0.2735030949115753, 0.6227127909660339, -0.7969462871551514, -0.3922988474369049, -0.3171246349811554, -0.053278788924217224, 0.032135363668203354, 1.0168448686599731, -0.9800800681114197, 0.2644723057746887, 0.48967134952545166, 0.8544856905937195, 0.37590673565864563, 0.13752733170986176, 0.4643575847148895, -0.6962140202522278, 0.3222280740737915, 0.13742463290691376, 0.020315347239375114, 0.23211705684661865, -0.3029845654964447, 0.3471834063529968, 0.361646831035614, -1.142728328704834, -0.9324029684066772, 0.3383226990699768, -0.6630616188049316, -0.302918016910553, 0.8930604457855225, -0.26373279094696045, -0.31105807423591614, -0.1150800809264183, 0.16174869239330292, 0.24202024936676025, -0.29895439743995667, 1.2004375457763672, 0.5403138995170593, -0.3028516173362732, -0.04466639831662178, -0.4554021656513214, 0.8176596164703369, 0.7682477235794067, -0.6636356711387634, 0.04238911345601082, 0.502217710018158, 0.3397495150566101, -0.20778077840805054, 0.5802643895149231, 0.09887882322072983, 0.39551764726638794, -0.10494668781757355, 0.03540591523051262, -0.10509512573480606, -0.6233196258544922, -0.6944494843482971, 0.026976503431797028, 0.33135107159614563, -0.155767560005188 ]
http://arxiv.org/abs/2406.07970v1
http://arxiv.org/pdf/2406.07970v1
Guiding In-Context Learning of LLMs through Quality Estimation for Machine Translation
2024-06-12T07:49:36
2024-06-12T07:49:36
Javad Pourmostafa Roshan Sharami, Dimitar Shterionov, Pieter Spronck
cs.CL
cs.CL
The quality of output from large language models (LLMs), particularly in machine translation (MT), is closely tied to the quality of in-context examples (ICEs) provided along with the query, i.e., the text to translate. The effectiveness of these ICEs is influenced by various factors, such as the domain of the source text, the order in which the ICEs are presented, the number of these examples, and the prompt templates used. Naturally, selecting the most impactful ICEs depends on understanding how these affect the resulting translation quality, which ultimately relies on translation references or human judgment. This paper presents a novel methodology for in-context learning (ICL) that relies on a search algorithm guided by domain-specific quality estimation (QE). Leveraging the XGLM model, our methodology estimates the resulting translation quality without the need for translation references, selecting effective ICEs for MT to maximize translation quality. Our results demonstrate significant improvements over existing ICL methods and higher translation performance compared to fine-tuning a pre-trained language model (PLM), specifically mBART-50.
[ -0.37270933389663696, -0.3624365031719208, 0.6853456497192383, -0.23070526123046875, -0.6775694489479065, 0.1371491551399231, -0.12593330442905426, -0.17806896567344666, -0.20942486822605133, 0.48529329895973206, -0.5717778205871582, -0.9376988410949707, -0.7475578188896179, 0.11375275254249573, -0.27584782242774963, 0.997827410697937, -0.17272351682186127, 0.36559829115867615, -0.376945823431015, -0.20864221453666687, -0.4335557818412781, -0.5786671042442322, -0.44367626309394836, -0.4034382998943329, 0.19387920200824738, 0.5865106582641602, 0.5139793157577515, 0.6289554238319397, 0.378622442483902, 0.1414038985967636, -0.10514334589242935, 0.6451113224029541, -0.5908911824226379, 0.06427903473377228, -0.19207064807415009, -0.5539204478263855, -0.19587372243404388, 0.23603132367134094, 0.7484079599380493, 0.5587449669837952, 0.020975248888134956, 0.3309989273548126, 0.4237115681171417, 0.4838394224643707, -0.5102699398994446, 0.12721669673919678, -0.8653834462165833, 0.15740849077701569, -0.059579409658908844, -0.5781035423278809, -0.6569216251373291, -0.2084082067012787, 0.2366466373205185, -0.39261165261268616, -0.010709628462791443, 0.2605076730251312, 0.8792362213134766, 0.3397606611251831, -0.6466230154037476, -0.5006938576698303, -0.33859479427337646, 1.062403917312622, -0.8803313374519348, 0.5602800846099854, 0.5939081311225891, 0.2138155996799469, -0.38569554686546326, -0.6349390149116516, -0.37802654504776, -0.22430743277072906, -0.2355690449476242, 0.08864009380340576, 0.19182221591472626, -0.10739848017692566, -0.042184650897979736, 0.24605101346969604, -0.4475118815898895, 0.04513140395283699, 0.0796896442770958, 0.055251602083444595, 0.39837580919265747, 0.08642364293336868, 0.27664610743522644, -0.012127726338803768, -0.576698362827301, -0.06133774667978287, -1.005387306213379, 0.2470352202653885, -0.24135370552539825, 0.19977666437625885, 0.08379305154085159, 0.240971639752388, -0.04893239215016365, 0.7618944644927979, 0.18772493302822113, -0.5283839106559753, 0.11207955330610275, -0.24663692712783813, -0.30526864528656006, -0.06034456193447113, 0.5268176794052124, 0.2726382911205292, -0.1877814531326294, -0.413702130317688, -0.5074135661125183, -0.485587477684021, 0.054415035992860794, -0.6655411124229431, 0.13567407429218292, -0.08889140188694, -0.3450002372264862, -0.10502750426530838, 0.16673000156879425, -0.28330153226852417, 0.013791295699775219, -0.5099571943283081, 0.507479727268219, -0.4732878506183624, 0.32070842385292053, -0.3400602638721466, 0.2835792303085327, 0.20074738562107086, 0.19714169204235077, -0.59691321849823, 0.08902998268604279, 0.5095809698104858, 0.8606147170066833, -0.42503517866134644, -0.21399977803230286, -1.070012092590332, 0.21863509714603424, -0.5035164952278137, 0.6789650917053223, -0.4043179452419281, -0.46356478333473206, -0.07408499717712402, -0.20005755126476288, 0.15382890403270721, -0.8054760098457336, 0.7083144783973694, -0.7992528080940247, 0.25028690695762634, -0.15275439620018005, -0.902084231376648, -0.46928828954696655, 0.22051414847373962, -0.25535935163497925, 1.0677424669265747, 0.3028011620044708, -0.36926397681236267, 0.7872328758239746, -0.44098782539367676, -0.42414602637290955, 0.18796376883983612, -0.20851649343967438, -0.48484161496162415, 0.4650537371635437, 0.4352194368839264, 0.7725228667259216, -0.38458359241485596, 0.40364205837249756, -0.06135405972599983, -0.390851765871048, 0.3600158095359802, -0.2936812937259674, 0.6720594167709351, 0.22892509400844574, -0.25998935103416443, 0.32253700494766235, -0.4681457281112671, 0.26729533076286316, -0.25310060381889343, -0.48528385162353516, -0.492463082075119, 0.04366712272167206, -0.14126773178577423, 0.5869253277778625, 0.05836792290210724, -0.2674309015274048, 0.010255278088152409, -0.42901355028152466, 0.2728036046028137, 0.6163381338119507, -0.07478760927915573, 0.4847971498966217, -0.07608027756214142, 0.4661538302898407, 0.023189015686511993, 0.1637677401304245, -0.1890813559293747, -0.35433417558670044, -0.4959424138069153, -0.19449929893016815, 0.3083053529262543, 0.35393574833869934, -0.843719482421875, 0.45966044068336487, -0.3000633120536804, -0.31749698519706726, -0.6817454695701599, 0.496213436126709, 0.6099622845649719, 0.6991066932678223, 0.507029116153717, -0.2133663296699524, -0.1835314929485321, -0.5170028209686279, -0.2605258524417877, -0.025864128023386, -0.06613285839557648, 0.38659194111824036, 0.35763105750083923, -0.1516415923833847, 0.9832625985145569, -0.42141491174697876, -0.4302353858947754, -0.350331574678421, 0.1219126358628273, 0.2507456839084625, 0.43782663345336914, 0.4733584225177765, -0.926991879940033, -0.9510027170181274, -0.0008100042468868196, -0.9017170667648315, -0.2040911316871643, 0.06470485031604767, -0.30527377128601074, 0.2081672102212906, 0.7103855013847351, -0.10312126576900482, 0.19461487233638763, 0.8633261919021606, -0.2761784791946411, 0.4150966703891754, -0.3533876836299896, 0.11906497180461884, -1.221652865409851, 0.012880046851933002, 0.1878039836883545, -0.4646335542201996, -0.5483794808387756, 0.3865615129470825, 0.502672553062439, 0.10318371653556824, -0.6642581820487976, 0.7504158616065979, -0.6471249461174011, -0.047706060111522675, -0.43355792760849, 0.3948010504245758, 0.1667696237564087, 0.421692818403244, -0.08068764209747314, 1.1694233417510986, 0.28421786427497864, -0.5908918380737305, -0.17115484178066254, 0.16247178614139557, -0.825488805770874, 0.6595995426177979, -0.21141378581523895, 0.061523355543613434, -0.1368318349123001, 0.19917434453964233, -0.8703190684318542, 0.07680118829011917, 0.25488516688346863, -0.47154495120048523, 0.5000241994857788, -0.3541211783885956, -0.5422961711883545, 0.11495791375637054, 0.16155856847763062, 0.4565388262271881, 0.5009329319000244, -0.8643995523452759, 0.3474182188510895, 0.4459412693977356, 0.03796516731381416, -0.5896729230880737, -0.39447861909866333, 0.2883947789669037, -0.26040592789649963, -0.4240921139717102, 0.6735779643058777, -0.2782025635242462, -0.11960802972316742, -0.10979223996400833, -0.2339639663696289, -0.27239981293678284, 0.3332379460334778, 0.02390773966908455, 0.17867569625377655, -0.14221392571926117, 0.003935554064810276, 0.3723461329936981, -0.23552963137626648, -0.010833825916051865, -0.6575605869293213, 0.28136274218559265, 0.08780364692211151, -0.3076445460319519, -0.5039684772491455, 0.24272945523262024, 0.4466411769390106, -0.3575591742992401, 0.7569928765296936, 0.45717158913612366, -0.20853041112422943, -0.5091594457626343, -0.3356378674507141, -0.26985472440719604, -0.4652489721775055, 0.3514452576637268, -0.44391000270843506, -0.9018361568450928, 0.27542901039123535, -0.20881615579128265, -0.1143205463886261, 0.15569067001342773, 0.2495783120393753, -0.2211165875196457, 1.392922282218933, 0.7027730345726013, -0.258863240480423, 0.5977061986923218, -0.37305888533592224, 0.14129717648029327, -1.0994551181793213, -0.13399313390254974, -0.2824166417121887, -0.16200721263885498, -0.35037025809288025, -0.5505392551422119, 0.7172001004219055, 0.34773072600364685, 0.05956285446882248, 0.22306984663009644, -0.019560515880584717, 0.4645122289657593, 0.6489285826683044, 0.15092270076274872, 0.44840720295906067, 0.20272871851921082, -0.4987625181674957, -0.053767137229442596, -0.8665257692337036, -0.6724504828453064, 0.9780414700508118, 0.06748386472463608, 0.47006428241729736, 0.09741176664829254, 0.626186192035675, 0.2338484674692154, 0.7218512296676636, -0.7283756136894226, 0.41585949063301086, -0.20763717591762543, -0.36916905641555786, -0.2416144609451294, -0.6110852956771851, -0.7377235889434814, 0.48673534393310547, -0.073713518679142, -0.6242417097091675, -0.16040781140327454, 0.24924397468566895, -0.12110038101673126, 0.27160266041755676, -0.3502141237258911, 0.6930781006813049, -0.45360320806503296, -0.3121400773525238, -0.2209327667951584, -0.5583178997039795, 0.19686533510684967, -0.26575762033462524, 0.17863735556602478, -0.24183079600334167, -0.0949598029255867, 0.34532973170280457, -0.2103905826807022, 0.6156135201454163, -0.06689490377902985, -0.1642664074897766, 0.3659805655479431, 0.1392347663640976, 0.7660943269729614, 0.2517688572406769, -0.35186561942100525, 0.3702598810195923, -0.2260323464870453, -0.4930401146411896, -0.6958951354026794, 0.7510663270950317, -0.7292936444282532, -0.5696802139282227, -0.13437043130397797, -0.5200133323669434, -0.30545759201049805, 0.2228148877620697, 0.5566843748092651, 0.45350974798202515, -0.12475252151489258, 0.07951884716749191, 0.6960397958755493, -0.314755380153656, 0.2834201157093048, 0.6948971152305603, -0.024350272491574287, -0.492164671421051, 0.8916422128677368, 0.23016449809074402, 0.3728012144565582, 0.8215060234069824, 0.15028546750545502, -0.34571459889411926, -0.8702738285064697, -0.6920760869979858, 0.17288164794445038, -0.915725827217102, -0.4502672851085663, -0.336719810962677, -0.015248703770339489, -0.05205671489238739, -0.19515393674373627, -0.08494704961776733, 0.2149297446012497, -0.4767994284629822, 0.0826893225312233, -0.13105526566505432, 0.5058704018592834, 0.4011036157608032, 0.5419602990150452, -0.9976059198379517, -0.17238126695156097, 0.014467187225818634, 0.36349740624427795, -0.0801735371351242, -1.0061203241348267, -0.8006693124771118, 0.1551847606897354, -0.3129318058490753, -0.6881145238876343, 0.7798019647598267, 0.2307029813528061, 0.8508512377738953, 0.47962793707847595, 0.08928647637367249, 0.6097249388694763, -0.46302077174186707, 0.7251060009002686, -0.0721248984336853, -1.180981159210205, 0.4746837317943573, -0.01703181117773056, 0.3808126151561737, 0.5668664574623108, 0.5368243455886841, -0.6146865487098694, -0.26343241333961487, -0.20536993443965912, -0.8171292543411255, 0.5644667148590088, 0.12814415991306305, 0.04899292811751366, -0.013108696788549423, 0.6790317296981812, 0.2531227767467499, 0.2888772189617157, -0.5928702354431152, -0.2843440771102905, 0.18622393906116486, -0.16713885962963104, -0.3770899772644043, -0.2273121327161789, 0.10382311046123505, -0.13893377780914307, 0.9411818981170654, -0.4650609493255615, -0.06548770517110825, 0.0690472424030304, -0.6875799298286438, -0.1310574859380722, 0.01877834089100361, 0.6764498353004456, 0.8956173658370972, -0.2496439814567566, 0.1285213679075241, 0.449091374874115, -0.09107495844364166, 0.2712656855583191, -0.33544251322746277, -0.41361090540885925, 0.06539233028888702, 0.20184610784053802, 0.7750006318092346, 0.21032169461250305, -0.8010758757591248, 0.512985348701477, 0.04983270540833473, 0.11325665563344955, -0.21941502392292023, -0.028778251260519028, -0.33464229106903076, 0.18672174215316772, 0.49500083923339844, -0.17405983805656433, 0.11343985050916672, -0.31973156332969666, 0.35851168632507324, 0.5989861488342285, -0.9067984819412231, -0.3440924882888794, 0.480022132396698, 0.17160634696483612, -0.2150057554244995, 0.7569056749343872, -0.2077479511499405, -0.46682819724082947, 0.24663200974464417, 0.588840663433075, 0.9919928908348083, -0.2109900861978531, 0.018444029614329338, 0.29170021414756775, -0.011833617463707924, -0.05786561220884323, -0.09065264463424683, -0.041140615940093994, -0.7343501448631287, -0.7431070804595947, -0.4999707341194153, -0.3453853726387024, 0.0681718960404396, -0.6205583810806274, 0.27861475944519043, -0.04789871722459793, -0.17465122044086456, -0.5942429900169373, 0.0801362469792366, -0.6415235996246338, 0.4605747163295746, 0.11698093265295029, 1.0600852966308594, -0.6454819440841675, 1.2091708183288574, 0.5860083699226379, -0.33451777696609497, -0.5412794947624207, 0.34809136390686035, -0.07939546555280685, -0.798789918422699, 0.868151068687439, 0.014548957347869873, -0.35776689648628235, 0.32063084840774536, -0.6072609424591064, -1.265442132949829, 1.2134138345718384, 0.47112804651260376, -0.30292657017707825, 0.2865760922431946, 0.058571796864271164, 0.3340900242328644, -0.578407347202301, 0.06924871355295181, 0.29670560359954834, 0.21985341608524323, -0.26847681403160095, -0.5916656851768494, -0.029740050435066223, -0.11841225624084473, 0.09721938520669937, 0.2981698513031006, -0.5087363123893738, 0.37183284759521484, -0.19327618181705475, -0.2652636468410492, 0.03611498326063156, 0.8438956141471863, 0.26940006017684937, 0.23532424867153168, 0.3675726056098938, 0.18558526039123535, 0.743156373500824, 0.15948452055454254, 1.144630789756775, -0.6034010052680969, 0.32171228528022766, 1.2699428796768188, -0.0347418449819088, 1.0104010105133057, 0.6724410653114319, 0.1724550575017929, 0.34259289503097534, 0.833935558795929, 0.19232560694217682, 0.7240719795227051, 0.13907527923583984, -0.34432753920555115, -0.36498743295669556, -0.16285520792007446, -0.07518178224563599, 0.25960731506347656, 0.48233816027641296, -0.7575564384460449, -0.10413607209920883, 0.12686240673065186, 0.1052326112985611, 0.11538071930408478, -0.21530066430568695, 0.8825392723083496, 0.24367399513721466, -0.8517557382583618, 0.7432471513748169, 0.23835593461990356, 0.5457448959350586, -0.4237041473388672, -0.0758509486913681, -0.5512673258781433, 0.02613045834004879, 0.05896129086613655, -0.6537656188011169, 0.05615072324872017, -0.1954372227191925, -0.3863982558250427, -0.3640232980251312, 0.2355869859457016, -0.4471606910228729, -0.45886412262916565, 0.36611419916152954, 0.6483935713768005, 0.2755773663520813, -0.21883855760097504, -0.6948014497756958, -0.2676716148853302, -0.031573839485645294, -0.151589497923851, 0.725771963596344, 0.4612467288970947, -0.15063358843326569, 0.9050940275192261, 0.45759305357933044, -0.09734320640563965, -0.12280619144439697, -0.3327086269855499, 0.5835069417953491, -0.4719177186489105, -0.4286360442638397, -0.9188612103462219, 0.47402307391166687, 0.08523187786340714, -0.39002129435539246, 0.8194854855537415, 0.6041823625564575, 1.3333858251571655, 0.13450510799884796, 0.8401532173156738, 0.47391194105148315, 0.2718748450279236, -0.682649552822113, 0.6927838325500488, -0.7525221109390259, 0.5008517503738403, -0.2688998281955719, -0.8971408009529114, -0.5432313084602356, 0.5760619044303894, -0.3665730953216553, -0.09764886647462845, 0.6440436244010925, 0.9255027770996094, -0.28247272968292236, -0.4780592918395996, 0.7807393670082092, 0.02310020849108696, 0.420785516500473, 0.24957318603992462, 0.6317852139472961, -0.4723843038082123, 0.6851987242698669, -0.15190389752388, -0.3132125437259674, -0.40634340047836304, -1.1220166683197021, -0.6701235771179199, -0.7075300216674805, -0.226756751537323, -0.25704360008239746, 0.13732364773750305, 1.3100732564926147, 1.0162454843521118, -0.8065219521522522, -0.5941151976585388, 0.14111001789569855, 0.30140361189842224, -0.587038516998291, -0.11400280147790909, 0.5405526161193848, -0.6976832151412964, -0.8661613464355469, 0.7280218601226807, 0.3075806200504303, -0.051232460886240005, -0.1062624603509903, -0.42803052067756653, -0.037560030817985535, -0.02098912186920643, 0.92205411195755, -0.1178145781159401, -0.8786166310310364, -0.1376442164182663, -0.009097935631871223, -0.2703680396080017, 0.339255690574646, 0.6648606061935425, -0.6866379976272583, 0.47568508982658386, 0.4132148027420044, 0.6362940669059753, 0.4456406831741333, 0.004421586636453867, 0.8172892332077026, -0.7789574265480042, -0.22747570276260376, 0.10134919732809067, 0.34614288806915283, 0.377157598733902, -0.3210621774196625, 0.4928113520145416, 0.07937858998775482, -0.6102677583694458, -0.672968864440918, 0.18670660257339478, -0.5174985527992249, -0.428114652633667, 1.0562233924865723, -0.6208566427230835, -0.14751362800598145, 0.0321909599006176, -0.2848760187625885, 0.2373940795660019, -0.4429331421852112, 0.9616246819496155, 0.4788624346256256, -0.1325167417526245, -0.20053960382938385, -0.6615976095199585, 0.5965016484260559, 0.4410135746002197, -0.6112284064292908, -0.28248724341392517, 0.29210954904556274, 0.24946428835391998, -0.311441570520401, 0.09622360020875931, 0.04847198724746704, -0.011933919042348862, -0.6291786432266235, -0.02859751135110855, 0.17999914288520813, -0.31020379066467285, -0.372058629989624, 0.22132089734077454, 0.39999130368232727, 0.08913825452327728 ]
http://arxiv.org/abs/2406.07969v1
http://arxiv.org/pdf/2406.07969v1
LibriTTS-P: A Corpus with Speaking Style and Speaker Identity Prompts for Text-to-Speech and Style Captioning
2024-06-12T07:49:21
2024-06-12T07:49:21
Masaya Kawamura, Ryuichi Yamamoto, Yuma Shirahata, Takuya Hasumi, Kentaro Tachibana
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
We introduce LibriTTS-P, a new corpus based on LibriTTS-R that includes utterance-level descriptions (i.e., prompts) of speaking style and speaker-level prompts of speaker characteristics. We employ a hybrid approach to construct prompt annotations: (1) manual annotations that capture human perceptions of speaker characteristics and (2) synthetic annotations on speaking style. Compared to existing English prompt datasets, our corpus provides more diverse prompt annotations for all speakers of LibriTTS-R. Experimental results for prompt-based controllable TTS demonstrate that the TTS model trained with LibriTTS-P achieves higher naturalness than the model using the conventional dataset. Furthermore, the results for style captioning tasks show that the model utilizing LibriTTS-P generates 2.5 times more accurate words than the model using a conventional dataset. Our corpus, LibriTTS-P, is available at https://github.com/line/LibriTTS-P.
[ -0.3463468551635742, -0.6843640804290771, 0.3863430619239807, 0.29494747519493103, -0.25996577739715576, 0.3852289915084839, -0.38804084062576294, -0.3364650011062622, 0.5278314352035522, 0.25466668605804443, -0.42279502749443054, -0.24730965495109558, -0.2931975722312927, 0.33519887924194336, -0.45627909898757935, 0.9521213173866272, 0.40645191073417664, 0.28229835629463196, -0.07532508671283722, -0.05752769857645035, -0.5919618606567383, -0.32130399346351624, -0.579751193523407, -0.016662294045090675, 0.8782995939254761, 0.46648770570755005, 0.8288509249687195, 0.2810367941856384, 0.05875738337635994, 0.15689292550086975, -0.05801738053560257, 0.22310583293437958, -0.14222726225852966, 0.2210799604654312, -0.3887035846710205, -0.14548493921756744, -0.306884229183197, -0.08879126608371735, 0.6420558094978333, 0.7084545493125916, 0.24581649899482727, 0.08807504177093506, 0.12109643965959549, 0.38031524419784546, -0.46726784110069275, 0.2023039609193802, -0.3212171196937561, -0.20229275524616241, -0.2652454972267151, -0.5187245011329651, -0.9031890034675598, -0.4774210751056671, 0.4989248216152191, -0.6024444699287415, 0.021893758326768875, 0.4464252293109894, 0.8055797815322876, 0.07936183363199234, -0.3756938874721527, -0.22757075726985931, -0.7577950954437256, 0.4569120407104492, -0.2875736355781555, 0.565218985080719, 0.26740744709968567, 0.4737527668476105, 0.2870941758155823, -0.6648380756378174, -0.48054707050323486, -0.3448420763015747, -0.48392799496650696, 0.10487344115972519, -0.06407726556062698, 0.03518136963248253, 0.2047380954027176, 0.18061664700508118, -0.7695088982582092, 0.23391731083393097, -0.3444402515888214, -0.3641525208950043, 0.4557860493659973, -0.127261683344841, 0.29137399792671204, -0.36108702421188354, -0.49727150797843933, -0.21384477615356445, -0.5003045797348022, 0.2328924983739853, 0.31252530217170715, 0.48328059911727905, -0.4571560025215149, 0.4099276065826416, -0.17351575195789337, 0.7593393325805664, -0.04220153018832207, -0.2640644609928131, 0.28410154581069946, -0.14747466146945953, 0.10820072144269943, 0.1769515722990036, 0.7901999950408936, 0.6153337955474854, 0.6429479122161865, -0.20718500018119812, -0.11790987849235535, -0.37973088026046753, -0.12029869854450226, -0.6101287007331848, -0.6097446084022522, 0.30473795533180237, -0.5050677061080933, -0.14466044306755066, 0.2008151412010193, -0.9640237092971802, -0.7890655994415283, -0.4561655819416046, 0.5044193267822266, -0.7474133968353271, -0.3697086274623871, -0.1291961818933487, -0.27760812640190125, 0.24643085896968842, 0.5833356380462646, -0.8908149003982544, 0.27934837341308594, 0.2220861166715622, 0.9527708292007446, -0.6294096112251282, -0.1868278533220291, -0.8546624183654785, -0.011316796764731407, -0.22908903658390045, 0.7519969344139099, -0.4296814799308777, -0.5365389585494995, 0.2039211392402649, 0.04507908597588539, 0.1435791254043579, -0.2993674576282501, 0.43140462040901184, -0.2613644301891327, 0.38190191984176636, -0.33452776074409485, -0.5430594682693481, -0.06531665474176407, -0.3733825385570526, -0.6558653712272644, 0.9075851440429688, 0.2213001251220703, -0.9256396293640137, 0.2220388799905777, -0.804020345211029, -0.4345676302909851, 0.4996086359024048, -0.3426054120063782, -0.19977685809135437, -0.17068028450012207, 0.2882806062698364, 0.42870375514030457, -0.12479308247566223, 0.27682337164878845, 0.018534168601036072, -0.19425669312477112, 0.5635628700256348, -0.281135618686676, 0.9416975975036621, 0.4042174816131592, -0.07931144535541534, 0.4920238256454468, -0.6438461542129517, -0.17485621571540833, 0.3122544586658478, 0.23419468104839325, -0.07860828191041946, -0.09870246052742004, 0.3265213966369629, -0.2997654676437378, 0.5275163650512695, -0.4811387062072754, -0.01635640487074852, -0.1823728233575821, 0.48004114627838135, 0.6971946954727173, 0.16352231800556183, 0.4240977466106415, -0.6093432903289795, 0.4865879714488983, -0.3388526737689972, 0.1225140392780304, -0.7042233347892761, -0.5872592329978943, -0.5579338073730469, -0.5310221910476685, 0.3464463949203491, 1.0450799465179443, -0.6871552467346191, 0.5418307185173035, -0.22393083572387695, -0.7675670981407166, -0.24837352335453033, -0.4875938594341278, 0.3244096636772156, 0.4696088433265686, 0.4732179343700409, 0.05953140929341316, -0.5656929612159729, -1.1482287645339966, -0.04076790064573288, -0.3331749141216278, -0.16175305843353271, 0.0932426005601883, 0.2890568971633911, 0.43678298592567444, 1.3266469240188599, -0.19440099596977234, 0.3911237120628357, -0.3026118874549866, 0.26106202602386475, 0.11228785663843155, 0.5169433951377869, 0.6414982080459595, -0.8345871567726135, -0.5203962922096252, -0.3022316098213196, -0.3529397249221802, -0.5373795032501221, -0.33362409472465515, 0.25754788517951965, 0.1189744770526886, 0.46773406863212585, -0.3230865001678467, 0.16094765067100525, 0.4229550063610077, -0.3711997866630554, 0.9164474606513977, 0.09292342513799667, 0.12731432914733887, -1.2120230197906494, 0.13161039352416992, -0.05911186337471008, -0.38157957792282104, -0.45138877630233765, -0.4493429958820343, -0.022977666929364204, -0.4083343744277954, -0.5841789245605469, 0.8427668809890747, -0.4052775502204895, -0.3565342426300049, 0.025607574731111526, 0.2921418845653534, 0.298123300075531, 0.3707628846168518, 0.34192976355552673, 1.3015773296356201, 0.6644762754440308, -0.3894239068031311, 0.5169995427131653, 0.4865262508392334, -0.3562529683113098, 0.6831710934638977, -0.6479030847549438, 0.10974720865488052, -0.14647036790847778, 0.3044445812702179, -1.3523081541061401, -0.1829945147037506, 0.11190818250179291, -0.5461187362670898, 0.3408391773700714, -0.22714370489120483, -0.6400167346000671, -0.12580431997776031, -0.19491830468177795, 0.06607110798358917, 0.5868834257125854, -0.6068313717842102, 0.6875184178352356, 0.05553574487566948, -0.7604027986526489, -0.15216194093227386, -0.425802618265152, 0.08695495128631592, -0.40918660163879395, -0.6437777876853943, 0.7236385941505432, -0.3086160719394684, -0.33745434880256653, -0.4117882549762726, 0.34404227137565613, -0.022394966334104538, 0.05518675222992897, 0.2669332027435303, 0.347959041595459, -0.05361408367753029, 0.2408582717180252, -0.05797867476940155, -0.08416372537612915, -0.13990390300750732, -0.16280008852481842, 0.795311689376831, -0.18849943578243256, -0.010251750238239765, -0.9491907358169556, 0.5860587954521179, 0.29272425174713135, -0.5991557240486145, 0.408072829246521, 0.6596689820289612, 0.0006887847557663918, 0.006058418191969395, -0.4737497568130493, -0.45865851640701294, -0.4471859335899353, 0.16587702929973602, -0.4461393356323242, -0.9344779849052429, 0.46107417345046997, 0.12290658056735992, 0.1047278419137001, 0.11064183712005615, 0.40618687868118286, -0.2750852108001709, 0.611844539642334, 0.4537607431411743, 0.060354672372341156, 0.9566908478736877, 0.18778561055660248, -0.11382924020290375, -0.35983946919441223, 0.03741394728422165, -0.567887008190155, -0.21179337799549103, -0.8469358682632446, -0.17405195534229279, 0.33051517605781555, 0.055498287081718445, -0.30678802728652954, 0.36199498176574707, -0.5972789525985718, 0.34273600578308105, 0.9261434078216553, -0.03186381608247757, 0.10997013002634048, -0.06499439477920532, 0.08250317722558975, -0.26579269766807556, -0.428253710269928, -0.7643951773643494, 0.9021114110946655, 0.4289247393608093, 0.5831925868988037, 0.18154413998126984, 0.8551333546638489, 0.5323007702827454, -0.022652480751276016, -0.6401301026344299, 0.5908032059669495, 0.14387845993041992, -0.3574846088886261, -0.19920313358306885, -0.08820552378892899, -0.5983147621154785, -0.2569580078125, -0.28675854206085205, -1.0301746129989624, 0.07720300555229187, 0.21807828545570374, -0.8612497448921204, 0.1031421571969986, -0.9160686135292053, 0.8508464694023132, -0.2592187225818634, -0.3408357501029968, 0.17610107362270355, -0.805644690990448, -0.14395789802074432, 0.3516722023487091, 0.17377948760986328, -0.017925705760717392, -0.011584950610995293, 0.9641837477684021, -0.12063141167163849, 1.0014554262161255, -0.27034974098205566, -0.05260932818055153, 0.5070255398750305, 0.4327210783958435, 0.4529171884059906, 0.3224923014640808, 0.005448034964501858, -0.07044368982315063, 0.24543221294879913, -0.2663252353668213, -0.5049476623535156, 0.2893929183483124, -0.6262636780738831, -0.45001792907714844, -0.4143991768360138, -0.5467400550842285, -0.33846837282180786, 0.20104725658893585, 0.32102110981941223, 0.7965695261955261, -0.18985402584075928, 0.21511931717395782, 0.7440964579582214, -0.6416840553283691, 0.643615186214447, 0.5665900111198425, -0.5427172183990479, -0.7727829813957214, 0.9376574754714966, -0.06235145032405853, 0.403915673494339, 0.6537395715713501, 0.37093445658683777, -0.45931756496429443, -0.5742824077606201, -0.4567374289035797, 0.28283989429473877, -0.5699158310890198, 0.06156011298298836, -0.47476473450660706, -0.08201851695775986, -0.5458314418792725, -0.2872473895549774, -0.09535889327526093, -0.7245758771896362, -0.1585499495267868, -0.22218923270702362, 0.8297604918479919, 0.5393123030662537, -0.027727382257580757, 0.654826283454895, -0.5455191135406494, 0.10114573687314987, 0.31502071022987366, -0.012105141766369343, -0.6107558608055115, -0.6568096280097961, 0.12328435480594635, -0.25373080372810364, -0.24445579946041107, -1.1808876991271973, 0.3464229106903076, 0.2059432864189148, 0.23007754981517792, 0.20014452934265137, 0.2039826214313507, 0.09337416291236877, -0.5718933343887329, 1.2682075500488281, 0.1365482211112976, -0.8332253694534302, 0.7089592814445496, -0.8065937161445618, 0.027695374563336372, 0.39375171065330505, 0.31481337547302246, -0.6542030572891235, -0.3014904260635376, -0.7258747816085815, -0.6841304302215576, 0.5194952487945557, 0.12038930505514145, -0.04608229547739029, 0.002839423716068268, 0.08179781585931778, 0.3158244490623474, 0.20185993611812592, -0.783203661441803, -0.4277900457382202, -0.505951464176178, -0.19825412333011627, -0.15070199966430664, -0.4392756521701813, -0.20697413384914398, -0.06774185597896576, 0.5178886651992798, -0.21942204236984253, 0.38743826746940613, 0.3678640127182007, 0.035543471574783325, 0.23103417456150055, 0.5042259097099304, 0.8139215707778931, 0.6362251043319702, -0.48082995414733887, 0.2530750334262848, -0.0759330689907074, 0.03916638344526291, -0.23737190663814545, 0.3324320912361145, -0.2847456634044647, 0.4563310146331787, 0.464382529258728, 0.8860813975334167, 0.07097787410020828, -0.6484251618385315, 0.5775126814842224, 0.16164585947990417, 0.22849832475185394, -0.7525679469108582, -0.22760845720767975, 0.12041788548231125, 0.1069832518696785, 0.44220590591430664, -0.3326793313026428, 0.07162854820489883, -0.3412971496582031, 0.43546509742736816, 0.10562503337860107, -0.25599029660224915, -0.2990342974662781, 0.6772087812423706, 0.6172387003898621, -0.5470197200775146, 0.053979579359292984, -0.44441255927085876, -0.21315829455852509, 0.19078320264816284, 0.5098368525505066, 0.8576275706291199, -0.3324805498123169, 0.3881266415119171, 0.36281585693359375, 0.06214692443609238, 0.399977445602417, 0.44847235083580017, -0.1298626959323883, -0.5562076568603516, -0.3543757498264313, -0.6907180547714233, -0.8148303627967834, -0.01024598814547062, -0.6024986505508423, 0.5688860416412354, -0.6541004180908203, -0.1659468561410904, 0.2679918706417084, -0.2470870167016983, -0.24881640076637268, 0.040428031235933304, 0.364074170589447, 0.9562893509864807, -0.8536897897720337, 0.8339381814002991, 0.5249924063682556, -0.7277367115020752, -0.730103075504303, -0.18744607269763947, 0.14864581823349, -0.546330451965332, 0.8329374194145203, 0.27245044708251953, 0.03888427093625069, 0.3266540467739105, -0.3016754686832428, -0.6476155519485474, 1.2240647077560425, 0.3535729944705963, -0.7393017411231995, -0.21923550963401794, 0.1068272590637207, 0.07532736659049988, -0.45394057035446167, 0.4668085277080536, 0.36149832606315613, 0.5321797728538513, -0.15839055180549622, -1.3315876722335815, -0.34392231702804565, -0.07250316441059113, -0.18876102566719055, 0.050472427159547806, -0.4792552590370178, 0.9851332902908325, 0.05542445927858353, -0.1705775409936905, 0.33572083711624146, 0.9386864304542542, 0.22484007477760315, 0.05124671384692192, 0.6925012469291687, 0.03641502931714058, 0.7956094145774841, -0.2962612807750702, 0.8563331365585327, -0.3794739246368408, 0.0014015864580869675, 1.3856223821640015, -0.22429487109184265, 0.6767279505729675, 0.405928373336792, -0.19332240521907806, 0.7089548110961914, 0.59879070520401, 0.1575728803873062, 0.3354261815547943, -0.0022944342344999313, -0.3547457754611969, -0.2370212972164154, -0.5815479755401611, -0.26832664012908936, 0.31557029485702515, 0.24286587536334991, -0.3857922852039337, -0.012997007928788662, 0.2036506086587906, 0.24188882112503052, 0.33367234468460083, -0.0697149708867073, 0.6782798767089844, -0.06552506983280182, -0.5474282503128052, 0.5599223971366882, -0.2949652373790741, 0.6930035948753357, -0.6469378471374512, 0.04185141250491142, 0.0999174416065216, -0.3270663619041443, -0.12730003893375397, -1.0233678817749023, 0.056841637939214706, -0.11199817061424255, -0.10092847049236298, -0.635840117931366, 0.4160511791706085, -0.46525681018829346, -0.2046516090631485, 0.10819607228040695, 0.4551975429058075, 0.2079603374004364, 0.11045057326555252, -0.5174389481544495, 0.0641622245311737, 0.06190185993909836, -0.035641446709632874, -0.09876082092523575, 0.3539681136608124, -0.21471375226974487, 0.4199630618095398, 0.34174874424934387, 0.021537477150559425, -0.008973047137260437, 0.42693787813186646, 0.47549983859062195, -0.530483603477478, -0.7853684425354004, -0.6655420064926147, 0.6135285496711731, -0.27999183535575867, -0.4264453649520874, 0.6797114610671997, 0.7090827226638794, 0.5764495730400085, -0.19586943089962006, 0.9286625981330872, -0.22635650634765625, 1.2019494771957397, -0.6517378091812134, 0.4325591027736664, -0.21244721114635468, -0.12276691943407059, -0.3684932291507721, -0.7994858026504517, -0.010774808004498482, 0.47773846983909607, -0.43520620465278625, 0.03978181257843971, 0.7698724269866943, 0.9675939679145813, 0.13764464855194092, 0.35437068343162537, 0.3359422981739044, 0.03765804320573807, 0.3825080990791321, 0.2154121845960617, 0.9200402498245239, 0.038455843925476074, 0.30593141913414, -0.488089919090271, -0.3651728332042694, -0.39177942276000977, -1.0237594842910767, -0.8572738766670227, -1.0223664045333862, -0.433196097612381, -0.369974285364151, 0.10248515754938126, 1.2630524635314941, 0.5880273580551147, -0.8866740465164185, -0.34159624576568604, 0.21690303087234497, -0.37716570496559143, -0.15785695612430573, -0.2948378920555115, 0.39925268292427063, -0.34628263115882874, -0.8096087574958801, 0.6777628660202026, 0.15637923777103424, 0.37224286794662476, -0.3096718192100525, -0.007899046875536442, -0.10112233459949493, -0.09846131503582001, 0.4800676703453064, 0.25189223885536194, -0.7533935308456421, -0.6068241596221924, -0.017636945471167564, 0.07195951044559479, -0.0029664533212780952, 0.78411465883255, -0.6792751550674438, 0.4053936302661896, 0.3921077251434326, 0.4482889771461487, 0.19020728766918182, 0.06753940880298615, 0.5750479698181152, -0.8904117941856384, 0.523206889629364, 0.4278613030910492, 0.4969269633293152, 0.6881176233291626, 0.008244585245847702, 0.3420482575893402, 0.3241511583328247, -0.4344695210456848, -0.69515061378479, 0.5293104648590088, -1.4846501350402832, -0.09799805283546448, 1.328333854675293, -0.03787941485643387, -0.16696546971797943, -0.12353573739528656, -0.8567003607749939, 0.23913516104221344, -0.819401204586029, 0.1549394726753235, 0.5885385274887085, -0.07498139142990112, -0.4338916540145874, -0.684384286403656, 0.8173614740371704, 0.579586923122406, -0.5830813050270081, 0.4059755802154541, 0.5983750820159912, 0.23443034291267395, 0.4184933304786682, 0.5641117691993713, 0.04670818895101547, 0.34375718235969543, -0.35165658593177795, 0.21430572867393494, -0.2616085410118103, -0.47149351239204407, -0.06487850099802017, 0.037265852093696594, 0.327446848154068, -0.23457801342010498 ]
http://arxiv.org/abs/2406.07967v1
http://arxiv.org/pdf/2406.07967v1
Better than Random: Reliable NLG Human Evaluation with Constrained Active Sampling
2024-06-12T07:44:36
2024-06-12T07:44:36
Jie Ruan, Xiao Pu, Mingqi Gao, Xiaojun Wan, Yuesheng Zhu
cs.CL
cs.CL, cs.LG
Human evaluation is viewed as a reliable evaluation method for NLG which is expensive and time-consuming. To save labor and costs, researchers usually perform human evaluation on a small subset of data sampled from the whole dataset in practice. However, different selection subsets will lead to different rankings of the systems. To give a more correct inter-system ranking and make the gold standard human evaluation more reliable, we propose a Constrained Active Sampling Framework (CASF) for reliable human judgment. CASF operates through a Learner, a Systematic Sampler and a Constrained Controller to select representative samples for getting a more correct inter-system ranking.Experiment results on 137 real NLG evaluation setups with 44 human evaluation metrics across 16 datasets and 5 NLG tasks demonstrate CASF receives 93.18% top-ranked system recognition accuracy and ranks first or ranks second on 90.91% of the human metrics with 0.83 overall inter-system ranking Kendall correlation.Code and data are publicly available online.
[ -0.3030078709125519, -0.3482948839664459, 0.2331043779850006, 0.40400367975234985, -0.24691611528396606, 0.3261784613132477, -0.36758869886398315, -0.7531604766845703, 0.10482389479875565, 0.20591361820697784, -0.5882694125175476, -0.41210541129112244, -0.4340241551399231, 0.3706883490085602, -0.4682762324810028, 0.9428837895393372, 0.44794929027557373, 0.15853764116764069, -0.15833927690982819, -0.16957813501358032, -0.35588327050209045, -0.3899461328983307, -0.8597073554992676, -0.5427756905555725, 0.16297972202301025, 0.24398641288280487, 0.9052932262420654, 0.21231509745121002, 0.8275769352912903, 0.29944974184036255, -0.0891878753900528, 0.2430870682001114, -0.47066524624824524, -0.024209341034293175, -0.3256317377090454, -0.4321158230304718, -0.36748141050338745, 0.28075551986694336, 0.46983423829078674, 0.7007076144218445, -0.5493935942649841, 0.3075083792209625, -0.010174085386097431, 0.645159125328064, -0.6865594983100891, -0.0010416463483124971, -0.5438023805618286, 0.4120340645313263, -0.2209027260541916, -0.07788065075874329, -0.35995858907699585, -0.546873927116394, 0.3922988474369049, -0.7489144802093506, 0.5570652484893799, 0.3213996887207031, 0.9040122628211975, 0.44781816005706787, -0.25066420435905457, -0.06508028507232666, -0.7837207913398743, 0.8364985585212708, -0.5912858247756958, 0.20124848186969757, 0.8455196619033813, 0.7720028758049011, -0.08753619343042374, -0.7757800221443176, -0.3240448832511902, -0.6672186851501465, -0.013585579581558704, 0.36878344416618347, -0.12777027487754822, 0.28627249598503113, 0.31620046496391296, 0.3706269860267639, -0.568966269493103, 0.031357116997241974, -0.34204620122909546, -0.3927653729915619, 0.9875797629356384, -0.08538606017827988, 0.19423635303974152, -0.18560199439525604, -0.4702509045600891, -0.33745887875556946, -0.5938310623168945, -0.15824495255947113, 0.7391011118888855, 0.3752717971801758, 0.40413665771484375, 0.37028318643569946, -0.2014155238866806, 0.9799112677574158, 0.34201955795288086, -0.1485542505979538, 0.38935697078704834, -0.3227074444293976, -0.3042091131210327, 0.017431030049920082, 0.5866406559944153, 0.36260437965393066, 0.14358845353126526, -0.5801337957382202, -0.5205362439155579, 0.1643829494714737, 0.7415019273757935, -0.24313423037528992, -0.3510268032550812, 0.02938229963183403, -0.6520543098449707, -0.35654816031455994, 0.5308126211166382, -0.5932325124740601, -0.36402449011802673, -0.20383189618587494, 0.365118145942688, -0.09466278553009033, -0.09372325241565704, 0.1479337513446808, -0.15035761892795563, -0.03996434062719345, 0.3791217505931854, -0.44851982593536377, 0.5594392418861389, 0.34786462783813477, 0.6229650974273682, -0.5618926286697388, -0.12029654532670975, -0.5915173292160034, -0.2261342704296112, -0.3522501587867737, 0.8182173371315002, -0.2244444638490677, -0.373031347990036, -0.21995525062084198, -0.023836536332964897, 0.07203162461519241, -0.9767093658447266, 0.9774916172027588, -0.5867574214935303, 0.07394375652074814, -0.5010133981704712, -0.32581228017807007, 0.023543616756796837, 0.26856720447540283, -0.910786509513855, 1.206281304359436, 0.17775437235832214, -0.5505964756011963, 0.8647403717041016, -0.5720544457435608, -0.3398101031780243, 0.1958128958940506, 0.10372618585824966, -0.5293927788734436, -0.18573959171772003, 0.23349709808826447, 0.3221180737018585, -0.12910392880439758, 0.3680078387260437, -0.5564560294151306, -0.5843714475631714, 0.1842629611492157, -0.5150170922279358, 0.8780578970909119, 0.5441399812698364, -0.4105024039745331, -0.0692293643951416, -0.9460875391960144, 0.2884572744369507, -0.19511494040489197, -0.5608382821083069, -0.12824513018131256, 0.18243540823459625, 0.1818198561668396, -0.0111265629529953, -0.14882159233093262, -0.6252434253692627, 0.22272123396396637, -0.22412227094173431, 0.15451250970363617, 0.5901985764503479, -0.048766519874334335, 0.5752990245819092, -0.46665269136428833, 0.7265833020210266, -0.5965136885643005, 0.2755993604660034, 0.6603140234947205, -0.43838319182395935, -0.5497514009475708, -0.040894728153944016, 0.7432181239128113, 0.6744472980499268, -0.6926938891410828, 0.8606091141700745, -0.08592011779546738, -0.2970641553401947, -0.5567890405654907, 0.20816269516944885, 0.6055740118026733, 0.1728522628545761, 0.2284756302833557, -0.45320406556129456, -0.5889951586723328, -0.9328315258026123, -0.23287807404994965, -0.5011041760444641, -0.4648094177246094, 0.27059271931648254, 0.20413866639137268, -0.006855498533695936, 0.972844660282135, -0.2395576536655426, -0.5009436011314392, -0.2227463275194168, 0.2780323326587677, 0.017303677275776863, 0.37167277932167053, 0.7047505974769592, -0.6207306385040283, -0.1680300086736679, -0.34881001710891724, -0.451528400182724, -0.3792976140975952, -0.062241312116384506, -0.26119837164878845, -0.17048156261444092, 0.4393927752971649, -0.23954890668392181, 0.6011109948158264, 0.4686162769794464, -0.2426767796278, 0.46692830324172974, -0.2769690454006195, 0.14955651760101318, -0.4958766996860504, 0.38587698340415955, 0.03708194941282272, -0.3996778428554535, -0.23874972760677338, 0.2895134687423706, 0.003701945533975959, -0.020293714478611946, -0.202270969748497, 0.5175442695617676, -0.4446223974227905, -0.23880083858966827, -0.21556580066680908, 0.04130856320261955, -0.17098835110664368, 0.16157755255699158, -0.233660489320755, 0.6119377613067627, 0.08625388890504837, -0.5545489192008972, 0.32357025146484375, 0.18511398136615753, -1.0010391473770142, 0.5364357233047485, -0.7917324304580688, 0.20372454822063446, 0.10484419763088226, 0.7065697312355042, -0.8053609132766724, -0.41346094012260437, 0.01863180100917816, -0.31301337480545044, 0.11246751993894577, 0.09891222417354584, -0.6975780129432678, -0.6098811030387878, 0.03241541609168053, 0.23559755086898804, 0.468098908662796, -0.6503174304962158, 0.043941743671894073, 0.5049874782562256, 0.46216699481010437, -0.933975338935852, -0.776305079460144, -0.04264378920197487, 0.06713532656431198, -0.34016597270965576, 0.45064324140548706, 0.01666347123682499, -0.37019044160842896, 0.05279252305626869, -0.42164111137390137, -0.07613164931535721, 0.28356829285621643, 0.23795011639595032, -0.02769656851887703, 0.3297420144081116, 0.14917795360088348, -0.18757374584674835, -0.19738397002220154, -0.16525468230247498, -0.04283178225159645, 0.08340919017791748, -0.0953187569975853, -0.942844569683075, -0.37029582262039185, -0.004069654271006584, 0.2569689154624939, 0.06239788979291916, 0.21361929178237915, 0.85841965675354, -0.6591076850891113, -0.46257996559143066, -0.4611359238624573, -0.33076444268226624, -0.4453393220901489, 0.22846253216266632, -0.05163944885134697, -0.6930927634239197, 0.4656863212585449, 0.16114458441734314, 0.35977715253829956, 0.3096688389778137, 0.2685745060443878, -0.06632032245397568, 1.1467503309249878, 0.401787132024765, 0.02369932271540165, 0.2573588788509369, -0.11165584623813629, 0.2498837560415268, -0.5160999894142151, -0.3144098222255707, -0.4971315860748291, -0.8638660311698914, -0.2056737244129181, -0.4147837460041046, 0.4248947501182556, 0.5088303089141846, 0.10250788927078247, 0.24293608963489532, -0.8341113924980164, 0.4435766041278839, 0.611440122127533, 0.4407450556755066, 0.17554281651973724, -0.15695279836654663, -0.4015629291534424, 0.10349509865045547, -0.7100605964660645, -0.5262961983680725, 1.0557658672332764, 0.059427905827760696, 0.8836259245872498, 0.0675986036658287, 0.5518827438354492, 0.7349806427955627, 0.5059173703193665, -0.5835022330284119, 0.48883911967277527, -0.013780767098069191, -1.182986855506897, -0.4643479883670807, -0.3726724684238434, -1.0990831851959229, 0.009339124895632267, -0.5082209706306458, -0.5928536057472229, 0.21896880865097046, 0.3491401970386505, -0.8388245105743408, 0.4090366065502167, -0.7628634572029114, 0.1337779462337494, -0.20687271654605865, -0.05318703502416611, -0.09775369614362717, -0.8644790649414062, 0.4437258243560791, 0.05962972342967987, 0.02730570174753666, -0.2542286217212677, 0.21915097534656525, 0.9593851566314697, -0.590846061706543, 0.7141470909118652, -0.3509300649166107, 0.43007513880729675, 0.5421684980392456, -0.1359076052904129, 0.34725406765937805, 0.3448983430862427, -0.49254903197288513, 0.04333902522921562, -0.18487359583377838, -0.5567354559898376, -0.700690746307373, 0.6609640717506409, -0.9181939363479614, -0.4087054431438446, -0.6281729340553284, -0.21569816768169403, -0.304153710603714, -0.1167415976524353, 0.27877527475357056, 0.08115687221288681, -0.3011113107204437, 0.3087618052959442, 0.5332722663879395, -0.2852991819381714, 0.3084590435028076, 0.14853443205356598, -0.1506606936454773, -0.5915520191192627, 0.44824013113975525, 0.26632264256477356, 0.22278791666030884, 0.28740638494491577, 0.03946271911263466, -0.3330599367618561, -0.4127078950405121, -0.6527637839317322, -0.15638504922389984, -0.46754804253578186, -0.5365564823150635, -0.58551424741745, -0.2200498729944229, -0.17090439796447754, -0.1870066076517105, -0.3201698064804077, -0.591628909111023, -0.06998320668935776, -0.4462504982948303, 0.2628997564315796, 0.7083989381790161, -0.28411203622817993, 0.4261358678340912, -0.5406849384307861, 0.2981823682785034, 0.6096640229225159, 0.6294258236885071, 0.09125416725873947, -0.2799915075302124, -0.0009793923236429691, -0.08690404146909714, -0.2734946608543396, -0.6358149647712708, 0.18233507871627808, 0.2723831832408905, 1.0551509857177734, 0.7654455900192261, 0.20139706134796143, 0.98626708984375, -0.1710597276687622, 0.76083904504776, 0.18903328478336334, -0.7756945490837097, 0.2814450263977051, -0.10595377534627914, 0.4742671251296997, 1.0950478315353394, 0.0029360372573137283, -0.1903388500213623, -0.22095666825771332, -0.7048699855804443, -0.9225885272026062, 0.8889598250389099, 0.43247905373573303, -0.4128669202327728, -0.08242180943489075, 0.6371212601661682, 0.11169097572565079, 0.03889995440840721, -0.6713312864303589, -0.2026049792766571, -0.014531726017594337, 0.06467738002538681, 0.02975495532155037, 0.13840381801128387, -0.3503561019897461, -0.21435490250587463, 0.6354753971099854, -0.0500376932322979, 0.5816236734390259, 0.17435190081596375, -0.09737535566091537, -0.3781137466430664, -0.011304190382361412, 0.3925982415676117, 0.7743324637413025, -0.5762675404548645, 0.20030835270881653, 0.488828182220459, -0.5371811985969543, 0.19864171743392944, -0.044655825942754745, -0.1506294161081314, 0.10064025223255157, 0.5218262672424316, 0.6081597805023193, 0.30044353008270264, -0.7193963527679443, 0.5354294180870056, -0.26627814769744873, -0.29525190591812134, -0.33800584077835083, 0.2806939482688904, -0.23327650129795074, 0.008017824962735176, 0.7471752762794495, 0.6458688974380493, 0.22536514699459076, -0.25153017044067383, 0.4351702034473419, 0.3982234001159668, -0.6218628287315369, -0.24057070910930634, 0.7072033882141113, 0.2387656420469284, -0.5538243055343628, 0.5949344635009766, -0.5979437232017517, -0.41607466340065, 0.7638036608695984, 0.40419453382492065, 0.7839539051055908, -0.15675139427185059, 0.27544939517974854, 0.6559624671936035, 0.5181625485420227, -0.740083634853363, 0.3352430462837219, -0.1682148575782776, -0.5640978217124939, -0.5439494848251343, -0.9095646739006042, -0.6774946451187134, 0.10800928622484207, -0.8789822459220886, 0.39675265550613403, -0.586507260799408, -0.6518967747688293, -0.43609386682510376, 0.2569417655467987, -0.8024911880493164, 0.5229575634002686, 0.05223984271287918, 0.9349145293235779, -0.846748411655426, 0.525641679763794, 0.843140184879303, 0.08069662749767303, -0.8173691034317017, -0.09443527460098267, 0.004407230764627457, -0.630302906036377, 0.40508490800857544, -0.04483999311923981, -0.016231872141361237, -0.39819300174713135, -0.6800463795661926, -1.1045701503753662, 1.242418646812439, 0.3204151391983032, -0.5676089525222778, -0.057841960340738297, -0.4123431444168091, 0.6757057905197144, 0.0925523042678833, 0.6526452302932739, 0.2667601704597473, 0.7481982707977295, 0.019628753885626793, -1.137959599494934, -0.07117928564548492, -0.3724484443664551, -0.06727121770381927, 0.06536510586738586, -0.8303693532943726, 0.22011616826057434, -0.22576361894607544, -0.4337880611419678, 0.09089300036430359, 0.6594930291175842, 0.6872144937515259, 0.5251191258430481, 1.059064269065857, 0.7220397591590881, 0.9799476861953735, -0.2523878514766693, 1.0996488332748413, -0.19509248435497284, 0.2727804183959961, 0.8565170764923096, -0.3308113217353821, 0.5710982084274292, 0.2246791571378708, -0.5135297775268555, 0.260293185710907, 0.872571587562561, -0.035524968057870865, 0.7619640231132507, 0.4673086404800415, -0.1445506364107132, -0.366393506526947, 0.34772729873657227, -0.1837882697582245, 0.5412529706954956, 0.17813822627067566, -0.33033809065818787, -0.40648993849754333, -0.014485766179859638, -0.322793185710907, -0.06828786432743073, -0.08293984830379486, 0.47625356912612915, 0.04050065949559212, -0.9286378026008606, 0.4551171064376831, 0.18232674896717072, 0.7045435905456543, -0.592792272567749, -0.03058347851037979, 0.10057353973388672, 0.06857825815677643, -0.5060219764709473, -0.3222247362136841, 0.2924576997756958, -0.04621056094765663, -0.025722669437527657, -0.4433029890060425, 0.9270213842391968, -0.12944404780864716, -0.5516483187675476, 0.19748012721538544, 0.4874300956726074, 0.26667946577072144, 0.2311701774597168, -0.735145092010498, -0.16601143777370453, -0.04805348068475723, -0.32298773527145386, 0.33081814646720886, 0.14998266100883484, -0.310481458902359, 0.7958059310913086, 0.9179469347000122, 0.1829584240913391, 0.08480150997638702, 0.21723704040050507, 0.35834628343582153, -0.3597252666950226, -0.4531916677951813, -0.39848753809928894, 0.10696712136268616, -0.3459344208240509, -0.5925815105438232, 0.6211269497871399, 0.3703835606575012, 0.8808214664459229, 0.1854359358549118, 0.9455075263977051, -0.1536635160446167, 0.6316720843315125, -0.20575512945652008, 0.9934996962547302, -0.2149937003850937, 0.33775293827056885, -0.3704495429992676, -1.0574530363082886, -0.659639298915863, 1.0519802570343018, -0.08038085699081421, 0.1776810735464096, 0.5415828227996826, 0.5893321633338928, -0.19909706711769104, 0.03994610905647278, 0.36384740471839905, -0.37471655011177063, 0.31152817606925964, 0.2940334379673004, 0.7598839998245239, -0.2612452805042267, 0.5024756193161011, -0.34679654240608215, -0.4326087236404419, -0.39506959915161133, -0.8574752807617188, -0.6891267895698547, -0.2834298610687256, -0.20977669954299927, -0.46113207936286926, 0.06913548707962036, 1.1986398696899414, 1.0933982133865356, -0.9524556994438171, -0.12302899360656738, -0.015742726624011993, -0.06999509036540985, -0.7180709838867188, -0.2578990161418915, 0.4153905510902405, -0.04272963106632233, -0.7719768285751343, 0.35831311345100403, 0.12000533938407898, -0.30087777972221375, -0.4539622366428375, -0.14334823191165924, -0.12618273496627808, -0.06327022612094879, 0.38827529549598694, 0.30823153257369995, -0.78882896900177, -0.5653324723243713, 0.08450598269701004, -0.1483442485332489, -0.29759645462036133, 0.7712109088897705, -1.0397814512252808, 0.5158361792564392, 0.5242122411727905, 0.8353232741355896, 0.39749258756637573, 0.4330781102180481, 0.4640265703201294, -0.7362678050994873, -0.16925549507141113, 0.5340583920478821, 0.2780434489250183, 0.35886237025260925, -0.3388974666595459, 0.8802796006202698, 0.23141519725322723, -0.8531138300895691, -0.9438657164573669, 0.011600574478507042, -1.2302343845367432, -0.06746391206979752, 1.393937110900879, -0.2642005681991577, -0.05664724111557007, -0.3937642574310303, -0.057538390159606934, 0.25065696239471436, -0.48030322790145874, 1.3008525371551514, 0.7964600920677185, -0.37637364864349365, 0.2900177538394928, -0.4367508888244629, 0.5424779057502747, 0.558818519115448, -0.6574922204017639, -0.489414244890213, 0.24905647337436676, 0.26153793931007385, 0.2823634743690491, 0.6788750290870667, -0.2200433611869812, 0.30847781896591187, -0.1532452553510666, 0.1755649447441101, 0.014772339724004269, -0.22394900023937225, -0.15685656666755676, 0.40008464455604553, 0.0042908224277198315, -0.07968919724225998 ]
http://arxiv.org/abs/2406.07964v1
http://arxiv.org/pdf/2406.07964v1
Political Leaning Inference through Plurinational Scenarios
2024-06-12T07:42:12
2024-06-12T07:42:12
Joseba Fernandez de Landa, Rodrigo Agerri
cs.SI
cs.SI, cs.CL, cs.CY
Social media users express their political preferences via interaction with other users, by spontaneous declarations or by participation in communities within the network. This makes a social network such as Twitter a valuable data source to study computational science approaches to political learning inference. In this work we focus on three diverse regions in Spain (Basque Country, Catalonia and Galicia) to explore various methods for multi-party categorization, required to analyze evolving and complex political landscapes, and compare it with binary left-right approaches. We use a two-step method involving unsupervised user representations obtained from the retweets and their subsequent use for political leaning detection. Comprehensive experimentation on a newly collected and curated dataset comprising labeled users and their interactions demonstrate the effectiveness of using Relational Embeddings as representation method for political ideology detection in both binary and multi-party frameworks, even with limited training data. Finally, data visualization illustrates the ability of the Relational Embeddings to capture intricate intra-group and inter-group political affinities.
[ -0.6400455832481384, -0.6466389298439026, 0.7718914747238159, 0.2930217683315277, -0.45857900381088257, 0.6552643179893494, -0.4842309057712555, 0.2906307876110077, 0.6326653361320496, 0.42648497223854065, -0.6358763575553894, -0.801360547542572, -0.5326275825500488, -0.33093008399009705, -0.22945791482925415, 0.7303929328918457, 0.3197745382785797, -0.061542216688394547, -0.061893533915281296, -0.17595331370830536, 0.15073326230049133, -0.579038679599762, -0.36246734857559204, -0.5821942687034607, 0.49368590116500854, 0.5733080506324768, 0.7092450857162476, 0.31237417459487915, -0.07748231291770935, 0.22340981662273407, 0.2319066822528839, -0.10709495097398758, -0.45528706908226013, -0.17221051454544067, -0.4476798474788666, -0.5260452032089233, 0.26640674471855164, 0.21207940578460693, 0.4065306484699249, 0.37006276845932007, -0.20574577152729034, -0.06003354862332344, -0.11584480851888657, 0.6384294033050537, -0.7887886762619019, 0.2037394791841507, -0.8297198414802551, 0.10560764372348785, -0.2175365388393402, -0.3687041103839874, -0.3881216049194336, -0.6286290287971497, 0.09056796878576279, -0.1586746722459793, 0.285121887922287, -0.15152348577976227, 0.5592280030250549, -0.02091997116804123, -0.7966668605804443, -0.2901921272277832, -0.5732585191726685, 0.756611704826355, -0.283856064081192, 0.35069236159324646, 0.2130352109670639, 0.4230267107486725, -0.206595316529274, -0.5419282913208008, -0.5734479427337646, 0.26585671305656433, 0.17521704733371735, 0.20715071260929108, -0.059128399938344955, -0.13273578882217407, -0.1512233018875122, -0.05167161673307419, 0.14650079607963562, -0.11087977886199951, -0.09019417315721512, -0.04057738929986954, 0.4883280098438263, -0.3111814260482788, 0.14638899266719818, -0.7395843267440796, -0.44354885816574097, -0.1931799054145813, -0.7363436222076416, 0.12149190902709961, 1.0012913942337036, 0.5183085799217224, -0.18900969624519348, 0.5216329097747803, 0.09033241122961044, 0.30860430002212524, 0.2067847102880478, 0.35522186756134033, 0.37210750579833984, -0.26670628786087036, -0.04703724384307861, -0.30428335070610046, 1.136599063873291, 0.4591648280620575, 0.46265313029289246, 0.19233816862106323, 0.08369272202253342, 0.16650335490703583, -0.12721645832061768, -0.3591034412384033, -0.5129643678665161, 0.2271675169467926, -0.5687763690948486, -0.20207653939723969, 0.4860140085220337, -0.9241410493850708, -1.056038498878479, -0.34807896614074707, -0.09918417036533356, -0.2603742480278015, -0.8627017140388489, -0.02588147483766079, -0.39486125111579895, 0.17967067658901215, 0.3817569613456726, -0.44374722242355347, 0.07428016513586044, 0.8827534317970276, 0.7755104899406433, -0.15940363705158234, -0.13585536181926727, -0.03424336016178131, -0.12350346148014069, -0.2854803800582886, 0.9799875020980835, -0.8000612854957581, -0.08511770516633987, 0.2275494784116745, 0.04113493487238884, -0.15848131477832794, -0.39602524042129517, 0.33657246828079224, -0.6034455895423889, 0.1987496018409729, -0.5900290012359619, -0.3154088258743286, -0.09763676673173904, 0.12059018015861511, -0.8912819623947144, 0.8747722506523132, -0.19076818227767944, -1.1138174533843994, 0.6520698070526123, -0.5095323324203491, -0.2003079056739807, -0.46038123965263367, -0.5415779948234558, -0.20051006972789764, 0.2061159312725067, 0.2641979455947876, 0.8306592702865601, 0.011420093476772308, 0.41594693064689636, -0.6848231554031372, -0.07883304357528687, 0.23193083703517914, -0.06662037968635559, 1.1551443338394165, -0.2658511996269226, -0.3383728563785553, 0.3831486105918884, -0.4119839668273926, -0.3789020776748657, -0.046809665858745575, 0.01691344752907753, -0.5058866143226624, 0.5366855263710022, 0.07409520447254181, 0.4971444606781006, -0.0036832464393228292, -0.7968349456787109, 0.03585413098335266, -0.1603323072195053, 0.7769762873649597, 0.7342019081115723, 0.2715192437171936, 0.6291583776473999, -0.026911601424217224, 0.2634439766407013, 0.22893185913562775, 0.0745023861527443, 0.5160226821899414, -0.5031349062919617, -0.39565351605415344, -0.15694203972816467, 0.34943169355392456, 0.6517086625099182, -1.279840350151062, 0.23144419491291046, -0.2740030586719513, -0.1677316576242447, -0.26732906699180603, -0.28721562027931213, -0.09922299534082413, -0.08806026726961136, 0.07893996685743332, 0.3141808807849884, -0.5649254322052002, -1.1415852308273315, -0.3872186541557312, -0.48091328144073486, -0.09984041005373001, 0.3169310986995697, 0.9791805148124695, 0.01587304100394249, 0.9759567379951477, 0.010409833863377571, 0.16129058599472046, -0.3000183403491974, 0.17301887273788452, 0.08624918758869171, -0.010665728710591793, 0.29658153653144836, -1.0689475536346436, -0.5410467982292175, 0.19654908776283264, -0.38275808095932007, 0.0938185602426529, -0.03943633288145065, -0.17811957001686096, 0.11493497341871262, 0.26199865341186523, 0.021595867350697517, 0.5053054094314575, 0.5594370365142822, -0.46271663904190063, 0.01007471140474081, 0.28380894660949707, 0.46574780344963074, -1.1708334684371948, -0.2968263328075409, 0.2842266261577606, -0.5181317329406738, -0.5595564246177673, -0.3119324743747711, 0.050223737955093384, 0.41806668043136597, -0.5827908515930176, 0.09257838129997253, -0.2589583694934845, -0.17058096826076508, -0.05154101178050041, 0.021184582263231277, -0.4029965400695801, 0.21720504760742188, 0.37397223711013794, 0.4089878499507904, 0.2231806516647339, 0.27147671580314636, -0.0031763864681124687, -0.15927881002426147, -0.47490164637565613, 0.48874232172966003, -0.3524571657180786, 0.19022487103939056, -0.3391912579536438, 0.3434385061264038, -1.2456481456756592, -0.4213268756866455, 0.41704416275024414, -0.2858526110649109, -0.22050899267196655, -0.6250194311141968, -0.7373726963996887, -0.20289868116378784, -0.5327178835868835, -0.044575225561857224, 0.17671865224838257, -0.5522735714912415, 0.7410951256752014, 0.8219442367553711, 0.3417041301727295, -0.7811296582221985, -0.5881150364875793, -0.11775553226470947, -0.5686560273170471, -0.4587315618991852, 0.16212956607341766, 0.6399733424186707, -0.39829009771347046, 0.16806267201900482, 0.22775745391845703, -0.005420329049229622, -0.33986589312553406, 0.45232149958610535, -0.0742277204990387, 0.10990118235349655, 0.04901200160384178, 0.128876730799675, 0.1839514672756195, 0.06476478278636932, -0.10481711477041245, 0.6483582854270935, -0.3037196695804596, -0.291953444480896, -0.6422481536865234, 0.4447020888328552, 0.5698798298835754, -0.1008588969707489, 0.8991293907165527, 0.519698977470398, -0.31689828634262085, -0.5214803814888, -0.5548185706138611, -0.22463566064834595, -0.3649459183216095, 0.09974990785121918, -0.09682600200176239, -0.7980507016181946, 1.0242033004760742, -0.3308772146701813, 0.14722326397895813, 0.3987993001937866, 0.836371898651123, -0.14337021112442017, 0.6292518973350525, 0.4869852066040039, 0.20834124088287354, 0.5087063312530518, -0.47410687804222107, 0.10440225154161453, -0.3363513946533203, -0.3116735517978668, -0.41455861926078796, -0.2942984700202942, -0.9515579342842102, -0.8476622700691223, 0.14600065350532532, -0.2998242676258087, -0.43360385298728943, 0.1841413974761963, -0.37698858976364136, 0.7521302103996277, 0.34123462438583374, 0.4476681351661682, -0.03868731111288071, 0.47338277101516724, 0.05234316736459732, -0.31669458746910095, -0.7866296768188477, -0.3037278354167938, 0.9142869114875793, 0.3571908473968506, 0.496759831905365, -0.007804120425134897, 0.8038260340690613, 0.40182170271873474, 0.543758749961853, -0.6923038959503174, 0.2660384774208069, -0.31058233976364136, -0.5677923560142517, -0.24454869329929352, -0.44377458095550537, -0.7211907505989075, 0.4992915391921997, -0.541139543056488, -0.5561875700950623, 0.7689275741577148, -0.1011347696185112, -0.14784136414527893, 0.7283622026443481, -0.5087594985961914, 0.7980730533599854, 0.008625173941254616, -0.464993417263031, -0.31292209029197693, -0.7909466624259949, 0.3589562773704529, 0.24897252023220062, 0.3881054222583771, -0.3086073696613312, -0.36908355355262756, 0.9533220529556274, 0.09811928868293762, 1.0843600034713745, -0.5433241128921509, 0.33698636293411255, 0.3242394030094147, -0.31022465229034424, 0.057311661541461945, 0.16862036287784576, -0.4098885655403137, 0.2875578999519348, 0.05938706919550896, -0.3190167248249054, -0.49370548129081726, 0.737116277217865, -1.1173486709594727, -0.205619215965271, -0.34332025051116943, -0.2682031989097595, -0.09840283542871475, -0.06024542823433876, 0.2519042193889618, 0.133880615234375, -0.24491797387599945, 0.5144333243370056, 0.44394099712371826, 0.02763972617685795, 0.37011465430259705, -0.09469087421894073, -0.15130102634429932, -0.618176281452179, 0.6785159111022949, 0.22914238274097443, -0.03937719389796257, 0.10900287330150604, 0.43644946813583374, -0.6660174131393433, -0.4068712592124939, -0.14824840426445007, 0.3253900110721588, -0.8305036425590515, -0.0007623526616953313, -0.3340018391609192, 0.2708192467689514, 0.28682422637939453, -0.17296567559242249, -0.5781421661376953, -0.49098336696624756, -0.07079922407865524, -0.009752706624567509, 0.17808131873607635, 0.9635812640190125, -0.04953503981232643, 0.6473482847213745, 0.19635944068431854, 0.0514451339840889, -0.15399032831192017, 0.3300766348838806, -0.19374869763851166, 0.023150358349084854, 0.2758404314517975, -0.017249450087547302, -0.12558786571025848, -1.5501728057861328, -0.012894638814032078, 0.11788099259138107, 0.34794238209724426, 0.4489271342754364, 0.37755030393600464, 0.3673541843891144, -0.5035607218742371, 0.5755463242530823, 0.07001906633377075, -0.723141610622406, 0.5591040253639221, -0.4096605181694031, -0.3724399507045746, 0.9114000797271729, 0.8300866484642029, -0.17188993096351624, -0.32675349712371826, -0.6193932890892029, -0.7066899538040161, 0.2824273705482483, 0.16437740623950958, 0.23154878616333008, -0.026135403662919998, 0.5584526658058167, 0.16033220291137695, 0.32079729437828064, -0.6720656752586365, -0.2404259443283081, -0.36484843492507935, -0.11724291741847992, 0.06029912829399109, 0.13989019393920898, -0.46471190452575684, -0.2490885704755783, 0.34816858172416687, -0.21585515141487122, 0.19400613009929657, 0.08948879688978195, 0.32348671555519104, 0.0702582448720932, 0.06363389641046524, 0.04898367449641228, 0.9995986223220825, -0.13804219663143158, 0.22458237409591675, -0.28498703241348267, 0.20968104898929596, 0.21008329093456268, -0.087150439620018, 0.017988741397857666, 0.11829952895641327, 0.2552212178707123, 0.4578416049480438, -0.09339141845703125, 0.0867888554930687, 0.6690107583999634, -0.35395345091819763, -0.3677939474582672, -0.41936588287353516, -0.1822195053100586, 0.5943571925163269, 0.28487393260002136, 0.40212249755859375, 0.010665946640074253, 0.09877211600542068, -1.0427451133728027, 0.28999972343444824, 0.6660757660865784, -0.3564915359020233, -0.40490666031837463, 0.30574801564216614, 0.297066330909729, -0.2835041284561157, 0.22132110595703125, -0.11050327867269516, -0.7800745964050293, 0.5542621612548828, 0.08740665763616562, 0.5654531121253967, -0.06781642884016037, 0.5785660147666931, 0.21048657596111298, 0.30666881799697876, 0.1015302985906601, 0.44083213806152344, 0.012636452913284302, -0.8915857672691345, -0.46825721859931946, -0.18465597927570343, -0.3999062478542328, 0.02343926392495632, -0.6339815855026245, 0.23281033337116241, -0.6577464938163757, -0.6765654683113098, 0.3092968761920929, 0.2766256332397461, -0.4937804639339447, -0.4015154540538788, 0.023473909124732018, 0.7263943552970886, -1.666629433631897, 0.5491790175437927, 0.7505530714988708, 0.28728052973747253, -0.18313296139240265, 0.303825318813324, 0.3274957239627838, -0.5733642578125, 0.14880973100662231, 0.07050343602895737, -0.3388654589653015, -0.45268014073371887, -0.6934128999710083, -0.2418150156736374, 0.6950459480285645, 0.2895950675010681, -0.31242498755455017, 0.07954475283622742, 0.07993882149457932, 0.37191063165664673, -0.5507849454879761, 0.18398097157478333, 0.6329109072685242, 0.3328956365585327, 0.0434749610722065, -0.2992068827152252, 0.002787459408864379, -0.04003831371665001, -0.12379464507102966, 0.5103258490562439, -0.6963712573051453, 0.8413657546043396, 0.14886771142482758, -0.4033525288105011, -0.5595995187759399, 0.6592535972595215, 0.25613629817962646, 0.44164928793907166, 1.012076735496521, 0.14490367472171783, 0.6397911310195923, -0.2752796709537506, 0.8035489916801453, -0.35524749755859375, 0.49074435234069824, 0.9194513559341431, -0.1476333886384964, 1.0250695943832397, 0.6671711802482605, -0.10033927112817764, 1.0636769533157349, 0.9421872496604919, 0.2712879478931427, 0.45401862263679504, 0.1592087298631668, -0.23751212656497955, -0.5473081469535828, -0.10468936711549759, -0.028430499136447906, 0.39470407366752625, 0.7421768307685852, -0.11326204240322113, -0.30162757635116577, 0.007572301663458347, 0.04677674174308777, 0.42152243852615356, -0.12749804556369781, 0.4966614544391632, -0.13501279056072235, -0.604305624961853, 0.04825150594115257, -0.12773141264915466, 0.5729051828384399, -0.09109116345643997, -0.030982671305537224, 0.05907561257481575, -0.024705974385142326, -0.42141014337539673, -1.3754079341888428, 0.31411296129226685, -0.1489957720041275, 0.049738235771656036, -0.11360640823841095, 0.61916583776474, -0.27776899933815, -0.432502806186676, 0.5260448455810547, 0.819725751876831, 0.02566112019121647, -0.053697895258665085, -0.959938645362854, 0.01711883768439293, 0.23907741904258728, -0.36181285977363586, 0.07638853788375854, 0.5793910622596741, -0.2913520932197571, 0.4785498380661011, 0.6839119791984558, 0.00027072062948718667, -0.08324520289897919, 0.22999511659145355, 0.951392650604248, -0.0837322399020195, -0.3962295949459076, -1.0139186382293701, 0.43537288904190063, -0.4133491814136505, -0.09498672187328339, 0.7701250314712524, 0.3495357036590576, 0.748009204864502, 0.09231851994991302, 0.7736660838127136, -0.29091596603393555, 0.29123589396476746, -0.198915496468544, 0.5129793286323547, -0.38794493675231934, -0.12337613850831985, 0.06572792679071426, -0.5648343563079834, -0.4100763201713562, 0.8606455326080322, -0.683685839176178, -0.0721200555562973, 0.4013822078704834, 0.6214990019798279, -0.5222828388214111, 0.050590723752975464, -0.19328275322914124, -0.10235406458377838, 0.07136194407939911, 0.4947795569896698, 1.1518235206604004, 0.12879690527915955, 0.11234302073717117, -0.7285703420639038, -0.3883693814277649, 0.08839435875415802, -0.9646556377410889, -1.4849203824996948, -0.7781694531440735, -0.2563948333263397, -0.7243914604187012, 0.04569723457098007, 1.0579625368118286, 0.7986973524093628, -0.8850643634796143, -0.42941659688949585, 0.2155076265335083, 0.5228206515312195, 0.3274804353713989, -0.2519552409648895, 0.6456525921821594, 0.39158645272254944, -0.699066162109375, -0.17018531262874603, 0.12456837296485901, -0.4487530291080475, -0.5090333819389343, 0.2976626753807068, -0.6062796711921692, 0.12316545099020004, 0.5302254557609558, 0.19270379841327667, -0.8890981674194336, -0.36981436610221863, -0.12263907492160797, 0.2587355971336365, 0.24123790860176086, 0.9630817174911499, -0.5859639048576355, 0.2930273711681366, 0.7807608842849731, 0.3940393328666687, 0.36043137311935425, 0.45436763763427734, 0.2515619695186615, -0.7712735533714294, 0.2273782193660736, 0.28042593598365784, 0.2831558883190155, 0.6246663928031921, 0.11582066118717194, 0.4194989502429962, 0.24111783504486084, -0.42005211114883423, -0.6112120747566223, 0.17635753750801086, -0.7513220906257629, -0.3492825925350189, 1.2347006797790527, -0.02076762169599533, -0.4424322843551636, -0.37592917680740356, 0.05834653601050377, 0.263560026884079, -0.6144849061965942, 0.47146108746528625, 0.6990545988082886, -0.24642963707447052, -0.235691100358963, -0.9446958303451538, 0.389638215303421, -0.060399655252695084, -0.5836447477340698, 0.10881708562374115, 0.21029001474380493, 0.4032794237136841, 0.20880655944347382, 0.6969324946403503, 0.12703345715999603, 0.12305769324302673, -0.32844629883766174, -0.23739871382713318, 0.36385729908943176, -0.504879891872406, -0.1668201982975006, 0.5263353586196899, -0.4971497058868408, -0.17754679918289185 ]
http://arxiv.org/abs/2406.07962v1
http://arxiv.org/pdf/2406.07962v1
Toward a Method to Generate Capability Ontologies from Natural Language Descriptions
2024-06-12T07:41:44
2024-06-12T07:41:44
Luis Miguel Vieira da Silva, Aljosha Köcher, Felix Gehlhoff, Alexander Fay
cs.AI
cs.AI, cs.CL
To achieve a flexible and adaptable system, capability ontologies are increasingly leveraged to describe functions in a machine-interpretable way. However, modeling such complex ontological descriptions is still a manual and error-prone task that requires a significant amount of effort and ontology expertise. This contribution presents an innovative method to automate capability ontology modeling using Large Language Models (LLMs), which have proven to be well suited for such tasks. Our approach requires only a natural language description of a capability, which is then automatically inserted into a predefined prompt using a few-shot prompting technique. After prompting an LLM, the resulting capability ontology is automatically verified through various steps in a loop with the LLM to check the overall correctness of the capability ontology. First, a syntax check is performed, then a check for contradictions, and finally a check for hallucinations and missing ontology elements. Our method greatly reduces manual effort, as only the initial natural language description and a final human review and possible correction are necessary, thereby streamlining the capability ontology generation process.
[ -0.40932032465934753, -0.6517103314399719, 0.8191543221473694, -0.17304405570030212, -0.03580303117632866, -0.10045133531093597, -0.3210507929325104, -0.35364583134651184, 0.06037060543894768, 1.3054323196411133, -0.7820643782615662, -0.45732825994491577, -0.4546757936477661, 0.3976399600505829, -0.30147430300712585, 0.7071312069892883, -0.11872489005327225, -0.34785646200180054, -0.041822876781225204, 0.20798364281654358, -0.5735162496566772, -0.2488735020160675, -0.1907302588224411, -0.4526372253894806, 0.12680985033512115, 0.5336971879005432, 0.7970221042633057, 0.8516378402709961, 0.5632042288780212, 0.4205267131328583, 0.12687548995018005, 0.4458688199520111, -0.0990944653749466, 0.07615021616220474, -0.1956920623779297, -0.2839640974998474, -0.9121895432472229, -0.07209642976522446, 0.64744633436203, 0.5367408394813538, -0.07284106314182281, 0.262205570936203, 0.22469322383403778, 0.0871497392654419, -0.22854110598564148, 0.11733962595462799, -0.9546632766723633, 0.10108557343482971, 0.009911014698445797, -0.2617943286895752, -0.19640591740608215, -0.20214207470417023, 0.1464972347021103, -0.7096736431121826, 0.11348824948072433, 0.047358784824609756, 0.6438560485839844, 0.2340596616268158, 0.05161389708518982, -0.3443520963191986, -0.7762889266014099, 0.9338128566741943, -0.7256977558135986, 0.08556170016527176, 0.5108963251113892, 0.6111119389533997, -0.20840266346931458, -0.9007576107978821, -0.9325997829437256, -0.6511030793190002, -0.1382049024105072, -0.17776620388031006, -0.02522234618663788, 0.12928254902362823, 0.17764054238796234, 0.14757709205150604, -0.5322398543357849, 0.21361961960792542, -0.08350399136543274, -0.3507598638534546, 0.8442792296409607, 0.4151354730129242, 0.2361745983362198, -0.5380604863166809, -0.34590497612953186, 0.12646496295928955, -0.49494054913520813, -0.2635144591331482, 0.0841316431760788, 0.6664653420448303, 0.04704119265079498, 0.9182838797569275, -0.49183812737464905, 0.7329086065292358, -0.29771608114242554, -0.5530858635902405, -0.135274738073349, -0.6055359244346619, -0.2639354169368744, 0.09248074889183044, 0.6867976784706116, 0.1511230766773224, -0.03104506991803646, -0.41075587272644043, -0.4801972210407257, -0.12051685154438019, 0.6640236973762512, -0.45695075392723083, 0.2502613365650177, 0.3959602415561676, -0.3296305537223816, -0.3760671317577362, -0.0009310889290645719, -0.6125938296318054, -0.40196195244789124, -0.31243476271629333, 0.5664710402488708, -0.6875216364860535, 0.0027215213049203157, 0.037562090903520584, 0.06688901036977768, 0.23304857313632965, 0.03426789492368698, -0.815962016582489, 0.09914899617433548, 0.7801201343536377, 0.69600510597229, 0.0923367291688919, -0.2592174708843231, -0.46773582696914673, 0.47512248158454895, -0.04865715280175209, 0.5627588629722595, -0.3113655745983124, -0.3596716821193695, 0.029441209509968758, -0.0009270042646676302, 0.5257253646850586, -0.29906973242759705, 0.4282250702381134, -0.5494459271430969, -0.278572678565979, -0.08362484723329544, -0.5870702862739563, -0.30552423000335693, 0.6831473708152771, -0.6129828095436096, 0.7610318660736084, 0.29001301527023315, -0.25162073969841003, 0.3425147533416748, -0.9996519684791565, -0.2459149807691574, 0.7006773352622986, -0.13447576761245728, -0.0483894944190979, -0.19348198175430298, -0.024869445711374283, 0.530834972858429, -0.7013372778892517, 0.3436548709869385, -0.10994531214237213, 0.264712393283844, 0.43897175788879395, -0.11863657832145691, 0.621436357498169, 0.11480006575584412, -0.4107185900211334, 0.2029002606868744, -0.8878366947174072, 0.38712918758392334, 0.06460147351026535, -0.2945185899734497, 0.04994984343647957, -0.0979115292429924, -0.20521755516529083, 0.06264717876911163, 0.554373025894165, -0.49776917695999146, 0.36981967091560364, -0.6735609769821167, 0.3304743468761444, 0.4746953547000885, -0.22083023190498352, 0.5429573059082031, -0.34359210729599, 0.5859163999557495, -0.6805450320243835, 0.38690805435180664, -0.26639920473098755, -0.4550895392894745, -0.6358564496040344, -0.3089037537574768, 0.18191564083099365, 0.7446637749671936, -0.700965940952301, 1.2604598999023438, -0.2279108166694641, -0.6689102053642273, -0.17016717791557312, 0.5616285800933838, 0.4221320152282715, 0.67534339427948, 0.3567385971546173, -0.37039121985435486, -0.633046567440033, -0.6741044521331787, 0.1485256552696228, -0.4050546884536743, -0.1907518059015274, 0.054555319249629974, 0.3975364863872528, -0.466501921415329, 1.117572546005249, -0.5623754262924194, -0.6707486510276794, -0.4985322654247284, 0.2252674102783203, -0.20433442294597626, 0.1582147777080536, 0.09135206788778305, -0.49343907833099365, -0.009354276582598686, 0.18066205084323883, -0.988845705986023, -0.37225937843322754, -0.038530971854925156, -0.18702702224254608, 0.3854362368583679, 0.3439016044139862, -0.5721415281295776, 0.36744722723960876, 0.3821156322956085, -0.16670551896095276, 0.4878697097301483, -0.3677034080028534, -0.11309556663036346, -1.073750376701355, 0.18513701856136322, -0.3472810387611389, 0.04858984053134918, -0.5453776717185974, 0.4219273626804352, -0.03188556432723999, -0.02980308048427105, -0.2800576090812683, 0.49663183093070984, -0.36133652925491333, -0.03628756105899811, -0.3637824058532715, 0.4565434157848358, 0.06453311443328857, -0.053378261625766754, -0.040042631328105927, 0.09697316586971283, 0.6584974527359009, -0.7457482814788818, 0.8669756054878235, 0.38450661301612854, -0.12725238502025604, 0.30530592799186707, -0.3437102735042572, -0.14108805358409882, 0.0831446498632431, 0.1433033049106598, -0.9188357591629028, -0.6403336524963379, 0.136795312166214, -0.04718239977955818, 0.026326294988393784, -0.04776585474610329, -0.7656769752502441, -0.6107416749000549, -0.05459100008010864, -0.11691789329051971, 0.576740562915802, -0.20986488461494446, 0.9801260828971863, 0.38208651542663574, -0.16042694449424744, -0.1113203689455986, -0.862450897693634, 0.3434951901435852, 0.023499391973018646, -0.7533652186393738, 0.7200631499290466, 0.055278465151786804, -0.20665067434310913, -0.10903674364089966, 0.4736477732658386, -0.10862546414136887, 0.08644013851881027, 0.31657904386520386, 0.5693643093109131, -0.034195832908153534, 0.6381139755249023, -0.09804567694664001, -0.13636042177677155, -0.049710750579833984, -0.44131505489349365, 0.5895305275917053, -0.14251437783241272, -0.39196279644966125, -0.47390633821487427, 0.34987500309944153, 0.36203891038894653, -0.30214691162109375, 0.5859276056289673, 0.5745596885681152, -0.4366365075111389, -0.30701422691345215, -0.5542888045310974, -0.5362376570701599, -0.5074698328971863, 0.28851082921028137, -0.26764145493507385, -0.7136544585227966, 0.5662472248077393, 0.0631026178598404, 0.4598972499370575, 0.3789879083633423, 0.622604489326477, 0.3452494144439697, 0.8094297051429749, 0.7565902471542358, 0.5357545614242554, 0.018791623413562775, -0.1705118715763092, 0.3506597876548767, -0.385114461183548, -0.2907910943031311, -0.4731989800930023, 0.0514569915831089, -0.540122389793396, -0.4199364185333252, 0.43463853001594543, -0.035203903913497925, -0.18489716947078705, 0.36839058995246887, -0.6691051125526428, 0.2457585483789444, 0.1736636757850647, -0.22830364108085632, 0.5307708382606506, 0.06612713634967804, -0.12203281372785568, 0.00746686477214098, -0.6396177411079407, -1.1988840103149414, 1.2073668241500854, 0.24619647860527039, 0.6900814771652222, 0.2509075105190277, 0.8105008602142334, 0.1783771812915802, 0.6088139414787292, -0.9543938040733337, 0.9509541988372803, -0.14941468834877014, -0.6549143195152283, -0.8107272386550903, -0.3116026520729065, -0.7968965768814087, -0.2989461123943329, -0.4976630210876465, -0.6087540984153748, -0.5580834746360779, 0.30197346210479736, -0.8041088581085205, 0.3859504461288452, -0.3676162660121918, 0.5225821137428284, -0.5318928360939026, -0.024072173982858658, -0.02890247479081154, -0.57743239402771, 0.4614834785461426, -0.5245500206947327, 0.18116088211536407, -0.18222014605998993, -0.37487396597862244, 0.4345226287841797, -0.6015410423278809, 1.0026909112930298, 0.12007331848144531, -0.3605864346027374, 0.5539387464523315, 0.176945298910141, 0.3643156588077545, 0.009459755383431911, -0.40861430764198303, -0.10377205163240433, -0.2291504442691803, 0.001796846161596477, -0.4676407277584076, 0.5656799077987671, -0.629143476486206, -0.5700027942657471, 0.1218181625008583, -0.7175142168998718, -0.2118404060602188, 0.40878745913505554, 0.2663021385669708, 0.3852299451828003, -0.2744981050491333, -0.27545005083084106, 0.4284302592277527, -0.36016759276390076, 0.5546603798866272, 0.5558698177337646, -0.43025335669517517, -0.08322662860155106, 0.6087754964828491, 0.5574744939804077, 0.3432302176952362, 0.23963014781475067, 0.19797676801681519, -0.4505482316017151, -0.26782891154289246, -0.5575651526451111, 0.09005466848611832, -0.729753315448761, -0.35750842094421387, -0.8044810891151428, -0.22721023857593536, -0.7768058180809021, -0.33812209963798523, -0.3546813726425171, -0.4131995439529419, -0.23874954879283905, 0.2543346583843231, 0.7133691906929016, 0.8573132753372192, 0.010983306914567947, 0.3922632932662964, -1.1835224628448486, 0.47293800115585327, 0.7760977745056152, 0.46125876903533936, 0.061628591269254684, -0.8401740789413452, -0.03546581417322159, -0.09580191969871521, -0.6122355461120605, -0.7327511310577393, 0.5991322994232178, 0.2183683067560196, 0.6883984804153442, 0.2638251483440399, 0.2548002600669861, 0.3086049556732178, -0.36889299750328064, 0.7605181932449341, 0.2136102318763733, -1.0067015886306763, 0.8329739570617676, -0.11290987581014633, 0.15385940670967102, 0.30101507902145386, 0.37505313754081726, 0.034974053502082825, -0.41120100021362305, -0.5608437061309814, -0.8359420299530029, 0.5704920887947083, -0.09377133101224899, 0.39316585659980774, 0.03849859535694122, 0.3454829156398773, 0.26740726828575134, -0.1251567304134369, -0.5973567366600037, 0.06452816724777222, -0.21359199285507202, -0.1757027506828308, 0.30606237053871155, -0.17044755816459656, -0.46000856161117554, 0.1595214456319809, 0.8197450041770935, -0.4622192680835724, 0.026893990114331245, 0.11508647352457047, -0.10613422095775604, -0.17378191649913788, 0.52668297290802, 0.2590620219707489, 0.704999566078186, 0.05448218807578087, 0.2971784174442291, 0.5237982869148254, -0.2799992859363556, 0.12838537991046906, 0.18824931979179382, -0.014471017755568027, -0.21173354983329773, 0.3590008318424225, 0.5151154398918152, -0.0930686742067337, -0.9727907776832581, 0.21805019676685333, 0.09154879301786423, -0.26749828457832336, -0.40095198154449463, 0.19327543675899506, 0.07087986916303635, 0.31893807649612427, 0.4625830054283142, -0.41159823536872864, -0.08117810636758804, -0.47041788697242737, 0.16936813294887543, 0.30623868107795715, -0.21152205765247345, -0.016734804958105087, 0.19361191987991333, 0.16427680850028992, -0.45273202657699585, 0.46586644649505615, -0.6536460518836975, -0.3551396131515503, 0.4222903549671173, 0.47460830211639404, 0.7804207801818848, -0.19667869806289673, 0.26248061656951904, 0.20274192094802856, 0.6028967499732971, -0.18054237961769104, 0.3115738332271576, 0.23810629546642303, -0.8082194924354553, -0.6390299201011658, -0.9255638718605042, -0.4275456666946411, 0.1499454379081726, -0.26540008187294006, 0.3960552215576172, -0.6036750674247742, -0.5186033248901367, 0.24396440386772156, -0.2354889065027237, -0.5154268741607666, 0.21214202046394348, 0.2850460112094879, 0.7583277821540833, -0.7058592438697815, 0.8363192081451416, 0.7537533640861511, -0.49016085267066956, -1.210304617881775, -0.023737892508506775, -0.06370624154806137, -0.7122952342033386, 0.7293792366981506, 0.1487078070640564, -0.19161349534988403, 0.04685783386230469, -0.45260560512542725, -0.6693848967552185, 1.294189453125, 0.35815203189849854, -0.39582204818725586, 0.1554374098777771, 0.38430315256118774, 0.4922052025794983, -0.6964101791381836, -0.15366651117801666, 0.5607154965400696, 0.8278753161430359, -0.03472548723220825, -0.9823738932609558, 0.46071258187294006, 0.17957955598831177, 0.2389247566461563, -0.08974725008010864, -0.20978042483329773, 0.7240537405014038, -0.4352080523967743, 0.011818884871900082, 0.3736940622329712, 0.5047292709350586, 0.37741759419441223, -0.12384138256311417, 0.6359755396842957, 0.2600141167640686, 0.7448690533638, 0.1410875767469406, 1.0890498161315918, -0.36333420872688293, 0.09494829922914505, 0.9055531024932861, -0.6633117198944092, 0.6523446440696716, 0.4201919734477997, 0.006459319964051247, 0.3762480914592743, -0.013812105171382427, -0.2324545532464981, -0.00583731010556221, 0.14423929154872894, -0.4255894720554352, -0.5955079197883606, -0.3343532383441925, -0.08351820707321167, 0.9898409247398376, 0.2895890474319458, -0.5902756452560425, -0.2988373637199402, 0.18138210475444794, -0.20060649514198303, 0.21921078860759735, -0.32546693086624146, 0.816502571105957, -0.1011778861284256, -0.9408900141716003, 0.6678009033203125, 0.4808209538459778, 0.552017331123352, -0.7472719550132751, -0.04600208252668381, 0.24028752744197845, -0.14839015901088715, -0.23207122087478638, -0.9195746779441833, 0.6100530624389648, 0.31480100750923157, -0.21619129180908203, -0.315787672996521, 0.950587809085846, -0.2869917154312134, -0.6379027366638184, 0.4672805070877075, 0.4799269735813141, 0.12989693880081177, 0.17244543135166168, -0.5153102874755859, -0.06914187222719193, -0.1966659277677536, -0.12055237591266632, 0.02271590754389763, 0.5092672109603882, -0.25867852568626404, 0.7771074771881104, 0.5111348628997803, 0.08618033677339554, 0.013470431789755821, -0.053692203015089035, 0.7335963845252991, -0.5520031452178955, -0.5054514408111572, -0.8352961540222168, 0.4977973699569702, -0.01781938411295414, -0.11928240209817886, 0.3619888722896576, 0.02089289017021656, 0.438358336687088, -0.06501588225364685, 1.130605936050415, -0.5245610475540161, 0.40344250202178955, -0.47313567996025085, 1.0221766233444214, -0.5258169770240784, 0.519224226474762, 0.16973580420017242, -0.667131781578064, -0.4981813132762909, 0.43930092453956604, -0.18088962137699127, 0.069478340446949, 0.38330504298210144, 1.23272705078125, -0.03968232497572899, 0.016448691487312317, 0.5896425843238831, 0.2432125210762024, 0.047038182616233826, 0.24424949288368225, 0.597756028175354, -0.20898626744747162, 0.9800535440444946, -0.03845919296145439, -0.46721622347831726, -0.29798227548599243, -1.2957384586334229, -0.6287493705749512, -0.3385546803474426, -0.18285833299160004, -0.5068965554237366, -0.3678211271762848, 0.9589235782623291, 0.6628320217132568, -0.6406975984573364, -0.2308739274740219, -0.1865338534116745, 0.06258315593004227, 0.032518185675144196, -0.20062515139579773, -0.09230440855026245, -0.4667600095272064, -0.32383453845977783, 0.2434999942779541, 0.36259227991104126, 0.09158580750226974, -0.8185445666313171, -0.3097805380821228, 0.04087800905108452, 0.27678653597831726, 0.665958821773529, 0.12822586297988892, -1.0885685682296753, -0.42233970761299133, -0.006681324448436499, -0.28249984979629517, -0.39011144638061523, 0.5889357328414917, -0.6667121052742004, 0.5813796520233154, 0.36479735374450684, 0.6147366166114807, -0.06696950644254684, -0.6180364489555359, 0.5613002181053162, -0.8585517406463623, -0.14358024299144745, 0.08084268122911453, 0.18190531432628632, 0.49287378787994385, -0.2975412607192993, 0.3617665469646454, -0.03456675261259079, -0.40180346369743347, -0.8146993517875671, 0.5458890199661255, -1.1031848192214966, -0.17432348430156708, 1.105911135673523, -0.3093661367893219, -0.09951847046613693, -0.46745914220809937, -0.20490597188472748, 0.6429312825202942, -0.014154870994389057, 1.0272560119628906, 0.43603822588920593, -0.012490068562328815, 0.19630634784698486, -0.41337209939956665, 0.36065664887428284, 0.1953437328338623, -1.0327733755111694, 0.3269210457801819, 0.2382950633764267, 0.2014639675617218, 0.5593218207359314, 0.35656052827835083, -0.23580215871334076, 0.12890399992465973, -0.17254222929477692, 0.5881543159484863, -0.12745516002178192, -0.05330139026045799, -0.08648844808340073, 0.339574933052063, 0.20364125072956085, 0.30890953540802 ]
http://arxiv.org/abs/2406.07935v1
http://arxiv.org/pdf/2406.07935v1
Defining and Detecting Vulnerability in Human Evaluation Guidelines: A Preliminary Study Towards Reliable NLG Evaluation
2024-06-12T06:59:31
2024-06-12T06:59:31
Jie Ruan, Wenqing Wang, Xiaojun Wan
cs.CL
cs.CL, cs.LG
Human evaluation serves as the gold standard for assessing the quality of Natural Language Generation (NLG) systems. Nevertheless, the evaluation guideline, as a pivotal element ensuring reliable and reproducible human assessment, has received limited attention.Our investigation revealed that only 29.84% of recent papers involving human evaluation at top conferences release their evaluation guidelines, with vulnerabilities identified in 77.09% of these guidelines. Unreliable evaluation guidelines can yield inaccurate assessment outcomes, potentially impeding the advancement of NLG in the right direction. To address these challenges, we take an initial step towards reliable evaluation guidelines and propose the first human evaluation guideline dataset by collecting annotations of guidelines extracted from existing papers as well as generated via Large Language Models (LLMs). We then introduce a taxonomy of eight vulnerabilities and formulate a principle for composing evaluation guidelines. Furthermore, a method for detecting guideline vulnerabilities has been explored using LLMs, and we offer a set of recommendations to enhance reliability in human evaluation. The annotated human evaluation guideline dataset and code for the vulnerability detection method are publicly available online.
[ -0.24381813406944275, -0.6675190925598145, 0.5191239714622498, 0.31389114260673523, -0.20841525495052338, -0.20091752707958221, -0.21094200015068054, -0.605626106262207, -0.25281858444213867, 0.6751074194908142, -0.4993963837623596, -0.5292869806289673, -0.5445038676261902, 0.23230376839637756, -0.29424357414245605, 1.1082580089569092, 0.2063075602054596, -0.08995353430509567, -0.43301764130592346, -0.12016720324754715, -0.6103594303131104, -0.33611321449279785, -0.4839460551738739, -0.11372683942317963, 0.2896486818790436, 0.4356657862663269, 0.6127746105194092, 0.40499767661094666, 0.889552116394043, 0.20125627517700195, -0.10076546669006348, -0.02421422488987446, -0.20453472435474396, 0.1385449469089508, -0.059599388390779495, -0.22454077005386353, -0.6352672576904297, -0.018094295635819435, 0.3143799304962158, 0.6850165724754333, -0.3343389332294464, 0.4427527189254761, 0.19279548525810242, 0.6664774417877197, -0.6295021772384644, -0.05585392564535141, -0.6051739454269409, 0.2149166762828827, -0.380260705947876, -0.23609420657157898, -0.4159497916698456, -0.6280773878097534, 0.33591675758361816, -0.31126147508621216, 0.20132502913475037, -0.0852387398481369, 0.4989945590496063, 0.10374516993761063, -0.22791314125061035, -0.3066208064556122, -0.5940397381782532, 0.6124650835990906, -0.7195920944213867, 0.20202060043811798, 0.7530426383018494, 0.41989636421203613, -0.10206273943185806, -0.596186101436615, -0.2297290563583374, -0.5988059639930725, 0.17139163613319397, -0.29838088154792786, -0.473464697599411, -0.057483598589897156, 0.3176402151584625, 0.33442649245262146, -0.7615469098091125, 0.15436270833015442, -0.26437267661094666, -0.5574951171875, 0.8143309354782104, 0.17315275967121124, 0.18856686353683472, -0.35272878408432007, -0.3663957118988037, -0.021742289885878563, -0.6098889708518982, -0.39384788274765015, 0.8568612337112427, 0.31923237442970276, 0.10475962609052658, 0.35099878907203674, 0.12544777989387512, 0.5785207748413086, -0.20079733431339264, -0.1378108561038971, 0.31171363592147827, -0.6965064406394958, -0.018387315794825554, -0.0836346447467804, 0.8152623176574707, 0.5777294635772705, 0.1532486230134964, -0.5144262313842773, -0.24368830025196075, 0.13831646740436554, 0.8288244009017944, -0.31453937292099, -0.1852179318666458, -0.04641443118453026, -0.46251899003982544, -0.7187232375144958, 0.08305515348911285, -0.9316868185997009, -0.7691060900688171, 0.31534045934677124, 0.2516389787197113, -0.15021303296089172, -0.2585342228412628, 0.05700231343507767, -0.02759752981364727, 0.3339138329029083, 0.035308681428432465, -0.6752888560295105, 0.3871033191680908, 0.5773647427558899, 0.5492845177650452, 0.03142108768224716, -0.17851483821868896, -0.44473516941070557, -0.2872980833053589, -0.15097647905349731, 0.733626663684845, -0.14489471912384033, -0.40227648615837097, 0.08831751346588135, -0.19472937285900116, 0.503862202167511, -0.5058232545852661, 1.372991681098938, -0.08539893478155136, 0.22470946609973907, -0.15584932267665863, -0.1684284657239914, 0.11472760885953903, 0.3422774374485016, -0.7617554664611816, 0.9002800583839417, 0.3350476622581482, -0.890158474445343, 0.37720486521720886, -0.7066746354103088, -0.4581352770328522, 0.14558623731136322, 0.2248634248971939, -0.6596760153770447, -0.028166387230157852, 0.2446487993001938, 0.041436567902565, -0.6286032795906067, 0.16369138658046722, -0.28388524055480957, -0.17795097827911377, 0.24600528180599213, -0.7231535911560059, 0.8908881545066833, 0.12420365959405899, -0.4179758131504059, 0.20484137535095215, -0.8527774214744568, 0.2138207107782364, 0.13386189937591553, -0.38894063234329224, -0.08986902981996536, 0.0631970465183258, 0.24705301225185394, 0.030546607449650764, 0.0331316739320755, -0.25455886125564575, 0.11563143134117126, -0.3503170311450958, 0.3329029381275177, 0.8681095838546753, 0.22049306333065033, 0.31217125058174133, -0.1912093162536621, 0.7802064418792725, -0.317192018032074, 0.5241597890853882, -0.1165042594075203, -0.5047944784164429, -0.47586390376091003, 0.48117291927337646, 0.4351789355278015, 0.599901020526886, -0.3297922909259796, 1.1503781080245972, -0.1137876883149147, -0.6232250332832336, -0.5431902408599854, 0.3140905797481537, 0.577210545539856, 0.7038300633430481, 0.2299259901046753, -0.5360265970230103, -0.8249369859695435, -0.8734503388404846, -0.42806878685951233, -0.549604594707489, -0.25839558243751526, 0.08014559745788574, 0.45413583517074585, -0.5753453373908997, 0.873757541179657, -0.29897958040237427, -0.39815691113471985, -0.2625645399093628, 0.23478350043296814, -0.16664466261863708, 0.39134371280670166, 0.4661765992641449, -0.5916482210159302, 0.2256193906068802, -0.4079398214817047, -0.7428678274154663, -0.34639328718185425, 0.09186746180057526, -0.19741910696029663, 0.10705574601888657, 0.15139730274677277, -0.027324413880705833, 0.5304834246635437, 0.5961294174194336, -0.427029550075531, 0.7292618751525879, -0.15989668667316437, -0.15640203654766083, -0.7224269509315491, 0.088275246322155, 0.2965352237224579, -0.30917224287986755, -0.46000635623931885, -0.09324795007705688, -0.061002217233181, -0.06711042672395706, -0.21951079368591309, 0.4073372185230255, -0.21025432646274567, 0.00047022770741023123, -0.08590379357337952, 0.26034045219421387, 0.13537941873073578, 0.021386945620179176, -0.5421083569526672, 0.39789116382598877, 0.33362433314323425, -0.3957095444202423, 0.454483300447464, 0.3084407150745392, -0.5041824579238892, 0.5897194147109985, -0.7382238507270813, 0.4612619876861572, 0.17807717621326447, 0.30840131640434265, -0.5067744851112366, -0.3429376482963562, 0.4660642445087433, -0.39361733198165894, 0.15568429231643677, -0.10581463575363159, -0.5030703544616699, -0.4198318421840668, -0.5650634765625, 0.06655029952526093, 0.42008277773857117, -0.032935433089733124, 0.07725837826728821, 0.7266786098480225, 0.06091020256280899, -0.6908999681472778, -0.6044058799743652, 0.4113523066043854, -0.3322906494140625, -0.8208628296852112, -0.09526482224464417, -0.047460366040468216, -0.29936856031417847, 0.0019092140719294548, -0.09010373055934906, -0.03887908533215523, 0.6799373626708984, 0.39233288168907166, 0.09785060584545135, -0.03897405043244362, 0.036335960030555725, -0.37310758233070374, -0.33186808228492737, 0.44815361499786377, -0.11521867662668228, 0.14724352955818176, -0.41566652059555054, -0.5062810182571411, -0.2206810563802719, 0.34419897198677063, 0.24627673625946045, -0.2769126296043396, 0.2462916523218155, 0.7582949995994568, -0.6382235288619995, 0.0657135620713234, -0.49080896377563477, -0.2261091023683548, -0.3492848575115204, 0.31971022486686707, 0.203981414437294, -0.6297923922538757, 0.4352964460849762, -0.02522270940244198, -0.03709917142987251, 0.6422049403190613, 0.2633168697357178, 0.040706366300582886, 0.9114938378334045, 1.0672963857650757, -0.00200881389901042, 0.13245166838169098, 0.0345974937081337, 0.09051229804754257, -0.8680709600448608, -0.15377333760261536, -0.7237836718559265, -0.1074112132191658, -0.6834548711776733, -0.24112941324710846, 0.48745760321617126, 0.3370615243911743, 0.2594899833202362, 0.241765558719635, -0.5188096165657043, 0.45931851863861084, 0.2219337821006775, 0.15980486571788788, 0.09370364993810654, -0.3392261266708374, -0.212126687169075, -0.20079118013381958, -0.4792949855327606, -0.988705039024353, 1.163432240486145, 0.6042958498001099, 0.8877769708633423, 0.1389855444431305, 0.7063421607017517, 0.7313961386680603, 0.36986681818962097, -0.5359910726547241, 0.395455002784729, 0.28100770711898804, -0.6491715908050537, -0.4532131552696228, -0.4637981951236725, -0.8970930576324463, -0.2775322496891022, -0.33336347341537476, -0.8316095471382141, 0.11421315371990204, 0.12118108570575714, -0.4367198050022125, 0.01012277603149414, -0.794501781463623, 0.9664158225059509, -0.37324878573417664, -0.24845916032791138, 0.13377389311790466, -0.9034576416015625, 0.44697073101997375, -0.148310586810112, 0.16175077855587006, -0.12146805226802826, 0.21273432672023773, 0.8311000466346741, -0.3099632263183594, 0.8018766045570374, -0.20594948530197144, -0.15605592727661133, 0.3486626446247101, -0.1302308440208435, 0.4699355959892273, 0.14842253923416138, -0.27856722474098206, 0.18868647515773773, -0.4110890030860901, -0.32488125562667847, -0.4592067301273346, 0.43615761399269104, -0.41848224401474, -0.3921734392642975, -0.5458187460899353, -0.04905543848872185, -0.3147839903831482, 0.15393204987049103, 0.2212456911802292, 0.2507304251194, -0.5197125673294067, 0.13249006867408752, 0.5461394786834717, -0.24858953058719635, 0.2416490912437439, 0.14053891599178314, -0.10845338553190231, -0.5306341052055359, 0.7775564789772034, -0.08518701791763306, 0.03743717446923256, -0.2151409089565277, 0.40881872177124023, -0.2595495879650116, -0.6111796498298645, -0.38119855523109436, -0.08056092262268066, -0.7730858325958252, -0.46661317348480225, -0.24125534296035767, -0.1774420291185379, -0.379379540681839, -0.030882060527801514, -0.1373811960220337, -0.12813986837863922, -0.08337607234716415, -0.28594863414764404, 0.33553922176361084, 0.7999539375305176, -0.09287513047456741, 0.021183684468269348, -0.9901934862136841, 0.1831330507993698, 0.33674538135528564, 0.48936718702316284, -0.2970813810825348, -0.3749490976333618, -0.2914985120296478, -0.07665405422449112, -0.5073080658912659, -1.0031803846359253, 0.20326945185661316, 0.15465103089809418, 0.6923327445983887, 0.42038387060165405, 0.16409572958946228, 0.33776775002479553, -0.35045531392097473, 0.7755705118179321, 0.09575772285461426, -0.8597802519798279, 0.7262332439422607, -0.291231632232666, 0.1796809732913971, 0.8618959188461304, 0.12718400359153748, -0.5522750020027161, -0.3743857741355896, -0.7395426034927368, -1.1027640104293823, 0.43750107288360596, 0.23328199982643127, 0.18537932634353638, -0.0870237648487091, 0.4141139090061188, 0.1915014535188675, 0.1502234935760498, -0.556536853313446, -0.11288189888000488, -0.04936462640762329, 0.139699324965477, 0.1672523021697998, -0.44356614351272583, -0.5578926205635071, 0.04797573760151863, 0.3834165930747986, -0.21681779623031616, 0.21285688877105713, 0.10430163145065308, -0.30214884877204895, -0.346426397562027, 0.5094395279884338, 0.6960445046424866, 1.100028157234192, -0.435073584318161, 0.11900220066308975, 0.1517266482114792, -0.6275537610054016, 0.04686196520924568, 0.10990192741155624, -0.13457120954990387, -0.11076454073190689, 0.6304953694343567, 0.6157269477844238, 0.4139755666255951, -0.6074060201644897, 0.7092707753181458, -0.4627993702888489, -0.13037672638893127, -0.5247933268547058, 0.07163766026496887, -0.20697642862796783, -0.02942342683672905, 0.47715914249420166, 0.2276260405778885, 0.14416515827178955, -0.42794451117515564, 0.4502303898334503, 0.2150866985321045, -0.5023206472396851, -0.36431533098220825, 0.6356425881385803, 0.48165929317474365, -0.5204116106033325, 0.5866463780403137, -0.3294749855995178, -0.42889145016670227, 0.41075989603996277, 0.39944273233413696, 1.2755669355392456, -0.16777625679969788, 0.20984485745429993, 0.24459244310855865, 0.829106330871582, -0.02886662259697914, 0.3251846432685852, 0.13565966486930847, -0.38604751229286194, -0.22409652173519135, -0.690101683139801, -0.46815910935401917, -0.01092222798615694, -0.8489323258399963, 0.4211369454860687, -0.4728436768054962, -0.2923869490623474, -0.01919221132993698, 0.020747041329741478, -0.5292796492576599, 0.06582365185022354, 0.3412890136241913, 0.8996477127075195, -0.9388514161109924, 0.4116716682910919, 0.5461645722389221, -0.3769606351852417, -0.4564768671989441, 0.2928604483604431, 0.0316334031522274, -0.4133875072002411, 0.19460637867450714, 0.1715998500585556, 0.020905639976263046, -0.3253045380115509, -0.519334614276886, -0.27400991320610046, 0.9963944554328918, 0.6240547895431519, -0.30478328466415405, -0.03517560660839081, 0.044898729771375656, 0.6424366235733032, -0.16315530240535736, 0.31026995182037354, 0.6460142731666565, 0.8575337529182434, -0.31059151887893677, -0.9925152063369751, 0.02517397701740265, -0.28203055262565613, -0.02043767273426056, 0.0970267653465271, -0.24929317831993103, 0.2217922806739807, -0.4820554256439209, -0.19188299775123596, -0.003959332127124071, 0.3026707172393799, 0.12868070602416992, 0.4200843572616577, 0.6444553732872009, 0.6138921976089478, 0.7949904799461365, -0.3566488027572632, 1.2737785577774048, 0.06585972011089325, 0.25052210688591003, 1.007427453994751, -0.19561506807804108, 0.7183842062950134, 0.13505804538726807, -0.2282397747039795, 0.48780566453933716, 0.4530413746833801, -0.058265529572963715, 0.24355065822601318, 0.39650288224220276, -0.25215402245521545, -0.1000017523765564, -0.16126547753810883, -0.2824382185935974, 0.6428021788597107, 0.1625058650970459, -0.47059735655784607, -0.3750159740447998, -0.08315645903348923, 0.14128203690052032, 0.13140830397605896, -0.06703312695026398, 0.8376117944717407, -0.08656462281942368, -0.4204571545124054, 0.36792173981666565, 0.1866321861743927, 0.45071566104888916, -0.7287583947181702, -0.2303415685892105, 0.007837425917387009, -0.042061563581228256, -0.43292078375816345, -0.8054842948913574, 0.39647695422172546, 0.3524653911590576, -0.06930889934301376, -0.22089196741580963, 0.9713064432144165, 0.029839159920811653, -0.49453917145729065, 0.13705594837665558, 0.2662237584590912, 0.017766881734132767, -0.0624338760972023, -0.6694828867912292, 0.024297768250107765, -0.22546401619911194, -0.22137272357940674, 0.33992382884025574, 0.3952238857746124, -0.2384154200553894, 0.5696514248847961, 0.6534640789031982, -0.002264957409352064, 0.1337505429983139, 0.14903007447719574, 0.8152192234992981, -0.7041475772857666, -0.12447722256183624, -0.8932397365570068, 0.715241014957428, -0.17948460578918457, -0.49828100204467773, 0.7471463680267334, 0.31299111247062683, 0.5803812146186829, 0.24213381111621857, 0.8359004855155945, -0.04499804601073265, 0.1682092696428299, -0.3190864622592926, 0.8286239504814148, -0.0448899045586586, 0.40187156200408936, -0.4419579803943634, -0.7941055297851562, -0.6335794925689697, 0.6171377301216125, -0.03032396174967289, 0.11558100581169128, 0.5407986640930176, 0.5940924882888794, 0.39542528986930847, -0.15507502853870392, 0.17794358730316162, -0.1396416276693344, 0.47295114398002625, 0.2532758414745331, 0.7492160201072693, -0.5975309014320374, 0.7682446837425232, -0.2996671795845032, -0.24336037039756775, -0.4375426173210144, -1.3351331949234009, -0.39324426651000977, -0.3757131099700928, -0.3112266957759857, -0.5829600095748901, 0.14246611297130585, 0.7162283062934875, 0.5439544320106506, -0.49736151099205017, -0.05105550214648247, -0.1644860804080963, 0.33946847915649414, -0.23064492642879486, -0.27840402722358704, 0.1660643368959427, -0.02159876562654972, -0.11978412419557571, 0.2931217551231384, 0.4081723690032959, -0.21620307862758636, -0.8093879818916321, -0.21809783577919006, -0.011765475384891033, -0.2060679793357849, 0.26841819286346436, 0.45305949449539185, -0.6349795460700989, -0.6086039543151855, -0.09848962724208832, -0.23188449442386627, -0.14413832128047943, 0.7478616833686829, -0.6567785143852234, 0.7253965735435486, 0.3004676103591919, 0.6600968837738037, -0.18442712724208832, -0.18036651611328125, 0.568225622177124, -0.9713361859321594, -0.03403965011239052, 0.6580477952957153, 0.2422136813402176, 0.5315466523170471, -0.35803449153900146, 0.7662985324859619, 0.007605529855936766, -0.7553870677947998, -1.1510708332061768, 0.2160530686378479, -0.9813650846481323, 0.435599148273468, 1.1519731283187866, -0.3029441237449646, -0.3016270399093628, -0.23927180469036102, -0.17604973912239075, 0.13082093000411987, -0.14793458580970764, 0.9839264154434204, 0.6977431178092957, -0.058324869722127914, 0.003486247966066003, -0.6307802796363831, 0.4959646463394165, 0.010333659127354622, -1.0710610151290894, 0.31165656447410583, 0.3736537992954254, 0.05299067869782448, 0.4494152367115021, 0.44955432415008545, -0.32732146978378296, 0.6318353414535522, 0.004609391093254089, 0.162676140666008, 0.07156112790107727, -0.11701268702745438, -0.6452077031135559, 0.08635605126619339, 0.5472971796989441, 0.07278670370578766 ]
http://arxiv.org/abs/2406.07933v1
http://arxiv.org/pdf/2406.07933v1
Large Language Model Unlearning via Embedding-Corrupted Prompts
2024-06-12T06:56:20
2024-06-12T06:56:20
Chris Yuhao Liu, Yaxuan Wang, Jeffrey Flanigan, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have advanced to encompass extensive knowledge across diverse domains. Yet controlling what a large language model should not know is important for ensuring alignment and thus safe use. However, accurately and efficiently unlearning knowledge from an LLM remains challenging due to the potential collateral damage caused by the fuzzy boundary between retention and forgetting, and the large computational requirements for optimization across state-of-the-art models with hundreds of billions of parameters. In this work, we present Embedding-COrrupted (ECO) Prompts, a lightweight unlearning framework for large language models to address both the challenges of knowledge entanglement and unlearning efficiency. Instead of relying on the LLM itself to unlearn, we enforce an unlearned state during inference by employing a prompt classifier to identify and safeguard prompts to forget. We learn corruptions added to prompt embeddings via zeroth order optimization toward the unlearning objective offline and corrupt prompts flagged by the classifier during inference. We find that these embedding-corrupted prompts not only lead to desirable outputs that satisfy the unlearning objective but also closely approximate the output from a model that has never been trained on the data intended for forgetting. Through extensive experiments on unlearning, we demonstrate the superiority of our method in achieving promising unlearning at nearly zero side effects in general domains and domains closely related to the unlearned ones. Additionally, we highlight the scalability of our method to 100 LLMs, ranging from 0.5B to 236B parameters, incurring no additional cost as the number of parameters increases.
[ -0.0713062584400177, -0.9976186156272888, 0.7831754088401794, -0.017317574471235275, -0.27281615138053894, 0.0755721852183342, -0.42080995440483093, 0.1283407062292099, -0.14897316694259644, 0.47838225960731506, -0.6427057385444641, -0.30336999893188477, -0.45381537079811096, -0.107699453830719, -0.09969979524612427, 0.845675528049469, 0.14785519242286682, 0.17602747678756714, -0.572211742401123, 0.10614807903766632, -0.6105552315711975, -0.11707151681184769, -0.6889920830726624, -0.3131185472011566, 0.34152308106422424, 0.5960959196090698, 0.34817439317703247, 0.4436742961406708, -0.3453253507614136, 0.3159070312976837, -0.17218729853630066, 0.37614205479621887, -0.8528769016265869, 0.31773820519447327, -0.26404258608818054, -0.3732829689979553, 0.015834098681807518, -0.2467377781867981, 0.4712737202644348, 0.7642720341682434, -0.5248048901557922, 0.0188461747020483, 0.47995978593826294, 0.4591694474220276, -0.8658390641212463, 0.40622004866600037, -0.8172286152839661, 0.019419804215431213, -0.05967533960938454, -0.2779671847820282, -0.8368937969207764, -0.15034382045269012, -0.04154399409890175, -0.705262303352356, -0.034201957285404205, 0.2564208209514618, 0.6003055572509766, 0.5256280303001404, -0.21678024530410767, -0.25344496965408325, -0.4821074306964874, 1.0298587083816528, -0.5263598561286926, 0.4804832339286804, 0.5366019606590271, 0.058711227029561996, -0.4147800803184509, -0.3682544231414795, -0.28181442618370056, 0.19007588922977448, 0.1547415554523468, 0.20999598503112793, -0.46645477414131165, 0.03777968883514404, 0.2786068022251129, -0.10842984914779663, -0.3242035210132599, 0.5328046679496765, -0.13702982664108276, -0.44679635763168335, 0.19477637112140656, 0.17784981429576874, 0.28471702337265015, -0.00424959696829319, -0.25063613057136536, -0.12218007445335388, -1.1306649446487427, -0.05590282753109932, 0.47735312581062317, 0.42091408371925354, 0.12432179600000381, 0.384363055229187, 0.0844401866197586, 0.5358297824859619, 0.18216903507709503, -0.13964401185512543, 0.22314006090164185, 0.3152296841144562, -0.014114806428551674, 0.17588402330875397, 0.6721894145011902, 0.16769132018089294, 0.2412901371717453, -0.26707279682159424, -0.5148537755012512, -0.3585631251335144, 0.05701166391372681, -0.6639851927757263, -0.01789083145558834, 0.32933491468429565, -0.17012926936149597, -0.04293832182884216, -0.19786131381988525, -0.9589954018592834, -0.7065431475639343, -0.18468178808689117, 0.7472186088562012, -0.5909819602966309, 0.03423728793859482, 0.09007778018712997, -0.07064827531576157, -0.0004339331644587219, 0.5608218908309937, -0.8565340638160706, -0.19056858122348785, 0.5571814179420471, 0.6271565556526184, 0.3741845190525055, -0.24562664330005646, -0.8473821878433228, -0.018298713490366936, -0.21820245683193207, 0.5329727530479431, -0.6848136186599731, -0.30288469791412354, 0.2774100601673126, 0.03709501773118973, -0.03625164180994034, -0.5403159260749817, 0.5072157382965088, -0.6466202735900879, 0.10745147615671158, -0.3367249071598053, -0.9027349352836609, -0.3141406178474426, 0.07556063681840897, -0.5250915884971619, 0.664128303527832, -0.06895942240953445, -0.5673691630363464, 0.2809670567512512, -0.056734684854745865, -0.07543741166591644, 0.06297589093446732, 0.02265780046582222, -0.5859892964363098, 0.13672949373722076, 0.21331605315208435, 0.6340029239654541, -0.3398919999599457, 0.6218950152397156, -0.6005973219871521, -0.41328707337379456, 0.038598719984292984, -0.7368432283401489, 0.8937819004058838, 0.11272110790014267, -0.1859607696533203, -0.10542549192905426, -0.5641983151435852, -0.10665076971054077, 0.2092164158821106, -0.2269691377878189, -0.5199286341667175, 0.04485909640789032, -0.3365282416343689, 0.050546687096357346, 0.2818945050239563, -0.7545626163482666, 0.11519334465265274, -0.1607348620891571, 0.5943892002105713, 1.0147150754928589, 0.15159809589385986, 0.40646636486053467, -0.28141817450523376, 0.2711036503314972, 0.30897057056427, -0.10233756899833679, -0.5996358394622803, -0.38048428297042847, -0.7245363593101501, -0.27985286712646484, 0.18565411865711212, 0.5388646721839905, -0.7852361798286438, 0.6036133170127869, -0.02231881394982338, -0.4747310280799866, -0.6985487341880798, 0.3228035271167755, 0.4854111969470978, 0.5936394929885864, 0.4466976821422577, 0.27698081731796265, -0.3209596872329712, -0.47336816787719727, -0.3584703803062439, 0.06262007355690002, 0.001399713451974094, 0.282355934381485, 0.5665848255157471, -0.325100302696228, 0.6780257225036621, -0.40089449286460876, -0.312345415353775, -0.0999172031879425, 0.038334812968969345, 0.07767383754253387, 0.4767448306083679, 0.09430239349603653, -0.2765600383281708, -0.1993211954832077, -0.2600318193435669, -0.665479302406311, -0.10946118831634521, -0.3848794996738434, 0.1016518846154213, 0.31210291385650635, 0.6920042634010315, -0.5585775375366211, 0.12785375118255615, 0.3359268009662628, -0.4543573260307312, 0.5670765042304993, -0.49550774693489075, -0.2693065106868744, -0.8611695766448975, -0.17127543687820435, -0.2986038625240326, -0.194749116897583, -0.3656483590602875, -0.25785157084465027, 0.25312480330467224, -0.2119542807340622, -0.3697010576725006, 0.5962635278701782, -0.7234238982200623, 0.30232205986976624, 0.02637023851275444, 0.3437671959400177, 0.08560570329427719, 0.7036203742027283, -0.1001446321606636, 0.5397589206695557, 0.7539865970611572, -0.5382832288742065, 0.13427472114562988, 0.3659523129463196, -0.3033817708492279, 0.34703144431114197, -0.5411790609359741, 0.185422882437706, -0.4562387466430664, 0.08330398797988892, -0.703732967376709, -0.050472334027290344, -0.0012005985481664538, -0.2731841802597046, 0.697813868522644, -0.2848591208457947, -0.5779305696487427, 0.008034233003854752, -0.3495143949985504, 0.3319333791732788, 0.8399237394332886, -0.9780168533325195, 0.5791625380516052, 0.24576392769813538, -0.0730057805776596, -0.7451378107070923, -0.47924843430519104, -0.15403570234775543, -0.3166063129901886, -0.3477107584476471, 0.00475347600877285, 0.05044209584593773, 0.0028539279010146856, 0.17480547726154327, 0.04600334167480469, 0.22815513610839844, 0.07892076671123505, 0.3680708110332489, 0.0689188614487648, -0.11215522140264511, 0.3676648437976837, 0.34986984729766846, -0.1928727626800537, 0.2676921486854553, -0.5529289841651917, 0.5571458339691162, 0.011699569411575794, -0.620427668094635, -0.19495521485805511, 0.27235421538352966, 0.6142740249633789, -0.2682610750198364, 1.0343589782714844, 0.29680660367012024, -0.5496857166290283, -0.7467288970947266, -0.5335472822189331, -0.1303904503583908, -0.5213099718093872, 0.38399943709373474, 0.0030512181110680103, -1.054668664932251, 0.6677781939506531, -0.34241384267807007, 0.10079897195100784, 0.17831707000732422, 0.3247703015804291, -0.0023806942626833916, 1.022560477256775, 0.5784898996353149, -0.0077111972495913506, 0.338897705078125, -0.15054766833782196, 0.25440946221351624, -0.7790881395339966, -0.5080417990684509, -0.36089831590652466, -0.0241901446133852, -0.36864781379699707, -0.47149011492729187, 0.3191881477832794, 0.536254346370697, -0.7828445434570312, -0.15437325835227966, -0.03670592978596687, 0.6377238631248474, 0.525452196598053, 0.327869713306427, 0.18991884589195251, 0.0012253833701834083, -0.43751317262649536, -0.04635807126760483, -0.7756341695785522, -0.42042914032936096, 0.9174689054489136, 0.2997385859489441, 1.0001457929611206, 0.02262098342180252, 0.8744754791259766, 0.06473060697317123, 0.05215412378311157, -0.7981898188591003, 0.28471139073371887, -0.03603864088654518, -0.1467602252960205, -0.3885791301727295, -0.5377358198165894, -0.9311124086380005, 0.15022091567516327, -0.25405359268188477, -0.97855544090271, 0.3073400557041168, 0.4375346302986145, -0.5325547456741333, 0.7876763939857483, -0.648551881313324, 0.9160553812980652, -0.1240481436252594, -0.409612238407135, -0.08774557709693909, -0.32183197140693665, 0.2517186403274536, -0.44603484869003296, 0.1615534871816635, 0.03568177670240402, -0.09462396800518036, 0.6241787672042847, -0.5859723687171936, 1.2187055349349976, -0.3489604592323303, -0.21045762300491333, 0.3712354004383087, 0.23962539434432983, 0.8558719158172607, 0.13414409756660461, -0.04439869895577431, 0.11128371953964233, -0.38558968901634216, -0.38208872079849243, -0.6998634934425354, 0.5728736519813538, -0.7584864497184753, -0.6570191979408264, -0.2147291600704193, -0.4189949035644531, -0.39557892084121704, 0.3101644814014435, 0.42752301692962646, 0.6811917424201965, -0.1460132896900177, 0.012681429274380207, 1.087735891342163, -0.7313517332077026, 0.5070788860321045, 0.5979143977165222, -0.06013673543930054, -0.2868477404117584, 1.275227665901184, 0.035702306777238846, 0.3661506175994873, 0.39679646492004395, 0.2403765171766281, -0.37595686316490173, -0.45923852920532227, -0.5600417852401733, 0.35593414306640625, -0.8500762581825256, -0.6457428932189941, -0.613595724105835, 0.04530862346291542, -0.21062174439430237, -0.3255769908428192, -0.4086534380912781, -0.032504163682460785, -0.5541631579399109, -0.1188872754573822, 0.40028753876686096, 0.823199450969696, -0.2046976536512375, 0.09160047769546509, -1.067884922027588, -0.2846866548061371, 0.0684065967798233, 0.3523869812488556, 0.4913189113140106, -0.7101198434829712, -0.09599056094884872, 0.26936057209968567, -0.28705254197120667, -0.8082730770111084, 0.4973164498806, 0.27050626277923584, 0.5948789119720459, 1.0411853790283203, 0.35623979568481445, 0.7197554707527161, -0.6758566498756409, 0.571156919002533, 0.20498470962047577, -1.1048442125320435, 0.375486820936203, -0.45176461338996887, 0.11967248469591141, 0.39685916900634766, 0.40061843395233154, -0.6104937791824341, -0.46219033002853394, -0.6470931172370911, -0.975716233253479, 0.675537645816803, -0.4992505609989166, 0.11204740405082703, -0.19060049951076508, 0.26650458574295044, 0.25034788250923157, 0.24184541404247284, -0.33624356985092163, -0.29350948333740234, -0.04911695048213005, -0.2338883876800537, -0.21099065244197845, -0.4786621332168579, 0.09057886153459549, -0.08923795819282532, 0.8597400188446045, -0.10164804756641388, 0.20426025986671448, -0.05303885042667389, -0.5112473368644714, -0.2851186692714691, 0.40935787558555603, 0.21705469489097595, 0.314729243516922, 0.1067345142364502, 0.18507906794548035, 0.4158388376235962, -0.2300044745206833, 0.1734440177679062, -0.15763546526432037, -0.3926854431629181, -0.3721192479133606, 0.47722187638282776, 0.7607895731925964, 0.55262690782547, -0.975123405456543, 0.6028154492378235, 0.18900831043720245, 0.12478489428758621, -0.3519202768802643, -0.04229496419429779, 0.16497160494327545, 0.0720188319683075, 0.15472368896007538, 0.07341020554304123, -0.14142245054244995, -0.52951580286026, 0.30116763710975647, 0.46954864263534546, -0.5011127591133118, -0.28937384486198425, 0.5530310273170471, 0.20421960949897766, -0.020952455699443817, 1.106581687927246, -0.619945764541626, -0.7497148513793945, 0.3392219543457031, 0.9173332452774048, 0.7106159925460815, -0.2252424657344818, 0.3059704303741455, 0.39066100120544434, 0.2716600298881531, -0.2880213260650635, 0.1816592812538147, 0.06671606004238129, -0.8674574494361877, -0.35687652230262756, -0.6285442113876343, -0.22738824784755707, 0.2009020894765854, -0.7176748514175415, 0.0749707818031311, -0.43407031893730164, 0.3021050989627838, -0.4704052209854126, -0.06429746001958847, -0.56584233045578, -0.23099364340305328, -0.006007193122059107, 0.7767735719680786, -0.9576901793479919, 0.3873457610607147, 0.5508836507797241, -0.3224208950996399, -0.8249346017837524, -0.25816425681114197, 0.4295419156551361, -1.0122088193893433, 0.29127541184425354, 0.2875714600086212, 0.028225697576999664, 0.14427916705608368, -0.5990695953369141, -0.8453359007835388, 0.9932049512863159, 0.6053860187530518, -0.8253815174102783, 0.27574077248573303, -0.06067147105932236, 0.1642933487892151, -0.14062602818012238, 0.28947940468788147, 0.4404534101486206, 0.38025110960006714, -0.10468029230833054, -0.4509442448616028, 0.40943703055381775, 0.00966548640280962, -0.47040510177612305, 0.5612594485282898, -0.6399118304252625, 0.9319654703140259, -0.8082354068756104, -0.44187021255493164, 0.03982754796743393, 0.4475336968898773, 0.22065792977809906, 0.16488057374954224, 0.5852544903755188, 0.8608458042144775, 1.2953304052352905, -0.18246681988239288, 0.6346685886383057, -0.00521980132907629, 0.4104004204273224, 0.9543969035148621, -0.1252681165933609, 0.7132424116134644, 0.35777747631073, 0.1964404284954071, 0.3102550208568573, 0.5823040008544922, -0.11502761393785477, 0.4717329740524292, 0.17378082871437073, -0.22843874990940094, -0.6586689352989197, -0.17958354949951172, 0.0862678736448288, 0.28691384196281433, 0.5564799308776855, -0.02909725531935692, -0.5213441848754883, 0.24213863909244537, 0.30365434288978577, 0.06374482810497284, -0.41992050409317017, 0.7395275235176086, 0.26350951194763184, -0.5169414281845093, 0.5156482458114624, -0.18476291000843048, 0.6853843331336975, -0.4564136266708374, -0.2361472249031067, -0.0785340666770935, 0.4157355725765228, -0.12340150028467178, -0.5261910557746887, -0.1278223693370819, -0.01571980118751526, -0.07152851670980453, -0.3723286986351013, 0.5082371830940247, -0.9035796523094177, -0.18855591118335724, 0.43982309103012085, 0.6315649747848511, 0.1379762589931488, -0.12229922413825989, -0.5900203585624695, -0.1256045550107956, 0.07834593206644058, -0.26831281185150146, 0.45536449551582336, 0.7523508667945862, -0.054539501667022705, 0.9552991986274719, 0.5616679787635803, 0.006697905249893665, -0.11295247077941895, 0.09345230460166931, 0.7800546288490295, -0.6153851747512817, -0.4493735730648041, -0.8243695497512817, 0.49409419298171997, 0.1641494631767273, -0.28838834166526794, 0.7942388653755188, 0.38621336221694946, 0.8156755566596985, 0.04786950722336769, 0.6327477693557739, 0.25544917583465576, 0.1936044991016388, -0.7990490198135376, 0.9176633358001709, -0.668793261051178, 0.46447721123695374, -0.07882821559906006, -0.6952196359634399, -0.0699765607714653, 0.3757000267505646, -0.05532025918364525, 0.2447706162929535, 0.592998206615448, 0.784835159778595, 0.10547345131635666, 0.11420696973800659, 0.5198814868927002, 0.38312503695487976, 0.15996578335762024, 0.7057204246520996, 0.998232901096344, 0.026981428265571594, 0.33174872398376465, -0.22482819855213165, -0.20041458308696747, -0.08520384132862091, -0.9070708155632019, -0.9572667479515076, -0.599385142326355, -0.18856096267700195, -0.35262951254844666, 0.1846773326396942, 1.0595420598983765, 0.14699162542819977, -0.796392023563385, 0.25192975997924805, 0.03904528543353081, 0.36134976148605347, -0.1270645558834076, -0.17714232206344604, 0.49569594860076904, -0.7273925542831421, -0.6491044163703918, 0.46519482135772705, 0.13026082515716553, 0.09604828804731369, -0.32091569900512695, -0.10877449065446854, 0.1447116583585739, 0.02765556424856186, 0.4302135109901428, 0.3206002116203308, -0.5102167129516602, -0.36527019739151, -0.03845791146159172, 0.3207634687423706, -0.3802465498447418, 0.7987703084945679, -0.763310432434082, 0.3726615905761719, 0.3439449369907379, 0.8572784066200256, -0.06344830244779587, -0.08803044259548187, 0.5999858379364014, -0.9465893507003784, -0.08885768055915833, 0.2576853930950165, 0.9154130816459656, 0.41574952006340027, -0.5399672389030457, -0.0998087003827095, 0.09632986783981323, -0.621178925037384, -1.0439562797546387, 0.05683709681034088, -0.5419723391532898, -0.45916444063186646, 1.1324660778045654, -0.40482908487319946, -0.37395837903022766, -0.26745811104774475, 0.13786323368549347, 0.2505110502243042, -0.7298948168754578, 0.533151388168335, 0.5098043084144592, 0.2060384303331375, 0.02581428550183773, -0.25628888607025146, 0.4466550052165985, 0.4248769283294678, -0.4625658392906189, 0.5915237069129944, 0.6768735647201538, 0.35097166895866394, 0.10300099104642868, 0.14297521114349365, -0.11205405741930008, 0.14085650444030762, 0.19774670898914337, 0.02773878537118435, -0.4537941515445709, -0.5411891341209412, -0.7750266194343567, -0.08781217038631439, -0.07537304610013962, 0.17760062217712402 ]
http://arxiv.org/abs/2406.07922v1
http://arxiv.org/pdf/2406.07922v1
Automated Information Extraction from Thyroid Operation Narrative: A Comparative Study of GPT-4 and Fine-tuned KoELECTRA
2024-06-12T06:44:05
2024-06-12T06:44:05
Dongsuk Jang, Hyeryun Park, Jiye Son, Hyeonuk Hwang, Sujin Kim, Jinwook Choi
cs.CL
cs.CL
In the rapidly evolving field of healthcare, the integration of artificial intelligence (AI) has become a pivotal component in the automation of clinical workflows, ushering in a new era of efficiency and accuracy. This study focuses on the transformative capabilities of the fine-tuned KoELECTRA model in comparison to the GPT-4 model, aiming to facilitate automated information extraction from thyroid operation narratives. The current research landscape is dominated by traditional methods heavily reliant on regular expressions, which often face challenges in processing free-style text formats containing critical details of operation records, including frozen biopsy reports. Addressing this, the study leverages advanced natural language processing (NLP) techniques to foster a paradigm shift towards more sophisticated data processing systems. Through this comparative study, we aspire to unveil a more streamlined, precise, and efficient approach to document processing in the healthcare domain, potentially revolutionizing the way medical data is handled and analyzed.
[ -0.1131933331489563, -0.8370805978775024, 1.032787799835205, -0.3422256410121918, -0.4589311480522156, 0.3637707829475403, -0.1319270133972168, -0.9380630254745483, 0.0853724256157875, 0.47603902220726013, -0.6356940865516663, -0.429226815700531, -0.6717106699943542, 0.45463085174560547, -0.352993905544281, 0.9105717539787292, -0.13120019435882568, 0.2607479989528656, 0.016388876363635063, 0.1062670648097992, -0.35076168179512024, -0.3636821210384369, -0.5795881152153015, -0.5713919401168823, 0.4665814936161041, 0.2851272225379944, 0.9456972479820251, 1.0192539691925049, 0.749250590801239, 0.37889114022254944, 0.4252485930919647, 0.02443898841738701, -0.0055721234530210495, 0.09124927967786789, -0.1663568913936615, -0.2380899339914322, -0.3686404228210449, 0.05854561924934387, 0.5206664204597473, 0.5151665806770325, -0.08118101954460144, 0.15715761482715607, -0.16567087173461914, 0.6755600571632385, -0.06853923201560974, 0.33202144503593445, -0.524768590927124, 0.09695947170257568, -0.09220832586288452, -0.36434733867645264, -0.09809757024049759, -0.7962673902511597, 0.3376707136631012, -0.8109216690063477, 0.29353609681129456, -0.1580817699432373, 0.96817946434021, 0.27389082312583923, -0.23235826194286346, -0.41229018568992615, -0.8272364735603333, 0.6012660264968872, -0.7234006524085999, 0.5916250944137573, 0.299291729927063, 0.25725018978118896, 0.0587390698492527, -1.2574598789215088, -0.42135146260261536, 0.17986398935317993, -0.03780417889356613, 0.24837061762809753, -0.46822959184646606, 0.09228375554084778, 0.09426537156105042, 0.4794328510761261, -0.5247846245765686, 0.2462473213672638, -0.5806527733802795, -0.26125118136405945, 0.5399053692817688, 0.18241658806800842, 0.4709952175617218, -0.24064409732818604, -0.010633389465510845, -0.13800981640815735, -0.17163272202014923, -0.2705203592777252, 0.12017273157835007, 0.14560666680335999, 0.016741907224059105, 0.4499170780181885, -0.6667363047599792, 0.4265478253364563, 0.23921585083007812, -0.23935511708259583, 0.43370527029037476, -0.24717308580875397, -0.546302318572998, 0.18605969846248627, 0.8966013789176941, 0.4008219838142395, 0.04775337502360344, -0.5925545692443848, 0.230002298951149, 0.30794620513916016, 0.5502705574035645, -0.7091436982154846, -0.3462749123573303, 0.3837423026561737, -0.6221733093261719, -0.4053027033805847, -0.08522038906812668, -1.0985435247421265, -0.1770171821117401, -0.4676673710346222, 0.2653675079345703, -0.6643528342247009, -0.09738126397132874, 0.16114255785942078, -0.12857073545455933, 0.1893949657678604, 0.549091637134552, -0.8603641986846924, 0.5204373002052307, 0.7178454399108887, 0.8894743323326111, -0.4174221158027649, 0.18649761378765106, -0.39549168944358826, 0.09413350373506546, -0.2245519757270813, 0.8387428522109985, -0.536570131778717, -0.2559899389743805, -0.19692498445510864, 0.1806117594242096, -0.441763699054718, -0.637380063533783, 0.7763202786445618, -0.5070043206214905, 0.23916813731193542, -0.07191482931375504, -0.5540218949317932, -0.413237601518631, 0.1048726812005043, -0.8505285382270813, 0.5919834971427917, 0.611614465713501, -0.37166255712509155, 0.3240610361099243, -0.7341086864471436, -0.5310399532318115, 0.36786529421806335, -0.37513354420661926, -0.5521859526634216, 0.1406610906124115, 0.18802577257156372, 0.30165085196495056, -0.5761420726776123, 0.23757727444171906, -0.026773033663630486, 0.20122361183166504, 0.05114942044019699, -0.16826573014259338, 0.5469065308570862, 0.3766074478626251, -0.3702440857887268, 0.16340488195419312, -0.74530029296875, 0.46508732438087463, 0.09728840738534927, -0.2702665627002716, -0.11725153774023056, -0.31907814741134644, -0.08481310307979584, 0.28334131836891174, 0.25717687606811523, -0.600879430770874, 0.3124215006828308, -0.530958890914917, 0.6577550172805786, 0.3479715883731842, 0.14226876199245453, 0.4125809669494629, -0.4057976007461548, 0.5422397255897522, -0.4425891637802124, 0.3696039915084839, 0.1581348329782486, -0.6735988855361938, 0.020428815856575966, -0.27619361877441406, 0.5724588632583618, 0.7624238729476929, -0.6356721520423889, 0.13431090116500854, -0.11655250191688538, -0.5599047541618347, -0.8129801154136658, 0.11301065981388092, 0.30408260226249695, 1.1517503261566162, 0.45237186551094055, -0.3231273293495178, -0.5770494937896729, -1.0735636949539185, -0.26843151450157166, 0.00855821743607521, -0.1692126989364624, 0.12799124419689178, 0.12931670248508453, -0.3465411961078644, 0.7719584703445435, -0.5497741103172302, -0.11238270252943039, -0.5026820302009583, 0.35912641882896423, 0.3199375569820404, 0.7105463743209839, 0.2738761305809021, -0.8827316164970398, -0.5510541200637817, 0.5128932595252991, -1.079885482788086, -0.16829104721546173, 0.007162813562899828, -0.026790816336870193, 0.259210467338562, 0.29301077127456665, -0.988707423210144, 0.6049784421920776, 0.28753575682640076, -0.1484111249446869, 0.5904419422149658, -0.20548123121261597, 0.6013433933258057, -0.8727527856826782, 0.24553422629833221, -0.187862366437912, -0.4377609193325043, -0.8351756930351257, 0.09028216451406479, 0.38453540205955505, 0.12442265450954437, -0.14341875910758972, 0.10531444102525711, -0.3277386426925659, -0.08033578097820282, 0.00184116221498698, -0.40408462285995483, 0.10880229622125626, 0.26117444038391113, 0.1787109225988388, 0.5163205862045288, 0.13022272288799286, -0.390641987323761, 0.2684427797794342, 0.36207351088523865, -0.10010155290365219, 0.568534255027771, -0.5490091443061829, 0.23746369779109955, 0.3701494038105011, -0.06689804047346115, -0.5177136063575745, -0.7970849871635437, 0.2683441638946533, -0.5648197531700134, 0.45636415481567383, -0.09326822310686111, -0.9047250151634216, -0.3262239098548889, -0.22481761872768402, 0.08346705883741379, 0.8761159181594849, -0.018268980085849762, 0.7091585397720337, 0.32544800639152527, -0.7869314551353455, 0.172279492020607, -0.35217228531837463, 0.16303573548793793, -0.3870355188846588, -0.4337993860244751, 0.4905434548854828, -0.022899052128195763, -0.24851460754871368, -0.11202459782361984, -0.3432863652706146, -0.43433985114097595, 0.1441844403743744, -0.07540950179100037, 0.4281495213508606, -0.29425328969955444, -0.04830263555049896, 0.38103753328323364, -0.170032799243927, 0.08580045402050018, -0.1575312614440918, 0.5931669473648071, -0.0005400829249992967, -0.058723174035549164, -1.166115641593933, 0.4964354336261749, 0.7232493162155151, 0.11369980871677399, 0.40588417649269104, 0.5889299511909485, -0.6139998435974121, 0.710943877696991, -0.6830893158912659, -0.24477531015872955, -0.3884483277797699, 0.07986579090356827, 0.05214297026395798, -0.5677666068077087, 0.549186646938324, -0.4001079797744751, 0.026491498574614525, 1.1226966381072998, 0.41833555698394775, -0.2978930175304413, 1.3912073373794556, 0.5142703056335449, 0.18635033071041107, 0.21506184339523315, 0.012710059061646461, 0.004857917316257954, -0.7770658731460571, -0.21169503033161163, -0.690168023109436, -0.10396254062652588, -0.5265801548957825, 0.0532325841486454, 0.6026469469070435, -0.017977075651288033, -0.00493374839425087, 0.05785368010401726, -0.7162531018257141, 0.13907410204410553, 0.429795503616333, 0.2609698474407196, 0.5275130271911621, -0.037683308124542236, -0.08903463184833527, -0.07278740406036377, -0.666020393371582, -0.5662011504173279, 1.1869895458221436, 0.28388547897338867, 0.36575186252593994, -0.06158565357327461, 0.6936922073364258, 0.2579638957977295, 0.15500354766845703, -0.5061537027359009, 0.07054255157709122, -0.1584584265947342, -0.3257124125957489, -0.3201042115688324, -0.31573253870010376, -1.1224565505981445, -0.0665045902132988, -0.18063420057296753, -1.0610891580581665, 0.040860697627067566, -0.0815654993057251, -0.8192332983016968, 0.29858988523483276, -1.102028727531433, 0.7193728089332581, -0.14167891442775726, -0.24928316473960876, 0.04921616613864899, -0.9384044408798218, 0.02766706980764866, -0.48337939381599426, 0.2305157631635666, 0.17746034264564514, 0.031877122819423676, 0.6708014607429504, -0.5987406969070435, 0.6372925639152527, 0.11840525269508362, 0.09770979732275009, -0.1512487381696701, -0.017324548214673996, 0.4161801338195801, 0.14032186567783356, -0.1295815408229828, 0.30426478385925293, 0.3405073285102844, -0.005939655937254429, -0.5104113221168518, 0.5415723323822021, -0.6765578389167786, -0.1372583508491516, -0.48542332649230957, -0.6613847017288208, -0.29670479893684387, 0.5988625288009644, 0.418037086725235, 0.4840814173221588, -0.01339627057313919, -0.053679127246141434, 0.6406030058860779, -0.03496759012341499, 0.4045344889163971, 0.3849491775035858, 0.2385556548833847, -0.5571008920669556, 0.5473074913024902, 0.18092189729213715, 0.17150186002254486, 0.317901611328125, 0.3463871479034424, -0.3503981828689575, -0.7474366426467896, -0.6399685144424438, 0.14908331632614136, -0.4405481219291687, -0.41643577814102173, -0.9110572934150696, -0.25770503282546997, -0.6254680752754211, -0.322360098361969, -0.40898874402046204, -0.4606260061264038, -0.5148465037345886, -0.028534507378935814, 0.39196255803108215, 0.7773354649543762, -0.057704322040081024, 0.4076359272003174, -1.0675965547561646, 0.6487461924552917, 0.09698501974344254, 0.41773346066474915, -0.33287400007247925, 0.06562118232250214, -0.14748838543891907, -0.2485673576593399, -0.3616687059402466, -1.1257010698318481, 0.6942087411880493, 0.1012175977230072, 0.5254109501838684, 0.24579599499702454, -0.07537194341421127, 0.7742502093315125, -0.5468376874923706, 0.6300860047340393, 0.3104957640171051, -0.6519913077354431, 0.5493700504302979, -0.45097336173057556, 0.6933550834655762, 0.803207278251648, 0.2796497344970703, -0.21018457412719727, -0.4144829511642456, -1.1885290145874023, -0.7959827184677124, 0.7146772146224976, 0.3330193758010864, -0.42071089148521423, 0.1593482792377472, 0.5557025074958801, 0.6254251599311829, 0.5208513140678406, -0.2267736941576004, 0.13238590955734253, -0.06530104577541351, -0.6242656111717224, 0.0005629903171211481, 0.16636452078819275, -0.20829683542251587, -0.4835488796234131, 0.3837559223175049, -0.18806694447994232, 0.4865875244140625, 0.7099792957305908, -0.2362285554409027, -0.2913725972175598, 0.3418062925338745, 0.43019160628318787, 0.8241350054740906, -0.25506702065467834, -0.05156920850276947, 0.03204585611820221, -0.9113593101501465, -0.4628235101699829, 0.527021050453186, -0.12483130395412445, 0.09721428900957108, 0.4272042214870453, 0.25179827213287354, 0.13311102986335754, -0.5274689793586731, -0.11526592820882797, -0.2826067805290222, -0.487983375787735, -0.2108571082353592, -0.08283789455890656, -0.1538262963294983, 0.3735366463661194, 0.4927730858325958, 0.133446604013443, 0.6627873778343201, -0.5009354948997498, 0.2927358150482178, 0.19533556699752808, -0.23458001017570496, -0.5094842314720154, 0.5984009504318237, -0.11620905995368958, -0.3536643087863922, 0.6758393049240112, -0.013582602143287659, -0.4552145302295685, 0.5457398295402527, 0.5744613409042358, 0.9129896759986877, -0.5208644270896912, 0.193752259016037, 0.34215620160102844, 0.21618957817554474, -0.09218832850456238, 0.48150700330734253, 0.023807210847735405, -0.23552440106868744, -0.37820684909820557, -0.5100623369216919, -0.31825459003448486, 0.31970563530921936, -0.940971851348877, -0.10515706241130829, -0.580047607421875, -0.14117781817913055, 0.4357748031616211, 0.05419204756617546, -0.9046606421470642, 0.40866219997406006, -0.1581081748008728, 0.5799243450164795, -0.5465090274810791, 0.6739485859870911, 0.4743485748767853, -0.21961358189582825, -0.8424659371376038, -0.18937921524047852, 0.1328134387731552, -0.6975263357162476, 0.2085639089345932, 0.08189716190099716, 0.0678420141339302, 0.24399586021900177, -0.4048483967781067, -0.7327148914337158, 1.0012669563293457, 0.3007141053676605, -0.652957558631897, -0.27184394001960754, 0.08070753514766693, 0.7178197503089905, -0.3301388919353485, 0.06163102388381958, 1.0443507432937622, 0.528954267501831, -0.15537577867507935, -1.3878965377807617, 0.05206625536084175, -0.09032650291919708, -0.5900892019271851, 0.43263083696365356, -0.17704512178897858, 0.7208214402198792, 0.09755634516477585, -0.20984147489070892, 0.142694890499115, 0.041035301983356476, -0.3007041811943054, 0.7214851975440979, 0.3385591506958008, 0.5619879961013794, 0.9500979781150818, -0.17607325315475464, 1.386443018913269, -0.18012243509292603, 0.04410994052886963, 0.836421549320221, -0.20723114907741547, 0.5548855662345886, 0.4674951136112213, -0.13265088200569153, 0.5879173874855042, 0.7231422662734985, 0.1754010170698166, 0.544490396976471, -0.43715476989746094, -0.08917584270238876, -0.09246759116649628, 0.23890219628810883, -0.38117146492004395, 0.46881213784217834, 0.4478724002838135, -0.5825085043907166, -0.1680481731891632, -0.07975868880748749, 0.28166183829307556, -0.15177583694458008, -0.5027055740356445, 1.4025509357452393, -0.18250493705272675, -0.8226465582847595, 0.3435647487640381, -0.16919755935668945, 0.1379953920841217, -0.7916106581687927, -0.19647954404354095, 0.323653906583786, -0.0929383859038353, -0.47259074449539185, -0.5125348567962646, 0.5449562668800354, 0.09622769802808762, -0.2671997547149658, -0.19835761189460754, 0.911297619342804, 0.0530996136367321, -0.4764585793018341, -0.12693969905376434, 0.6458532810211182, 0.07664825767278671, -0.019987843930721283, -0.7620915174484253, 0.17112484574317932, 0.12794944643974304, -0.0025491840206086636, 0.31557440757751465, 0.19451391696929932, -0.17465727031230927, 0.2633824646472931, 0.8992001414299011, 0.28734955191612244, -0.1556139588356018, -0.04626474902033806, 0.9635282158851624, -0.7089666128158569, -0.797232985496521, -0.8757085800170898, 0.31823495030403137, -0.4950796663761139, -0.1949523240327835, 0.4687015116214752, 0.6130695939064026, 0.4485386312007904, -0.09437497705221176, 1.042128086090088, -0.11333103477954865, 0.8811308145523071, -0.7178085446357727, 0.6923496723175049, -0.21729791164398193, 0.014520854689180851, -0.5363520979881287, -0.4262940287590027, -0.4112315773963928, 0.5099281668663025, -0.270894318819046, -0.18511076271533966, 1.0527082681655884, 0.06517049670219421, -0.10333607345819473, 0.3337778151035309, -0.004492835141718388, 0.3368951082229614, 0.21662537753582, 0.18922875821590424, 0.2900063395500183, -0.32509124279022217, 0.18897108733654022, -0.3659766912460327, -0.39647138118743896, -0.17544469237327576, -0.7247558236122131, -0.38972538709640503, -0.560319185256958, -0.4477858245372772, -0.14759179949760437, 0.12724025547504425, 0.6414141058921814, 0.5936467051506042, -0.6075756549835205, 0.25622737407684326, -0.11348864436149597, 0.059973180294036865, -0.5367006063461304, -0.18566608428955078, 0.4777606427669525, -0.28496864438056946, -0.6570257544517517, 0.5185232758522034, 0.5237761735916138, -0.03604505583643913, 0.22368860244750977, 0.1826322227716446, -0.03448869660496712, -0.07477626204490662, 0.45423901081085205, 0.631411075592041, -0.5904509425163269, -0.18111686408519745, 0.05735616385936737, 0.07375811785459518, 0.37803301215171814, 0.6029754281044006, -0.7514094114303589, 0.7077773809432983, 0.20942750573158264, 0.7366578578948975, 0.3983519673347473, 0.11284530907869339, 0.8251520395278931, -0.19261935353279114, -0.38539716601371765, 0.40546947717666626, 0.029363341629505157, 0.24253404140472412, -0.6864691972732544, 0.5890846252441406, 0.3512705862522125, -0.6563541293144226, -0.848540186882019, -0.002031165873631835, -1.289100170135498, -0.17858028411865234, 0.9292700290679932, 0.18286700546741486, -0.21109703183174133, -0.5602942109107971, -0.36933910846710205, 0.5954231023788452, -0.4388905167579651, 0.892250120639801, 0.4797282814979553, -0.7610188126564026, 0.011258305050432682, -1.1733629703521729, 0.791652500629425, -0.08198942244052887, -1.022161841392517, -0.4487869441509247, 0.3654232323169708, 0.5111585855484009, 0.18269173800945282, 0.6871634125709534, -0.46609532833099365, 0.665651261806488, -0.33585813641548157, -0.08168170601129532, 0.06931695342063904, -0.013802004978060722, -0.37941667437553406, 0.37075042724609375, -0.27566105127334595, -0.07239788770675659 ]
http://arxiv.org/abs/2406.16925v1
http://arxiv.org/pdf/2406.16925v1
Analyzing Multi-Head Attention on Trojan BERT Models
2024-06-12T06:43:59
2024-06-12T06:43:59
Jingwei Wang
cs.CL
cs.CL, cs.AI
This project investigates the behavior of multi-head attention in Transformer models, specifically focusing on the differences between benign and trojan models in the context of sentiment analysis. Trojan attacks cause models to perform normally on clean inputs but exhibit misclassifications when presented with inputs containing predefined triggers. We characterize attention head functions in trojan and benign models, identifying specific 'trojan' heads and analyzing their behavior.
[ -0.5328855514526367, -0.8620403409004211, 0.4273547828197479, 0.11561346799135208, -0.18308481574058533, -0.2178320437669754, 0.10371924191713333, -0.594154417514801, 0.27877911925315857, 0.5556341409683228, -0.9045891165733337, -0.037882834672927856, -0.8231486082077026, -0.26152265071868896, -0.5622861981391907, 1.486350417137146, 0.5809444785118103, 0.030177364125847816, 0.405757337808609, -0.04277177155017853, -0.6938750147819519, -0.6678881049156189, -0.9057024717330933, -0.01615814119577408, 1.1222494840621948, -0.03462022542953491, 0.8053627610206604, 0.13065512478351593, 1.1101652383804321, 0.2213795781135559, -0.19603972136974335, -0.4044532775878906, -0.6943826079368591, 0.315297394990921, -0.3226044774055481, -0.3038516342639923, -0.5652034878730774, 0.18688219785690308, 0.3895517587661743, 0.26173165440559387, 0.3136579692363739, 0.4900662899017334, 0.1384558230638504, 0.48234549164772034, -0.7028577923774719, 0.08341094106435776, -0.7793534994125366, 0.19517914950847626, -0.2026885449886322, -0.07727086544036865, -0.77410888671875, -0.055258121341466904, 0.7206840515136719, -0.24012799561023712, 0.6036864519119263, 0.09331565350294113, 0.7728966474533081, 0.30377620458602905, -0.688374400138855, 0.22851987183094025, -0.858622133731842, 1.1450601816177368, -0.4022495150566101, 0.46162012219429016, -0.0951545313000679, 0.21094202995300293, 0.012627096846699715, -0.8530346751213074, -0.5205200910568237, -0.09433665871620178, -0.18658487498760223, 0.29490238428115845, -0.6480120420455933, 0.26077204942703247, 0.07964993268251419, 0.26110583543777466, -0.3104053735733032, -0.22497698664665222, -0.6456422805786133, -0.1798168271780014, 0.29472431540489197, 0.18691261112689972, 0.002666748594492674, -0.20954570174217224, -0.4192594587802887, -0.1308925598859787, -0.5227391123771667, 0.35153263807296753, 0.38995420932769775, 0.37151864171028137, 0.03519605100154877, 0.5587592720985413, 0.4665108025074005, 0.9461660981178284, 0.4758400619029999, 0.02393444813787937, -0.07807192951440811, 0.1539459079504013, -0.6919992566108704, 0.002017005579546094, 0.4212900996208191, 0.41130343079566956, 0.08600611239671707, -0.32638782262802124, -0.2510790228843689, 0.12154505401849747, 1.3347301483154297, -0.22548101842403412, -0.28056538105010986, 0.3836725652217865, -0.6980692148208618, -0.7862297892570496, 0.16681133210659027, -0.8258793354034424, -0.4975830316543579, -0.35740336775779724, 0.9890860915184021, -0.34896400570869446, -0.06233801320195198, 0.033020708709955215, -0.41132497787475586, 0.6478062272071838, 0.08583894371986389, -0.7711321115493774, 0.18059375882148743, 0.7936488389968872, 0.6845263242721558, -0.3141076862812042, -0.15331245958805084, -0.6382534503936768, 0.08275745064020157, -0.11042312532663345, 0.7431641221046448, -0.1885732263326645, -0.07515860348939896, 0.05659835413098335, 0.25650554895401, -0.5110957026481628, -0.23384268581867218, 0.8168269395828247, -0.9938400983810425, 0.0289878211915493, -0.2903253138065338, -0.23006485402584076, -0.7474414110183716, 0.3482370972633362, -0.797249436378479, 0.721666693687439, 0.09044711291790009, -1.427433729171753, 0.22112450003623962, -0.891423761844635, -0.5193390250205994, -0.21341274678707123, 0.10603988170623779, -0.39737623929977417, 0.31470224261283875, -0.04666316136717796, 0.7387672066688538, -0.015672864392399788, 0.19566036760807037, -0.36913666129112244, -0.16791687905788422, 0.31291595101356506, -0.19070665538311005, 1.0836360454559326, 0.150302454829216, -0.5399062633514404, 0.5960369110107422, -0.5724659562110901, -0.5970205068588257, 0.12583355605602264, 0.279002845287323, -0.34304553270339966, 0.13581007719039917, 0.34905537962913513, 0.3323313891887665, 0.09544303268194199, -0.6806118488311768, 0.18851421773433685, -0.5644417405128479, 0.30722153186798096, 0.8438660502433777, 0.2843731939792633, 0.0006402971921488643, -0.5748006701469421, 0.4025835394859314, 0.5984798073768616, 0.613072395324707, -0.03039623238146305, -0.8509384989738464, -1.2366118431091309, -0.450733482837677, -0.023368770256638527, 0.49628183245658875, -0.513484537601471, 0.1663297563791275, 0.19518326222896576, -0.45428532361984253, -0.6810596585273743, -0.5124897360801697, 0.17578278481960297, 0.8050088882446289, 0.3143254220485687, -0.6126089096069336, -0.29167211055755615, -1.2938249111175537, -0.2582806348800659, -0.15975022315979004, 0.13466165959835052, 0.03786277398467064, 0.4163605570793152, -0.3246409296989441, 1.128886342048645, -0.42387253046035767, -0.6109612584114075, -0.36829936504364014, 0.5165390968322754, 0.32390856742858887, 0.34072810411453247, 1.0676915645599365, -0.7817968130111694, -0.23262947797775269, -0.1431782841682434, -0.5105102062225342, 0.40691500902175903, -0.1529044806957245, -0.1342691034078598, 0.03832675889134407, 0.1808045357465744, -0.7717370986938477, 0.6514672636985779, 0.3126191198825836, -0.1612679362297058, 0.6171219944953918, 0.12446798384189606, 0.2384725958108902, -0.783313512802124, 0.273759663105011, 0.31449538469314575, -0.09620846807956696, -1.3576366901397705, 0.37626713514328003, 0.03882864862680435, 0.12118890136480331, -0.9882789254188538, 0.029976747930049896, 0.056777071207761765, -0.12243585288524628, -0.23083433508872986, -0.08837166428565979, -0.00012922192399855703, 0.7167194485664368, 0.0018170698313042521, 0.5888549089431763, 0.998648464679718, -0.7643675208091736, 0.6403906345367432, 0.20351369678974152, 0.1035744920372963, 0.572331428527832, -0.9434475302696228, 0.3100513219833374, -0.4931282699108124, -0.11473412066698074, -1.3085137605667114, -0.40056365728378296, 0.5778776407241821, -0.6843867301940918, 0.39141911268234253, -0.07863279432058334, -0.41770341992378235, -0.6180911660194397, -0.873500406742096, 0.3895225524902344, 0.2205915004014969, -0.4196111857891083, 0.9474380016326904, 0.6099467277526855, -0.10705838352441788, -0.8042360544204712, -0.558387041091919, -0.38279423117637634, -0.640581488609314, -0.6998449563980103, 0.24948741495609283, 0.2882132828235626, -0.44852423667907715, -0.10742099583148956, 0.019784901291131973, -0.42401617765426636, 0.08797033131122589, 0.13993646204471588, 0.6695989966392517, -0.2939450144767761, 0.09881462156772614, 0.015441321767866611, 0.10320616513490677, 0.4799230098724365, -0.2113909274339676, 0.3800046741962433, 0.02879193052649498, -0.2693197429180145, -0.8361367583274841, 0.2153216004371643, 0.9991729259490967, -0.4130861759185791, 0.8921767473220825, 0.7354797124862671, -0.45456719398498535, 0.41342681646347046, -0.6853775382041931, -0.7231214642524719, -0.48976996541023254, 0.16852039098739624, -0.2003605216741562, -0.9766892194747925, 0.7174658179283142, 0.5836196541786194, 0.4889589548110962, 0.8991066813468933, 0.8824995160102844, -0.3536441922187805, 0.9410887360572815, 1.059266209602356, -0.46636316180229187, 0.24006441235542297, 0.12440888583660126, 0.47150811553001404, -0.87929767370224, -0.09171126037836075, -0.43307846784591675, -0.4565806984901428, -0.5512266159057617, 0.012845001183450222, 0.6987457871437073, -0.4976937770843506, -0.21799223124980927, 0.44645366072654724, -0.7239276170730591, 0.09822455048561096, 0.8838198184967041, 0.13012439012527466, -0.04035952314734459, -0.27747270464897156, -0.08676818013191223, -0.23141399025917053, -0.5051900744438171, -0.22508488595485687, 1.1800832748413086, 0.674974262714386, 0.736322283744812, 0.13204562664031982, 0.22720904648303986, 0.5021703839302063, 0.2805248498916626, -1.0468789339065552, 0.20835451781749725, 0.06318878382444382, -1.2773070335388184, -0.21713581681251526, 0.24425522983074188, -1.1492328643798828, 0.4444688856601715, -0.11410536617040634, -1.2575984001159668, 0.19725385308265686, 0.39488354325294495, -0.9263150691986084, 0.2767867147922516, -0.31941404938697815, 0.9932267069816589, 0.2142922431230545, -0.12588681280612946, -0.42115816473960876, -1.2387322187423706, 0.8716741800308228, -0.3120901584625244, 0.13165563344955444, 0.10395310819149017, 0.6328802108764648, 0.9867745041847229, 0.35274675488471985, 0.9715073704719543, -0.05189995467662811, -0.16126808524131775, 0.44802433252334595, 0.03572295978665352, 0.370758056640625, 0.06242677941918373, 0.47217926383018494, -0.04112916812300682, -0.04410415142774582, -0.10205372422933578, -0.10348770767450333, 0.3643639385700226, -0.9805468916893005, -0.7221899032592773, -0.7065174579620361, -0.7365381717681885, -0.31760427355766296, -0.06569354981184006, 0.3635232746601105, 0.2743811011314392, 0.08387167751789093, 0.08049576729536057, 1.128745198249817, -0.2795637547969818, 0.37160682678222656, 0.3875015079975128, -0.1363859623670578, -0.08632765710353851, 0.6546577215194702, -0.21545466780662537, 0.08726917207241058, 0.1913432627916336, -0.1351788341999054, -0.05592379346489906, 0.07048171013593674, -0.3105616569519043, 0.49047690629959106, -0.5969031453132629, -0.11386482417583466, -0.8959861993789673, -0.3955013155937195, -0.7738015055656433, 0.21464189887046814, -0.366405189037323, -0.5145474076271057, -0.3670913279056549, 0.08525954931974411, 0.27848944067955017, 0.8342897295951843, 0.15061110258102417, 0.9319718480110168, -1.0154445171356201, 0.5427290797233582, 0.5113685131072998, -0.005791008472442627, 0.115145243704319, -0.93402498960495, -0.2213962972164154, -0.44264987111091614, -1.1030564308166504, -1.3551746606826782, 0.5527917742729187, -0.12909087538719177, 0.5490871071815491, 0.9282601475715637, -0.07359643280506134, 0.3541509807109833, -0.5802730917930603, 0.9157800674438477, 0.20783543586730957, -1.0910820960998535, 0.6095672249794006, -0.659516453742981, 0.037448834627866745, 0.08361431211233139, 0.6045714020729065, -0.7142080664634705, -1.095394253730774, -0.6634913682937622, -0.5888793468475342, 1.237361192703247, 0.2829166054725647, 0.20591118931770325, 0.21537841856479645, 0.2537468671798706, 0.1142086386680603, 0.26361700892448425, -0.9594614505767822, -0.7555639147758484, -0.021325968205928802, -0.05767427757382393, 0.10620196163654327, -0.46757909655570984, -0.30925801396369934, -0.3197847008705139, 0.6805621385574341, 0.2973463237285614, 0.8748471140861511, 0.0009304449777118862, -0.1117136999964714, -0.21403878927230835, 0.016708428040146828, 0.8030310869216919, 0.35020869970321655, -0.3475721776485443, 0.20604920387268066, -0.02283664420247078, -0.6611417531967163, -0.011686169542372227, -0.0052842022851109505, 0.05759752169251442, 0.2052912563085556, 0.3163774311542511, 0.577705442905426, 0.03736865893006325, -0.2323569804430008, 0.7507209181785583, -0.1206592321395874, -0.06569922715425491, -0.263040691614151, -0.024265091866254807, -0.16308465600013733, 0.40733492374420166, 0.4847307801246643, 0.3382643759250641, 0.7448421120643616, -0.2140495777130127, 0.33575138449668884, 0.5619584918022156, -0.8399452567100525, -0.7204506993293762, 0.9479587078094482, -0.004471427761018276, 0.11983141303062439, 0.7743157148361206, 0.30833595991134644, -0.8181424140930176, 0.7375086545944214, 0.33476343750953674, 1.0270707607269287, -0.5659024715423584, -0.04530124366283417, 0.056240882724523544, 0.7265104055404663, 0.4124670624732971, 0.2630763351917267, 0.4130319356918335, -0.710239827632904, -0.41627606749534607, -0.20910896360874176, -0.4315846264362335, 0.6239873766899109, -1.2050400972366333, 0.5233373641967773, -0.2737215757369995, -0.8553794622421265, 0.5439433455467224, -0.7553174495697021, -0.6406620144844055, 0.535770833492279, 0.27844443917274475, 0.4688205420970917, -1.0095278024673462, 0.8303582072257996, 0.8918275237083435, -0.06991161406040192, -0.4390186667442322, 0.0981621965765953, 0.27703455090522766, -0.6299207806587219, 0.9042904376983643, 0.4173296391963959, -0.21650277078151703, -0.08129176497459412, -0.527327299118042, -0.9013304114341736, 0.5277913808822632, 0.2833460867404938, -0.2283627986907959, -0.023577000945806503, 0.04091115668416023, 0.4084133803844452, -0.004000658169388771, -0.017603449523448944, 0.6338974833488464, 0.3090546727180481, -0.26636064052581787, -0.976300835609436, -0.534554123878479, 0.060525644570589066, -0.2292284220457077, 0.1937580555677414, -0.8366823196411133, 1.391754150390625, -0.04989435151219368, 0.05466337502002716, -0.5034653544425964, 0.7416151165962219, 0.12900003790855408, 0.17233720421791077, 0.49181661009788513, 0.44909608364105225, 0.21321499347686768, -0.024861253798007965, 0.872352659702301, -0.6297418475151062, 0.784935474395752, 0.7802717089653015, -0.15601308643817902, 0.5934298038482666, 0.7452788949012756, -0.1069614514708519, 0.24177910387516022, 0.6109112501144409, -0.15384860336780548, 0.7713226675987244, 0.0025163558311760426, -0.2504943907260895, 0.03778707981109619, 0.11905170977115631, -0.2561631202697754, 0.5283734202384949, 0.18850655853748322, -0.45984166860580444, 0.0008536815294064581, 0.4168154001235962, -0.1637478917837143, -0.8106523156166077, -0.40021783113479614, 0.6018126606941223, -0.12583866715431213, -0.49075496196746826, 0.008450048044323921, 0.38394245505332947, 0.6363625526428223, -0.22588858008384705, 0.28692546486854553, 0.12538348138332367, 0.41348591446876526, 0.1852581799030304, -0.49695587158203125, 0.7091044783592224, -0.010861404240131378, -0.3952336311340332, 0.2826414406299591, 0.9845295548439026, 0.04664209112524986, -0.4713381230831146, 0.3004310727119446, 0.20534083247184753, 0.08758191764354706, -0.20177863538265228, -0.5925850868225098, 0.028308933600783348, -0.14781394600868225, -0.6524998545646667, 0.18880537152290344, 0.2283681482076645, 0.11541462689638138, 0.6533169150352478, 0.23957471549510956, -0.39390385150909424, 0.4936492145061493, 0.0406370609998703, 0.9072641134262085, -0.5331655144691467, -0.5392375588417053, -1.0819413661956787, 0.5435304641723633, 0.19480566680431366, -0.18787042796611786, 0.7858880162239075, 0.4163881242275238, 0.5787042379379272, -0.8011811971664429, 0.6095125675201416, 0.037423957139253616, 0.7595016956329346, 0.1528998166322708, 0.8877156972885132, -0.40830692648887634, -0.3867987394332886, -0.49120622873306274, -0.9859272837638855, -0.5223711133003235, 0.8680505156517029, -0.04100417718291283, -0.2357996702194214, 0.7493711709976196, 0.4151557683944702, -0.12990453839302063, 0.22902145981788635, 0.2356504648923874, 0.12321671843528748, 0.1221454069018364, 0.4107522666454315, 1.06892991065979, -0.373700350522995, 0.003198038088157773, -0.26304924488067627, -0.15090292692184448, -0.348997563123703, -0.664897084236145, -1.0760397911071777, -0.33580467104911804, -0.2983214259147644, -0.13415414094924927, -0.14617985486984253, 0.7880004644393921, 0.6001014113426208, -1.2886292934417725, -0.12229804694652557, 0.3532915413379669, -0.10229001939296722, -0.3628253936767578, -0.33630862832069397, 0.4176010489463806, -0.8308386206626892, -0.6916980147361755, -0.09402303397655487, 0.44572266936302185, 0.020694810897111893, -0.3690756857395172, 0.6172673106193542, -0.17333287000656128, 0.5392407178878784, 0.8498837947845459, -0.23242463171482086, -0.9057765007019043, -0.5639423131942749, 0.2679978311061859, -0.27920547127723694, 0.18677257001399994, 0.8295743465423584, -0.6354478597640991, 0.13634788990020752, 0.13121619820594788, 0.6396176815032959, 0.3058888614177704, -0.1376390904188156, 0.3686937391757965, -0.8065627217292786, 0.2455538660287857, 0.38309118151664734, 0.309139221906662, -0.09198172390460968, -0.5408526659011841, 0.03569803386926651, 0.1920136958360672, -0.7179692983627319, -0.7627668380737305, 0.0942668542265892, -1.3419607877731323, -0.10673826187849045, 0.7313816547393799, -0.4247075319290161, -0.1917766034603119, -0.23427312076091766, -0.4451068341732025, 0.45736774802207947, -0.28557178378105164, 1.180628776550293, 0.9450304508209229, -0.3963399827480316, -0.03127902001142502, -0.6687219142913818, 0.3381083607673645, 0.4706997871398926, -0.4570241868495941, -0.08031631261110306, 0.42683178186416626, 0.035199686884880066, 0.4346065819263458, 0.008400769904255867, -0.06271790713071823, 0.5448143482208252, -0.49583736062049866, -0.03625819459557533, 0.5938920974731445, -0.8103596568107605, -0.46427860856056213, 0.5201369524002075, -0.0017149676568806171, -0.5480497479438782 ]
http://arxiv.org/abs/2406.07913v1
http://arxiv.org/pdf/2406.07913v1
DeTriever: Decoder-representation-based Retriever for Improving NL2SQL In-Context Learning
2024-06-12T06:33:54
2024-06-12T06:33:54
Yuxi Feng, Raymond Li, Zhenan Fan, Giuseppe Carenini, Mohammadreza Pourreza, Weiwei Zhang, Yong Zhang
cs.CL
cs.CL, cs.IR
While in-context Learning (ICL) has proven to be an effective technique to improve the performance of Large Language Models (LLMs) in a variety of complex tasks, notably in translating natural language questions into Structured Query Language (NL2SQL), the question of how to select the most beneficial demonstration examples remains an open research problem. While prior works often adapted off-the-shelf encoders to retrieve examples dynamically, an inherent discrepancy exists in the representational capacities between the external retrievers and the LLMs. Further, optimizing the selection of examples is a non-trivial task, since there are no straightforward methods to assess the relative benefits of examples without performing pairwise inference. To address these shortcomings, we propose DeTriever, a novel demonstration retrieval framework that learns a weighted combination of LLM hidden states, where rich semantic information is encoded. To train the model, we propose a proxy score that estimates the relative benefits of examples based on the similarities between output queries. Experiments on two popular NL2SQL benchmarks demonstrate that our method significantly outperforms the state-of-the-art baselines on one-shot NL2SQL tasks.
[ -0.2658313810825348, -0.31302616000175476, 0.40992867946624756, 0.0729774609208107, -0.5213980674743652, 0.022092120721936226, -0.040801115334033966, -0.24500608444213867, 0.10783014446496964, 0.42954641580581665, -0.5067328214645386, -0.5104542970657349, -0.5864356756210327, 0.3383122980594635, -0.4522585868835449, 0.7831051349639893, 0.2437034696340561, 0.13317568600177765, -0.38289085030555725, -0.22700725495815277, -0.5689069628715515, -0.42352479696273804, -0.6862390041351318, -0.31920942664146423, 0.06817137449979782, 0.3115331530570984, 0.09438886493444443, 0.15460234880447388, 0.34413236379623413, 0.20181165635585785, 0.010630471631884575, 0.3469243347644806, -0.7674950957298279, 0.455067902803421, -0.47184687852859497, -0.6511287093162537, 0.47982722520828247, -0.23910339176654816, 0.7439199686050415, 0.7369949817657471, -0.16558107733726501, -0.04116716608405113, 0.16780929267406464, 0.6323683857917786, -0.8512189984321594, 0.14255735278129578, -0.8356578946113586, 0.27084726095199585, -0.051061663776636124, -0.21343094110488892, -0.9128682017326355, -0.5078593492507935, -0.09306556731462479, -0.3672296404838562, 0.05927775800228119, 0.10819042474031448, 0.6407982110977173, 0.4970076084136963, -0.7544146776199341, -0.11670204252004623, -0.625999927520752, 0.9275900721549988, -0.633253812789917, 0.6447308659553528, 0.33659255504608154, 0.4778762459754944, -0.44028857350349426, -0.7437087893486023, -0.2355879694223404, -0.12048514932394028, -0.4159151017665863, 0.3475669324398041, -0.3867534101009369, -0.1597668081521988, 0.3616441488265991, 0.08852721005678177, -0.5368115305900574, 0.024212725460529327, 0.07424092292785645, -0.07556771486997604, 0.3979211151599884, 0.1621537208557129, -0.010421295650303364, -0.23031611740589142, -0.5456493496894836, -0.3065452575683594, -0.8883126378059387, 0.05393624305725098, 0.06096262112259865, 0.3087325692176819, 0.13281825184822083, 0.38925784826278687, -0.2625734508037567, 0.5852737426757812, 0.17472028732299805, 0.272457093000412, 0.2254122644662857, -0.02000269666314125, -0.008327377960085869, 0.18422392010688782, 0.6513572335243225, 0.2570899724960327, -0.31732410192489624, -0.3379397690296173, -0.2845529019832611, -0.17548419535160065, 0.1771009862422943, -1.0718698501586914, -0.08910968154668808, 0.08904591202735901, -0.5144555568695068, -0.09243128448724747, 0.28114381432533264, -0.8675421476364136, -0.4396161735057831, 0.046581972390413284, 0.2693595588207245, -0.6219058036804199, -0.4421447515487671, 0.050544001162052155, -0.45124515891075134, 0.4008413553237915, 0.19339704513549805, -0.6125267744064331, 0.5175157785415649, 0.6434690356254578, 0.5912187695503235, -0.181216299533844, 0.17475710809230804, -1.0805975198745728, 0.1944473683834076, -0.5262612700462341, 0.6234484314918518, -0.5554012060165405, -0.5401195883750916, 0.16019976139068604, -0.0007841730839572847, -0.02374148555099964, -0.8416878581047058, 0.4695577025413513, -0.7023476362228394, 0.16683362424373627, -0.6029785871505737, -0.754535436630249, -0.07860347628593445, 0.23266422748565674, -0.750025749206543, 1.2079885005950928, 0.2767963111400604, -0.8038374781608582, 0.530656099319458, -0.4569189250469208, -0.2733508348464966, 0.3682069778442383, -0.49171608686447144, -0.09048338234424591, 0.42966756224632263, -0.008746611885726452, 0.27586814761161804, -0.14610238373279572, 0.10094577074050903, 0.1305408626794815, -0.7393336892127991, 0.1886114776134491, -0.30530932545661926, 0.7027416825294495, 0.017334003001451492, -0.39108484983444214, 0.03053692914545536, -0.5533220171928406, -0.09737351536750793, 0.1832912266254425, -0.46961551904678345, -0.7776098847389221, 0.21319161355495453, -0.13571271300315857, 0.28925156593322754, -0.07226579636335373, -0.6063554883003235, -0.061278168112039566, -0.6766563653945923, 0.08776438981294632, 0.3758127689361572, 0.09820262342691422, 0.4264131784439087, -0.012836252339184284, 0.46465635299682617, 0.11647232621908188, -0.15977759659290314, -0.009074068628251553, -0.08918162435293198, -0.5897359251976013, -0.3239540159702301, 0.17597787082195282, 0.2947074770927429, -1.009015440940857, 0.3026033043861389, -0.3804798126220703, -0.07715436071157455, -0.5284081101417542, 0.011951787397265434, 0.6400230526924133, 0.7164308428764343, 0.5229094624519348, -0.21020036935806274, -0.5028678178787231, -1.0169626474380493, -0.4037921726703644, 0.0012053399113938212, -0.10192055255174637, 0.19507735967636108, 0.589622437953949, 0.01974940113723278, 0.9784013628959656, -0.3217756152153015, -0.2401145100593567, -0.46733829379081726, -0.08204460144042969, 0.11429715901613235, 0.3685016632080078, 0.536170482635498, -0.8374069333076477, -0.24154947698116302, -0.17763957381248474, -0.7863506078720093, 0.24652506411075592, 0.0494145005941391, -0.3560693562030792, 0.22905407845973969, 0.6126564145088196, -0.6417475342750549, 0.39074084162712097, 0.14795701205730438, -0.3983675241470337, 0.44276487827301025, -0.1955004334449768, -0.049640484154224396, -1.0616222620010376, -0.08195608854293823, -0.11683965474367142, -0.40576261281967163, -0.5144684314727783, 0.28069719672203064, 0.44171062111854553, 0.1486808806657791, -0.5387824177742004, 0.663342297077179, -0.4744303822517395, -0.10025107115507126, -0.10737358778715134, 0.18916746973991394, 0.15823863446712494, 0.18638557195663452, 0.11454778164625168, 0.8389450907707214, 0.20365937054157257, -0.4377683997154236, 0.1196819469332695, 0.44061166048049927, -0.49837934970855713, 0.6252801418304443, -0.5926713347434998, 0.1586993783712387, -0.4150829315185547, 0.3929586708545685, -0.9053177237510681, -0.24910296499729156, 0.11649440973997116, -0.003080114023759961, 0.5478255152702332, -0.40666258335113525, -0.5329950451850891, -0.310282826423645, -0.4714929759502411, 0.07219886034727097, 0.5602766871452332, -1.0598381757736206, 0.6181894540786743, 0.06664063781499863, 0.3764534294605255, -0.8682103753089905, -0.8557873368263245, 0.09996390342712402, -0.335824579000473, -0.10302715748548508, 0.580011248588562, 0.11015309393405914, -0.28392308950424194, 0.012304984033107758, -0.3205004930496216, 0.358807235956192, 0.1334000676870346, 0.21291692554950714, -0.09699421375989914, -0.03427424654364586, 0.39683839678764343, 0.38678234815597534, -0.1920320838689804, 0.18315905332565308, -0.21241500973701477, 0.5933240652084351, -0.19658562541007996, -0.572511613368988, -0.2509952783584595, 0.585101306438446, 0.051875222474336624, -0.3581382632255554, 0.7701619863510132, 0.30691054463386536, -0.3629682958126068, -0.7385472059249878, -0.4009307324886322, -0.4918546974658966, -0.49464738368988037, 0.640238881111145, -0.5219343900680542, -0.832729160785675, 0.29663214087486267, -0.45496660470962524, -0.03610308840870857, 0.18088169395923615, 0.026780011132359505, 0.03399144485592842, 1.0006098747253418, 0.41353216767311096, 0.07922843098640442, 0.40874922275543213, -0.4534469246864319, 0.12629859149456024, -0.9453451633453369, -0.473613977432251, -0.46306779980659485, -0.11505142599344254, -0.32618439197540283, -0.3003575801849365, 0.246504545211792, 0.32198312878608704, -0.38681742548942566, 0.2806658148765564, -0.5169812440872192, 0.5609121322631836, 0.5714209675788879, 0.12744766473770142, 0.25258591771125793, 0.16195498406887054, -0.3348967730998993, -0.19261014461517334, -0.5493015646934509, -0.43114209175109863, 0.6789746880531311, -0.1367661952972412, 0.640783429145813, 0.5513207912445068, 1.0051125288009644, 0.11396381258964539, 0.09363863617181778, -0.8020842671394348, 0.6651803255081177, -0.4348389804363251, -0.2864830195903778, 0.026598017662763596, -0.4889730215072632, -0.9311242699623108, 0.6283701062202454, 0.004104943014681339, -0.8114027976989746, 0.3568202555179596, -0.050184424966573715, -0.011933833360671997, 0.07531995326280594, -0.39703261852264404, 0.766732931137085, -0.1771123707294464, -0.4674612879753113, -0.13482145965099335, -0.6695111393928528, 0.2870482802391052, 0.11631292849779129, -0.05427640676498413, 0.04021177068352699, -0.0564606674015522, 0.6119101643562317, -0.3136555552482605, 0.6287686824798584, -0.513417661190033, 0.005333468783646822, 0.032336924225091934, 0.5520301461219788, 0.694618821144104, 0.18617361783981323, -0.6000280976295471, -0.20740962028503418, 0.10560306906700134, -0.10126589983701706, -0.8369162082672119, 0.7404401898384094, -0.40372392535209656, -0.6037127375602722, -0.26586368680000305, -0.37075644731521606, -0.2978035509586334, 0.04062262549996376, 0.20304842293262482, 0.6714807152748108, -0.12708458304405212, 0.4867475628852844, 0.7193179130554199, -0.2847783863544464, 0.5035082697868347, 0.5153419375419617, -0.1550896167755127, -0.10697412490844727, 0.6629208922386169, -0.1845138669013977, 0.1591159552335739, 0.7914912700653076, 0.16022734344005585, -0.6645039916038513, -0.5174956321716309, -0.3180103600025177, 0.15131834149360657, -1.0041241645812988, -0.4636552631855011, -0.6438500881195068, -0.1188974604010582, 0.08659863471984863, 0.013346454128623009, -0.2970338463783264, -0.32447731494903564, -0.3359239101409912, -0.38291141390800476, 0.45968079566955566, 0.4717460572719574, 0.13140225410461426, 0.07373644411563873, -0.3401343822479248, 0.05147888511419296, 0.21643903851509094, 0.26423758268356323, -0.021936943754553795, -0.4482904076576233, -0.040047548711299896, -0.10489095747470856, -0.01746545173227787, -0.864246666431427, 0.45179277658462524, 0.3393550217151642, 0.8613204956054688, 0.5531066060066223, 0.43212124705314636, 0.6396429538726807, -0.32556477189064026, 0.8085001707077026, 0.11983565241098404, -0.7066411375999451, 0.8582996726036072, 0.1390855461359024, 0.18782645463943481, 0.8381136059761047, 0.5099209547042847, -0.37186431884765625, -0.4057445228099823, -0.12351172417402267, -0.9118451476097107, 0.6832070350646973, -0.11604340374469757, 0.3206850290298462, -0.5278759002685547, 0.38129302859306335, 0.32363688945770264, 0.03237363323569298, -0.37611308693885803, -0.0969444066286087, -0.23642432689666748, -0.5262295603752136, 0.24249108135700226, -0.2841959297657013, -0.1712721586227417, -0.14975325763225555, 0.45790770649909973, -0.3400571048259735, 0.31160491704940796, 0.10628379881381989, -0.4230853319168091, 0.17873160541057587, 0.2010137140750885, 0.2018318921327591, 0.4479825794696808, -0.49612024426460266, 0.5662389993667603, 0.27291247248649597, -0.32771238684654236, 0.09060326218605042, 0.27194738388061523, -0.24772454798221588, 0.12537787854671478, 0.2987087666988373, 0.7342097759246826, 0.43151071667671204, -0.9539989829063416, 0.7211138010025024, -0.35038936138153076, -0.10980542004108429, -0.289152055978775, 0.13767895102500916, 0.077297143638134, 0.4182265102863312, 0.6776821613311768, -0.1755293607711792, 0.3923322558403015, -0.3026696443557739, 0.30671271681785583, 0.7091503143310547, -0.6626768112182617, -0.0938258096575737, 0.7696473598480225, -0.14173036813735962, -0.22410497069358826, 0.8221346735954285, -0.4593938887119293, -0.3496394753456116, 0.49820348620414734, 0.9925806522369385, 0.6390752792358398, -0.08862414956092834, 0.16379845142364502, 0.40959393978118896, 0.07702389359474182, -0.287861168384552, 0.41411641240119934, -0.15192477405071259, -0.7014996409416199, -0.21347099542617798, -0.6229283809661865, -0.11537259817123413, -0.002534667495638132, -0.8624053597450256, -0.014793378300964832, -0.19693365693092346, -0.09904853254556656, -0.37624698877334595, 0.11862549930810928, -0.7836479544639587, -0.24048306047916412, -0.10697220265865326, 1.032670259475708, -0.6747117042541504, 0.7867557406425476, 0.5285453796386719, -0.6094672083854675, -0.6354141235351562, -0.07585272938013077, -0.03571805730462074, -0.3263930678367615, 1.00492262840271, 0.25783097743988037, -0.379685640335083, 0.06975571066141129, -0.3983764052391052, -0.8953230977058411, 1.2071611881256104, 0.6460098028182983, -0.504304051399231, 0.22431102395057678, -0.025571836158633232, 0.33563733100891113, -0.43245968222618103, 0.5678978562355042, 0.40084344148635864, 0.0848485454916954, 0.0831431895494461, -0.2803105413913727, 0.44264280796051025, -0.2633959949016571, 0.38243532180786133, 0.19316817820072174, -0.5250279307365417, 0.36312782764434814, -0.07729367911815643, -0.3654136061668396, 0.09010250866413116, 0.5509356260299683, 0.5706712603569031, 0.19091975688934326, 0.4226796627044678, 0.3381209373474121, 0.8164333701133728, -0.13268058001995087, 1.3125529289245605, -0.09023188054561615, 0.223018616437912, 1.4940706491470337, -0.5555708408355713, 1.085825800895691, 0.6221215724945068, -0.0661373883485794, 0.7406308054924011, 0.4096338450908661, 0.05733311176300049, 0.9662657380104065, 0.2501559853553772, -0.3847085237503052, -0.2840111255645752, -0.31650978326797485, -0.2653627097606659, 0.47956258058547974, 0.4725112318992615, -0.4459773600101471, -0.44639018177986145, 0.14039787650108337, -0.12760302424430847, 0.2847099006175995, 0.08478201925754547, 0.8465550541877747, 0.11354326456785202, -0.38153141736984253, 0.5530368089675903, -0.101935975253582, 0.7057917714118958, -0.6553623080253601, -0.4438076615333557, -0.6229555606842041, 0.20239634811878204, -0.1679440587759018, -0.5402123332023621, 0.3047497868537903, -0.19864660501480103, -0.030775919556617737, -0.12235552072525024, 0.7575640082359314, -0.33132869005203247, -0.33687958121299744, 0.7355785965919495, 0.4699670374393463, 0.2752562463283539, 0.03922644630074501, -0.42150840163230896, -0.03886988013982773, -0.31765028834342957, -0.21149598062038422, 0.41657736897468567, 0.44560304284095764, -0.153970405459404, 0.6542956829071045, 0.36285921931266785, -0.17183758318424225, 0.0341038778424263, 0.509074330329895, 0.8620179891586304, -0.47665515542030334, -0.2045809030532837, -0.7438631653785706, 0.3981611430644989, -0.4356921911239624, 0.008898084051907063, 0.8140825629234314, 0.9384029507637024, 0.970317542552948, -0.09805738925933838, 0.6121823191642761, 0.06100441515445709, 0.48044586181640625, -0.4316340684890747, 0.5591241717338562, -0.5426039099693298, 0.34067702293395996, 0.0007677208632230759, -0.7059270143508911, -0.3273969292640686, 0.6739434599876404, -0.22632786631584167, -0.05531209707260132, 0.6687384247779846, 0.9804800152778625, -0.10307539254426956, -0.038786474615335464, 0.3892381191253662, 0.030594035983085632, 0.38417837023735046, 0.5550713539123535, 1.1194661855697632, -0.45291221141815186, 0.4875989556312561, -0.2362629473209381, -0.009767706505954266, -0.29645416140556335, -0.7282196283340454, -0.8073234558105469, -0.591688871383667, -0.20599378645420074, -0.24334198236465454, 0.3017790615558624, 1.1173721551895142, 0.7251453399658203, -0.6603873372077942, -0.14105761051177979, -0.04777343198657036, 0.11215050518512726, -0.5876372456550598, -0.24320906400680542, 0.593986988067627, -0.38944652676582336, -0.54505455493927, 0.8634447455406189, 0.0828554704785347, -0.28582218289375305, 0.03923647850751877, -0.07913993299007416, -0.2159014195203781, -0.1224818006157875, 0.872779905796051, 0.057789046317338943, -0.6922953724861145, -0.366155207157135, -0.19823963940143585, -0.009191636927425861, 0.0133383609354496, 0.5260368585586548, -1.2104543447494507, 0.3172037601470947, 0.3491445779800415, 0.7108112573623657, 0.8488871455192566, 0.06169591844081879, 0.2113090604543686, -1.0434865951538086, 0.17979875206947327, 0.31219935417175293, 0.4340033531188965, 0.49189630150794983, -0.3852497935295105, 0.6344504952430725, -0.14659136533737183, -0.11151783168315887, -0.8117181658744812, 0.3026767671108246, -0.7959776520729065, -0.4752903878688812, 1.1800278425216675, -0.08102167397737503, -0.12589967250823975, -0.186738982796669, 0.1120348796248436, 0.20962323248386383, -0.48583972454071045, 0.5033153891563416, 0.007333904970437288, -0.05663345381617546, -0.31983163952827454, -0.6963641047477722, 0.5232352614402771, 0.33394670486450195, -0.6667086482048035, -0.019300924614071846, 0.42486944794654846, 0.4505216181278229, -0.20964688062667847, 0.5099236369132996, -0.2674010097980499, -0.11293691396713257, -0.034327659755945206, -0.06722535192966461, -0.08994850516319275, -0.1271735429763794, -0.49913081526756287, 0.24448110163211823, 0.06813188642263412, -0.19612136483192444 ]
http://arxiv.org/abs/2406.07909v1
http://arxiv.org/pdf/2406.07909v1
Guiding Frame-Level CTC Alignments Using Self-knowledge Distillation
2024-06-12T06:22:52
2024-06-12T06:22:52
Eungbeom Kim, Hantae Kim, Kyogu Lee
eess.AS
eess.AS, cs.CL, cs.SD, stat.ML
Transformer encoder with connectionist temporal classification (CTC) framework is widely used for automatic speech recognition (ASR). However, knowledge distillation (KD) for ASR displays a problem of disagreement between teacher-student models in frame-level alignment which ultimately hinders it from improving the student model's performance. In order to resolve this problem, this paper introduces a self-knowledge distillation (SKD) method that guides the frame-level alignment during the training time. In contrast to the conventional method using separate teacher and student models, this study introduces a simple and effective method sharing encoder layers and applying the sub-model as the student model. Overall, our approach is effective in improving both the resource efficiency as well as performance. We also conducted an experimental analysis of the spike timings to illustrate that the proposed method improves performance by reducing the alignment disagreement.
[ -0.34102362394332886, -0.2813786268234253, 0.3049272894859314, -0.03044477477669716, -0.4211733639240265, 0.43567752838134766, -0.05261344090104103, -0.045279279351234436, -0.05290018394589424, 0.11156365275382996, -0.4509987533092499, -0.39397841691970825, -0.6839144825935364, 0.05753587558865547, -0.5395182967185974, 0.7963619232177734, 0.004624607041478157, 0.2764790654182434, -0.19772279262542725, -0.2241639345884323, -0.768083393573761, -0.5597905516624451, -0.7924177050590515, -0.7123050689697266, 0.22769823670387268, 0.24899210035800934, 0.22705461084842682, 1.0157595872879028, 0.4107632339000702, 0.36147210001945496, -0.42149436473846436, -0.08560121804475784, -0.021839331835508347, 0.3074794113636017, -0.36171385645866394, -0.39579933881759644, -0.1729036569595337, -0.3093726933002472, 0.3711741268634796, 0.3194858431816101, -0.5022972822189331, 0.060407061129808426, 0.4679936468601227, 0.6772602200508118, -0.643505334854126, 0.06109907105565071, -0.588921308517456, 0.2740694284439087, -0.18513214588165283, -0.23780196905136108, -0.39636439085006714, -0.24252699315547943, 0.4000529944896698, -0.3882153332233429, 0.4749363362789154, -0.36797305941581726, 0.5727441310882568, 0.8450887203216553, -0.56459641456604, -0.33838146924972534, -0.7414382696151733, 0.39547932147979736, -0.7889520525932312, 0.5078464150428772, 0.23179639875888824, 0.7371158599853516, 0.11639924347400665, -0.510301411151886, -0.775337278842926, 0.22445353865623474, -0.21612468361854553, 0.06747719645500183, 0.027160532772541046, 0.09978082031011581, 0.37910065054893494, 0.14644524455070496, -0.4325298070907593, 0.1139744222164154, -0.635542631149292, -0.24654826521873474, 0.3538650572299957, 0.09814649820327759, 0.02951333113014698, -0.11268812417984009, -0.5785112977027893, -0.1911114752292633, -0.2874678373336792, 0.19803361594676971, 0.18112589418888092, 0.1764269322156906, -0.1034490168094635, 0.49632591009140015, -0.08658045530319214, 0.687796950340271, 0.7551538944244385, -0.28079137206077576, 0.36980876326560974, -0.2477463334798813, -0.08077234029769897, 0.9277717471122742, 0.7705461382865906, 0.07896702736616135, 0.20996160805225372, 0.0640590712428093, -0.11083813011646271, 0.24656963348388672, 0.33935365080833435, -0.7188923358917236, -0.4460466504096985, -0.10484757274389267, -0.2820305824279785, -0.11109228432178497, -0.08872842788696289, -0.6613559126853943, -0.15288099646568298, -0.6819721460342407, 0.6160849928855896, -0.4884273409843445, -0.23116065561771393, -0.019638417288661003, -0.23345375061035156, 0.1500454992055893, 0.1311938315629959, -0.9550320506095886, 0.08420385420322418, 0.3491940200328827, 0.850330650806427, -0.2669045925140381, -0.03741297125816345, -0.18274879455566406, 0.527908444404602, -0.09983697533607483, 0.5256852507591248, -0.4434109628200531, -0.48623374104499817, -0.346622109413147, -0.17277909815311432, -0.19683586061000824, -0.4579155445098877, 0.1727762222290039, -0.4436151087284088, 0.13842517137527466, -0.10125085711479187, -0.597856879234314, -0.0727575272321701, -0.010467510670423508, -0.378152459859848, 1.0636203289031982, -0.3323538601398468, -0.8510041832923889, 0.479030579328537, -0.6843164563179016, -0.3736568093299866, -0.05595731735229492, -0.4345945417881012, -0.36980926990509033, -0.11044690757989883, 0.6927024722099304, 0.4757043719291687, 0.16602861881256104, 0.4790220260620117, 0.031940702348947525, -0.12538135051727295, 0.11704082787036896, -0.4975406229496002, 0.7664310336112976, 0.7154408097267151, -0.4808137118816376, -0.06836894154548645, -0.8507270812988281, -0.07719375938177109, -0.2717374861240387, -0.2538128197193146, -0.472283273935318, -0.15190643072128296, -0.4605121314525604, 0.31994518637657166, 0.3125836253166199, -0.5524896383285522, 0.25788578391075134, -0.17191170156002045, 0.7574005722999573, 0.672212541103363, -0.04955432936549187, 0.5885683298110962, -0.04814588651061058, 0.29004305601119995, 0.5237851738929749, 0.1487978845834732, -0.11805469542741776, -0.1743333786725998, -0.7429161071777344, -0.001629153499379754, 0.4427799582481384, 0.16332264244556427, -0.862714409828186, 0.5867353081703186, -0.2110041230916977, -0.5984499454498291, -0.6886166334152222, -0.053819406777620316, 0.5667989253997803, 0.8406794667243958, 0.7106869220733643, -0.22772584855556488, -0.5356290340423584, -0.5668240189552307, 0.025195743888616562, -0.14039388298988342, 0.12073524296283722, -0.04304157570004463, 0.16699083149433136, -0.016308680176734924, 1.2772330045700073, -0.5242850184440613, -0.5313500761985779, -0.13864721357822418, 0.3330584764480591, 0.12463461607694626, 0.9567576050758362, 0.5530798435211182, -0.5274418592453003, -0.6725258827209473, -0.08634091168642044, -0.5675438046455383, -0.22558897733688354, 0.058937765657901764, -0.15412254631519318, 0.23823131620883942, 0.5880058407783508, 0.04246629402041435, 0.5674793124198914, 0.45523062348365784, -0.237777441740036, 0.08829089254140854, -0.2830008268356323, 0.42175155878067017, -1.2399805784225464, -0.16650642454624176, 0.0479704812169075, -0.21478720009326935, -0.6240465044975281, -0.5404733419418335, 0.20262716710567474, 0.08386779576539993, -0.3209315240383148, 0.15241023898124695, -0.3355022370815277, 0.20257225632667542, -0.44292163848876953, 0.12593106925487518, 0.058645714074373245, 0.4421265125274658, 0.3157426714897156, 0.6715180277824402, 0.5729027986526489, -0.5321057438850403, 0.24614450335502625, 0.28311169147491455, -0.19812659919261932, 0.6948885917663574, -0.6063907146453857, 0.4644847512245178, -0.10928065329790115, 0.24100445210933685, -0.8835864067077637, 0.30423346161842346, 0.01486421562731266, -0.5016340613365173, 0.6327413320541382, -0.5470110177993774, 0.0114113949239254, -0.4278737008571625, 0.41928690671920776, 0.8642256259918213, 0.4690769910812378, -0.9652044773101807, 0.8857671618461609, 0.3209196925163269, 0.23374134302139282, -0.690134584903717, -0.8313891887664795, -0.28802865743637085, -0.4497586488723755, -0.5099329948425293, 0.5778835415840149, 0.012741864658892155, 0.25266405940055847, -0.1690337061882019, -0.7079077959060669, -0.3470942974090576, -0.3736291229724884, 0.2609616219997406, 0.18027448654174805, -0.2701660990715027, 0.05608336627483368, 0.2119506299495697, -0.25866642594337463, -0.22103461623191833, -0.21477290987968445, 0.6567983031272888, 0.259056955575943, -0.4755927324295044, -1.03687584400177, 0.07622117549180984, 0.40584248304367065, -0.20117275416851044, 0.36963531374931335, 0.3956034779548645, -0.27345550060272217, -0.16142238676548004, -0.9602898359298706, -0.29753002524375916, -0.5585997104644775, 0.025355109944939613, -0.34258002042770386, -0.7417938709259033, 0.4384741485118866, -0.009709138423204422, -0.34887176752090454, 0.33817481994628906, 0.27471649646759033, -0.24404193460941315, 0.9162761569023132, 0.5614112615585327, -0.4058035910129547, 0.627638041973114, -0.41717541217803955, 0.08602119237184525, -0.8862448930740356, -0.561816394329071, -0.748952329158783, -0.606594443321228, -0.0672137662768364, -0.23217052221298218, 0.44565632939338684, 0.24960768222808838, -0.5373839735984802, 0.7657427191734314, -0.9792506694793701, 0.40741756558418274, 0.4975876212120056, 0.21043509244918823, 0.3915029466152191, -0.07870780676603317, -0.3246905505657196, -0.15018489956855774, -0.7779936790466309, -0.22496312856674194, 0.838927149772644, 0.2777986228466034, 1.007714867591858, -0.17238390445709229, 1.0258022546768188, 0.22563721239566803, -0.47756853699684143, -0.39169976115226746, 0.25502970814704895, -0.2289864867925644, -0.5501110553741455, -0.3839390277862549, -0.37765395641326904, -0.43973565101623535, 0.12236288189888, 0.020393872633576393, -0.6449519991874695, 0.6068344712257385, 0.4184427261352539, -0.583759069442749, 0.17970716953277588, -0.8209806084632874, 0.7499828338623047, -0.23190346360206604, 0.10178886353969574, -0.33733221888542175, -0.7287550568580627, -0.1144004836678505, 0.01528395339846611, -0.14395947754383087, 0.05851460620760918, 0.44375720620155334, 0.9227624535560608, -0.6545376777648926, 0.7262417078018188, -0.516198992729187, 0.0691162571310997, 0.5416160821914673, -0.06865879893302917, 0.38554632663726807, -0.2255782186985016, 0.04346821457147598, 0.2603655755519867, 0.362239807844162, 0.08845493197441101, -0.7466365694999695, 0.5099866986274719, -0.8630874752998352, -0.53965824842453, -0.3614409267902374, -0.2513928711414337, -0.08164235949516296, -0.12797130644321442, 0.3365306556224823, 0.61757892370224, 0.24803030490875244, 0.4318143427371979, 0.6534498333930969, 0.288071870803833, 0.7159488201141357, 0.5744944214820862, 0.04722399264574051, -0.3953303396701813, 0.647826075553894, 0.3767071068286896, 0.36655789613723755, 0.2818518877029419, 0.27385348081588745, -0.6093788146972656, -0.501539409160614, -0.32994258403778076, -0.23953397572040558, -0.6531402468681335, -0.4689350426197052, -0.6260949969291687, -0.6417001485824585, -0.6612958312034607, -0.26281577348709106, -0.6639997959136963, -0.4766968786716461, -0.48738420009613037, 0.07003910839557648, 0.4432348608970642, 0.464019238948822, 0.019821714609861374, 0.7666195631027222, -0.6805029511451721, 0.224929079413414, 0.35275253653526306, 0.11586137861013412, 0.058220382779836655, -0.9809758067131042, -0.18211907148361206, 0.1743016093969345, -0.5422111749649048, -0.7770121693611145, 0.2940250039100647, 0.24746903777122498, 0.624276876449585, 0.5760183930397034, 0.41756606101989746, 1.207856297492981, -0.36424896121025085, 0.668317973613739, 0.5696132779121399, -1.2148010730743408, 0.8126161694526672, 0.20200061798095703, 0.4347462058067322, 0.6329132318496704, 0.30652207136154175, -0.4184119403362274, -0.3202608525753021, -0.28825095295906067, -0.6160367727279663, 0.8648428320884705, 0.10769770294427872, -0.20482847094535828, 0.27283036708831787, 0.2992449402809143, -0.0008216362912207842, 0.022514285519719124, -0.5340523719787598, -0.21499966084957123, -0.7160695791244507, -0.6300708651542664, 0.2457444816827774, -0.01881258934736252, -0.15640220046043396, -0.48418736457824707, 0.6646199226379395, -0.2682427167892456, -0.16899946331977844, 0.33210307359695435, -0.10367294400930405, 0.041188329458236694, 0.21494288742542267, 0.19073887169361115, 0.415375292301178, 0.14975851774215698, 0.29888951778411865, 0.4461236596107483, -0.5398156642913818, 0.48898547887802124, -0.1747148483991623, 0.01154507976025343, -0.18930262327194214, -0.05122525244951248, 0.5920746326446533, 0.21165263652801514, -0.01986978016793728, 0.6072189211845398, 0.013159189373254776, -0.17285789549350739, -0.1388278752565384, 0.4203483462333679, 0.02123277820646763, 0.804233729839325, 0.4535936117172241, 0.028154291212558746, -0.048483218997716904, -0.05337328463792801, 0.2662608027458191, 0.17064203321933746, -0.45292454957962036, -0.0667930617928505, 0.7226713299751282, 0.18955287337303162, -0.21581445634365082, 0.7074397802352905, 0.21267585456371307, -0.5677264928817749, 0.5978578329086304, 0.6515205502510071, 0.8989051580429077, -0.6660140752792358, 0.025906892493367195, 0.5555868744850159, -0.18129734694957733, -0.29602304100990295, -0.13947710394859314, -0.5103423595428467, -0.7375131249427795, -0.20781399309635162, -0.6437236070632935, 0.100433848798275, -0.3264511525630951, -0.995913028717041, 0.4888189733028412, -0.28214988112449646, -0.3757513165473938, 0.12525415420532227, -0.13625088334083557, -0.5338069200515747, 0.1545647531747818, 0.03103531524538994, 0.7650907635688782, -0.5880531072616577, 1.4594558477401733, 0.20852214097976685, -0.36777442693710327, -1.1758521795272827, -0.08220979571342468, 0.14471153914928436, -0.6538023352622986, 0.9807897806167603, -0.048180773854255676, -0.2363952100276947, 0.19470392167568207, -0.2682982385158539, -0.8407878875732422, 1.5748450756072998, 0.23226390779018402, -1.1969882249832153, -0.27527284622192383, 0.21452990174293518, 0.5772111415863037, -0.5606698989868164, 0.13803398609161377, 0.5452126264572144, 0.21680136024951935, 0.8258115649223328, -1.1395984888076782, -0.12646549940109253, -0.014680891297757626, 0.18980008363723755, 0.04363198205828667, -0.4293895959854126, 0.36468505859375, -0.04323667660355568, -0.461319237947464, -0.3565833270549774, 0.8422423601150513, 0.06310926377773285, 0.434081107378006, 0.7473182678222656, 0.6802819967269897, 0.4808165729045868, -0.18402761220932007, -0.028927478939294815, -0.5154931545257568, 0.4111914336681366, 1.4861111640930176, -0.07925769686698914, 0.6143814921379089, 0.580264687538147, -0.2319670468568802, 0.3769047260284424, 0.2656984031200409, -0.21853207051753998, 0.8951357007026672, 0.032313693314790726, -0.08712682127952576, -0.3385005295276642, 0.1912360042333603, -0.6295017600059509, 0.5889368653297424, -0.006791506893932819, -0.31412842869758606, -0.2810477018356323, 0.16984042525291443, -0.29507189989089966, 0.15884704887866974, -0.37526294589042664, 1.1991196870803833, -0.045166343450546265, -0.5485104322433472, 0.605421245098114, -0.4658200740814209, 0.8806583285331726, -0.5022222399711609, 0.10381583869457245, -0.005981259513646364, 0.25170662999153137, -0.33219701051712036, -0.7455567717552185, 0.5253587365150452, 0.10170520842075348, -0.2958184480667114, -0.21102549135684967, 0.4095110595226288, -0.7991637587547302, -0.15794652700424194, 0.30376556515693665, 0.09430019557476044, -0.0029044663533568382, 0.12939397990703583, -0.5545517802238464, 0.020491426810622215, 0.04370231553912163, 0.276879221200943, 0.3186185359954834, 0.5795073509216309, 0.35485562682151794, 0.5857042074203491, 0.36271679401397705, -0.14253856241703033, 0.3957269787788391, 0.14189401268959045, 0.9979822635650635, -0.42770683765411377, -0.550477147102356, -0.8943198323249817, 0.5567088723182678, -0.04917007312178612, -0.1888209879398346, 0.46342727541923523, 0.5234204530715942, 1.0169386863708496, 0.1318717896938324, 0.4710175395011902, -0.0833376869559288, 0.44682446122169495, -0.49507030844688416, 1.0519481897354126, -0.3004951775074005, 0.4265214204788208, -0.2412043958902359, -0.6582778692245483, 0.12533104419708252, 0.8433240652084351, -0.14584055542945862, -0.05495033413171768, 0.5684034824371338, 0.8095482587814331, 0.005774493794888258, 0.3948892652988434, 0.2386026382446289, 0.1158740222454071, 0.4245791733264923, 0.4063988924026489, 0.8051648736000061, -0.28728991746902466, 0.6078564524650574, -0.6432170271873474, -0.08598682284355164, 0.10283685475587845, -0.810112476348877, -0.956981360912323, -0.9932386875152588, -0.6845343112945557, -0.24386100471019745, 0.2851318120956421, 1.165074348449707, 0.815153181552887, -0.8325233459472656, -0.10761025547981262, -0.09634362161159515, -0.2006133645772934, -0.29583361744880676, -0.21409258246421814, 0.46223774552345276, -0.45193156599998474, -0.6929873824119568, 0.4156953692436218, -0.058919571340084076, 0.2969858646392822, -0.1761164516210556, -0.11839157342910767, -0.09642789512872696, -0.36660343408584595, 0.05770392343401909, 0.06896024942398071, -0.626461923122406, -0.3927740156650543, -0.24024543166160583, -0.14211636781692505, 0.32698675990104675, 0.9971473813056946, -1.0077641010284424, 0.7860763072967529, 0.4818926155567169, 0.34605512022972107, 0.7019115686416626, 0.18107284605503082, 0.5548200607299805, -0.7996722459793091, -0.052811309695243835, 0.1467176079750061, 0.3442450761795044, 0.09524509310722351, -0.3889797329902649, 0.34582796692848206, 0.12192901968955994, -0.7970434427261353, -0.6302785277366638, -0.2375694215297699, -1.0410048961639404, -0.1124466061592102, 0.8327987194061279, -0.2931118607521057, -0.09083428233861923, -0.13464227318763733, -0.3290274441242218, 0.7816488146781921, -0.5236390829086304, 1.0711599588394165, 0.4173303246498108, -0.1694282740354538, -0.10581322014331818, 0.006049290765076876, 0.4999152421951294, -0.060087237507104874, -0.26184117794036865, 0.06832348555326462, 0.21214206516742706, 0.5023065805435181, 0.2515506446361542, 0.4029155373573303, -0.22820158302783966, -0.21039600670337677, -0.15112769603729248, 0.1344197541475296, -0.3631381094455719, -0.592718780040741, -0.40570691227912903, 0.08498729020357132, -0.40883946418762207, -0.5532140135765076 ]
http://arxiv.org/abs/2406.07900v1
http://arxiv.org/pdf/2406.07900v1
Exploring Self-Supervised Multi-view Contrastive Learning for Speech Emotion Recognition with Limited Annotations
2024-06-12T06:06:55
2024-06-12T06:06:55
Bulat Khaertdinov, Pedro Jeuris, Annanda Sousa, Enrique Hortal
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Recent advancements in Deep and Self-Supervised Learning (SSL) have led to substantial improvements in Speech Emotion Recognition (SER) performance, reaching unprecedented levels. However, obtaining sufficient amounts of accurately labeled data for training or fine-tuning the models remains a costly and challenging task. In this paper, we propose a multi-view SSL pre-training technique that can be applied to various representations of speech, including the ones generated by large speech models, to improve SER performance in scenarios where annotations are limited. Our experiments, based on wav2vec 2.0, spectral and paralinguistic features, demonstrate that the proposed framework boosts the SER performance, by up to 10% in Unweighted Average Recall, in settings with extremely sparse data annotations.
[ -0.4674750566482544, -0.046442288905382156, 0.2496061623096466, 0.11909174919128418, -0.42175713181495667, -0.2676006555557251, 0.002186767989769578, -0.3348484933376312, 0.4423728585243225, 0.44055500626564026, -0.6044644117355347, -0.4226733148097992, -0.5831009745597839, -0.02100834995508194, -0.001796738593839109, 0.9398541450500488, 0.1253620833158493, 0.09927405416965485, 0.029833737760782242, -0.37125417590141296, 0.040956657379865646, -0.7473043203353882, -0.3358553946018219, -0.009678029455244541, 0.653448760509491, 0.44395530223846436, 0.2048439085483551, 0.28040972352027893, 0.17355825006961823, 0.2859594523906708, -0.022257359698414803, 0.2951233983039856, -0.5355414748191833, 0.34918907284736633, 0.3776993751525879, -0.21172724664211273, -0.19030329585075378, 0.2723694145679474, 0.5352305769920349, 0.25769996643066406, -0.06802282482385635, 0.0648033395409584, 0.24684439599514008, 0.9541396498680115, -0.9708589315414429, 0.2806043326854706, -0.4353281855583191, 0.4600566625595093, -0.16186320781707764, -0.09064150601625443, -0.25845950841903687, -0.20146141946315765, 0.5432649254798889, -0.5173594951629639, 0.10125067830085754, -0.1287347823381424, 0.32845690846443176, 0.6229276061058044, -0.5073221921920776, -0.047572266310453415, -0.4222744405269623, 0.5879634022712708, -0.6298062801361084, 0.5792706608772278, 0.5090925693511963, 0.14095337688922882, 0.3631003499031067, -0.4648190438747406, -0.39885413646698, -0.0564141720533371, -0.03811783716082573, 0.5326732993125916, -0.047898098826408386, 0.22437041997909546, 0.25551658868789673, 0.15986377000808716, -0.4605807363986969, 0.14691829681396484, -0.08292593061923981, -0.22796015441417694, 0.5719804167747498, 0.03369585797190666, -0.25518864393234253, -0.203115776181221, -0.2095281034708023, -0.41504740715026855, -0.28405317664146423, 0.21517501771450043, 0.4218248426914215, 0.40865856409072876, -0.48486095666885376, 0.1781330704689026, -0.2957363426685333, 0.16010865569114685, -0.10774832963943481, 0.14372791349887848, 0.6966519951820374, 0.09862050414085388, -0.24947740137577057, 0.23975294828414917, 0.5894944667816162, 0.35428255796432495, 0.10038597881793976, 0.3057591915130615, 0.15110071003437042, 0.07196429371833801, 0.20355626940727234, -0.8557277917861938, -0.7062690258026123, 0.33447542786598206, -0.4161573350429535, -0.010642001405358315, -0.20874257385730743, -1.172249674797058, -0.894171953201294, -0.28644171357154846, 0.3675609230995178, -0.20807498693466187, -0.38551485538482666, -0.24820750951766968, 0.12685050070285797, 0.012240612879395485, 0.47019004821777344, -0.8295288681983948, 0.05476287007331848, 0.10876858979463577, 0.6766699552536011, 0.09211835265159607, -0.23198673129081726, -1.0274325609207153, -0.13776971399784088, -0.41452574729919434, 0.4454321563243866, -0.7123140692710876, -0.40218472480773926, 0.23470495641231537, -0.27967995405197144, 0.033780671656131744, -0.33037546277046204, 0.5303957462310791, -0.15026381611824036, -0.0345599390566349, -0.22307825088500977, -0.5100032091140747, -0.02522263117134571, -0.16349700093269348, -0.6650618314743042, 0.6909716129302979, -0.16429772973060608, -0.8388332724571228, 0.07172799855470657, -0.43542081117630005, -0.6107082962989807, -0.27044031023979187, -0.1921677589416504, -0.667570948600769, 0.312177449464798, 0.37327882647514343, 0.673340916633606, 0.1656688004732132, -0.3063428997993469, -0.5052783489227295, -0.07229116559028625, 0.08956372737884521, -0.3798621594905853, -0.0028013247065246105, 0.3798117935657501, -0.4103938043117523, 0.22228790819644928, -1.1191846132278442, -0.12026684731245041, -0.19080038368701935, -0.09960248321294785, -0.3492024838924408, 0.029408857226371765, -0.014910695143043995, 0.39949676394462585, 0.03332991525530815, -0.46311989426612854, -0.10937214642763138, -0.48088815808296204, 0.24423548579216003, 0.6737881898880005, -0.2342626452445984, 0.2649383246898651, 0.25953227281570435, 0.37309929728507996, 0.3593025505542755, 0.002859758445993066, -0.3713640570640564, -0.101308673620224, -1.0605181455612183, -0.3255786895751953, 0.12826122343540192, 0.3438543975353241, -0.6334149241447449, 0.2601141333580017, 0.2569878101348877, -0.401930570602417, -1.1391427516937256, 0.1825096309185028, 0.7630754113197327, 0.7726420760154724, 0.7617700099945068, -0.18621309101581573, -0.5549629926681519, -1.0168588161468506, -0.05447564646601677, 0.14194446802139282, -0.018476951867341995, 0.768687903881073, 0.21732498705387115, 0.008998862467706203, 0.4227472245693207, -0.2670496702194214, -0.6808006167411804, 0.1030292958021164, 0.7975729703903198, -0.23010818660259247, 0.5173763632774353, 0.25045934319496155, -0.8979068994522095, -0.332096129655838, -0.19483374059200287, -0.5994765758514404, -0.1300986111164093, -0.01964716427028179, 0.13399656116962433, 0.25758248567581177, 0.32863008975982666, 0.12849117815494537, 0.5330098271369934, 0.7323130965232849, 0.1038329005241394, 0.23640400171279907, -0.5441121459007263, 0.32531777024269104, -0.870787501335144, -0.4144848585128784, 0.5040006041526794, -0.022571081295609474, -0.7594606280326843, -0.5865926742553711, 0.3701087236404419, -0.25852882862091064, -0.7271974682807922, 0.20832087099552155, -0.4971112012863159, -0.144121915102005, -0.3454279899597168, 0.3309997022151947, -0.23168504238128662, 0.5879681706428528, 0.5709967017173767, 0.6555012464523315, 0.6107386946678162, -0.5025691390037537, 0.2535049617290497, 0.30455371737480164, -0.06289762258529663, 0.7811198234558105, -0.2249513417482376, 0.37832629680633545, -0.2567231059074402, 0.3670535087585449, -1.1286829710006714, -0.48123013973236084, -0.2775982618331909, -0.31422385573387146, 0.38774558901786804, -0.24859242141246796, -0.06138630211353302, -0.11247856169939041, -0.33409860730171204, 0.22402599453926086, 0.7140480875968933, -0.8867079615592957, 0.8725857138633728, 0.2787947654724121, -0.2852898836135864, -0.4702155292034149, -0.7628005146980286, -0.20811614394187927, -0.3139452636241913, -0.3581758439540863, 0.023427899926900864, 0.12649793922901154, 0.17369134724140167, -0.3653459846973419, -0.2066110074520111, 0.12576596438884735, 0.01969594694674015, 0.6017955541610718, -0.08859697729349136, 0.07801499962806702, 0.460506409406662, 0.11785723268985748, -0.09382370114326477, -0.009541681967675686, 0.05377364903688431, 0.3011176288127899, -0.29842451214790344, -0.3155442476272583, -0.8220887780189514, 0.5387933254241943, 0.1567768007516861, -0.7226710915565491, 0.24588710069656372, 0.716534435749054, -0.2693347930908203, -0.07744289934635162, -0.7785826921463013, -0.05903836712241173, -0.3915516436100006, 0.5233640670776367, -0.5271079540252686, -1.0484027862548828, 0.5167099237442017, -0.34543377161026, -0.2975696325302124, 0.4480508267879486, 0.3854425251483917, -0.34107154607772827, 1.0918426513671875, 0.44260653853416443, -0.2321936935186386, 0.46925413608551025, 0.012716435827314854, -0.10531716048717499, -1.138961672782898, -0.39459705352783203, -0.5913721919059753, -0.32160595059394836, -0.6852384209632874, -0.3557356595993042, 0.5104039311408997, -0.07851406931877136, -0.1941649317741394, -0.09850387275218964, -0.4713503122329712, 0.26905858516693115, 0.5672078728675842, 0.27173396944999695, -0.27331772446632385, -0.25167185068130493, -0.009958697482943535, -0.31543397903442383, -0.3191564381122589, 0.030625425279140472, 0.9539247751235962, 0.23528148233890533, 0.7480385303497314, -0.15126895904541016, 1.0834143161773682, 0.17834807932376862, -0.038742080330848694, -0.35264092683792114, 0.28277525305747986, -0.49077725410461426, -0.1340235471725464, -0.2959023714065552, -0.4698152542114258, -0.5726329684257507, 0.4233798384666443, -0.5441237688064575, -0.7490571737289429, 0.4192773699760437, 0.4992380440235138, -0.5960550904273987, 0.0024159627500921488, -0.9295216202735901, 0.8690028190612793, -0.5005322694778442, -0.5747727155685425, -0.3217582404613495, -1.0756068229675293, 0.08697700500488281, -0.15335287153720856, 0.2021145224571228, -0.14797425270080566, 0.08461229503154755, 0.6522178053855896, -0.144733265042305, 0.900006115436554, -0.4891641139984131, 0.08091075718402863, 0.07492039352655411, 0.0055974689312279224, 0.525181770324707, -0.09181741625070572, -0.06436047703027725, -0.13851433992385864, -0.3097246587276459, -0.3423256576061249, -0.4752069413661957, 0.6674010753631592, -0.699661910533905, -0.3162771761417389, -0.4032977223396301, -0.2599450945854187, -0.6436020731925964, -0.2676984965801239, 0.04870589077472687, 0.4012204110622406, 0.04349685460329056, 0.40197980403900146, 0.8190128803253174, -0.30856505036354065, 0.33886152505874634, 0.34015384316444397, 0.14246766269207, -0.5973210334777832, 1.0164650678634644, 0.07165982574224472, 0.09773669391870499, 0.16975881159305573, 0.24706882238388062, -0.6639715433120728, -0.39221006631851196, -0.10020944476127625, -0.07542409747838974, -0.6330550312995911, -0.11994540691375732, -0.6728047132492065, -0.09315737336874008, -0.651358962059021, -0.057744789868593216, -0.6283877491950989, -0.12444895505905151, -0.635368824005127, -0.15037037432193756, 0.3481593430042267, 0.4004717767238617, -0.49510782957077026, 0.3458036780357361, -0.5993378758430481, 0.4676770269870758, 0.7914072871208191, 0.35889163613319397, -0.06762780994176865, -0.6001002192497253, -0.19910390675067902, -0.05229828134179115, -0.009612007066607475, -0.8410137891769409, 0.5133971571922302, 0.5726068615913391, 0.2776658236980438, 0.5237514972686768, 0.41312599182128906, 0.9578462243080139, -0.38997599482536316, 0.8229358196258545, 0.47281521558761597, -1.146145224571228, 0.9675020575523376, 0.021747557446360588, 0.1094805970788002, 0.6511602401733398, 0.5743563175201416, -0.24172784388065338, -0.11985639482736588, -0.5472790002822876, -1.0012108087539673, 0.6616804599761963, 0.20499339699745178, 0.24017277359962463, 0.262957900762558, 0.32227444648742676, 0.07367813587188721, 0.21757633984088898, -0.5780928134918213, -0.30283623933792114, -0.6994659900665283, -0.44134360551834106, -0.25206828117370605, -0.4582929313182831, -0.004070125054568052, -0.12133807688951492, 0.5048049688339233, -0.28559502959251404, -0.1299242228269577, 0.44626808166503906, -0.00895391684025526, 0.1527000367641449, 0.3782186210155487, 0.5291234254837036, -0.13732443749904633, -0.3221804201602936, 0.37340670824050903, 0.2917017936706543, -0.14834585785865784, 0.028833921998739243, 0.5194381475448608, 0.4888610541820526, -0.41872575879096985, 0.16782215237617493, 1.3342945575714111, 0.19167275726795197, -0.5127996206283569, 0.4659561514854431, -0.0037353697698563337, -0.203081414103508, -0.18639062345027924, -0.06306856125593185, 0.040462955832481384, 0.8183640241622925, 0.3199041485786438, -0.2485751509666443, 0.5227202773094177, -0.3640311360359192, 0.1715494692325592, 0.17795859277248383, -0.6187012195587158, -0.058005355298519135, 0.8972747921943665, 0.5799216032028198, -0.09275893867015839, 0.4292169213294983, -0.22031056880950928, -0.6350570321083069, 0.25756222009658813, 0.25272464752197266, 0.9774132966995239, -0.629534900188446, 0.11982876807451248, 0.22265806794166565, -0.15305767953395844, 0.035034194588661194, 0.29897835850715637, -0.45408642292022705, -0.27654507756233215, -0.15316639840602875, -0.4382439851760864, -0.6885682344436646, 0.06742283701896667, -0.7900972366333008, 0.01152235921472311, -0.22290416061878204, 0.10493408143520355, 0.11688289046287537, -0.029715746641159058, -0.606752336025238, 0.6673300862312317, 0.7654239535331726, 0.34825772047042847, -0.9054110050201416, 0.9607884287834167, 0.36963045597076416, -0.35860079526901245, -0.8881356120109558, -0.03491285443305969, 0.2564190924167633, -0.6021668314933777, 0.6277592182159424, 0.43127769231796265, -0.605994701385498, -0.01660909131169319, -0.40294891595840454, -0.4198887348175049, 0.7823324203491211, 0.30674654245376587, -0.9175043106079102, 0.41411834955215454, 0.018280887976288795, 0.8142745494842529, -0.5281057953834534, 0.2802656888961792, 0.5123618245124817, 0.14110615849494934, 0.24758344888687134, -0.6914246082305908, -0.43145129084587097, -0.3776736259460449, -0.049244336783885956, -0.08772023022174835, -0.8645064234733582, 0.7062495350837708, -0.1483808159828186, 0.13010430335998535, -0.15409429371356964, 0.919654905796051, 0.23723848164081573, 0.458430677652359, 0.6495090126991272, 0.5294625163078308, 0.8898541331291199, -0.0924791470170021, 0.7738981246948242, -0.016612747684121132, 0.2489430159330368, 1.5435802936553955, -0.6327921152114868, 1.124557614326477, 0.22483374178409576, -0.0794534906744957, 0.08437483012676239, 0.7844448089599609, -0.04938916489481926, 0.7502003908157349, 0.3294405937194824, -0.20744635164737701, -0.6206133365631104, -0.2620542049407959, -0.43978404998779297, 0.5047892928123474, 0.2540570795536041, -0.2045544534921646, 0.10851869732141495, 0.4482625424861908, -0.1505085825920105, 0.13564400374889374, -0.4287286400794983, 0.9279972910881042, 0.14579957723617554, -0.07319064438343048, 0.3348170816898346, -0.6895909905433655, 0.8322436809539795, -0.5705480575561523, -0.07387561351060867, -0.37333130836486816, -0.06044811010360718, -0.37899717688560486, -0.6602588295936584, -0.13031180202960968, 0.2072037309408188, 0.2370511293411255, -0.16792577505111694, 0.5959753394126892, -0.7703487277030945, -0.31480878591537476, 0.6097416281700134, 0.14438378810882568, 0.36792469024658203, -0.38043251633644104, -0.43039825558662415, 0.0397433340549469, -0.037942659109830856, -0.3820895254611969, 0.5186176896095276, 0.5303243398666382, 0.42837822437286377, 0.5145385265350342, 0.18713316321372986, 0.009980722330510616, 0.18542541563510895, 0.4004990756511688, 0.8091720938682556, -0.6821480393409729, -0.730888843536377, -0.565636157989502, 0.735314667224884, -0.1984947770833969, -0.38554608821868896, 0.4848408102989197, 0.5046448111534119, 0.785887598991394, -0.02600262127816677, 0.7761071920394897, 0.4588633179664612, 0.8073915243148804, -0.6179529428482056, 0.5409581065177917, -1.0004628896713257, -0.1929822713136673, -0.5084217190742493, -0.42256754636764526, -0.3329886794090271, 0.8242766857147217, -0.10562090575695038, 0.03279757872223854, 0.4473145306110382, 0.355559378862381, 0.27017733454704285, 0.1861303299665451, 0.5105799436569214, 0.25502097606658936, 0.1377304196357727, 0.7466393709182739, 0.7948836088180542, -0.1674320548772812, 0.5798470973968506, -0.5768342614173889, -0.1279909312725067, -0.3096829950809479, -0.8862072825431824, -0.9183745980262756, -0.733156681060791, -0.5395512580871582, -0.18271617591381073, 0.11550040543079376, 1.054513692855835, 0.9241111874580383, -0.6863106489181519, 0.07567379623651505, 0.29476186633110046, -0.44228577613830566, 0.1293213963508606, -0.0203094482421875, 0.5963406562805176, -0.38488009572029114, -0.70417320728302, 0.4263139069080353, 0.3719879388809204, 0.21203207969665527, -0.06140381842851639, -0.21873530745506287, 0.017268415540456772, -0.087932288646698, 0.5036682486534119, 0.27631643414497375, -0.695912778377533, -0.3685903251171112, -0.49059775471687317, 0.11253974586725235, 0.29993128776550293, 0.5450724959373474, -0.7726126909255981, 0.8836002349853516, 0.08551031351089478, 0.8262760639190674, 0.9885222911834717, 0.14684179425239563, -0.011546335183084011, -1.0069820880889893, 0.3280963897705078, 0.29972219467163086, 0.44182661175727844, 0.2764037549495697, -0.1901090145111084, 0.4115946292877197, -0.10462477803230286, -0.4959004521369934, -0.590739369392395, 0.33624792098999023, -1.1749629974365234, 0.026092154905200005, 0.899560809135437, -0.42681851983070374, 0.1230301484465599, 0.417092502117157, -0.4040873348712921, 0.3886409401893616, -0.7241926789283752, 0.8301864266395569, 0.5355937480926514, -0.6158355474472046, -0.632271945476532, -0.2879277169704437, 0.762454628944397, 0.6345173120498657, -1.042299509048462, 0.3566170930862427, 0.8120386004447937, -0.0935656949877739, 0.17191104590892792, 0.3903178572654724, 0.09801920503377914, 0.17755194008350372, 0.0691952258348465, 0.16584384441375732, -0.10962603986263275, -0.5109690427780151, -0.8969597816467285, 0.3497479259967804, -0.21360911428928375, -0.41378211975097656 ]
http://arxiv.org/abs/2406.07890v1
http://arxiv.org/pdf/2406.07890v1
Exploring Speech Foundation Models for Speaker Diarization in Child-Adult Dyadic Interactions
2024-06-12T05:41:01
2024-06-12T05:41:01
Anfeng Xu, Kevin Huang, Tiantian Feng, Lue Shen, Helen Tager-Flusberg, Shrikanth Narayanan
eess.AS
eess.AS, cs.CL, cs.LG
Speech foundation models, trained on vast datasets, have opened unique opportunities in addressing challenging low-resource speech understanding, such as child speech. In this work, we explore the capabilities of speech foundation models on child-adult speaker diarization. We show that exemplary foundation models can achieve 39.5% and 62.3% relative reductions in Diarization Error Rate and Speaker Confusion Rate, respectively, compared to previous speaker diarization methods. In addition, we benchmark and evaluate the speaker diarization results of the speech foundation models with varying the input audio window size, speaker demographics, and training data ratio. Our results highlight promising pathways for understanding and adopting speech foundation models to facilitate child speech understanding.
[ -0.568730890750885, -0.6555619239807129, 0.08820550888776779, 0.2487834244966507, 0.005393552128225565, 0.1855625957250595, -0.20242439210414886, -0.5733667016029358, -0.38584885001182556, 0.37912091612815857, -0.6768972277641296, -0.1335243582725525, -0.5595582723617554, -0.06928014755249023, -0.41759657859802246, 0.4009031057357788, 0.19344128668308258, 0.17334076762199402, -0.18294011056423187, 0.4750981330871582, -0.43885496258735657, -0.29875943064689636, -0.9260683059692383, -0.635883092880249, 0.20541810989379883, 0.6436365246772766, 0.48313000798225403, 0.802017092704773, 0.5514400601387024, 0.26107922196388245, -0.44266384840011597, -0.42933300137519836, -0.7985983490943909, 0.0647437646985054, -0.13053080439567566, 0.03875244781374931, -0.5811854004859924, 0.1994810849428177, 0.9007077813148499, 1.5509424209594727, -0.6196353435516357, -0.2506146728992462, -0.229949489235878, 0.8196090459823608, -0.6486534476280212, 0.23211033642292023, -0.6782945990562439, 0.34673193097114563, -0.16836851835250854, 0.05582128092646599, -0.6017676591873169, 0.2829974889755249, 0.40108248591423035, -0.1998995840549469, 0.6302410364151001, -0.43044179677963257, 0.4042440950870514, 0.31892016530036926, -0.4174419045448303, 0.005915119778364897, -1.2532455921173096, 0.4247494041919708, -0.49920064210891724, 0.8524129390716553, 0.7446601986885071, 0.41831326484680176, -0.24898836016654968, -0.6518317461013794, -0.5665579438209534, -0.05616600811481476, -0.20463860034942627, -0.3268096148967743, -0.4672728180885315, 0.41719213128089905, 0.13398122787475586, 0.553854763507843, -0.3248058259487152, -0.010160357691347599, -0.28809621930122375, 0.06146399676799774, 0.6867199540138245, 0.10535550862550735, 0.1986108273267746, -0.02413506619632244, -0.27964287996292114, -0.1931385099887848, -0.5943751335144043, 0.26266878843307495, 0.038694705814123154, 0.587698221206665, -0.19850008189678192, 0.34783583879470825, -0.35056036710739136, 1.0247308015823364, 0.3667382299900055, -0.3488903045654297, -0.07471294701099396, -0.44695067405700684, -0.46592584252357483, 0.41497576236724854, 0.27332162857055664, 0.19338388741016388, 0.4257456362247467, -0.26607662439346313, -0.1471601277589798, 0.10632746666669846, -0.02037663944065571, -1.1272305250167847, -0.6115884184837341, -0.15935058891773224, -0.4984055459499359, -0.08753028512001038, 0.021777605637907982, -0.8681835532188416, -0.7281492948532104, -0.1567995548248291, 0.03131464868783951, -0.35567325353622437, -0.5983098745346069, 0.4248778522014618, 0.03792988136410713, 0.09831833094358444, 0.12759913504123688, -1.327211856842041, 0.913388729095459, 0.6063559651374817, 0.38341617584228516, 0.018332816660404205, 0.04875683784484863, -0.7928462028503418, 0.3016635775566101, -0.32057034969329834, 0.19967199862003326, -0.6750617027282715, -0.790166437625885, -0.4552948772907257, -0.32804661989212036, -0.5804377198219299, -0.6115683317184448, 0.11378122866153717, -0.29877540469169617, -0.18029017746448517, 0.03444649279117584, -0.4309239387512207, -0.06226027384400368, -0.17945225536823273, -0.5897830128669739, 0.24703268706798553, 0.17703163623809814, -0.8452538251876831, 0.3403639793395996, -0.3427019715309143, -0.5176694393157959, -0.1392306238412857, -0.07063989341259003, -0.32149016857147217, 0.1608709692955017, 0.30602601170539856, 0.380683958530426, -0.049694404006004333, 0.38436564803123474, -0.0047983028925955296, -0.4905899465084076, 0.19603142142295837, -0.7160689234733582, 0.5382609963417053, 0.1183229610323906, -0.46684467792510986, -0.4107057452201843, -0.9345154166221619, -0.6367602348327637, 0.16856710612773895, -0.30731895565986633, -0.32546037435531616, 0.06901761144399643, -0.02964344248175621, -0.05906962230801582, -0.10363130271434784, -0.5606343746185303, -0.032351501286029816, -0.6311392188072205, 0.5296891331672668, 0.2693155109882355, 0.3013785183429718, 0.2672378122806549, -0.12269588559865952, 0.5200556516647339, 0.08777207881212234, -0.12074422836303711, -0.10075884312391281, -0.4250037670135498, -0.7439718246459961, -0.40061110258102417, 0.406524658203125, 0.2291916161775589, -0.34923362731933594, 0.10606333613395691, -0.30567508935928345, -0.22019608318805695, -0.4130036532878876, -0.22765366733074188, 0.7814711332321167, 0.8417927622795105, 0.23078219592571259, -0.404690146446228, -0.666576087474823, -0.8460495471954346, 0.23199580609798431, -0.5358830094337463, 0.23488911986351013, 0.48878008127212524, 0.3168606162071228, -0.01905745454132557, 1.228556513786316, -0.06959035992622375, 0.17633576691150665, -0.06660327315330505, 0.09058594703674316, 0.07286995649337769, 0.4519844353199005, 0.6968143582344055, -1.2503498792648315, -0.6583606004714966, -0.18048954010009766, 0.08001479506492615, -0.07917653024196625, 0.29224711656570435, 0.20315340161323547, -0.33972349762916565, 0.1791388988494873, -0.5251629948616028, 0.8745108842849731, 0.46049773693084717, -0.47994524240493774, 0.2310539335012436, 0.33466604351997375, 0.21123312413692474, -0.6206414103507996, 0.054391153156757355, -0.016166921705007553, -0.23660247027873993, -1.1773316860198975, -0.28808772563934326, -0.3888471722602844, -0.22254279255867004, -0.4692288637161255, 0.2438047230243683, -0.24750417470932007, -0.3279247581958771, -0.05421267822384834, 0.4634776711463928, -0.15527667105197906, 0.018076607957482338, 0.2453174889087677, 1.0840418338775635, 0.367015540599823, -0.5400316715240479, 0.3515968322753906, 0.4817913770675659, -0.21800807118415833, 0.6937921047210693, -0.6573896408081055, 0.232615128159523, -0.0255134180188179, 0.4316292405128479, -1.4092239141464233, -0.37832948565483093, 0.23170998692512512, -0.38081249594688416, 0.6239281296730042, -0.5060346722602844, -0.15604537725448608, -0.3146360218524933, 0.00541776092723012, 0.365373432636261, 0.0842369943857193, -0.6110761165618896, 0.2636978030204773, 0.5509423017501831, -0.46983951330184937, -0.7253307104110718, -0.7307782173156738, 0.12408040463924408, -0.19006966054439545, -0.8157208561897278, 1.040343165397644, -0.17222914099693298, -0.6933817863464355, -0.09611079096794128, -0.21499276161193848, -0.21918201446533203, 0.08931661397218704, 0.19820955395698547, -0.21341684460639954, -0.2466050684452057, 0.15096303820610046, -0.24969497323036194, -0.22508201003074646, -0.1718778759241104, 0.29584214091300964, 0.6377357244491577, -0.26274028420448303, -0.30319300293922424, -0.5557145476341248, 0.07920866459608078, 0.3013001084327698, -0.29054468870162964, 0.7690451145172119, 0.4782641530036926, -0.7701781392097473, 0.003245392581447959, -0.20982931554317474, -0.3065986633300781, -0.38437125086784363, 0.2966935634613037, -0.7341696619987488, -0.5796408653259277, 0.31077298521995544, 0.013745865784585476, -0.22201159596443176, 0.012100519612431526, 0.4458365738391876, 0.06306277215480804, 0.8319535851478577, 0.7186749577522278, -0.037529539316892624, 0.4267328083515167, -0.4053085744380951, 0.24655909836292267, -0.7453499436378479, -0.1846867948770523, -0.5516673922538757, -0.1996270716190338, -0.3158069849014282, -0.3978908360004425, 0.00820417795330286, 0.37978595495224, -0.04400862008333206, 0.28290408849716187, -0.35509955883026123, 0.3588419258594513, 0.02033834531903267, 0.09420972317457199, 0.43772321939468384, 0.011925260536372662, -0.007464863825589418, -0.02204958349466324, -0.5951318740844727, -0.2238689363002777, 0.5681325793266296, 0.7958347201347351, 0.6668586730957031, 0.280053973197937, 0.634330153465271, 0.28165557980537415, 0.06251808255910873, -0.5319953560829163, 0.47810283303260803, -0.4630514681339264, -0.5847207307815552, -0.4942084848880768, -0.6124900579452515, -0.7750565409660339, 0.37155553698539734, -0.004967124201357365, -0.9906122088432312, 0.819559633731842, 0.03780439496040344, -0.42408573627471924, 0.13942481577396393, -0.575315535068512, 0.7412986755371094, 0.2577421963214874, 0.039257146418094635, -0.5113288164138794, -0.6476651430130005, 0.30636700987815857, 0.1362875998020172, 0.3460734784603119, -0.19833819568157196, 0.2300654947757721, 0.7374123930931091, -0.2525443434715271, 1.0121376514434814, -0.4310862720012665, -0.13221044838428497, 0.17076851427555084, 0.14573906362056732, 0.18980778753757477, 0.12429048866033554, -0.3320528566837311, -0.28814440965652466, -0.26459890604019165, -0.24512304365634918, -0.2181263566017151, 0.7125476598739624, -0.7956826090812683, -0.49444153904914856, -0.11502768844366074, -0.47499093413352966, -0.5294655561447144, -0.04573548212647438, -0.2862224876880646, 0.5303974151611328, -0.5611478090286255, 0.6286801695823669, 0.885917603969574, 0.35105863213539124, 0.6165568232536316, 0.7710441946983337, -0.1288086324930191, -0.4763677716255188, 0.6153614521026611, -0.16840706765651703, 0.4190964102745056, 0.37987020611763, 0.15013998746871948, -0.19300729036331177, -0.7152596712112427, -0.39171674847602844, 0.21603967249393463, -0.741956889629364, 0.19860702753067017, -0.4828721582889557, -0.39137721061706543, -0.43865320086479187, 0.155986025929451, -0.423156201839447, -0.634170413017273, -0.16095437109470367, -0.45530542731285095, 0.12527276575565338, 0.6822385191917419, -0.11779552698135376, 0.7036247849464417, -0.27402031421661377, 0.29787328839302063, 0.673527181148529, 0.3968020975589752, 0.17740951478481293, -0.4251025319099426, -0.11479754745960236, 0.21691466867923737, -0.13114961981773376, -1.1954855918884277, -0.029401833191514015, 0.5207892656326294, 0.5482358932495117, 0.38710516691207886, 0.029279498383402824, 0.7385051250457764, -0.32744187116622925, 0.7519838213920593, 0.09294251352548599, -1.0771960020065308, 0.5098704099655151, -0.4587608277797699, -0.22265806794166565, 0.588948667049408, -0.017937008291482925, -0.5623324513435364, 0.4025910496711731, -0.6031654477119446, -0.6117334365844727, 0.8893730044364929, 0.5512564778327942, -0.08657363802194595, 0.2728929817676544, 0.23661665618419647, -0.0802399292588234, 0.5081730484962463, -0.3796163499355316, -0.2501114010810852, -0.06375844031572342, 0.11279051005840302, -0.24024377763271332, -0.2951561212539673, -0.3177793622016907, -0.38032227754592896, 0.5525096654891968, 0.26972734928131104, 0.11552150547504425, 0.021904895082116127, 0.08844829350709915, -0.6795140504837036, 0.23716126382350922, 0.5404549241065979, 0.8616836071014404, -0.3950035274028778, 0.23487912118434906, -0.025094464421272278, -0.5218328237533569, 0.26486459374427795, 0.6266940832138062, 0.10429101437330246, -0.19300691783428192, 0.5541227459907532, 0.9476694464683533, 0.34092000126838684, -0.3756468594074249, 0.4749681055545807, -0.35890400409698486, -0.010833553969860077, -0.032531216740608215, 0.17165322601795197, 0.32658207416534424, 0.03951451927423477, 0.22712278366088867, -0.12056936323642731, 0.1232919991016388, -0.42851611971855164, 0.6006219983100891, 0.20684008300304413, -0.5685687065124512, -0.19934962689876556, 0.44630733132362366, 0.5463528633117676, -0.5161786675453186, 0.8099044561386108, 0.07895974069833755, -0.3421938121318817, 0.6314587593078613, 0.6321007609367371, 0.7269179821014404, -0.6479412317276001, 0.3384908437728882, -0.18674027919769287, 0.06900060176849365, 0.4638175666332245, -0.023181693628430367, -0.39213934540748596, -0.880379319190979, -0.2005438208580017, -0.5772049427032471, -0.5818926692008972, 0.23766791820526123, -0.5599819421768188, 0.13933366537094116, -0.32546550035476685, -0.3685332238674164, 0.3593153953552246, 0.2669221758842468, -0.48088663816452026, 0.4045153558254242, 0.567028284072876, 0.8448501825332642, -0.868865966796875, 0.6696231961250305, 0.6704480648040771, -0.18981261551380157, -0.3757804036140442, 0.19354669749736786, 0.018621310591697693, -0.3401740491390228, 0.4727919399738312, 0.23635029792785645, -0.4912314713001251, 0.20115381479263306, -0.14753228425979614, -0.4801238477230072, 1.0444362163543701, 0.3323986530303955, -0.734480619430542, 0.04031912609934807, 0.4640918970108032, 0.5001847147941589, -0.8387254476547241, 0.09581097960472107, 1.0487126111984253, 0.5130010843276978, 0.34162676334381104, -1.2605308294296265, -0.35882124304771423, -0.242495596408844, 0.36556002497673035, -0.007946936413645744, -0.4710051715373993, 1.0857137441635132, -0.22361205518245697, -0.20286741852760315, 0.006566275376826525, 0.4554182291030884, 0.33915823698043823, 0.6735943555831909, 1.046207308769226, 0.3385206162929535, 0.5564701557159424, -0.1474086493253708, 0.46807530522346497, -0.3421841859817505, 0.22287507355213165, 0.849295973777771, -0.2585276961326599, 0.743313193321228, 0.582634449005127, -0.475772887468338, 0.403144508600235, 0.9205124378204346, 0.4846581518650055, 0.6814764738082886, 0.37580442428588867, -0.47714585065841675, -0.19672338664531708, -0.292407363653183, -0.43925538659095764, 0.5726329684257507, 0.7666630744934082, -0.16097621619701385, -0.054282333701848984, 0.1519586443901062, -0.09102966636419296, 0.35600546002388, -0.07281889021396637, 0.652235746383667, 0.22977982461452484, -0.12455596029758453, 0.8256319761276245, 0.08685636520385742, 0.2234189808368683, -0.27132031321525574, -0.13768276572227478, -0.1652528941631317, 0.2556985318660736, -0.2983323931694031, -0.5798512697219849, 0.11966964602470398, 0.0159154050052166, -0.5281198620796204, -0.21098507940769196, 0.782582700252533, -0.5309581160545349, -0.06062676012516022, 0.41468116641044617, 0.32988855242729187, -0.04650518298149109, 0.2389126718044281, -0.5838954448699951, 0.14806953072547913, -0.03984413668513298, -0.33207952976226807, 0.15667949616909027, 0.09252730756998062, 0.20381459593772888, 0.5499658584594727, 0.31273719668388367, 0.021222980692982674, -0.07804001867771149, 0.35925546288490295, 0.7057328224182129, -0.20469576120376587, -0.5564384460449219, -0.6520600914955139, 0.5207250118255615, 0.03512062877416611, -0.08956202864646912, 0.16675539314746857, 0.19158117473125458, 0.8469762206077576, 0.015061086043715477, 0.3826415538787842, -0.21078015863895416, 0.5417283773422241, -0.19477523863315582, 0.5667821764945984, -0.1401619166135788, 0.38816598057746887, -0.3856927156448364, -0.7754702568054199, -0.03266417607665062, 0.7573037147521973, -0.3757958710193634, 0.32025668025016785, 0.08858725428581238, 0.5515492558479309, -0.288563996553421, 0.473075807094574, 0.22317269444465637, 0.24790959060192108, 0.6099717617034912, 0.54820716381073, 0.7196625471115112, -0.10427181422710419, 0.32788124680519104, -0.9521313309669495, -0.4481528401374817, -0.38010117411613464, -0.651695191860199, -0.9997855424880981, -0.47097527980804443, -0.28227534890174866, 0.0033180166501551867, 0.6097396612167358, 0.7905153632164001, 1.1868209838867188, -0.7929586172103882, -0.42853838205337524, -0.21089904010295868, -0.05995757132768631, -0.3854968547821045, -0.19946777820587158, 0.15003398060798645, 0.35108792781829834, -0.7459791302680969, 1.1595209836959839, -0.07940758764743805, 0.2181735783815384, -0.5308921933174133, -0.2654017210006714, -0.12448700517416, 0.12902279198169708, 0.22181378304958344, 0.11407604068517685, -0.6042077541351318, -0.26878079771995544, -0.25049474835395813, -0.0354451909661293, -0.023262226954102516, 0.759030818939209, -0.7710332274436951, 0.6478481888771057, 0.491349995136261, 0.3127855360507965, 0.7904022932052612, 0.3710252344608307, 0.7196844816207886, -1.0431007146835327, 0.3684193789958954, 0.18286147713661194, 0.14177341759204865, 0.7705637812614441, -0.34847351908683777, 0.7028989791870117, 0.45818862318992615, -0.28938916325569153, -1.0586918592453003, 0.444644957780838, -0.5722587704658508, 0.09613604098558426, 0.6170680522918701, -0.2869201898574829, 0.22709183394908905, 0.054373111575841904, -0.05453549325466156, 0.2699355483055115, -0.30781733989715576, 0.6097654700279236, 0.7124475240707397, -0.4472675025463104, -0.4103139638900757, -0.3622206747531891, 0.6054769158363342, 0.1458737850189209, -0.329274445772171, 0.37243589758872986, 0.308302640914917, 0.14516378939151764, 0.2643473148345947, 0.7671981453895569, 0.17255806922912598, 0.2951754331588745, 0.18725042045116425, -0.12235169112682343, -0.06372101604938507, -0.7675539255142212, -0.4063449203968048, 0.007564113009721041, 0.008068700321018696, -0.2996809482574463 ]
http://arxiv.org/abs/2406.07887v1
http://arxiv.org/pdf/2406.07887v1
An Empirical Study of Mamba-based Language Models
2024-06-12T05:25:15
2024-06-12T05:25:15
Roger Waleffe, Wonmin Byeon, Duncan Riach, Brandon Norick, Vijay Korthikanti, Tri Dao, Albert Gu, Ali Hatamizadeh, Sudhakar Singh, Deepak Narayanan, Garvit Kulshreshtha, Vartika Singh, Jared Casper, Jan Kautz, Mohammad Shoeybi, Bryan Catanzaro
cs.LG
cs.LG, cs.CL
Selective state-space models (SSMs) like Mamba overcome some of the shortcomings of Transformers, such as quadratic computational complexity with sequence length and large inference-time memory requirements from the key-value cache. Moreover, recent studies have shown that SSMs can match or exceed the language modeling capabilities of Transformers, making them an attractive alternative. In a controlled setting (e.g., same data), however, studies so far have only presented small scale experiments comparing SSMs to Transformers. To understand the strengths and weaknesses of these architectures at larger scales, we present a direct comparison between 8B-parameter Mamba, Mamba-2, and Transformer models trained on the same datasets of up to 3.5T tokens. We also compare these models to a hybrid architecture consisting of 43% Mamba-2, 7% attention, and 50% MLP layers (Mamba-2-Hybrid). Using a diverse set of tasks, we answer the question of whether Mamba models can match Transformers at larger training budgets. Our results show that while pure SSMs match or exceed Transformers on many tasks, they lag behind Transformers on tasks which require strong copying or in-context learning abilities (e.g., 5-shot MMLU, Phonebook) or long-context reasoning. In contrast, we find that the 8B Mamba-2-Hybrid exceeds the 8B Transformer on all 12 standard tasks we evaluated (+2.65 points on average) and is predicted to be up to 8x faster when generating tokens at inference time. To validate long-context capabilities, we provide additional experiments evaluating variants of the Mamba-2-Hybrid and Transformer extended to support 16K, 32K, and 128K sequences. On an additional 23 long-context tasks, the hybrid model continues to closely match or exceed the Transformer on average. To enable further study, we release the checkpoints as well as the code used to train our models as part of NVIDIA's Megatron-LM project.
[ -0.6858692765235901, -0.6882241368293762, 0.46092846989631653, 0.13211901485919952, -0.16623400151729584, 0.27432581782341003, -0.24392017722129822, -0.36006373167037964, 0.21277526021003723, 0.5918842554092407, -0.37377795577049255, 0.07925841212272644, -0.5674198865890503, 0.07839950174093246, -0.46326467394828796, 0.5215726494789124, -0.05802806466817856, -0.050765298306941986, -0.09099768102169037, -0.30352383852005005, -0.577475368976593, -0.6360918879508972, -0.39890554547309875, -0.36585572361946106, 0.45730072259902954, 0.21262037754058838, 0.9580528140068054, 0.46509692072868347, 0.4100695848464966, 0.22725199162960052, -0.43464395403862, 0.21752992272377014, -0.23285874724388123, -0.09546055644750595, -0.21902434527873993, -0.5143526196479797, -0.33270689845085144, -0.005215325392782688, 0.7615141272544861, 0.678926408290863, -0.19682414829730988, 0.283376544713974, 0.025737084448337555, 0.6834174394607544, -0.7701852917671204, 0.2289365530014038, -0.648581326007843, 0.17693136632442474, -0.1244933009147644, 0.2312086671590805, -0.6742264032363892, -0.17959299683570862, -0.1380055695772171, -0.44819194078445435, -0.03629908710718155, 0.1648653745651245, 1.0653437376022339, 0.39845722913742065, -0.5825058817863464, -0.2050093412399292, -1.0809680223464966, 0.915408194065094, -0.6692439317703247, 0.37542828917503357, 0.20101726055145264, 0.738324761390686, -0.18622078001499176, -0.3478020131587982, -0.6665375828742981, -0.30939599871635437, -0.06418632715940475, 0.2301727831363678, -0.24620918929576874, -0.10914109647274017, 0.5417492985725403, 0.48060646653175354, -0.3887366056442261, 0.3855192959308624, -0.658884584903717, -0.16742372512817383, 0.31101569533348083, 0.3675720989704132, 0.09847310185432434, -0.46057575941085815, -0.41364383697509766, -0.16205191612243652, -0.7443017363548279, 0.2105080783367157, 0.2999458312988281, 0.25618094205856323, -0.15522922575473785, 0.7628057599067688, 0.12394002825021744, 0.7915753126144409, 0.06143539398908615, -0.1984911561012268, 0.06724559515714645, -0.36376652121543884, -0.2780870795249939, -0.284665584564209, 0.6931525468826294, 0.10012053698301315, 0.1256675124168396, -0.25030985474586487, -0.1582038253545761, 0.26615622639656067, 0.5562820434570312, -0.6704102754592896, 0.16924794018268585, 0.06864216923713684, -0.5055114030838013, 0.10612481087446213, -0.17332208156585693, -0.7365667819976807, -0.3381754457950592, -0.5220524668693542, 0.5222605466842651, -0.541179358959198, -0.40481624007225037, 0.021925153210759163, -0.004878536332398653, 0.5408270359039307, -0.06431369483470917, -0.8636642694473267, 0.4255429804325104, 0.5770174264907837, 0.9244345426559448, -0.36744701862335205, -0.17985212802886963, -0.15838560461997986, 0.06472612172365189, -0.5179262161254883, 0.6030025482177734, -0.7431285977363586, -0.5840848088264465, -0.18310266733169556, -0.1347031146287918, -0.3059949278831482, -0.8217585682868958, 0.33377596735954285, -0.4668436348438263, -0.025865353643894196, -0.3280157148838043, -0.5325630903244019, -0.1086321473121643, -0.021796034649014473, -0.8665274381637573, 1.1636085510253906, 0.3876611590385437, -0.3562808036804199, 0.5287429094314575, -0.661139190196991, -0.6174463629722595, -0.3205376863479614, -0.18202447891235352, -0.49466845393180847, 0.1536586582660675, 0.0493762269616127, 0.6132694482803345, -0.6106479167938232, 0.3302649259567261, -0.314323753118515, -0.6183411478996277, 0.19888678193092346, -0.08212997764348984, 0.5907560586929321, 0.29659900069236755, -0.5335507392883301, 0.1350678950548172, -0.8819578886032104, -0.34656989574432373, 0.4077814817428589, -0.3767320215702057, -0.15773536264896393, 0.2397174835205078, -0.20855720341205597, 0.5872332453727722, -0.10058023035526276, -0.40385982394218445, 0.15175992250442505, -0.43143120408058167, 0.638187050819397, 0.6098511815071106, -0.40406563878059387, 0.7213849425315857, -0.177909716963768, 0.7501429319381714, 0.2775983214378357, 0.23209340870380402, -0.2995232343673706, -0.470562219619751, -0.921750009059906, -0.36523112654685974, 0.24383923411369324, 0.39722615480422974, -0.730865478515625, 0.568071722984314, -0.3075581192970276, -0.6813602447509766, -0.4839620590209961, -0.020199935883283615, 0.24526740610599518, 0.3807045519351959, 0.5292072892189026, -0.2654455304145813, -0.4903527498245239, -1.397379994392395, 0.01426623109728098, 0.19090020656585693, -0.13246768712997437, 0.6497219800949097, 0.5352296829223633, -0.13496297597885132, 1.0104694366455078, -0.14455294609069824, -0.08766486495733261, -0.5438098907470703, -0.2920520007610321, 0.22147899866104126, 0.2787468731403351, 0.8130366206169128, -0.6674461960792542, -0.17067672312259674, -0.11725331097841263, -0.559524416923523, 0.19053302705287933, -0.15411235392093658, 0.08813104033470154, 0.10010969638824463, 0.36932530999183655, -0.8229427337646484, 0.1901402324438095, 0.7920302748680115, -0.08744332194328308, 0.41641509532928467, -0.03807033225893974, -0.05209088698029518, -1.3393582105636597, 0.15055836737155914, 0.058389078825712204, 0.06599186360836029, -0.539475679397583, 0.07595781981945038, 0.3078204393386841, -0.30367663502693176, -0.4938788414001465, 0.535183310508728, -0.4037182927131653, -0.5960401296615601, -0.3915722072124481, 0.1894436627626419, -0.14499247074127197, 0.716106116771698, -0.10969984531402588, 0.9674717783927917, 0.5288958549499512, -0.7519691586494446, 0.0754857286810875, -0.019460899755358696, -0.659373939037323, 0.31809863448143005, -0.6587347388267517, 0.09485923498868942, -0.02735254168510437, 0.5599048733711243, -1.0271797180175781, -0.031414907425642014, -0.08736617118120193, -0.1696506142616272, 0.20861785113811493, -0.04104533791542053, -0.7249805331230164, -0.581588089466095, 0.0987299308180809, 0.25478434562683105, 0.7868918776512146, -0.4796435832977295, 1.1336442232131958, 0.43332335352897644, 0.10295175760984421, -0.5509123206138611, -0.5591070055961609, 0.09449063241481781, -0.2465849369764328, -0.3553483486175537, 0.224277064204216, 0.2895117998123169, -0.032305121421813965, -0.20296987891197205, -0.24996818602085114, 0.15673142671585083, 0.2927798926830292, 0.5988267064094543, 0.4806440770626068, -0.42919105291366577, -0.18379029631614685, 0.22254785895347595, -0.30610209703445435, -0.020533714443445206, -0.07192783057689667, 0.7723933458328247, -0.07319267839193344, -0.3857439458370209, -0.09359543770551682, 0.18300800025463104, 0.7743635177612305, -0.4107058048248291, 1.1880868673324585, 0.4474934935569763, -0.3610081672668457, -0.21697594225406647, -0.541209876537323, -0.08417924493551254, -0.4894249737262726, 0.29618799686431885, -0.5919163823127747, -0.9577087759971619, 0.6035418510437012, -0.0927572175860405, 0.33909669518470764, 0.630583643913269, 0.7888349294662476, 0.14693520963191986, 1.0876961946487427, 0.4206872582435608, -0.3036942780017853, 0.4337939918041229, -0.23306839168071747, 0.2470504343509674, -1.023236632347107, -0.2151412069797516, -0.5304226875305176, -0.6503871083259583, -0.38075464963912964, -0.48350590467453003, 0.0920877754688263, -0.022923847660422325, -0.16246412694454193, 0.7844138741493225, -0.28991636633872986, 0.43607431650161743, 0.44350385665893555, -0.14969515800476074, -0.13824699819087982, -0.13112980127334595, -0.42864686250686646, 0.07766718417406082, -0.945636510848999, -0.5936718583106995, 0.9280790090560913, 0.24709175527095795, 0.5618051886558533, 0.08141887187957764, 0.11165965348482132, -0.03239847719669342, 0.2723710536956787, -0.7041845917701721, 0.7642157077789307, -0.18910335004329681, -0.8953455090522766, -0.11204130947589874, -0.3362544775009155, -0.9756536483764648, 0.49905139207839966, -0.264350950717926, -0.5977577567100525, 0.07942903786897659, 0.10063406080007553, -0.3695875406265259, 0.5746190547943115, -0.7722071409225464, 0.6754011511802673, 0.04123437777161598, -0.0667763203382492, -0.42237427830696106, -0.6489374041557312, 0.3922678530216217, -0.24555137753486633, 0.22087912261486053, -0.3160433769226074, 0.06486400216817856, 0.5288176536560059, -0.15604431927204132, 0.7581673860549927, -0.18563321232795715, 0.012206234969198704, 0.3955594003200531, 0.10727346688508987, 0.35853052139282227, -0.4207497835159302, -0.20040592551231384, 0.17691943049430847, -0.2919912338256836, -0.6181761026382446, -0.6358635425567627, 0.5955753326416016, -0.8659792542457581, -0.5636710524559021, -0.07838033139705658, -0.5961869359016418, -0.44857680797576904, 0.08673888444900513, 0.11731848865747452, 0.3888593316078186, 0.0562480203807354, 0.6027242541313171, 0.4171864986419678, -0.3866707682609558, 0.4031139612197876, 0.4702129662036896, -0.3313985764980316, 0.031078830361366272, 0.6864756941795349, 0.29520183801651, 0.5677703619003296, 0.3876737654209137, 0.13451437652111053, -0.24778208136558533, -0.42642852663993835, -0.7220996618270874, 0.04976095259189606, -0.6351091861724854, -0.024930298328399658, -0.5650561451911926, -0.270186185836792, -0.031974367797374725, -0.14200754463672638, -0.6771182417869568, -0.5021176338195801, 0.018253933638334274, -0.1679552048444748, 0.11679739505052567, 0.6398932933807373, 0.3465336561203003, 0.2726939022541046, -0.6128455996513367, 0.4365057349205017, 0.08570757508277893, 0.3282979130744934, 0.36357229948043823, -0.6733579039573669, -0.367100328207016, -0.02030859887599945, -0.2717800736427307, -0.7725992202758789, -0.06120406091213226, -0.15092125535011292, 0.6915669441223145, 0.2086215764284134, -0.2929571866989136, 0.6665307879447937, -0.717039942741394, 1.0295298099517822, 0.09814633429050446, -0.9160290360450745, 0.44057926535606384, -0.20237521827220917, 0.2525745630264282, 0.2661516070365906, 0.4038853347301483, -0.23167593777179718, -0.45034515857696533, -0.5130285620689392, -0.6812072396278381, 0.708004891872406, 0.3823736906051636, 0.162716805934906, -0.011351430788636208, 0.5003623962402344, 0.15453368425369263, 0.022786375135183334, -0.4948575794696808, -0.39886781573295593, -0.30505242943763733, -0.10000734776258469, -0.36657992005348206, 0.00038404640508815646, 0.2079227715730667, -0.0745810866355896, 0.43282151222229004, -0.06095938757061958, 0.24554425477981567, -0.2713318467140198, -0.27039673924446106, 0.12368965893983841, 0.35344216227531433, 0.7776572108268738, 0.6400519013404846, 0.23604123294353485, 0.033291786909103394, 0.503481388092041, -0.3180783689022064, 0.39752495288848877, -0.02261197753250599, -0.08286938816308975, 0.0567501038312912, -0.0788160189986229, 1.0432299375534058, 0.569122850894928, -0.695972204208374, 0.25229427218437195, 0.2083924561738968, -0.14786753058433533, -0.03706997632980347, 0.5055475831031799, 0.3465234637260437, 0.3318745791912079, 0.27684301137924194, 0.22790320217609406, -0.1016516461968422, -0.4712430238723755, -0.07463895529508591, 0.4632994532585144, -0.21737101674079895, -0.3640838861465454, 0.841768205165863, 0.05198002606630325, -0.395759254693985, 0.44158822298049927, 0.06848115473985672, -0.23357751965522766, 0.8777595162391663, 0.6068441867828369, 0.5256710648536682, -0.3367585241794586, -0.06284399330615997, 0.39562493562698364, 0.40784600377082825, -0.23795969784259796, -0.03179818391799927, -0.11314834654331207, -0.746639609336853, -0.5444942712783813, -0.7159635424613953, -0.6390781402587891, 0.21131263673305511, -0.9478481411933899, 0.11349628865718842, -0.7132276892662048, -0.5286037921905518, 0.19805091619491577, -0.17046527564525604, -0.5910636782646179, 0.184486985206604, 0.212079256772995, 0.9884467124938965, -0.6969618201255798, 0.997726321220398, 0.5885669589042664, -0.2705705165863037, -0.9867018461227417, -0.3877151310443878, -0.059293631464242935, -0.8388053774833679, 0.35263997316360474, 0.186552956700325, -0.1794973760843277, -0.2996562719345093, -0.042030420154333115, -0.9315218925476074, 1.1932034492492676, 0.41976234316825867, -0.7905578017234802, -0.14837272465229034, 0.3348604142665863, 0.5155549049377441, -0.11609425395727158, -0.0018533621914684772, 0.764836847782135, 0.29769477248191833, -0.04970192164182663, -0.9630057215690613, -0.008542060852050781, -0.07132390886545181, 0.07678607851266861, 0.6286140084266663, -1.0105412006378174, 0.787986695766449, -0.10684194415807724, -0.05991637334227562, 0.16567543148994446, 0.8492248058319092, 0.4465360641479492, -0.11112359911203384, 0.6915351748466492, 0.3199566602706909, 0.4504314064979553, -0.1968110352754593, 1.2310196161270142, -0.4998262822628021, 0.2949203848838806, 0.8978263139724731, -0.5863029956817627, 0.9675400257110596, 0.3693779706954956, -0.440964013338089, 0.5579485893249512, 0.5405199527740479, -0.24779647588729858, 0.23108693957328796, 0.09560175240039825, 0.20159126818180084, -0.2691255509853363, 0.14172205328941345, -0.1983204483985901, 0.3506695032119751, 0.30319997668266296, -0.3616429269313812, 0.07264798134565353, 0.11144641041755676, -0.07020875811576843, -0.10805471986532211, -0.32666394114494324, 0.3777741491794586, 0.28216296434402466, -0.7386030554771423, 0.3780324459075928, 0.18353138864040375, 0.6359544396400452, -0.6368926167488098, 0.47609788179397583, -0.3124699592590332, 0.2584126591682434, 0.037229083478450775, -0.6693801283836365, 0.4604225158691406, 0.0684673860669136, -0.16034109890460968, -0.06106287240982056, 0.6869615912437439, 0.00780658982694149, -0.49618223309516907, 0.3866017758846283, 0.422744482755661, -0.09063248336315155, 0.06840313225984573, -0.6622450947761536, -0.003784560365602374, -0.35926759243011475, -0.37064075469970703, 0.5682923197746277, -0.1019536703824997, 0.0037836809642612934, 0.7007220387458801, 0.5356807708740234, -0.11250165849924088, 0.3251938819885254, 0.18006889522075653, 0.6649339199066162, -0.7506927847862244, -0.49977728724479675, -0.8739849328994751, 0.21082264184951782, 0.06696116924285889, -0.26168525218963623, 0.8759925365447998, 0.8035984039306641, 0.6403020024299622, -0.06416960060596466, 0.4751536548137665, 0.21084053814411163, 0.5136263966560364, -0.6292034387588501, 0.4461282789707184, -0.6717023253440857, 0.0004401863261591643, -0.12388142198324203, -1.2526230812072754, 0.06809131801128387, 0.513705313205719, -0.3321690559387207, 0.24561071395874023, 0.44215336441993713, 0.6085115075111389, -0.29097452759742737, 0.10919929295778275, 0.3615434169769287, 0.09664031863212585, 0.2578789293766022, 0.7146571278572083, 1.0478105545043945, -0.29635804891586304, 0.6909480094909668, -0.05807783827185631, 0.13130658864974976, -0.3327656388282776, -0.422256737947464, -1.0498194694519043, -0.5683498978614807, 0.033516403287649155, -0.3353237807750702, -0.23882809281349182, 0.691774845123291, 0.782687246799469, -0.6562254428863525, -0.13471229374408722, 0.2604031562805176, -0.07008657604455948, -0.30457812547683716, -0.18981482088565826, 0.1888185441493988, 0.03110572136938572, -0.741971492767334, 0.516791045665741, 0.5727440118789673, 0.06973832100629807, -0.5302682518959045, -0.015216264873743057, 0.11475368589162827, 0.5515170097351074, 0.8528663516044617, 0.1404954195022583, -0.9811683297157288, -0.2542610466480255, 0.3491835296154022, -0.2903275489807129, 0.27839720249176025, 1.017759919166565, -0.8062503337860107, 0.02338230237364769, 0.2030327469110489, 0.7843696475028992, 0.6915348768234253, -0.24041485786437988, 0.41398748755455017, -0.49599358439445496, 0.2772212326526642, 0.0482642725110054, 0.7385700941085815, 0.14663733541965485, 0.21973606944084167, 0.39138370752334595, -0.07432284951210022, -0.32050207257270813, -0.719453752040863, 0.2663736045360565, -1.0394688844680786, -0.4115121066570282, 1.2294871807098389, 0.04561346769332886, -0.11319643259048462, 0.0799662247300148, -0.19931723177433014, 0.19591470062732697, -0.027765002101659775, 0.6990688443183899, 0.8582636713981628, 0.11798378825187683, -0.02604815363883972, -0.656402587890625, 0.13079659640789032, 0.6025832295417786, -0.6751362681388855, -0.15660277009010315, 0.2371184378862381, 0.2019038051366806, 0.31378787755966187, 0.20836284756660461, -0.0683685913681984, 0.3408759534358978, 0.16749468445777893, -0.30118227005004883, -0.11673147231340408, -0.3404228091239929, -0.2708877921104431, 0.3000403642654419, -0.2122076153755188, 0.006589436903595924 ]
http://arxiv.org/abs/2406.07886v1
http://arxiv.org/pdf/2406.07886v1
Label-aware Hard Negative Sampling Strategies with Momentum Contrastive Learning for Implicit Hate Speech Detection
2024-06-12T05:24:58
2024-06-12T05:24:58
Jaehoon Kim, Seungwan Jin, Sohyun Park, Someen Park, Kyungsik Han
cs.CL
cs.CL
Detecting implicit hate speech that is not directly hateful remains a challenge. Recent research has attempted to detect implicit hate speech by applying contrastive learning to pre-trained language models such as BERT and RoBERTa, but the proposed models still do not have a significant advantage over cross-entropy loss-based learning. We found that contrastive learning based on randomly sampled batch data does not encourage the model to learn hard negative samples. In this work, we propose Label-aware Hard Negative sampling strategies (LAHN) that encourage the model to learn detailed features from hard negative samples, instead of naive negative samples in random batch, using momentum-integrated contrastive learning. LAHN outperforms the existing models for implicit hate speech detection both in- and cross-datasets. The code is available at https://github.com/Hanyang-HCC-Lab/LAHN
[ -0.3822001814842224, -0.7191744446754456, 0.40773892402648926, 0.006286997813731432, -0.21098937094211578, 0.07573682814836502, -0.1315487027168274, -0.6519617438316345, 0.22494080662727356, 0.31696775555610657, -0.6424204111099243, -0.7491097450256348, -0.5499230623245239, -0.2930438816547394, -0.49172404408454895, 1.2459542751312256, 0.141694113612175, 0.289808064699173, 0.08724183589220047, -0.2999042272567749, 0.05324326083064079, -0.6628178358078003, -0.8859983682632446, -0.31140652298927307, 0.8607971668243408, 0.34741050004959106, 0.2263525128364563, 0.18812480568885803, 0.14375589787960052, 0.11124785989522934, -0.13891328871250153, -0.2173313945531845, -0.7492244839668274, 0.5648503303527832, -0.10512881726026535, -0.3773731291294098, -0.3647811710834503, 0.25612714886665344, 0.5408102869987488, 0.4038504660129547, -0.1048877090215683, 0.030011596158146858, 0.026811089366674423, 0.346951961517334, -0.9278742671012878, -0.16521629691123962, -0.7283002138137817, 0.21199901401996613, -0.5883522629737854, 0.17155902087688446, -0.37751060724258423, -0.2501274347305298, -0.17368976771831512, -0.6094575524330139, 0.4157484769821167, 0.07763197273015976, 0.4496324062347412, 0.11135588586330414, -0.3036554753780365, -0.46857231855392456, -0.7908446192741394, 1.0557425022125244, -0.5878093838691711, 0.5579583048820496, 0.45440900325775146, 0.13984191417694092, 0.01616744138300419, -0.34317973256111145, -0.6812026500701904, -0.34696143865585327, 0.30148372054100037, 0.286257803440094, -0.15312208235263824, 0.19831247627735138, 0.22204621136188507, 0.12112647294998169, -0.3208988606929779, 0.7330982089042664, -0.43774688243865967, -0.34471237659454346, 0.6326702833175659, -0.025806793943047523, -0.0802479162812233, 0.13112056255340576, -0.3723994493484497, -0.27811139822006226, -0.5829755663871765, -0.018418103456497192, 0.7647399306297302, 0.8203482031822205, -0.07526357471942902, 0.39709028601646423, -0.08931313455104828, 0.4842497408390045, 0.09932106733322144, -0.12149116396903992, 0.516374409198761, 0.27175289392471313, -0.046089962124824524, 0.36014819145202637, 0.5603114366531372, 0.01266186311841011, 0.3122776746749878, -0.16169016063213348, -0.20580719411373138, 0.3078884482383728, 0.16022779047489166, -0.9473795294761658, -0.12261473387479782, 0.36220747232437134, -0.18324267864227295, -0.3624030351638794, -0.40551406145095825, -0.708993136882782, -0.985085129737854, -0.12321760505437851, 0.33897480368614197, -0.4122439920902252, -0.356842041015625, -0.14715959131717682, -0.32165899872779846, 0.23930425941944122, 0.47646480798721313, -0.4298875629901886, 0.333805650472641, 0.559194803237915, 0.5592504739761353, -0.3965989947319031, 0.13630087673664093, -0.8934797644615173, -0.025555403903126717, -0.1688288301229477, 0.5760823488235474, -0.5588201284408569, -0.28607475757598877, 0.06786871701478958, -0.2598974108695984, 0.2853181064128876, -0.6890829801559448, 0.8412753939628601, -0.5996366739273071, 0.05131101235747337, -0.08879845589399338, -0.5351274013519287, -0.3787197470664978, 0.33901140093803406, -0.4195704162120819, 0.8153274059295654, 0.13183674216270447, -0.6321181654930115, 0.4646154046058655, -0.21628326177597046, -0.6726111173629761, -0.07402803748846054, -0.19138574600219727, -0.8826426267623901, 0.09432993084192276, 0.028452640399336815, 0.6216911673545837, -0.03927737474441528, 0.13177715241909027, -0.9765133857727051, -0.4095461964607239, 0.06742370873689651, -0.3972569406032562, 1.0266729593276978, 0.29945802688598633, -0.5187711119651794, 0.26863107085227966, -1.021166205406189, -0.11699506640434265, 0.21042509377002716, -0.09871943295001984, -0.6640619039535522, -0.0847054198384285, 0.06669129431247711, 0.26365065574645996, -0.3517194390296936, -0.652497410774231, -0.050190508365631104, -0.06219455972313881, -0.16890038549900055, 0.9152384996414185, -0.13762491941452026, 0.2330608367919922, -0.17993243038654327, 0.6320098042488098, 0.31980374455451965, -0.18913213908672333, 0.3722339868545532, -0.271472305059433, -0.8977129459381104, -0.47308963537216187, 0.07429958879947662, 0.7238782644271851, -0.714240550994873, -0.06297768652439117, 0.2702655792236328, -0.43500909209251404, -0.5725600719451904, 0.2407202124595642, 0.6975613236427307, 0.6547209024429321, 0.6907774806022644, -0.36693739891052246, -0.7616024613380432, -0.8044610619544983, -0.3682408332824707, -0.1520756185054779, 0.09080110490322113, 0.5295777916908264, 0.5171633362770081, 0.11269230395555496, 0.5250985026359558, -0.34849417209625244, -0.40720364451408386, -0.136282280087471, 0.6020127534866333, 0.055636338889598846, 0.4055599570274353, 0.36704257130622864, -0.886138379573822, -0.5102344155311584, -0.5534007549285889, -0.45911645889282227, -0.359708696603775, 0.2278127372264862, 0.15362301468849182, 0.2521427869796753, 0.5900571942329407, 0.010015691630542278, 0.2979288697242737, 0.5681384801864624, -0.050442200154066086, 0.3980609178543091, 0.38802966475486755, -0.003073405707255006, -0.8119986653327942, -0.29994508624076843, 0.415645033121109, -0.20006069540977478, -0.9813011884689331, -0.18440918624401093, -0.2916320264339447, 0.09774205088615417, -0.9737959504127502, 0.46458908915519714, -0.3027251958847046, 0.2580126225948334, -0.16915860772132874, -0.15898706018924713, -0.32200172543525696, 0.6039547920227051, 0.4511965811252594, 0.6298159956932068, 0.268667995929718, -0.8757715225219727, 0.0774538666009903, -0.3173801302909851, -0.3873820900917053, 0.9910743236541748, -0.3417714834213257, 0.2910710275173187, -0.45058971643447876, 0.41467520594596863, -0.9081177115440369, -0.047525111585855484, 0.6473597288131714, -0.1933145374059677, 0.341144323348999, -0.36835402250289917, -0.1748690903186798, -0.2965999245643616, -0.3987696170806885, 0.6461317539215088, 0.6184724569320679, -0.4451258182525635, 0.29835376143455505, 0.6378399133682251, -0.01664312183856964, -0.6385241746902466, -0.690970778465271, -0.5124221444129944, -0.4671771824359894, 0.027430331334471703, 0.48207947611808777, -0.02316444367170334, -0.49080443382263184, -0.27903568744659424, 0.00667218491435051, -0.25027936697006226, 0.019426971673965454, 0.44814273715019226, -0.19829769432544708, 0.012147726491093636, 0.2805769145488739, -0.16288308799266815, 0.13815368711948395, 0.03563293442130089, -0.25924521684646606, 0.6215503811836243, -0.0405377633869648, -0.26845094561576843, -0.20671772956848145, 0.22227300703525543, 0.1796795278787613, 0.231919527053833, 0.8004706501960754, 1.1785613298416138, -0.27035173773765564, -0.29878613352775574, -0.6150912642478943, -0.1959250122308731, -0.39139053225517273, 0.30941241979599, -0.14177212119102478, -1.033481240272522, 0.34335997700691223, 0.10310889035463333, -0.31853094696998596, 0.414722204208374, 0.5137215256690979, -0.5265331268310547, 0.8094815611839294, 0.4360054135322571, -0.15277883410453796, 0.5223379135131836, 0.010276521556079388, -0.10937947779893875, -0.6705995798110962, -0.07690820097923279, -0.5622546076774597, -0.37076541781425476, -0.46765244007110596, -0.6425612568855286, 0.376728355884552, -0.008620614185929298, -0.5827128887176514, -0.04246704652905464, -0.4534173011779785, 0.2802172303199768, 0.6868274807929993, 0.1779794842004776, 0.1443794071674347, 0.07583877444267273, 0.058271847665309906, -0.36954838037490845, -0.3367255926132202, 0.2911878824234009, 0.9351704716682434, 0.24247165024280548, 0.8422214984893799, 0.13208389282226562, 0.8608027696609497, 0.3969402611255646, 0.5722051858901978, -0.8819646239280701, 0.5793282389640808, -0.25764816999435425, -0.8619444370269775, -0.20895229279994965, -0.4450908899307251, -0.6825211048126221, 0.16089431941509247, -0.2926894724369049, -0.5610281825065613, 0.3424670696258545, 0.34287595748901367, -0.31449684500694275, 0.5370276570320129, -0.35027021169662476, 0.3656650483608246, -0.26441916823387146, -0.5586639046669006, -0.2192678302526474, -0.4088750183582306, 0.5507297515869141, -0.07222111523151398, 0.41277414560317993, -0.18494440615177155, 0.0611601248383522, 1.068317174911499, -0.19442790746688843, 1.2333869934082031, -0.6938323974609375, -0.4991895854473114, 0.49809950590133667, -0.061711568385362625, 0.5748900771141052, -0.3331071734428406, -0.1614287942647934, 0.2339954525232315, -0.7491908073425293, -0.27679887413978577, -0.4011555314064026, 0.40453532338142395, -0.4121021032333374, -0.618026614189148, -0.42487436532974243, -0.5396265387535095, -0.35322898626327515, 0.1388290822505951, 0.2656806707382202, -0.017040666192770004, -0.24372164905071259, 0.21089236438274384, 0.9037225842475891, -0.3536810874938965, 0.12609997391700745, 0.6359170079231262, -0.2695658206939697, -0.34526297450065613, 1.1963510513305664, 0.32467740774154663, 0.07902511954307556, 0.4043436646461487, 0.12362005561590195, -0.11519399285316467, -0.6986029744148254, 0.025831935927271843, 0.07112297415733337, -0.45517563819885254, -0.06953896582126617, -0.663578987121582, -0.1726919412612915, -0.4588155150413513, -0.20750616490840912, -0.3688524067401886, -0.35190722346305847, -0.13369262218475342, 0.0898343175649643, 0.35301709175109863, 0.4650963246822357, -0.4529549181461334, 0.34603145718574524, -0.2231377512216568, 0.6589092016220093, 0.4269310534000397, 0.21354439854621887, -0.02542940340936184, -0.714638352394104, -0.07817958295345306, 0.026481499895453453, -0.15417715907096863, -0.9719293713569641, 0.4334271252155304, -0.057534683495759964, 0.2930326759815216, 0.24158832430839539, 0.35002070665359497, 0.6389127373695374, -0.39382433891296387, 0.504561722278595, 0.25199031829833984, -0.7487253546714783, 0.48416659235954285, -0.45394593477249146, 0.17667889595031738, 0.8116841316223145, 0.8605827689170837, -0.3137759566307068, -0.49539417028427124, -0.5399382710456848, -0.9361012578010559, 0.6326423287391663, 0.016781790181994438, -0.005692755337804556, 0.0853695422410965, -0.0275123193860054, 0.1418633908033371, 0.3754865527153015, -1.0785216093063354, -0.45073267817497253, -0.13940101861953735, -0.11672159284353256, -0.13339363038539886, -0.3939588665962219, -0.260713666677475, -0.4673701226711273, 1.0373021364212036, 0.09868524223566055, 0.12413094192743301, -0.05855667218565941, -0.28018951416015625, 0.16994327306747437, 0.6027936935424805, 0.6447014808654785, -0.17894317209720612, -0.5500627756118774, 0.013578738085925579, 0.2518152892589569, -0.5769879221916199, 0.37179526686668396, 0.3129981458187103, -0.2746862769126892, -0.11394984275102615, 0.09061748534440994, 0.8464444875717163, -0.013505188748240471, -0.41659313440322876, 0.5343857407569885, 0.09732037037611008, -0.40471765398979187, -0.44982901215553284, 0.06155990809202194, -0.09797275066375732, 0.3008023500442505, 0.3062029778957367, -0.1897263377904892, 0.3435571789741516, -0.2528248429298401, 0.1499066948890686, 0.6266545653343201, -0.9331384301185608, -0.10673272609710693, 0.4793491065502167, 0.12942808866500854, -0.13213515281677246, 0.7548943758010864, -0.4360313415527344, -0.5823529958724976, 0.5344659686088562, 0.7160852551460266, 0.7364379167556763, -0.34092065691947937, 0.28702324628829956, 0.341934472322464, 0.13721293210983276, 0.4038131535053253, 0.22943325340747833, -0.33067938685417175, -0.9243355989456177, -0.19775737822055817, -0.4977964162826538, -0.5937675833702087, 0.6143293976783752, -0.8147007822990417, 0.173582524061203, -0.6388416290283203, 0.03091261349618435, -0.04569798707962036, -0.07820054888725281, -0.6841611862182617, 0.4377262592315674, 0.5726826786994934, 0.595712423324585, -0.94594806432724, 0.8488627076148987, 0.2567574977874756, -0.26255133748054504, -0.5213505029678345, -0.031613197177648544, 0.45158883929252625, -1.0179173946380615, 0.9297551512718201, 0.24752187728881836, -0.45824500918388367, -0.030670849606394768, -0.7513112425804138, -0.3986581265926361, 0.6182572841644287, 0.2645600140094757, -0.6823413968086243, 0.30350470542907715, -0.09067539870738983, 0.4189794659614563, -0.15013091266155243, 0.16234378516674042, 0.17116238176822662, 0.3591825067996979, 0.3232594430446625, -0.26244673132896423, -0.0617247149348259, -0.05899103358387947, -0.3159298896789551, 0.20545446872711182, -0.5513584613800049, 1.0712946653366089, -0.19788503646850586, -0.2251339852809906, -0.3172930181026459, 0.965328574180603, 0.37322720885276794, 0.5948197841644287, 0.862157940864563, 0.7803173661231995, 0.9294697046279907, 0.07162711024284363, 0.8292790651321411, 0.22561483085155487, 0.0905071422457695, 1.5724971294403076, -0.508430540561676, 0.8788110613822937, 0.37185218930244446, -0.13460706174373627, 0.7165242433547974, 0.34917131066322327, 0.028840353712439537, 0.5009239912033081, 0.6354116201400757, -0.7216354608535767, -0.33943870663642883, -0.5430489182472229, -0.449062317609787, 0.5003385543823242, 0.7460635900497437, -0.2200569063425064, -0.2529550790786743, 0.1828623265028, 0.30689626932144165, -0.00626750523224473, -0.5773859024047852, 0.6293787956237793, 0.1168353334069252, -0.3158116340637207, 0.6257103681564331, -0.11389659345149994, 1.1826061010360718, -0.4127534329891205, -0.12153833359479904, 0.06493113934993744, 0.16329441964626312, -0.22210681438446045, -0.6717095971107483, 0.122276671230793, 0.1104981005191803, -0.1804482638835907, -0.17816004157066345, 0.7449659109115601, -0.7397443056106567, -0.20632104575634003, 0.39710813760757446, 0.2850378155708313, 0.1421816498041153, -0.13180987536907196, -0.7995443344116211, 0.11951674520969391, -0.13139399886131287, -0.22539022564888, 0.4700009226799011, -0.09958808869123459, -0.1364399641752243, 0.45090723037719727, 0.6266399621963501, 0.07231509685516357, -0.18120156228542328, 0.461002379655838, 0.591295063495636, -0.611731231212616, -0.3327987492084503, -0.8541204929351807, 0.4129079580307007, -0.20353317260742188, -0.08642394840717316, 0.8306800127029419, 0.4496908485889435, 1.066566824913025, 0.07438629865646362, 0.8277010917663574, 0.12970253825187683, 0.84652179479599, -0.4407235085964203, 0.49003833532333374, -0.525175154209137, -0.03770606219768524, -0.4512113034725189, -0.6918642520904541, -0.5462865233421326, 0.6333390474319458, -0.428801029920578, 0.20276334881782532, 0.3890860974788666, 0.818297266960144, -0.10648608207702637, -0.08547219634056091, 0.2918037474155426, 0.5335745811462402, 0.36567941308021545, 0.5579484105110168, 0.6509348750114441, -0.3392859995365143, 0.6005864143371582, -0.43723952770233154, -0.06126309558749199, -0.2254229485988617, -1.1279700994491577, -0.7758581638336182, -0.5310189723968506, -0.44613873958587646, -0.7185840010643005, 0.2564454674720764, 0.7240864038467407, 0.7680932879447937, -1.1019494533538818, -0.05327143892645836, -0.06524370610713959, 0.25367462635040283, -0.2275153398513794, -0.27991777658462524, 0.166752889752388, -0.18215888738632202, -0.8868553042411804, 0.5397718548774719, 0.07156752794981003, 0.21343719959259033, -0.06948788464069366, -0.1447342038154602, -0.4095037877559662, -0.015480530448257923, 0.42754748463630676, 0.7540612816810608, -0.39141348004341125, -0.05160990729928017, -0.6211443543434143, -0.15132805705070496, -0.06781357526779175, 0.8044295907020569, -1.0244251489639282, 0.28991952538490295, 0.1975729912519455, 0.6262788772583008, 0.679290771484375, -0.0793343260884285, 0.37326666712760925, -0.9589478373527527, 0.4898192286491394, 0.5499433875083923, 0.14021368324756622, 0.3296310007572174, -0.22358295321464539, 0.4152074456214905, 0.3362639546394348, -0.1688363403081894, -0.9530948400497437, 0.47765177488327026, -0.9480438232421875, -0.2965855002403259, 1.248826265335083, 0.0623474083840847, -0.19686536490917206, -0.28797608613967896, 0.023597760125994682, 0.39984604716300964, -0.5205506086349487, 0.480754554271698, 0.5261234045028687, -0.16296537220478058, 0.004146944265812635, -0.23218896985054016, 0.6657791137695312, 0.5270230174064636, -0.5040425062179565, -0.16085682809352875, 0.3775613307952881, 0.05251330882310867, 0.10752695053815842, 0.8793672323226929, 0.13152481615543365, 0.1490125060081482, 0.012440752238035202, 0.16100481152534485, -0.2270439863204956, -0.4852074384689331, -0.5462505221366882, 0.42021241784095764, -0.27430975437164307, -0.08371641486883163 ]
http://arxiv.org/abs/2406.07882v2
http://arxiv.org/pdf/2406.07882v2
Designing a Dashboard for Transparency and Control of Conversational AI
2024-06-12T05:20:16
2024-06-15T05:06:29
Yida Chen, Aoyu Wu, Trevor DePodesta, Catherine Yeh, Kenneth Li, Nicholas Castillo Marin, Oam Patel, Jan Riecke, Shivam Raval, Olivia Seow, Martin Wattenberg, Fernanda Viégas
cs.CL
cs.CL, cs.AI, cs.HC
Conversational LLMs function as black box systems, leaving users guessing about why they see the output they do. This lack of transparency is potentially problematic, especially given concerns around bias and truthfulness. To address this issue, we present an end-to-end prototype-connecting interpretability techniques with user experience design-that seeks to make chatbots more transparent. We begin by showing evidence that a prominent open-source LLM has a "user model": examining the internal state of the system, we can extract data related to a user's age, gender, educational level, and socioeconomic status. Next, we describe the design of a dashboard that accompanies the chatbot interface, displaying this user model in real time. The dashboard can also be used to control the user model and the system's behavior. Finally, we discuss a study in which users conversed with the instrumented system. Our results suggest that users appreciate seeing internal states, which helped them expose biased behavior and increased their sense of control. Participants also made valuable suggestions that point to future directions for both design and machine learning research. The project page and video demo of our TalkTuner system are available at https://bit.ly/talktuner-project-page
[ -0.11903508752584457, -0.8357077836990356, 0.687113344669342, 0.26886504888534546, -0.10261842608451843, 0.4346414804458618, -0.229526087641716, -0.579227089881897, 0.19825929403305054, 0.47029122710227966, -0.5209396481513977, -0.6713442206382751, -0.49118655920028687, -0.29457929730415344, -0.59903484582901, 0.9084790349006653, 0.016528388485312462, -0.2687402367591858, -0.346847265958786, 0.15207816660404205, -0.6545948386192322, -0.331838458776474, -0.7754967212677002, -0.4142739176750183, 0.2931699752807617, 0.4904300272464752, 0.8274021744728088, 0.45406460762023926, -0.030820878222584724, 0.33208709955215454, -0.23042942583560944, -0.0707915648818016, -0.790752112865448, 0.3414202332496643, 0.024685844779014587, -0.9483664631843567, -0.4805040955543518, -0.003934933803975582, 0.13985665142536163, 0.5007113814353943, -0.2976092994213104, -0.03400120139122009, 0.490604430437088, 0.39884018898010254, -0.5484493374824524, 0.7902650833129883, -0.4008132815361023, 0.10604552179574966, 0.15945249795913696, -0.09631210565567017, -0.5876652598381042, -0.1281125694513321, 0.05924929678440094, -0.824701726436615, -0.1727190762758255, 0.10835729539394379, 0.6563679575920105, 0.384713739156723, -0.3927430510520935, -0.36418458819389343, -1.0630550384521484, 0.6084991097450256, -0.672773003578186, 0.3908059895038605, 0.3968197703361511, 0.5722915530204773, -0.13669613003730774, -0.6359341144561768, -0.6325874924659729, -0.2581835389137268, -0.3298039734363556, 0.5509558916091919, -0.6333486437797546, 0.019306261092424393, -0.1111292690038681, 0.045629408210515976, -0.42639151215553284, 0.4167167544364929, -0.5071675181388855, -0.32680967450141907, 0.5115021467208862, 0.40270760655403137, 0.10242201387882233, 0.030536066740751266, -0.2981396019458771, 0.1411198526620865, -0.7071813941001892, 0.1931278109550476, 0.573547899723053, 0.11882871389389038, -0.7550117373466492, 0.6268319487571716, -0.26405423879623413, 0.4484255611896515, -0.10268086940050125, 0.1939769834280014, 0.13053065538406372, -0.2050195187330246, -0.20175637304782867, 0.11027994006872177, 0.8574433326721191, 0.582593560218811, 0.22016648948192596, -0.08332502096891403, -0.02837330475449562, 0.20660631358623505, 0.4910263121128082, -0.6564134955406189, -0.26798105239868164, 0.6034053564071655, -0.48488590121269226, -0.4149237275123596, -0.041542552411556244, -0.48800212144851685, -0.6130728125572205, -0.6616349816322327, 0.3096645176410675, -0.31680768728256226, -0.23966512084007263, -0.1364370435476303, -0.10196314752101898, 0.07412727177143097, 0.6015843152999878, -0.6754834055900574, 0.4809139668941498, 0.8549184799194336, 1.012840747833252, -0.2850739359855652, 0.24474108219146729, -0.15443547070026398, 0.19670164585113525, -0.3301883935928345, 0.4226441979408264, -0.5805578827857971, -0.7460646033287048, 0.08434085547924042, -0.18932649493217468, 0.2546485364437103, -0.40925246477127075, 0.24090689420700073, -0.24637967348098755, 0.49437201023101807, 0.37191465497016907, -0.5732659101486206, -0.09607141464948654, 0.08812181651592255, -0.2231956273317337, 0.4180430769920349, -0.1798541098833084, -0.46405813097953796, 0.12724389135837555, -1.1319233179092407, -0.18576939404010773, 0.17622016370296478, -0.4729700982570648, -0.2898727357387543, 0.0493135042488575, 0.048962224274873734, 0.3468954861164093, 0.3037274479866028, 0.2425580769777298, -0.044964808970689774, -0.5953680276870728, 0.6168097257614136, -0.6647436022758484, 0.7332280874252319, 0.4072831869125366, -0.30473342537879944, 0.5834102630615234, -0.702427327632904, -0.05844232439994812, -0.11597047001123428, -0.21767249703407288, 0.03007139265537262, 0.05684890225529671, -0.017716793343424797, -0.04908493161201477, 0.45835521817207336, -0.5875409841537476, -0.24767491221427917, -0.37727320194244385, 0.8295621871948242, 1.144410490989685, -0.30633512139320374, 0.5421554446220398, -0.2646729052066803, 0.680492103099823, 0.3392825126647949, 0.38716578483581543, -0.6057599782943726, -0.7323351502418518, -0.9288617968559265, -0.3978157043457031, 0.20936158299446106, 0.5441634654998779, -0.37481895089149475, 0.6671302318572998, 0.04386351257562637, -0.29697108268737793, -0.7561047673225403, 0.05492905527353287, 0.30476054549217224, 0.7288411855697632, -0.032713569700717926, -0.47134679555892944, -0.18441987037658691, -1.1944421529769897, -0.01613178662955761, -0.3282638490200043, -0.5175411105155945, 0.6557432413101196, 0.4030224680900574, -0.20500293374061584, 1.106969952583313, -0.6100280284881592, -0.31426042318344116, -0.008708013221621513, 0.15817303955554962, 0.3098459243774414, 0.4765164256095886, -0.014606797136366367, -0.601601779460907, -0.33923834562301636, 0.20643360912799835, -1.0842185020446777, -0.1923181563615799, 0.023561108857393265, -0.21428927779197693, 0.09091906994581223, 0.5229542255401611, -0.6283227205276489, 1.0863341093063354, 0.3706999123096466, -0.38844603300094604, 0.2154504358768463, -0.32734784483909607, -0.2548273503780365, -0.739815890789032, 0.02210281416773796, -0.06301882117986679, -0.373836874961853, -0.6087475419044495, -0.3172750771045685, 0.0918610468506813, -0.28592121601104736, -0.6107481122016907, 0.5939861536026001, -0.10641200095415115, -0.1123589351773262, -0.4229147434234619, 0.18622815608978271, -0.036860011518001556, 0.5921664237976074, -0.25736549496650696, 0.9773051142692566, 0.5649853944778442, -0.5568472146987915, 0.07320573925971985, 0.4324742555618286, -0.37070176005363464, 0.925598680973053, -0.8623755574226379, 0.2453375905752182, -0.4116514027118683, 0.31968846917152405, -1.232853889465332, -0.16851703822612762, 0.6623809337615967, -0.49946871399879456, 0.08822199702262878, -0.0014280249597504735, -0.3404066264629364, 0.07767961174249649, -0.13374903798103333, -0.1531396359205246, 0.664006769657135, -0.3076222538948059, 0.5340959429740906, 0.49181658029556274, -0.2507402300834656, -0.2065882831811905, -0.6292040348052979, 0.2949222922325134, -0.2943991720676422, -0.4736500382423401, 0.22670552134513855, -0.38468658924102783, -0.4527229964733124, -0.1513293981552124, 0.02813183143734932, 0.021204441785812378, 0.33585435152053833, 0.7790644764900208, 0.33668777346611023, 0.06303507089614868, 0.1122509315609932, 0.18917229771614075, -0.34393399953842163, 0.13145314157009125, -0.03661176934838295, 0.6207197308540344, -0.2426319271326065, -0.5781232118606567, -1.209408164024353, 0.23023878037929535, 0.28136172890663147, 0.06185436621308327, 0.630987823009491, 0.434819757938385, -0.11968523263931274, -0.01947866939008236, -0.24695034325122833, -0.31149327754974365, -0.5473563075065613, 0.010486941784620285, -0.14193812012672424, -1.034242868423462, 0.6968227624893188, 0.04972874000668526, 0.24939247965812683, -0.04267636314034462, 0.8800079822540283, -0.5054816007614136, 1.2226996421813965, 0.8146554231643677, 0.11346106976270676, 0.7064835429191589, -0.09040968865156174, 0.052908413112163544, -0.7103390693664551, -0.6793916821479797, -0.3879378139972687, -0.5441315770149231, -0.5760374665260315, -0.07805545628070831, 0.5441527962684631, -0.17477284371852875, -0.36347004771232605, -0.1700003445148468, -0.5246851444244385, 0.4781898558139801, 0.8055897951126099, 0.5047566294670105, 0.6474359631538391, -0.2648221254348755, 0.26197734475135803, -0.1375940889120102, -0.4520642161369324, -0.7944589853286743, 1.2242680788040161, 0.5566439628601074, 0.9919975996017456, 0.05837666243314743, 0.5389596223831177, 0.579473078250885, 0.5589763522148132, -0.704288125038147, 0.45445936918258667, 0.4368969798088074, -0.49498218297958374, -0.2795068323612213, -0.15400183200836182, -1.246347188949585, 0.27108511328697205, -0.09560000151395798, -1.0471969842910767, 0.03550667688250542, 0.24478308856487274, -0.01810469850897789, -0.17516160011291504, -0.9780670404434204, 0.5488902926445007, -0.2489376664161682, -0.4668402373790741, -0.32001861929893494, -0.7816819548606873, 0.4371126890182495, 0.10008027404546738, 0.39754733443260193, -0.1093311533331871, -0.09647056460380554, 0.596310555934906, -0.4443804919719696, 1.380470871925354, -0.01257630530744791, -0.2867957055568695, 0.1050143763422966, 0.198515385389328, 0.2603212893009186, 0.23384875059127808, 0.07227461040019989, 0.42196619510650635, -0.3575096130371094, -0.42718374729156494, -0.7424418926239014, 0.5264201164245605, -0.8744529485702515, -0.7736803889274597, -0.09967612475156784, -0.5537086129188538, -0.016688719391822815, 0.21855062246322632, -0.22651992738246918, 0.17622382938861847, -0.3910926282405853, 0.2718866467475891, 0.35414448380470276, -0.24479663372039795, 0.17308832705020905, 0.6598033905029297, -0.5001455545425415, 0.04672763869166374, 0.6669065952301025, -0.2746444344520569, 0.23658940196037292, 0.2979423403739929, 0.18372797966003418, -0.2810767590999603, -0.5065754055976868, -0.5016039609909058, -0.0034120201598852873, -0.5899400115013123, 0.11360718309879303, -0.28465670347213745, -0.3679211139678955, -0.10716138780117035, -0.05810894817113876, -0.1660858392715454, -0.4474256932735443, -0.6950162649154663, -0.1339590847492218, 0.08212177455425262, 0.9684493541717529, 0.012382269836962223, 0.9170848727226257, -0.046977024525403976, 0.2478538453578949, 0.22561369836330414, 0.413103312253952, -0.03757552430033684, -0.4570715129375458, -0.14472125470638275, 0.17376026511192322, -0.7131051421165466, -0.6205598711967468, 0.40204787254333496, -0.05523782595992088, 0.5680128931999207, 0.6833823323249817, 0.009929533116519451, 0.34984341263771057, -0.3763744533061981, 0.7565003037452698, 0.3397669494152069, -0.888042688369751, 0.7912074327468872, -0.23041491210460663, 0.2629854083061218, 0.33298158645629883, 0.11780861765146255, -0.48235657811164856, -0.9236862659454346, -0.5092238783836365, -0.5526154041290283, 0.676652193069458, 0.5636610984802246, 0.5453243851661682, 0.31302469968795776, 0.1457587629556656, 0.48251256346702576, 0.6149603128433228, -0.4694816768169403, -0.5251563787460327, -0.5133324265480042, -0.38248756527900696, -0.15718938410282135, -0.06472431868314743, -0.47848477959632874, 0.07917625457048416, 0.13717246055603027, -0.16190293431282043, 0.3271493911743164, -0.1284458190202713, 0.06420514732599258, 0.07356448471546173, 0.3596874177455902, 0.5490344762802124, 1.0082125663757324, -0.2150716930627823, 0.12855961918830872, -0.3183923363685608, -0.11804616451263428, -0.0966024175286293, -0.18474410474300385, -0.4136296510696411, -0.28871145844459534, 0.14982086420059204, 0.9157811999320984, 0.3627113103866577, -0.6781983971595764, 0.4798005521297455, -0.2141338288784027, -0.13324150443077087, -0.3488403558731079, 0.44088292121887207, 0.204744353890419, 0.4891187250614166, 0.22606447339057922, -0.06075708568096161, 0.10652515292167664, -0.6567935347557068, -0.13017266988754272, 0.5994918346405029, -0.7391859292984009, -0.3869355320930481, 1.1759952306747437, 0.3030069172382355, -0.8732911944389343, 0.6193990707397461, 0.4079244136810303, -0.20495951175689697, 0.414387583732605, 0.4114093482494354, 0.5153815150260925, 0.09623011201620102, 0.4191892445087433, -0.3281197249889374, 0.06903546303510666, 0.5228740572929382, 0.19467563927173615, -0.5196835994720459, -0.588798463344574, -0.1724252998828888, -0.13989639282226562, -1.0814909934997559, 0.04993778467178345, -0.6376577615737915, 0.18279708921909332, -0.38165611028671265, -0.16321134567260742, 0.07897255569696426, -0.4162946045398712, -0.7280974388122559, -0.08478190749883652, 0.07531019300222397, 0.7018864750862122, -0.5305734872817993, 0.31468287110328674, 0.14435157179832458, -0.2534681260585785, 0.08980806916952133, -0.4430377185344696, 0.1587601900100708, -1.19231116771698, 0.5038468837738037, 0.058284223079681396, 0.06260336190462112, -0.2749291956424713, -1.1027659177780151, -0.2895487844944, 1.1437783241271973, 0.2967255711555481, -0.6381797790527344, 0.13136081397533417, 0.171808123588562, 0.787075936794281, -0.346821665763855, 0.5340931415557861, 0.5207439661026001, 0.5440165400505066, -0.021378517150878906, -0.950679361820221, -0.11027003079652786, -0.16243337094783783, -0.22414113581180573, -0.3260054588317871, -0.8200634121894836, 0.5574209690093994, 0.03945935517549515, -0.23445388674736023, -0.06224074959754944, 0.8895571827888489, 0.23964336514472961, 0.7433761954307556, 0.4404945373535156, 0.1273215264081955, 0.8647850751876831, 0.02026195079088211, 0.901285707950592, -0.2779901325702667, -0.10402265936136246, 0.9477341175079346, -0.1606033891439438, 0.6522927284240723, 0.5509741902351379, -0.31950289011001587, 0.6337526440620422, 0.24753884971141815, 0.34636572003364563, 0.41106775403022766, 0.43579497933387756, -0.2511831820011139, -0.04350455105304718, -0.30535420775413513, -0.1103731021285057, 0.4227794408798218, 0.5901436805725098, -0.20015418529510498, 0.04799041152000427, -0.023037878796458244, 0.26155924797058105, 0.07849590480327606, -0.013033655472099781, 0.9178842902183533, 0.30319657921791077, -0.3278774619102478, 0.26936662197113037, -0.23466797173023224, 0.7679770588874817, -0.5484652519226074, -0.04010149836540222, -0.34844714403152466, -0.031649015843868256, -0.20956017076969147, -1.1546980142593384, 0.08127153664827347, -0.04182574525475502, 0.10979808121919632, -0.39397555589675903, 0.6100258231163025, -0.2236337512731552, -0.4332086741924286, 0.08903689682483673, 1.0187844038009644, 0.4447062313556671, -0.009291533380746841, -0.5565778613090515, 0.3652729094028473, -0.03971591591835022, -0.09559612721204758, 0.23750323057174683, 0.10856133699417114, -0.06425299495458603, 1.2532267570495605, 0.693729043006897, 0.052670419216156006, -0.18513810634613037, -0.015411426313221455, 0.8306964039802551, -0.5109164714813232, -0.7837197184562683, -0.7781476378440857, 0.5214605927467346, -0.23020429909229279, -0.22099579870700836, 0.6431472897529602, 0.71561598777771, 0.7259395718574524, 0.26590123772621155, 0.9811580777168274, 0.27718105912208557, 0.45311981439590454, -0.3426247239112854, 0.8483587503433228, -0.39484903216362, 0.43858495354652405, 0.13309429585933685, -0.5129885673522949, -0.12984338402748108, 0.3831408619880676, -0.0692843347787857, -0.16801057755947113, 0.14892779290676117, 0.7916876077651978, -0.10185634344816208, 0.28362464904785156, 0.439429372549057, 0.5547575950622559, 0.777241587638855, 0.3542078137397766, 1.286671757698059, 0.11621055006980896, 0.6772260665893555, -0.2997535169124603, -0.3271055519580841, -0.28376656770706177, -0.6328195929527283, -0.9015908241271973, -0.4380970597267151, -0.21049140393733978, -0.25672510266304016, 0.19291618466377258, 0.24323175847530365, 0.8784738779067993, -0.6311827301979065, -0.46843603253364563, -0.08365817368030548, 0.4109700918197632, 0.1717604398727417, -0.28322550654411316, 0.14469511806964874, -0.0769425630569458, -0.9083405137062073, 0.5129011869430542, 0.2177181839942932, 0.08542264252901077, -0.6022104620933533, -0.2332841455936432, 0.5539999604225159, -0.03766320273280144, 0.562639594078064, 0.2658253610134125, -0.798419177532196, -0.2965483069419861, -0.279573529958725, 0.09068333357572556, 0.402960866689682, 0.6450206637382507, -1.0464770793914795, 0.644389271736145, 0.0706598088145256, 0.186375230550766, 0.9455195665359497, 0.16129817068576813, 0.8357420563697815, -0.5489364862442017, 0.11818834394216537, 0.005921846721321344, 0.03555914759635925, 0.21312475204467773, -0.29121285676956177, 0.45554283261299133, -0.20794136822223663, -0.44958606362342834, -0.7875534296035767, 0.2048608958721161, -1.0777976512908936, -0.2359604835510254, 0.6766862869262695, -0.01050023827701807, -0.19986645877361298, -0.46471431851387024, -0.5351794362068176, 0.1619742214679718, -0.9722346663475037, 0.9608114361763, 0.5344929695129395, -0.5535005927085876, -0.10945958644151688, -0.8766176700592041, 0.0902629867196083, 0.14567801356315613, -0.9229676127433777, 0.013077359646558762, 0.41498517990112305, 0.18893390893936157, 0.023076890036463737, 0.76076740026474, 0.013192960061132908, -0.05286679416894913, -0.13597187399864197, -0.17272211611270905, -0.30616652965545654, -0.2184976190328598, -0.4096952974796295, 0.02020454593002796, -0.1770860254764557, -0.30758431553840637 ]
http://arxiv.org/abs/2406.10281v1
http://arxiv.org/pdf/2406.10281v1
Watermarking Language Models with Error Correcting Codes
2024-06-12T05:13:09
2024-06-12T05:13:09
Patrick Chao, Edgar Dobriban, Hamed Hassani
cs.CR
cs.CR, cs.CL, cs.LG
Recent progress in large language models enables the creation of realistic machine-generated content. Watermarking is a promising approach to distinguish machine-generated text from human text, embedding statistical signals in the output that are ideally undetectable to humans. We propose a watermarking framework that encodes such signals through an error correcting code. Our method, termed robust binary code (RBC) watermark, introduces no distortion compared to the original probability distribution, and no noticeable degradation in quality. We evaluate our watermark on base and instruction fine-tuned models and find our watermark is robust to edits, deletions, and translations. We provide an information-theoretic perspective on watermarking, a powerful statistical test for detection and for generating p-values, and theoretical guarantees. Our empirical findings suggest our watermark is fast, powerful, and robust, comparing favorably to the state-of-the-art.
[ -0.11248663067817688, -0.7183159589767456, 0.12029993534088135, 0.20583486557006836, -0.3674612045288086, 0.2839920222759247, -0.04382947459816933, -0.5785186886787415, 0.015760252252221107, 0.6947427988052368, -0.18887284398078918, -0.5430666208267212, -0.8423425555229187, 0.08861753344535828, -0.7407916784286499, 1.0075809955596924, -0.05634636431932449, -0.028439445421099663, 0.05133432894945145, -0.26216238737106323, -0.30970901250839233, -0.8396767377853394, -0.5354660153388977, -0.11968739330768585, 0.3303510844707489, 0.16372227668762207, 0.9538678526878357, 1.0737056732177734, 0.6133760809898376, 0.22467674314975739, -0.19913969933986664, 0.18122509121894836, -0.2777523696422577, 0.24904553592205048, -0.10823211818933487, -0.3924914300441742, -0.2933015525341034, -0.2614576816558838, 0.7016667127609253, 0.48829594254493713, 0.2167513221502304, -0.07486610859632492, 0.056912221014499664, 0.8067734241485596, -0.8873934745788574, 0.350161612033844, -0.675313413143158, 0.009367589838802814, -0.06095331907272339, -0.3024742603302002, -0.6487950086593628, -0.6379635334014893, -0.2916531264781952, -0.1285264939069748, 0.3263373076915741, 0.24906888604164124, 1.0889415740966797, 0.22980132699012756, 0.04345789924263954, -0.3426790237426758, -1.034080147743225, 0.8150949478149414, -0.7528174519538879, 0.3220120668411255, 0.7673400044441223, 0.12400779128074646, -0.16100415587425232, -0.6517805457115173, -0.5210237503051758, 0.17129062116146088, 0.1783159226179123, 0.002040454652160406, -0.4549520015716553, -0.17041274905204773, 0.37460386753082275, 0.15811437368392944, -0.38839223980903625, -0.22501015663146973, -0.1647483855485916, -0.35572052001953125, 0.49195581674575806, 0.12080658972263336, 0.5219860672950745, 0.18753942847251892, -0.04260466247797012, -0.3885897696018219, -0.7201313972473145, -0.20005793869495392, 0.6287888884544373, 0.28767821192741394, -0.12777011096477509, 0.3955731987953186, -0.01543084904551506, 0.7304229736328125, -0.3152000606060028, -0.15890048444271088, -0.18127258121967316, -0.0323164165019989, -0.0032319219317287207, 0.06803982704877853, 0.7215853333473206, 0.19228196144104004, 0.5076407790184021, -0.16131366789340973, -0.5906156897544861, 0.32425564527511597, 0.3504907488822937, -0.9455617070198059, -0.5526042580604553, 0.029939670115709305, -0.6222096085548401, -0.4544031620025635, 0.21876823902130127, -0.6481348872184753, -0.36295515298843384, -0.09332561492919922, 0.4479444622993469, -0.44862547516822815, -0.11754559725522995, 0.24970819056034088, -0.18446898460388184, -0.12342385202646255, 0.10896170139312744, -0.9420623779296875, 0.23705993592739105, 0.43275824189186096, 0.5959456562995911, -0.02460201270878315, 0.045411378145217896, -0.41128987073898315, 0.26203423738479614, -0.5245702266693115, 0.9349896311759949, -0.6054268479347229, -0.26144716143608093, 0.07913005352020264, 0.06739173084497452, 0.5428208708763123, -0.6165381669998169, 0.338998407125473, -0.8776229023933411, 0.0871569886803627, -0.15977147221565247, -0.6644659042358398, -0.07314204424619675, -0.03416099026799202, -0.8225575089454651, 0.7254390120506287, 0.10426376014947891, -1.1419175863265991, 0.3423190414905548, -0.46731501817703247, -0.4387303590774536, 0.06452611088752747, 0.07623150199651718, -0.9521463513374329, -0.34222203493118286, -0.04730349779129028, 0.28924399614334106, -0.04393942654132843, 0.15614594519138336, -0.5018383264541626, -0.35895252227783203, 0.864318311214447, -0.7081462144851685, 0.6684133410453796, 0.17140133678913116, -0.5072047710418701, -0.047979213297367096, -0.830954372882843, 0.41094970703125, 0.2090989351272583, -0.5860567092895508, -0.23717494308948517, 0.29752445220947266, 0.23204250633716583, -0.23516854643821716, 0.12967219948768616, -0.42698755860328674, -0.13939058780670166, 0.11896257847547531, 0.6703146696090698, 0.7463469505310059, 0.02393040992319584, 0.3716331720352173, -0.33834829926490784, 0.4131300151348114, -0.046241022646427155, 0.03626507148146629, -0.3003244996070862, -0.7205763459205627, -0.4685361981391907, -0.5713475942611694, 0.8573535680770874, 0.6872899532318115, -0.6543916463851929, 0.6532021164894104, -0.027462802827358246, -0.22391954064369202, -0.39726945757865906, 0.17526458203792572, 0.4634741544723511, 0.30545365810394287, 0.3868114650249481, -0.5603874921798706, -0.47419869899749756, -0.898681104183197, -0.4482351243495941, -0.38692235946655273, -0.05381146818399429, 0.1297852098941803, 0.5458319783210754, -0.5352702140808105, 1.0249807834625244, -0.3979639410972595, 0.19021974503993988, -0.18558241426944733, 0.41829001903533936, -0.1889667510986328, 0.8484352231025696, 0.43231719732284546, -0.8535906076431274, -0.3612886071205139, -0.08988245576620102, -0.5740903615951538, -0.4275912344455719, 0.09779782593250275, -0.17444470524787903, 0.3912273347377777, 0.14589574933052063, -0.04482034593820572, 0.8339709043502808, 0.711045503616333, -0.47276923060417175, 0.6285490393638611, -0.5603336095809937, 0.32754677534103394, -0.592157244682312, 0.24872738122940063, -0.17711949348449707, -0.46049782633781433, -0.4151161015033722, -0.1111392229795456, 0.49132809042930603, -0.1785096526145935, 0.043407365679740906, 0.3672938346862793, -0.2906438112258911, 0.007067581173032522, -0.7255785465240479, -0.3490379750728607, 0.16606676578521729, 0.15061944723129272, 0.19998905062675476, 0.5725615620613098, 0.27068766951560974, -0.3853752911090851, 0.20630812644958496, -0.009071491658687592, -0.38136786222457886, 0.44571641087532043, -0.684269368648529, 0.3126741349697113, -0.38652297854423523, 0.0958472341299057, -0.912894606590271, -0.25114479660987854, 0.3686775863170624, -0.5184570550918579, 0.4167296290397644, -0.3985559344291687, -0.721169650554657, 0.10938379168510437, -0.05951100215315819, 0.4256269335746765, 0.7595317363739014, -0.4339924156665802, 0.1890830546617508, 0.39670589566230774, -0.1463194042444229, -0.580280065536499, -1.0322376489639282, 0.06795704364776611, -0.08118046075105667, -0.4794444441795349, 0.40235504508018494, -0.06146843731403351, -0.20003917813301086, 0.2785954475402832, -0.10862290859222412, -0.797697901725769, 0.1589774489402771, 0.24485087394714355, 0.2711311876773834, -0.08852743357419968, -0.27318790555000305, -0.029973242431879044, -0.41940319538116455, -0.13327176868915558, -0.3406384289264679, 0.2499694973230362, -0.04425516352057457, -0.4503348469734192, -0.5808228850364685, 0.638659656047821, 0.49123406410217285, -0.3082053065299988, 0.7163519263267517, 0.4689749777317047, -0.9183485507965088, -0.3032640814781189, -0.2845808267593384, -0.319263219833374, -0.44727689027786255, 0.14528928697109222, 0.2561511695384979, -0.754599392414093, 0.5500926971435547, 0.35154470801353455, -0.03754359483718872, -0.01783585734665394, 0.3256293535232544, -0.16329778730869293, 1.055092453956604, 0.8098006844520569, -0.18102221190929413, 0.6592015027999878, -0.0293751023709774, 0.40703287720680237, -0.1916676014661789, -0.08491417020559311, -1.057637095451355, -0.03894266113638878, -0.38606804609298706, -0.4029931128025055, -0.13828134536743164, 0.5045821070671082, -0.41896116733551025, 0.5883545875549316, -0.6613867878913879, 0.6001508235931396, 0.7269403338432312, 0.20644830167293549, 0.19433346390724182, 0.1438542902469635, 0.053071774542331696, -0.409879207611084, -0.6930174827575684, -0.9158827066421509, 0.8879148364067078, 0.2598111629486084, 0.9730157852172852, -0.027048148214817047, 0.5554859638214111, 0.7677022218704224, 0.4908358156681061, -0.33035391569137573, 0.14843818545341492, -0.021179478615522385, -0.8843377828598022, -0.07380668073892593, -0.6422382593154907, -0.8418561816215515, -0.1766340583562851, -0.49454525113105774, -0.6913375854492188, 0.010430151596665382, 0.4432304799556732, -0.07057822495698929, 0.6229199171066284, -0.8118884563446045, 1.0704741477966309, -0.36322304606437683, -0.5463453531265259, -0.11025495082139969, -0.43562766909599304, -0.1967850625514984, -0.16356755793094635, 0.5230067372322083, 0.03974897414445877, -0.04187105968594551, 0.7348254323005676, -0.17512348294258118, 0.8453026413917542, -0.2988799512386322, -0.06635008752346039, 0.5238221287727356, 0.5447076559066772, 0.5962613224983215, -0.05592722445726395, 0.07763920724391937, 0.07841872423887253, 0.09548988938331604, -0.7160142660140991, -0.5485219955444336, 0.1397499144077301, -0.4640374779701233, 0.010277162306010723, -0.38743945956230164, -0.2360997200012207, 0.08330097049474716, 0.40110698342323303, 0.14486999809741974, 0.5506506562232971, 0.09900178760290146, 0.2195640206336975, 0.7549965977668762, -0.6455250382423401, 0.5515433549880981, 0.5343850255012512, -0.002199841197580099, -0.5904842615127563, 1.1242403984069824, -0.08461373299360275, 0.1984815150499344, 0.4715040922164917, 0.1679295003414154, -0.31647515296936035, -0.7797021269798279, -0.5588905215263367, -0.019935261458158493, -0.8456501960754395, -0.43524423241615295, -0.458803653717041, -0.153627410531044, 0.03198346868157387, -0.24236702919006348, -0.6010174751281738, -0.1558271199464798, -0.07989607006311417, 0.26128414273262024, 0.26165318489074707, 0.8336371779441833, -0.13148245215415955, 0.16707482933998108, -1.0436476469039917, 0.37086349725723267, 0.1895509660243988, 0.6378920674324036, -0.25947463512420654, -0.520052969455719, -0.319834440946579, 0.31026074290275574, -0.38734719157218933, -0.8752226829528809, 0.4953451156616211, 0.0327037014067173, 0.2803198993206024, 0.4554387927055359, 0.3050942122936249, 0.3944137394428253, -0.3811367154121399, 0.627871036529541, 0.21384811401367188, -1.313153862953186, 0.4466097950935364, -0.26311731338500977, 0.12192676961421967, 0.17786681652069092, 0.08574330806732178, -0.3910560607910156, -0.51296067237854, -0.6717591881752014, -0.6951581239700317, 0.37942448258399963, 0.3212105333805084, 0.1491670459508896, -0.0026044915430247784, 0.4667246639728546, -0.03006371110677719, 0.1399838626384735, -0.9306954741477966, -0.197917640209198, -0.3309708833694458, -0.34004926681518555, 0.40333321690559387, -0.5682571530342102, 0.06017667427659035, 0.1369168758392334, 0.7129267454147339, -0.19122792780399323, 0.5927411317825317, 0.14365413784980774, 0.04798872023820877, -0.35123786330223083, 0.28352752327919006, 0.4592553973197937, 0.5217827558517456, -0.14360880851745605, 0.2723805010318756, -0.08920930325984955, -0.3696722686290741, 0.19051849842071533, -0.27910304069519043, -0.3363574147224426, 0.007502859923988581, 0.6188216805458069, 0.5108470320701599, 0.1357172429561615, -0.7862364053726196, 0.5056660771369934, -0.2491767555475235, 0.03314204141497612, -0.012157450430095196, 0.05824241042137146, 0.08655604720115662, 0.006096359342336655, 0.18887118995189667, 0.46524783968925476, -0.04970220476388931, -0.413485050201416, 0.2967202365398407, 0.3793941140174866, -0.3800281584262848, -0.3864494264125824, 0.932705283164978, 0.04165614768862724, -0.49675115942955017, 0.36272233724594116, -0.20478524267673492, -0.7507840991020203, 0.583173394203186, 0.7298442721366882, 0.778044581413269, 0.05268741026520729, -0.02397870272397995, 0.38227778673171997, 0.49480950832366943, -0.338875412940979, 0.28943318128585815, -0.08667708933353424, -0.9847999811172485, -0.42790502309799194, -0.588856041431427, -0.7120350003242493, -0.1342976987361908, -0.7257913947105408, 0.15284918248653412, -0.7273436188697815, -0.23288682103157043, 0.08674613386392593, -0.3725816011428833, -0.41202878952026367, 0.3824964165687561, 0.280612051486969, 0.5341629981994629, -0.6812868714332581, 0.9717223644256592, 0.7295306921005249, 0.05851729214191437, -0.6462251543998718, -0.026647428050637245, -0.17598067224025726, -0.5136042833328247, 0.4682517349720001, 0.10638875514268875, -0.27730152010917664, -0.2999635338783264, -0.8627384305000305, -0.6116629242897034, 0.5070035457611084, 0.7453399300575256, -0.2870800793170929, 0.552516758441925, 0.2592722177505493, 0.5598562955856323, -0.23473647236824036, -0.07793094962835312, 0.29059773683547974, 0.43645763397216797, -0.45416268706321716, -0.5071127414703369, 0.12884610891342163, -0.1985805481672287, 0.17297279834747314, 0.09823987632989883, -0.24987611174583435, 0.5098035335540771, -0.10772579163312912, -0.3843417465686798, 0.10799796879291534, 0.396890252828598, -0.03860509395599365, 0.022648662328720093, 0.27635708451271057, 0.3311230540275574, 0.7464941740036011, -0.34841689467430115, 0.9459598660469055, -0.48691970109939575, 0.44760623574256897, 0.6845502853393555, -0.1347610056400299, 0.8294256925582886, 0.26383063197135925, -0.2801796793937683, 0.5483137369155884, 0.3250257968902588, 0.03597763180732727, 0.5359857678413391, 0.27829667925834656, -0.34526175260543823, -0.39146241545677185, 0.13631850481033325, -0.26256126165390015, 0.17840801179409027, 0.21198825538158417, -0.6176652312278748, 0.2502252757549286, -0.44776421785354614, -0.09921430796384811, 0.3505920469760895, -0.01900470443069935, 0.6420846581459045, 0.036862585693597794, -0.3227403163909912, 0.7320255041122437, 0.5314205884933472, 0.7296473383903503, -0.4896931052207947, -0.14267665147781372, -0.1301623284816742, 0.46606695652008057, -0.31154704093933105, -0.7925024032592773, 0.6283281445503235, 0.34567883610725403, -0.4713236391544342, -0.41036272048950195, 1.0148940086364746, -0.47117093205451965, -0.24140076339244843, 0.3200117349624634, 0.09933555126190186, 0.1645483523607254, -0.049914292991161346, -0.6957937479019165, 0.3817949891090393, 0.12854012846946716, 0.2146099954843521, 0.22053682804107666, 0.5073534846305847, 0.06801632791757584, 0.9356665015220642, 0.6212178468704224, 0.15985840559005737, 0.09076938033103943, -0.010573343373835087, 0.33946964144706726, -0.796895444393158, -0.6359015107154846, -0.8795979619026184, 0.42279911041259766, 0.020009588450193405, 0.03431969881057739, 0.45590928196907043, 0.4417336583137512, 0.7847181558609009, -0.29258131980895996, 1.17735755443573, -0.1025834009051323, 0.20070363581180573, -0.2935695946216583, 0.9618123769760132, -0.18327461183071136, 0.21149708330631256, -0.6243769526481628, -0.9240157604217529, -0.637054979801178, 0.8467597365379333, 0.11907849460840225, -0.047513868659734726, 0.5390897989273071, 1.0273197889328003, 0.04973879083991051, 0.32358890771865845, 0.3160979151725769, -0.33908089995384216, 0.2824345529079437, 0.30346938967704773, 0.9474053978919983, -0.6014315485954285, 0.649441123008728, -0.4666467308998108, -0.3830273747444153, -0.007499716244637966, -1.136724829673767, -0.8095120787620544, -0.4796801507472992, -0.7553297877311707, -0.9105353951454163, 0.15850010514259338, 0.7479613423347473, 0.8196317553520203, -1.3143118619918823, -0.06725157052278519, -0.1353207528591156, 0.2932998239994049, -0.29230907559394836, -0.17366470396518707, 0.23367643356323242, -0.09231797605752945, -0.6036367416381836, -0.16264048218727112, 0.27379462122917175, 0.6503584980964661, -0.06337473541498184, -0.27033573389053345, 0.47783219814300537, 0.08838576078414917, 0.23797325789928436, 0.37263569235801697, -0.16304653882980347, -0.5479833483695984, -0.29329317808151245, -0.2925211191177368, 0.01892917789518833, 1.0422316789627075, -0.25002947449684143, 0.4933038055896759, 0.4225396513938904, 0.8817650675773621, 0.16442807018756866, -0.026624999940395355, 0.5273374319076538, -0.5482883453369141, 0.2533096373081207, 0.30260321497917175, 0.4826039969921112, 0.784871518611908, -0.006046019960194826, 0.18690186738967896, 0.5920500159263611, -0.5999665856361389, -0.9439114928245544, 0.03800133988261223, -0.7036279439926147, -0.21498526632785797, 1.0527153015136719, -0.6080299615859985, -0.3174441456794739, -0.3442152142524719, -0.24140480160713196, 0.20475627481937408, -0.3725765645503998, 1.0234445333480835, 0.7757586240768433, 0.33668437600135803, 0.08563239127397537, -0.25088509917259216, 0.4528025984764099, 0.4077052175998688, -0.781708836555481, 0.26627597212791443, 0.46185293793678284, 0.6186913847923279, 0.09616445004940033, 0.32041412591934204, -0.44341331720352173, 0.367265909910202, 0.3522872030735016, 0.42176446318626404, 0.1397220492362976, -0.29569748044013977, -0.18292582035064697, 0.2245115339756012, 0.2618727684020996, -0.0838698297739029 ]
http://arxiv.org/abs/2406.10280v1
http://arxiv.org/pdf/2406.10280v1
Transferable Embedding Inversion Attack: Uncovering Privacy Risks in Text Embeddings without Model Queries
2024-06-12T05:09:58
2024-06-12T05:09:58
Yu-Hsiang Huang, Yuche Tsai, Hsiang Hsiao, Hong-Yi Lin, Shou-De Lin
cs.CR
cs.CR, cs.CL, cs.LG
This study investigates the privacy risks associated with text embeddings, focusing on the scenario where attackers cannot access the original embedding model. Contrary to previous research requiring direct model access, we explore a more realistic threat model by developing a transfer attack method. This approach uses a surrogate model to mimic the victim model's behavior, allowing the attacker to infer sensitive information from text embeddings without direct access. Our experiments across various embedding models and a clinical dataset demonstrate that our transfer attack significantly outperforms traditional methods, revealing the potential privacy vulnerabilities in embedding technologies and emphasizing the need for enhanced security measures.
[ -0.06470218300819397, -0.8354678750038147, 0.49617138504981995, -0.2639002203941345, -0.02989530935883522, 0.1258578896522522, 0.32869061827659607, -0.7262371182441711, 0.14964057505130768, 0.9445593953132629, -0.4341265559196472, -0.2659064829349518, -1.0343408584594727, -0.14719724655151367, -0.7557711601257324, 0.7238612771034241, 0.07778853923082352, -0.04687101021409035, -0.3327125906944275, -0.04926875978708267, -0.4407147765159607, -0.5083470940589905, -0.32723066210746765, 0.14337962865829468, 0.10456296801567078, 0.13964590430259705, 0.8804910182952881, 0.26436081528663635, 0.8391733169555664, 0.2062642127275467, 0.1831873059272766, -0.46218153834342957, -0.5543577075004578, 0.06064167618751526, -0.344272643327713, -0.6113689541816711, -0.34096571803092957, -0.09780672192573547, 0.5207486152648926, 0.7496684193611145, 0.04590991884469986, 0.009893049485981464, -0.0253245010972023, 0.8149195909500122, -0.9724858999252319, -0.46908941864967346, -0.6074215173721313, 0.2881394922733307, 0.0038464092649519444, -0.2821633815765381, -0.7183756828308105, -0.7187721133232117, 0.5494160056114197, -0.33836111426353455, 0.20114193856716156, -0.015033978037536144, 0.5879591107368469, -0.061025220900774, -0.7249499559402466, -0.23474295437335968, -0.8027729988098145, 0.412477046251297, -0.31588345766067505, 0.40523919463157654, 0.4207051992416382, 0.3312164843082428, 0.042892683297395706, -1.0219849348068237, -0.1278894692659378, -0.32896509766578674, -0.2178715020418167, -0.21379272639751434, -0.6495945453643799, -0.0010668039321899414, 0.38641512393951416, 0.3642653822898865, -0.5305540561676025, -0.09287773072719574, -0.43112367391586304, -0.12412795424461365, 0.5743545293807983, 0.037848081439733505, 0.613937258720398, -0.007008104585111141, -0.8343920111656189, -0.12309371680021286, -0.8624107241630554, -0.06112280860543251, 0.36454084515571594, 0.007329760584980249, -0.24690917134284973, 0.6248235106468201, 0.4365406334400177, 0.5015307068824768, 0.00977792963385582, 0.3365758955478668, 0.1438562572002411, -0.1549195945262909, -0.18838007748126984, 0.32378825545310974, 0.5704562067985535, 0.2551412880420685, 0.08498416095972061, -0.3746456503868103, 0.06763443350791931, -0.3291926681995392, 0.7373530864715576, -0.867060124874115, -0.1318429857492447, 0.19269315898418427, -0.4963769018650055, -0.4974484443664551, 0.45612832903862, -1.0252926349639893, -0.7525007128715515, 0.39924272894859314, 0.6687207221984863, -0.683842658996582, -0.31196585297584534, 0.2526826560497284, -0.2935280501842499, 0.3285338580608368, 0.08870148658752441, -0.5749713778495789, 0.5421273112297058, 0.41464194655418396, 0.8549661636352539, -0.21337547898292542, 0.13700909912586212, -0.23043403029441833, 0.69417405128479, -0.2257869839668274, 0.6092137098312378, -0.683305025100708, -1.0304176807403564, 0.19773094356060028, 0.14376062154769897, -0.3130010664463043, -0.17677906155586243, 0.4273272752761841, -0.5819864273071289, 0.014206098392605782, -0.01875343546271324, -0.7765749096870422, -0.2373049259185791, 0.314744770526886, -0.9700097441673279, 0.6139888763427734, 0.07411478459835052, -1.0805338621139526, -0.34669798612594604, -0.6710720062255859, -0.28542792797088623, -0.32265782356262207, -0.05081501975655556, -0.3492398262023926, 0.27764955163002014, 0.20710153877735138, 0.42693284153938293, 0.1821502298116684, -0.2892845869064331, -0.4248564541339874, -0.2206750512123108, 0.7812520265579224, -0.5376042723655701, 1.001953363418579, 0.12816603481769562, -0.37889766693115234, -0.3226700723171234, -0.788899838924408, -0.13750271499156952, 0.2581154704093933, 0.22734060883522034, -0.818120539188385, -0.4717845320701599, -0.2891996502876282, -0.20247645676136017, 0.19806595146656036, -0.8028644323348999, 0.31070202589035034, -0.3711858093738556, 0.37959712743759155, 0.6421918272972107, 0.505264937877655, 0.8171674609184265, -0.2584758996963501, 0.8665269017219543, -0.1315995156764984, 0.2421496957540512, 0.12293488532304764, -0.4356100857257843, -0.05033548176288605, -0.23901943862438202, 0.5146212577819824, 0.7210258841514587, -0.5468860864639282, 0.1485549360513687, -0.2563994824886322, -0.5603030323982239, -0.6237505078315735, -0.3563538193702698, 0.3891286253929138, 0.6984731554985046, 0.1428419053554535, -0.0000035159196158929262, -0.24679350852966309, -1.0244156122207642, -0.7009277939796448, 0.11061649024486542, 0.16153296828269958, 0.3570057451725006, 0.4363195598125458, -0.3574427366256714, 0.43436500430107117, -0.8309086561203003, -0.17853225767612457, 0.070424385368824, -0.04673958942294121, -0.19463835656642914, 1.0117112398147583, 0.7569272518157959, -0.8430546522140503, -0.35543757677078247, 0.0023550852201879025, -0.7820426821708679, 0.2596955895423889, -0.2863088846206665, -0.24518078565597534, -0.2165403664112091, 0.7543047666549683, -0.5020814538002014, 1.035601258277893, 0.7404033541679382, -0.2230968475341797, 0.22575895488262177, -0.46204090118408203, 0.22396671772003174, -1.2576444149017334, 0.19658547639846802, -0.32293975353240967, -0.5158682465553284, -0.8337095379829407, 0.34074559807777405, 0.33261293172836304, -0.43448111414909363, -0.5514562726020813, 0.3459170460700989, -0.6265533566474915, -0.10246991366147995, -0.10498080402612686, -0.1688704788684845, 0.09401421248912811, -0.08283466845750809, -0.21792665123939514, 0.6779842972755432, 0.7432851195335388, -0.4012168347835541, -0.13560235500335693, 0.38642048835754395, -0.23731043934822083, 0.5781875252723694, -0.5623355507850647, 0.6741659045219421, -0.12338881939649582, 0.14937753975391388, -1.1929130554199219, 0.0007565866690129042, 0.5725399851799011, -0.7208993434906006, 0.6943070888519287, -0.22965723276138306, -0.017777616158127785, 0.11712104827165604, -0.7183095216751099, 0.5558541417121887, 0.47468069195747375, -0.3975093960762024, 0.831405758857727, 0.38401520252227783, -0.15544475615024567, -0.7481405735015869, -1.0723925828933716, 0.2605736553668976, -0.30325451493263245, -0.4354674816131592, 0.8299313187599182, 0.11406444758176804, 0.1819000542163849, 0.33947697281837463, 0.12170077860355377, -0.33511000871658325, 0.4322604537010193, 0.4369128346443176, 0.17847855389118195, 0.03292091563344002, -0.21065478026866913, 0.3401933014392853, -0.33929628133773804, 0.21582747995853424, 0.1238371953368187, 0.20683221518993378, 0.28306788206100464, -0.6601458787918091, -0.8269491195678711, 0.7700461149215698, 0.24670125544071198, -0.11984916776418686, 1.0757179260253906, 0.2423962503671646, -0.9359859228134155, -0.08585640043020248, -0.3404075503349304, -0.1544128656387329, -0.4585826098918915, 0.38985079526901245, -0.3223734200000763, -0.7410222291946411, 0.4538740813732147, -0.23554277420043945, -0.12362028658390045, 0.23551353812217712, 0.06806419789791107, -0.18673142790794373, 1.1630609035491943, 0.7147411108016968, 0.18790178000926971, 0.5879688262939453, -0.11230722069740295, 0.059788335114717484, -0.8281139135360718, -0.5058509111404419, -0.6705707311630249, -0.29851627349853516, -0.8850678205490112, -0.03813759982585907, 0.3421053886413574, -0.023764848709106445, -0.10760989040136337, 0.656764030456543, -0.52605140209198, 0.3381938338279724, 0.36834099888801575, 0.724147617816925, 0.43681272864341736, 0.1929571032524109, 0.06809429824352264, -0.10555018484592438, -0.17100432515144348, -0.284624844789505, 1.3995146751403809, 0.32599225640296936, 1.0828348398208618, 0.379763662815094, 0.6962726712226868, 0.5167601108551025, 0.351082444190979, -0.5582062602043152, 0.30008363723754883, -0.027938267216086388, -0.7754045724868774, -0.11979846656322479, -0.2725435793399811, -1.2143259048461914, 0.12786513566970825, -0.33232030272483826, -1.2065844535827637, 0.5892142057418823, -0.011411814950406551, -0.23884668946266174, 0.5607557892799377, -0.8895676732063293, 0.5828534364700317, 0.017554065212607384, -0.36175477504730225, -0.09243070334196091, -0.7871764898300171, 0.346719890832901, -0.17214886844158173, 0.3589029610157013, 0.3134131133556366, -0.21156218647956848, 0.6145533919334412, -0.29428598284721375, 1.000117540359497, -0.2561202049255371, 0.06432902067899704, -0.055455051362514496, 0.6607857942581177, 0.6580108404159546, 0.05958068370819092, -0.06496191024780273, 0.09103512763977051, 0.35972532629966736, -0.515117347240448, -0.8119080662727356, 0.8209288120269775, -0.6659438014030457, -0.8302931189537048, -0.5702170133590698, -0.254167765378952, -0.3404451310634613, 0.2048085331916809, 0.21424633264541626, 0.21693015098571777, -0.36015406250953674, 0.4027591049671173, 0.6985670924186707, -0.4618016481399536, 0.24491582810878754, 0.26573899388313293, -0.09301246702671051, -0.3760066032409668, 0.7429769039154053, 0.11534653604030609, 0.41446414589881897, 0.5668755769729614, 0.354602187871933, -0.32802072167396545, -0.6432369947433472, -0.2592848241329193, 0.1398114711046219, -0.5904654264450073, 0.008911152370274067, -0.6689832806587219, -0.41280293464660645, -0.6176164150238037, -0.33121711015701294, -0.458283394575119, -0.5027858018875122, -0.4232713580131531, -0.5326365232467651, 0.35663318634033203, 0.6798579692840576, 0.019458333030343056, 0.27968186140060425, -1.3060722351074219, 0.20324593782424927, 0.24248847365379333, 0.1562475711107254, -0.09940361976623535, -0.6823937892913818, 0.1663425713777542, 0.019420646131038666, -0.28648078441619873, -1.405181646347046, 0.32311877608299255, 0.021775858476758003, 0.5066193342208862, 0.5997938513755798, 0.3289102017879486, 0.5773423314094543, -0.49278804659843445, 0.6932868361473083, 0.1712343543767929, -1.0631169080734253, 0.5477212071418762, -0.017316078767180443, -0.3704690635204315, 0.755301296710968, 0.8430245518684387, -0.05545974522829056, 0.17362059652805328, -0.8667883276939392, -0.5408862829208374, 0.4363546669483185, 0.34956055879592896, 0.5011658072471619, 0.30138009786605835, 0.6118020415306091, 0.3585432767868042, 0.1741786003112793, -0.7302903532981873, -0.3446798026561737, -0.014565613120794296, 0.12312355637550354, 0.32859352231025696, -0.24315811693668365, -0.29770711064338684, -0.27591249346733093, 0.28936880826950073, 0.30463895201683044, 0.6165285110473633, 0.5193467736244202, -0.3289555013179779, 0.14535678923130035, -0.06194738671183586, 0.40794074535369873, 0.36409634351730347, -0.3901175856590271, 0.4314785599708557, 0.21378278732299805, -0.8003793954849243, 0.27340230345726013, 0.2834588885307312, -0.06810855865478516, -0.052298255264759064, 0.4484442174434662, 0.5988587737083435, 0.30783137679100037, -0.3563106060028076, 0.9481204152107239, -0.2367728054523468, -0.25585314631462097, -0.4541337192058563, -0.09787555038928986, -0.001824751729145646, 0.06418055295944214, 0.05359373241662979, 0.20720170438289642, 0.4182443618774414, -0.3539702892303467, 0.3295719027519226, 0.5242440700531006, -1.0208392143249512, -0.4781745672225952, 0.6721912622451782, -0.0038473501335829496, -0.46415233612060547, 0.457642138004303, 0.724014401435852, -0.13866004347801208, 0.700107991695404, 0.8276365399360657, 0.9898879528045654, -0.8426219820976257, 0.2485986351966858, 0.02097800187766552, 0.5262172818183899, 0.17444464564323425, 0.22577698528766632, 0.20076963305473328, -0.5509533286094666, 0.21789947152137756, 0.14407362043857574, -0.6264776587486267, -0.2248411327600479, -1.2933790683746338, 0.02610287256538868, -0.5567976236343384, -0.3235108554363251, -0.019767947494983673, -0.5291790962219238, -0.6852002143859863, 0.08161725848913193, -0.14216521382331848, 0.8719004392623901, -0.741787850856781, 0.6175058484077454, 0.7336480021476746, -0.09652295708656311, -0.33399876952171326, -0.04203209653496742, -0.2517794668674469, -1.0293728113174438, 0.08057210594415665, 0.2019818276166916, -0.0365569144487381, 0.051604971289634705, -0.6291791796684265, -0.7983994483947754, 1.0518525838851929, 0.913015604019165, -0.3489397466182709, -0.2051372230052948, 0.3938904106616974, 0.28748053312301636, -0.13091707229614258, 0.09137748181819916, 0.4111019968986511, 0.2128067910671234, -0.04320431873202324, -0.27517926692962646, 0.5891549587249756, 0.1754816323518753, -0.14382150769233704, -0.058217089623212814, -0.2727530896663666, 0.6627230644226074, -0.1795889437198639, -0.3492772877216339, 0.01128065399825573, 0.3601420819759369, -0.20344075560569763, 0.32129818201065063, 0.34121209383010864, 0.6016533970832825, 0.7040661573410034, 0.33040961623191833, 1.5933881998062134, -0.2863672077655792, 0.17686381936073303, 0.8893211483955383, -0.3170883357524872, 0.9042962193489075, 0.6398671269416809, -0.16429200768470764, 0.6255194544792175, 0.13049839437007904, 0.2827759087085724, 0.8339827060699463, 0.11584875732660294, -0.31967994570732117, 0.06393710523843765, -0.030182771384716034, -0.8070057034492493, 0.2977304458618164, 0.5199631452560425, -0.7919722199440002, -0.14648476243019104, 0.39000096917152405, 0.12002779543399811, 0.07509315758943558, -0.10892853885889053, 0.813980221748352, 0.3329516053199768, -0.08314505219459534, 0.14768359065055847, -0.12105809897184372, 0.324114590883255, -0.7313778400421143, -0.12717650830745697, -0.03046460449695587, 0.12998323142528534, -0.3521827459335327, -0.664761483669281, 0.5181402564048767, -0.15827156603336334, 0.1485031396150589, -0.09316074103116989, 1.048882246017456, 0.21198898553848267, -0.5781728625297546, 0.38303226232528687, 0.45288988947868347, -0.05297400802373886, -0.02966775745153427, -0.7226113677024841, -0.17343315482139587, 0.0880543440580368, -0.6432705521583557, 0.7892391681671143, 0.30430930852890015, 0.05229030176997185, 0.7800801992416382, 0.7648565769195557, 0.13322071731090546, 0.07323889434337616, -0.23948824405670166, 0.9398157596588135, -0.7721182703971863, -0.4793041944503784, -1.0846812725067139, 0.3929227888584137, -0.07576673477888107, -0.07795558124780655, 0.7394006848335266, 0.35446420311927795, 0.47042474150657654, -0.22809144854545593, 0.7501419186592102, 0.2769155502319336, 0.5438591837882996, -0.5467733144760132, 0.9336296916007996, -0.36282673478126526, 0.2966671586036682, -0.6228630542755127, -0.49653157591819763, -0.46132591366767883, 0.4271789789199829, -0.3575737774372101, -0.28804123401641846, 0.8640094995498657, 0.7709532380104065, 0.03222082182765007, 0.3292666971683502, 0.2649427056312561, 0.14956910908222198, 0.3893382251262665, 0.519299328327179, 0.855780303478241, -0.7683284878730774, 0.47192373871803284, -0.327151894569397, -0.3214011788368225, 0.011048455722630024, -1.2335247993469238, -0.985525906085968, -0.3474445939064026, -0.43688133358955383, -0.6806638836860657, 0.15882115066051483, 0.40918317437171936, 0.4006335735321045, -0.6955240964889526, 0.23318181931972504, 0.004443144425749779, 0.20600342750549316, -0.1053863987326622, -0.28840023279190063, 0.7267752885818481, 0.6170937418937683, -0.6690120100975037, 0.2620226740837097, -0.14927954971790314, 0.4900834262371063, -0.11299674212932587, 0.5192356109619141, -0.2181660383939743, 0.14176416397094727, 0.10177110135555267, 0.3697308301925659, -0.043070729821920395, -0.4887661635875702, -0.11622098088264465, -0.10237086564302444, -0.07775560021400452, 0.7839747071266174, -0.6794677376747131, 0.43579134345054626, 0.5573834776878357, 1.4134758710861206, 0.45793411135673523, 0.14616356790065765, 0.4815857410430908, -0.7908703088760376, 0.23490311205387115, 0.26214221119880676, 0.08856412768363953, 0.1844274252653122, -0.9650155305862427, 0.23545199632644653, 0.18472698330879211, -0.15335246920585632, -1.0361117124557495, 0.08896281570196152, -1.1052658557891846, -0.4513998329639435, 0.7576389312744141, -0.46054962277412415, -0.5058797597885132, -0.07735238969326019, -0.2908652722835541, -0.023491067811846733, -0.26998135447502136, 0.7655560374259949, 0.3542368412017822, -0.22258241474628448, 0.015994884073734283, -0.6244395971298218, 0.41484662890434265, 0.20377540588378906, -0.7299048900604248, -0.2346794307231903, -0.0548304058611393, 0.478645384311676, 0.07075246423482895, 0.33659568428993225, -0.6273595094680786, 0.12837237119674683, 0.01561280433088541, -0.32899391651153564, -0.3303762376308441, -0.023954356089234352, -0.5500989556312561, 0.5341005921363831, -0.20650440454483032, -0.7243746519088745 ]
http://arxiv.org/abs/2406.07860v1
http://arxiv.org/pdf/2406.07860v1
BookSQL: A Large Scale Text-to-SQL Dataset for Accounting Domain
2024-06-12T04:22:27
2024-06-12T04:22:27
Rahul Kumar, Amar Raja Dibbu, Shrutendra Harsola, Vignesh Subrahmaniam, Ashutosh Modi
cs.CL
cs.CL, cs.AI, cs.LG
Several large-scale datasets (e.g., WikiSQL, Spider) for developing natural language interfaces to databases have recently been proposed. These datasets cover a wide breadth of domains but fall short on some essential domains, such as finance and accounting. Given that accounting databases are used worldwide, particularly by non-technical people, there is an imminent need to develop models that could help extract information from accounting databases via natural language queries. In this resource paper, we aim to fill this gap by proposing a new large-scale Text-to-SQL dataset for the accounting and financial domain: BookSQL. The dataset consists of 100k natural language queries-SQL pairs, and accounting databases of 1 million records. We experiment with and analyze existing state-of-the-art models (including GPT-4) for the Text-to-SQL task on BookSQL. We find significant performance gaps, thus pointing towards developing more focused models for this domain.
[ -0.11193378269672394, -0.5721492767333984, 0.1438353806734085, 0.07847952842712402, -0.4148130416870117, 0.08722115308046341, 0.031089238822460175, -0.6815077662467957, -0.12719039618968964, 0.8526425361633301, -0.524592399597168, -0.4780745208263397, -0.43643903732299805, 0.14599759876728058, -0.3800484836101532, 1.2334930896759033, 0.1785275638103485, -0.09344681352376938, -0.22327622771263123, -0.04204539209604263, -0.6373980641365051, -0.6606358885765076, -0.7218327522277832, 0.10582365095615387, 0.32355138659477234, 0.051123231649398804, 0.7729388475418091, 0.30901074409484863, 0.4495146572589874, 0.1622907519340515, 0.0742110162973404, 0.3174366056919098, -0.26259303092956543, 0.15191638469696045, -0.5223658680915833, -0.16274899244308472, -0.6433457732200623, -0.40965208411216736, 0.8015637993812561, 0.7488014698028564, -0.3756893277168274, 0.23669280111789703, 0.06059246137738228, 1.2044316530227661, -0.4875946342945099, 0.7641304731369019, -0.2573964297771454, -0.0616045743227005, -0.32958585023880005, 0.025227807462215424, -0.3902471363544464, -0.44950637221336365, 0.6179296970367432, -0.7024352550506592, 0.2928963303565979, 0.15801101922988892, 0.6420418620109558, -0.11342329531908035, -0.8453501462936401, -0.6515471935272217, -0.5983269810676575, 0.5398579239845276, -0.7908527851104736, 0.5674697756767273, 0.4861012399196625, 0.307416707277298, 0.14621394872665405, -0.5344662666320801, -0.3580138683319092, 0.07791667431592941, -0.3411317467689514, -0.055946554988622665, -0.06281452625989914, -0.31487005949020386, 0.1534416228532791, 0.2339714914560318, -0.6769281625747681, -0.15400786697864532, -0.027643607929348946, 0.18962398171424866, 0.8358705043792725, 0.39865434169769287, 0.05003137141466141, -0.06910008192062378, -0.16599038243293762, -0.13687090575695038, -0.5427380204200745, -0.05135791748762131, 0.22827930748462677, 0.7701094150543213, 0.09189628064632416, 0.4591553211212158, -0.24879679083824158, 0.9999526739120483, -0.4559420347213745, -0.026408161967992783, -0.06898859143257141, -0.387100487947464, -0.4012879729270935, 0.19457237422466278, 0.41301652789115906, 0.2906354069709778, 0.3121258616447449, -0.2856488525867462, -0.5458777546882629, -0.35129237174987793, 0.15085729956626892, -0.7506316304206848, -0.21363620460033417, 0.29697704315185547, -0.2764986753463745, -0.05388893932104111, -0.15653833746910095, -0.8313910365104675, -0.6240445971488953, -0.5999072194099426, 0.5707703232765198, -0.5101923942565918, -0.34615781903266907, 0.08360783755779266, -0.23530922830104828, 0.33152610063552856, 0.19738537073135376, -1.0370994806289673, 0.8497477769851685, 0.9336175322532654, 0.6606484055519104, 0.013425306417047977, 0.22311128675937653, -0.5763335227966309, 0.5811046361923218, -0.5555932521820068, 0.7697759866714478, -0.40799930691719055, -0.3607577085494995, 0.2762480676174164, -0.03706600144505501, 0.1078135073184967, -0.6748504638671875, 0.4124199450016022, -0.9968937039375305, -0.017876744270324707, -0.45132532715797424, -1.0471677780151367, -0.006678007077425718, 0.040836889296770096, -1.0657386779785156, 0.783482015132904, 0.4445594251155853, -0.47655344009399414, 0.5771239399909973, -0.7022214531898499, -0.6281285285949707, 0.4505864977836609, -0.1821078360080719, -0.4845195412635803, -0.32843533158302307, 0.20640426874160767, 0.37068670988082886, -0.9585457444190979, 0.596884548664093, 0.1981896013021469, -0.1737000048160553, 0.20097821950912476, -0.24810545146465302, 0.8428899049758911, 0.16129101812839508, -0.0061696781776845455, -0.7623748183250427, -0.8596379160881042, 0.04574394226074219, 0.24882647395133972, -0.25450876355171204, -0.7681613564491272, 0.29600340127944946, 0.21919786930084229, -0.3496418297290802, 0.4147491455078125, -0.23751048743724823, 0.4873805344104767, -0.29241302609443665, 0.5198505520820618, 0.4389705955982208, -0.010217305272817612, 0.2706328332424164, -0.22974318265914917, 0.46341025829315186, -0.0893341526389122, 0.09325607120990753, -0.18428710103034973, -0.3962773084640503, -0.07625053077936172, -0.23770295083522797, 0.654930830001831, 0.5829141139984131, -0.7040875554084778, 0.31176048517227173, -0.25670918822288513, -0.5703680515289307, -0.07404180616140366, 0.03214475139975548, 0.1867520809173584, 0.34654325246810913, 0.2886659502983093, -0.31710299849510193, -0.13256289064884186, -0.9678284525871277, -0.7483225464820862, 0.1031496450304985, -0.31358784437179565, 0.39063045382499695, 0.30859658122062683, 0.08244195580482483, 1.0018055438995361, -0.8321776986122131, -0.5934327244758606, 0.2243480086326599, 0.01881418563425541, 0.46721524000167847, 0.4312739968299866, 0.48907288908958435, -1.188913345336914, -0.6371104717254639, 0.25992777943611145, -0.5418746471405029, 0.27598124742507935, -0.16218559443950653, -0.26273953914642334, 0.47448453307151794, 0.18278060853481293, -0.7369557023048401, 0.4347286522388458, 0.21902412176132202, -0.696898341178894, 0.5253394246101379, 0.006038718391209841, 0.013243352994322777, -0.9855976700782776, 0.08209454268217087, 0.24866342544555664, -0.1735028624534607, -0.46635788679122925, -0.41866040229797363, 0.5532958507537842, -0.41491997241973877, 0.25582894682884216, 0.6103352308273315, -0.6451733112335205, -0.4317046105861664, 0.36868152022361755, 0.17988069355487823, 0.35686057806015015, 0.4107073247432709, 0.1638641655445099, 0.8425150513648987, 0.6314643621444702, -0.6475810408592224, 0.4111593961715698, 0.6701153516769409, -0.6415797472000122, 0.8059781193733215, -0.33788663148880005, -0.04639194905757904, 0.18785133957862854, 0.2347094565629959, -0.9663419127464294, -0.19938990473747253, -0.1431705802679062, -0.2500867545604706, 0.4770400822162628, -0.29854103922843933, -0.6374234557151794, -0.20469240844249725, 0.025852862745523453, 0.3848431706428528, 0.2381979078054428, -0.4747225046157837, 0.7965683341026306, 0.3693118691444397, -0.7172079086303711, -0.6004167199134827, -0.7054042816162109, 0.3415650725364685, 0.06298850476741791, -0.550981879234314, 0.41822507977485657, 0.15322726964950562, -0.07329769432544708, 0.3851119875907898, -0.21769531071186066, -0.5088526010513306, -0.3139289617538452, -0.3255973160266876, 0.7324013710021973, -0.4795071482658386, 0.5032492876052856, -0.07384057343006134, 0.16423489153385162, 0.021989362314343452, -0.7290623188018799, 0.008397223427891731, 0.05553511530160904, -0.040905117988586426, -0.2572947144508362, 0.4918781518936157, 0.3051789700984955, -0.5222858190536499, 1.0019938945770264, -0.26111119985580444, -0.6037998795509338, -0.34347236156463623, -0.49907591938972473, 0.2591886520385742, -0.483243852853775, 0.3256032168865204, -0.1769452840089798, -0.7822092771530151, 0.336698442697525, 0.01587824895977974, 0.4768373668193817, 0.5648298859596252, 0.3976890742778778, 0.2463086098432541, 0.5532815456390381, 0.5193155407905579, -0.037737201899290085, 0.30653756856918335, -0.19583801925182343, 0.4713800549507141, -0.44757890701293945, -0.23733390867710114, -0.6934869289398193, 0.16761930286884308, -0.4288489520549774, -0.270153671503067, 0.11273135989904404, -0.12626466155052185, -0.35665538907051086, 0.48581039905548096, -0.3701101541519165, 0.6562771201133728, 0.2518320679664612, -0.41715097427368164, 0.5064660906791687, 0.09141211956739426, 0.1252305954694748, 0.07307586073875427, -0.5038451552391052, -0.43719005584716797, 1.0105044841766357, -0.20338581502437592, 0.6469125151634216, 0.4648194909095764, 0.3723697066307068, 0.5923064351081848, 0.33176910877227783, -0.6488689184188843, 0.16042806208133698, -0.5209795832633972, -1.0441416501998901, -0.7208808660507202, -0.6381347179412842, -0.978483259677887, 0.10930254310369492, 0.10900788009166718, -0.3260047435760498, 0.2831127941608429, 0.08974213898181915, -0.39464443922042847, 0.3062313199043274, -1.0108354091644287, 0.9829870462417603, -0.17074410617351532, -0.3611811101436615, 0.30770474672317505, -0.5274418592453003, 0.24308271706104279, -0.5728127360343933, 0.4757409989833832, 0.08341336250305176, -0.12692305445671082, 0.9528306126594543, -0.6275807023048401, 0.7040441036224365, -0.2285321056842804, -0.5977941155433655, 0.4856279194355011, 0.2475171983242035, 0.6218279600143433, 0.1729644536972046, -0.3046829104423523, 0.12321189790964127, 0.5821760892868042, -0.5583621859550476, -0.5515175461769104, 0.2938838601112366, -0.44576218724250793, -0.19021235406398773, -0.5784883499145508, -0.37736934423446655, -0.6752716898918152, 0.2118055522441864, -0.35619762539863586, 0.872462272644043, -0.2922404408454895, 0.10030079632997513, 0.3546304702758789, -0.15901106595993042, 0.17619194090366364, 0.9326171875, 0.020403152331709862, -0.2822321653366089, 0.9034061431884766, 0.6080400943756104, 0.23181767761707306, 0.49331578612327576, -0.17785049974918365, -0.5859874486923218, -0.19518765807151794, -0.3145006000995636, 0.3677009344100952, -0.40212616324424744, -0.744856059551239, -0.1873141974210739, -0.2044408619403839, -0.7583995461463928, 0.04571094363927841, -0.2866908013820648, -0.47834694385528564, -0.16066811978816986, 0.16442248225212097, 0.6758703589439392, 0.8380534648895264, 0.26191219687461853, 0.09563353657722473, -1.1195013523101807, 0.4084678590297699, 0.43510520458221436, 0.7899190187454224, 0.31629273295402527, -0.20187778770923615, -0.6051557064056396, -0.2856922447681427, -0.13418841361999512, -0.7091728448867798, 0.5857374668121338, 0.291957825422287, 0.1433819681406021, 0.39774060249328613, 0.29379165172576904, 0.5103273391723633, -0.6902779340744019, 0.6923444271087646, 0.0442599393427372, -0.9100719690322876, 0.3031928837299347, -0.5597242712974548, 0.03105398267507553, 0.3608946204185486, 0.5802062153816223, -0.9435214996337891, 0.03973110765218735, -0.5858976244926453, -0.9423995614051819, 0.8378273844718933, 0.2771720588207245, -0.08854861557483673, 0.1596589982509613, 0.6305608153343201, 0.3939669132232666, 0.40947213768959045, -0.3550739586353302, -0.05032697692513466, 0.10846219956874847, -0.08661556988954544, -0.24427242577075958, -0.2125152349472046, 0.11771056801080704, -0.14515994489192963, 0.7410269975662231, -0.06135423108935356, 0.09286916255950928, 0.186385378241539, 0.3402954638004303, -0.18392324447631836, 0.05093763396143913, -0.2045077532529831, 1.048626184463501, -0.3030853867530823, -0.3305043578147888, -0.17433173954486847, -0.49305960536003113, -0.2082730084657669, 0.5506302118301392, 0.021549899131059647, -0.06658462435007095, 0.37216418981552124, 0.4003722667694092, 0.048736244440078735, -1.0008209943771362, 0.4408634603023529, -0.1977280080318451, -0.3406738042831421, -0.5438567399978638, -0.24792134761810303, 0.5957074761390686, 0.4698474705219269, 0.7463871836662292, -0.3542453348636627, 0.2900645434856415, -0.5200053453445435, 0.24911051988601685, 0.3938259184360504, -0.10638178884983063, -0.02276141382753849, 0.5721856355667114, 0.08142206072807312, -0.44963887333869934, 0.8074586987495422, -0.05576155707240105, -0.2922738194465637, 0.7830626368522644, 0.27831265330314636, 0.49324536323547363, -0.23815500736236572, 0.16124428808689117, 0.30545592308044434, 0.23926836252212524, -0.13307015597820282, 0.16780705749988556, -0.13957612216472626, -0.535761833190918, -0.5889498591423035, -0.7552064657211304, -0.7494890689849854, -0.02338961511850357, -0.8339133262634277, 0.31072762608528137, -0.2630523145198822, -0.03622879087924957, 0.34578418731689453, 0.24022243916988373, -0.6476435661315918, 0.3606620132923126, -0.05889033153653145, 0.9185687303543091, -0.5267022848129272, 0.8392759561538696, 0.3137131631374359, -0.3617249131202698, -0.6689241528511047, -0.29285895824432373, -0.16113533079624176, -0.5991367697715759, 0.5290514826774597, -0.1518630087375641, 0.30493980646133423, 0.034540414810180664, -0.6558511257171631, -0.6400399804115295, 1.0943623781204224, 0.2036782205104828, -0.8718748688697815, -0.41407591104507446, 0.3852962553501129, 0.30529481172561646, -0.24466894567012787, -0.3617610037326813, 0.8851735591888428, 0.33546456694602966, 0.01664547808468342, -0.67830491065979, -0.12315034866333008, -0.13180965185165405, -0.012250280007719994, 0.6354615688323975, -0.7346713542938232, 1.041553020477295, 0.21294088661670685, -0.020440539345145226, -0.020775161683559418, 0.491848349571228, 0.0011091867927461863, 0.43311887979507446, 0.3710763454437256, 0.27113160490989685, 1.018319845199585, 0.15841569006443024, 1.1266249418258667, -0.024147700518369675, 0.6176410913467407, 1.1068708896636963, -0.7247999906539917, 0.8584865927696228, 0.06931172311306, -0.5569841265678406, 0.16538885235786438, 0.582215428352356, -0.15340551733970642, 0.36062708497047424, 0.08988766372203827, -0.5020065903663635, -0.2598828971385956, 0.026738328859210014, -0.36701199412345886, -0.20286881923675537, 0.558256208896637, 0.0021395564544945955, -0.09250988811254501, -0.3736494183540344, -0.26056376099586487, -0.09894197434186935, -0.03499963879585266, 0.7434022426605225, 0.30001917481422424, -0.32823044061660767, 0.3823661506175995, -0.05320821702480316, 0.252225399017334, -0.8495165109634399, -0.22182035446166992, -0.32619521021842957, -0.10720536857843399, 0.02296767197549343, -0.7514671087265015, 0.15416747331619263, 0.13225717842578888, 0.09778466075658798, -0.02240186370909214, 0.7328372001647949, -0.3022253215312958, -0.4330618679523468, 0.271963894367218, 0.36704549193382263, 0.053542472422122955, -0.31754836440086365, -0.4568776488304138, -0.5524309873580933, -0.22483573853969574, -0.3586895763874054, 0.43562474846839905, 1.2775815725326538, -0.0468955859541893, 0.3583472967147827, 0.6739467978477478, -0.04343504458665848, -0.18993769586086273, -0.06672004610300064, 0.8433181643486023, -1.0964317321777344, -0.7086402773857117, -0.6341931223869324, 0.14390328526496887, -0.08688569068908691, -0.1521940380334854, 0.4657618999481201, 0.961857795715332, 0.5411443114280701, -0.09442620724439621, 0.838084876537323, 0.012581568211317062, 0.9034997224807739, -0.4955650866031647, 0.7110203504562378, -0.7600159049034119, 0.10745911300182343, -0.4238109290599823, -0.954026997089386, -0.16994720697402954, 0.20740216970443726, -0.12414082884788513, -0.014552169479429722, 0.6377038359642029, 0.6048601269721985, 0.17936332523822784, 0.5488234758377075, 0.42874494194984436, 0.2988244593143463, 0.3011348247528076, 0.4265929162502289, 0.45096859335899353, -0.5075900554656982, 0.6744052767753601, 0.06501499563455582, -0.056650880724191666, -0.2977863550186157, -0.9443264007568359, -0.5218967795372009, -0.7498542666435242, -0.40443727374076843, -0.24985100328922272, 0.07442636787891388, 0.556545078754425, 0.21972444653511047, -0.8280664086341858, -0.5386061072349548, 0.2049519419670105, -0.19234977662563324, -0.2481694370508194, -0.20448924601078033, 0.7013119459152222, -0.3056500256061554, -0.4657513499259949, 0.0010684070875868201, 0.15005482733249664, -0.0749422088265419, 0.007296104449778795, 0.03888867795467377, -0.3198546767234802, 0.279680460691452, 0.7276833057403564, 0.21064703166484833, -0.03853326290845871, 0.08035960793495178, -0.11399644613265991, -0.05056250840425491, -0.05187343806028366, 0.8577516078948975, -0.5549405813217163, 0.13894879817962646, 0.04901284724473953, 1.0226521492004395, 0.7105059623718262, 0.023611854761838913, 0.48905155062675476, -0.6370264291763306, -0.11673735082149506, 0.32142847776412964, -0.018033068627119064, 0.18253374099731445, -0.6898983120918274, 0.8145288228988647, 0.17261120676994324, -0.689930260181427, -0.6126363277435303, -0.174747496843338, -0.99754399061203, -0.475614458322525, 0.8523269891738892, 0.27591004967689514, -0.26144784688949585, -0.23056547343730927, -0.18073947727680206, 0.09708821028470993, -0.6654375791549683, 0.35056576132774353, 1.0211642980575562, -0.07326187938451767, 0.3722170889377594, -1.0793906450271606, 0.6867408156394958, 0.36024171113967896, -0.7530689835548401, 0.7379972338676453, 0.7255964279174805, 0.2659201920032501, -0.0613766610622406, 0.7340094447135925, -0.2029184252023697, 0.20573553442955017, 0.05220847204327583, 0.013030752539634705, 0.33776429295539856, 0.05925862863659859, -0.05290094390511513, 0.09925743192434311, 0.11258351057767868, 0.3120676279067993 ]
http://arxiv.org/abs/2406.07855v1
http://arxiv.org/pdf/2406.07855v1
VALL-E R: Robust and Efficient Zero-Shot Text-to-Speech Synthesis via Monotonic Alignment
2024-06-12T04:09:44
2024-06-12T04:09:44
Bing Han, Long Zhou, Shujie Liu, Sanyuan Chen, Lingwei Meng, Yanming Qian, Yanqing Liu, Sheng Zhao, Jinyu Li, Furu Wei
cs.CL
cs.CL, cs.SD, eess.AS
With the help of discrete neural audio codecs, large language models (LLM) have increasingly been recognized as a promising methodology for zero-shot Text-to-Speech (TTS) synthesis. However, sampling based decoding strategies bring astonishing diversity to generation, but also pose robustness issues such as typos, omissions and repetition. In addition, the high sampling rate of audio also brings huge computational overhead to the inference process of autoregression. To address these issues, we propose VALL-E R, a robust and efficient zero-shot TTS system, building upon the foundation of VALL-E. Specifically, we introduce a phoneme monotonic alignment strategy to strengthen the connection between phonemes and acoustic sequence, ensuring a more precise alignment by constraining the acoustic tokens to match their associated phonemes. Furthermore, we employ a codec-merging approach to downsample the discrete codes in shallow quantization layer, thereby accelerating the decoding speed while preserving the high quality of speech output. Benefiting from these strategies, VALL-E R obtains controllablity over phonemes and demonstrates its strong robustness by approaching the WER of ground truth. In addition, it requires fewer autoregressive steps, with over 60% time reduction during inference. This research has the potential to be applied to meaningful projects, including the creation of speech for those affected by aphasia. Audio samples will be available at: https://aka.ms/valler.
[ -0.3909563422203064, -0.7372161746025085, 0.12262856960296631, -0.025917481631040573, -0.22801455855369568, 0.2213541865348816, 0.02938096597790718, -0.2645595669746399, 0.3793918490409851, 0.3544969856739044, -0.6635792255401611, -0.8460094928741455, -0.300415962934494, 0.19567137956619263, -0.49916112422943115, 0.977078378200531, 0.3883363604545593, -0.2911929488182068, 0.2753574252128601, -0.3479100167751312, -0.4118751585483551, -0.6212642192840576, -0.6631146669387817, -0.05912044644355774, 0.6129456162452698, 0.3424951732158661, 0.44117283821105957, 0.9404468536376953, 0.0778188556432724, 0.16662871837615967, -0.15767571330070496, -0.0836808830499649, -0.37633568048477173, 0.5798194408416748, 0.24435415863990784, -0.245657816529274, -0.9370355010032654, -0.32203468680381775, 0.628711998462677, 0.37440142035484314, -0.34434759616851807, 0.3206340968608856, 0.002836748491972685, 0.6907932758331299, -0.7740874886512756, -0.41322410106658936, -0.6425257921218872, 0.23860661685466766, -0.1776690036058426, -0.23607021570205688, -0.5213744640350342, -0.3917555809020996, 0.05517297238111496, -0.5760630369186401, 0.059035833925008774, -0.17465659976005554, 0.6285502910614014, 0.6068640947341919, -0.06996138393878937, 0.002186606638133526, -0.8327547311782837, 1.0267455577850342, -0.8872101306915283, 0.5103101134300232, 0.14726515114307404, 0.18129703402519226, 0.1414032280445099, -0.5695474147796631, -0.516202986240387, 0.26966574788093567, 0.4069187045097351, 0.25569382309913635, 0.005473725032061338, 0.10427393764257431, 0.1675744354724884, 0.2857339084148407, -0.7434830069541931, -0.03766832500696182, -0.10219224542379379, -0.3062601089477539, 0.2455439567565918, 0.06198569014668465, 0.3842470049858093, -0.0661059245467186, -0.33008071780204773, -0.1472693532705307, -0.7847233414649963, -0.046554792672395706, 0.30425146222114563, 0.6267840266227722, -0.24600274860858917, 0.6034647226333618, 0.11925569176673889, 1.0208550691604614, 0.1711874008178711, -0.22556304931640625, 0.26969608664512634, -0.45954832434654236, -0.3782116770744324, 0.5474541187286377, 0.7816599011421204, 0.06121674180030823, 0.12139376252889633, -0.025558017194271088, -0.04671857878565788, 0.24189385771751404, 0.1864175647497177, -0.8727050423622131, 0.21956972777843475, 0.45334479212760925, -0.1672634333372116, -0.3907536566257477, -0.3037154972553253, -0.9976375102996826, 0.21500855684280396, -0.2762431800365448, 0.3361690044403076, -0.534195065498352, -0.03358951583504677, 0.15767604112625122, 0.251049667596817, 0.28719618916511536, 0.12983952462673187, -0.9613280296325684, 0.2602097988128662, 0.28599265217781067, 0.861429750919342, 0.06128230690956116, -0.3128744661808014, -0.9935482740402222, 0.1506757289171219, -0.4842696189880371, 0.5480346083641052, -0.22217100858688354, -0.3704582154750824, -0.08475004881620407, -0.5757294297218323, 0.15388168394565582, -0.20947372913360596, 0.6139979362487793, -0.2734071612358093, 0.2807336151599884, -0.0012985032517462969, -0.3919188976287842, 0.1646491438150406, 0.03996458649635315, -0.48466956615448, 0.936876654624939, -0.05839429050683975, -0.7188459038734436, 0.3692689538002014, -0.4256647527217865, -0.4674736559391022, -0.09540968388319016, -0.3205675780773163, -0.5620452761650085, 0.03773189336061478, 0.3753557801246643, -0.10802072286605835, -0.12274360656738281, -0.04412491247057915, -0.1656273752450943, -0.3368484675884247, 0.17294247448444366, -0.701450765132904, 0.6861600279808044, 0.4402177035808563, -0.34280112385749817, -0.012772937305271626, -0.8804177045822144, 0.3889847695827484, -0.3298075199127197, -0.2927912175655365, -0.25415122509002686, -0.05054248869419098, 0.04784450680017471, 0.019681071862578392, 0.04915516823530197, -0.4728521406650543, 0.18276803195476532, -0.6436729431152344, 0.460681289434433, 0.41403526067733765, 0.0015441607683897018, 0.6674849390983582, -0.4979124367237091, 0.47852057218551636, -0.442339152097702, -0.00434931181371212, -0.5763758420944214, -0.1914355754852295, -0.45625653862953186, -0.8407235741615295, 0.7603580951690674, 0.6941769123077393, -0.5881140828132629, 0.6874284148216248, -0.3945567309856415, -0.12595407664775848, -0.9909561276435852, -0.42296645045280457, 0.4583645164966583, 0.6527896523475647, 0.40699923038482666, -0.26627659797668457, -0.6196454167366028, -0.4930303394794464, -0.150559663772583, -0.02707495167851448, -0.2258574366569519, -0.04970946162939072, -0.09281142801046371, 0.3236823081970215, 1.0071609020233154, -0.045570749789476395, -0.1662815511226654, 0.14599603414535522, 0.35336312651634216, 0.22549617290496826, 0.476036012172699, 0.42606809735298157, -0.457363098859787, -0.4420939087867737, -0.018503941595554352, -0.6386191844940186, -0.3478490710258484, -0.07544425129890442, -0.036457959562540054, 0.4365059733390808, 0.3904743194580078, -0.36313456296920776, 0.5050055980682373, 0.5279415845870972, -0.15265320241451263, 0.19986489415168762, -0.09612642973661423, 0.5044949054718018, -1.1634529829025269, 0.21660271286964417, -0.16682681441307068, -0.4892449676990509, -0.8268527388572693, -0.3956490755081177, -0.27686411142349243, -0.2961254119873047, -0.5697822570800781, 0.22056914865970612, -0.477737694978714, -0.2044496089220047, -0.11187700927257538, 0.20449751615524292, -0.08263792097568512, 0.3926900029182434, -0.004977110773324966, 0.9679621458053589, 0.6047594547271729, -0.4348195195198059, -0.06535827368497849, 0.32124289870262146, -0.04946814477443695, 0.7611973285675049, -0.6391178369522095, 0.33143410086631775, -0.07017259299755096, 0.07515240460634232, -0.644627034664154, 0.15991580486297607, 0.07530179619789124, -0.89057856798172, 0.3893968462944031, -0.3712916970252991, -0.18967044353485107, 0.2006966769695282, -0.369703471660614, 0.7777186632156372, 0.7465177178382874, -0.3034871220588684, 0.43766775727272034, 0.5292372107505798, -0.5117190480232239, -0.7943089604377747, -0.9678205847740173, 0.2784522473812103, -0.22309139370918274, -0.4418928027153015, 0.32251739501953125, 0.0031651766039431095, -0.10987052321434021, -0.022823482751846313, -0.27654320001602173, -0.032851263880729675, -0.49674269556999207, -0.10299182683229446, 0.3336849510669708, -0.33580827713012695, -0.1312709003686905, 0.12403042614459991, -0.3033828139305115, -0.5585606694221497, -0.469349205493927, 0.3823723793029785, -0.0556550957262516, -0.4263377785682678, -0.6159780621528625, 0.48237937688827515, 1.216753363609314, -0.16723531484603882, 0.1162375956773758, 0.004292713478207588, -0.4632015526294708, -0.30092674493789673, -0.28582724928855896, -0.05710452049970627, -0.37280309200286865, 0.1851688027381897, -0.19504417479038239, -0.9256351590156555, 0.3345048129558563, 0.14787623286247253, 0.09173572808504105, 0.008689023554325104, 0.5560442209243774, 0.08096196502447128, 0.815682590007782, 0.37873658537864685, -0.2517836391925812, 0.46356576681137085, -0.10299456119537354, 0.25166061520576477, -0.650302529335022, 0.2507905960083008, -0.4588961899280548, -0.18612396717071533, -0.43394190073013306, -0.31374862790107727, 0.5113691687583923, -0.08434170484542847, -0.3087819516658783, 0.3996341824531555, -0.9607497453689575, 0.28383493423461914, 0.40381696820259094, -0.08194606751203537, 0.39634737372398376, 0.3304643929004669, -0.01423418615013361, -0.3121665120124817, -0.7928396463394165, -0.5198991894721985, 1.0758715867996216, 0.1749129444360733, 0.7201728224754333, -0.03606649488210678, 0.8672235012054443, 0.29822686314582825, -0.0854475125670433, -0.8317190408706665, 0.402766615152359, -0.2507826089859009, -0.29636454582214355, -0.6082297563552856, -0.37011486291885376, -0.7030215859413147, 0.2171122431755066, -0.4672270119190216, -0.617785632610321, 0.16048675775527954, 0.24411696195602417, -0.721705973148346, 0.21360355615615845, -0.5484079122543335, 0.6792498230934143, -0.08021918684244156, -0.37863945960998535, 0.08254753798246384, -0.7044146656990051, 0.031115993857383728, -0.130607008934021, 0.3556881844997406, 0.02074292115867138, 0.012780660763382912, 0.3190835416316986, -0.5843406319618225, 0.6149387359619141, -0.030456697568297386, -0.24877697229385376, 0.41092637181282043, 0.06036010757088661, 0.27914324402809143, -0.10405365377664566, -0.18253947794437408, 0.06917760521173477, 0.22202132642269135, -0.47466012835502625, -0.4821515679359436, 0.6954663991928101, -0.3649120628833771, -0.042826298624277115, -0.36284568905830383, -0.6762152314186096, -0.19201251864433289, 0.18458901345729828, 0.5331591963768005, 0.8526895642280579, -0.35344478487968445, 0.1229458749294281, 0.7618550658226013, -0.25411781668663025, 0.662083089351654, 0.31649249792099, -0.21826939284801483, -1.0149247646331787, 0.85846346616745, 0.24678389728069305, 0.4265786409378052, 0.5516138076782227, -0.16369539499282837, -0.2923298478126526, -0.4995005130767822, -0.7782222032546997, 0.01735476590692997, -0.17537549138069153, -0.28202736377716064, -0.2651989459991455, -0.2350568324327469, -0.5155088305473328, -0.4088008999824524, -0.781683087348938, -0.5439382791519165, -0.10234025120735168, 0.09888339787721634, 0.24782802164554596, 0.24614311754703522, -0.21016359329223633, 0.08897676318883896, -1.0028327703475952, 0.45617181062698364, 0.343389093875885, 0.1152649074792862, -0.2408100813627243, -0.6079904437065125, -0.07170822471380234, 0.20291467010974884, 0.0008867972064763308, -0.7756121158599854, 0.6270473003387451, 0.05679938197135925, 0.013574348762631416, 0.03527284786105156, 0.19681553542613983, 0.6412449479103088, -0.6846347451210022, 0.7370244264602661, 0.488278329372406, -1.139493465423584, 0.4923643469810486, -0.4664228856563568, 0.49197009205818176, 0.6262001991271973, -0.22772356867790222, -0.45189493894577026, -0.475064218044281, -0.40629199147224426, -1.0212496519088745, 0.461270809173584, 0.5482180714607239, -0.09106536954641342, 0.08421081304550171, 0.22730648517608643, -0.01577381044626236, 0.24064837396144867, -0.6605618596076965, -0.4346984028816223, -0.3750725984573364, -0.460907906293869, 0.3925132155418396, -0.11876153200864792, -0.06260829418897629, -0.12573739886283875, 0.6952619552612305, 0.07059584558010101, 0.2455722838640213, 0.5771217346191406, 0.19895365834236145, -0.2963016629219055, 0.5498912930488586, 0.9408955574035645, 0.34507182240486145, -0.17570579051971436, 0.23365336656570435, 0.26193711161613464, -0.3794870674610138, 0.4229389727115631, -0.01592010073363781, -0.3888116776943207, 0.2276400774717331, 0.15434889495372772, 0.6859112977981567, 0.09219281375408173, -0.446701318025589, 0.49340152740478516, -0.04021744430065155, -0.361603319644928, -0.16318680346012115, -0.4649394154548645, -0.13912823796272278, 0.032682809978723526, 0.3831964433193207, 0.027247577905654907, -0.1264500916004181, -0.28432926535606384, 0.5246761441230774, 0.3087296187877655, -0.3215898871421814, -0.4121101200580597, 0.7196468710899353, 0.14650677144527435, -0.6389504075050354, 0.23201331496238708, -0.07099474966526031, -0.06951425224542618, 0.26996248960494995, 0.40816730260849, 1.0337969064712524, -0.5138401985168457, 0.028506973758339882, 0.4278407394886017, 0.32112419605255127, 0.03155956789851189, 0.40568822622299194, -0.09575173258781433, -0.4996577799320221, -0.9635693430900574, -0.6015242338180542, -0.39510029554367065, 0.1993849128484726, -0.6083326935768127, 0.45993417501449585, -0.2792949974536896, -0.21192461252212524, -0.13149617612361908, -0.6943745017051697, -0.02919040061533451, 0.18908554315567017, 0.050816845148801804, 0.6533583402633667, -0.6603984832763672, 1.0142152309417725, 0.2965702414512634, -0.43960040807724, -0.6025030612945557, 0.10429555922746658, 0.0656774640083313, -0.5220195651054382, 0.3264131546020508, -0.22305110096931458, -0.5374860763549805, 0.32938817143440247, -0.3969970643520355, -0.6920205950737, 0.9274740815162659, 0.5877624154090881, -0.8082038760185242, -0.10106037557125092, 0.07643073052167892, 0.5309281349182129, -0.2646653950214386, -0.1310788244009018, 0.30113163590431213, 0.2994840443134308, 0.4038650691509247, -0.9894148111343384, -0.1628047376871109, -0.018156645819544792, -0.007931876927614212, 0.5227803587913513, -0.20265547931194305, 0.565326452255249, 0.04100784286856651, -0.454842746257782, 0.18712803721427917, 0.5849642157554626, 0.2860313951969147, 0.24693745374679565, 0.25859948992729187, 1.0508275032043457, 0.5601541996002197, 0.11423400044441223, 0.5148085951805115, -0.644079864025116, 0.4498748779296875, 1.0902434587478638, -0.26704299449920654, 0.8461509346961975, 0.7446249127388, -0.13627637922763824, 0.07974474132061005, 0.14846785366535187, 0.27167561650276184, 0.7923489809036255, 0.19676928222179413, -0.7910451292991638, -0.09920131415128708, 0.03579329326748848, -0.31750741600990295, 0.3165777623653412, 0.18378674983978271, -0.01469572726637125, -0.3565654754638672, -0.09423510730266571, -0.1587046980857849, 0.21774840354919434, -0.15577320754528046, 0.6977112293243408, 0.06823494285345078, -0.6220310926437378, 1.0379703044891357, -0.4176160991191864, 0.9038519859313965, -0.4672083258628845, -0.2460438460111618, -0.09831919521093369, -0.12347058206796646, -0.15745069086551666, -0.3880496025085449, 0.5926706790924072, 0.184199258685112, -0.3209667503833771, -0.4187171757221222, 0.5592844486236572, -0.7168505191802979, -0.20059902966022491, -0.019364776089787483, 0.5459239482879639, 0.09750040620565414, 0.1919381320476532, -0.46207961440086365, 0.1572125107049942, 0.08032388985157013, -0.04823514446616173, 0.3236088752746582, 0.599839985370636, 0.26925626397132874, 0.260444700717926, 0.5427380204200745, 0.34856054186820984, 0.06270099431276321, -0.002792604034766555, 0.37296441197395325, -0.5658560991287231, -0.3075392544269562, -0.7953433394432068, 0.685413122177124, 0.19515575468540192, -0.16876834630966187, 0.42229926586151123, 0.6147223114967346, 0.5089699625968933, 0.057805921882390976, 1.045145034790039, 0.013440180569887161, 0.7062253952026367, -0.6187438368797302, 0.6921401619911194, -0.3100165128707886, 0.2538889944553375, -0.20262141525745392, -0.8319190740585327, -0.3880786597728729, 0.7355989813804626, 0.1476331204175949, -0.1662192940711975, 0.6712719798088074, 0.9783820509910583, 0.07178156077861786, -0.0665462464094162, 0.740847110748291, 0.0288655124604702, 0.05102594941854477, 0.418570339679718, 0.5188685655593872, -0.6004544496536255, 0.7777087092399597, 0.09147761017084122, -0.35035207867622375, 0.22807471454143524, -1.1105479001998901, -0.33329635858535767, -0.5059930682182312, -0.436581552028656, -0.30116143822669983, 0.23684409260749817, 0.8177486658096313, 0.699074923992157, -0.758640706539154, -0.3174281716346741, -0.4601491093635559, 0.04705648869276047, -0.053137943148612976, -0.231775164604187, 0.18986310064792633, -0.34493309259414673, -0.8858375549316406, 0.6935660243034363, 0.8252364993095398, 0.31332603096961975, 0.032745275646448135, 0.03509250655770302, -0.17519734799861908, 0.3183782994747162, 0.582377552986145, 0.6837573647499084, -0.6645534038543701, -0.3528722822666168, 0.26549232006073, -0.1589774340391159, 0.28060734272003174, 0.8186734318733215, -0.7474777102470398, 0.613879382610321, 0.5621610283851624, 0.718201756477356, 0.5755121111869812, 0.037359219044446945, 0.7032050490379333, -0.6973128914833069, 0.08356283605098724, 0.4251581132411957, 0.0823540911078453, 0.22944898903369904, -0.016622235998511314, 0.22503700852394104, 0.08877050131559372, -0.7358677983283997, -0.9303399920463562, 0.30204156041145325, -1.1385903358459473, -0.18793728947639465, 0.9890531301498413, 0.14210860431194305, -0.2624480724334717, -0.05792918801307678, -0.33655837178230286, 0.493726521730423, -0.5393461585044861, 0.7606443166732788, 0.595725953578949, -0.15708178281784058, -0.1382666677236557, -0.42628854513168335, 0.4683365523815155, 0.5552961230278015, -0.5874707698822021, 0.2193005532026291, 0.7561967372894287, 0.20796087384223938, 0.18633927404880524, 0.9450047612190247, -0.41602301597595215, 0.23234198987483978, 0.07403960078954697, 0.5818150043487549, 0.09923388808965683, -0.1219477653503418, -0.5928509831428528, 0.20848259329795837, -0.021881626918911934, -0.5725300312042236 ]
http://arxiv.org/abs/2406.07850v1
http://arxiv.org/pdf/2406.07850v1
Dynamic Stochastic Decoding Strategy for Open-Domain Dialogue Generation
2024-06-12T03:38:45
2024-06-12T03:38:45
Yiwei Li, Fei Mi, Yitong Li, Yasheng Wang, Bin Sun, Shaoxiong Feng, Kan Li
cs.CL
cs.CL, cs.AI
Stochastic sampling strategies such as top-k and top-p have been widely used in dialogue generation task. However, as an open-domain chatting system, there will be two different conversation scenarios, i.e. chit-chat and knowledge-based question answering. In the former situation, responses diversity is essential due to the one-to-many nature in dialogue. The latter, on the other hand, requires less randomness given that stochastic decoding strategy entails the risk of generating incorrect information. As a result, an adaptive and flexible decoding strategy is needed to cope with these two scenarios simultaneously. To this end, we propose the dynamic decoding strategy (DDS), which can adjust the decoding space w.r.t. different contexts. In DDS, both sequence-level and token-level adaptive search can be achieved to adjust the decoding process in a unified framework. Besides, our adaptive algorithm can not only be used during model inference, but it can also be applied during the model training stage to further enhance the performance. Comprehensive experiments indicate that the proposed decoding strategy can consistently improve the performance of pre-trained dialogue models when coupled with four well-used stochastic decoding algorithms.
[ -0.2986283600330353, -0.8542998433113098, 0.2733297646045685, 0.3265177011489868, -0.5033339262008667, 0.45806047320365906, -0.19823512434959412, -0.21330751478672028, 0.10045094043016434, 0.2558818459510803, -0.9197072386741638, -0.3933406174182892, -0.45715853571891785, 0.051954738795757294, 0.1534440964460373, 0.8149925470352173, 0.053251367062330246, 0.11967431008815765, -0.14282606542110443, -0.10170888155698776, -0.6883981823921204, -0.3914313018321991, -0.9013558626174927, 0.2431792914867401, 0.1121612936258316, 0.27117061614990234, 0.6337428092956543, 0.29089900851249695, 0.06009776517748833, 0.2503819465637207, -0.26156920194625854, 0.3643862307071686, -0.9263597726821899, 0.46554306149482727, -0.13606441020965576, -0.39506766200065613, -0.4223915934562683, -0.47115036845207214, 0.6337761282920837, 0.5350704789161682, -0.590887188911438, -0.21860696375370026, 0.06477432698011398, 0.20869404077529907, -0.6182045936584473, 0.2663270831108093, -0.7245115637779236, 0.1668221801519394, 0.09970007091760635, -0.7207860350608826, -0.35115689039230347, -0.43799152970314026, 0.3434757590293884, -0.6107814311981201, 0.127782940864563, -0.19682030379772186, 0.5351699590682983, 0.05117755010724068, -0.32519420981407166, -0.44079479575157166, -1.0608575344085693, 0.8552880883216858, -0.8207891583442688, 0.30575498938560486, 0.1224513128399849, 0.43967729806900024, -0.4311671555042267, -0.5825770497322083, -0.5739274621009827, 0.036240220069885254, 0.3157605528831482, 0.23977555334568024, -0.1597186028957367, 0.04373935982584953, 0.15921036899089813, 0.32201051712036133, -0.09031474590301514, 0.03183482214808464, -0.1142842099070549, -0.2239949107170105, 0.43001100420951843, 0.27881762385368347, 0.10310399532318115, 0.18439647555351257, -0.21090862154960632, -0.4286952018737793, -0.41076305508613586, 0.1885421723127365, 0.5186004042625427, 0.3923686742782593, -0.21806609630584717, 0.14040397107601166, -0.3681577742099762, 0.3554231822490692, 0.25655537843704224, -0.2881423234939575, 0.01912728324532509, -0.6949784755706787, -0.21217584609985352, -0.018735244870185852, 0.563234806060791, 0.4029189944267273, 0.0918082445859909, 0.04706916585564613, -0.00417309207841754, -0.291629433631897, 0.27575579285621643, -0.7596851587295532, -0.17428405582904816, 0.10512016713619232, -0.5076261162757874, -0.5273609161376953, -0.2966249883174896, -1.1226578950881958, -0.12879028916358948, 0.08440598100423813, 0.2548947036266327, -0.5129312872886658, -0.5946730375289917, 0.27596530318260193, -0.03425772488117218, 0.12047699093818665, 0.6354401111602783, -0.8944598436355591, 0.30725008249282837, 0.09179946780204773, 0.6830080151557922, 0.008303165435791016, 0.08166592568159103, -0.6228456497192383, 0.0970483124256134, -0.480560302734375, 0.5691859722137451, -0.5623441338539124, -0.6200422644615173, 0.19902127981185913, -0.3673652708530426, -0.2447637915611267, -0.4237581491470337, 0.2702699601650238, -0.7012667655944824, 0.303354412317276, -0.1959475576877594, -0.23526328802108765, 0.02200048603117466, 0.1007356122136116, -0.5235443711280823, 0.7631819844245911, 0.27503544092178345, -0.8039742112159729, 0.25500112771987915, -0.7145108580589294, -0.23036563396453857, -0.024851346388459206, -0.14907166361808777, -0.3475984036922455, 0.23535069823265076, 0.4269685447216034, 0.03194747120141983, -0.24195623397827148, 0.16637499630451202, -0.25466933846473694, -0.2053060680627823, 0.25649285316467285, -0.610832929611206, 0.7052493095397949, 0.5109968781471252, -0.2321264147758484, 0.25363796949386597, -0.7386420965194702, 0.21933189034461975, 0.37858325242996216, -0.5092882513999939, -0.12990334630012512, 0.46233803033828735, -0.4649456739425659, -0.04771901294589043, -0.15621423721313477, -0.4521320164203644, 0.22040626406669617, -0.4874337613582611, 0.3653099238872528, 0.5879645943641663, 0.5243931412696838, 0.41598182916641235, -0.34492701292037964, 0.568015992641449, 0.4110003411769867, -0.1262168437242508, -0.3079722821712494, -0.3164491355419159, -0.6686175465583801, -0.37571436166763306, 0.40837669372558594, 0.7517949342727661, -1.1334228515625, 0.3300623297691345, -0.3036370277404785, -0.26181110739707947, -0.6012683510780334, -0.34172317385673523, 0.22181454300880432, 0.20643004775047302, 0.29537659883499146, -0.5582027435302734, -0.3848987817764282, -0.37510770559310913, -0.17592984437942505, -0.22396895289421082, -0.20288534462451935, 0.5980041027069092, 0.041422005742788315, -0.08982027322053909, 0.9147265553474426, -0.4899555742740631, 0.09219545871019363, -0.448955774307251, -0.00001639350193727296, 0.01669025979936123, 0.37525153160095215, 0.6481832265853882, -0.6362485885620117, -0.3452508747577667, -0.34389302134513855, -0.5214701294898987, 0.02673725038766861, -0.29789668321609497, -0.4262557327747345, 0.1771065890789032, 0.2573454976081848, -0.5990060567855835, 0.5674905776977539, 0.36433523893356323, -0.11319581419229507, 0.6234819889068604, -0.2859245240688324, 0.4317833483219147, -1.2348623275756836, -0.36029061675071716, -0.39663800597190857, -0.015219004824757576, -0.8124672174453735, 0.10228848457336426, -0.3027923107147217, -0.109629325568676, -0.4404965937137604, 0.17643657326698303, -0.3919604420661926, 0.2366517186164856, -0.13327151536941528, -0.09316892921924591, -0.10827518254518509, 0.6631127595901489, 0.1818586140871048, 0.813054084777832, 0.5981746315956116, -0.7292406558990479, 0.3919932544231415, 0.371871680021286, -0.5498199462890625, 0.49898266792297363, -0.30013447999954224, 0.2773987352848053, -0.12497642636299133, 0.6030216217041016, -1.1504274606704712, -0.018064048141241074, 0.27774542570114136, -0.3471270203590393, 0.30043551325798035, -0.19271214306354523, -0.29558342695236206, -0.20899628102779388, -0.14393837749958038, 0.7748637795448303, 0.45516714453697205, -0.5196264386177063, 0.4670615494251251, 0.32766950130462646, -0.48807594180107117, -0.5506060123443604, -0.21366877853870392, 0.010470558889210224, -0.17639191448688507, -0.771216869354248, 0.35099002718925476, -0.26953572034835815, 0.05789859965443611, -0.3029092848300934, -0.3947221040725708, 0.08312712609767914, 0.05865422263741493, -0.218058779835701, 0.015146349556744099, -0.40305250883102417, -0.23874948918819427, 0.2518284022808075, 0.0974763035774231, -0.11909408122301102, -0.6265959739685059, 0.8223266005516052, 0.32354387640953064, -0.3652430474758148, -0.47739270329475403, 0.7027079463005066, 0.529699981212616, -0.23059868812561035, 0.8870518207550049, 0.415006548166275, -0.19767074286937714, -0.4236554801464081, -0.09749945253133774, -0.42509254813194275, -0.4991243779659271, 0.3916088938713074, -0.7090396285057068, -0.9495659470558167, 0.6500609517097473, -0.22963163256645203, 0.06942093372344971, -0.0861380472779274, 0.7120097875595093, -0.10916686803102493, 1.0340759754180908, 0.5802299380302429, 0.20873427391052246, 0.4677311182022095, -0.026287199929356575, 0.6784561276435852, -0.41034695506095886, -0.17875981330871582, -0.38940608501434326, -0.16433760523796082, -0.6372608542442322, -0.63864666223526, 0.2837989628314972, 0.4444560408592224, 0.013777375221252441, 0.08443915843963623, -0.21566474437713623, 0.1286190003156662, 0.7271701097488403, 0.11279307305812836, 0.20761816203594208, 0.45591410994529724, -0.5157110095024109, -0.06985312700271606, -0.9502077698707581, -0.1585134118795395, 0.8017878532409668, 0.4859342873096466, 0.9322130680084229, 0.35120874643325806, 0.413927286863327, 0.16272664070129395, -0.324992299079895, -0.5822232365608215, 0.6256066560745239, 0.1651587188243866, -0.2133484035730362, -0.4092092514038086, -0.7676773071289062, -0.8905699849128723, 0.21962270140647888, -0.30932748317718506, -0.6164987087249756, 0.23450003564357758, 0.07353443652391434, -0.5148841738700867, 0.5481606721878052, -0.23578839004039764, 0.6580497622489929, 0.08632855117321014, -0.06018402427434921, -0.2883240878582001, -0.5272731781005859, 0.14082248508930206, 0.01438684668391943, 0.00416460121050477, 0.042859967797994614, 0.47928544878959656, 0.6370828747749329, -0.2544272243976593, 0.7238419651985168, -0.5651360154151917, -0.2874387204647064, 0.44462350010871887, 0.25560057163238525, 0.5491921901702881, 0.12225909531116486, 0.06954192370176315, 0.047923821955919266, 0.33054548501968384, -0.55119389295578, -0.5632017850875854, 0.1810806542634964, -0.8265029788017273, -0.6623096466064453, -0.22608569264411926, -0.7068266272544861, -0.5333892107009888, 0.08346743136644363, 0.36471274495124817, 0.44728654623031616, -0.5308386087417603, 0.24020476639270782, 0.8253347277641296, -0.5866900086402893, 0.27968737483024597, 0.4995598793029785, 0.24251234531402588, -0.47164517641067505, 0.6416423916816711, -0.26757675409317017, 0.573811411857605, 0.5308030247688293, -0.005160912871360779, -0.25522613525390625, -0.9476175308227539, -0.6250998377799988, -0.07161466032266617, -0.5395562052726746, -0.22411693632602692, -0.6696090698242188, -0.4153653383255005, -0.666898787021637, 0.061057887971401215, -0.24017655849456787, -0.2503871023654938, -0.2190435230731964, -0.09924426674842834, 0.24613967537879944, 0.1756693571805954, 0.08259668946266174, 0.40139880776405334, -0.9515984654426575, 0.3256596028804779, 0.35939860343933105, 0.39208921790122986, 0.05567089468240738, -0.44856375455856323, -0.26533421874046326, 0.46188580989837646, -0.24578341841697693, -0.8819561004638672, 0.4408358037471771, 0.25660622119903564, 0.7777843475341797, 0.41308507323265076, 0.49787259101867676, 0.6050686836242676, -0.5454686880111694, 0.7050957679748535, 0.03987282142043114, -0.6544561386108398, 0.5284639596939087, -0.6044782996177673, 0.3796512484550476, 0.4887828528881073, 0.23079025745391846, -0.487853080034256, -0.46531879901885986, -0.3725326657295227, -0.7196713089942932, 1.0537487268447876, 0.3292475640773773, 0.33990880846977234, 0.08035524934530258, 0.0022148187272250652, 0.10572811216115952, 0.3327149450778961, -0.2101857215166092, 0.1043083667755127, -0.4064514935016632, -0.4994979500770569, 0.2144126445055008, -0.32589468359947205, -0.4590202867984772, 0.10156361013650894, 0.28913259506225586, -0.199086993932724, 0.9610726833343506, -0.07690151035785675, 0.040554191917181015, -0.3125420808792114, 0.39214852452278137, 0.8246520161628723, 0.46111175417900085, -0.42484813928604126, -0.2566549479961395, 0.2661086320877075, -0.4881362318992615, 0.11267092823982239, -0.039106518030166626, -0.08885378390550613, -0.14640557765960693, 0.10420908033847809, 1.3147282600402832, 0.25831446051597595, -0.6415470242500305, 0.4384154677391052, -0.3044624328613281, -0.4184470772743225, -0.1391303390264511, 0.3861747682094574, -0.10803987085819244, 0.41331833600997925, 0.5121975541114807, 0.2464675009250641, -0.26556241512298584, -0.5610514283180237, 0.2545524537563324, 0.39069268107414246, -0.07803738862276077, -0.24871842563152313, 0.4394383132457733, 0.3542552888393402, -0.3271515965461731, 0.5342981815338135, -0.16440148651599884, -0.4615750312805176, 0.40569043159484863, 0.6255794763565063, 0.8181449174880981, -0.45966461300849915, 0.3435562551021576, 0.16781413555145264, -0.010871450416743755, 0.03520845249295235, 0.3329678773880005, -0.3818152844905853, -1.0035938024520874, -0.3517783284187317, -0.9518252015113831, -0.4557425379753113, 0.2686529755592346, -0.6184380054473877, -0.08048640936613083, -0.4146452844142914, 0.08181638270616531, -0.4119241535663605, -0.08554256707429886, -0.4848614037036896, 0.13896428048610687, -0.07686209678649902, 1.030828833580017, -0.3400740623474121, 0.9241445660591125, 0.3388745188713074, 0.005355255678296089, -0.5376415252685547, 0.2983608841896057, 0.0309611726552248, -0.5752951502799988, 0.22243866324424744, -0.20255011320114136, -0.30317720770835876, 0.18196602165699005, -0.26489678025245667, -1.0501961708068848, 1.078166127204895, 0.017207443714141846, -0.24900132417678833, -0.3845619261264801, 0.16568860411643982, 0.46339064836502075, -0.8530406951904297, 0.16048294305801392, 0.41126707196235657, 0.06343869119882584, 0.4018106758594513, -1.01997709274292, -0.004043763969093561, -0.24636662006378174, 0.15874898433685303, -0.042921263724565506, -0.366766095161438, 0.6406301259994507, -0.18157553672790527, -0.7509512901306152, 0.4284439980983734, 0.7438109517097473, 0.2725531756877899, 0.23319348692893982, 0.6847630143165588, 0.39659085869789124, 0.5160217881202698, -0.04465945065021515, 0.6847285628318787, -0.21826469898223877, 0.12747043371200562, 0.8554801344871521, -0.21423307061195374, 0.8093627095222473, -0.023496154695749283, -0.12398748099803925, 0.560863733291626, 0.6745591759681702, 0.2197323441505432, 1.0812677145004272, 0.09175699204206467, -0.5243728756904602, -0.22964361310005188, 0.38609495759010315, -0.2591225206851959, 0.44129177927970886, 0.6251881718635559, -0.10238432884216309, -0.37729573249816895, 0.31403955817222595, -0.17589734494686127, -0.04808586463332176, -0.08302424848079681, 1.1177301406860352, -0.33162423968315125, -0.8038555979728699, 0.8431586623191833, 0.22772806882858276, 0.5902187824249268, -0.7414414286613464, 0.13185714185237885, -0.29528623819351196, 0.1628013253211975, 0.2248164564371109, -0.4811446964740753, 0.02348414435982704, -0.1919194459915161, -0.16583821177482605, -0.20083531737327576, 0.6991811394691467, -0.700668454170227, -0.03168380260467529, 0.300993412733078, 0.588851273059845, -0.08376377075910568, 0.26992952823638916, -0.48798277974128723, 0.11648405343294144, 0.30098000168800354, -0.07802689075469971, 0.47976866364479065, 0.4984048902988434, 0.02594819664955139, 0.44968557357788086, 0.829220712184906, -0.06777561455965042, 0.12911157310009003, 0.14554376900196075, 0.988496720790863, -0.543368935585022, -0.8581676483154297, -0.30131274461746216, 0.5171518325805664, -0.11006545275449753, 0.02001546137034893, 0.5026810169219971, 0.0762166678905487, 0.8998563885688782, -0.12354234606027603, 0.8121474981307983, 0.09696368128061295, 0.6348341703414917, -0.5992375016212463, 0.4789715111255646, -0.2885088324546814, 0.35773178935050964, -0.20247863233089447, -0.938751757144928, 0.048980962485075, 0.705487072467804, 0.012212874367833138, 0.25211629271507263, 0.46926748752593994, 0.8119662404060364, -0.1231677234172821, 0.40146011114120483, 0.27659010887145996, 0.20732326805591583, 0.46675753593444824, 0.6620979309082031, 0.8538321256637573, -0.13219095766544342, 0.719679594039917, 0.19238945841789246, -0.5682491064071655, -0.43274959921836853, -0.6946364045143127, -0.7080664038658142, -0.37846532464027405, -0.1847635805606842, -0.5732839107513428, 0.17003533244132996, 0.6762121319770813, 0.677671492099762, -0.7819709777832031, -0.1598646491765976, 0.07627217471599579, -0.1445024311542511, -0.5181679129600525, -0.22825013101100922, 0.009114257991313934, -0.47614115476608276, -0.849675178527832, 0.7428056597709656, 0.33755677938461304, 0.04662855714559555, -0.04851297661662102, -0.1567143350839615, -0.11183782666921616, 0.6538233160972595, 0.7035631537437439, 0.29222068190574646, -0.36774638295173645, -0.3491058349609375, 0.12284541875123978, -0.047352202236652374, 0.1540013998746872, 1.0616562366485596, -0.6326054334640503, 0.5279889106750488, 0.6483297944068909, 0.6619473695755005, 0.6576128602027893, 0.08869244158267975, 0.8977217674255371, -0.8651933670043945, 0.11307159811258316, 0.3327534794807434, 0.04216330498456955, 0.12826138734817505, -0.19008049368858337, 0.07089509814977646, 0.4386749267578125, -0.4232969284057617, -0.9144576787948608, 0.5741408467292786, -0.9771552085876465, -0.5584209561347961, 0.8685747981071472, -0.17492838203907013, 0.10919197648763657, -0.2682426869869232, -0.14439789950847626, 0.3814905881881714, -0.4400674104690552, 0.766008198261261, 0.6539269089698792, -0.10509578138589859, -0.31132832169532776, -0.3719727098941803, 0.7948616743087769, 0.4046876132488251, -0.5465081334114075, 0.1386675238609314, 0.5243943929672241, 0.26254481077194214, 0.15865835547447205, 0.8954905271530151, 0.0007120709051378071, 0.2472948431968689, 0.3159531354904175, -0.4595493972301483, 0.06779759377241135, -0.304113507270813, -0.025604356080293655, 0.3780219256877899, -0.13298727571964264, -0.3784772753715515 ]
http://arxiv.org/abs/2406.07842v1
http://arxiv.org/pdf/2406.07842v1
Dual-Pipeline with Low-Rank Adaptation for New Language Integration in Multilingual ASR
2024-06-12T03:17:57
2024-06-12T03:17:57
Yerbolat Khassanov, Zhipeng Chen, Tianfeng Chen, Tze Yuang Chong, Wei Li, Jun Zhang, Lu Lu, Yuxuan Wang
eess.AS
eess.AS, cs.CL
This paper addresses challenges in integrating new languages into a pre-trained multilingual automatic speech recognition (mASR) system, particularly in scenarios where training data for existing languages is limited or unavailable. The proposed method employs a dual-pipeline with low-rank adaptation (LoRA). It maintains two data flow pipelines-one for existing languages and another for new languages. The primary pipeline follows the standard flow through the pre-trained parameters of mASR, while the secondary pipeline additionally utilizes language-specific parameters represented by LoRA and a separate output decoder module. Importantly, the proposed approach minimizes the performance degradation of existing languages and enables a language-agnostic operation mode, facilitated by a decoder selection strategy. We validate the effectiveness of the proposed method by extending the pre-trained Whisper model to 19 new languages from the FLEURS dataset
[ -0.28928351402282715, -0.2089390903711319, 0.015194055624306202, 0.10934596508741379, -0.40479499101638794, 0.4408022165298462, -0.25005248188972473, -0.40972235798835754, 0.20383651554584503, 0.5662999153137207, -0.24514754116535187, -0.2727223038673401, -0.9326655864715576, 0.12253955751657486, -0.2600352168083191, 0.699726402759552, -0.2256009578704834, 0.12832219898700714, 0.26323169469833374, -0.2729191184043884, -0.4549131691455841, -0.8689702749252319, -0.7899622917175293, -0.1790943443775177, 0.3891226053237915, 0.3331114947795868, 0.33859753608703613, 0.2677900493144989, 0.36550694704055786, 0.2786886692047119, 0.08807945996522903, 0.19599108397960663, -0.24213573336601257, 0.041346751153469086, 0.016699377447366714, -0.12552861869335175, -0.3760662078857422, -0.2567407488822937, 1.054772138595581, 0.5889372825622559, -0.1549731194972992, 0.21931059658527374, 0.25345730781555176, 0.4750000834465027, -0.8267478346824646, 0.2560133934020996, -0.691760778427124, 0.09172690659761429, -0.32666704058647156, -0.393398255109787, -0.28160369396209717, -0.0922425240278244, 0.26711270213127136, -0.4297192096710205, -0.24076275527477264, -0.4202871322631836, 0.3599647581577301, 0.5088487863540649, -0.5751662850379944, -0.49827882647514343, -0.9228841066360474, 0.6862928867340088, -0.6330444812774658, 0.6508073806762695, 0.25913918018341064, 0.6110501289367676, 0.3519834280014038, -0.5054107904434204, -0.39298757910728455, 0.010523157194256783, 0.11845485121011734, 0.0240242350846529, -0.31106439232826233, -0.2627294659614563, -0.06891363114118576, 0.2665288746356964, -0.3364311158657074, 0.2199554294347763, -0.5478684902191162, -0.42811012268066406, 0.7141835689544678, -0.22321070730686188, -0.09026478230953217, 0.10502113401889801, -0.3180226683616638, -0.004967436660081148, -0.4820602536201477, 0.29415497183799744, 0.5052807927131653, 1.0192925930023193, -0.3922012746334076, 0.3558368980884552, 0.048704151064157486, 0.5444930195808411, -0.10025064647197723, -0.23939993977546692, 0.7165830135345459, -0.19235992431640625, 0.013134963810443878, 0.4095204472541809, 0.8675476312637329, -0.18535105884075165, 0.21609993278980255, -0.0204557403922081, -0.3418964147567749, 0.21946130692958832, -0.14974156022071838, -0.5587788820266724, -0.06769029796123505, -0.07901362329721451, -0.19890384376049042, -0.1366342008113861, -0.023847801610827446, -0.5507994294166565, -0.37846753001213074, -0.21492990851402283, 0.8694923520088196, -0.20871728658676147, -0.48646166920661926, 0.3116079270839691, -0.04568331316113472, 0.3330565094947815, 0.4101788103580475, -0.6046164035797119, 0.5802721977233887, 0.32872170209884644, 0.8070638179779053, -0.14769062399864197, -0.532963752746582, -1.2549000978469849, 0.24021585285663605, 0.01383079681545496, 0.8092783689498901, -0.5113925337791443, -0.5161972045898438, 0.07847332954406738, 0.1810711920261383, -0.44921669363975525, -0.592494547367096, 0.6270499229431152, -0.30659329891204834, 0.22120803594589233, 0.00037335974047891796, -0.05658922716975212, -0.06410405784845352, -0.2552827298641205, -0.3629770874977112, 0.9633093476295471, -0.0457073450088501, -0.5366397500038147, 0.1417471319437027, -0.8958239555358887, -0.9542405605316162, -0.10052459686994553, -0.22930927574634552, -0.14649155735969543, 0.10429433733224869, 0.34510594606399536, 0.17481504380702972, -0.23489834368228912, 0.025178205221891403, 0.2992646098136902, -0.35690271854400635, 0.0646059662103653, -0.5626442432403564, 0.7782135009765625, 0.3308868706226349, -0.02628776989877224, 0.02073199488222599, -0.7868666648864746, 0.05288999155163765, -0.13068534433841705, -0.5403680801391602, -0.02002415433526039, 0.14416539669036865, 0.17384375631809235, 0.2578364312648773, 0.3203141987323761, -0.47948259115219116, 0.13673487305641174, -0.3824015259742737, 0.4395129680633545, 0.5380382537841797, -0.08690022677183151, 0.43742722272872925, -0.11691880971193314, 0.6468830704689026, 0.2876657545566559, -0.057782940566539764, -0.1346689909696579, -0.4391789734363556, -1.0151602029800415, -0.3360481560230255, 0.47613099217414856, 0.8496426343917847, -0.8971532583236694, 0.4520075023174286, -0.3975183069705963, -0.16927963495254517, -0.9605775475502014, 0.31847891211509705, 0.49051931500434875, 0.2884153425693512, 0.43771860003471375, -0.4302859604358673, -0.8187646269798279, -0.6740715503692627, -0.05023118853569031, -0.13801750540733337, 0.023705845698714256, 0.08369746059179306, 0.23307619988918304, -0.34798458218574524, 0.7582558989524841, -0.28008443117141724, -0.48708024621009827, -0.36380472779273987, 0.03811143338680267, 0.3331524431705475, 0.5105159282684326, 0.43727272748947144, -0.5690094828605652, -0.6270081400871277, 0.24772007763385773, -0.4886692762374878, 0.049665793776512146, 0.3453975021839142, 0.030748305842280388, 0.15546782314777374, 0.45335501432418823, -0.06029098480939865, 0.260824054479599, 0.8596203327178955, 0.07012702524662018, 0.23761427402496338, -0.3277711272239685, 0.14535106718540192, -1.175364375114441, -0.09294683486223221, -0.17912624776363373, -0.1413397192955017, -0.9448351860046387, -0.36604779958724976, -0.07855553179979324, -0.4339700937271118, -0.6447275876998901, 0.6331822872161865, -0.6034272909164429, -0.1852552741765976, -0.33384281396865845, -0.08230794221162796, -0.06484238803386688, 0.3710935413837433, 0.28712528944015503, 0.7922271490097046, 1.00320565700531, -0.648438036441803, 0.17799432575702667, 0.4011811316013336, -0.2554241716861725, 0.3430406153202057, -0.4155539870262146, 0.37221619486808777, -0.21454118192195892, 0.11299774795770645, -0.7694265842437744, -0.05187160521745682, 0.22983801364898682, -0.5774852633476257, 0.5086972713470459, -0.7755693793296814, -0.29434454441070557, -0.332501620054245, -0.18335135281085968, 0.1947333812713623, 0.7083343863487244, -0.47075504064559937, 0.6739262938499451, 0.6809065937995911, -0.372222900390625, -0.6097695827484131, -0.9574745297431946, -0.023167261853814125, -0.15721283853054047, -0.44894346594810486, -0.07460928708314896, -0.12379617989063263, 0.1253986805677414, -0.41271305084228516, -0.1662060171365738, -0.3209036588668823, -0.11719699949026108, 0.1055009663105011, -0.02352885715663433, -0.5621306896209717, -0.2564457356929779, 0.3210807740688324, -0.4025690257549286, -0.28336232900619507, -0.357380211353302, 0.4833524227142334, -0.11177331954240799, -0.5994551777839661, -0.7249400615692139, 0.502530574798584, 0.6882728338241577, -0.6131006479263306, 0.6492923498153687, 0.6698891520500183, -0.34206655621528625, -0.013386169448494911, -0.5486657619476318, 0.08897542208433151, -0.48630884289741516, 0.14932000637054443, -0.7127577066421509, -0.85476154088974, 0.5914976000785828, -0.0021428472828119993, 0.0018989738309755921, 0.2827789783477783, 0.43837398290634155, -0.013739443384110928, 0.8014366030693054, 0.6695635914802551, -0.3137323558330536, 0.39025017619132996, -0.2905435264110565, 0.27749451994895935, -0.95323646068573, 0.05606962740421295, -0.6796724200248718, -0.24160481989383698, -0.5540521740913391, -0.7023330330848694, 0.4902777075767517, -0.036310289055109024, -0.06691242009401321, 0.20835283398628235, -0.36080339550971985, 0.3193037509918213, 0.5264962315559387, -0.18991488218307495, 0.4917919933795929, 0.3045297861099243, 0.07564111053943634, 0.10024894028902054, -0.6182900667190552, -0.46084341406822205, 0.9642764925956726, 0.4352399706840515, 0.6819276213645935, 0.46778762340545654, 0.7145996689796448, 0.2164876013994217, -0.007740269880741835, -0.8386745452880859, 0.2731819152832031, -0.637312114238739, -0.3621116578578949, -0.3216361105442047, -0.27823594212532043, -0.850977897644043, 0.6167538166046143, -0.12230006605386734, -0.6187329292297363, 0.37787771224975586, 0.2353743463754654, -0.4560115933418274, 0.20436902344226837, -1.001676321029663, 0.5923163890838623, -0.3276800513267517, -0.049677181988954544, 0.20047122240066528, -0.7745279669761658, -0.011901534162461758, -0.37257540225982666, 0.40372124314308167, -0.1980891078710556, -0.05161936581134796, 0.8902817964553833, -0.24806784093379974, 0.7002452611923218, -0.6210400462150574, -0.19758915901184082, 0.21109752357006073, -0.4023478329181671, 0.5759262442588806, -0.1065167710185051, -0.44973281025886536, 0.3181285560131073, 0.13050901889801025, -0.3088066577911377, -0.345522403717041, 0.4841768443584442, -1.024595022201538, -0.38105955719947815, -0.548128604888916, -0.41345053911209106, -0.5779829025268555, 0.1398291289806366, 0.3312511444091797, 0.6124638319015503, -0.038420673459768295, 0.08166036754846573, 0.23613467812538147, -0.2015191912651062, 0.28111204504966736, 0.8727254271507263, -0.1955704241991043, -0.5829465985298157, 0.9982836842536926, 0.21170958876609802, 0.33329614996910095, 0.40419164299964905, 0.27754703164100647, -0.4244461953639984, -1.045342206954956, -0.6854261755943298, 0.08842801302671432, -0.5185400247573853, -0.12093410640954971, -0.6705924868583679, -0.6161038279533386, -0.5905090570449829, -0.14783288538455963, -0.59610515832901, -0.3039644956588745, -0.31749019026756287, 0.3648572564125061, 0.3427506387233734, 0.48893436789512634, -0.10242066532373428, 0.48998767137527466, -0.8683239221572876, 0.3924337327480316, 0.33002039790153503, 0.19601206481456757, -0.2727188467979431, -1.1190805435180664, -0.34868842363357544, 0.12367639690637589, 0.1296355277299881, -0.6142832636833191, 0.40828773379325867, 0.6585710644721985, 0.7575453519821167, 0.2537529170513153, 0.1498093456029892, 0.7370873689651489, -0.8084603548049927, 0.38357943296432495, 0.2663675546646118, -0.9372568726539612, 0.6944909691810608, -0.3680548667907715, 0.47513771057128906, 0.7533851861953735, 0.18059858679771423, -0.5009849667549133, -0.11162391304969788, -0.010140912607312202, -0.4864037334918976, 0.7655637860298157, 0.03622141852974892, 0.4116436541080475, 0.34848564863204956, -0.02330927737057209, 0.28287580609321594, 0.26465317606925964, -0.5994800925254822, -0.40567952394485474, -0.3004750907421112, -0.2655448317527771, -0.40330228209495544, -0.16947494447231293, -0.0556967556476593, -0.40319010615348816, 0.5600005388259888, -0.3070630431175232, 0.20014731585979462, -0.2292332947254181, -0.44306814670562744, -0.15953198075294495, 0.4964703619480133, 0.3534068465232849, 0.37334007024765015, -0.193696528673172, 0.1774565577507019, 0.3582727015018463, -0.6580155491828918, 0.37367746233940125, 0.5758645534515381, -0.03867743909358978, 0.032774195075035095, 0.18373386561870575, 1.0489134788513184, 0.5300577878952026, -0.45416611433029175, 0.48038434982299805, 0.15095482766628265, -0.2666737735271454, -0.46317967772483826, -0.05416607856750488, -0.03847718983888626, 0.2755183279514313, 0.5227128267288208, 0.33707648515701294, 0.058890871703624725, -0.5008677244186401, 0.010442090220749378, 0.4282485544681549, -0.3428964912891388, -0.45854905247688293, 0.3071790039539337, 0.5121782422065735, -0.3648611009120941, 0.2396712601184845, -0.23661847412586212, -0.43389174342155457, 0.020067647099494934, 0.5316928029060364, 0.8303669095039368, -0.8106517195701599, 0.09782533347606659, 0.21963728964328766, 0.3521822988986969, 0.07808022201061249, 0.4131511151790619, 0.01847556047141552, -0.9173055291175842, -0.4618259370326996, -0.9170660376548767, -0.37164318561553955, 0.14329613745212555, -0.8315615653991699, 0.7324375510215759, -0.19239158928394318, 0.07163885980844498, -0.04901688173413277, -0.11315183341503143, -0.4312528967857361, -0.08309899270534515, 0.4569847881793976, 0.7770637273788452, -0.9574565887451172, 1.3773130178451538, 0.784443736076355, -0.21023797988891602, -0.4813474714756012, -0.061442069709300995, 0.15913109481334686, -0.9602818489074707, 0.3913220465183258, -0.1834019422531128, -0.7295706868171692, 0.23628675937652588, 0.22582505643367767, -1.1929385662078857, 0.8523939847946167, 0.5412653684616089, -0.27442601323127747, 0.022682135924696922, 0.15750490128993988, 0.4288600981235504, -0.4436120092868805, -0.20566551387310028, 0.41144293546676636, 0.25962159037590027, 0.5416184663772583, -1.3658267259597778, -0.5695415139198303, -0.4130779206752777, -0.10079622268676758, 0.3667910397052765, -0.3991074562072754, 0.6386203169822693, -0.18536889553070068, -0.2511119544506073, 0.08742786198854446, 0.519221305847168, 0.20003977417945862, 0.3028232753276825, 0.7054322957992554, 0.12410753965377808, 0.6733028292655945, 0.09232715517282486, 0.526584267616272, -0.09574498981237411, 0.06302902102470398, 1.3031784296035767, -0.6591965556144714, 1.4920939207077026, 0.47670212388038635, -0.3097735047340393, 0.4887411594390869, 0.15300434827804565, 0.228692427277565, 0.8069665431976318, -0.049854882061481476, -0.45029962062835693, 0.055856626480817795, -0.04685892537236214, -0.7123357653617859, 0.8808046579360962, 0.40324246883392334, -0.052725907415151596, -0.05736127123236656, 0.27016156911849976, -0.06247773393988609, -0.21030279994010925, -0.18930231034755707, 0.7818695902824402, -0.022645557299256325, -0.1461261659860611, 0.7099117040634155, -0.209610715508461, 1.0479023456573486, -0.9899192452430725, 0.29075872898101807, 0.10906848311424255, 0.22324857115745544, -0.09521981328725815, -0.3526780903339386, 0.3596295714378357, 0.32067152857780457, -0.14036104083061218, -0.30880874395370483, 0.7543848752975464, -0.5526728630065918, -0.820556640625, 0.3519253134727478, 0.9265103340148926, 0.2697621285915375, -0.04302229359745979, -0.5655988454818726, 0.517652690410614, 0.02806059457361698, 0.15169863402843475, 0.40861186385154724, 0.2366933673620224, 0.25364449620246887, 0.5103379487991333, 0.7615302801132202, 0.13290821015834808, 0.2868909537792206, 0.38504114747047424, 0.8385356068611145, -0.39999163150787354, -0.7758030295372009, -0.3763212561607361, 0.7579004764556885, 0.2736702859401703, 0.020868394523859024, 0.655565083026886, 0.7327561378479004, 0.5611879229545593, -0.028855180367827415, 1.1595760583877563, 0.19623315334320068, 0.9192602038383484, -0.5644769072532654, 0.6572821140289307, -0.5039627552032471, 0.40251314640045166, -0.3661435842514038, -0.683677077293396, -0.19124729931354523, 0.7723491191864014, -0.3211287558078766, 0.024678485468029976, 0.5361613035202026, 0.6319065093994141, -0.336381196975708, -0.18998220562934875, 0.42154279351234436, 0.10623989254236221, 0.08751287311315536, 0.49280840158462524, 0.9705011248588562, -0.645492434501648, 0.5594127774238586, -0.13564710319042206, -0.2313350886106491, -0.13449637591838837, -0.7849494814872742, -0.5959835648536682, -0.6559533476829529, -0.5391761660575867, -0.03571520373225212, 0.039050403982400894, 0.7975302338600159, 0.821743905544281, -1.0732650756835938, -0.6336347460746765, 0.4270944595336914, -0.14758317172527313, -0.020012879744172096, -0.11445765197277069, 0.1297328770160675, -0.12438273429870605, -0.681782603263855, 0.9112050533294678, 0.3755515217781067, 0.13242706656455994, -0.2607497572898865, -0.4585217833518982, -0.2806991934776306, -0.15679125487804413, 0.684847354888916, 0.4708074927330017, -0.6824007034301758, -0.3026069402694702, -0.1867794245481491, 0.3701097071170807, 0.2784940302371979, 0.7897855639457703, -0.7895110845565796, 0.5392436385154724, 0.198464035987854, 0.5993605256080627, 0.5583661198616028, -0.35186707973480225, 0.5516349673271179, -0.8673627972602844, 0.5695992112159729, 0.21974556148052216, 0.39384859800338745, 0.5569801330566406, 0.05712094157934189, 0.2967738211154938, 0.07613398879766464, -0.09577303379774094, -1.0871186256408691, 0.24991492927074432, -0.9544307589530945, 0.14877404272556305, 1.0497255325317383, 0.10022462159395218, 0.3667738437652588, -0.38676509261131287, -0.19782935082912445, 0.2236110121011734, -0.3864642083644867, 0.07399605214595795, 0.4288237690925598, -0.24227482080459595, -0.41862332820892334, -0.6727080941200256, 0.2458323985338211, -0.10646666586399078, -0.7268624305725098, -0.02279602736234665, 0.3186170756816864, 0.2283543050289154, 0.17810793220996857, 0.9396713972091675, -0.07040328532457352, 0.12695901095867157, -0.13490590453147888, -0.05080579221248627, 0.06889170408248901, -0.21832482516765594, -0.7744155526161194, -0.05301298946142197, 0.4121088981628418, -0.4682956337928772 ]
http://arxiv.org/abs/2406.07841v1
http://arxiv.org/pdf/2406.07841v1
Labeling Comic Mischief Content in Online Videos with a Multimodal Hierarchical-Cross-Attention Model
2024-06-12T03:16:45
2024-06-12T03:16:45
Elaheh Baharlouei, Mahsa Shafaei, Yigeng Zhang, Hugo Jair Escalante, Thamar Solorio
cs.CV
cs.CV, cs.CL
We address the challenge of detecting questionable content in online media, specifically the subcategory of comic mischief. This type of content combines elements such as violence, adult content, or sarcasm with humor, making it difficult to detect. Employing a multimodal approach is vital to capture the subtle details inherent in comic mischief content. To tackle this problem, we propose a novel end-to-end multimodal system for the task of comic mischief detection. As part of this contribution, we release a novel dataset for the targeted task consisting of three modalities: video, text (video captions and subtitles), and audio. We also design a HIerarchical Cross-attention model with CAPtions (HICCAP) to capture the intricate relationships among these modalities. The results show that the proposed approach makes a significant improvement over robust baselines and state-of-the-art models for comic mischief detection and its type classification. This emphasizes the potential of our system to empower users, to make informed decisions about the online content they choose to see. In addition, we conduct experiments on the UCF101, HMDB51, and XD-Violence datasets, comparing our model against other state-of-the-art approaches showcasing the outstanding performance of our proposed model in various scenarios.
[ -0.3860064148902893, -0.7135372161865234, 0.08752092719078064, 0.35095497965812683, -0.2680495083332062, 0.16190984845161438, 0.024339402094483376, -0.5381067991256714, 0.6259552240371704, 0.46661511063575745, -0.7048397660255432, -0.1010906845331192, -0.813503623008728, 0.03547849506139755, -0.45507732033729553, 1.0987188816070557, 0.3541203439235687, -0.3351943790912628, -0.13784605264663696, 0.0711844190955162, -0.25703153014183044, -0.3899032771587372, -0.6444045901298523, 0.15801872313022614, 0.7894743084907532, 0.1257447451353073, 0.835322916507721, 0.5662301778793335, 0.9431207776069641, 0.32943469285964966, 0.12307347357273102, 0.5654885768890381, -0.5948718190193176, 0.1108652725815773, -0.6073113083839417, -0.20106354355812073, -0.46978500485420227, -0.16412560641765594, 0.09261924028396606, 0.11982913315296173, 0.10954029113054276, 0.08594097942113876, -0.4068094789981842, 0.1569407880306244, -0.9685579538345337, 0.023303842172026634, -0.3686128556728363, 0.3454538881778717, -0.2913680970668793, -0.6690860986709595, -0.5818660855293274, 0.32254356145858765, -0.5043602585792542, -0.6129633188247681, 0.11221552640199661, 0.07033240050077438, 0.6471749544143677, 0.448727548122406, -0.4392843246459961, -0.06263978034257889, -0.7314092516899109, 0.5389540791511536, -0.3164379298686981, 0.5639995336532593, 0.5663083791732788, 0.22073912620544434, 0.2353370487689972, -0.6806181073188782, -0.6889097094535828, 0.004859974142163992, 0.1361173689365387, 0.26799476146698, -0.5454590320587158, -0.14269065856933594, 0.08760393410921097, 0.2659694254398346, -0.3445112407207489, 0.029439926147460938, -0.04850652813911438, -0.5073439478874207, 0.5102523565292358, 0.3200979232788086, 0.5253016352653503, -0.4413618743419647, -0.7358503341674805, -0.10595188289880753, -0.25886738300323486, 0.20520921051502228, 0.7763557434082031, 0.1483573019504547, -0.16184793412685394, 0.6710605025291443, 0.10352685302495956, 0.1700257658958435, 0.34938937425613403, -0.6415259838104248, 0.13199864327907562, -0.5264878869056702, 0.030360430479049683, -0.28319495916366577, 1.004753589630127, 0.685558557510376, 0.3334140181541443, -0.224685400724411, -0.17184191942214966, 0.29185399413108826, 0.564802348613739, -0.5163912177085876, -0.4040394425392151, 0.10790403187274933, -0.35653403401374817, -0.5188076496124268, -0.03435281664133072, -0.8722025156021118, -0.8213171362876892, -0.12930329144001007, 0.48576638102531433, -0.573955774307251, -0.32466766238212585, 0.11810483783483505, -0.3533407151699066, -0.49869826436042786, 0.46186956763267517, -0.6555783748626709, 0.2004159539937973, 0.27592286467552185, 0.6352579593658447, -0.3289835751056671, -0.005613470915704966, -0.6466832756996155, 0.5922838449478149, -0.04786433279514313, 0.8180379271507263, -0.7154267430305481, 0.322900652885437, -0.06141347438097, 0.2474110871553421, 0.00948379561305046, -0.41286396980285645, 0.8399289846420288, -0.6005300879478455, -0.15698103606700897, 0.2841552495956421, -0.08544199168682098, -0.029904697090387344, 0.5656278133392334, -1.1305224895477295, 0.7002779245376587, 0.051073942333459854, -1.154939889907837, 0.2892027497291565, -0.4546770453453064, -0.6186090707778931, -0.08130336552858353, 0.14937303960323334, -0.49318215250968933, -0.25052449107170105, 0.34726765751838684, 0.4215019941329956, -0.10187911987304688, 0.2754509747028351, -0.4390292167663574, -0.15626589953899384, 0.5092964768409729, -0.6731401681900024, 0.6593252420425415, 0.2762107849121094, -0.252538800239563, 0.1155935674905777, -0.4193529784679413, -0.31315329670906067, 0.27264443039894104, -0.011510403826832771, -0.3488825857639313, 0.001675373176112771, 0.2605593502521515, 0.5235024690628052, 0.27249181270599365, -0.6375527381896973, -0.16569861769676208, 0.19635920226573944, 0.2506429851055145, 0.5416157841682434, -0.1106901541352272, 0.14223100244998932, -0.4065491259098053, 0.6599652171134949, 0.5305412411689758, 0.6665767431259155, -0.37759697437286377, -0.6566381454467773, -0.40728846192359924, -0.5829505324363708, 0.011432857252657413, 0.5355303883552551, -0.8673204183578491, 0.3315340578556061, -0.1664438396692276, -0.23745514452457428, -0.2504955530166626, -0.05870199576020241, 0.4042833745479584, 0.106447733938694, 0.5063061118125916, -0.6491416096687317, -0.48923632502555847, -0.6794934272766113, -0.1334359496831894, -0.13385598361492157, 0.14642180502414703, 0.4914766550064087, 0.3700011372566223, -0.19647881388664246, 0.713178277015686, -0.2523728907108307, -0.7853450179100037, -0.2467799186706543, 0.25704124569892883, -0.16746219992637634, 0.2696647644042969, 0.6193681359291077, -1.1000810861587524, -0.43698757886886597, 0.11682437360286713, -0.4853794276714325, -0.07275350391864777, -0.13126392662525177, 0.07654844224452972, -0.29083123803138733, 0.31915658712387085, -0.6262332201004028, 0.3911533057689667, 0.21635067462921143, -0.2060644030570984, 0.6642810702323914, 0.2565401792526245, 0.6590363383293152, -0.7073855400085449, -0.18000340461730957, 0.1928747147321701, -0.47561293840408325, -0.6954848766326904, 0.5726487636566162, -0.013139200396835804, -0.12376310676336288, -0.6742580533027649, 0.17620910704135895, -0.027607569471001625, 0.0667908564209938, 0.10757441818714142, 0.02703767456114292, -0.060237519443035126, 0.9031960368156433, 0.0960719883441925, 0.31448477506637573, 0.5317698121070862, -0.21491406857967377, 0.7067844271659851, -0.08500681072473526, 0.12457826733589172, 0.7796812057495117, -0.3220294713973999, 0.0813078060746193, -0.3317188322544098, 0.13858145475387573, -1.2670667171478271, -0.5920345187187195, 0.5692204833030701, -0.6544491052627563, 0.474322646856308, -0.37962374091148376, -0.8617494106292725, -0.3595067858695984, -0.4743153750896454, 0.7348973155021667, -0.15454630553722382, -0.44667020440101624, 0.511298418045044, 0.5959576964378357, -0.14693908393383026, -0.7338383793830872, -0.4497809410095215, 0.35903796553611755, -0.3518638610839844, -0.7775157690048218, 0.42777982354164124, -0.16114351153373718, 0.18503884971141815, -0.11032772064208984, 0.001954429317265749, -0.4691372215747833, -0.3560038208961487, 0.04073599725961685, -0.11140226572751999, 0.0699029341340065, -0.0322408527135849, 0.05760345607995987, 0.24486073851585388, 0.0941556766629219, 0.14113858342170715, 0.5026340484619141, 0.2855638563632965, -0.4492592215538025, -0.5930655598640442, 0.6765166521072388, 0.7233580946922302, -0.42789149284362793, 0.04565864056348801, 1.0990548133850098, -0.5568814873695374, -0.08414792269468307, -0.28073549270629883, 0.05025244504213333, -0.4866262376308441, 0.4505152702331543, 0.03766290470957756, -0.6904279589653015, 0.5016742944717407, 0.059701528400182724, -0.29996955394744873, 0.20022723078727722, 0.46740832924842834, -0.13810108602046967, 1.3805086612701416, 0.6971408128738403, 0.07346426695585251, 0.46208643913269043, -0.14060451090335846, 0.39774712920188904, -0.41472360491752625, -0.4406042993068695, -0.35301947593688965, -0.4275362193584442, -0.2929641306400299, -0.6382142901420593, 0.4094015657901764, 0.019152164459228516, -0.06702327728271484, 0.6359965801239014, -0.24100372195243835, 0.5604751110076904, 0.11503429710865021, 0.4089493751525879, 0.4909999668598175, 0.22465461492538452, 0.08559027314186096, -0.3345513939857483, -0.5602261424064636, -0.09375839680433273, 0.7452963590621948, 0.5939868688583374, 1.2573868036270142, 0.8200626373291016, 0.41519618034362793, 0.7637832760810852, 0.1186782643198967, -0.7945530414581299, 0.44041678309440613, -0.4419531226158142, -0.8197029232978821, -0.19883869588375092, -0.26889580488204956, -0.8219621181488037, -0.013736497610807419, -0.11320176720619202, -0.7897223234176636, 0.2650340497493744, -0.06426449865102768, -0.23405565321445465, 0.5567107796669006, -0.5552932024002075, 0.6985835433006287, 0.050427574664354324, -0.6695299744606018, -0.23496215045452118, -0.8952799439430237, 0.7853272557258606, 0.06345342844724655, 0.6485720872879028, 0.3151283264160156, -0.19014503061771393, 0.5783739686012268, -0.18155792355537415, 1.2236841917037964, 0.17859306931495667, -0.28897055983543396, 0.48130711913108826, 0.302357941865921, 0.3559039235115051, 0.05506208911538124, 0.6767041087150574, -0.02947527915239334, -0.2060900777578354, -0.0727422684431076, -0.4234165847301483, 0.4381754994392395, -0.6867550611495972, -0.21294695138931274, -0.25148674845695496, -0.9227458834648132, -0.148565873503685, 0.25384312868118286, 0.14736293256282806, 0.6849316954612732, 0.26467007398605347, 0.19157958030700684, 0.9676377773284912, -0.1049867644906044, 0.6129732131958008, 0.1447884738445282, -0.14972913265228271, -0.42457908391952515, 1.1783806085586548, -0.11070343106985092, 0.2681688368320465, 0.6316187977790833, 0.10215162485837936, -0.47008177638053894, -0.13882951438426971, -0.38754111528396606, 0.11415915936231613, -0.9158193469047546, -0.38434144854545593, -0.9724652767181396, -0.18395665287971497, -0.6432758569717407, 0.1344703584909439, -0.251796156167984, -0.39999568462371826, -0.3411324918270111, 0.28505632281303406, 0.10016991943120956, 0.6284485459327698, -0.26342684030532837, 0.24688377976417542, -0.7449805736541748, 0.7774572968482971, 0.2797100245952606, 0.3713842034339905, 0.020102927461266518, -0.7139046788215637, -0.06806343793869019, -0.21844317018985748, -0.8566859364509583, -1.2450004816055298, 0.4379686713218689, 0.26905903220176697, 0.3605359196662903, 0.8137994408607483, 0.137455552816391, 0.5103211998939514, -0.342324435710907, 0.6030737161636353, 0.6127410531044006, -0.5009639859199524, 0.4142618775367737, -0.656717836856842, -0.13412727415561676, -0.0392455980181694, 0.9519238471984863, -0.42825937271118164, -0.5483437776565552, -0.49739569425582886, -0.49680095911026, 0.5978701114654541, 0.29224175214767456, 0.3020613193511963, -0.3272148668766022, -0.4042324721813202, 0.08137796819210052, 0.3233863115310669, -1.0285289287567139, -0.2583165466785431, -0.3906296193599701, 0.03269869461655617, 0.30408331751823425, 0.11061129719018936, -0.15154507756233215, -0.13757428526878357, 0.20799094438552856, -0.25204336643218994, 0.45079025626182556, -0.012114104814827442, -0.37377074360847473, -0.47446179389953613, 0.22390411794185638, 0.3426433801651001, 0.44587814807891846, -0.17057818174362183, 0.4153480529785156, -0.5895474553108215, -0.7658934593200684, 0.07551583647727966, -0.14359129965305328, 0.16516919434070587, -0.07808133214712143, 0.5769070982933044, 0.3850010633468628, 0.21744729578495026, -0.8767954111099243, 0.9385166764259338, 0.11641363799571991, 0.11024601757526398, 0.06533832103013992, 0.022869259119033813, -0.14229615032672882, 0.20190657675266266, 0.16673146188259125, 0.46681660413742065, 0.6336641311645508, -0.8091734051704407, 0.555613100528717, 0.1845654547214508, -0.4772151708602905, -0.2813640832901001, 0.770585834980011, -0.01534612849354744, -0.30005744099617004, 0.17372246086597443, -0.41385775804519653, -0.6578583121299744, 0.8106883764266968, 0.7588592171669006, 0.45921510457992554, -0.31056174635887146, 0.641053318977356, 0.21482010185718536, 0.544765293598175, 0.571917712688446, 0.3674580752849579, -0.06921062618494034, -0.6952618956565857, -0.5370664596557617, -0.4341011643409729, -0.2806296944618225, 0.21498192846775055, -0.6290679574012756, 0.30819281935691833, -0.5894525051116943, -0.28235575556755066, 0.233244389295578, -0.43455690145492554, -0.5230759382247925, 0.4571314752101898, 0.28069883584976196, 0.5480509400367737, -0.9540545344352722, 0.402166485786438, 0.6630870699882507, -0.6175398826599121, -0.30347636342048645, -0.1967620551586151, 0.07294593006372452, -0.6292198300361633, 0.457022100687027, 0.13545221090316772, -0.06341121345758438, -0.13791748881340027, -0.7318469882011414, -0.70339035987854, 0.5048328638076782, 0.11352360993623734, -0.33188891410827637, -0.03653755038976669, 0.3318081200122833, 0.525326669216156, -0.3542235493659973, 0.45975273847579956, 0.24762143194675446, 0.3242265284061432, 0.23740844428539276, -0.81110680103302, -0.13865871727466583, -0.44396984577178955, -0.5058112144470215, 0.39749836921691895, -0.7048614621162415, 0.985835611820221, -0.5523692965507507, -0.28517499566078186, -0.09202101826667786, 0.4886499047279358, 0.1107088178396225, 0.5180976986885071, 0.7004861831665039, 0.8278904557228088, 0.19762957096099854, 0.047326959669589996, 0.9635564684867859, 0.12970483303070068, 0.41244280338287354, 0.9769293665885925, 0.08227495104074478, 0.49277520179748535, 0.45744073390960693, -0.28922775387763977, 0.5186907052993774, 0.6719248294830322, -0.05116238072514534, 0.6274523735046387, -0.04795977100729942, -0.01670725829899311, -0.7999030947685242, -0.8268886804580688, -0.08714352548122406, 0.29769396781921387, 0.3608693480491638, -0.09074163436889648, -0.3000616431236267, 0.11943551152944565, -0.04757581278681755, 0.02460668794810772, -0.550067126750946, 0.565556526184082, -0.28423258662223816, -0.2645503580570221, 0.15228816866874695, 0.11674495786428452, 0.7443864941596985, -0.3994249701499939, -0.10081461071968079, 0.008976355195045471, -0.04836136847734451, -0.4367680847644806, -0.96591717004776, 0.05309811234474182, 0.05235050991177559, -0.23644915223121643, 0.1868959665298462, 0.8271909356117249, -0.46875515580177307, -0.3400961458683014, 0.2757225036621094, 0.10647150874137878, 0.24441249668598175, -0.01774289458990097, -0.5554510951042175, -0.02500634826719761, -0.34130698442459106, 0.27204766869544983, 0.3965460956096649, 0.724704384803772, -0.3736501932144165, 0.7012485265731812, 0.5619969367980957, -0.36009451746940613, 0.34580716490745544, 0.5030064582824707, 0.9161847829818726, -0.34066835045814514, -0.9307141304016113, -0.34245043992996216, 0.6511861681938171, -0.11161936819553375, -0.4551359713077545, 0.46649792790412903, 0.35887035727500916, 0.8571207523345947, -0.16339854896068573, 0.500040590763092, -0.4562343955039978, 0.044586990028619766, -0.21709580719470978, 0.24809196591377258, -0.8434433937072754, -0.13102832436561584, -0.7415710687637329, -0.6050741076469421, -0.26684266328811646, 0.10506682097911835, 0.4139613211154938, 0.19893310964107513, 0.7794831991195679, 0.7402875423431396, -0.6138507127761841, 0.07998023182153702, 0.45735427737236023, -0.023080380633473396, 0.14368130266666412, 0.5638975501060486, 1.0886164903640747, -0.4246574640274048, 0.7016428112983704, -0.6648399233818054, -0.3176359236240387, -0.27018219232559204, -0.8324348330497742, -1.1256953477859497, -0.4149520695209503, -0.3456094264984131, -0.09365976601839066, -0.15060406923294067, 0.5099027752876282, 0.7532690167427063, -0.6851996183395386, 0.226030170917511, 0.47372469305992126, -0.03933241218328476, -0.41297802329063416, -0.28671368956565857, 0.09882302582263947, -0.17951442301273346, -0.6865527629852295, 0.24066206812858582, 0.5282394289970398, -0.27958887815475464, -0.41308650374412537, -0.01634209416806698, -0.4648354649543762, 0.19912831485271454, 0.7661454677581787, -0.11334321647882462, -0.7870644927024841, -0.3888097405433655, 0.2505611479282379, 0.0007989462465047836, 0.009448591619729996, 0.947693407535553, -0.25076061487197876, 0.562397301197052, 0.5891841053962708, 0.6157550811767578, 0.30987492203712463, 0.07953151315450668, -0.166627436876297, -1.173302173614502, -0.04098431020975113, 0.29357677698135376, 0.35626912117004395, 0.25371021032333374, -0.7393705248832703, 0.3544304072856903, 0.6449516415596008, -0.31144317984580994, -0.6457198262214661, 0.33795276284217834, -1.2352983951568604, -0.24700331687927246, 0.8739364147186279, -0.2088364064693451, 0.014359164983034134, -0.4035452604293823, -0.2683143615722656, 0.20459768176078796, -0.39137041568756104, 0.6822476387023926, 0.47669366002082825, -0.14298559725284576, -0.48106837272644043, -0.27845948934555054, 0.05432705581188202, 0.18348613381385803, -0.5994091629981995, 0.09135334938764572, 0.5514021515846252, -0.015660634264349937, 0.6513885855674744, 0.2500532865524292, -0.3489871919155121, 0.725908100605011, -0.0573032982647419, -0.01693563163280487, -0.14181634783744812, -1.1723202466964722, 0.002487217541784048, 0.5753865838050842, -0.7363022565841675, 0.1672259271144867 ]
http://arxiv.org/abs/2406.07823v1
http://arxiv.org/pdf/2406.07823v1
PRoDeliberation: Parallel Robust Deliberation for End-to-End Spoken Language Understanding
2024-06-12T02:46:17
2024-06-12T02:46:17
Trang Le, Daniel Lazar, Suyoun Kim, Shan Jiang, Duc Le, Adithya Sagar, Aleksandr Livshits, Ahmed Aly, Akshat Shrivastava
cs.CL
cs.CL, cs.SD, eess.AS
Spoken Language Understanding (SLU) is a critical component of voice assistants; it consists of converting speech to semantic parses for task execution. Previous works have explored end-to-end models to improve the quality and robustness of SLU models with Deliberation, however these models have remained autoregressive, resulting in higher latencies. In this work we introduce PRoDeliberation, a novel method leveraging a Connectionist Temporal Classification-based decoding strategy as well as a denoising objective to train robust non-autoregressive deliberation models. We show that PRoDeliberation achieves the latency reduction of parallel decoding (2-10x improvement over autoregressive models) while retaining the ability to correct Automatic Speech Recognition (ASR) mistranscriptions of autoregressive deliberation systems. We further show that the design of the denoising training allows PRoDeliberation to overcome the limitations of small ASR devices, and we provide analysis on the necessity of each component of the system.
[ -0.4144485592842102, -0.6644035577774048, 0.2767302691936493, 0.08580128848552704, -0.2626352608203888, 0.15014144778251648, -0.13098935782909393, -0.29720205068588257, 0.0836758241057396, 0.39382824301719666, -0.6203960180282593, -0.36721089482307434, -0.505637526512146, -0.0051555391401052475, -0.31260672211647034, 0.6999199986457825, 0.22496433556079865, 0.3994114100933075, -0.32422885298728943, -0.2720537483692169, -0.37628716230392456, -0.46639150381088257, -0.6343540549278259, -0.3730623424053192, 0.1075354740023613, 0.3055740296840668, 0.7215802073478699, 0.43614235520362854, 0.18720529973506927, 0.4126684069633484, -0.4228043258190155, 0.20078368484973907, -0.6601605415344238, 0.2202957570552826, 0.020900188013911247, -0.9141335487365723, -0.3258329927921295, 0.21366961300373077, 0.7592969536781311, 0.8520471453666687, -0.28947946429252625, 0.007578686345368624, 0.17165860533714294, 0.7006450891494751, -0.6898022294044495, 0.4437251389026642, -0.38074883818626404, 0.2072925865650177, 0.12168668210506439, -0.13034023344516754, -0.5448512434959412, -0.48818883299827576, 0.007999648340046406, -0.5559774041175842, 0.1818276196718216, -0.18988285958766937, 0.5390329360961914, 0.5939129590988159, -0.2243129014968872, -0.06777431815862656, -1.1119732856750488, 0.9789089560508728, -0.9472149014472961, 0.7055137157440186, 0.6997782588005066, 0.35421222448349, -0.03846874088048935, -0.7140246629714966, -0.585690975189209, -0.059365589171648026, 0.01611059159040451, 0.3282484710216522, -0.2291124016046524, 0.37136441469192505, -0.04853096976876259, 0.35382452607154846, -0.557865560054779, 0.3976079821586609, -0.06973884999752045, -0.20842105150222778, 0.35730889439582825, 0.17461243271827698, -0.017134521156549454, 0.33095061779022217, 0.029701268300414085, 0.1458241194486618, -0.5553646087646484, 0.16750329732894897, 0.4442882537841797, 0.02093636617064476, 0.04077545553445816, 0.1451776772737503, -0.2397557944059372, 0.8776885867118835, 0.06854091584682465, -0.06073416396975517, 0.3288761377334595, -0.31055358052253723, -0.37909573316574097, -0.08516918867826462, 0.688936710357666, 0.21256151795387268, 0.1491086632013321, -0.4001931846141815, -0.18189412355422974, 0.0056751444935798645, 0.07896632701158524, -0.710328221321106, -0.47300705313682556, 0.29969489574432373, -0.6973916292190552, -0.27194660902023315, 0.142137810587883, -0.3495749235153198, 0.0826009213924408, -0.6242684125900269, 0.1830276995897293, -0.0727173388004303, -0.27162811160087585, 0.15157252550125122, 0.21500170230865479, 0.04406435042619705, 0.35591572523117065, -0.7602947950363159, 0.6001559495925903, 0.5288211107254028, 0.8068270683288574, 0.0694275051355362, -0.21595056354999542, -0.8538901209831238, 0.21633696556091309, -0.41032660007476807, 0.6999992728233337, -0.5838573575019836, -0.7313181161880493, -0.42136508226394653, -0.07010333240032196, -0.46048223972320557, -0.9581207036972046, 0.5961673259735107, -0.6025274395942688, 0.22146470844745636, -0.140573650598526, -0.5530809164047241, -0.33763059973716736, 0.09068860113620758, -0.5817402005195618, 0.38682690262794495, -0.17192618548870087, -0.6634988188743591, 0.0982336476445198, -0.4146859049797058, -0.42126524448394775, 0.013052127324044704, -0.39304956793785095, -0.587107241153717, 0.12146490812301636, 0.40805143117904663, 0.3351709544658661, -0.18482480943202972, 0.37083199620246887, -0.11692427098751068, -0.3108091652393341, 0.07191058993339539, -0.4766852855682373, 0.8026890754699707, 0.4364907145500183, -0.2546052634716034, 0.41464778780937195, -0.7216188907623291, -0.06658579409122467, -0.10016746819019318, -0.3242376744747162, -0.20950181782245636, 0.4546281099319458, -0.23374858498573303, -0.09962000697851181, 0.0887930765748024, -0.6706230640411377, -0.23975525796413422, -0.5041501522064209, 0.655525803565979, 0.5714039206504822, 0.03587252274155617, 0.5895141363143921, -0.3401676118373871, 0.33315110206604004, 0.05038152635097504, 0.5037090182304382, -0.044810280203819275, -0.2804931402206421, -0.9585378170013428, -0.2727389931678772, 0.18991895020008087, 0.7597367763519287, -0.6170908212661743, 0.5242046117782593, -0.15144124627113342, -0.4873550534248352, -0.5341801047325134, -0.005506468471139669, 0.5947712659835815, 0.5561860799789429, 0.32391825318336487, -0.21167686581611633, -0.4068232774734497, -0.5738454461097717, -0.16129480302333832, -0.45177218317985535, -0.07115999609231949, 0.26656967401504517, -0.03750762715935707, -0.22690893709659576, 0.9138500094413757, -0.2800189256668091, -0.6633477210998535, -0.20309634506702423, 0.46552774310112, 0.3043975830078125, 0.5221076011657715, 0.26045796275138855, -0.7681944966316223, -0.2142229974269867, -0.0183335579931736, -0.7180417776107788, -0.2287607043981552, -0.3108217716217041, 0.267543226480484, -0.26480740308761597, 0.7009757161140442, -0.42911186814308167, 0.3548599183559418, 0.4034978449344635, 0.03991631418466568, 0.5807617902755737, -0.25919029116630554, -0.011533055454492569, -0.7011629939079285, -0.027351316064596176, -0.4205523729324341, -0.4362187385559082, -0.939221978187561, -0.10619314014911652, -0.2859977185726166, 0.005189619027078152, -0.3008113205432892, -0.03566889837384224, -0.6242259740829468, -0.07769735902547836, -0.1902870237827301, 0.0056211138144135475, -0.11080721020698547, 0.1963692307472229, 0.24960647523403168, 0.8555514216423035, 0.40356045961380005, -0.5954357981681824, 0.21280094981193542, 0.5092940926551819, -0.41180938482284546, 0.14486978948116302, -0.7778371572494507, 0.19584545493125916, -0.26499468088150024, 0.09135136753320694, -0.8853848576545715, 0.15285152196884155, -0.22705157101154327, -0.5636247992515564, 0.16140377521514893, 0.036204706877470016, -0.26525214314460754, 0.07680926471948624, -0.03882027044892311, 0.2084999978542328, 0.3673277497291565, -0.28656959533691406, 0.6996219158172607, 0.7884290218353271, -0.37383633852005005, -0.5440753102302551, -0.7045338749885559, -0.03767665475606918, 0.2911471426486969, -0.23221798241138458, 0.1683087944984436, -0.0595233254134655, -0.2818085551261902, -0.15980617702007294, -0.22622889280319214, 0.044756967574357986, -0.0024596676230430603, 0.20289288461208344, -0.06773678958415985, 0.056929003447294235, -0.3132653832435608, 0.23160456120967865, -0.27238431572914124, 0.17565278708934784, 0.01489416602998972, 0.4948573708534241, -0.024848967790603638, -0.5711050629615784, -0.9162459969520569, 0.6330874562263489, 0.641699492931366, -0.34539511799812317, 0.49870699644088745, 0.7209376692771912, -0.19587233662605286, -0.194331094622612, -0.5715025067329407, -0.41744622588157654, -0.45376089215278625, 0.2889373004436493, -0.4235943853855133, -1.2131844758987427, 0.7382277846336365, -0.1182059794664383, 0.39700889587402344, -0.03692176938056946, 0.6179150938987732, -0.14126257598400116, 1.0086766481399536, 0.4535035192966461, -0.22335413098335266, 0.6142022609710693, -0.4157772362232208, 0.3922608196735382, -0.48382532596588135, -0.5279746651649475, -0.6056184768676758, -0.2888258993625641, -0.1415102183818817, -0.5401319861412048, 0.33425307273864746, 0.24579350650310516, -0.1451258361339569, 0.19070503115653992, -0.2551555335521698, 0.3559280037879944, 0.7755054235458374, 0.30237653851509094, 0.2482297122478485, -0.09051239490509033, -0.24341453611850739, -0.23886820673942566, -0.6806190609931946, -0.23816098272800446, 0.5254627466201782, 0.37670257687568665, 0.8159348368644714, 0.11520031094551086, 0.6858183145523071, 0.17259058356285095, -0.06002281233668327, -0.7160950303077698, 0.7179498076438904, -0.3944016695022583, 0.0592629499733448, -0.3586388826370239, -0.5220388770103455, -0.535642683506012, 0.22386451065540314, -0.03011351078748703, -0.5934094190597534, 0.7793296575546265, 0.3311874568462372, -0.4194618761539459, 0.25233033299446106, -0.5696479082107544, 0.6406895518302917, 0.12173246592283249, -0.030169066041707993, -0.5543796420097351, -0.7917608618736267, -0.06076075881719589, 0.15559712052345276, 0.24549180269241333, -0.04516575485467911, 0.19549714028835297, 0.8080939650535583, -0.5367341637611389, 1.09605872631073, -0.6383811235427856, 0.1383509784936905, 0.3950727581977844, 0.3674719035625458, 0.5562176704406738, 0.008390420116484165, 0.0029281978495419025, 0.1494537591934204, 0.009511778131127357, -0.09277992695569992, -0.6028748750686646, 0.3901733160018921, -0.9429465532302856, -0.577775776386261, 0.04356261342763901, -0.5538328289985657, -0.36618512868881226, -0.08190926164388657, 0.1729922741651535, 0.45473164319992065, -0.2111351490020752, 0.313096284866333, 0.8248400092124939, 0.06246928498148918, 0.45850053429603577, 0.5286645293235779, 0.007902195677161217, -0.4449384808540344, 1.0668245553970337, 0.036494649946689606, 0.303554892539978, 0.6836544275283813, 0.1639489382505417, -0.4113210141658783, -0.9231563806533813, -0.033967964351177216, 0.13163022696971893, -0.7014361619949341, -0.09272941201925278, -0.8518306612968445, -0.38564881682395935, -0.5385248064994812, 0.04838643968105316, -0.5613452792167664, -0.26251301169395447, -0.8703957796096802, -0.013623228296637535, -0.068618543446064, 0.5088149309158325, -0.22443601489067078, 0.7283968329429626, -0.8742794990539551, 0.2979467511177063, 0.5582349300384521, -0.04006783664226532, -0.1969611644744873, -0.7210673093795776, -0.14155098795890808, -0.14837680757045746, -0.07551773637533188, -0.8843116164207458, 0.6264166831970215, 0.5364558696746826, 1.0729427337646484, 0.7035621404647827, 0.3752546012401581, 0.8783069849014282, -0.39060258865356445, 0.7515084743499756, 0.14213117957115173, -1.0868149995803833, 0.5605501532554626, -0.07950469851493835, 0.5641209483146667, 0.7494856715202332, 0.1371936947107315, -0.32462236285209656, -0.5113791823387146, -0.12978215515613556, -0.5797845125198364, 0.5920864343643188, 0.0846407413482666, -0.1910647302865982, 0.0739210918545723, 0.11396687477827072, -0.003109303768724203, 0.21151965856552124, -0.3283326029777527, 0.08472890406847, -0.2624845802783966, -0.1305985301733017, -0.24161739647388458, -0.606719970703125, -0.10451052337884903, -0.25512099266052246, 0.38709166646003723, -0.023586133494973183, 0.39679333567619324, 0.2771143317222595, -0.27820253372192383, 0.0394548624753952, 0.348484069108963, 0.5131863951683044, 0.43865248560905457, -0.12287643551826477, 0.11440391093492508, 0.11498919129371643, -0.6084587574005127, 0.06090463325381279, -0.0784827396273613, -0.2183724343776703, 0.14841532707214355, 0.35599955916404724, 1.1221708059310913, 0.11284523457288742, -0.4346810579299927, 0.494753360748291, -0.22807550430297852, -0.41591116786003113, -0.20216156542301178, -0.05121653527021408, -0.037834882736206055, 0.3488498330116272, 0.12701937556266785, 0.2553684413433075, 0.4688865840435028, -0.0550333596765995, 0.26697349548339844, 0.31334707140922546, -0.3369189500808716, -0.401607483625412, 0.9798584580421448, 0.38269922137260437, -0.1748458296060562, 0.6599112749099731, -0.1171846091747284, -0.38605499267578125, 0.3385816812515259, 0.47115272283554077, 0.997724711894989, -0.746416449546814, 0.17132939398288727, 0.1603972315788269, 0.3075732886791229, -0.08285225927829742, 0.6130102276802063, -0.6397249102592468, -0.6738041639328003, -0.6331814527511597, -0.6706043481826782, -0.5951682925224304, 0.03286893293261528, -0.8826751708984375, -0.15066079795360565, -0.49432307481765747, -0.3537794351577759, -0.35967743396759033, -0.33849677443504333, -0.3677738904953003, 0.20438902080059052, -0.15532928705215454, 0.628567636013031, -1.076359510421753, 0.9967775344848633, 0.45251837372779846, 0.020181413739919662, -0.5209627747535706, -0.018566753715276718, 0.06953876465559006, -0.5307915806770325, 0.7878457307815552, 0.13950617611408234, -0.5979399085044861, 0.24212917685508728, -0.21175213158130646, -0.42486196756362915, 0.7906263470649719, 0.6238681674003601, -1.0560643672943115, -0.011687565594911575, 0.0632641389966011, 0.4424169659614563, -0.1944410651922226, 0.30495819449424744, 0.6764787435531616, 0.14209799468517303, -0.05488085001707077, -1.2911159992218018, -0.4168994426727295, -0.29129189252853394, 0.17544932663440704, -0.1752329170703888, -0.3892485797405243, 0.8361226320266724, -0.29166364669799805, -0.2876511812210083, -0.03672974929213524, 0.8754526972770691, -0.010398201644420624, 0.1584399938583374, 0.8316335082054138, 0.48256030678749084, 0.49246224761009216, -0.09522386640310287, 0.2855943739414215, -0.2898959517478943, 0.307971328496933, 1.347654938697815, -0.08379748463630676, 1.0172609090805054, 0.6594422459602356, -0.3361428380012512, 0.24984125792980194, 0.6038812398910522, 0.45824384689331055, 0.8258827924728394, -0.07108881324529648, -0.7190163731575012, -0.5671342611312866, -0.11240159720182419, -0.053062234073877335, 0.5880967378616333, 0.5225266218185425, -0.22172412276268005, -0.14439858496189117, 0.30191004276275635, -0.14481043815612793, 0.3874480724334717, -0.2585630416870117, 1.2121883630752563, 0.06095268577337265, -0.3592301607131958, 0.6319085359573364, -0.26216623187065125, 0.40513917803764343, -0.35479098558425903, 0.10438396036624908, -0.14485402405261993, 0.43478870391845703, -0.21929940581321716, -0.6355577707290649, 0.6040748953819275, -0.3128804564476013, -0.2218122035264969, -0.30029183626174927, 0.47313839197158813, -0.4440891146659851, -0.09349431097507477, 0.3717086911201477, 0.6925041675567627, 0.4229746460914612, -0.0557125024497509, -0.6625180244445801, 0.27926796674728394, 0.07315463572740555, -0.1661812961101532, 0.06787362694740295, -0.015170533210039139, -0.016848327592015266, 0.8003222942352295, 0.6096690893173218, 0.25560542941093445, 0.06247582659125328, 0.6480897068977356, 0.9470840096473694, -0.028208477422595024, -0.9194861054420471, -0.6789864897727966, 0.17883609235286713, -0.04377274587750435, 0.10248934477567673, 0.4542296230792999, 0.5269044637680054, 1.0212429761886597, -0.08193652331829071, 0.7301881313323975, 0.21562498807907104, 0.7287201285362244, -0.48525679111480713, 0.7920448184013367, -0.10385363548994064, 0.27129653096199036, 0.13526275753974915, -0.5595436692237854, -0.5188174843788147, 0.8504737019538879, -0.4213598668575287, -0.26748019456863403, 0.28778696060180664, 0.888650119304657, 0.15692386031150818, 0.3314532935619354, 0.6451964974403381, 0.19481267035007477, 0.4534904956817627, 0.3718201816082001, 0.5733803510665894, -0.13845589756965637, 0.34949880838394165, -0.25616592168807983, -0.3862112760543823, -0.014110809192061424, -0.41571372747421265, -0.9680783152580261, -0.6736168265342712, -0.12438268214464188, 0.0426529124379158, 0.29154056310653687, 0.6116479635238647, 0.8249837756156921, -1.0981147289276123, -0.5861750841140747, -0.43355897068977356, -0.2594199478626251, -0.38647547364234924, -0.1384929120540619, 0.22341178357601166, -0.5574639439582825, -0.8981702923774719, 0.7011417150497437, 0.3170105814933777, -0.11652116477489471, -0.29643017053604126, -0.322612464427948, -0.02788940630853176, -0.23029963672161102, 0.6098939776420593, 0.3328254520893097, -0.8322275280952454, 0.09134887903928757, -0.05639638006687164, 0.3992798924446106, -0.02995910495519638, 0.9783717393875122, -0.8552216291427612, 0.8760912418365479, 0.7425398826599121, 0.6741881966590881, 0.4216921031475067, 0.045509882271289825, 0.6674542427062988, -0.5987178683280945, 0.40172719955444336, 0.41180628538131714, 0.31869345903396606, 0.20552445948123932, -0.18552932143211365, 0.08293205499649048, 0.44674763083457947, -0.924138605594635, -0.8115887641906738, 0.3307362496852875, -0.8821432590484619, -0.1856042742729187, 0.7629773020744324, -0.5884135961532593, 0.05820590257644653, -0.41483160853385925, -0.2489505261182785, 0.5519724488258362, -0.29964807629585266, 0.2832830846309662, 0.16105031967163086, -0.45903003215789795, -0.6885977387428284, -0.5207204818725586, 0.32698267698287964, 0.5685413479804993, -0.7375502586364746, 0.3138280212879181, 0.4239026606082916, 0.07624311000108719, -0.06316715478897095, 0.8047488331794739, -0.19830776751041412, 0.22691796720027924, 0.03544818237423897, -0.09511096775531769, -0.40285563468933105, -0.442282110452652, -0.47558900713920593, 0.17801819741725922, 0.06737340986728668, -0.6970685720443726 ]
http://arxiv.org/abs/2406.07822v1
http://arxiv.org/pdf/2406.07822v1
Tell Me What's Next: Textual Foresight for Generic UI Representations
2024-06-12T02:43:19
2024-06-12T02:43:19
Andrea Burns, Kate Saenko, Bryan A. Plummer
cs.CV
cs.CV, cs.CL
Mobile app user interfaces (UIs) are rich with action, text, structure, and image content that can be utilized to learn generic UI representations for tasks like automating user commands, summarizing content, and evaluating the accessibility of user interfaces. Prior work has learned strong visual representations with local or global captioning losses, but fails to retain both granularities. To combat this, we propose Textual Foresight, a novel pretraining objective for learning UI screen representations. Textual Foresight generates global text descriptions of future UI states given a current UI and local action taken. Our approach requires joint reasoning over elements and entire screens, resulting in improved UI features: on generation tasks, UI agents trained with Textual Foresight outperform state-of-the-art by 2% with 28x fewer images. We train with our newly constructed mobile app dataset, OpenApp, which results in the first public dataset for app UI representation learning. OpenApp enables new baselines, and we find Textual Foresight improves average task performance over them by 5.7% while having access to 2x less data.
[ -0.2319471538066864, -0.19341735541820526, 0.8940791487693787, -0.04981113225221634, -0.1465635746717453, 0.12934289872646332, -0.06642180681228638, -0.08302115648984909, 0.19671764969825745, 0.6469221115112305, -0.6094273328781128, -0.7574459910392761, -0.1243971511721611, -0.16942162811756134, -0.15428245067596436, 0.9535347819328308, -0.4457043409347534, -0.3618440628051758, -0.45981794595718384, -0.12790435552597046, -0.7472352981567383, -0.23254285752773285, -0.1897803246974945, -0.26251113414764404, 0.7652872800827026, 0.9873757362365723, 0.6113057732582092, 0.32014450430870056, 0.05754954740405083, 0.31285560131073, 0.7376035451889038, 0.06372828781604767, -0.5229895114898682, -0.017797015607357025, -0.07234488427639008, -0.5750507116317749, 0.051467422395944595, 0.2837878167629242, 0.20703740417957306, 0.4119284749031067, 0.24727284908294678, 0.048719242215156555, 0.10647477954626083, 0.8673575520515442, -0.9751772284507751, 0.22609804570674896, -0.6373865008354187, 0.3337606191635132, -0.04622615501284599, -0.2679625451564789, -0.65289306640625, -0.2290601283311844, 0.18404416739940643, -1.201242446899414, 0.02723013237118721, 0.2608698010444641, 0.9370593428611755, 0.3396984338760376, -0.5914208292961121, 0.17922894656658173, -0.8645567893981934, 0.8385472297668457, -0.037503961473703384, 0.4325203001499176, 0.7277154922485352, 0.32311055064201355, -0.06316261738538742, -1.098134994506836, -0.5833975672721863, -0.34374916553497314, -0.02819637954235077, 0.27907589077949524, -0.0574222095310688, 0.08641226589679718, -0.038522496819496155, 0.16994886100292206, -0.5414506196975708, -0.15554964542388916, -0.12581248581409454, -0.3299620449542999, 0.6591496467590332, 0.0740104615688324, 0.2998077869415283, 0.2681400179862976, -0.6079064607620239, -0.1112292930483818, -0.6454117894172668, 0.18898628652095795, -0.3019639253616333, -0.25124630331993103, -0.30881595611572266, 0.5360340476036072, -0.15722747147083282, 0.5821571350097656, 0.019469739869236946, 0.32066670060157776, 0.306331604719162, -0.22101227939128876, -0.18225643038749695, 0.010526955127716064, 0.8051612973213196, 0.6076421141624451, 0.48129019141197205, -0.2763882577419281, 0.037704188376665115, 0.004819242283701897, 0.5829160809516907, -0.6320114731788635, -0.31744322180747986, 0.18593257665634155, -0.6034609079360962, -0.29160192608833313, 0.10345925390720367, -0.553520143032074, -0.7861935496330261, -0.45209163427352905, 0.32341262698173523, -0.3745254576206207, 0.006808547768741846, -0.3515545129776001, -0.18504801392555237, -0.08675368130207062, 0.31362149119377136, -1.0298680067062378, 0.053964775055646896, 0.3779248297214508, 0.6072932481765747, 0.13072150945663452, -0.5189966559410095, -0.6212913990020752, 0.3238063156604767, -0.6855570077896118, 0.8832564949989319, -0.6285250782966614, -0.29602742195129395, -0.05842401459813118, -0.2672453224658966, -0.22710929811000824, -0.33559730648994446, 0.3509662449359894, -0.09821479767560959, 0.1920594424009323, -0.003256638068705797, -0.3392237424850464, -0.3202687203884125, -0.003741655731573701, -0.8053863048553467, 0.8249292373657227, 0.28259995579719543, -0.7846283316612244, 0.8373727798461914, -0.5435310006141663, -0.3711494505405426, -0.08495204895734787, -0.4311816394329071, -0.3317292630672455, 0.3304435908794403, 0.49744582176208496, 0.697981059551239, 0.17763547599315643, 0.11278680711984634, -0.30058354139328003, -0.49286526441574097, 0.15743756294250488, -0.11423710733652115, 0.08087508380413055, 0.24328060448169708, -0.435884952545166, 0.21969449520111084, -0.6397734880447388, 0.13062818348407745, -0.3022543787956238, 0.1329285353422165, -0.8166306018829346, 0.2695392668247223, -0.06292687356472015, -0.012183072976768017, 0.12796467542648315, -0.6079596281051636, -0.0000991585839074105, -0.1941932588815689, 0.2739095985889435, 0.690430223941803, -0.14828485250473022, 1.0801377296447754, -0.22507761418819427, 0.3223456144332886, 0.0876043438911438, 0.29722246527671814, -0.7066984176635742, -0.5416426062583923, -0.33808115124702454, 0.13977853953838348, 0.247778981924057, 0.5172997117042542, -1.3947941064834595, 0.026976924389600754, -0.38611331582069397, -0.5236296057701111, 0.16620351374149323, 0.13218770921230316, 0.6396376490592957, 0.46193382143974304, 0.11812832951545715, -0.29930323362350464, -0.5161927938461304, -0.5522255897521973, -0.6946680545806885, -0.30948978662490845, -0.16232174634933472, -0.001878237002529204, 0.4709213674068451, -0.4594162404537201, 1.3947994709014893, -0.3853749930858612, -0.5383318066596985, -0.2756148874759674, 0.4387958347797394, -0.02243446558713913, 0.26792430877685547, 0.5056425929069519, -1.34233820438385, -0.5953558683395386, 0.5273321866989136, -0.9476444125175476, 0.21949413418769836, -0.3231152594089508, 0.09009510278701782, 0.16239750385284424, 0.5791590213775635, -0.3661733567714691, 0.8482516407966614, 0.5415759086608887, -0.5698975324630737, 0.52403324842453, -0.2762655019760132, 0.12256181985139847, -0.9786986112594604, -0.11816337704658508, 0.18033508956432343, -0.15190738439559937, -0.6052121520042419, -0.3363809585571289, 0.4424157440662384, -0.6847239136695862, -0.19634170830249786, 1.1362005472183228, -0.5526726841926575, -0.14394214749336243, 0.06401599943637848, -0.15087707340717316, 0.029648447409272194, 0.5847418904304504, 0.0988316461443901, 0.9007129073143005, 0.1214093267917633, -0.6359100937843323, 0.02269594743847847, 0.2396063655614853, -0.4549517035484314, 0.3791474997997284, -0.2082853615283966, -0.19049052894115448, -0.061469003558158875, 0.3999384641647339, -0.8393338918685913, -0.48991501331329346, 0.001543752965517342, -0.6874796152114868, 0.021650366485118866, 0.21447056531906128, -0.03525251895189285, -0.6565622687339783, -0.5195779204368591, 0.03722544014453888, 0.33284950256347656, -0.5634208917617798, 1.080366611480713, 0.2056715488433838, -0.16998860239982605, -0.7226353287696838, -0.6157347559928894, -0.06457263976335526, -0.038930296897888184, -0.5190873742103577, 0.5374916195869446, 0.39451658725738525, -0.18297816812992096, 0.03889486566185951, -0.29305073618888855, -0.2996971309185028, -0.05294236168265343, 0.816179633140564, 0.09519263356924057, 0.0038949742447584867, 0.36374467611312866, 0.2939735949039459, -0.4654202461242676, -0.2111877053976059, -0.3657289743423462, 0.03296659141778946, 0.08417905867099762, -0.014291237108409405, -0.6864160895347595, 0.25475385785102844, 0.44339701533317566, -0.3268449902534485, 0.28189828991889954, 0.6479215025901794, -0.13641487061977386, 0.061969563364982605, -0.5112595558166504, 0.03098165988922119, -0.5083199143409729, 0.25549429655075073, -0.39197540283203125, -0.6245777606964111, 0.4534393548965454, -0.4711639881134033, 0.4736149311065674, 0.20087343454360962, 0.12370755523443222, -0.524987518787384, 1.1005679368972778, 0.7509053349494934, 0.050224386155605316, 1.0112110376358032, -0.29861268401145935, -0.009850149042904377, -0.299771249294281, -0.5806204080581665, -0.2701442241668701, -0.3586476445198059, -0.2876339256763458, -0.4132080674171448, 0.3422437310218811, -0.03229476138949394, -0.6376726031303406, -0.07001437246799469, -0.31784945726394653, 0.4824860095977783, 0.8721281290054321, 0.3470599353313446, 0.22377042472362518, 0.3958439826965332, -0.4233560562133789, -0.2017793208360672, -0.47673553228378296, -0.6739243268966675, 1.3362900018692017, 0.2816649377346039, 0.8119135499000549, -0.6768642663955688, 0.8871251344680786, 0.6514495015144348, 0.5539021492004395, -0.49340710043907166, 0.5044391751289368, -0.5338983535766602, -0.1879366636276245, -0.22177770733833313, -0.3294929265975952, -0.8786290884017944, -0.005456185434013605, -0.4505937695503235, -0.7682576179504395, 0.2984497547149658, 0.3568791449069977, -0.26328569650650024, 0.32783153653144836, -1.1773831844329834, 0.9744501113891602, -0.32027092576026917, -0.42650511860847473, 0.06209008768200874, -0.5004863739013672, 0.058681510388851166, 0.09090510755777359, 0.3782423138618469, 0.148659810423851, -0.2549426555633545, 0.6026849746704102, -0.5275088548660278, 0.8973599076271057, -0.5023341178894043, 0.015333456918597221, 0.3909272253513336, -0.11544255912303925, 0.4414660632610321, -0.13745500147342682, -0.11221455782651901, -0.03481394052505493, -0.2987919747829437, -0.4309833347797394, -0.6613606810569763, 0.34962061047554016, -0.6666797995567322, -0.059243567287921906, -0.3910737633705139, -0.2389903962612152, -0.36288782954216003, 0.21978606283664703, 0.5810604095458984, 0.6095139384269714, -0.6821796298027039, 0.08347241580486298, 0.4816363751888275, -0.32402145862579346, 0.4735396206378937, 0.033284302800893784, -0.3661286532878876, -0.5792374610900879, 0.9498173594474792, -0.21482181549072266, -0.29427236318588257, 0.8484228849411011, 0.10927233844995499, -0.44625189900398254, -0.49581626057624817, -0.7503650784492493, -0.27649518847465515, -0.2558048665523529, -0.13663199543952942, -0.3714960217475891, 0.30984601378440857, 0.05017229542136192, -0.4042817950248718, -0.2671249210834503, -0.3273141384124756, -0.26714301109313965, -0.11321015655994415, 0.30431124567985535, 0.8022819757461548, 0.06952617317438126, 0.7116076946258545, -0.9148459434509277, 0.5516765713691711, 0.41426870226860046, 0.3474930226802826, -0.14699332416057587, 0.10977749526500702, -0.5662712454795837, 0.2338237166404724, -0.6446681022644043, -0.545346736907959, 0.33448758721351624, 0.4471789300441742, 0.42190805077552795, 0.7447791695594788, 0.28963619470596313, 0.5491476655006409, -0.7011909484863281, 0.8913801312446594, 0.7741813659667969, -0.7662063241004944, 0.6696556806564331, -0.34220340847969055, 0.37512341141700745, 0.7443773746490479, 0.5627376437187195, -0.2634536623954773, -0.2607172429561615, -0.26746147871017456, -0.4180302023887634, 0.33038249611854553, 0.12080053985118866, 0.3710552453994751, 0.3985437750816345, 0.4392048120498657, 0.42495718598365784, -0.010973447933793068, -0.6338851451873779, 0.061581842601299286, -0.6167793869972229, -0.4605465829372406, -0.4171021580696106, -0.100415900349617, 0.2500685155391693, -0.33926689624786377, 0.0590645857155323, -0.35091301798820496, 0.42312920093536377, 0.1799495369195938, -0.24437215924263, 0.3004412353038788, 0.130601704120636, 0.28813979029655457, 0.7260398864746094, 0.07982999086380005, -0.03011353872716427, -0.04262620583176613, -0.9608492255210876, 0.2959434390068054, 0.05500859022140503, -0.13971157371997833, 0.2442866414785385, 0.48966678977012634, 1.0822757482528687, 0.6188980340957642, -0.6606087684631348, 0.5785244703292847, -0.3922056257724762, -0.45098692178726196, -0.5000513195991516, 0.073614701628685, -0.31163597106933594, 0.190562441945076, 0.8326654434204102, 0.15292993187904358, 0.06311377137899399, -0.7508770227432251, 0.16330841183662415, -0.10145866125822067, -0.6448524594306946, -0.20027951896190643, 0.885461151599884, 0.5538831353187561, 0.09519154578447342, 0.42744049429893494, -0.007524879649281502, -0.36839285492897034, 0.49439117312431335, 0.18838682770729065, 0.8805913329124451, -0.3055857717990875, 0.6452921628952026, 0.2584208846092224, -0.049870170652866364, -0.08062421530485153, 0.4867342412471771, -0.3536417484283447, -0.368411123752594, -0.40937381982803345, -0.3254780173301697, -0.45254188776016235, -0.3486137092113495, -0.34151509404182434, 0.11995919048786163, -0.3879898488521576, -0.32340461015701294, -0.10459943860769272, -0.00046925386413931847, -0.5851851105690002, 0.6201221346855164, -0.08844226598739624, 0.8271821141242981, -0.5929293632507324, 0.6550557613372803, 0.9253266453742981, -0.3546176552772522, -0.734508752822876, 0.07201952487230301, -0.09607084095478058, -0.495837539434433, 0.5036810636520386, 0.5432800650596619, 0.012870490550994873, -0.19403702020645142, -0.6930381059646606, -0.3299068808555603, 1.1032229661941528, 0.39001861214637756, -0.7703412771224976, -0.39778101444244385, 0.05375443398952484, 0.2766575217247009, -0.46383488178253174, 0.417754203081131, 0.1748698204755783, 0.47033870220184326, -0.045784492045640945, -0.6532229781150818, -0.1720447838306427, -0.44223645329475403, 0.23730547726154327, 0.19491355121135712, -0.08428709954023361, 0.7642374634742737, -0.7048954963684082, -0.2359192818403244, 0.3268410861492157, 0.8060495853424072, -0.0467473641037941, 1.372821569442749, 0.3220258355140686, 0.3806644678115845, 0.7870157957077026, -0.22125326097011566, 1.3935315608978271, 0.1346360146999359, -0.10879442095756531, 1.1771658658981323, -0.27901455760002136, 1.011000633239746, 0.3861369788646698, 0.21033558249473572, 1.086558222770691, 0.7582882642745972, 0.5042710304260254, 0.8252078294754028, -0.16350683569908142, -0.3285233676433563, 0.030098307877779007, 0.11887770146131516, -0.4872529208660126, 0.582294225692749, 0.4280454218387604, -0.5547798871994019, 0.057838957756757736, 0.7934458255767822, -0.14283894002437592, 0.6156725287437439, -0.6398929953575134, 0.9996692538261414, 0.10732370615005493, -0.7427722215652466, 0.5733763575553894, -0.2865619957447052, 0.6890773773193359, -0.69261234998703, -0.1303359717130661, -0.3560104966163635, 0.23413841426372528, -0.34814852476119995, -0.8482462167739868, 0.07670052349567413, -0.06576140969991684, -0.28305819630622864, -0.5107203125953674, 0.9886006712913513, -0.041360948234796524, -0.18297454714775085, 0.16764065623283386, 0.2598700523376465, -0.01142075378447771, -0.6982044577598572, -0.3632715344429016, -0.14583155512809753, 0.0608210451900959, -0.0084617855027318, 0.2412518858909607, 0.7229278683662415, -0.5771498084068298, 0.9474737644195557, 0.4636591970920563, -0.3788866102695465, 0.0522879883646965, -0.13925544917583466, 0.9649720788002014, -0.9211141467094421, -0.7829493284225464, -0.3944139778614044, 0.6227596402168274, -0.3786126673221588, -0.2548666298389435, 0.45754292607307434, 0.6523706316947937, 0.807530403137207, -0.3634470999240875, 0.9591561555862427, -0.032317254692316055, 0.316976934671402, -0.5839042663574219, 0.9070996642112732, -0.7420529127120972, -0.28678229451179504, -0.2852225601673126, -0.8788488507270813, -0.1275063306093216, 0.46819519996643066, -0.5860720276832581, -0.05253620818257332, 0.8099259734153748, 0.22552089393138885, -0.13676659762859344, 0.2852531671524048, 0.4216451644897461, -0.1511697918176651, -0.18989065289497375, 0.6739005446434021, 0.9329825043678284, -0.32798999547958374, 0.5518375635147095, -0.2513866722583771, -0.5152114629745483, -0.04858723655343056, -0.8254660367965698, -0.9216897487640381, -0.9802113175392151, 0.054515473544597626, 0.02571285143494606, 0.2649940252304077, 0.3736110329627991, 0.749472439289093, -0.5119326710700989, -0.1523316651582718, -0.26939377188682556, 0.18148678541183472, -0.2722068130970001, -0.12725548446178436, 0.1732163280248642, -0.3317877948284149, -0.30061858892440796, 0.08614765107631683, 0.05942622572183609, -0.08832672983407974, 0.17615856230258942, -0.4694884121417999, 0.15708748996257782, -0.4228515625, 0.9455870389938354, 0.7826869487762451, -0.4009040892124176, -0.07955124974250793, -0.2881091833114624, 0.05121556296944618, -0.06894320249557495, 1.1219449043273926, -1.3603129386901855, 0.7105576395988464, 0.19454239308834076, 0.55035001039505, 0.6738359928131104, -0.039916034787893295, 1.032202124595642, -0.8662706017494202, 0.39492666721343994, 0.2615269720554352, -0.04466024786233902, -0.012963906861841679, -0.15362747013568878, 0.5946071743965149, -0.18087716400623322, -0.18921591341495514, -0.42611002922058105, 0.14119862020015717, -0.7283579111099243, -0.3045188784599304, 0.6438620090484619, -0.3112930357456207, -0.2679126560688019, -0.47811955213546753, -0.48859554529190063, 0.038432661443948746, -0.5743196606636047, 0.5128340125083923, 0.05522793158888817, 0.0070913806557655334, -0.4409015476703644, -0.5915592908859253, 0.6244423389434814, 0.24060790240764618, -0.9605714678764343, -0.07964381575584412, 0.5511095523834229, -0.14792904257774353, 0.2244889885187149, 0.9596893787384033, 0.003138187574222684, 0.5518476366996765, 0.2035915106534958, 0.02594255842268467, -0.22422291338443756, -0.6267299056053162, 0.2342478185892105, -0.23066312074661255, -0.20140428841114044, -0.5182139873504639 ]
http://arxiv.org/abs/2406.07816v1
http://arxiv.org/pdf/2406.07816v1
Spoof Diarization: "What Spoofed When" in Partially Spoofed Audio
2024-06-12T02:23:57
2024-06-12T02:23:57
Lin Zhang, Xin Wang, Erica Cooper, Mireia Diez, Federico Landini, Nicholas Evans, Junichi Yamagishi
eess.AS
eess.AS, cs.CL, cs.SD
This paper defines Spoof Diarization as a novel task in the Partial Spoof (PS) scenario. It aims to determine what spoofed when, which includes not only locating spoof regions but also clustering them according to different spoofing methods. As a pioneering study in spoof diarization, we focus on defining the task, establishing evaluation metrics, and proposing a benchmark model, namely the Countermeasure-Condition Clustering (3C) model. Utilizing this model, we first explore how to effectively train countermeasures to support spoof diarization using three labeling schemes. We then utilize spoof localization predictions to enhance the diarization performance. This first study reveals the high complexity of the task, even in restricted scenarios where only a single speaker per audio file and an oracle number of spoofing methods are considered. Our code is available at https://github.com/nii-yamagishilab/PartialSpoof.
[ -0.39779654145240784, -1.104729175567627, 0.394090861082077, 0.3317641615867615, -0.1843581348657608, 0.292405366897583, -0.030466916039586067, -0.6102702617645264, 0.7532799243927002, 0.39981895685195923, -0.4261576533317566, -0.30783751606941223, -0.5743761658668518, -0.1333741694688797, -0.927767276763916, 0.8614887595176697, 0.43332040309906006, -0.10431840270757675, -0.2276259809732437, 0.17363308370113373, -0.37861186265945435, -0.695434033870697, -0.3867984414100647, 0.11198855936527252, 0.040304288268089294, 0.44695353507995605, 0.11985719203948975, 0.4399341940879822, 0.5406337380409241, 0.34496134519577026, -0.29461419582366943, -0.04681135341525078, -0.0870269164443016, -0.0926034078001976, 0.12738178670406342, -0.4344007074832916, -0.6088163256645203, 0.2840593159198761, 0.6604832410812378, 0.5992876887321472, -0.7097365260124207, 0.10319330543279648, -0.2951291501522064, 0.26611459255218506, -0.7232553362846375, -0.0988699421286583, -0.713241457939148, 0.2214839905500412, -0.7083662748336792, -0.14111632108688354, -0.4587346315383911, -0.11964177340269089, 0.4371432960033417, -0.5671514272689819, 0.8947338461875916, -0.060125358402729034, 0.7545166611671448, 0.30792659521102905, 0.055476102977991104, -0.32522284984588623, -1.1494866609573364, 0.639380931854248, -0.78570556640625, -0.016699420288205147, 0.8439360857009888, 0.39154675602912903, -0.1327698975801468, -0.6585627198219299, -0.673504650592804, -0.10246875137090683, 0.078372061252594, 0.18986085057258606, -0.3821508586406708, 0.10282006859779358, 0.372826486825943, 0.6631335020065308, -0.07739885151386261, -0.3902342915534973, -0.33608365058898926, -0.3543608486652374, 0.45788148045539856, -0.447533518075943, 0.42212045192718506, 0.07779417932033539, -0.5026379823684692, 0.27957621216773987, -0.4486840069293976, -0.1967102289199829, 0.5802773833274841, 0.3292424976825714, -0.300200879573822, 0.2532481551170349, -0.17553861439228058, 0.5142749547958374, 0.46256959438323975, -0.2345820963382721, 0.4316475987434387, -0.5436778664588928, -0.19868506491184235, 0.4868535101413727, 0.4396600127220154, 0.03619829937815666, -0.3562990427017212, -0.25258734822273254, -0.31168946623802185, 0.15865997970104218, 0.3606000542640686, -0.1828509420156479, -0.35351425409317017, 0.3547170162200928, -0.24590203166007996, -0.07960285991430283, 0.03777261823415756, -0.9268646240234375, -0.33103904128074646, -0.09965323656797409, 0.9441137909889221, -0.457831472158432, -0.638695240020752, 0.22725550830364227, -0.4165371358394623, -0.20582842826843262, -0.03630051016807556, -0.6197901368141174, 0.7894794344902039, 0.45812785625457764, 0.8176215291023254, -0.15545319020748138, -0.6161074042320251, -0.459739089012146, 0.2822968363761902, -0.12529082596302032, 0.8380729556083679, -0.04012138769030571, -0.5878973603248596, -0.2352500706911087, 0.023046890273690224, -0.2704148292541504, -0.7510658502578735, 0.17847898602485657, -0.2969875633716583, -0.13036905229091644, -0.2245451658964157, -0.48922333121299744, -0.0851815715432167, 0.09398644417524338, -0.9117893576622009, 1.2099117040634155, -0.1372208446264267, -1.0762192010879517, 0.36124300956726074, -0.459255576133728, -0.5609487295150757, 0.2964411675930023, 0.17895832657814026, -0.5953207015991211, -0.0038639919366687536, -0.36551108956336975, 0.19209839403629303, 0.26763683557510376, -0.07550282776355743, -0.17739513516426086, -0.599460244178772, 0.2746432423591614, -0.14347165822982788, 0.6477571129798889, 0.14983615279197693, -0.7640997171401978, -0.08779111504554749, -0.8425719141960144, -0.35599398612976074, 0.18742693960666656, -0.05103965103626251, -0.5102408528327942, 0.36338111758232117, -0.2664606273174286, -0.2853037416934967, 0.20847715437412262, -0.6372219324111938, -0.3080510199069977, -0.5325447916984558, 0.27728980779647827, 0.16193819046020508, 0.44177043437957764, 0.4998346269130707, -0.4522014558315277, 0.42315420508384705, 0.09201386570930481, 0.3445671498775482, 0.11152608692646027, -0.5155064463615417, -0.46712955832481384, -0.7039110064506531, 0.25605344772338867, 0.8094394207000732, -0.5753871202468872, 0.023694366216659546, 0.18644845485687256, -0.8623786568641663, -0.2823222875595093, -0.217341810464859, 0.48960015177726746, 0.1259467750787735, 0.4002429246902466, -0.40182456374168396, -0.7906558513641357, -0.8040039539337158, -0.018260056152939796, -0.06414448469877243, 0.18909157812595367, -0.21197658777236938, 0.3389342725276947, 0.07243756204843521, 0.905787467956543, 0.023227734491229057, -0.38687726855278015, -0.3254794180393219, 0.12156520783901215, 0.021020635962486267, 0.5130718946456909, 0.868659496307373, -0.7463222742080688, -0.39217257499694824, -0.3453194200992584, -0.2542530298233032, -0.17840421199798584, -0.17186476290225983, 0.290911465883255, -0.0001690307108219713, 0.7751705646514893, -0.6075539588928223, 0.8499414324760437, 0.46058186888694763, -0.003685809439048171, 0.7948750853538513, -0.24382971227169037, 0.11169255524873734, -0.72965008020401, 0.01311501394957304, 0.12356627732515335, 0.14605364203453064, -1.1131972074508667, 0.07220017910003662, -0.1619732528924942, 0.10473275929689407, -0.6030009388923645, -0.12017274647951126, -0.37101995944976807, -0.11079620569944382, -0.29281798005104065, 0.11547283083200455, -0.36753368377685547, 0.1432221680879593, 0.019650114700198174, 0.6338247060775757, 0.8218742609024048, -0.6406497359275818, 0.3889809250831604, -0.001170217408798635, -0.3578323721885681, 0.7228462100028992, -0.5162114500999451, 0.29830560088157654, 0.033642448484897614, 0.4320024251937866, -1.1833359003067017, -0.1397533416748047, 0.4367204010486603, -0.48155835270881653, 0.3541259467601776, -0.5404611229896545, -0.7286666035652161, -0.1652928590774536, -0.15723983943462372, 0.8165730834007263, 0.04083786532282829, -0.2868298590183258, 0.5026743412017822, 0.7728158831596375, 0.06958482414484024, -0.21211017668247223, -0.4224144220352173, 0.01437581330537796, -0.751506507396698, 0.009190712124109268, 0.6155459880828857, -0.1767565757036209, -0.24945621192455292, -0.2608242928981781, -0.3872707188129425, -0.35377997159957886, 0.07362663745880127, 0.4118708670139313, 0.02228255569934845, 0.08675366640090942, -0.7394804954528809, -0.21708668768405914, -0.11174625903367996, -0.0220519807189703, 0.08528827875852585, 0.34969574213027954, 0.13449011743068695, -0.5671384334564209, -0.780182421207428, 0.6575304865837097, 0.5611248016357422, -0.21319390833377838, 0.43054330348968506, 0.30378401279449463, -0.5910738110542297, -0.13374635577201843, -0.6488391757011414, -0.10867124795913696, -0.4824528992176056, 0.23697906732559204, -0.43989086151123047, -0.31188201904296875, 0.7370718121528625, -0.10527799278497696, -0.07824509590864182, -0.035569928586483, 0.22964951395988464, -0.11232086271047592, 0.8845663666725159, 0.6564357280731201, -0.022906992584466934, 0.3813115656375885, -0.13503284752368927, 0.40676170587539673, -0.3095480501651764, -0.5271845459938049, -0.8186649680137634, -0.07014866918325424, -0.48573946952819824, -0.45901015400886536, 0.4327569007873535, 0.13725775480270386, 0.10391383618116379, 0.6524083018302917, -0.3082263469696045, 0.6830891966819763, 1.0159690380096436, 0.18527929484844208, -0.10206899791955948, 0.25945502519607544, -0.08649599552154541, 0.06304662674665451, -0.5784204602241516, 0.03721659630537033, 0.3772708475589752, 0.5429773926734924, 0.23541593551635742, 0.07340767234563828, 0.7781924605369568, 0.4776066541671753, -0.2250169813632965, -0.932017982006073, 0.6511427760124207, 0.013866616412997246, -0.8668034672737122, -0.22258305549621582, -0.25648343563079834, -0.6709118485450745, -0.2400512397289276, 0.0552627369761467, -0.9683812856674194, 0.27196648716926575, 0.1842547357082367, -0.4431510865688324, 0.3680516481399536, -0.7985181212425232, 0.5269168615341187, 0.07566229999065399, 0.1564520001411438, -0.22723622620105743, -0.8665645122528076, 0.21181215345859528, -0.25493109226226807, 0.6282250285148621, -0.03747476637363434, 0.41162529587745667, 1.0960278511047363, -0.07911164313554764, 1.0631948709487915, -0.6290452480316162, -0.012341459281742573, 0.48025670647621155, 0.4214465916156769, 0.2812862992286682, -0.33498039841651917, 0.052296463400125504, 0.379509836435318, 0.7971047759056091, -0.6902362704277039, -0.2711266577243805, 0.26938971877098083, -0.6749240756034851, -0.3917655944824219, -0.36000698804855347, -0.016332479193806648, -0.3409598767757416, 0.2685677409172058, 0.5026412010192871, 0.23398500680923462, -0.104673370718956, -0.16389958560466766, 0.7672542929649353, -0.2611793577671051, 0.4449184536933899, 0.787296712398529, 0.18759925663471222, -0.48354631662368774, 1.1787160634994507, -0.011837901547551155, 0.31415483355522156, 0.3159027099609375, -0.01918766088783741, 0.06478976458311081, -0.8364309072494507, -0.17257094383239746, 0.360640287399292, -0.4630699157714844, -0.00449345912784338, -0.19819727540016174, -0.33453676104545593, -0.21409855782985687, 0.32366466522216797, -0.774080216884613, -0.1324567347764969, -0.027560371905565262, -0.12655109167099, -0.021970653906464577, 0.6737614274024963, -0.3788864314556122, 0.72027587890625, -0.4635045826435089, 0.2880004048347473, 0.0669422373175621, 0.35028842091560364, -0.07157768309116364, -0.6888189911842346, -0.49042245745658875, -0.03542306274175644, -0.07511894404888153, -1.242793321609497, -0.030338894575834274, 0.09938777983188629, 0.942119836807251, 0.6178991198539734, 0.16552793979644775, 0.6645394563674927, -0.5589562654495239, 0.8833522200584412, 0.07462339848279953, -1.1057604551315308, 0.5640454888343811, -0.363430917263031, -0.07600891590118408, 0.586703896522522, 0.05935826525092125, -0.4658220410346985, -0.5914890766143799, -0.6164517998695374, -1.1676760911941528, 0.9931254386901855, 0.26200389862060547, 0.11210516840219498, -0.14204344153404236, 0.17902430891990662, -0.1621060073375702, 0.16412025690078735, -0.44964084029197693, -0.5495836734771729, -0.3699488639831543, 0.2294250726699829, -0.01779267005622387, -0.5736886262893677, -0.3915560841560364, -0.48205551505088806, 0.70412278175354, 0.3535584509372711, 0.5948321223258972, 0.21538500487804413, 0.037861503660678864, -0.15531297028064728, -0.18287816643714905, 0.8764764070510864, 0.36717385053634644, -0.4992124140262604, 0.4839690029621124, 0.47550633549690247, -0.6783159375190735, 0.2114599347114563, -0.01738779805600643, 0.03503899276256561, 0.2870761454105377, 0.3163599967956543, 0.5265522003173828, 0.3032101094722748, -0.395912230014801, 0.7257484793663025, -0.031465474516153336, -0.29162919521331787, -0.3777649700641632, -0.12173373997211456, -0.1263967752456665, 0.04680400714278221, 0.5715668201446533, 0.027186676859855652, 0.13276275992393494, -0.30330538749694824, 0.47672322392463684, 0.25606298446655273, -0.3293610215187073, -0.6625939011573792, 0.46009111404418945, -0.012060766108334064, -0.3294634521007538, 0.14847330749034882, -0.43335267901420593, -0.7531152963638306, 0.7436285614967346, 0.7522444128990173, 0.5976616144180298, -0.8402433395385742, 0.3381927013397217, 0.23106583952903748, 0.3769253194332123, -0.31205135583877563, 0.12331119179725647, -0.4051733613014221, -0.6232654452323914, -0.25613757967948914, -0.42488574981689453, -0.49785420298576355, 0.2607402205467224, -0.8852517008781433, 0.17937573790550232, -0.5630307197570801, -0.2281753420829773, 0.04240339994430542, -0.18925264477729797, -0.0802554339170456, 0.20680353045463562, 0.12462536990642548, 1.0010666847229004, -1.0853053331375122, 0.8011242747306824, 0.9881376624107361, 0.14435552060604095, -0.6419118046760559, 0.3440329134464264, 0.28285208344459534, -0.361895889043808, -0.26872026920318604, -0.15392033755779266, -0.35938337445259094, -0.03448475897312164, -0.5012348294258118, -0.73004549741745, 0.5871630907058716, 0.15772801637649536, -0.3573375642299652, 0.15124836564064026, 0.1722276210784912, 0.46113693714141846, 0.22708940505981445, 0.03501632437109947, 0.9387817978858948, 0.2550825774669647, 0.21124167740345, -1.302501916885376, -0.22736677527427673, -0.340922474861145, -0.3900667428970337, -0.0020740267354995012, -0.7109056115150452, 0.2921120524406433, 0.018167590722441673, -0.2579166889190674, 0.2139061540365219, 0.3036949932575226, 0.39034000039100647, 1.0294088125228882, 0.7849032282829285, 0.5765043497085571, 0.6730782985687256, 0.051716167479753494, 0.5836968421936035, -0.22531317174434662, 0.283184289932251, 1.110351324081421, -0.20171470940113068, 0.6896709203720093, 0.5893245339393616, -0.42536166310310364, 0.06257422268390656, 0.8942074179649353, 0.0978366956114769, 0.907118558883667, 0.1055571436882019, -0.603110671043396, -0.0978441834449768, 0.18852044641971588, -0.49979665875434875, 0.6815613508224487, 0.46560177206993103, 0.27340295910835266, -0.13282492756843567, 0.14107979834079742, 0.024236613884568214, -0.06137875095009804, 0.05687316507101059, 0.8690137267112732, -0.23552222549915314, -0.22329281270503998, 0.21698151528835297, 0.18298478424549103, 0.5629792809486389, -0.49646082520484924, 0.15094226598739624, -0.5159562826156616, -0.106806680560112, -0.3634742498397827, -0.14082413911819458, 0.4747583866119385, -0.18778781592845917, -0.5306389331817627, 0.025841403752565384, 0.21223877370357513, -0.16499777138233185, -0.07820271700620651, 0.4078589975833893, 0.11970115453004837, 0.4647960066795349, -0.135493665933609, -0.37834057211875916, 0.20751546323299408, -0.03170431777834892, 0.22608916461467743, 0.4649563431739807, 0.6230117678642273, 0.047654733061790466, 0.34718528389930725, 0.3837020695209503, 0.5968488454818726, 0.13672715425491333, -0.06080855801701546, 0.29104477167129517, -0.4713870882987976, -0.8789077401161194, -0.7708293199539185, 0.035595618188381195, 0.1582348644733429, 0.24349169433116913, 1.078743577003479, 0.8620713353157043, 0.8185900449752808, -0.00765511067584157, 0.5817711353302002, -0.1509505808353424, 1.0512279272079468, -0.05847402662038803, 0.6752134561538696, -0.5100404024124146, 0.8147229552268982, -0.7672144770622253, -0.5473673939704895, -0.26807117462158203, 0.36884546279907227, -0.22003091871738434, -0.3005969822406769, 0.5556699633598328, 0.8729441165924072, -0.4829649031162262, 0.1348431408405304, 0.2819977402687073, 0.044620055705308914, 0.17805370688438416, 0.13233277201652527, 1.1420371532440186, -0.2395390123128891, 0.5087777376174927, -0.5797041654586792, -0.4527879059314728, -0.07570625841617584, -0.5145070552825928, -0.6100446581840515, -0.8040422797203064, -0.7163028120994568, -0.6244828104972839, -0.09113748371601105, 0.38763895630836487, 1.0045757293701172, -1.0551079511642456, -0.3467058837413788, -0.0147237628698349, 0.21420617401599884, -0.5912964344024658, -0.2521578371524811, 0.36149168014526367, 0.2777933180332184, -0.6015226244926453, 0.8743183016777039, 0.1483340859413147, 0.4452245235443115, 0.11056125164031982, 0.2913251221179962, -0.1439281851053238, 0.4261576235294342, 0.24149714410305023, 0.5544794201850891, -0.5819625854492188, -0.3420465588569641, -0.2907567620277405, 0.09855638444423676, -0.09605743736028671, 0.8166764378547668, -0.5110569000244141, 0.46485063433647156, 0.15721829235553741, 0.10563138872385025, 0.47662553191185, 0.1867137998342514, -0.03997277468442917, -1.171060562133789, 0.5151804089546204, -0.05152484402060509, -0.07011669874191284, 0.1438438892364502, -0.14807142317295074, -0.09479755908250809, 0.823139488697052, -0.3358196020126343, -1.349062204360962, 0.010647502727806568, -1.1090642213821411, -0.23489201068878174, 1.03230881690979, -0.21800543367862701, -0.0971827283501625, -0.3654748499393463, -0.31486058235168457, 0.3867183327674866, -0.08089134097099304, 1.1695377826690674, 0.6480810642242432, -0.04677208513021469, 0.1457291692495346, -0.6759920120239258, 0.7572516798973083, 0.3643879294395447, -0.4052918553352356, -0.301014244556427, 0.22446151077747345, 0.5940975546836853, 0.4840894043445587, 0.7912147045135498, -0.06881275773048401, 0.6370671987533569, 0.1895332783460617, -0.15332460403442383, 0.2731618881225586, -0.716448187828064, -0.04126274958252907, 0.3255861699581146, -0.16585291922092438, -0.800738513469696 ]
http://arxiv.org/abs/2406.07815v1
http://arxiv.org/pdf/2406.07815v1
Are Large Language Models Good Statisticians?
2024-06-12T02:23:51
2024-06-12T02:23:51
Yizhang Zhu, Shiyin Du, Boyan Li, Yuyu Luo, Nan Tang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have demonstrated impressive capabilities across a range of scientific tasks including mathematics, physics, and chemistry. Despite their successes, the effectiveness of LLMs in handling complex statistical tasks remains systematically under-explored. To bridge this gap, we introduce StatQA, a new benchmark designed for statistical analysis tasks. StatQA comprises 11,623 examples tailored to evaluate LLMs' proficiency in specialized statistical tasks and their applicability assessment capabilities, particularly for hypothesis testing methods. We systematically experiment with representative LLMs using various prompting strategies and show that even state-of-the-art models such as GPT-4o achieve a best performance of only 64.83%, indicating significant room for improvement. Notably, while open-source LLMs (e.g. LLaMA-3) show limited capability, those fine-tuned ones exhibit marked improvements, outperforming all in-context learning-based methods (e.g. GPT-4o). Moreover, our comparative human experiments highlight a striking contrast in error types between LLMs and humans: LLMs primarily make applicability errors, whereas humans mostly make statistical task confusion errors. This divergence highlights distinct areas of proficiency and deficiency, suggesting that combining LLM and human expertise could lead to complementary strengths, inviting further investigation into their collaborative potential.
[ -0.10620439052581787, -0.5208320021629333, 0.7960379123687744, 0.2749536633491516, 0.03034854121506214, 0.34639978408813477, -0.49498602747917175, -0.25507891178131104, 0.020690280944108963, 0.19529028236865997, -0.2741067111492157, -0.5991487503051758, -0.6058666706085205, 0.3949202001094818, -0.4580784738063812, 0.7960438132286072, -0.09625058621168137, 0.5354819297790527, -0.3625001907348633, -0.06490637362003326, -0.5404273867607117, -0.6363959312438965, -0.6719014048576355, -0.21576380729675293, 0.6682201027870178, 0.3278810679912567, 0.5787204504013062, 0.19690169394016266, 0.6390843391418457, 0.28165990114212036, 0.012099649757146835, 0.21177607774734497, -0.5263088941574097, 0.15059737861156464, -0.20459498465061188, -0.8602345585823059, -0.6604018211364746, 0.033699292689561844, 0.7525165677070618, 0.9498873353004456, -0.1429961621761322, 0.2870980501174927, 0.10229016840457916, 0.6587705612182617, -0.4388355612754822, 0.5016177892684937, -0.5147913694381714, -0.1850910633802414, -0.31495457887649536, -0.07944280654191971, -0.3996981978416443, -0.7248272895812988, 0.01728648506104946, -0.5985742211341858, 0.34974682331085205, 0.11975213885307312, 0.46327507495880127, 0.44004353880882263, -0.47231513261795044, -0.03889217600226402, -0.44943487644195557, 1.1274540424346924, -0.7311651706695557, 0.48392751812934875, 0.4447647035121918, 0.41813966631889343, -0.7088853120803833, -0.34959104657173157, -0.4662295877933502, -0.44632360339164734, 0.28783145546913147, 0.1003037616610527, -0.27780136466026306, -0.13985931873321533, 0.3563019633293152, 0.0614449605345726, -0.5818021893501282, 0.3363458514213562, -0.40091609954833984, -0.33166125416755676, 0.6890580058097839, 0.2641533315181732, 0.3602469861507416, 0.07335923612117767, 0.09969507157802582, -0.20020781457424164, -0.7993333339691162, -0.002571254735812545, 0.26378166675567627, 0.4504029154777527, -0.26689863204956055, 0.7698079943656921, -0.3960684537887573, 0.47149792313575745, -0.5086826086044312, -0.16686932742595673, 0.22036965191364288, -0.18631716072559357, -0.09917157888412476, -0.1984596997499466, 0.7528889179229736, 0.06612890958786011, 0.6381298899650574, -0.0896657407283783, -0.02539682574570179, 0.02189183235168457, 0.1800064891576767, -0.6111449003219604, -0.44342681765556335, 0.3308357000350952, -0.25273144245147705, -0.028751054778695107, -0.2607325613498688, -0.7025666236877441, -0.43861812353134155, -0.24276021122932434, 0.36383256316185, -0.41327762603759766, -0.08718245476484299, 0.083552286028862, -0.008333063684403896, -0.07389899343252182, 0.5069935321807861, -0.7755952477455139, 0.45576703548431396, 0.8921900391578674, 0.8072823882102966, -0.5365684032440186, -0.45551711320877075, -0.49404069781303406, -0.22031404078006744, -0.8297329545021057, 0.777252197265625, -0.15219886600971222, -0.1987399011850357, -0.09723703563213348, -0.18143324553966522, -0.01944343000650406, -0.6053537130355835, 0.7177785634994507, -0.5192835927009583, -0.12148153781890869, -0.591598629951477, -0.6097530126571655, -0.1651674509048462, 0.019111735746264458, -0.6789571046829224, 0.9032036662101746, 0.1410873681306839, -0.467507928609848, 0.7789337038993835, -0.369549036026001, -0.1655733734369278, 0.1648738533258438, -0.30909278988838196, -0.32100483775138855, 0.09107312560081482, -0.06230480223894119, 0.6110595464706421, -0.7609172463417053, 0.3704029619693756, -0.5640320777893066, -0.4809800684452057, 0.738978385925293, -0.603222668170929, 0.7426599264144897, 0.1446831077337265, -0.10526051372289658, 0.06976824253797531, -0.5699962377548218, 0.16275078058242798, -0.002907573012635112, -0.39887934923171997, -0.24130438268184662, 0.14954262971878052, -0.2286386638879776, -0.21208389103412628, 0.08540405333042145, -0.3719578981399536, -0.002588240895420313, -0.16449224948883057, 0.23810100555419922, 0.6975082159042358, -0.2293403595685959, 0.16787897050380707, -0.4047306180000305, 0.5397917628288269, -0.3522617518901825, -0.22286178171634674, 0.3042774200439453, -0.5422605276107788, -0.4192589521408081, -0.786568284034729, 0.487077921628952, 0.4782085418701172, -0.6221224069595337, 0.3057537078857422, -0.24026502668857574, -0.6383435130119324, -0.08032502233982086, 0.35627084970474243, 0.3205163776874542, 0.37013930082321167, 0.24194352328777313, -0.3684319853782654, -0.3641938865184784, -0.8832281827926636, -0.47066378593444824, -0.3744213581085205, -0.21995320916175842, -0.03864425793290138, 0.6337408423423767, 0.13134993612766266, 0.8364273309707642, -0.40986037254333496, -0.006540186703205109, -0.2799259424209595, 0.07649660110473633, 0.36814048886299133, 0.12497692555189133, 0.5995502471923828, -0.528377890586853, -0.3698856830596924, -0.10963472723960876, -1.0078233480453491, -0.20737521350383759, 0.42155829071998596, -0.03586917743086815, 0.19515421986579895, 0.13478723168373108, -0.6966350078582764, 0.14689041674137115, 0.41384056210517883, -0.1823713630437851, 0.9468684792518616, -0.30621451139450073, 0.3559345602989197, -0.7018691301345825, -0.010135619901120663, 0.24829837679862976, -0.1386989802122116, -0.8182368278503418, -0.1646490842103958, 0.2500327527523041, 0.10384828597307205, -0.4107690155506134, 0.6626458764076233, -0.39981821179389954, -0.3141356110572815, -0.03574758768081665, -0.3218494653701782, -0.38706016540527344, 0.16808733344078064, -0.02810203656554222, 0.8795444965362549, 0.6752420663833618, -0.6906431317329407, 0.20233741402626038, 0.16305871307849884, -0.5658450722694397, 0.6483654975891113, -0.6165368556976318, -0.3068535327911377, -0.028972521424293518, 0.3519601821899414, -1.0884896516799927, -0.8058821558952332, -0.0463603138923645, -0.36471420526504517, 0.13835851848125458, 0.1783621460199356, -0.6311545372009277, -0.5372568368911743, -0.23987162113189697, 0.499149888753891, 0.7506551146507263, -0.385966032743454, 0.21792931854724884, 0.31116783618927, -0.40746358036994934, -0.6398004293441772, -0.41798943281173706, 0.11252214014530182, -0.5043448805809021, -0.2704627513885498, -0.19879791140556335, -0.04877066612243652, -0.5956817865371704, -0.3737969398498535, -0.06661682575941086, -0.3339254558086395, 0.191049724817276, -0.0007457766914740205, 0.4872433841228485, -0.1822843849658966, 0.31792137026786804, -0.30479031801223755, 0.02833363227546215, 0.19745387136936188, 0.17413416504859924, 0.3385251760482788, -0.014980229549109936, -0.5615882873535156, -0.4819265604019165, 0.0313425213098526, 0.48916345834732056, -0.03916071727871895, 0.5536760687828064, 0.3280384838581085, -0.2986023724079132, -0.3225167989730835, -0.6491307616233826, -0.22585429251194, -0.3990498483181, 0.6561591029167175, -0.44489890336990356, -0.8951366543769836, 0.4767884612083435, 0.07832314819097519, 0.09419746696949005, 0.2697393298149109, 0.5974647402763367, -0.239089697599411, 1.0260077714920044, 0.4114394783973694, -0.14756393432617188, 0.06177627667784691, 0.08900048583745956, 0.07498650252819061, -0.5202692747116089, 0.12214972078800201, -0.6422650814056396, 0.11488353461027145, -0.41711530089378357, -0.7107652425765991, 0.5594715476036072, 0.09543999284505844, -0.5639134049415588, 0.034391652792692184, -0.14087603986263275, 0.4234466552734375, 0.3393716812133789, 0.06058298051357269, 0.3267127573490143, 0.10743900388479233, 0.2496132254600525, -0.27147457003593445, -0.769892692565918, -0.5773082375526428, 1.3716139793395996, 0.5529798269271851, 0.9735175371170044, 0.25893598794937134, 0.5753116607666016, 0.3260018527507782, 0.567955732345581, -0.8445507287979126, 0.6197924017906189, -0.2905210554599762, -0.5333558917045593, -0.5570060610771179, -0.7987373471260071, -0.7936133146286011, 0.311079740524292, -0.20278184115886688, -0.8662441968917847, -0.06002577766776085, 0.23072177171707153, -0.18310874700546265, 0.23400795459747314, -0.6602751016616821, 0.6590403914451599, -0.340313196182251, -0.32964450120925903, -0.1392965018749237, -0.06150558218359947, 0.6153243184089661, -0.4808328449726105, 0.4152613580226898, -0.5131019949913025, -0.19602559506893158, 0.7854213714599609, -0.21843388676643372, 0.9346367716789246, -0.0563495047390461, -0.33983907103538513, 0.18303029239177704, 0.2846362590789795, 0.3171391189098358, -0.09637320041656494, -0.3841318190097809, 0.3071610629558563, 0.15233756601810455, -0.6477261781692505, -0.5537527203559875, 0.49505987763404846, -0.6555376648902893, -0.6210904717445374, -0.45698124170303345, -0.6701396703720093, -0.5128061771392822, 0.12422432005405426, -0.07604137063026428, 0.39232420921325684, -0.4068432152271271, 0.18293313682079315, 0.7797242403030396, -0.24494877457618713, 0.0750882476568222, 0.5686728954315186, 0.08248743414878845, -0.1473539173603058, 1.0322797298431396, 0.04177771881222725, 0.34153130650520325, 0.2516753375530243, 0.31628015637397766, -0.43303945660591125, -0.5841929912567139, -0.483220636844635, 0.2942981719970703, -0.7060121893882751, -0.14778167009353638, -0.5256580710411072, 0.04753151163458824, -0.30369535088539124, 0.058236636221408844, -0.3354039490222931, -0.2726328670978546, -0.08076304942369461, 0.16607268154621124, 0.4447008967399597, 0.7171757221221924, -0.04729988053441048, -0.07340099662542343, -0.5752757787704468, 0.33261290192604065, 0.33278971910476685, 0.2427522987127304, 0.19495686888694763, -0.3598673641681671, -0.08289143443107605, -0.06434331834316254, 0.01591886766254902, -0.7464807629585266, 0.3390811085700989, 0.08656864613294601, 0.8166855573654175, 0.012229260057210922, -0.01010540034621954, 0.4008180797100067, -0.5150482654571533, 0.7802767753601074, 0.28477799892425537, -0.8078967928886414, -0.030780617147684097, -0.5713095664978027, 0.26589545607566833, 0.3860917389392853, 0.619159460067749, -0.24224834144115448, -0.4935203194618225, -0.055482473224401474, -0.5612413287162781, 0.5589969754219055, 0.17276829481124878, -0.10692354291677475, -0.05300583317875862, 0.26269015669822693, 0.1576690524816513, 0.22315244376659393, -0.43122413754463196, 0.012022261507809162, 0.13393233716487885, -0.40765222907066345, -0.4326937198638916, -0.094564288854599, -0.2994750440120697, -0.1690397560596466, 0.5295974016189575, -0.4257672429084778, 0.08538579940795898, -0.011869745329022408, 0.07460439205169678, -0.08769476413726807, 0.4723483622074127, 0.40281420946121216, 1.1157128810882568, -0.11884758621454239, 0.1790495663881302, 0.7358572483062744, -0.5486755967140198, 0.3690316379070282, 0.044676799327135086, 0.18970444798469543, -0.32042255997657776, 0.6408084034919739, 0.2597334384918213, 0.37238913774490356, -0.9810305237770081, 0.3421969413757324, -0.21014386415481567, -0.3640304505825043, -0.28386741876602173, 0.3098743259906769, 0.14701105654239655, 0.24212636053562164, 0.6427267789840698, -0.24006208777427673, 0.12326066195964813, -0.7419448494911194, 0.044586531817913055, 0.586325466632843, -0.22009165585041046, -0.3091074228286743, 0.7129559516906738, -0.05661880597472191, -0.12618902325630188, 0.08692260831594467, -0.13043402135372162, -0.5422557592391968, 0.8664177656173706, 0.39452946186065674, 0.5437168478965759, -0.12933652102947235, 0.3971773386001587, 0.3627496659755707, 0.1553647667169571, -0.4883227050304413, 0.5374001860618591, 0.08769916743040085, -0.7285584807395935, -0.5280721187591553, -0.5944538116455078, -0.8210881948471069, -0.12373461574316025, -0.5793391466140747, 0.17112918198108673, -0.0940653383731842, -0.13089744746685028, 0.12488128244876862, 0.09872176498174667, -0.9047749638557434, 0.24433010816574097, -0.20689167082309723, 0.8413116335868835, -0.8373357057571411, 0.7102063894271851, 0.6816002726554871, -0.18101933598518372, -0.8380013108253479, -0.029025381430983543, 0.20610816776752472, -0.6154475808143616, 0.9565743803977966, -0.12179400026798248, 0.10418400913476944, -0.2524334788322449, -0.4331509470939636, -0.9419445395469666, 0.9744112491607666, 0.4648655652999878, -0.6072983145713806, 0.19514955580234528, 0.2066766917705536, 0.8294352889060974, -0.10060130804777145, 0.5709626078605652, 0.7129456996917725, 0.4033806025981903, -0.17976699769496918, -1.105124592781067, 0.21926666796207428, 0.2286192923784256, -0.08796289563179016, 0.08729444444179535, -0.8482555150985718, 1.0223379135131836, -0.21407288312911987, -0.07250623404979706, 0.39839234948158264, 0.7091805934906006, 0.6822777986526489, 0.3769760727882385, 0.5074117183685303, 0.15997296571731567, 1.071751594543457, -0.0770622119307518, 1.087120771408081, -0.06588345766067505, 0.08260755240917206, 0.9838871359825134, -0.6418926119804382, 0.9619441628456116, 0.23627525568008423, -0.7012648582458496, 0.22722980380058289, 0.6078181862831116, 0.14803887903690338, 0.13836941123008728, 0.4892324209213257, -0.24295079708099365, -0.3749328851699829, 0.1184627041220665, -0.20992007851600647, 0.2829779386520386, 0.3068971037864685, -0.0013447877718135715, -0.1059311032295227, -0.20183250308036804, -0.057104118168354034, 0.09583869576454163, -0.24574001133441925, 0.3859964609146118, 0.29827192425727844, -0.6670945286750793, 0.5904937982559204, -0.3724881410598755, 0.5068193078041077, -0.6941208243370056, -0.19613219797611237, -0.10023754835128784, 0.05764545127749443, -0.1606975495815277, -0.9758684039115906, -0.003655010834336281, 0.23180827498435974, 0.018959838896989822, 0.2644718587398529, 0.5481813549995422, -0.2315206527709961, -0.4279988706111908, 0.15130926668643951, 0.7467581033706665, 0.5466113090515137, 0.1619846075773239, -0.3418773114681244, 0.013550681993365288, -0.12362521886825562, -0.09049833565950394, 0.3965184986591339, 0.3211747705936432, -0.45092830061912537, 0.8850424885749817, 0.7104783654212952, 0.48522645235061646, -0.12725846469402313, 0.2851584851741791, 0.553383469581604, -0.687213122844696, -0.2934888005256653, -0.7906929850578308, 0.14131470024585724, -0.0018286264967173338, -0.25755637884140015, 1.0752629041671753, 0.47597503662109375, 0.5622683167457581, -0.08008929342031479, 0.8750795125961304, 0.13782885670661926, 0.7705650329589844, -0.5434813499450684, 0.6472911238670349, -0.5126275420188904, 0.2543979287147522, -0.2705424427986145, -1.1181763410568237, -0.2654302716255188, 0.27795830368995667, -0.469206303358078, 0.07598619908094406, 0.6792129874229431, 0.5956669449806213, -0.03293437510728836, 0.029775748029351234, 0.5669658184051514, 0.14170750975608826, 0.3711938261985779, 0.389157772064209, 0.9647772908210754, 0.03388003259897232, 0.2734285891056061, 0.0450727641582489, -0.5075053572654724, -0.034916698932647705, -0.6462129354476929, -1.2095226049423218, -0.3624902367591858, -0.08816210180521011, -0.12444129586219788, 0.26085901260375977, 0.9029630422592163, 0.6502385139465332, -0.8289117217063904, -0.5675694346427917, 0.006257172208279371, 0.08804132044315338, -0.2025402933359146, -0.20280976593494415, 0.32551610469818115, -0.3209543228149414, -0.8057588338851929, 0.5299434065818787, -0.05459171533584595, -0.030241601169109344, -0.5216888189315796, -0.03835322707891464, 0.2915351092815399, 0.0776333212852478, 0.5380539298057556, 0.3770175576210022, -0.6531702280044556, -0.23907801508903503, -0.17676343023777008, -0.10756298899650574, -0.24036404490470886, 0.6910032033920288, -0.4646797478199005, 0.21681225299835205, 0.6792805194854736, 0.6783685088157654, 0.1324021816253662, 0.04998008534312248, 0.7823988199234009, -0.3223955035209656, -0.09440522640943527, 0.16049562394618988, 0.4266124963760376, 0.3294140100479126, -0.18880949914455414, 0.6921512484550476, -0.09373325109481812, -0.8263634443283081, -1.0555146932601929, 0.029073188081383705, -0.7337381839752197, -0.22331050038337708, 1.078214406967163, -0.07305645942687988, -0.31949448585510254, -0.2699379622936249, -0.05122809484601021, 0.04392161965370178, -0.5583047866821289, 0.8586925268173218, 0.8147767782211304, -0.34505659341812134, 0.13504184782505035, -1.1886529922485352, 0.6527207493782043, 0.7702547311782837, -0.9505970478057861, 0.13466231524944305, 0.37135815620422363, 0.5213201642036438, -0.04218308627605438, 0.8008708357810974, 0.12105488777160645, 0.486253023147583, -0.03213322535157204, 0.11442003399133682, 0.3994632363319397, -0.3550843894481659, -0.3284342288970947, -0.1484273076057434, 0.36698830127716064, 0.3281664550304413 ]
http://arxiv.org/abs/2406.07814v1
http://arxiv.org/pdf/2406.07814v1
Collective Constitutional AI: Aligning a Language Model with Public Input
2024-06-12T02:20:46
2024-06-12T02:20:46
Saffron Huang, Divya Siddarth, Liane Lovitt, Thomas I. Liao, Esin Durmus, Alex Tamkin, Deep Ganguli
cs.AI
cs.AI, cs.CL, cs.HC, I.2.7; K.4.2
There is growing consensus that language model (LM) developers should not be the sole deciders of LM behavior, creating a need for methods that enable the broader public to collectively shape the behavior of LM systems that affect them. To address this need, we present Collective Constitutional AI (CCAI): a multi-stage process for sourcing and integrating public input into LMs-from identifying a target population to sourcing principles to training and evaluating a model. We demonstrate the real-world practicality of this approach by creating what is, to our knowledge, the first LM fine-tuned with collectively sourced public input and evaluating this model against a baseline model trained with established principles from a LM developer. Our quantitative evaluations demonstrate several benefits of our approach: the CCAI-trained model shows lower bias across nine social dimensions compared to the baseline model, while maintaining equivalent performance on language, math, and helpful-harmless evaluations. Qualitative comparisons of the models suggest that the models differ on the basis of their respective constitutions, e.g., when prompted with contentious topics, the CCAI-trained model tends to generate responses that reframe the matter positively instead of a refusal. These results demonstrate a promising, tractable pathway toward publicly informed development of language models.
[ -0.3605731129646301, -0.45984283089637756, 0.59906005859375, 0.09780443459749222, -0.15433742105960846, 0.11431694030761719, -0.44376876950263977, -0.26300346851348877, 0.08387020230293274, 0.7214733362197876, -0.3159329295158386, -0.1604108065366745, -0.5138636231422424, 0.022184917703270912, -0.4210450351238251, 0.8081634640693665, 0.37654006481170654, 0.3148142695426941, -0.15563149750232697, -0.17354974150657654, -0.42635050415992737, -0.7193018794059753, -0.6860187649726868, -0.4040892720222473, 0.6599709391593933, 0.4925188720226288, 0.7383086085319519, 0.6642570495605469, 0.3256959617137909, 0.3461597263813019, -0.02501392737030983, -0.011667132377624512, -0.7937992215156555, -0.39159196615219116, -0.16409699618816376, -0.5605233311653137, -0.053028177469968796, 0.35623615980148315, 0.5178345441818237, 0.6282210350036621, -0.39072275161743164, 0.19001728296279907, -0.08912654221057892, 0.8310210704803467, -0.7070930600166321, 0.2421862632036209, -0.9251643419265747, -0.20036165416240692, -0.2659449279308319, 0.23940500617027283, -0.42435353994369507, -0.6179940700531006, 0.17935670912265778, -0.6073207259178162, -0.04150901362299919, -0.09540048241615295, 0.6221143007278442, 0.2593793570995331, -0.39319685101509094, -0.13154415786266327, -0.8184579014778137, 0.7955543398857117, -0.8298897743225098, 0.45913541316986084, 0.449720174074173, 0.23910163342952728, -0.23938211798667908, -0.5891258120536804, -1.0688667297363281, -0.4484086036682129, -0.12110323458909988, 0.22229120135307312, 0.19526831805706024, 0.19445447623729706, -0.017649875953793526, 0.17728324234485626, -0.3402949869632721, 0.27395209670066833, -0.7751480340957642, -0.11286015063524246, 0.7463266849517822, 0.08789822459220886, 0.2751591205596924, -0.08965076506137848, 0.1432434320449829, 0.116109199821949, -0.6254898309707642, 0.12059246003627777, 0.4987390637397766, 0.8315314650535583, -0.2646414637565613, 0.6987568140029907, -0.14572001993656158, 0.5914518237113953, 0.43416139483451843, 0.2930154800415039, -0.34544840455055237, -0.47865593433380127, -0.17766985297203064, 0.052249956876039505, 0.9327341914176941, -0.0035554999485611916, 0.32322660088539124, -0.14414094388484955, -0.22046515345573425, 0.46656063199043274, 0.628007173538208, -0.48006466031074524, 0.013142768293619156, 0.4389305114746094, -0.3897392451763153, -0.6983096599578857, 0.23925234377384186, -0.5293540954589844, -0.9044398665428162, -0.8854243755340576, 0.01032395102083683, -0.036112792789936066, -0.2126891165971756, -0.16461637616157532, -0.0659443810582161, 0.483625590801239, 0.24633653461933136, -1.116589903831482, 0.36500468850135803, 1.2441076040267944, 0.8719736337661743, -0.24561528861522675, -0.2097165286540985, -0.5506783723831177, 0.16174767911434174, -0.5317372679710388, 0.69249427318573, -0.8658599257469177, -0.357592910528183, 0.22165101766586304, -0.21342317759990692, -0.02745683304965496, -0.5349733829498291, 0.37318021059036255, -0.4389313757419586, 0.2917667031288147, -0.2952308654785156, -0.48128294944763184, 0.23930394649505615, 0.2995743751525879, -0.9999609589576721, 0.5131566524505615, -0.2120026797056198, -0.4497046172618866, 0.6713380813598633, -0.9890162348747253, -0.15599654614925385, 0.052938468754291534, -0.540155291557312, -0.36253470182418823, 0.13905809819698334, 0.3003602921962738, 0.2331819385290146, -0.15678603947162628, 0.7098182439804077, -0.623159646987915, -0.2724584937095642, 0.3528462052345276, -0.2750641107559204, 1.052832841873169, 0.24011805653572083, 0.010021897032856941, 0.4754062592983246, -0.6727599501609802, -0.30343297123908997, -0.20126007497310638, -0.563303530216217, -0.15273228287696838, 0.31145694851875305, -0.029386091977357864, 0.04591991752386093, 0.08980284631252289, -0.376210480928421, 0.28479301929473877, -0.5466728806495667, 0.6082454919815063, 1.0437101125717163, -0.2397591471672058, 0.8192951083183289, -0.5112181901931763, 0.24645644426345825, -0.24054759740829468, 0.41387733817100525, 0.3726804852485657, -0.35589760541915894, -0.6691683530807495, -0.036318060010671616, 0.30179139971733093, 0.5024749040603638, -0.42463403940200806, 0.4743535816669464, -0.13027043640613556, -0.7251479029655457, -0.5413051843643188, 0.029224395751953125, 0.09908218681812286, 0.10170801728963852, 0.013454638421535492, -0.3493814766407013, -0.39227744936943054, -0.7055504322052002, -0.3041187524795532, -0.7334133386611938, 0.24847039580345154, 0.15410737693309784, 0.43454283475875854, 0.14130042493343353, 0.9883160591125488, -0.033438101410865784, -0.17281343042850494, -0.39582374691963196, 0.4726209342479706, 0.16643060743808746, 0.3525746762752533, 0.37660273909568787, -0.6732854247093201, -0.16765685379505157, 0.23632366955280304, -0.5331622362136841, -0.1802021861076355, -0.33559221029281616, -0.3552440106868744, -0.07716002315282822, 0.2653328478336334, -0.48003360629081726, 0.38765108585357666, 0.6019091606140137, -0.1455213576555252, 0.7074356079101562, 0.09706313163042068, 0.15571968257427216, -1.3193610906600952, 0.22345659136772156, -0.09423333406448364, 0.06093249097466469, -0.7645291686058044, 0.37503260374069214, -0.06413155049085617, -0.373195081949234, -0.5384583473205566, 0.37516894936561584, -0.3188929855823517, 0.024616604670882225, -0.28609248995780945, 0.2001742422580719, -0.2334141880273819, 0.3816942274570465, 0.03748985007405281, 0.8596333861351013, 0.28019705414772034, -0.745351254940033, 0.5857694745063782, 0.23696604371070862, -0.42367449402809143, 0.65947425365448, -0.8110993504524231, 0.48413267731666565, -0.22948259115219116, 0.2681778073310852, -0.54948890209198, -0.31820860505104065, 0.33093729615211487, -0.34822940826416016, 0.019827410578727722, -0.1727180778980255, -0.06214271858334541, -0.27826160192489624, -0.131408229470253, 0.3302604854106903, -0.051773276180028915, -0.2337242066860199, 0.6011041402816772, 0.9946921467781067, -0.060307763516902924, -0.5930063724517822, -0.7885220646858215, 0.15717649459838867, -0.17665095627307892, -0.4061024487018585, 0.19822300970554352, -0.05217088386416435, -0.566261351108551, -0.24036650359630585, 0.2434016466140747, -0.5215592384338379, 0.19599291682243347, 0.26619869470596313, 0.1808500736951828, -0.26164737343788147, 0.16591902077198029, 0.07056145370006561, 0.11263243108987808, 0.043652985244989395, -0.2760072648525238, 0.45278236269950867, 0.12234152853488922, -0.5437741875648499, -0.8989936709403992, 0.36826008558273315, 0.8140895962715149, -0.629938542842865, 0.778566837310791, 0.05478135123848915, -0.46962982416152954, 0.10889662802219391, -0.5598742365837097, -0.01816624216735363, -0.450091153383255, 0.13182112574577332, 0.1699371337890625, -0.9715341925621033, 0.45418092608451843, -0.12467578053474426, 0.41203126311302185, 0.20860138535499573, 0.6704192757606506, 0.2651243209838867, 0.8204305171966553, 0.7824943661689758, -0.6754963397979736, 0.7819597125053406, 0.03312550485134125, 0.11473722755908966, -0.4456808567047119, -0.10305579751729965, -1.0325531959533691, -0.20484837889671326, -0.5541142821311951, -0.18655605614185333, 0.1506481021642685, -0.012215244583785534, -0.18942268192768097, 0.3471548557281494, -0.48200225830078125, 0.7008799910545349, 0.539409875869751, 0.13287103176116943, 0.06704171746969223, -0.3515486419200897, -0.004766056314110756, 0.3595837652683258, -0.3681197166442871, -0.7374722361564636, 1.150037407875061, -0.01847558654844761, 0.518223226070404, 0.3541480302810669, 0.9704098701477051, 0.3836687207221985, 0.5693569779396057, -0.8133996725082397, 0.45130088925361633, -0.12186506390571594, -0.6889858245849609, -0.750910758972168, -0.3831883370876312, -0.9068808555603027, 0.1394604742527008, -0.5145135521888733, -0.7378749847412109, 0.4104195237159729, 0.11417599022388458, -0.7787842750549316, 0.059146832674741745, -0.6768150329589844, 0.9497988224029541, -0.197705939412117, -0.26027992367744446, -0.5437835454940796, -0.3042648136615753, 0.4887220859527588, -0.23004141449928284, 0.1896943747997284, -0.11453721672296524, 0.18708883225917816, 0.5343220233917236, -0.6534189581871033, 0.9576625227928162, -0.14081571996212006, -0.09926048666238785, 0.3243664503097534, -0.33048006892204285, 0.41620054841041565, 0.23802508413791656, -0.44598713517189026, 0.01332592498511076, 0.026302527636289597, -0.2552334666252136, -0.6956427693367004, 0.6527040004730225, -1.153771162033081, -0.815714955329895, -0.3001067638397217, -0.17947769165039062, 0.012176556512713432, 0.19367001950740814, -0.2068384438753128, 0.38607263565063477, -0.7389129400253296, 0.1354919821023941, 0.2009851485490799, -0.046790629625320435, 0.3209049105644226, 0.4320138096809387, -0.09544362872838974, -0.42902350425720215, 0.7213870882987976, 0.10871051251888275, 0.1811288297176361, 0.27257299423217773, 0.44888797402381897, -0.28633058071136475, -0.48975205421447754, -0.2983322739601135, 0.09938090294599533, -0.42347171902656555, 0.044228166341781616, -0.19856497645378113, -0.07451175153255463, -0.8322494029998779, 0.05392039567232132, -0.3399779796600342, -0.40269893407821655, -0.3066914975643158, 0.04241977632045746, -0.048553865402936935, 0.9528751969337463, -0.00653832545503974, 0.250559538602829, -0.5728291273117065, 0.4175645411014557, 0.5870178937911987, 0.3788706958293915, -0.3181523382663727, -0.4677965044975281, -0.04685232788324356, 0.29968783259391785, -0.36711421608924866, -0.9928128719329834, -0.13769006729125977, 0.3023589849472046, 0.6559469699859619, 0.37467873096466064, 0.19322676956653595, 1.0274038314819336, -0.4314129054546356, 0.9736717343330383, -0.03527883440256119, -1.1516389846801758, 0.5569762587547302, -0.14375039935112, 0.2921658158302307, 0.8457184433937073, 0.11342409253120422, -0.7644636631011963, -0.8707278966903687, -0.08651620894670486, -0.3430577516555786, 0.9077977538108826, 0.17054753005504608, 0.5464404821395874, -0.03443503752350807, 0.45687928795814514, -0.04731583967804909, -0.0066907755099236965, -0.8368368744850159, 0.2771221101284027, -0.24767160415649414, -0.17763829231262207, 0.2788807451725006, 0.14214175939559937, -0.2044173628091812, -0.35192468762397766, 0.5153102874755859, -0.2761937975883484, 0.01758887805044651, 0.04658443480730057, -0.12388642877340317, -0.20672844350337982, 0.3106943666934967, 0.8716740608215332, 0.9659590721130371, 0.3795922100543976, -0.181598961353302, 0.04672558233141899, -0.32230138778686523, -0.02268838882446289, 0.03130960837006569, -0.26865023374557495, -0.46111103892326355, 0.23920388519763947, 0.6225284934043884, -0.02330191619694233, -0.18265274167060852, 0.5500572919845581, -0.28181809186935425, -0.1578478068113327, -0.4896453022956848, 0.04801023006439209, -0.020036932080984116, 0.3959062099456787, 0.12198442965745926, -0.06236184015870094, -0.033151108771562576, -0.7049037218093872, 0.2348519265651703, 0.5756623148918152, -0.40398284792900085, -0.22926971316337585, 0.6038333177566528, 0.4984501302242279, -0.45025867223739624, 0.7764965295791626, 0.060748495161533356, -0.46094492077827454, 0.6933727264404297, 0.22590304911136627, 0.8554252982139587, -0.3120492994785309, 0.39505594968795776, 0.3433429002761841, 0.4894810616970062, -0.20274470746517181, 0.025706671178340912, -0.0018901921575888991, -1.0170841217041016, -0.6250572800636292, -0.41657429933547974, -0.5736381411552429, 0.3232475817203522, -0.6127657890319824, 0.5813634395599365, -0.7883805632591248, -0.22269806265830994, 0.00964624248445034, 0.06378728896379471, -0.4562632143497467, -0.05116305127739906, 0.4629914164543152, 0.7358852028846741, -0.9056626558303833, 0.9313662052154541, 0.39071565866470337, -0.6675119996070862, -0.9238094091415405, 0.14234967529773712, 0.20370931923389435, -0.7638857364654541, 0.27148252725601196, 0.09687553346157074, 0.026189854368567467, -0.23169219493865967, -1.0777482986450195, -0.5376858115196228, 0.9080467224121094, 0.4499630033969879, -0.6118972301483154, 0.03579641506075859, 0.4618084728717804, 0.6110011339187622, -0.29854869842529297, 0.2367209792137146, 0.5410005450248718, 0.6280772686004639, -0.041361041367053986, -0.9889827370643616, 0.02822350710630417, -0.135538712143898, -0.019211510196328163, 0.19609929621219635, -0.7278491854667664, 0.5620684027671814, -0.08658149838447571, -0.5195565223693848, 0.21500051021575928, 1.0197807550430298, 0.18945160508155823, 0.24241729080677032, 0.5608707666397095, 0.3246689438819885, 1.0102821588516235, -0.01247512735426426, 0.9666863083839417, -0.5183347463607788, -0.01994808204472065, 1.0276957750320435, -0.5007611513137817, 0.7895881533622742, 0.50491863489151, -0.014872672036290169, 0.2853742837905884, 0.4522109627723694, -0.023150408640503883, 0.2781856656074524, 0.5858741402626038, -0.30873775482177734, -0.16595740616321564, -0.29531845450401306, -0.1496821790933609, 0.7286359071731567, 0.2689746022224426, -0.12012849003076553, 0.15803048014640808, -0.3428260087966919, -0.2193695306777954, 0.544387936592102, -0.32292863726615906, 1.039549708366394, -0.0419701486825943, -0.9301255941390991, 0.14584091305732727, 0.0005417910870164633, 0.3909090757369995, -0.4204799234867096, -0.16048391163349152, -0.3592481315135956, -0.22882650792598724, -0.1530063897371292, -0.6047573685646057, 0.5464801788330078, 0.24642974138259888, -0.05160544067621231, -0.058140721172094345, 0.31959235668182373, -0.5137322545051575, -0.5804101228713989, 0.023695170879364014, 0.2620234489440918, 0.07185500860214233, -0.08704870939254761, -0.919963002204895, 0.18675538897514343, -0.4727678596973419, 0.14454013109207153, -0.07417222857475281, 0.4911099374294281, -0.4109624922275543, 0.44962817430496216, 0.8783836960792542, 0.21335460245609283, -0.09172878414392471, 0.5336940288543701, 0.8477442264556885, -0.37356650829315186, -0.40094193816185, -0.8311001658439636, 0.5312572717666626, -0.3302305340766907, -0.4748115539550781, 0.000385006598662585, 0.5036712884902954, 1.011038899421692, 0.19627779722213745, 0.8995093703269958, 0.010171576403081417, 0.059419624507427216, -0.5016656517982483, 1.0445951223373413, -0.18988314270973206, 0.11204583197832108, -0.17217227816581726, -0.757592499256134, -0.4271051585674286, 0.4666723310947418, -0.3586641252040863, -0.14154954254627228, 0.3826357126235962, 1.147074818611145, 0.0321502760052681, 0.06757158041000366, 0.3622274398803711, 0.06134776026010513, 0.43282774090766907, 0.2000812590122223, 1.0140690803527832, 0.08964378386735916, 0.6114085912704468, -0.06716296821832657, -0.1386304646730423, 0.25094082951545715, -0.7380010485649109, -0.8972659111022949, -0.5095931887626648, -0.1508551388978958, 0.09065889567136765, 0.053516924381256104, 1.2562341690063477, 0.777954638004303, -1.1007721424102783, -0.6988608837127686, -0.3006690740585327, 0.05688846856355667, -0.0607445053756237, -0.20984263718128204, -0.20904622972011566, -0.3196176588535309, -0.8386909365653992, 0.42403021454811096, 0.04895927757024765, -0.39269596338272095, -0.4756494462490082, -0.21391722559928894, -0.2761584222316742, 0.3990410268306732, 0.37421098351478577, 0.46328333020210266, -1.1306467056274414, -0.6406708359718323, -0.2589901387691498, -0.32077544927597046, -0.005082786548882723, 1.208187222480774, -0.4938904047012329, 0.5253825783729553, 0.5492931604385376, 0.7150425910949707, -0.07560345530509949, -0.0030082524754107, 1.0777696371078491, -0.3613256812095642, 0.06658882647752762, 0.08036456257104874, 0.2473655641078949, 0.16079512238502502, -0.36938077211380005, 0.2866799235343933, -0.012597213499248028, -0.675423800945282, -0.6019009351730347, 0.435850590467453, -0.7676119804382324, -0.0534745454788208, 0.8077437281608582, 0.0034454853739589453, -0.3604848384857178, -0.20212501287460327, -0.3377193510532379, 0.6518577933311462, -0.47941213846206665, 1.2690157890319824, 0.8372687101364136, 0.2565893232822418, -0.3434087038040161, -0.07510575652122498, 0.35523590445518494, 0.08569421619176865, -0.891170859336853, 0.144790381193161, 0.5938239693641663, -0.21570785343647003, 0.23735518753528595, 0.7943527698516846, -0.1721164584159851, 0.25980037450790405, -0.31650057435035706, 0.02895449846982956, 0.18787604570388794, -0.25274524092674255, -0.5690459609031677, -0.0407002754509449, 0.2742149829864502, 0.03880968689918518 ]
http://arxiv.org/abs/2406.07812v1
http://arxiv.org/pdf/2406.07812v1
To be Continuous, or to be Discrete, Those are Bits of Questions
2024-06-12T02:08:45
2024-06-12T02:08:45
Yiran Wang, Masao Utiyama
cs.CL
cs.CL, cs.AI, cs.LG
Recently, binary representation has been proposed as a novel representation that lies between continuous and discrete representations. It exhibits considerable information-preserving capability when being used to replace continuous input vectors. In this paper, we investigate the feasibility of further introducing it to the output side, aiming to allow models to output binary labels instead. To preserve the structural information on the output side along with label information, we extend the previous contrastive hashing method as structured contrastive hashing. More specifically, we upgrade CKY from label-level to bit-level, define a new similarity function with span marginal probabilities, and introduce a novel contrastive loss function with a carefully designed instance selection strategy. Our model achieves competitive performance on various structured prediction tasks, and demonstrates that binary representation can be considered a novel representation that further bridges the gap between the continuous nature of deep learning and the discrete intrinsic property of natural languages.
[ -0.4081496000289917, -0.5067875385284424, 0.6767135262489319, -0.05510184168815613, -0.6225966811180115, 0.19260531663894653, -0.2866846024990082, -0.5394110083580017, 0.293461412191391, 0.3066963255405426, -0.2981949746608734, -0.4329955279827118, -0.5638110041618347, -0.13522282242774963, -0.44655171036720276, 1.1150089502334595, 0.0971631109714508, 0.08475250750780106, -0.36849868297576904, -0.09851681441068649, -0.5822378993034363, -0.8132352232933044, -0.7357221245765686, -0.7907839417457581, 0.6684495806694031, 0.023937292397022247, 0.5503605604171753, 0.6636759042739868, 0.4381833076477051, 0.3404618203639984, 0.10535870492458344, -0.4654618501663208, -0.5132610201835632, 0.08547578006982803, -0.1662697046995163, -0.42453619837760925, 0.08113407343626022, -0.08518115431070328, 1.1201770305633545, 1.1210724115371704, -0.13100962340831757, -0.3086615800857544, 0.016914285719394684, 0.6547650694847107, -0.37843582034111023, 0.37438368797302246, -0.644798219203949, 0.020134365186095238, -0.17021527886390686, -0.03449317440390587, -0.5006186962127686, -0.09831082820892334, -0.2615305185317993, -0.2657283842563629, -0.09357200562953949, -0.06489972770214081, 0.7604429721832275, 0.19772133231163025, -0.3106313645839691, -0.13600073754787445, -0.868803083896637, 0.5468644499778748, -0.6223335266113281, 0.30049920082092285, 0.204847052693367, 0.43320655822753906, 0.08642353862524033, -0.8411312699317932, -0.3212140202522278, -0.26231515407562256, -0.32081297039985657, 0.31322181224823, 0.26961156725883484, 0.1122218668460846, -0.0745929405093193, 0.5820860266685486, 0.008924955502152443, 0.16450244188308716, -0.3154323101043701, -0.09837835282087326, 0.3962310552597046, 0.13575616478919983, 0.012050076387822628, -0.13591912388801575, -0.4744488596916199, -0.12791113555431366, -0.4025721549987793, 0.17249731719493866, 0.31921297311782837, 0.32797107100486755, -0.16784504055976868, 0.2634586691856384, 0.005282043945044279, 0.35449880361557007, 0.2977299094200134, 0.36703741550445557, 0.04521900415420532, -0.0992157906293869, -0.088472880423069, 0.15046373009681702, 0.4844702184200287, 0.18756818771362305, -0.0094158248975873, -0.11099010705947876, -0.27827420830726624, 0.17845237255096436, 0.37038514018058777, -1.1049753427505493, -0.668209433555603, 0.28185850381851196, -0.6206774711608887, -0.42396003007888794, 0.2938006818294525, -0.15063618123531342, -0.27305036783218384, -0.2374664694070816, 0.3073672652244568, -0.6080852746963501, -0.230412557721138, -0.002591462340205908, -0.3829914927482605, 0.0506085567176342, 0.15904471278190613, -1.1620455980300903, 0.7275972366333008, 0.5687384605407715, 0.529335618019104, -0.14533337950706482, 0.4025324583053589, -0.22217702865600586, 0.23396722972393036, -0.6460959911346436, 0.4809891879558563, -0.9948039054870605, -0.3566972613334656, -0.2087893933057785, -0.285309374332428, 0.3465312719345093, -0.5312759280204773, -0.10141090303659439, -0.6772882342338562, -0.014662480913102627, -0.18896903097629547, -0.46574145555496216, -0.19572526216506958, 0.18292875587940216, -0.8228304386138916, 0.9107175469398499, 0.24898821115493774, -0.8914165496826172, 0.2929007112979889, -0.1438530534505844, -0.06950001418590546, 0.5644716024398804, -0.7239126563072205, -0.6767388582229614, 0.28089639544487, -0.27158528566360474, 0.3772932291030884, 0.34398338198661804, 0.26441746950149536, -0.46179744601249695, -0.7790604829788208, 0.5636324286460876, -0.17462538182735443, 0.32424691319465637, -0.18857012689113617, -0.13174183666706085, 0.12871317565441132, -0.7741515040397644, 0.018904929980635643, -0.1036440059542656, -0.6806105375289917, -0.5674676895141602, 0.3526248037815094, -0.0065297214314341545, 0.25600332021713257, 0.39030271768569946, -0.679098904132843, 0.21006974577903748, -0.25971123576164246, 0.4728188216686249, 0.9532935619354248, 0.021029673516750336, 0.49158400297164917, -0.20389647781848907, 0.03354261443018913, 0.3509982228279114, -0.1925273984670639, -0.033630918711423874, -0.37095025181770325, -0.5795879364013672, -0.2507385015487671, 1.0461463928222656, 0.1399586945772171, -0.7246766686439514, 0.3572201132774353, -0.42029833793640137, -0.148491770029068, -0.29129335284233093, -0.3013508915901184, 0.30023255944252014, 0.24310335516929626, 0.05694947391748428, -0.6501835584640503, -0.5932603478431702, -1.0998696088790894, 0.25415149331092834, -0.07083602994680405, -0.3067649006843567, 0.1972433179616928, 0.5850253105163574, -0.4085828959941864, 0.5013708472251892, -0.26003843545913696, 0.044697441160678864, -0.05272495374083519, 0.22978928685188293, 0.5076290965080261, 0.7649999260902405, 0.18502488732337952, -0.9892596006393433, -0.42214226722717285, 0.24955949187278748, -0.5081372857093811, 0.4152511656284332, -0.22262462973594666, -0.10887689888477325, 0.10865799337625504, 0.43019983172416687, 0.031510137021541595, 0.31524530053138733, 0.5140166878700256, -0.18843615055084229, 0.5032337307929993, -0.3489997982978821, 0.13236254453659058, -0.8163698315620422, -0.11364507675170898, -0.4059043228626251, -0.4143729507923126, -0.3641335368156433, -0.0100393733009696, 0.09931952506303787, -0.1195010170340538, 0.056955110281705856, 0.30731600522994995, -0.19813378155231476, -0.292087197303772, -0.305803507566452, -0.18256008625030518, -0.3458796739578247, 0.6737673878669739, 0.26895248889923096, 0.34951597452163696, 0.49556800723075867, -0.6161128878593445, 0.11450183391571045, 0.08539533615112305, -0.15735185146331787, 0.6501907110214233, -0.6989606618881226, 0.16024236381053925, -0.349873423576355, 0.38851451873779297, -0.8789281845092773, -0.2113446444272995, 0.2510901391506195, -0.664376974105835, 0.7225263714790344, -0.15681397914886475, -0.5190963745117188, -0.06050379201769829, -0.5151500701904297, 0.5448154211044312, 0.7149800658226013, -0.17681878805160522, 0.47189703583717346, -0.044059351086616516, -0.054222118109464645, -0.2670571506023407, -1.0333480834960938, -0.14964720606803894, -0.08249296993017197, -0.4481191635131836, 0.9644072651863098, -0.18583108484745026, -0.026668621227145195, 0.4172724187374115, -0.3663180470466614, -0.016190560534596443, -0.1154235377907753, 0.3615697920322418, 0.30883970856666565, -0.07172556221485138, 0.3673173189163208, -0.09836287051439285, -0.23154912889003754, 0.1219247356057167, -0.41353434324264526, 0.4821235239505768, -0.03794651851058006, 0.019242458045482635, -0.04210318624973297, 0.7453514337539673, -0.3612034320831299, 0.06090984120965004, 0.8462648391723633, 0.6477459669113159, -0.6403136849403381, -0.3393532931804657, -0.13963131606578827, -0.12252355366945267, -0.5406005382537842, 0.4019455015659332, -0.5003838539123535, -0.7998071908950806, 0.659781277179718, -0.05071716010570526, -0.08072737604379654, 0.5369807481765747, 0.4256821572780609, -0.4603133201599121, 0.730387806892395, 0.9231231808662415, 0.3467331826686859, 0.6818278431892395, -0.32638460397720337, 0.005313083995133638, -0.8896504640579224, -0.6277655363082886, -0.32228603959083557, -0.564374566078186, -0.8761557340621948, -0.3005536198616028, 0.36374470591545105, 0.2783905267715454, -0.3662981390953064, 0.13933448493480682, -0.6298345923423767, 0.15842010080814362, 0.7143833041191101, 0.5055572986602783, -0.11583919078111649, -0.030116450041532516, -0.23107820749282837, -0.18953336775302887, -0.4932064414024353, -0.28223761916160583, 0.7794890999794006, 0.21111765503883362, 0.6558240652084351, -0.036192815750837326, 1.3130905628204346, 0.5283607840538025, 0.2834070026874542, -0.6383763551712036, 0.3773346245288849, -0.4268786311149597, -0.31997954845428467, -0.306247353553772, -0.6861265301704407, -0.9553982019424438, 0.20168627798557281, -0.20118318498134613, -0.7858791947364807, 0.41416603326797485, 0.05802512168884277, -0.1139291375875473, 0.35871315002441406, -0.41557130217552185, 0.5464321970939636, 0.01906006969511509, -0.32762280106544495, -0.23256617784500122, -0.658343493938446, 0.3314981460571289, 0.014232923276722431, 0.27338096499443054, 0.23394018411636353, -0.196846604347229, 0.9321919679641724, -0.481658935546875, 0.8664467930793762, -0.04012371972203255, 0.24922607839107513, 0.06330451369285583, 0.020259549841284752, 0.2185545265674591, -0.07490530610084534, -0.08479031175374985, 0.10337086766958237, 0.07928045839071274, -0.605719804763794, -0.7322571277618408, 0.6945382356643677, -0.5250542163848877, -0.42235082387924194, -0.4613635838031769, -0.5022922158241272, -0.03579826280474663, 0.29499515891075134, 0.07070019841194153, 0.5302408933639526, 0.027626732364296913, 0.511298656463623, 0.7447640895843506, -0.11981158703565598, 0.4655192494392395, -0.10778909176588058, 0.02153629995882511, -0.6012100577354431, 1.0690767765045166, 0.17515042424201965, 0.27455490827560425, 0.7760035395622253, 0.36966902017593384, -0.27745330333709717, -0.8207569122314453, 0.020071743056178093, 0.15184138715267181, -0.9917827844619751, -0.18792659044265747, -0.19978336989879608, -0.4427265524864197, -0.12982460856437683, -0.35433855652809143, -0.029146436601877213, -0.48812660574913025, 0.04925836622714996, -0.1834343671798706, -0.08993996679782867, 1.1419070959091187, -0.19205446541309357, 0.09382111579179764, -0.38100889325141907, 0.45608529448509216, 0.3912191390991211, 0.7825460433959961, -0.12161681801080704, -0.19786705076694489, -0.4523800313472748, -0.10145801305770874, -0.21497130393981934, -0.9137129187583923, -0.0008296948508359492, 0.03915920853614807, 0.44987139105796814, 0.2622835636138916, 0.19562958180904388, 0.46800753474235535, -0.4505438208580017, 0.5883090496063232, 0.47442537546157837, -0.7993252873420715, 0.15885749459266663, -0.25178635120391846, 0.2888505458831787, 0.4383927881717682, 0.42434316873550415, -0.45038101077079773, -0.24535122513771057, -0.7725658416748047, -0.8644311428070068, 0.5329641699790955, 0.42381152510643005, 0.1915951669216156, -0.11808499693870544, 0.1471298187971115, 0.2108471691608429, 0.2701024115085602, -1.0322864055633545, -0.3207583725452423, -0.40904584527015686, -0.38146066665649414, 0.2856953740119934, -0.3164026439189911, 0.21184244751930237, -0.11993370205163956, 0.5209546685218811, 0.21148210763931274, 0.5469101667404175, 0.04556867107748985, 0.21828679740428925, 0.24699684977531433, 0.318678081035614, -0.1379012167453766, 0.43152064085006714, -0.4136819541454315, 0.46996602416038513, -0.0981549620628357, -0.22477222979068756, -0.03521089255809784, 0.23929105699062347, -0.32234013080596924, 0.13593463599681854, 0.29750877618789673, 0.5203914642333984, 0.6784070134162903, -0.20192576944828033, 0.11653425544500351, 0.3963004946708679, -0.30571186542510986, -0.3242887556552887, -0.15065161883831024, 0.391844242811203, 0.06530527025461197, 0.29343798756599426, -0.09277677536010742, 0.4724259078502655, -0.989763617515564, 0.3230823874473572, 0.431620329618454, -0.5248382091522217, -0.10200759768486023, 0.6984765529632568, 0.12209633737802505, -0.22628313302993774, 0.7233074903488159, -0.20842260122299194, -0.43017974495887756, 0.6550402045249939, 0.4426910877227783, 0.4080793559551239, -0.10991642624139786, 0.2125273197889328, 0.5302861928939819, 0.03710680082440376, 0.24009288847446442, 0.2580101490020752, -0.4399469792842865, -0.49283701181411743, -0.05224087834358215, -0.6518012285232544, -0.4406285285949707, -0.12965044379234314, -0.7169632315635681, 0.098922498524189, -0.7704220414161682, -0.030992139130830765, 0.167483851313591, 0.263897180557251, -0.5560349225997925, 0.4442279636859894, 0.5849942564964294, 0.44086581468582153, -0.41138342022895813, 0.9534086585044861, 0.3971843421459198, -0.7559359073638916, -0.352763831615448, -0.37817421555519104, -0.6407758593559265, -0.4240039885044098, 0.4868347942829132, 0.37309730052948, 0.17794057726860046, -0.35086268186569214, -0.7886196970939636, -0.6932644248008728, 1.0023689270019531, 0.08518849313259125, -0.6617726683616638, -0.18928073346614838, 0.14851590991020203, 0.4002857208251953, -0.464568167924881, 0.029431665316224098, 0.26925128698349, 0.48221248388290405, 0.1751849502325058, -0.15358726680278778, 0.3870353102684021, -0.3606927990913391, 0.6536340713500977, 0.3804394006729126, -0.2778748571872711, 0.9653382897377014, 0.19357673823833466, -0.605552613735199, -0.04645645618438721, 0.8263883590698242, 0.3169189393520355, 0.08061942458152771, 0.36038947105407715, 0.27397969365119934, 0.5888195037841797, -0.3466380536556244, 1.2463926076889038, 0.03840769827365875, -0.00731153367087245, 1.147260069847107, 0.21679234504699707, 1.0589567422866821, 0.48310503363609314, -0.3121533989906311, 1.246527075767517, 0.7192577719688416, -0.19703546166419983, 0.7128674387931824, 0.7037121057510376, -0.18151339888572693, -0.3719513714313507, 0.11623373627662659, -0.24960225820541382, -0.10266441851854324, 0.45796048641204834, -0.3551402986049652, -0.00912221148610115, -0.33034971356391907, -0.41194233298301697, 0.372146338224411, -0.4210496246814728, 0.7845089435577393, 0.11929664760828018, -0.35670751333236694, 0.585667073726654, 0.18600516021251678, 0.8359835147857666, -0.8796482682228088, -0.6004446744918823, -0.0825173631310463, 0.005140257999300957, -0.3753608763217926, -0.7082560658454895, 0.4435318410396576, -0.6712576150894165, -0.3699001669883728, -0.1876782327890396, 0.6330276131629944, -0.6585032939910889, -0.6220265626907349, 0.28561702370643616, -0.3850477933883667, 0.2513805627822876, 0.009190071374177933, -0.4232838749885559, 0.25374943017959595, -0.28957265615463257, 0.23609784245491028, 0.38350117206573486, 0.37584826350212097, -0.10398910194635391, 0.2640793025493622, 0.32275527715682983, 0.050421569496393204, 0.09435611218214035, 0.003923033829778433, 0.9468638896942139, -0.8710479736328125, -0.6036616563796997, -0.5183963775634766, 0.7451272010803223, -0.2674406170845032, 0.18989260494709015, 0.2229132503271103, 0.4165427088737488, 0.9381541013717651, -0.03259856253862381, 0.8472431898117065, -0.12570682168006897, -0.053444087505340576, -0.5831374526023865, 0.37749749422073364, -0.15765917301177979, 0.23590384423732758, 0.016411056742072105, -0.6734604239463806, 0.08681659400463104, 0.24603892862796783, -0.06333471834659576, 0.2653234601020813, 0.9505868554115295, 0.2305523008108139, -0.10450530797243118, -0.4144510328769684, 0.6490587592124939, 0.21670623123645782, 0.09068673104047775, 0.79345703125, 0.43913787603378296, -0.4917730689048767, 0.6251031160354614, -0.42660465836524963, -0.2686866223812103, 0.04365190118551254, -0.7328856587409973, -0.9440405368804932, -0.8612725138664246, -0.4103144407272339, -0.2959693968296051, 0.13897472620010376, 0.2988601624965668, 0.7997086644172668, -0.7254858613014221, -0.12813813984394073, -0.02438199147582054, 0.0971694141626358, -0.3461046814918518, -0.21657896041870117, 0.33813920617103577, -0.33794456720352173, -0.5937971472740173, -0.008020331151783466, 0.12901051342487335, 0.07654019445180893, -0.4072750210762024, -0.10022745281457901, -0.012029542587697506, 0.27170220017433167, 0.509385347366333, 0.1030280664563179, -0.6353322267532349, -0.33425265550613403, -0.5670632123947144, -0.02978447452187538, 0.2423482984304428, 0.773219645023346, -0.9905267953872681, 0.3957759737968445, 0.4338061213493347, 0.8044055104255676, 1.0153756141662598, -0.010542706586420536, 0.6304314136505127, -0.9438647031784058, -0.07686488330364227, 0.3674141764640808, 0.4394456148147583, 0.6303261518478394, -0.38438671827316284, 0.2546127438545227, 0.028849897906184196, -0.09723880887031555, -0.3647787272930145, 0.5826139450073242, -1.1642158031463623, -0.5903328657150269, 0.8331109881401062, -0.1317947804927826, -0.29227280616760254, -0.09342093765735626, -0.006923903711140156, 0.22325217723846436, -0.41338372230529785, 0.7268978953361511, 0.7407011985778809, 0.10707729309797287, -0.21162964403629303, -0.1753680557012558, 0.32083091139793396, 0.09935834258794785, -0.5791429877281189, -0.2693236768245697, 0.4142597019672394, 0.3398074209690094, 0.188520610332489, 0.8309800028800964, -0.40396571159362793, 0.1911713033914566, 0.47067493200302124, 0.05085147172212601, -0.1766798198223114, -0.16716454923152924, -0.38651368021965027, 0.34860652685165405, 0.0024911356158554554, -0.48638927936553955 ]
http://arxiv.org/abs/2406.10278v1
http://arxiv.org/pdf/2406.10278v1
Prompt-Based Length Controlled Generation with Multiple Control Types
2024-06-12T01:49:54
2024-06-12T01:49:54
Renlong Jie, Xiaojun Meng, Lifeng Shang, Xin Jiang, Qun Liu
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have attracted great attention given their strong performance on a wide range of NLP tasks. In practice, users often expect generated texts to fall within a specific length range, making length controlled generation an important topic, especially for GPT-style models. Existing length control methods mostly focus on a simple control type of "equal to" a target length. Different from them, we propose a prompt-based method to achieve length controlled generation under different control types with high accuracy. In particular, we adopt reinforcement learning (RL) and sample filtering with the reward signal given by rule-based reward models, which enhances the length control ability of models by rewarding outputs that follow certain control instructions. In addition, we introduce a standard prompt extractor to parse arbitrary users' input into standard control instructions. Experiments show that our method significantly improves the accuracy of prompt-based length control on popular summarization datasets like CNNDM and NYT under multiple control types. Moreover, both the standard prompt extractor and RL-tuned model show strong generalization to unseen control prompt templates.
[ -0.4005422592163086, -0.7732282280921936, 0.6879444122314453, 0.5330239534378052, -0.4799208343029022, 0.12475045770406723, -0.386581689119339, -0.07520837336778641, 0.34809309244155884, 0.4602689743041992, -0.6813201308250427, -0.4093170762062073, -0.697681725025177, 0.5599316954612732, -0.18806636333465576, 1.2601665258407593, -0.23652024567127228, -0.1919565498828888, -0.03035993129014969, 0.172319695353508, -0.6062654852867126, -0.2956993579864502, -0.8581333756446838, -0.2620546519756317, 1.24984610080719, 0.3697221577167511, 0.6448889970779419, 0.6440887451171875, 0.27134260535240173, 0.18211929500102997, -0.26785483956336975, 0.7294206619262695, -0.27821698784828186, 0.3671267628669739, 0.044989511370658875, -0.3660595118999481, -0.14929607510566711, -0.07329481840133667, 0.6982764601707458, 0.175882488489151, -0.268560528755188, -0.17048652470111847, 0.05276194214820862, 0.5072137713432312, -0.5068716406822205, -0.07955024391412735, -0.2725346088409424, 0.19407275319099426, 0.055400025099515915, -0.7042694687843323, -0.5241597890853882, -0.6824812889099121, -0.20742207765579224, -0.3357645869255066, -0.03991706669330597, 0.2405344694852829, 0.6540712118148804, 0.10422471910715103, -0.6084621548652649, -0.47333797812461853, -0.6534557342529297, 0.8092230558395386, -0.9534341096878052, 0.14660057425498962, 0.2177276313304901, 0.43669137358665466, -0.26192420721054077, -0.49133986234664917, -0.4559256434440613, -0.6322615146636963, -0.23636922240257263, 0.23410460352897644, 0.14970560371875763, 0.11128286272287369, 0.6217432618141174, 0.08308034390211105, -0.5608737468719482, 0.5130960941314697, -0.46406593918800354, -0.17913366854190826, 0.6570377945899963, 0.4073718786239624, 0.22352154552936554, -0.4042336344718933, -0.29290637373924255, -0.012978343293070793, -0.8940609693527222, 0.295144647359848, 0.6560295820236206, 0.36428508162498474, -0.1696738749742508, 0.9148439168930054, -0.3111877143383026, 0.9056136012077332, 0.13059937953948975, -0.2953853905200958, -0.1750088632106781, -0.253887802362442, 0.07039117068052292, -0.0818561464548111, 0.8150254487991333, 0.4030609130859375, 0.30136239528656006, -0.031382158398628235, -0.5683147311210632, -0.19351647794246674, -0.04721943289041519, -0.7613147497177124, 0.12054841220378876, 0.18651291728019714, -0.4286409914493561, -0.3668760359287262, 0.026734480634331703, -0.6558505892753601, -0.40692538022994995, -0.4210171103477478, 0.12273428589105606, -0.41408008337020874, 0.17798767983913422, 0.10965646058320999, -0.16450844705104828, 0.22506952285766602, 0.3139040768146515, -1.0400358438491821, 0.19763515889644623, 0.2078881859779358, 0.9944437146186829, -0.7170508503913879, -0.19174069166183472, -1.1621887683868408, -0.11542181670665741, -0.4336816668510437, 0.47341325879096985, -0.4266353249549866, -0.5455736517906189, 0.06323282420635223, -0.2471347451210022, 0.18711040914058685, -0.09505130350589752, 0.2565162777900696, -0.7204105257987976, 0.6607540249824524, -0.07216770946979523, -0.6690395474433899, 0.12748995423316956, 0.1666245013475418, -0.49719542264938354, 0.6551114916801453, 0.021046694368124008, -0.5704167485237122, 0.40469998121261597, -0.610041618347168, -0.5429441928863525, 0.09016876667737961, -0.26440662145614624, -0.3535904586315155, 0.1258542686700821, 0.5257548689842224, 0.5011284947395325, -0.16976416110992432, 0.6684683561325073, 0.06945023685693741, -0.2472199946641922, 0.30654507875442505, -0.7821379899978638, 0.35496658086776733, 0.2480517476797104, -0.1136200800538063, 0.6641539931297302, -0.8060497045516968, 0.026119466871023178, 0.00969688780605793, -0.8150464296340942, 0.06870255619287491, -0.04264501482248306, -0.012601856142282486, 0.29175224900245667, 0.3297315537929535, -0.3964129686355591, 0.35302993655204773, -0.1795639842748642, 0.343555748462677, 0.7392434477806091, 0.4878000319004059, 0.15986201167106628, -0.600346028804779, 0.9061675667762756, -0.14066632091999054, -0.038924068212509155, -0.487386554479599, -0.11825063824653625, -0.39909085631370544, -0.3839268684387207, 0.2911362946033478, 0.6167719960212708, -1.0844630002975464, 0.7460218667984009, -0.05699588730931282, -0.38586533069610596, -0.09727534651756287, -0.031263187527656555, 0.3448769450187683, 0.5222803950309753, 0.6435403227806091, -0.00318097579292953, -0.10253366827964783, -0.6297709345817566, -0.20224158465862274, 0.18144336342811584, -0.5356286764144897, 0.43282806873321533, 0.22585026919841766, 0.31584876775741577, 1.1161748170852661, -0.6710070967674255, 0.18216677010059357, -0.5647065043449402, 0.19127336144447327, 0.3897019326686859, 0.4494864344596863, 0.1776459813117981, -0.6712237000465393, -0.31505128741264343, -0.4278734028339386, -0.3813188374042511, -0.3054391145706177, -0.49375826120376587, 0.2816544771194458, 0.0681060180068016, 0.430570125579834, -0.5005728006362915, 0.3196890652179718, 0.35713180899620056, -0.565900981426239, 0.9040949940681458, -0.4937678575515747, 0.06331789493560791, -0.9779242277145386, -0.11822877824306488, 0.15630069375038147, -0.5316368937492371, -0.38940924406051636, -0.33726903796195984, 0.12181422859430313, -0.03772074356675148, -0.565122663974762, 0.5774794816970825, -0.1939886212348938, -0.004041004925966263, -0.4842626750469208, -0.03369613736867905, 0.1718495637178421, 0.6381573677062988, 0.25210121273994446, 0.7333224415779114, 0.20772571861743927, -0.9528666138648987, 0.690277636051178, 0.18843117356300354, -0.3359188437461853, 0.36402228474617004, -0.8947232961654663, -0.106316477060318, -0.27747461199760437, 0.45569315552711487, -0.6710578799247742, -0.23799632489681244, 0.19846341013908386, -0.42708373069763184, 0.2503260672092438, 0.16176585853099823, -0.5018446445465088, -0.3067544996738434, -0.20552106201648712, -0.08068603277206421, 0.6124368906021118, -0.6326333284378052, 0.4282861053943634, -0.4461292326450348, -0.5567567348480225, -0.49921610951423645, -0.3662400245666504, -0.09694232046604156, -0.5411940217018127, -0.1062714084982872, 0.22944407165050507, -0.3836436867713928, 0.09835433959960938, -0.36509057879447937, 0.13612082600593567, 0.2905471920967102, -0.030079009011387825, 0.09673450142145157, 0.28892508149147034, 0.03871205076575279, 0.21931231021881104, 0.5150739550590515, 0.0278884619474411, 0.023472381755709648, -0.07306616753339767, 0.7155842185020447, 0.4493533670902252, -0.24744664132595062, -0.47932377457618713, 0.5058044791221619, 0.27047574520111084, -0.4392435550689697, 0.47711560130119324, 0.3783882260322571, 0.0055875107645988464, -0.4686371982097626, -0.2900346517562866, -0.5921587347984314, -0.46585673093795776, 0.3393976092338562, -0.3481067419052124, -1.1561959981918335, 0.4320920407772064, 0.048919472843408585, 0.2761397957801819, 0.24802349507808685, 0.4264060854911804, 0.0482252761721611, 1.0321435928344727, 0.5163864493370056, 0.034407831728458405, 0.6020150184631348, 0.22677715122699738, -0.2884504199028015, -0.5163389444351196, -0.13548699021339417, -0.43458494544029236, -0.3762650191783905, -0.36388570070266724, 0.022434176877141, 0.24439670145511627, 0.2466057389974594, -0.4105665981769562, 0.11078300327062607, -0.35693904757499695, 0.5054976344108582, 0.6828261613845825, 0.2095315009355545, 0.2316095381975174, -0.1207410991191864, -0.16698519885540009, -0.019214317202568054, -0.742970883846283, -0.28380274772644043, 0.7812285423278809, 0.39767536520957947, 0.9465672373771667, 0.04733232781291008, 0.7308100461959839, 0.47080138325691223, -0.05964827537536621, -0.6943541765213013, 0.37574511766433716, -0.014060329645872116, -0.005260082893073559, -0.6887832283973694, -0.7665170431137085, -0.700149416923523, -0.002342686988413334, -0.15229496359825134, -0.4740206301212311, 0.10456860810518265, 0.12208042293787003, -0.6559900045394897, 0.1858387142419815, -0.22783948481082916, 0.36400556564331055, -0.4279364347457886, -0.11595356464385986, 0.08858165144920349, -0.5979138016700745, 0.37906739115715027, 0.05678665265440941, -0.24141274392604828, -0.1733577847480774, -0.13000856339931488, 0.7736673951148987, -0.3401046693325043, 0.7275722026824951, -0.21518196165561676, -0.24229170382022858, 0.20763961970806122, 0.05566952005028725, 0.9065268635749817, 0.37392479181289673, 0.22349104285240173, -0.32423102855682373, -0.40744879841804504, -0.2883422076702118, -0.5803640484809875, 0.43822622299194336, -0.5125975012779236, -0.47137629985809326, -0.1210939884185791, -0.603653073310852, -0.15858370065689087, 0.16989649832248688, 0.5953981876373291, 0.6095236539840698, 0.1225687712430954, 0.03144500404596329, 0.6664555668830872, -0.6295621991157532, 0.817152738571167, 0.5182440280914307, -0.46436986327171326, -0.6527324914932251, 0.7679911851882935, -0.11302872002124786, 0.3909689784049988, 0.5259717106819153, 0.3690202534198761, -0.6072395443916321, -0.42478737235069275, -0.5079838633537292, 0.08032022416591644, -0.45625707507133484, -0.3925786018371582, -0.4786478281021118, -0.3171432614326477, -0.2919922471046448, -0.30695840716362, 0.003735321806743741, -0.237350732088089, -0.5131897926330566, -0.3942156434059143, 0.6388548016548157, 0.6653122305870056, -0.038146570324897766, 0.6453760862350464, -0.7631469368934631, 0.49155446887016296, 0.4786909818649292, 0.36169448494911194, -0.3107926547527313, -0.5990447998046875, 0.06811341643333435, -0.35765984654426575, -0.10357905924320221, -0.9569097757339478, 0.673298180103302, -0.09526141732931137, 0.17980405688285828, 0.2835545539855957, 0.055411964654922485, 0.10652980953454971, -0.7039878368377686, 0.9061471819877625, 0.5256749391555786, -0.7268293499946594, 0.5604523420333862, -0.37529227137565613, 0.6287169456481934, 0.08837081491947174, 0.3619554042816162, -0.8414592146873474, -0.4253064692020416, -0.3618282377719879, -0.7502040266990662, 0.5909786224365234, -0.0020925719290971756, 0.14401237666606903, -0.15521663427352905, 0.2798277735710144, 0.271473228931427, 0.208031564950943, -0.7554494738578796, -0.12107294797897339, -0.23549990355968475, -0.21607793867588043, -0.2274676412343979, -0.5255594849586487, -0.0830928385257721, 0.4978890120983124, 0.6273111701011658, -0.2442515790462494, -0.07045901566743851, 0.23153558373451233, 0.08004646748304367, 0.04661386460065842, 0.5982613563537598, 0.9681587219238281, 0.7619966268539429, -0.1212388426065445, 0.07152020186185837, 0.05920781195163727, -0.07060808688402176, 0.3394765853881836, 0.14750416576862335, -0.45537301898002625, 0.08377271145582199, 0.2559033930301666, 1.1020451784133911, -0.2278953194618225, -0.65062016248703, 0.3820628821849823, -0.06025936082005501, -0.2028009444475174, -0.08482286334037781, 0.3167818784713745, -0.09618545323610306, 0.10811039060354233, 0.22230902314186096, -0.1695842146873474, -0.12274011224508286, 0.282920241355896, 0.2666705250740051, 0.11723553389310837, -0.4185297191143036, 0.06653368473052979, 0.6874374747276306, 0.23123255372047424, -0.26231303811073303, 0.69150710105896, -0.22527968883514404, -0.1276526302099228, 0.7049899697303772, 0.6200101971626282, 0.6407995223999023, -0.1393030434846878, 0.4811910092830658, 0.36497247219085693, 0.2127067893743515, -0.15352244675159454, 0.41470158100128174, 0.0027606706134974957, -0.6818833351135254, -0.8769216537475586, -0.6245241761207581, -0.35711297392845154, 0.3418770432472229, -0.6197536587715149, 0.3191324472427368, -0.5576809048652649, 0.031064650043845177, -0.27403777837753296, -0.040964581072330475, -0.32434624433517456, 0.1699349582195282, 0.06474240124225616, 1.155814528465271, -0.7962212562561035, 0.6694605946540833, 0.08356309682130814, -0.436201810836792, -0.9363757371902466, -0.27753007411956787, -0.20348699390888214, -0.3572906255722046, 0.6302136778831482, 0.17764359712600708, 0.006518120411783457, 0.10704559087753296, -0.5745159983634949, -0.6540718078613281, 1.059429407119751, -0.06531159579753876, -0.8091332912445068, -0.20683623850345612, -0.2109076827764511, 0.30297356843948364, -0.44382330775260925, 0.17299392819404602, 0.4740873873233795, 0.5162702202796936, 0.14007380604743958, -0.6796766519546509, 0.11911733448505402, 0.17224258184432983, 0.34685587882995605, 0.14366751909255981, -0.4252362847328186, 0.7193326950073242, -0.1877824366092682, -0.04198748245835304, 0.05733996629714966, 1.007916808128357, 0.7822588086128235, 0.03893105685710907, 0.47571268677711487, 0.0671946331858635, 0.6184543371200562, 0.1742229014635086, 1.014554500579834, -0.2033609300851822, 0.0026070561725646257, 1.22593355178833, -0.2595667541027069, 0.42582711577415466, 0.2735994756221771, 0.0166512131690979, 0.36352869868278503, 0.7652443647384644, -0.11654358357191086, 0.484243243932724, 0.5176172256469727, -0.1611631065607071, -0.1502809375524521, -0.13995389640331268, -0.1469653844833374, 0.09286607801914215, 0.2508724629878998, -0.4709727466106415, -0.07772528380155563, 0.2492360919713974, 0.22085997462272644, 0.2131575047969818, -0.5266351699829102, 0.855617105960846, 0.014162841252982616, -0.9257784485816956, 0.40402066707611084, 0.3474295139312744, 1.0347474813461304, -0.9999803304672241, 0.022111618891358376, -0.43401914834976196, -0.42230024933815, 0.11833116412162781, -0.6774387955665588, -0.1740928292274475, 0.16661113500595093, -0.22604937851428986, -0.3285941183567047, 0.6321727633476257, -0.7044776082038879, -0.15828382968902588, -0.11280697584152222, 0.4371063709259033, 0.017460230737924576, 0.1403995305299759, -0.35403379797935486, -0.3432389795780182, 0.18679927289485931, -0.6304122805595398, 0.068849116563797, 0.25034838914871216, -0.24380499124526978, 0.5655516982078552, 0.70188969373703, 0.5687688589096069, 0.24353815615177155, -0.0654788464307785, 0.740615963935852, -0.777059018611908, -0.8318901658058167, -0.9258347749710083, 0.3447592556476593, -0.1600501537322998, -0.4508800506591797, 0.47775956988334656, 0.44410303235054016, 0.3761332035064697, -0.3348613381385803, 0.8496463298797607, -0.011130292899906635, 0.761021077632904, -0.9479811787605286, 0.3955569863319397, -0.2880809009075165, 0.05998982861638069, 0.2718476355075836, -0.954593300819397, -0.3346193730831146, 0.04145133122801781, -0.22683535516262054, 0.15078935027122498, 0.554404079914093, 0.6374379396438599, 0.23186331987380981, -0.2915251553058624, 0.44217777252197266, -0.17269012331962585, 0.6730877757072449, 0.5093744397163391, 0.9201472997665405, 0.43259385228157043, 0.43332087993621826, -0.02791324071586132, -0.19202780723571777, -0.06464411318302155, -1.0543862581253052, -0.7917599678039551, -0.2454390525817871, -0.0744372233748436, -0.24652957916259766, -0.10063236951828003, 0.9934206604957581, 0.39763757586479187, -0.7089897394180298, -0.054464567452669144, -0.1714397370815277, 0.21915683150291443, -0.36698371171951294, -0.23938719928264618, 0.5455881357192993, -0.6067102551460266, -0.6500980257987976, 0.7432118654251099, 0.2682333290576935, 0.3381141722202301, -0.3218766152858734, -0.30007854104042053, 0.08199356496334076, 0.21219660341739655, 0.44563519954681396, 0.4291427731513977, -0.7119671702384949, -0.24775709211826324, 0.005718097556382418, -0.26318874955177307, -0.11616936326026917, 0.9835376739501953, -0.773155689239502, 0.10924263298511505, 0.7140670418739319, 0.48782601952552795, 0.19950562715530396, 0.2164219319820404, 0.6766601204872131, -1.171121597290039, -0.17951151728630066, 0.3224914073944092, 0.345430463552475, 0.2302459180355072, -0.5177497863769531, 0.18419040739536285, -0.07012300193309784, -0.6197250485420227, -0.4086288511753082, 0.5302313566207886, -0.8057005405426025, -0.46412786841392517, 1.2631089687347412, -0.19873563945293427, 0.10853958129882812, 0.35380062460899353, -0.44202813506126404, 0.35293540358543396, -0.6472976207733154, 0.6240838170051575, 0.43589282035827637, -0.19756199419498444, -0.4205204248428345, -0.28058427572250366, 0.7716262340545654, 0.25982198119163513, -0.9113177061080933, 0.09274516254663467, 0.8028539419174194, 0.11975280940532684, 0.0717163234949112, 0.5710203051567078, 0.06886196881532669, 0.20260657370090485, -0.5774766802787781, 0.06477700173854828, -0.41283369064331055, -0.6687716841697693, -0.5577744245529175, 0.2845822274684906, -0.11019578576087952, -0.014078956097364426 ]
http://arxiv.org/abs/2406.07801v1
http://arxiv.org/pdf/2406.07801v1
PolySpeech: Exploring Unified Multitask Speech Models for Competitiveness with Single-task Models
2024-06-12T01:35:46
2024-06-12T01:35:46
Runyan Yang, Huibao Yang, Xiqing Zhang, Tiantian Ye, Ying Liu, Yingying Gao, Shilei Zhang, Chao Deng, Junlan Feng
cs.CL
cs.CL, cs.SD, eess.AS
Recently, there have been attempts to integrate various speech processing tasks into a unified model. However, few previous works directly demonstrated that joint optimization of diverse tasks in multitask speech models has positive influence on the performance of individual tasks. In this paper we present a multitask speech model -- PolySpeech, which supports speech recognition, speech synthesis, and two speech classification tasks. PolySpeech takes multi-modal language model as its core structure and uses semantic representations as speech inputs. We introduce semantic speech embedding tokenization and speech reconstruction methods to PolySpeech, enabling efficient generation of high-quality speech for any given speaker. PolySpeech shows competitiveness across various tasks compared to single-task models. In our experiments, multitask optimization achieves performance comparable to single-task optimization and is especially beneficial for specific tasks.
[ -0.4029386639595032, -0.531765341758728, 0.40696123242378235, 0.28303074836730957, -0.3856009542942047, 0.04004029929637909, -0.42512184381484985, -0.4264146685600281, 0.6288454532623291, 0.43702948093414307, -0.7614772319793701, -0.3365459144115448, -0.4273751676082611, 0.06787846982479095, -0.4034044146537781, 0.7606504559516907, 0.4527010917663574, 0.23005977272987366, -0.5229136943817139, -0.1388539969921112, -0.4911211431026459, -0.8934636116027832, -0.4886297881603241, -0.5576421618461609, 0.42649146914482117, 0.4458868205547333, 0.33870765566825867, 0.33105117082595825, 0.35951289534568787, 0.36026909947395325, -0.024821627885103226, 0.009942524135112762, -0.40293803811073303, 0.5969434976577759, -0.1882646530866623, -0.10078131407499313, -0.5483114123344421, -0.09957955032587051, 0.7855059504508972, 0.7853332161903381, -0.47865089774131775, 0.3868601620197296, 0.1100025624036789, 0.28471145033836365, -0.5901488661766052, 0.30242058634757996, -0.7270815372467041, -0.13170020282268524, -0.5929937362670898, 0.16687332093715668, -0.2821374237537384, 0.06942853331565857, 0.2876291275024414, -0.4728293716907501, 0.07032711058855057, -0.27001550793647766, 0.5445058941841125, 0.3811836540699005, -0.2199295312166214, 0.03142356127500534, -0.7309609055519104, 0.8955831527709961, -0.6016234159469604, 0.5590068101882935, 0.10262347757816315, 0.23389649391174316, 0.06946399062871933, -0.8791227340698242, -0.39887499809265137, -0.21600329875946045, 0.3596833348274231, 0.3672741651535034, -0.24248017370700836, 0.3335658609867096, -0.10560797899961472, 0.012197980657219887, -0.3384818732738495, 0.036774277687072754, -0.15547938644886017, -0.18914715945720673, 0.49923965334892273, 0.08589570224285126, 0.4087340235710144, -0.10423146188259125, -0.3407383859157562, -0.16465221345424652, -0.03494430333375931, 0.3293701410293579, 0.24114976823329926, 0.5714171528816223, 0.16013877093791962, 0.583583652973175, -0.2822611629962921, 0.7441413402557373, -0.5090863108634949, -0.46014469861984253, 0.24897371232509613, -0.41285035014152527, 0.18280461430549622, 0.2976778447628021, 0.3289829194545746, -0.09673964232206345, 0.02888384461402893, -0.38778623938560486, 0.025090457871556282, 0.3425379991531372, 0.4240912199020386, -0.36861416697502136, 0.013300037942826748, 0.20848174393177032, -0.37842682003974915, -0.016212638467550278, 0.25985637307167053, -0.5737865567207336, 0.10417293757200241, -0.6437077522277832, 0.5214685797691345, -0.17094379663467407, -0.5728645920753479, 0.3993688225746155, -0.4456078112125397, -0.12152822315692902, 0.16489554941654205, -0.700733482837677, 0.6670999526977539, 0.9205897450447083, 0.8017860054969788, -0.37853315472602844, -0.8344404697418213, -0.502798318862915, 0.3144451975822449, -0.19070401787757874, 0.7165626883506775, -0.49168911576271057, -0.3671685755252838, -0.48488131165504456, -0.2827322483062744, -0.338346391916275, -0.3852072060108185, 0.5058566927909851, 0.07968557626008987, -0.2393561452627182, -0.20852036774158478, -0.34687915444374084, -0.19216537475585938, -0.18677698075771332, -0.7727794647216797, 1.0075160264968872, -0.34464168548583984, -0.7240268588066101, 0.2757623791694641, -0.8964704871177673, -0.46555429697036743, 0.10612227767705917, 0.013181340880692005, -0.3013533055782318, 0.4316808879375458, -0.032648827880620956, 0.42011433839797974, -0.41549745202064514, -0.08748938888311386, -0.19487760961055756, -0.07479172199964523, 0.04268942400813103, -0.08603761345148087, 0.5821883678436279, 0.1939089596271515, -0.40785765647888184, 0.14310230314731598, -0.6265104413032532, 0.060704346746206284, 0.10937558114528656, -0.3210093080997467, -0.21673458814620972, 0.36180558800697327, 0.1443059742450714, 0.18406428396701813, 0.23687930405139923, -0.9564245939254761, -0.18876183032989502, -0.3560350835323334, 0.2030916064977646, 0.5116108059883118, -0.13834330439567566, 0.1326804757118225, -0.15494221448898315, 0.4615098237991333, -0.182610884308815, 0.10697288811206818, 0.18214793503284454, -0.7683795690536499, -0.685152530670166, -0.5920009613037109, 0.3787289559841156, 0.505012035369873, -0.31135353446006775, 0.2422473430633545, -0.2577408254146576, -0.6337529420852661, -0.5816958546638489, -0.1085442453622818, 0.20766043663024902, 0.3635352551937103, 0.1634039431810379, -0.472137987613678, -0.5547778606414795, -0.9255324602127075, -0.3425215482711792, 0.1935565322637558, 0.12439309060573578, 0.0786772072315216, 0.353180468082428, -0.04537312686443329, 0.8132649660110474, -0.3690515458583832, -0.2782670557498932, -0.5028455853462219, 0.3199065029621124, 0.09664100408554077, 0.24460989236831665, 0.4452389180660248, -0.8916006088256836, -0.5028880834579468, -0.12405849993228912, -0.2316189706325531, -0.13291902840137482, 0.23587843775749207, 0.11693856865167618, -0.13858073949813843, 0.31002193689346313, -0.37507760524749756, 0.2554621398448944, 0.7632383704185486, -0.056049637496471405, 0.804271399974823, -0.08293912559747696, 0.18231573700904846, -1.0801277160644531, 0.14311479032039642, -0.28951767086982727, -0.36373743414878845, -0.8438770771026611, -0.03298842906951904, -0.4712929427623749, -0.8397971987724304, -0.4943242073059082, 0.20303912460803986, -0.17877879738807678, -0.1975708156824112, -0.37972283363342285, 0.27580276131629944, -0.1004805788397789, 0.3550492227077484, 0.2280338555574417, 0.7675704956054688, 0.9614549875259399, -0.484508752822876, 0.6670627593994141, 0.03876809403300285, -0.3960544764995575, 0.35134562849998474, -0.7401576042175293, 0.22682446241378784, -0.07662298530340195, 0.06637153774499893, -0.9815755486488342, -0.18672002851963043, -0.5478713512420654, -0.3914395868778229, -0.11230918020009995, 0.01898815482854843, -0.5497620105743408, -0.31637999415397644, -0.13268150389194489, 0.28190770745277405, 0.19278056919574738, -0.4223276376724243, 0.7327567338943481, 0.781699538230896, -0.6684693694114685, -0.3061579763889313, -0.5138055682182312, 0.0490950345993042, -0.052237629890441895, -0.8627941012382507, 0.6191297173500061, 0.16064639389514923, -0.004126355051994324, -0.043002430349588394, -0.25156864523887634, -0.13569806516170502, 0.01614874228835106, 0.2571016252040863, -0.009692390449345112, -0.11989829689264297, 0.07741010189056396, -0.181435689330101, -0.28654956817626953, -0.33277955651283264, -0.24517126381397247, 0.76174396276474, -0.1829432100057602, -0.4233330488204956, -0.7118231058120728, 0.8438242673873901, 0.7587733268737793, -0.7206531167030334, 0.7718427181243896, 0.6002589464187622, -0.2478831559419632, -0.16143925487995148, -0.6765872836112976, -0.2832026779651642, -0.4030551016330719, 0.5302771329879761, -0.8389597535133362, -0.7804926633834839, 0.21810099482536316, -0.3253565728664398, 0.045914746820926666, 0.3115403652191162, 0.6999149322509766, -0.013886909000575542, 1.3687297105789185, 0.5715727210044861, 0.01836298778653145, 0.5844214558601379, 0.07910363376140594, 0.14836251735687256, -0.5012732744216919, -0.24818378686904907, -0.8702774047851562, -0.18770532310009003, -0.32305246591567993, -0.3963402211666107, 0.7668474912643433, -0.1368049830198288, -0.05073661357164383, 0.5982590317726135, -0.5165841579437256, 0.45530933141708374, 0.9237921833992004, 0.06165045499801636, 0.051566898822784424, 0.20001481473445892, -0.3953741788864136, -0.07620398700237274, -0.8666343092918396, -0.1866983026266098, 0.6786596179008484, 0.1393095999956131, 0.6708582043647766, 0.12803013622760773, 0.850582480430603, -0.06803172826766968, -0.8032738566398621, -0.6057078242301941, 0.5187094807624817, -0.8029758334159851, -0.5143296718597412, -0.35213571786880493, -0.45696285367012024, -0.9341860413551331, 0.44770336151123047, -0.2751862406730652, -0.953487753868103, -0.007695356849581003, 0.04583325982093811, -0.3220438063144684, 0.3191533386707306, -0.8029958009719849, 1.0013353824615479, -0.1425773799419403, 0.08305440843105316, -0.8799182772636414, -0.4421481490135193, -0.08868338912725449, 0.06427456438541412, 0.15579372644424438, -0.4352641701698303, 0.032646503299474716, 0.8438673615455627, 0.09748173505067825, 0.6444628238677979, -0.24682559072971344, 0.4805641174316406, 0.1714096963405609, 0.0185407567769289, 0.2820477783679962, -0.18595243990421295, -0.2562706768512726, 0.19469031691551208, 0.2932059168815613, -0.36001378297805786, -0.2964646518230438, 0.7150549292564392, -0.6017194390296936, -0.49171116948127747, -0.15906552970409393, -0.37075623869895935, -0.47014039754867554, 0.29413193464279175, 0.14595365524291992, 0.626713752746582, -0.30943846702575684, 0.49274742603302, 0.3101392090320587, 0.04783325642347336, 0.3383331596851349, 0.14473788440227509, 0.16839763522148132, -0.3383164703845978, 1.066110372543335, 0.007910345681011677, 0.31336119771003723, 0.22056837379932404, 0.46820276975631714, -0.46520164608955383, -0.2547564208507538, -0.07204468548297882, 0.13853049278259277, -0.3663382828235626, -0.008615867234766483, -0.5989822745323181, -0.009420366957783699, -0.7495586276054382, 0.18514376878738403, -0.977443277835846, -0.6814002394676208, -0.0018998441519215703, 0.25826287269592285, -0.08958761394023895, 0.8732696175575256, -0.4213201403617859, 0.10123861581087112, -0.6732751727104187, 0.6523572206497192, 0.6837560534477234, 0.37881627678871155, -0.012517210096120834, -0.07945944368839264, -0.2786189317703247, -0.03330376744270325, -0.19844430685043335, -0.8978282809257507, -0.014723832719027996, 0.43473291397094727, 0.9010069370269775, 0.10379176586866379, -0.24889764189720154, 0.6419707536697388, -0.6242983937263489, 0.8662384748458862, 0.5026206374168396, -1.1693168878555298, 0.6898470520973206, -0.12055259197950363, 0.4381233751773834, 0.5044933557510376, 0.1859712451696396, -0.7312231063842773, -0.14587321877479553, -0.5043509602546692, -0.8135271668434143, 0.9780460000038147, 0.33074045181274414, -0.004722518380731344, 0.25036370754241943, -0.07023148238658905, 0.025227749720215797, 0.3506544828414917, -0.4633103609085083, -0.13191911578178406, -0.47365960478782654, -0.04306698963046074, -0.06533750146627426, -0.15186530351638794, -0.2447202056646347, -0.4005627930164337, 0.7367477416992188, 0.012892533093690872, 0.332045316696167, 0.018125386908650398, -0.014395812526345253, 0.20656158030033112, 0.2894803583621979, 0.577867329120636, 0.6245019435882568, 0.06873968988656998, -0.020319657400250435, 0.06715884059667587, -0.33331939578056335, 0.08077282458543777, 0.1790623515844345, 0.308702677488327, 0.2320181131362915, 0.20596498250961304, 0.9418431520462036, 0.30231696367263794, -0.5623304843902588, 0.5270245671272278, 0.0000574191399209667, 0.08112423121929169, 0.006932146847248077, 0.01853526197373867, 0.35312333703041077, 0.1555403172969818, 0.21080641448497772, -0.02041512355208397, 0.10852327197790146, -0.4065113961696625, 0.37232550978660583, 0.5005656480789185, -0.0232414398342371, -0.11922494322061539, 0.6910133957862854, 0.4158298671245575, -0.4267696738243103, 0.33155664801597595, 0.06384209543466568, -0.626505434513092, 0.41786184906959534, 0.5011997222900391, 0.8741992115974426, -0.5746747255325317, 0.24452412128448486, 0.17734766006469727, -0.07525072991847992, -0.1252949833869934, 0.2156946063041687, -0.2947702407836914, -0.5808538794517517, -0.5932456254959106, -0.7428462505340576, -0.6186817288398743, -0.34904584288597107, -0.719144344329834, 0.2539903521537781, -0.01795392856001854, -0.5514786243438721, 0.4883265197277069, -0.2831798791885376, -0.5010179281234741, 0.012470201589167118, 0.49554944038391113, 0.4677814543247223, -0.46547427773475647, 0.8807296752929688, 0.7560921907424927, -0.20375792682170868, -0.6688733100891113, -0.25727152824401855, 0.25805166363716125, -0.48766326904296875, 0.5053059458732605, -0.04013654589653015, -0.6143415570259094, 0.1065865159034729, -0.025121642276644707, -0.9103410243988037, 0.6672640442848206, 0.5940992832183838, -0.4680479168891907, -0.2603287398815155, 0.45288464426994324, 0.1053704023361206, -0.32035160064697266, -0.25122737884521484, 0.4693623185157776, 0.30612120032310486, -0.11790107190608978, -1.4779173135757446, -0.5303125977516174, 0.025439975783228874, 0.09693566709756851, 0.09632883220911026, -0.6599579453468323, 0.9621466398239136, 0.09539473056793213, -0.21682415902614594, 0.04744797572493553, 0.3762386739253998, 0.09807482361793518, -0.22589349746704102, 0.8602758646011353, 0.699222981929779, 0.4821319282054901, -0.1819574236869812, 0.7857699990272522, -0.22531063854694366, 0.4234861433506012, 1.1298035383224487, -0.1208798959851265, 0.9843663573265076, 0.4125315248966217, -0.17347125709056854, 0.5127477049827576, 0.15998606383800507, 0.18825763463974, 0.5618966817855835, 0.06250794976949692, -0.5219732522964478, -0.6386703848838806, -0.43014565110206604, -0.08738300204277039, 1.1895482540130615, 0.0782327726483345, 0.3611837923526764, -0.5467451214790344, 0.5059543251991272, -0.27924323081970215, 0.03886283189058304, -0.09687735885381699, 1.0752191543579102, -0.03323225677013397, -0.5367828011512756, 0.3364170789718628, 0.09848591685295105, 0.6367070078849792, -1.0334219932556152, 0.0075460090301930904, 0.2160179764032364, 0.14941750466823578, 0.05782311037182808, -0.4940096139907837, 0.3210729956626892, -0.15507537126541138, -0.27123263478279114, -0.18119314312934875, 0.8459073305130005, -0.46764251589775085, -0.35436129570007324, 0.5481744408607483, 0.33685502409935, 0.1802511066198349, -0.5821171998977661, -0.9648001194000244, 0.2441835254430771, -0.02871832251548767, -0.016969293355941772, 0.11492113023996353, 0.023517930880188942, 0.4956139922142029, 0.5256658792495728, 0.6898779273033142, 0.5204667448997498, 0.29332664608955383, 0.38052117824554443, 0.517863929271698, -0.5367153286933899, -0.9443080425262451, -0.5565371513366699, 0.48796477913856506, -0.11703366786241531, -0.1606636345386505, 0.6134930849075317, 0.6241936683654785, 0.7580245733261108, -0.02872512862086296, 0.5279691219329834, -0.006443576421588659, 1.057660698890686, -0.20276044309139252, 0.6121450662612915, -0.7850878238677979, -0.4230605959892273, -0.45388782024383545, -0.8077980875968933, -0.013192644342780113, 0.4751863181591034, 0.16201628744602203, -0.2534240484237671, 0.5679057240486145, 0.6551103591918945, -0.21812644600868225, 0.17480455338954926, 0.5448493361473083, -0.12961030006408691, 0.17545472085475922, 0.3008006811141968, 0.5870993733406067, 0.004121443722397089, 0.5473692417144775, -0.6882576942443848, -0.3589436709880829, 0.09983290731906891, -0.5518849492073059, -0.44314703345298767, -1.1315064430236816, -0.13295358419418335, -0.06124015152454376, 0.033803973346948624, 0.9674261808395386, 1.1879602670669556, -0.7862511873245239, -0.758889377117157, 0.18720309436321259, -0.12994937598705292, -0.5302581191062927, -0.20808228850364685, 0.22887775301933289, -0.7073215246200562, -0.8701668977737427, 0.8964780569076538, 0.2904149293899536, -0.15334190428256989, -0.08738115429878235, 0.24531997740268707, -0.3345504105091095, 0.14583958685398102, 0.6652370691299438, 0.13786199688911438, -0.7467187643051147, -0.02028173953294754, -0.14659085869789124, 0.2654035687446594, -0.1623702347278595, 1.2663607597351074, -0.4562044143676758, 0.7679675221443176, 0.4341532289981842, 0.6696582436561584, 0.7285907864570618, 0.06421839445829391, 0.5096060037612915, -0.8882126212120056, 0.5062550902366638, 0.5057812333106995, 0.3215268552303314, 0.12507204711437225, 0.06060631573200226, 0.2623884379863739, 0.3337123692035675, -0.5968769192695618, -0.6514471173286438, 0.23730210959911346, -1.072806715965271, -0.49982964992523193, 0.8488619327545166, 0.062315683811903, -0.04077260568737984, -0.12031738460063934, -0.1357707381248474, 0.2687920331954956, -0.3491188883781433, 0.41995322704315186, 0.9127501845359802, -0.634419858455658, 0.07233905047178268, -0.46541935205459595, 0.48587390780448914, 0.6849821209907532, -0.6932081580162048, 0.1005377322435379, 0.10907813161611557, 0.3538864552974701, 0.35285520553588867, 0.4309084415435791, -0.061948392540216446, 0.44650474190711975, 0.35799938440322876, 0.12917162477970123, 0.0008234833367168903, -0.6160790324211121, 0.04866873100399971, 0.3329221308231354, 0.06188897043466568, -0.6060052514076233 ]
http://arxiv.org/abs/2406.09444v2
http://arxiv.org/pdf/2406.09444v2
GenDistiller: Distilling Pre-trained Language Models based on an Autoregressive Generative Model
2024-06-12T01:25:00
2024-06-21T08:48:41
Yingying Gao, Shilei Zhang, Chao Deng, Junlan Feng
eess.AS
eess.AS, cs.CL, cs.SD
Pre-trained speech language models such as HuBERT and WavLM leverage unlabeled speech data for self-supervised learning and offer powerful representations for numerous downstream tasks. Despite the success of these models, their high requirements for memory and computing resource hinder their application on resource restricted devices. Therefore, this paper introduces GenDistiller, a novel knowledge distillation framework which generates the hidden representations of the pre-trained teacher model directly by a much smaller student network. The proposed method takes the previous hidden layer as history and implements a layer-by-layer prediction of the teacher model autoregressively. Experiments on SUPERB reveal the advantage of GenDistiller over the baseline distilling method without an autoregressive framework, with 33% fewer parameters, similar time consumption and better performance on most of the SUPERB tasks. Ultimately, the proposed GenDistiller reduces the size of WavLM by 82%.
[ -0.4736519753932953, -0.4767293632030487, 0.35984259843826294, -0.02142166718840599, -0.10877854377031326, 0.3683375418186188, -0.04550978168845177, 0.06519730389118195, 0.009006932377815247, 0.3735092878341675, -0.318816602230072, -0.29676106572151184, -0.6842733025550842, -0.24348901212215424, -0.9152846932411194, 0.7546284198760986, 0.10240712016820908, -0.07545069605112076, -0.3194893002510071, 0.2894379198551178, -0.1942235380411148, -0.4841465353965759, -0.5274426937103271, -0.5672011375427246, -0.005992883816361427, 0.33804816007614136, 0.27443861961364746, 0.6354776620864868, -0.03038763254880905, 0.3931126892566681, 0.025909876450896263, -0.17945043742656708, -0.611553430557251, 0.22774644196033478, -0.1793985664844513, -0.2854177951812744, -0.09816691279411316, 0.2192372977733612, 0.3460022509098053, 0.6501712203025818, -0.5257481336593628, 0.252118855714798, 0.5237886309623718, 0.694977343082428, -0.6128664016723633, 0.08907338976860046, -0.5685939192771912, 0.13583305478096008, -0.003410326549783349, 0.06270340830087662, -0.20153562724590302, -0.5655068755149841, 0.24772988259792328, -0.3345365822315216, 0.7680352330207825, -0.41760724782943726, 0.5140058994293213, 0.44941747188568115, -0.2920256555080414, 0.004324407782405615, -1.0754793882369995, 0.7241683006286621, -0.6313610076904297, 0.2810659408569336, 0.5632236003875732, 0.5100303292274475, 0.11136428266763687, -1.027098298072815, -0.6525551676750183, 0.015570830553770065, 0.027874015271663666, 0.008604099974036217, -0.33182376623153687, -0.057719409465789795, 0.11953012645244598, 0.64641273021698, -0.4229135811328888, 0.13754817843437195, -0.52449631690979, -0.17251324653625488, 0.4769081473350525, -0.08156483620405197, 0.14347770810127258, -0.1711503267288208, -0.3507975935935974, -0.19740775227546692, -0.3672891855239868, -0.22097504138946533, 0.202035054564476, -0.059088096022605896, -0.029010983183979988, 0.07109767198562622, -0.32863739132881165, 0.5676242709159851, 0.22331352531909943, -0.2844986319541931, 0.287462055683136, 0.003913387190550566, -0.2899022102355957, 0.14348886907100677, 1.0566991567611694, -0.10734378546476364, 0.22386589646339417, -0.034733232110738754, -0.14013901352882385, -0.03103954717516899, -0.08592415601015091, -1.048811912536621, -1.0372265577316284, -0.13012877106666565, -0.3442056477069855, -0.3496197462081909, -0.11728259176015854, -0.7386080026626587, -0.1406983882188797, -0.174117773771286, 0.26642197370529175, -0.5573903918266296, -0.37685626745224, -0.23045818507671356, -0.15326297283172607, -0.2566971778869629, 0.1369553655385971, -0.8638570308685303, 0.18724484741687775, 0.2812977135181427, 0.689690887928009, 0.032036006450653076, -0.2640362083911896, -0.3341216444969177, 0.36061009764671326, -0.24913367629051208, 0.3732104003429413, -0.42889827489852905, -0.6987830400466919, -0.3349403738975525, -0.13099542260169983, -0.1494855433702469, -0.6355040669441223, 0.35819271206855774, -0.40112122893333435, 0.37694770097732544, 0.020014554262161255, -0.7037818431854248, -0.15135698020458221, -0.45100346207618713, -0.6891862154006958, 0.9006785154342651, 0.07206633687019348, -0.4793604016304016, 0.44895341992378235, -0.38800477981567383, -0.48409464955329895, 0.35621801018714905, -0.3499564826488495, -0.46799179911613464, 0.1919724941253662, 0.5212779641151428, 0.565437376499176, -0.20451720058918, 0.7045204639434814, 0.06321872025728226, -0.11415089666843414, -0.044909581542015076, -0.8394275307655334, 0.9442678093910217, 0.5210749506950378, -0.47215667366981506, -0.20039278268814087, -1.0142817497253418, 0.0055881985463202, 0.2837885916233063, -0.3353187143802643, -0.5836432576179504, -0.08327604830265045, -0.16878949105739594, 0.31464576721191406, 0.12900754809379578, -0.6029582023620605, -0.0997113510966301, -0.15469826757907867, 0.7429998517036438, 0.7429520487785339, -0.1601991504430771, 0.556625485420227, -0.04532490670681, 0.6294355392456055, 0.0626552402973175, 0.22457869350910187, -0.22550107538700104, -0.21990478038787842, -0.800308883190155, -0.5106849074363708, 0.5198379755020142, 0.23015062510967255, -0.800427258014679, 0.45147427916526794, -0.27309033274650574, -0.5387431383132935, -0.722619891166687, 0.46841496229171753, 0.3830055594444275, 0.5826461911201477, 0.41666170954704285, -0.0655609518289566, -0.525547206401825, -0.7776031494140625, 0.18347744643688202, -0.11043724417686462, -0.10385342687368393, 0.00021893417579121888, 0.19089475274085999, -0.13313765823841095, 1.1557035446166992, -0.5868483185768127, -0.39665067195892334, -0.32786861062049866, 0.38515061140060425, 0.11358920484781265, 0.8309143781661987, 0.6962777972221375, -0.6825702786445618, -0.5635927319526672, -0.3568253517150879, -0.5901165008544922, -0.1882842630147934, 0.09080008417367935, 0.10552769154310226, 0.16115537285804749, 0.7451750040054321, -0.3255169987678528, 0.3788726031780243, 0.8627170324325562, -0.07615988701581955, 0.24305219948291779, -0.4649536609649658, -0.06623928248882294, -1.1592199802398682, -0.06433554738759995, -0.22680360078811646, -0.23218503594398499, -0.42140766978263855, -0.3024088740348816, 0.13026008009910583, -0.38534221053123474, -0.24882252514362335, 0.11762598901987076, -0.6537724733352661, 0.39179331064224243, -0.3245986998081207, -0.08232134580612183, 0.19112378358840942, 0.14058944582939148, -0.1015746220946312, 0.7423873543739319, 0.708385705947876, -0.6549580693244934, 0.505621612071991, 0.18011927604675293, -0.4882058799266815, 0.20964601635932922, -0.6589137315750122, 0.13948297500610352, -0.18224933743476868, 0.06894941627979279, -1.012208104133606, 0.06943288445472717, -0.23917768895626068, -0.3475969433784485, 0.4438088536262512, -0.3245082199573517, -0.2551621198654175, -0.8381890654563904, 0.05071259289979935, 0.357199102640152, 0.8423789739608765, -0.8480457067489624, 0.7441042065620422, 0.39325791597366333, -0.11700054258108139, -0.33789700269699097, -0.9192570447921753, 0.040635451674461365, -0.2165173441171646, -0.21461212635040283, 0.2708035707473755, -0.13278938829898834, 0.17651717364788055, 0.24364356696605682, -0.1877799779176712, -0.18186692893505096, 0.10834590345621109, 0.4086533188819885, 0.1885809302330017, -0.11452312022447586, 0.12674959003925323, 0.3242359757423401, -0.16782771050930023, 0.10978404432535172, -0.5148273706436157, 0.7083467245101929, 0.3027118444442749, -0.3339635729789734, -0.6671802401542664, 0.2624921202659607, 0.44057697057724, -0.2239788919687271, 0.7294069528579712, 0.4306325614452362, -0.05182882398366928, -0.6193854808807373, -0.7257870435714722, -0.28620800375938416, -0.5670328736305237, 0.26758521795272827, -0.39669299125671387, -0.8374674320220947, 0.35077041387557983, -0.09914158284664154, -0.34887659549713135, 0.3435768783092499, 0.17661137878894806, 0.06049046292901039, 0.8651826977729797, 0.6533989310264587, -0.4249250590801239, 0.4611959457397461, -0.595847487449646, 0.18038825690746307, -0.4586637616157532, -0.27797389030456543, -0.3374144434928894, -0.20030023157596588, -0.3554353415966034, -0.22888000309467316, 0.13950568437576294, 0.3022269010543823, -0.11060050874948502, 0.3174377977848053, -0.6391344666481018, 0.6255134344100952, 0.9129937291145325, -0.2522209882736206, 0.2565992474555969, 0.14393916726112366, -0.297533243894577, 0.14693154394626617, -0.899948239326477, -0.26243066787719727, 1.056459665298462, 0.19192403554916382, 0.8136218786239624, -0.10957300662994385, 1.1467082500457764, 0.148707777261734, 0.09643815457820892, -0.34929904341697693, 0.5422185063362122, -0.38422825932502747, -0.6001813411712646, -0.4056031405925751, -0.7085764408111572, -0.6770530939102173, 0.33929234743118286, 0.05563268065452576, -0.42271339893341064, 0.3643417954444885, 0.44283825159072876, -0.5426437258720398, 0.4558943212032318, -0.8398492336273193, 0.6007709503173828, 0.008904216811060905, -0.19742310047149658, -0.07780740410089493, -0.29547083377838135, 0.2611871659755707, -0.3210185766220093, 0.18991339206695557, -0.17412172257900238, 0.5350480079650879, 0.9181413054466248, -0.6814374327659607, 0.8485292196273804, -0.5340139269828796, -0.23234108090400696, 0.43513262271881104, 0.28769052028656006, 0.3732411563396454, -0.011790838092565536, 0.013664184138178825, 0.1655106544494629, 0.05823835730552673, -0.16929960250854492, -0.47794288396835327, 0.9695114493370056, -0.8135790824890137, -0.767154335975647, -0.13949106633663177, -0.2399001568555832, -0.1485653817653656, 0.28982052206993103, 0.5429736971855164, 0.4289649724960327, -0.2988302707672119, 0.1837327629327774, 0.6737362146377563, -0.11584843695163727, 0.8405899405479431, 0.6450502872467041, -0.4163021445274353, -0.3753519356250763, 0.8713974952697754, 0.397472620010376, 0.32827505469322205, 0.2166530042886734, 0.28923872113227844, -0.2619721293449402, -0.5545653700828552, -0.2418714463710785, -0.017603784799575806, -0.585131049156189, -0.27488642930984497, -0.8714498281478882, -0.48351484537124634, -0.6582062840461731, 0.05483938008546829, -0.5750061869621277, -0.5543131232261658, -0.5682438015937805, -0.33136802911758423, 0.2934266924858093, 0.6521736979484558, -0.5143241882324219, 0.4967590868473053, -0.527159571647644, 0.3234518766403198, 0.8831170201301575, 0.28210434317588806, 0.18447257578372955, -0.5951485633850098, -0.11449429392814636, 0.012887861579656601, -0.1993844360113144, -0.539124071598053, 0.7139641046524048, 0.65340256690979, 0.6264534592628479, 0.6752147674560547, 0.28089839220046997, 0.5784043073654175, -0.5312502384185791, 0.6502206921577454, 0.4029093384742737, -1.0684700012207031, 0.8166031241416931, 0.03383652865886688, 0.3841649293899536, 0.563829243183136, 0.4441831409931183, -0.03464015573263168, -0.5835967659950256, -0.547280490398407, -0.8468782901763916, 0.5713195204734802, -0.001563585246913135, 0.4351820647716522, -0.01357457134872675, 0.07337801158428192, 0.3097708225250244, 0.12207609415054321, -0.39888569712638855, -0.48793405294418335, -0.6475854516029358, -0.18309076130390167, -0.4414939284324646, -0.6402016282081604, 0.07516556233167648, -0.5943001508712769, 0.6103321313858032, 0.26469576358795166, -0.07667414844036102, 0.0036695876624435186, -0.19081605970859528, -0.01193242147564888, 0.3893251121044159, 0.09028144180774689, 0.6060286164283752, -0.11579214781522751, 0.5322732925415039, 0.097963348031044, -0.718804121017456, 0.37165990471839905, 0.42516034841537476, -0.3462772071361542, -0.012398662976920605, 0.14310027658939362, 0.7824587225914001, -0.04524720460176468, -0.17260931432247162, 0.5492805242538452, -0.1010705828666687, -0.303958922624588, -0.394579142332077, 0.297142893075943, 0.1467904895544052, 0.3078211843967438, 0.6700851321220398, -0.12363104522228241, 0.2904183566570282, -0.1595592349767685, 0.33178436756134033, 0.11072660982608795, -0.433926522731781, -0.2264682650566101, 0.9513207077980042, 0.26113879680633545, 0.21710838377475739, 0.6294310092926025, -0.19555877149105072, -0.38531768321990967, 0.3562556207180023, 0.7575218081474304, 0.7857762575149536, -1.0082253217697144, 0.5231572985649109, 0.18225593864917755, 0.024250777438282967, -0.10127826780080795, 0.055890604853630066, -0.34215354919433594, -0.5240018367767334, -0.371555894613266, -0.7991899251937866, 0.25729838013648987, 0.39765289425849915, -0.7851718068122864, -0.21177105605602264, -0.5070005059242249, -0.26577654480934143, 0.04096781834959984, -0.33933258056640625, -0.6746445298194885, 0.16002260148525238, 0.17248225212097168, 0.5302804112434387, -0.9185003042221069, 1.244154691696167, 0.29523423314094543, -0.1899338960647583, -0.9536512494087219, -0.07257860153913498, -0.1693314164876938, -0.6693530678749084, 1.0177361965179443, -0.06611262261867523, -0.21679538488388062, 0.4394400417804718, -0.32983893156051636, -0.914497435092926, 1.0252935886383057, 0.68857741355896, -0.8842727541923523, 0.0035870568826794624, 0.18397031724452972, 0.35894325375556946, -0.16316957771778107, -0.027050593867897987, 0.47540029883384705, -0.03344958275556564, 0.27846816182136536, -0.918624758720398, -0.008689707145094872, -0.35449355840682983, 0.4252704977989197, 0.02155580371618271, -0.3056538999080658, 1.0722098350524902, -0.20376764237880707, -0.5148977637290955, -0.23355604708194733, 0.9047682881355286, -0.16694766283035278, 0.04924877732992172, 0.3260933756828308, 0.6860153675079346, 0.7691208720207214, 0.02593095600605011, 0.6637987494468689, -0.29344260692596436, 0.42087313532829285, 1.3897700309753418, -0.0808793380856514, 0.5634700059890747, 0.34085750579833984, -0.27365925908088684, 0.6980011463165283, 0.05461716651916504, -0.036324530839920044, 1.0284066200256348, 0.2590150833129883, -0.4273553788661957, -0.27579307556152344, 0.11779627203941345, -0.7053883075714111, 0.46976709365844727, 0.024654092267155647, -0.5944862365722656, -0.27907130122184753, 0.5853213667869568, -0.034260667860507965, 0.13925659656524658, -0.26582056283950806, 0.7338835000991821, 0.16867658495903015, -0.3721025884151459, 0.8492773175239563, -0.31316637992858887, 0.6899077892303467, -0.25430816411972046, 0.13232408463954926, -0.327992707490921, 0.33196744322776794, -0.04319429025053978, -0.36714282631874084, -0.00043735746294260025, -0.15967020392417908, -0.24022293090820312, -0.4095233976840973, 0.6387131214141846, -0.6858540773391724, -0.4840991199016571, 0.4159117639064789, 0.5413007140159607, -0.09785162657499313, -0.02429959923028946, -0.47935962677001953, -0.1500156819820404, -0.008135105483233929, -0.25579240918159485, 0.13212673366069794, 0.5683140158653259, 0.4375210106372833, 0.7180018424987793, 0.5226194262504578, 0.133883997797966, 0.25889769196510315, 0.2717873752117157, 1.077188491821289, -0.3500763177871704, -0.7811110019683838, -1.000702142715454, 0.10904328525066376, -0.14213095605373383, 0.09544672816991806, 1.0125281810760498, 0.6345832943916321, 0.9512811303138733, -0.10956481099128723, 1.0904090404510498, 0.009181431494653225, 0.7158089280128479, -0.3808681070804596, 1.1781500577926636, -0.1749412566423416, 0.30219244956970215, -0.27985110878944397, -0.7605850100517273, 0.18580514192581177, 0.6317158341407776, -0.43231910467147827, 0.08609156310558319, 0.45328497886657715, 0.5256704092025757, -0.19796480238437653, 0.14523139595985413, 0.48226916790008545, 0.09813519567251205, 0.2637844979763031, 0.5508431196212769, 0.9573916792869568, -0.26010897755622864, 0.38933101296424866, -0.6833831071853638, -0.28900817036628723, -0.027547994628548622, -0.6204509139060974, -1.1079306602478027, -0.9366317391395569, -0.5285857319831848, -0.03776458278298378, 0.10708145797252655, 0.628592848777771, 0.8824231624603271, -0.912169337272644, -0.09567849338054657, -0.28394848108291626, -0.1638801395893097, -0.010731079615652561, -0.24741943180561066, 0.4487479031085968, -0.16575942933559418, -0.617635190486908, 0.6084460616111755, -0.21665740013122559, 0.464974582195282, -0.48041945695877075, 0.08799517154693604, 0.11025813221931458, -0.1363900899887085, 0.4584468603134155, 0.26945480704307556, -0.35624924302101135, 0.050861895084381104, -0.5369836091995239, -0.04280175641179085, -0.1892009973526001, 0.7819778919219971, -1.1595336198806763, 0.46513035893440247, 0.33398810029029846, 0.2521032392978668, 0.7509490251541138, -0.0915861427783966, 0.5793173909187317, -0.7744442224502563, 0.19161997735500336, 0.14698559045791626, 0.3080580532550812, 0.29809296131134033, -0.23283721506595612, 0.0772329568862915, 0.2329787015914917, -0.38621410727500916, -0.7460044622421265, 0.06078795716166496, -0.38141605257987976, -0.4921532869338989, 0.8514055609703064, -0.2153262197971344, -0.05964489281177521, -0.11241117119789124, 0.17649789154529572, 0.4359721541404724, -0.4353334903717041, 0.8511512875556946, 0.15544775128364563, 0.24462364614009857, -0.4069916605949402, -0.4564381539821625, 0.6506836414337158, 0.11534037441015244, -0.4404031038284302, 0.08598238229751587, 0.4888927638530731, 0.4679014980792999, 0.08713109791278839, 0.6272873878479004, -0.11677445471286774, -0.22353360056877136, 0.010021325200796127, 0.1612776815891266, -0.6318264603614807, -0.4490559697151184, -0.19855810701847076, 0.5155283212661743, -0.14856214821338654, -0.3995634615421295 ]
http://arxiv.org/abs/2406.07794v2
http://arxiv.org/pdf/2406.07794v2
Making Task-Oriented Dialogue Datasets More Natural by Synthetically Generating Indirect User Requests
2024-06-12T01:18:04
2024-06-16T21:20:34
Amogh Mannekote, Jinseok Nam, Ziming Li, Jian Gao, Kristy Elizabeth Boyer, Bonnie J. Dorr
cs.CL
cs.CL, cs.AI
Indirect User Requests (IURs), such as "It's cold in here" instead of "Could you please increase the temperature?" are common in human-human task-oriented dialogue and require world knowledge and pragmatic reasoning from the listener. While large language models (LLMs) can handle these requests effectively, smaller models deployed on virtual assistants often struggle due to resource constraints. Moreover, existing task-oriented dialogue benchmarks lack sufficient examples of complex discourse phenomena such as indirectness. To address this, we propose a set of linguistic criteria along with an LLM-based pipeline for generating realistic IURs to test natural language understanding (NLU) and dialogue state tracking (DST) models before deployment in a new domain. We also release IndirectRequests, a dataset of IURs based on the Schema Guided Dialog (SGD) corpus, as a comparative testbed for evaluating the performance of smaller models in handling indirect requests.
[ -0.4455450177192688, -0.8435052037239075, 0.5047309994697571, 0.301241010427475, -0.09532151371240616, 0.009261691011488438, -0.27696964144706726, -0.48386016488075256, 0.01678188145160675, 0.9720761179924011, -0.9965201616287231, -0.16861513257026672, -0.12470325827598572, 0.47705981135368347, -0.27990224957466125, 0.7643925547599792, -0.11660561710596085, -0.14503994584083557, -0.34635689854621887, 0.029939865693449974, -0.4450017213821411, -0.5461869835853577, -0.674552321434021, -0.2804650366306305, 0.512006938457489, 0.4075343906879425, 0.5734416842460632, 0.3935525119304657, 0.36480221152305603, 0.28643253445625305, 0.26085323095321655, 0.15066111087799072, -0.17254357039928436, 0.3853986859321594, -0.2561165988445282, -0.4214774966239929, -0.2217843234539032, -0.13012030720710754, 0.3078424036502838, 0.6210207343101501, -0.10000723600387573, 0.15283241868019104, 0.11382347345352173, 0.1655445396900177, -0.4514337480068207, 0.24948371946811676, -0.6556287407875061, -0.09527869522571564, -0.03839737921953201, -0.20491646230220795, -0.5507270097732544, -0.24272029101848602, 0.6285739541053772, -0.5856502056121826, 0.3696635365486145, 0.15393546223640442, 0.8257832527160645, 0.2883078455924988, -0.599265992641449, -0.38427993655204773, -0.8368174433708191, 0.5989460945129395, -0.834541380405426, 0.35043495893478394, 0.5069947838783264, 0.3005739152431488, -0.2239789217710495, -0.6908724904060364, -0.7284250855445862, -0.739446222782135, -0.2892402112483978, -0.11099894344806671, -0.4732239842414856, 0.18845690786838531, 0.5043307542800903, -0.09764190763235092, -0.575250506401062, -0.0993577316403389, -0.14085260033607483, -0.09072649478912354, 0.4374699890613556, 0.4712024927139282, 0.3322729766368866, -0.37940075993537903, -0.17927248775959015, 0.021637696772813797, -0.7154334783554077, -0.07004521042108536, 0.4998578727245331, 0.687555730342865, -0.14464931190013885, 0.595892071723938, -0.5458391904830933, 0.9356599450111389, 0.2540515959262848, 0.21295081079006195, -0.009992479346692562, -0.666153073310852, -0.1962384432554245, -0.12286336719989777, 0.39518415927886963, 0.26250791549682617, 0.08870849758386612, -0.167663112282753, -0.07485531270503998, 0.11149802058935165, 0.5238003730773926, -0.7463297843933105, -0.05538388341665268, 0.11898897588253021, 0.007823854684829712, -0.15836068987846375, -0.21237021684646606, -0.43729493021965027, -0.32319846749305725, -0.9309314489364624, 0.15983019769191742, -0.37200257182121277, -0.30342042446136475, -0.1535952240228653, 0.1342829167842865, 0.02000577002763748, 0.41113150119781494, -0.6123022437095642, 0.7262378334999084, 0.6253125071525574, 0.6256749629974365, -0.26689887046813965, -0.08697903156280518, -0.6570215225219727, 0.12317609041929245, -0.012790265493094921, 0.8647218942642212, -0.6341261863708496, -0.41002157330513, 0.04757654294371605, 0.09287915378808975, -0.15728342533111572, -0.6886072754859924, 0.6309829354286194, -0.21518205106258392, 0.2631058990955353, -0.5058827996253967, -0.23707619309425354, -0.023922652006149292, 0.44921278953552246, -0.33019623160362244, 0.8847854733467102, 0.16322878003120422, -0.4778892993927002, 0.20122770965099335, -0.7545235753059387, -0.2322922945022583, 0.1346605122089386, -0.20513111352920532, 0.10709185898303986, 0.0024607819505035877, 0.21118471026420593, 0.32175347208976746, -0.9151225686073303, 0.47369855642318726, -0.11567553132772446, -0.20565588772296906, 0.14010322093963623, -0.35587528347969055, 0.6076361536979675, 0.396660178899765, -0.42293569445610046, 0.05627139285206795, -0.4895729720592499, 0.08193569630384445, -0.057509422302246094, -0.08309286087751389, -0.40297335386276245, 0.11766393482685089, -0.2176818549633026, 0.06759538501501083, 0.051417026668787, -0.4228127598762512, 0.2821863889694214, -0.566931962966919, 0.2821849584579468, 0.851245641708374, -0.033947404474020004, 0.3884165287017822, -0.2533903419971466, 0.6606898903846741, 0.18855485320091248, 0.06382832676172256, -0.0775456503033638, -0.20675601065158844, -1.080364465713501, -0.3186792731285095, 0.03146132081747055, 0.6334748268127441, -0.9087691903114319, 0.08975379914045334, -0.33554473519325256, -0.376216858625412, -0.49782803654670715, 0.11684766411781311, 0.5194346904754639, 0.8446933627128601, -0.02175287902355194, -0.156576007604599, -0.5713940858840942, -0.9945998191833496, -0.3159385621547699, -0.34477463364601135, -0.17255881428718567, 0.8513375520706177, 0.22939655184745789, -0.3131210207939148, 1.1220991611480713, -0.5294933915138245, 0.00498687569051981, -0.31882911920547485, 0.3820453882217407, 0.3349818289279938, 0.3151026964187622, 0.5264416933059692, -0.7861788868904114, -0.6595422625541687, -0.10718164592981339, -0.6294515132904053, -0.42415851354599, 0.05344141274690628, -0.1442919820547104, 0.06118662655353546, 0.4347836375236511, -0.8861518502235413, 0.3257977068424225, 0.3954678177833557, -0.26494720578193665, 0.478843629360199, -0.08616237342357635, 0.11367975175380707, -1.0372698307037354, 0.041246939450502396, 0.28167426586151123, -0.17670370638370514, -0.7463639974594116, 0.08328955620527267, -0.30814841389656067, -0.2631988823413849, -0.5089830160140991, 0.810133695602417, -0.3565130829811096, -0.03559080511331558, -0.04088517650961876, -0.06382261961698532, -0.04352127015590668, 0.5471183657646179, 0.13493093848228455, 0.7543908953666687, 0.6306694149971008, -0.8238539099693298, 0.6121975183486938, 0.14366987347602844, -0.2871980369091034, 0.8200868964195251, -0.9094702005386353, 0.3343036472797394, -0.1337715983390808, 0.6198199391365051, -0.8174296617507935, -0.45365530252456665, 0.3584365248680115, -0.03147910535335541, -0.22999590635299683, -0.33925071358680725, -0.5989707112312317, -0.2847917079925537, 0.16639916598796844, 0.3958399295806885, 0.39581775665283203, -0.551585853099823, 0.749096691608429, 0.08116786926984787, -0.5746698379516602, -0.35342133045196533, -0.24896354973316193, 0.24142120778560638, -0.2090732902288437, -0.6921119093894958, 0.3281339704990387, -0.28345176577568054, -0.5466710329055786, -0.026579061523079872, 0.03328654542565346, -0.15856026113033295, 0.008426557295024395, 0.4419877827167511, 0.17079401016235352, -0.2800533175468445, -0.031011903658509254, -0.11348413676023483, 0.01556319184601307, 0.17281296849250793, -0.2339565008878708, 0.6125252842903137, -0.01899307407438755, -0.5971599221229553, -0.5002327561378479, 0.49319300055503845, 0.2829362154006958, 0.07636569440364838, 0.17708289623260498, 0.24815748631954193, -0.3837636709213257, -0.19409014284610748, -0.6672407388687134, -0.5386072397232056, -0.5149732828140259, 0.014996296726167202, -0.6478185057640076, -0.5629822015762329, 0.3462936282157898, -0.35979002714157104, 0.23216654360294342, 0.15150615572929382, 0.4789201021194458, -0.28210532665252686, 1.2868578433990479, 0.2733587324619293, 0.2168983370065689, 0.23283159732818604, -0.08422458171844482, 0.2776338756084442, -0.686302125453949, -0.10018417984247208, -0.7243965268135071, 0.040514327585697174, -0.4388441741466522, -0.4560284912586212, 0.45547908544540405, -0.2880803644657135, 0.011670379899442196, 0.5433058142662048, -0.1772177517414093, 0.2678237557411194, 0.6258338093757629, -0.0399179644882679, 0.22832243144512177, -0.015278194099664688, -0.0874900370836258, -0.2538670599460602, -0.4388883709907532, -0.4681013524532318, 0.7316240668296814, -0.051774267107248306, 0.6322260499000549, 0.3048120439052582, 0.23625370860099792, 0.5137715339660645, 0.21397165954113007, -0.6714313626289368, 0.7051224112510681, -0.014606512151658535, -0.5164490938186646, -0.03879309445619583, -0.40231016278266907, -0.8312287926673889, 0.2532995343208313, 0.07683739066123962, -0.7184833884239197, -0.02317908965051174, 0.4054749310016632, -0.30150970816612244, -0.09284437447786331, -0.7645635008811951, 0.6282950639724731, -0.0034649816807359457, -0.2602994740009308, -0.11646188795566559, -0.49937885999679565, 0.27965018153190613, 0.17202770709991455, 0.003437155857682228, -0.34735849499702454, 0.36159995198249817, 0.1168932169675827, -0.7183233499526978, 1.1105097532272339, -0.3344306945800781, -0.1224687322974205, 0.3781881332397461, 0.27622243762016296, 0.8855190873146057, 0.07867444306612015, -0.2744593024253845, -0.16387209296226501, -0.15639859437942505, -0.30393290519714355, -0.690292477607727, 0.7312323451042175, -0.5343055725097656, -1.05213463306427, -0.37770846486091614, -0.5307576656341553, -0.40654340386390686, -0.11152418702840805, 0.23261849582195282, 0.5265982747077942, -0.3292662501335144, -0.09303371608257294, 0.6063402891159058, -0.0915398970246315, 0.06339312344789505, 0.7904704213142395, 0.03596732020378113, 0.26926735043525696, 0.929754376411438, 0.012527445331215858, 0.39870890974998474, 0.04365956410765648, 0.15358123183250427, -0.27225223183631897, -0.40767019987106323, -0.5006287693977356, 0.10314992815256119, -0.44460731744766235, -0.2136111855506897, -0.8064423203468323, -0.1626087725162506, -0.5033201575279236, -0.004940561018884182, -0.12917828559875488, -0.09789552539587021, -0.412749707698822, -0.09443123638629913, 0.3827511668205261, 0.3916596472263336, 0.03578084334731102, 0.32535240054130554, -0.5080505609512329, 0.5284922122955322, 0.3774105906486511, -0.11028479039669037, -0.3587791323661804, -0.5981731414794922, 0.20042891800403595, 0.33389830589294434, -0.14642544090747833, -0.35584574937820435, 0.5860517024993896, 0.16054415702819824, 0.41778698563575745, 0.1221274584531784, 0.384014368057251, 0.8189084529876709, -0.6091720461845398, 0.8326963186264038, -0.02932831645011902, -0.9153734445571899, 0.7089956402778625, -0.5827727913856506, 0.47499924898147583, 0.44845083355903625, 0.3981165885925293, -0.5398350358009338, -0.4330942630767822, -0.5001533627510071, -0.7545891404151917, 0.9485454559326172, 0.1719433069229126, 0.6434469223022461, 0.08082034438848495, 0.33025017380714417, 0.28821176290512085, 0.06444906443357468, -0.465675413608551, -0.026706529781222343, 0.11037054657936096, -0.0011382604716345668, 0.19818463921546936, -0.0845227763056755, -0.35504135489463806, -0.18187539279460907, 0.5703317523002625, -0.4198671579360962, 0.2896787226200104, 0.2030893713235855, -0.08677449077367783, -0.05665898695588112, 0.23070749640464783, 0.4179478585720062, 0.5728939175605774, -0.2941383421421051, 0.12736988067626953, 0.255950927734375, -0.1240469440817833, 0.14276669919490814, 0.048323918133974075, -0.31061607599258423, 0.19396546483039856, 0.05536095052957535, 1.0565688610076904, 0.08702675998210907, -0.9892870187759399, 0.38179075717926025, -0.3595784306526184, -0.01463362853974104, -0.4814695119857788, 0.2505919337272644, -0.04358586668968201, 0.020113447681069374, 0.1564941257238388, 0.12071514129638672, 0.252928763628006, -0.7609526515007019, 0.12551476061344147, 0.34512579441070557, -0.5557063817977905, -0.5735053420066833, 0.35178592801094055, 0.532767117023468, -0.37366533279418945, 0.8758582472801208, -0.09647130221128464, -0.2042209655046463, 0.5072647929191589, 0.6828017234802246, 0.7916757464408875, -0.1450476497411728, 0.44474396109580994, 0.2520088255405426, 0.03949315845966339, 0.023704707622528076, 0.35111841559410095, -0.2517223656177521, -0.6294880509376526, -0.3043595552444458, -0.2597452700138092, -0.6482660174369812, 0.01826796866953373, -0.677172064781189, 0.4275610148906708, -0.38608720898628235, -0.24616730213165283, 0.01578647643327713, -0.31471535563468933, -0.9664109349250793, 0.06472722440958023, -0.19959568977355957, 0.7276261448860168, -0.5703547596931458, 0.808504045009613, 0.40782925486564636, -0.10297321528196335, -0.5302444100379944, 0.01925543323159218, 0.18469767272472382, -0.6168357729911804, 1.0221211910247803, -0.1513921618461609, -0.17844580113887787, -0.17383183538913727, -0.6041972041130066, -0.7187427878379822, 0.7605782151222229, 0.7509179711341858, -0.5655962228775024, -0.23076708614826202, 0.4001423418521881, 0.46096542477607727, -0.3586747646331787, 0.2924429774284363, 0.5005528926849365, 0.33576515316963196, 0.13139794766902924, -0.9943690299987793, 0.10704652220010757, -0.2656397521495819, -0.05646313726902008, 0.015717346221208572, -0.5862852931022644, 0.6948188543319702, -0.1096256673336029, -0.25903403759002686, 0.1368066817522049, 0.523055374622345, 0.24139860272407532, 0.3697755038738251, 0.8076022863388062, 0.27630436420440674, 0.5308138132095337, -0.22330118715763092, 1.3066660165786743, -0.038593292236328125, -0.300809770822525, 1.4876042604446411, -0.762936532497406, 0.608878493309021, 0.6467235088348389, 0.2484009712934494, 0.4072774350643158, 0.6079950332641602, 0.22036394476890564, 0.6107116341590881, 0.5599529147148132, -0.6391928195953369, -0.20483794808387756, -0.9165948629379272, -0.11075697839260101, 0.3566420078277588, 0.4940105378627777, -0.053517863154411316, -0.06241730973124504, 0.22013579308986664, 0.046369340270757675, 0.009394562803208828, 0.12763890624046326, 0.9636500477790833, -0.007950916886329651, -1.0632878541946411, 0.5289863348007202, -0.03820616006851196, 0.41087162494659424, -0.7041154503822327, -0.10840154439210892, -0.34380337595939636, -0.15103985369205475, -0.010804185643792152, -0.2833158075809479, 0.2162892371416092, 0.45342567563056946, -0.015723349526524544, -0.4405040144920349, 0.507884681224823, -0.2344975620508194, -0.46255242824554443, 0.22699150443077087, 0.49182093143463135, 0.06595472246408463, -0.0658123716711998, -0.7396666407585144, 0.11397693306207657, 0.05588221177458763, -0.3367745876312256, 0.2994142472743988, 0.25463730096817017, -0.20383232831954956, 0.816516101360321, 0.6932366490364075, 0.10523800551891327, 0.003865380771458149, 0.2918113172054291, 0.9047139883041382, -0.5057735443115234, -0.10054273903369904, -0.5769616961479187, 0.4086834490299225, -0.14712722599506378, -0.2675624489784241, 0.6074022054672241, 0.23622500896453857, 0.6624397039413452, -0.0455506332218647, 0.9895879626274109, -0.17944754660129547, 0.6148467063903809, -0.5396719574928284, 0.04310845956206322, -0.33329302072525024, 0.34899139404296875, -0.2004774957895279, -0.965537965297699, 0.09240249544382095, 0.29995495080947876, -0.09029623866081238, -0.3002025783061981, 0.2858361601829529, 0.9176189303398132, -0.32751980423927307, 0.20242151618003845, 0.1312900185585022, 0.2664533853530884, 0.5290017127990723, 0.3659851849079132, 1.1197559833526611, -0.1964820921421051, 0.35978808999061584, -0.35394036769866943, 0.15740478038787842, -0.21026401221752167, -0.8898620009422302, -0.7875379323959351, -0.7698961496353149, -0.5229746699333191, -0.3413916528224945, 0.1525995135307312, 1.1612753868103027, 0.8498342037200928, -0.6854870319366455, -0.3569033145904541, -0.29745298624038696, -0.15416084229946136, -0.05680013820528984, -0.28069359064102173, -0.02111058309674263, -0.19994832575321198, -1.0142732858657837, 0.7116484642028809, 0.0856640413403511, 0.06972286105155945, -0.3249998390674591, -0.03249426931142807, -0.003971681464463472, 0.4286147356033325, 0.4835446774959564, 0.36336439847946167, -0.8491131067276001, -0.37524139881134033, 0.1485174000263214, -0.11604055762290955, -0.08906830847263336, 1.0476555824279785, -0.8612060546875, 0.5048267841339111, 0.4386643171310425, 0.524265468120575, 0.5393481254577637, 0.014814740046858788, 1.0280916690826416, -0.9579272866249084, 0.19717442989349365, 0.4403326213359833, 0.157626211643219, 0.30469584465026855, -0.4432171881198883, 0.5700764060020447, 0.0519057996571064, -0.1171012744307518, -1.1082569360733032, 0.3730040192604065, -0.9458362460136414, -0.02368282526731491, 1.1458061933517456, -0.27943894267082214, 0.05559723451733589, -0.3165157735347748, -0.4888807237148285, -0.09931468218564987, -0.5005691647529602, 0.6492276787757874, 0.5701100826263428, -0.36995285749435425, 0.09586817026138306, -0.7097897529602051, 0.6050965785980225, 0.6239905953407288, -1.0533815622329712, 0.4119168519973755, 0.6152473092079163, 0.1723869889974594, 0.07484198361635208, 0.6531220078468323, 0.3494815230369568, 0.025335729122161865, -0.2298973798751831, -0.41012439131736755, 0.2599391043186188, -0.22355277836322784, 0.10717561095952988, -0.06544962525367737, -0.056184180080890656, 0.11677699536085129 ]
http://arxiv.org/abs/2406.07791v1
http://arxiv.org/pdf/2406.07791v1
Judging the Judges: A Systematic Investigation of Position Bias in Pairwise Comparative Assessments by LLMs
2024-06-12T01:12:28
2024-06-12T01:12:28
Lin Shi, Weicheng Ma, Soroush Vosoughi
cs.CL
cs.CL, cs.AI
LLM-as-a-Judge offers a promising alternative to human judges across various tasks, yet inherent biases, particularly position bias - a systematic preference for answers based on their position in the prompt - compromise its effectiveness. Our study investigates this issue by developing a framework to systematically study and quantify position bias using metrics such as repetitional consistency, positional consistency, and positional fairness. We conduct experiments with 9 judge models across 22 tasks from the MTBench and DevBench benchmarks and nearly 40 answer-generating models, generating approximately 80,000 evaluation instances. This comprehensive assessment reveals significant variations in bias across judges and tasks. Although GPT-4 often excels in positional consistency and fairness, some more cost-effective models perform comparably or even better in specific tasks, highlighting essential trade-offs between consistency, fairness, and cost. Our results also demonstrate high consistency of judgment across repetitions, confirming that position bias is not due to random variations. This research significantly contributes to the field by introducing new concepts for understanding position bias and providing a multi-dimensional framework for evaluation. These insights guide the selection of optimal judge models, enhance benchmark design, and lay the foundation for future research into effective debiasing strategies, ultimately enhancing the reliability of LLM evaluators.
[ -0.46851107478141785, -0.17550237476825714, 1.0794858932495117, 0.17040212452411652, -0.05595967546105385, -0.156757652759552, 0.022572020068764687, -0.3684346377849579, 0.22572176158428192, 0.21124255657196045, -0.15113423764705658, -0.3707196116447449, -0.891384482383728, 0.07062516361474991, -0.3160863220691681, 0.7251103520393372, -0.09594102948904037, 0.6327743530273438, -0.352402001619339, -0.34123966097831726, -0.705735981464386, -0.6123502254486084, -0.40083667635917664, -0.5240660905838013, 0.4662545919418335, 0.400552362203598, 0.7336859107017517, 0.4048725962638855, 0.5277777314186096, 0.23326100409030914, -0.12853294610977173, -0.16688795387744904, -0.24154601991176605, 0.06765808910131454, -0.4870327115058899, -0.5613299608230591, -0.45903825759887695, 0.7687953114509583, 0.389890193939209, 0.8099861741065979, -0.39774999022483826, 0.16300079226493835, -0.03280049189925194, 0.6024627685546875, -0.6801922917366028, -0.17994104325771332, -0.5293024778366089, 0.20484167337417603, -0.3646955192089081, -0.2386946827173233, -0.3594210147857666, -0.6086810827255249, 0.07154101133346558, -0.44457465410232544, 0.35486671328544617, 0.12904757261276245, 0.5981729626655579, 0.35405176877975464, -0.9324942827224731, 0.11274591833353043, -0.43133431673049927, 0.7419242858886719, -0.5552148818969727, 0.4144454300403595, 0.45353418588638306, 0.3437574803829193, 0.10136847198009491, -0.5599314570426941, -0.2989642322063446, -0.4066756069660187, -0.07254127413034439, 0.43137046694755554, 0.1728518307209015, 0.06916839629411697, 0.4813167452812195, 0.2150689959526062, -0.3424040973186493, 0.22893553972244263, -0.016407901421189308, -0.010252274572849274, 0.6003333926200867, 0.1983654946088791, -0.0717742070555687, -0.4021800458431244, -0.35839954018592834, -0.05425267294049263, -0.6216181516647339, 0.2842603325843811, 0.674088716506958, -0.017954107373952866, 0.20688438415527344, 0.39710533618927, -0.5125283598899841, 0.7076717019081116, 0.5824964642524719, 0.0857248604297638, -0.03643941879272461, -0.3000660240650177, -0.1205618679523468, -0.07732760906219482, 0.6020187735557556, 0.8844493627548218, -0.041010335087776184, -0.133377343416214, -0.2890745997428894, 0.21928411722183228, 0.7830776572227478, -0.46605178713798523, -0.16687564551830292, -0.06275812536478043, -0.6337108016014099, -0.6172641515731812, 0.410826712846756, -0.662041962146759, -0.7241687774658203, -0.6541434526443481, 0.3806774616241455, 0.1884402632713318, 0.08662031590938568, -0.0072806719690561295, -0.2432449460029602, 0.14672578871250153, 0.28123241662979126, -0.8682671189308167, 0.48968732357025146, 0.7751910090446472, 0.4054570198059082, -0.6108807325363159, -0.379225492477417, -0.600673258304596, -0.1402326077222824, -0.3928605616092682, 0.9383111000061035, -0.5406705141067505, -0.6418090462684631, -0.2629839777946472, -0.23195409774780273, 0.13594527542591095, -0.7976493239402771, 0.9475757479667664, -0.5031986236572266, 0.2568124234676361, -0.8612886071205139, -0.47101935744285583, 0.030522625893354416, 0.5720698237419128, -0.6706387996673584, 1.0408155918121338, 0.1019824892282486, -0.7324069738388062, 1.0295149087905884, -0.3846922218799591, -0.10290790349245071, -0.3227541148662567, -0.3874729871749878, -0.1953164041042328, 0.34578269720077515, 0.4246000647544861, 0.04982537403702736, -0.278544157743454, 0.4705412983894348, -0.4449930191040039, -0.7286711931228638, 0.21248523890972137, -0.32990723848342896, 0.4181217551231384, 0.10945790261030197, -0.519997239112854, 0.21998187899589539, -0.5199871063232422, -0.06827761977910995, 0.03327754884958267, -0.24457646906375885, -0.2744360864162445, 0.15356546640396118, -0.33045604825019836, 0.15096619725227356, -0.03815523162484169, -0.3983907401561737, 0.11801028996706009, -0.1273137480020523, 0.2192486822605133, 1.049169898033142, 0.005982476286590099, 0.7577878832817078, -0.5248150825500488, 0.6456961631774902, -0.0733671635389328, 0.47268128395080566, 0.31041139364242554, -0.3080015778541565, -0.3874053657054901, 0.226557657122612, 0.6565950512886047, 0.4243929088115692, -0.3377417027950287, 0.18231989443302155, -0.16474491357803345, -0.1609705239534378, -0.5254132747650146, -0.006971626076847315, 0.31858766078948975, 0.5907232761383057, 0.15641151368618011, -0.8101752400398254, -0.3264502286911011, -1.1029585599899292, -0.6229671835899353, 0.018789304420351982, 0.07441404461860657, 0.13657066226005554, 0.38271692395210266, 0.23542939126491547, 0.9024584293365479, -0.035963024944067, 0.15687040984630585, 0.15700329840183258, -0.02027958631515503, 0.44047147035598755, 0.33273082971572876, 0.6108595728874207, -0.6241447329521179, -0.35584524273872375, -0.5052780508995056, -0.83067786693573, -0.49061277508735657, 0.0613505057990551, -0.5056814551353455, -0.15942339599132538, 0.2229345291852951, -0.5251603722572327, 0.598163902759552, 0.3128725290298462, -0.4575423002243042, 0.8439489006996155, 0.0341801755130291, 0.5563870668411255, -0.38984906673431396, 0.06772401183843613, -0.07495923340320587, -0.3498046100139618, -0.34631583094596863, 0.14917726814746857, 0.11348458379507065, 0.4595010280609131, -0.2503659725189209, 0.5929497480392456, -0.3555000126361847, -0.5077106356620789, -0.41187652945518494, 0.5173183083534241, 0.30693942308425903, 0.24431155622005463, -0.2480892688035965, 0.6049318313598633, -0.02531411685049534, -0.31404611468315125, 0.38208436965942383, 0.27825164794921875, -0.5394189953804016, 1.2758151292800903, -0.585207998752594, 0.33917245268821716, 0.23572011291980743, 0.5455141663551331, -0.7804641127586365, 0.06052841991186142, 0.30728456377983093, -0.18949392437934875, 0.2935826778411865, -0.45696693658828735, -0.4908697009086609, -0.5295789241790771, -0.5360890030860901, 0.4460624158382416, 0.2543652355670929, -0.6871623992919922, 0.18731239438056946, 0.2335120439529419, -0.23528005182743073, -0.9914765954017639, -0.3419012725353241, 0.0146047193557024, -0.4107336699962616, -0.42199045419692993, 0.5472109913825989, -0.05535001680254936, -0.7704477906227112, -0.1534736007452011, -0.7554044127464294, 0.405355304479599, 0.25442907214164734, 0.2670016586780548, 0.1631019413471222, 0.19686105847358704, -0.156066432595253, -0.15668213367462158, -0.37458398938179016, 0.17090871930122375, -0.2712421417236328, 0.30025479197502136, 0.18215273320674896, -0.938694179058075, -0.4656483829021454, 0.20512397587299347, 0.25846096873283386, -0.010845895856618881, 0.16786086559295654, 0.1374012529850006, -0.01932697370648384, -0.0003079746675211936, -0.8161841630935669, -0.1188027560710907, -0.4016001522541046, 0.02305871620774269, -0.49612146615982056, -0.5605073571205139, 0.44218775629997253, 0.31216734647750854, 0.1320733278989792, 0.2301078587770462, 0.5719712972640991, -0.1780947595834732, 1.01955246925354, 0.3745426535606384, -0.2728830575942993, 0.5355411767959595, 0.17301048338413239, 0.13140389323234558, -0.8072651028633118, -0.08839094638824463, -0.5191566944122314, -0.8746364712715149, -0.38275858759880066, -0.3101550340652466, 0.44311589002609253, 0.2849067151546478, -0.5658342838287354, -0.16065102815628052, -0.5579253435134888, 0.6529621481895447, 0.9649825692176819, 0.23425349593162537, 0.3816753625869751, -0.2892427146434784, -0.5051645636558533, -0.045457907021045685, -0.2937818169593811, -0.6696814298629761, 1.2538187503814697, 0.18715550005435944, 0.4920845627784729, 0.014315922744572163, 0.8057986497879028, 0.423539936542511, 0.3871280252933502, -0.61810302734375, 0.4170350134372711, 0.02115047164261341, -0.6507555246353149, -0.04008884355425835, -0.13113939762115479, -0.5508817434310913, 0.7778915762901306, 0.08426882326602936, -0.5019741058349609, 0.22250552475452423, 0.17085027694702148, -0.42263129353523254, 0.23231011629104614, -0.4579443633556366, 0.9096473455429077, -0.5434962511062622, -0.6708889007568359, -0.20725083351135254, -0.7550097107887268, 0.21559806168079376, 0.11685572564601898, 0.1440621167421341, -0.20443078875541687, 0.062129102647304535, 0.63103848695755, -0.4077962636947632, 0.5683035850524902, -0.8294453024864197, -0.12474974989891052, 0.05412014573812485, 0.29835179448127747, 0.5508662462234497, 0.2904905378818512, -0.5038350224494934, 0.05288702994585037, 0.03332647681236267, -0.43528929352760315, -0.6266723871231079, 0.6075506210327148, -0.6421629190444946, -0.7898840308189392, -0.5223454236984253, -0.4734111428260803, -0.5644320845603943, 0.014120474457740784, 0.17379158735275269, 0.28191685676574707, -0.2754893898963928, -0.2789185047149658, 0.3567187190055847, -0.15051785111427307, 0.10813011974096298, 0.5619183778762817, -0.13975653052330017, -0.2344275414943695, 0.2087198793888092, -0.11998070776462555, 0.006869001314043999, 0.3336651623249054, 0.20538504421710968, -0.45392924547195435, -0.7662726640701294, -0.37870073318481445, -0.01972576603293419, -0.8081300854682922, -0.09386953711509705, -0.2203352153301239, 0.28117650747299194, -0.24657593667507172, -0.341591477394104, -0.23879867792129517, -0.6243936419487, 0.27313852310180664, -0.6808043718338013, -0.06484092026948929, 0.8710572123527527, -0.13435299694538116, 0.38368064165115356, -0.11024308204650879, 0.3670937418937683, 0.47566190361976624, 0.5424556732177734, -0.10862446576356888, -0.6996021270751953, 0.26879769563674927, -0.08563916385173798, -0.6032264232635498, -0.6572344303131104, 0.04555150493979454, -0.5361652374267578, 1.0534709692001343, 0.3658643960952759, -0.1317926049232483, 0.62318354845047, -0.5393002033233643, 0.9498279094696045, 0.24222618341445923, -0.9411293268203735, 0.5349231362342834, -0.38020268082618713, 0.07132889330387115, 0.8248822093009949, -0.03711681813001633, -0.46220725774765015, -0.2489238828420639, -0.6124486327171326, -0.7290573716163635, 0.9588907957077026, -0.004866764415055513, -0.26636651158332825, 0.0045920745469629765, 0.4331022799015045, 0.3074021339416504, 0.47135791182518005, -0.7831709980964661, -0.16394445300102234, -0.15406545996665955, -0.0168102215975523, -0.10395326465368271, -0.3553584814071655, -0.5008587837219238, -0.16802090406417847, 0.39425310492515564, 0.07553566247224808, 0.21673904359340668, 0.11985815316438675, -0.31255042552948, -0.04185148701071739, 0.3827195465564728, 0.5509346127510071, 0.867871880531311, -0.17228689789772034, 0.38378626108169556, 0.40252840518951416, 0.07276179641485214, 0.24779760837554932, 0.09248072654008865, -0.31392931938171387, -0.05411810800433159, 0.11647667735815048, 0.5703319311141968, 0.45372986793518066, -0.18464279174804688, 0.6558491587638855, 0.09986122697591782, -0.27932560443878174, -0.27997761964797974, -0.1634751409292221, -0.07047086209058762, 0.5251348614692688, 0.013738466426730156, 0.16828693449497223, 0.36967092752456665, -0.3562466502189636, 0.4082131087779999, 0.396269291639328, -0.4253144860267639, -0.2135317623615265, 1.034973382949829, 0.27116909623146057, -0.05577012524008751, 0.4829121530056, -0.22046051919460297, -0.5158465504646301, 0.7171290516853333, 0.06054011732339859, 0.5728728175163269, -0.07109460979700089, 0.10160631686449051, 0.11262674629688263, -0.01174593809992075, -0.5868105888366699, 0.2242787480354309, -0.26736244559288025, -0.694213330745697, 0.0740710198879242, -0.5544187426567078, -0.6879605650901794, -0.4380551278591156, -0.9678863883018494, 0.13105453550815582, -0.40136560797691345, -0.6433829069137573, -0.1548766791820526, 0.12291346490383148, -0.9030085802078247, 0.0034396799746900797, 0.3853405714035034, 0.8718093037605286, -0.5396562814712524, 0.5787088871002197, 0.702752411365509, -0.2705628275871277, -0.5464352965354919, -0.04950869083404541, 0.4245942234992981, -0.9985578060150146, 0.5833317637443542, 0.2512822449207306, -0.07890743762254715, -0.5651633143424988, -0.5367632508277893, -0.5256731510162354, 1.2194652557373047, 0.330762654542923, -0.6286042928695679, -0.05736285820603371, -0.11978267878293991, 0.4534878730773926, -0.13762623071670532, 0.695301353931427, 0.8395193219184875, 0.7016889452934265, -0.3400062024593353, -1.180613398551941, 0.015873398631811142, -0.19233407080173492, 0.03974303603172302, 0.18923942744731903, -0.9168863296508789, 0.4510033428668976, -0.0753762349486351, 0.33091822266578674, 0.24690212309360504, 0.1371278315782547, 0.6177246570587158, 0.5798426270484924, 0.6032865047454834, 0.6895697116851807, 0.8309038281440735, -0.31461232900619507, 1.2020803689956665, -0.2484624683856964, 0.2699454128742218, 1.2916542291641235, -0.767708420753479, 0.5021700859069824, 0.67391037940979, -0.42266738414764404, 0.5103839039802551, 0.7426925301551819, -0.33554282784461975, 0.5850356221199036, 0.5156874060630798, -0.10958149284124374, -0.19531749188899994, 0.01233496144413948, -0.22048217058181763, 0.33539894223213196, -0.16689002513885498, -0.5016102194786072, -0.08341734111309052, -0.3115748465061188, -0.12121602147817612, 0.2853502631187439, -0.38903504610061646, 0.36142992973327637, 0.33458033204078674, -0.9266082048416138, -0.06549835205078125, 0.2782674729824066, 0.8106837868690491, -0.4120217263698578, 0.3193728029727936, -0.5045103430747986, 0.16784299910068512, -0.1912238746881485, -0.7482751607894897, -0.06041201204061508, 0.03371212258934975, -0.41477611660957336, -0.7647345066070557, 0.37552502751350403, 0.11525338143110275, -0.18643487989902496, 0.5295180678367615, 0.6689008474349976, 0.043858740478754044, -0.1006166934967041, -0.7009541392326355, -0.0538569912314415, -0.21181495487689972, -0.44222143292427063, 0.42942044138908386, 0.3190056085586548, -0.2104959338903427, 0.3147127330303192, 0.21672821044921875, 0.030770983546972275, 0.1598213165998459, 0.6279467940330505, 0.38059625029563904, -0.9238005876541138, -0.5689988732337952, -0.7120745778083801, 0.3527410924434662, -0.2267000675201416, -0.11314179748296738, 0.7466320395469666, 0.40072593092918396, 0.852719247341156, 0.09118703752756119, 0.6668273210525513, 0.042374465614557266, 0.6275956034660339, -0.5194965600967407, 0.46265459060668945, -0.4780493676662445, 0.37532955408096313, -0.3155979812145233, -0.8762527108192444, -0.03535926342010498, 0.6498823165893555, -0.6505658030509949, 0.39202091097831726, 0.6925097703933716, 0.44969990849494934, -0.08628208190202713, 0.08265478163957596, 0.19934646785259247, -0.000436771078966558, 0.26748591661453247, 0.49229690432548523, 1.1999506950378418, -0.25407466292381287, 0.2897208333015442, -0.30994802713394165, -0.10293751209974289, -0.12446962296962738, -0.5885072350502014, -0.6663171648979187, 0.13814352452754974, -0.08319677412509918, -0.08191996067762375, -0.021975265815854073, 0.719769299030304, 0.829207718372345, -0.897654116153717, -0.3708503544330597, 0.3193355202674866, 0.11294405162334442, -0.46397802233695984, -0.16708596050739288, 0.24670837819576263, -0.21781010925769806, -0.788628101348877, 0.4866519868373871, 0.08350303769111633, -0.4305519461631775, 0.18582385778427124, -0.09164638817310333, 0.16589608788490295, -0.19461064040660858, 0.48371532559394836, -0.17142926156520844, -0.9330058693885803, -0.5653796792030334, -0.21483579277992249, -0.20868459343910217, 0.22459492087364197, 0.8912184834480286, -0.8031840920448303, 0.4632759094238281, 0.3450884521007538, 0.3091394007205963, 0.3682344853878021, 0.6167623996734619, 0.689421534538269, -0.6741693615913391, 0.029193172231316566, 0.08793207257986069, 0.6976028084754944, 0.10159945487976074, -0.09944993257522583, 0.792123556137085, 0.36463576555252075, -0.7163361310958862, -0.798786997795105, 0.2820214629173279, -1.1757283210754395, -0.10131335258483887, 0.8874885439872742, 0.14718864858150482, 0.4203394055366516, 0.09920119494199753, -0.17136934399604797, 0.02148127742111683, -0.4335084557533264, 0.9152085185050964, 1.049506425857544, -0.4433301091194153, 0.047365061938762665, -0.8718582987785339, 0.2185424268245697, 0.7153796553611755, -0.3613027036190033, -0.2870379090309143, 0.5849774479866028, 0.6775434613227844, -0.1625944823026657, 0.8505772948265076, -0.42417868971824646, 0.21516695618629456, -0.056382279843091965, -0.004971442744135857, 0.06641582399606705, -0.17326080799102783, -0.6485918164253235, 0.2740861177444458, 0.26868176460266113, 0.0074057746678590775 ]
http://arxiv.org/abs/2406.07780v1
http://arxiv.org/pdf/2406.07780v1
A Critical Look At Tokenwise Reward-Guided Text Generation
2024-06-12T00:19:40
2024-06-12T00:19:40
Ahmad Rashid, Ruotian Wu, Julia Grosse, Agustinus Kristiadi, Pascal Poupart
cs.LG
cs.LG, cs.CL
Large language models (LLMs) can significantly be improved by aligning to human preferences -- the so-called reinforcement learning from human feedback (RLHF). However, the cost of fine-tuning an LLM is prohibitive for many users. Due to their ability to bypass LLM finetuning, tokenwise reward-guided text generation (RGTG) methods have recently been proposed. They use a reward model trained on full sequences to score partial sequences during a tokenwise decoding, in a bid to steer the generation towards sequences with high rewards. However, these methods have so far been only heuristically motivated and poorly analyzed. In this work, we show that reward models trained on full sequences are not compatible with scoring partial sequences. To alleviate this issue, we propose to explicitly train a Bradley-Terry reward model on partial sequences, and autoregressively sample from the implied tokenwise policy during decoding time. We study the property of this reward model and the implied policy. In particular, we show that this policy is proportional to the ratio of two distinct RLHF policies. We show that our simple approach outperforms previous RGTG methods and achieves similar performance as strong offline baselines but without large-scale LLM finetuning.
[ -0.06918271631002426, -0.4406874477863312, 0.5221293568611145, 0.07590754330158234, -0.3042850196361542, 0.022388095036149025, -0.480917751789093, -0.24774238467216492, 0.04187518358230591, 0.5679656863212585, -0.7536161541938782, -0.4270140528678894, -0.6307386755943298, 0.31410497426986694, -0.10021660476922989, 1.3104028701782227, -0.09894587099552155, -0.1484757363796234, 0.0720808207988739, -0.08155948668718338, -0.518869161605835, -0.5491403937339783, -0.890372097492218, -0.4517833888530731, 0.8883023858070374, 0.3957160711288452, 0.5619869232177734, 0.8269708156585693, 0.1935003697872162, 0.1722053438425064, -0.08669057488441467, 0.40621694922447205, -0.6389886140823364, 0.08758325129747391, -0.09563719481229782, -0.5550026297569275, -0.1477571725845337, 0.13390806317329407, 0.3413379192352295, 0.22328293323516846, -0.27733880281448364, -0.11408212035894394, 0.08013929426670074, 0.7187343239784241, -0.49560827016830444, 0.14552618563175201, -0.5718342661857605, 0.32882755994796753, 0.1525985449552536, -0.41744303703308105, -0.7687404155731201, -0.473257839679718, -0.01960562728345394, -0.5233559012413025, 0.06367339938879013, 0.2872548997402191, 0.8336037397384644, 0.2640080451965332, -0.5644107460975647, -0.4474693834781647, -0.3987123370170593, 0.8561325073242188, -0.732995867729187, 0.03194553032517433, 0.4825415313243866, -0.06076459214091301, -0.25903838872909546, -0.4900418519973755, -0.4443013370037079, -0.5137518048286438, -0.17539887130260468, 0.20694522559642792, 0.006071641109883785, 0.501976490020752, 0.3463873267173767, 0.2863018214702606, -0.4476052522659302, 0.23349589109420776, -0.14260174334049225, -0.19794373214244843, 0.49059873819351196, 0.23651476204395294, -0.060691073536872864, -0.6645546555519104, -0.6180402040481567, -0.42530572414398193, -0.9552727341651917, 0.41288089752197266, 0.6528844833374023, 0.49710920453071594, -0.08583522588014603, 0.5285733342170715, 0.03909440338611603, 0.6536104679107666, 0.13592089712619781, -0.11125385016202927, -0.07537755370140076, -0.2623152732849121, -0.1327807903289795, 0.17110799252986908, 0.900540292263031, 0.20764152705669403, 0.2509865462779999, -0.22288687527179718, -0.5525548458099365, -0.1804165542125702, 0.32865285873413086, -0.7549341917037964, -0.025077398866415024, 0.23480695486068726, -0.5228118896484375, -0.5708348751068115, 0.17981721460819244, -0.27574434876441956, -0.24254395067691803, -0.3515145778656006, 0.34867846965789795, -0.2512941062450409, -0.0804673284292221, 0.09439408034086227, -0.14769774675369263, 0.21105967462062836, 0.04065469279885292, -1.0726711750030518, -0.15048879384994507, 0.7963539361953735, 0.7710294723510742, -0.3590252101421356, -0.3227045238018036, -0.930186927318573, 0.0828721672296524, -0.2666396200656891, 0.5897236466407776, -0.41491103172302246, -0.6342563033103943, 0.30449825525283813, -0.009629188105463982, 0.14495736360549927, -0.4513096511363983, 0.6545001864433289, -0.409229040145874, 0.12033981084823608, -0.4108111262321472, -0.5264288783073425, 0.10773784667253494, 0.43956127762794495, -0.5980497598648071, 0.8847872018814087, 0.2069021314382553, -0.6868011355400085, 0.6353384852409363, -0.33649328351020813, -0.5688494443893433, -0.13377468287944794, -0.2897084653377533, -0.48216795921325684, 0.16798192262649536, 0.21769019961357117, 0.3813202679157257, -0.20024926960468292, 0.7278639674186707, -0.1898457258939743, -0.5928959846496582, 0.3239811360836029, -0.6330678462982178, 0.2131386548280716, 0.25404614210128784, -0.5954743027687073, 0.407772958278656, -0.5358512997627258, -0.004733372945338488, -0.07556010782718658, -0.7336273789405823, -0.1149333119392395, 0.034242816269397736, 0.07794018089771271, 0.18832333385944366, 0.05285456031560898, -0.3829721212387085, 0.47107189893722534, -0.47125518321990967, 0.6236554980278015, 1.2729980945587158, -0.14869870245456696, 0.5024611353874207, -0.39286625385284424, 0.6585026383399963, -0.027309872210025787, 0.20977924764156342, -0.25156253576278687, -0.09511326998472214, -0.694844126701355, -0.3140491545200348, 0.5801477432250977, 0.3563445508480072, -0.7102031707763672, 0.5490012764930725, -0.1076737716794014, -0.04536599665880203, -0.3019144833087921, -0.14397935569286346, 0.5593014359474182, 0.32473504543304443, 0.22826652228832245, -0.16615882515907288, -0.31218379735946655, -0.8411545753479004, -0.3479878306388855, -0.2760259211063385, 0.062194839119911194, 0.5233294367790222, 0.27487605810165405, 0.004320012405514717, 0.7860433459281921, -0.4802078604698181, -0.06845077872276306, -0.34837642312049866, 0.47096186876296997, 0.20288720726966858, 0.3574817478656769, 0.2026740461587906, -0.5568159222602844, -0.3147854208946228, -0.26742151379585266, -0.35014858841896057, -0.05033959448337555, -0.4090181887149811, -0.0899624228477478, 0.4048091769218445, 0.46277374029159546, -0.41427868604660034, 0.3751142621040344, 0.468383252620697, -0.5132275819778442, 0.28922775387763977, -0.4174591898918152, 0.2149822860956192, -0.8163930177688599, -0.032968178391456604, -0.11501310765743256, -0.6593305468559265, -0.2691894769668579, 0.07408618927001953, 0.0713878720998764, 0.024175386875867844, -0.27130165696144104, 0.5297320485115051, -0.25991469621658325, -0.01802653819322586, -0.6678470373153687, -0.13806366920471191, -0.04661225154995918, 0.8632246851921082, 0.16239716112613678, 0.8380845785140991, 0.012574992142617702, -0.584029495716095, 0.2035045623779297, 0.2522636950016022, -0.042523693293333054, 0.31381261348724365, -0.5588553547859192, 0.06469161808490753, -0.03244244307279587, 0.47944724559783936, -0.7879271507263184, -0.15573574602603912, 0.29248446226119995, -0.422841876745224, 0.36557406187057495, 0.02377389743924141, -0.434779554605484, -0.1601739078760147, -0.44596949219703674, 0.49242541193962097, 0.6215848922729492, -0.9560790657997131, 0.42847222089767456, 0.04902283102273941, -0.013984665274620056, -0.6017419695854187, -0.5747267603874207, 0.05573125556111336, -0.34097903966903687, -0.2923646867275238, 0.42496129870414734, 0.144737109541893, 0.14772577583789825, -0.07939859479665756, -0.11511692404747009, 0.4984973669052124, -0.050357017666101456, 0.33903223276138306, 0.3402956426143646, 0.17766812443733215, 0.23446743190288544, 0.027439847588539124, -0.27237510681152344, 0.04425480216741562, -0.5311650037765503, 0.44009435176849365, 0.2529985308647156, -0.33730223774909973, -0.17209267616271973, 0.36726897954940796, 0.1504656821489334, -0.033178962767124176, 0.6377639770507812, 0.6405676007270813, 0.045169293880462646, -0.35901933908462524, -0.2916066348552704, -0.37641623616218567, -0.4537527859210968, 0.3613017797470093, -0.181786447763443, -1.206847906112671, 0.22436591982841492, -0.051178574562072754, 0.18201397359371185, 0.30124038457870483, 0.47244274616241455, 0.16645324230194092, 1.1770099401474, 0.6684114336967468, 0.011327823624014854, 0.5843230485916138, 0.04062945768237114, 0.10653573274612427, -0.48017260432243347, -0.34893909096717834, -0.41454052925109863, -0.2524418830871582, -0.7303589582443237, -0.011327791959047318, 0.34214621782302856, 0.1429477483034134, -0.33129072189331055, 0.12380579113960266, -0.551293134689331, 0.4853544533252716, 0.8017037510871887, 0.23032070696353912, 0.18922044336795807, 0.021537335589528084, -0.17023810744285583, 0.1820223480463028, -0.9550936818122864, -0.3299283981323242, 1.1651548147201538, 0.18413645029067993, 0.7906829118728638, -0.013604751788079739, 0.7845272421836853, 0.578001081943512, 0.2529238760471344, -0.7050108909606934, 0.20548789203166962, -0.18216156959533691, -0.18479768931865692, -0.35944467782974243, -0.7163049578666687, -0.9735841155052185, -0.0019952200818806887, -0.3567329943180084, -0.33366748690605164, -0.09965351969003677, 0.37965407967567444, -0.5338155031204224, 0.14052250981330872, -0.5945228934288025, 0.726487398147583, -0.26839739084243774, -0.4500728249549866, -0.28195399045944214, -0.5500546097755432, 0.4512743651866913, 0.11327313631772995, 0.048728425055742264, 0.09537137299776077, 0.21538549661636353, 0.8004146814346313, -0.583060085773468, 0.7263287305831909, -0.2447432577610016, -0.16855734586715698, 0.06937921047210693, 0.049785442650318146, 0.8926444053649902, 0.20421089231967926, 0.17652617394924164, -0.2607167363166809, -0.05254977568984032, -0.5670311450958252, -0.3251156806945801, 0.6965895295143127, -0.8581700921058655, -0.7273372411727905, -0.5538424849510193, -0.4694533348083496, -0.32108810544013977, -0.19133318960666656, 0.379524290561676, 0.4998354911804199, 0.021964237093925476, -0.14071685075759888, 0.7945631146430969, -0.5491331815719604, 0.4652877449989319, 0.04334704205393791, -0.199711874127388, -0.5086572766304016, 0.947245717048645, -0.45026513934135437, 0.37713423371315, 0.40321284532546997, 0.37475940585136414, -0.6107177734375, -0.27975335717201233, -0.48976948857307434, 0.16313566267490387, -0.6437918543815613, -0.35295915603637695, -0.21379753947257996, -0.15535064041614532, -0.2630471885204315, -0.26414626836776733, -0.08107753098011017, -0.18247529864311218, -0.4343513548374176, -0.19125068187713623, 0.45982542634010315, 0.9153809547424316, -0.2900506556034088, 0.31336936354637146, -0.9327362775802612, 0.10287433862686157, 0.3384130895137787, 0.24190321564674377, 0.19381509721279144, -0.5743650197982788, -0.25089988112449646, -0.039164211601018906, -0.1720513552427292, -0.6165897250175476, 0.24499544501304626, -0.18005426228046417, 0.2772165834903717, 0.3020147383213043, 0.15646705031394958, 0.5263920426368713, -0.5007940530776978, 0.7597677111625671, 0.5795590877532959, -0.8338732123374939, 0.14926254749298096, -0.3853255808353424, 0.22979804873466492, 0.4785284698009491, 0.030231112614274025, -0.7372137904167175, -0.20313306152820587, -0.5016269087791443, -0.9574649333953857, 1.0219066143035889, -0.024252740666270256, 0.22369137406349182, -0.21870625019073486, 0.5782343745231628, 0.2952013611793518, 0.23484843969345093, -0.931345522403717, 0.0007002550410106778, -0.40647467970848083, -0.3752342462539673, -0.004390810616314411, -0.33527886867523193, -0.1543172299861908, 0.05496643856167793, 0.6605386734008789, -0.231587752699852, 0.3201003670692444, 0.21949274837970734, 0.05410030856728554, -0.027939116582274437, 0.3578576445579529, 0.7876152396202087, 0.22871336340904236, -0.16072331368923187, 0.0365440733730793, -0.14030852913856506, -0.20303356647491455, 0.34474167227745056, -0.11647854000329971, -0.14151793718338013, -0.2660670578479767, 0.3007830083370209, 1.232150912284851, 0.13381974399089813, -0.8566624522209167, 0.7610456347465515, -0.16024352610111237, -0.5607052445411682, -0.24693243205547333, 0.14651332795619965, -0.08523917943239212, 0.29367029666900635, 0.32187601923942566, -0.15435242652893066, -0.20676523447036743, -0.43300479650497437, 0.08817176520824432, 0.4573404788970947, -0.6649657487869263, -0.013368968851864338, 0.6399019956588745, 0.32075849175453186, -0.3692486882209778, 0.6737743020057678, -0.45729494094848633, -0.6100039482116699, 0.5411725044250488, 0.47359350323677063, 0.8297887444496155, 0.4471581280231476, 0.3669213652610779, 0.43096137046813965, 0.10738443583250046, -0.386855810880661, 0.03958110883831978, -0.3373892307281494, -0.4064042270183563, -0.6256323456764221, -0.5245015025138855, -0.3148398995399475, 0.08510564267635345, -0.6439446210861206, 0.16193440556526184, -0.32363957166671753, -0.15346845984458923, -0.504546046257019, -0.28284844756126404, -0.44107967615127563, 0.10158783197402954, 0.05194869637489319, 0.8168799877166748, -0.5589593648910522, 0.6065627932548523, 0.1496497243642807, -0.38161736726760864, -1.195041537284851, 0.20721858739852905, -0.3597620725631714, -0.9479921460151672, 0.723691463470459, 0.0552423819899559, -0.07066255062818527, 0.028274916112422943, -0.4796552360057831, -0.39354631304740906, 1.029306411743164, 0.1464051455259323, -0.5927769541740417, -0.4592658579349518, 0.19390380382537842, 0.22600403428077698, -0.12589414417743683, 0.2903503179550171, 0.4544905722141266, 0.509166419506073, 0.25198379158973694, -0.6474642157554626, 0.15358956158161163, 0.24779491126537323, 0.03867756947875023, 0.4119936227798462, -0.7561363577842712, 0.578733503818512, -0.10850606858730316, -0.16169647872447968, 0.17943435907363892, 0.5294346809387207, 0.5453152656555176, -0.08149272203445435, 0.6374027132987976, 0.4576778709888458, 0.5345908999443054, -0.15282614529132843, 1.1138302087783813, -0.2086005061864853, 0.38880041241645813, 0.6573848724365234, -0.11753086745738983, 0.6823837757110596, 0.5780661702156067, 0.009890986606478691, 0.2873922884464264, 0.8686962127685547, 0.10617699474096298, 0.6951341032981873, 0.4964991807937622, -0.17039279639720917, -0.5673838257789612, -0.1743154525756836, -0.19625097513198853, 0.2591603994369507, -0.18384245038032532, -0.4443804919719696, -0.23635262250900269, 0.1078491359949112, 0.003171969670802355, 0.16083204746246338, -0.530441403388977, 0.7469683885574341, 0.05410194396972656, -1.1437140703201294, 0.49793684482574463, 0.40425533056259155, 0.9942156672477722, -0.680052638053894, -0.0657058134675026, -0.33993446826934814, 0.07474463433027267, -0.12289521843194962, -0.5353639125823975, -0.06527986377477646, 0.19602802395820618, -0.0389704555273056, -0.450094997882843, 0.4018554091453552, -0.40465047955513, -0.10422491282224655, 0.08195115625858307, 0.30744993686676025, -0.21415036916732788, 0.20566949248313904, -0.5877729058265686, -0.1750844419002533, 0.306640088558197, -0.4109981060028076, 0.4801331162452698, 0.27665936946868896, 0.07773129642009735, 0.27864083647727966, 0.7706461548805237, 0.20388928055763245, -0.03912391886115074, 0.08506374061107635, 0.594353199005127, -0.9878669381141663, -0.792277991771698, -1.0187138319015503, 0.21414631605148315, 0.1691587269306183, -0.33113881945610046, 0.3089838922023773, 0.4341704249382019, 0.8233481645584106, 0.12272816151380539, 0.7626425623893738, 0.22489500045776367, 0.2369653880596161, -1.0256530046463013, 0.36637434363365173, -0.6597556471824646, 0.19999006390571594, 0.11940188705921173, -0.6727059483528137, 0.009944283403456211, 0.49944183230400085, -0.08310981839895248, 0.11362142115831375, 0.7004752159118652, 0.7010249495506287, 0.1663733720779419, 0.05678027123212814, 0.29845282435417175, -0.22149823606014252, 0.4039214849472046, 0.8999360203742981, 1.0226974487304688, -0.020479632541537285, 0.7034624814987183, 0.3399626612663269, -0.08280765265226364, -0.06764215975999832, -0.9355034232139587, -0.979951798915863, -0.47591719031333923, 0.1219555139541626, -0.5677754282951355, 0.25339117646217346, 1.2707960605621338, 0.5399898290634155, -0.5312659740447998, -0.12671294808387756, -0.4832226037979126, 0.045517198741436005, -0.024766655638813972, -0.1968165636062622, 0.4583183526992798, -0.33639371395111084, -0.6397688388824463, 0.13380222022533417, 0.3295849859714508, -0.01280087511986494, -0.4719817340373993, -0.47351670265197754, 0.08293222635984421, 0.2768370509147644, 0.335720032453537, 0.303058385848999, -0.7649521827697754, -0.47490382194519043, 0.07281553000211716, -0.4012470543384552, 0.1364586502313614, 1.186128854751587, -0.8541896939277649, -0.07024208456277847, 0.385189950466156, 0.7986652851104736, 0.5697470903396606, 0.1344132423400879, 0.5782369375228882, -0.7785024642944336, 0.07759762555360794, 0.12935702502727509, 0.30619218945503235, 0.21393689513206482, -0.3313356339931488, 0.21554678678512573, 0.14000986516475677, -0.6776423454284668, -0.8947036266326904, 0.5033572912216187, -0.7744855284690857, -0.4424591660499573, 1.4586870670318604, -0.1390199065208435, -0.2569240927696228, 0.21995526552200317, -0.32705456018447876, 0.3328705430030823, -0.5813788175582886, 0.8433517813682556, 0.6600444912910461, -0.13939400017261505, -0.03542833775281906, -0.03669664263725281, 0.7272425889968872, 0.5261974334716797, -0.6207339763641357, 0.21395111083984375, 0.4381365180015564, 0.09389108419418335, -0.3593572676181793, 0.787118136882782, 0.16148248314857483, 0.3167535364627838, -0.16790443658828735, 0.03653782606124878, -0.36364662647247314, -0.25153085589408875, -0.49634215235710144, 0.08849390596151352, 0.49572643637657166, 0.009009715169668198 ]
http://arxiv.org/abs/2406.07778v1
http://arxiv.org/pdf/2406.07778v1
On Trojans in Refined Language Models
2024-06-12T00:01:32
2024-06-12T00:01:32
Jayaram Raghuram, George Kesidis, David J. Miller
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
A Trojan in a language model can be inserted when the model is refined for a particular application such as determining the sentiment of product reviews. In this paper, we clarify and empirically explore variations of the data-poisoning threat model. We then empirically assess two simple defenses each for a different defense scenario. Finally, we provide a brief survey of related attacks and defenses.
[ -0.10000252723693848, -1.0977433919906616, 0.37817293405532837, -0.24171340465545654, -0.021100172773003578, 0.05126609280705452, 0.14987923204898834, -0.6794453859329224, 0.0006605170201510191, 0.6610909104347229, -0.2558620572090149, -0.3856939673423767, -0.31786197423934937, -0.1139545664191246, -0.7346025705337524, 1.4116753339767456, 0.17725424468517303, 0.15279416739940643, 0.05486234650015831, 0.0989086776971817, -0.6296343207359314, -0.9528080224990845, -0.5156243443489075, 0.04701549559831619, 0.495535671710968, 0.2852958142757416, 0.8048102259635925, 0.27847033739089966, 1.0068377256393433, 0.20583473145961761, -0.04380951076745987, -0.3432321846485138, -0.1490498185157776, 0.43642738461494446, -0.5009704828262329, -0.8514593243598938, -0.6013666391372681, 0.3200002610683441, 0.11730071157217026, 0.6492347121238708, -0.052188605070114136, 0.14199988543987274, -0.1679648607969284, 0.7404919862747192, -0.8762304186820984, -0.4632878601551056, -0.9013432264328003, 0.13791735470294952, -0.4193345606327057, 0.07218686491250992, -1.0515642166137695, -0.19278275966644287, 0.45672181248664856, -0.3292357921600342, 0.23448041081428528, 0.36732977628707886, 0.9358304142951965, -0.2467687875032425, -0.6314584016799927, -0.20793497562408447, -1.0652731657028198, 1.0273960828781128, -0.6677285432815552, 0.106290802359581, 0.15775658190250397, 0.529786229133606, -0.369886577129364, -1.0354374647140503, -0.38931509852409363, -0.7694857716560364, -0.12185107916593552, 0.07546917349100113, -0.634941577911377, 0.3000600039958954, 0.3099460005760193, 0.6576225161552429, -0.529141902923584, -0.007160720881074667, -0.8798918724060059, 0.049744680523872375, 0.653072714805603, 0.6043715476989746, 0.4878976345062256, -0.39068204164505005, -0.7502544522285461, -0.01093992032110691, -0.9606032371520996, 0.09763740003108978, 0.586744487285614, 0.3742198646068573, -0.007014511618763208, 0.5236728191375732, -0.0001022482174448669, 0.8187285661697388, -0.004797864705324173, 0.01573033817112446, -0.040652912110090256, -0.08055823296308517, -0.39655089378356934, 0.02845502272248268, 0.5839946866035461, 0.47537845373153687, -0.03225656598806381, -0.2944296598434448, -0.3789357542991638, 0.28131747245788574, 0.9861815571784973, -0.41802868247032166, -0.35269835591316223, 0.4984976053237915, -0.25067758560180664, -0.8345097899436951, 0.16214220225811005, -0.7068973183631897, -0.6703604459762573, 0.09689582884311676, 0.39193689823150635, -0.25870463252067566, -0.1170772835612297, 0.25884687900543213, -0.38415268063545227, 0.09426547586917877, 0.09176328033208847, -0.8828476667404175, 0.8304375410079956, 0.8151969909667969, 0.5252779126167297, -0.40403279662132263, -0.014817562885582447, -0.45701661705970764, 0.08928117156028748, -0.48472586274147034, 0.8196892738342285, -0.5306965112686157, -0.47898727655410767, 0.007760841399431229, -0.30071985721588135, -0.008514377288520336, -0.6353960037231445, 0.9590592384338379, -0.9286326169967651, 0.27588215470314026, -0.014532151632010937, -0.6611689329147339, -0.6138085722923279, 0.5527151823043823, -0.8937398791313171, 0.9346283674240112, 0.10906003415584564, -1.5102428197860718, 0.21012112498283386, -0.2876967489719391, -0.3704470098018646, -0.043248891830444336, 0.1274663358926773, -0.008382493630051613, 0.3049844205379486, -0.18487752974033356, 0.2620437443256378, -0.5490431189537048, 0.08468347787857056, -0.5689167976379395, -0.06606561690568924, 0.5107486248016357, -0.07494236528873444, 0.9296784400939941, 0.7028447389602661, 0.009624708443880081, 0.16416609287261963, -0.6117855906486511, -0.19746267795562744, -0.03973039612174034, -0.18681854009628296, -0.6434023380279541, 0.2840477228164673, -0.0499129518866539, 0.005974812898784876, 0.0659089982509613, -0.6283761858940125, 0.3948758840560913, -0.8164700865745544, 0.3062332272529602, 0.38568270206451416, 0.43119215965270996, 0.3988547921180725, -0.44671207666397095, 0.6352198719978333, 0.33641767501831055, 0.6665667295455933, 0.0020620354916900396, -0.4693683981895447, -0.9396161437034607, -0.17602141201496124, 0.4431345760822296, 0.9218453168869019, -0.7324519157409668, -0.00041176556260325015, -0.044886503368616104, -0.7278887629508972, -0.4200369119644165, -0.2503538727760315, 0.1798172891139984, 0.5450481176376343, 0.21838481724262238, -0.47902780771255493, -0.4424176812171936, -0.9562787413597107, -0.6933141350746155, -0.43710437417030334, 0.1483670026063919, 0.15526869893074036, 0.3888648748397827, -0.05578966438770294, 0.8826234936714172, -0.6899147629737854, 0.0033603832125663757, -0.4926191568374634, 0.1082022413611412, 0.3688070774078369, 0.41644391417503357, 0.8303253650665283, -0.4541294574737549, -0.535943329334259, 0.05203262344002724, -0.7467465400695801, 0.03362485021352768, 0.0023432825691998005, 0.09269272536039352, 0.07380540668964386, 0.4128481149673462, -0.6402391791343689, 0.6163294911384583, 0.23538358509540558, -0.04747695103287697, 0.8005281090736389, 0.10672865808010101, 0.14281703531742096, -1.2302221059799194, -0.13198812305927277, 0.07011330872774124, -0.11142987012863159, -1.5579099655151367, 0.6895453333854675, -0.19471584260463715, 0.06246916577219963, -0.816795825958252, 0.4222166836261749, -0.006031183060258627, 0.291328102350235, -0.2738301455974579, 0.11102519929409027, 0.24087411165237427, -0.10431129485368729, -0.3641539514064789, 0.30675607919692993, 1.0879786014556885, -0.8522844910621643, 0.7643145322799683, -0.2779395580291748, -0.3184998333454132, 0.39279401302337646, -0.7228847742080688, 0.24512962996959686, -0.05026629939675331, 0.0981355756521225, -0.8970482349395752, -0.32489585876464844, 0.4411354064941406, -0.49206042289733887, 0.29850801825523376, -0.34474605321884155, -0.37669867277145386, -0.41725048422813416, -0.6970797777175903, 0.35866788029670715, 0.38717591762542725, -0.40908676385879517, 0.37902772426605225, 0.43887069821357727, -0.15782850980758667, -0.7775914072990417, -0.6720813512802124, 0.21034380793571472, -0.834255039691925, -0.798406720161438, 0.22657963633537292, 0.10527439415454865, -0.9032328724861145, -0.20697028934955597, 0.23300154507160187, -0.177712544798851, 0.3717446029186249, 0.13221600651741028, 0.37190383672714233, -0.10314085334539413, 0.12490261346101761, 0.026899663731455803, 0.007447986397892237, 0.2535336911678314, 0.007077141664922237, 0.32276639342308044, 0.05803033709526062, -0.47535672783851624, -0.38492292165756226, 0.47585782408714294, 0.4601779580116272, -0.007227026391774416, 0.6449875831604004, -0.12458600103855133, -0.2943115830421448, -0.021729663014411926, -0.4126000702381134, -0.49904781579971313, -0.4918674826622009, 0.2006610482931137, -0.2751723527908325, -0.5574658513069153, 0.5597957968711853, 0.11195390671491623, 0.1624014973640442, 0.6866378784179688, 0.2745215892791748, 0.045869722962379456, 1.0580918788909912, 0.5828402638435364, -0.41420337557792664, 0.2935481369495392, 0.17292936146259308, 0.3038455545902252, -0.5840803980827332, -0.16660277545452118, -0.6775547862052917, 0.062236297875642776, -0.7419337034225464, 0.21648404002189636, 0.18638555705547333, 0.16510282456874847, -0.24930989742279053, 0.45502254366874695, -0.17532972991466522, 0.2852199971675873, 0.4896638095378876, -0.05543915927410126, 0.2970992624759674, 0.18559786677360535, -0.2265811413526535, -0.05471538379788399, -0.4862891137599945, -0.7403147220611572, 1.1505674123764038, 0.639565110206604, 1.0301240682601929, 0.29954180121421814, 0.5706210136413574, 0.6374638080596924, 0.337712824344635, -0.7896893620491028, 0.4208013117313385, -0.15860101580619812, -1.3256934881210327, 0.4509159326553345, -0.26411423087120056, -0.9985825419425964, 0.059855084866285324, -0.21275070309638977, -1.2041659355163574, -0.0961259976029396, 0.22809094190597534, -0.459121972322464, 0.0938764438033104, -0.6803439259529114, 0.5438421964645386, -0.1882573366165161, -0.252466082572937, -0.2739465534687042, -0.5916560292243958, 0.8723738789558411, -0.1140594631433487, 0.14833424985408783, 0.07236304879188538, 0.48547109961509705, 0.6487823128700256, -0.46114322543144226, 0.7521142363548279, 0.07910440862178802, -0.00782017596065998, 0.566853404045105, 0.5066696405410767, 0.35776910185813904, -0.07590574026107788, -0.22371014952659607, -0.4220854341983795, -0.00014159509737510234, -0.1993418186903, -0.6381646394729614, 0.42983654141426086, -0.3703245520591736, -1.202187180519104, -0.6399976015090942, -0.3214702606201172, -0.1702803075313568, 0.03253212198615074, 0.42324793338775635, 0.34329795837402344, -0.35040050745010376, -0.21582257747650146, 0.6957972049713135, -0.5219408273696899, 0.2736688256263733, 0.5297024250030518, -0.47260379791259766, -0.2644840180873871, 0.5503019690513611, -0.08673372864723206, 0.5180729627609253, 0.12845157086849213, 0.0711139589548111, 0.006590079050511122, -0.4986628592014313, -0.43615931272506714, -0.15308643877506256, -0.7706226110458374, -0.20450440049171448, -0.5814617872238159, -0.28336629271507263, -0.39168936014175415, 0.05475807934999466, -0.3526526391506195, -0.5951526165008545, -0.08628755807876587, -0.40882033109664917, 0.7381200790405273, 1.31472909450531, 0.21801099181175232, 0.5995964407920837, -0.9019970893859863, 0.010661306791007519, 0.11827141791582108, -0.01251366175711155, 0.10800524801015854, -0.8174251317977905, -0.23225848376750946, 0.05556598678231239, -0.7710877656936646, -1.4106168746948242, 0.40696510672569275, -0.09170804917812347, 0.49614137411117554, 0.6890257596969604, 0.3174165189266205, 0.2577873170375824, -0.49105730652809143, 1.286009430885315, 0.09336439520120621, -0.8139058351516724, 0.5917375683784485, -0.40447676181793213, -0.36571788787841797, 0.250339150428772, 0.4979028105735779, -0.42997655272483826, -0.5745629072189331, -0.6163439750671387, -0.7709237337112427, 0.5479268431663513, 0.10216417908668518, 0.5093434453010559, -0.1082196906208992, 0.4490301012992859, -0.08133599907159805, -0.0346747562289238, -0.8621469140052795, -0.4459746181964874, 0.09037996828556061, 0.04698739945888519, 0.3695870637893677, -0.37672504782676697, -0.30859601497650146, -0.28012773394584656, 0.6504252552986145, 0.6693920493125916, 0.04718361794948578, -0.11784714460372925, -0.19156183302402496, 0.2793494760990143, 0.3764541745185852, 0.40303274989128113, -0.012001026421785355, -0.0663224458694458, 0.498536616563797, 0.29771995544433594, -0.7335870862007141, 0.3833412528038025, -0.04973919689655304, -0.14239056408405304, -0.18781039118766785, 0.3403826951980591, 0.6308546662330627, -0.273764967918396, -0.522924542427063, 0.49408018589019775, -0.14019130170345306, 0.29392167925834656, -0.03179991990327835, 0.2856781482696533, -0.2894487977027893, 0.06822118163108826, 0.27629950642585754, -0.1116919070482254, 0.6707684993743896, -0.8031938672065735, 0.337289422750473, 0.43861865997314453, -0.4692671298980713, -0.5093053579330444, 0.4632384479045868, -0.023836515843868256, 0.008809376507997513, 0.6916499137878418, -0.1623530089855194, -0.7535309791564941, 0.5181729793548584, 0.6241139769554138, 0.9849963188171387, -0.5206134915351868, -0.12741252779960632, 0.13053679466247559, 0.5252211689949036, 0.08168540894985199, 0.4713655114173889, 0.6259926557540894, -0.5781228542327881, 0.06280390173196793, -0.372147798538208, -0.3618928790092468, 0.32573315501213074, -0.7656446099281311, 0.3748053312301636, -0.5906414985656738, -0.736967921257019, 0.35134291648864746, -0.16055919229984283, -0.04438308626413345, 0.22817809879779816, -0.033946506679058075, 1.013143539428711, -0.9672321081161499, 0.6004239320755005, 0.7331940531730652, -0.5196471214294434, -0.738401472568512, 0.14486739039421082, 0.06197395920753479, -0.01147774513810873, 0.876030445098877, 0.02133304625749588, -0.19439280033111572, -0.5786166787147522, -0.5781329274177551, -0.7517072558403015, 0.41781488060951233, 0.28145432472229004, 0.08200112730264664, 0.4477182924747467, 0.3587341904640198, 0.7153220772743225, -0.41533347964286804, 0.045320991426706314, 0.5396445989608765, -0.0027372241020202637, -0.24208423495292664, -0.5807433724403381, -0.06463111937046051, -0.41431954503059387, -0.020498786121606827, -0.0589662566781044, -0.32140955328941345, 1.2773526906967163, -0.04222828149795532, -0.3421671986579895, 0.0873086005449295, 0.7078778743743896, 0.13272587954998016, 0.2263122946023941, 0.12192243337631226, 0.7154773473739624, 0.47651106119155884, -0.006602054461836815, 1.40578293800354, -0.45039066672325134, 0.23581448197364807, 1.03016996383667, -0.39547789096832275, 0.9506403803825378, 0.1168723925948143, -0.15407313406467438, 0.735178530216217, 0.9672189354896545, -0.02826843410730362, 0.5184124708175659, 0.5251361727714539, -0.7170038819313049, 0.2057281881570816, -0.16726338863372803, -0.34125378727912903, 0.3852706253528595, 0.5775879621505737, -0.4146369397640228, -0.022848287597298622, -0.08298003673553467, 0.6020247340202332, -0.2762691080570221, -0.3883627951145172, 0.7328723073005676, 0.2100694328546524, -0.7521880269050598, 0.4198186993598938, 0.5863524079322815, 0.19994358718395233, -0.2564980685710907, 0.28999847173690796, -0.33403992652893066, 0.33001047372817993, -0.41352584958076477, -0.592223048210144, 0.43260321021080017, 0.5157057642936707, -0.16921387612819672, 0.6005770564079285, 0.8270737528800964, -0.004363651853054762, -0.28026866912841797, 0.06702057272195816, 0.21260035037994385, 0.07251173257827759, 0.23068736493587494, -0.569352388381958, -0.07556022703647614, -0.20720291137695312, -0.46224358677864075, 0.2175833135843277, 0.11211594194173813, -0.29620957374572754, 0.8609397411346436, 0.3914599120616913, -0.012482373043894768, 0.4620487093925476, 0.05367591232061386, 0.9613878130912781, -0.565639078617096, -0.4423748254776001, -1.1907144784927368, 0.4720222055912018, -0.15447407960891724, 0.10141110420227051, 1.124566912651062, 0.6668297052383423, 0.5409621000289917, -0.14619779586791992, 0.898212730884552, 0.09744800627231598, 0.5636018514633179, -0.4675792157649994, 0.7270102500915527, -0.2809251844882965, 0.4291630685329437, -0.5658937692642212, -0.5967227220535278, -0.42208290100097656, 0.19893181324005127, -0.27887803316116333, -0.06635871529579163, 0.7908068299293518, 0.7897706031799316, 0.04973701760172844, 0.1572650521993637, -0.06337657570838928, 0.2739858031272888, 0.33412042260169983, 0.30455076694488525, 1.3094522953033447, -0.47380509972572327, 0.07613421976566315, -0.2308882772922516, -0.09555528312921524, -0.07881221175193787, -0.848662257194519, -0.9922316670417786, -0.3881782293319702, -0.26256513595581055, -0.6271588802337646, 0.18475739657878876, 0.6496167182922363, 0.4367307126522064, -1.0504887104034424, -0.39183467626571655, 0.09143979102373123, 0.11433109641075134, -0.014239613898098469, -0.19518981873989105, 0.05740739777684212, -0.4978233873844147, -0.4388419985771179, 0.24016575515270233, 0.10420597344636917, 0.27195876836776733, -0.32234987616539, 0.3608872592449188, -0.06242982670664787, 0.7880404591560364, 0.5194807648658752, 0.08601412177085876, -0.6095406413078308, -0.4651810824871063, -0.01128758117556572, -0.327541321516037, -0.14816232025623322, 0.7973757386207581, -0.5017301440238953, 0.5617634057998657, 0.5962949395179749, 0.4398512542247772, 0.11180049180984497, -0.1548192799091339, 0.754988431930542, -0.9398447871208191, 0.21151821315288544, 0.06902819126844406, 0.38157108426094055, 0.31546300649642944, -0.45843496918678284, 0.31929856538772583, 0.16535136103630066, -0.17988011240959167, -1.0912587642669678, 0.8180878758430481, -0.9093331098556519, -0.24154207110404968, 1.2324010133743286, -0.3612053394317627, -0.04480842500925064, -0.2810993492603302, -0.15500351786613464, -0.005170776508748531, -0.1451767235994339, 1.0971111059188843, 0.8598683476448059, -0.009161553345620632, 0.3377499580383301, -0.8885710835456848, 0.8214959502220154, 0.13515837490558624, -0.900197446346283, 0.20594462752342224, 0.374125599861145, 0.20252956449985504, 0.1800614595413208, -0.02686307020485401, -0.27701371908187866, 0.38179269433021545, 0.10158421099185944, -0.27961790561676025, 0.4588407278060913, -0.5196480751037598, -0.3395611345767975, 0.16052886843681335, 0.47217196226119995, -0.08810301870107651 ]
http://arxiv.org/abs/2406.10276v1
http://arxiv.org/pdf/2406.10276v1
Soft Language Identification for Language-Agnostic Many-to-One End-to-End Speech Translation
2024-06-12T00:00:39
2024-06-12T00:00:39
Peidong Wang, Jian Xue, Jinyu Li, Junkun Chen, Aswin Shanmugam Subramanian
cs.CL
cs.CL, cs.SD, eess.AS
Language-agnostic many-to-one end-to-end speech translation models can convert audio signals from different source languages into text in a target language. These models do not need source language identification, which improves user experience. In some cases, the input language can be given or estimated. Our goal is to use this additional language information while preserving the quality of the other languages. We accomplish this by introducing a simple and effective linear input network. The linear input network is initialized as an identity matrix, which ensures that the model can perform as well as, or better than, the original model. Experimental results show that the proposed method can successfully enhance the specified language, while keeping the language-agnostic ability of the many-to-one ST models.
[ -0.2704945206642151, -0.7142748832702637, 0.43526890873908997, -0.012299776077270508, -0.3409399092197418, 0.10768384486436844, -0.45076656341552734, -0.4955419600009918, 0.13423776626586914, 0.4684813320636749, -0.6459241509437561, -0.18354515731334686, -0.5894200801849365, 0.10663754492998123, -0.7040854096412659, 1.2354899644851685, 0.029498238116502762, 0.12221501022577286, 0.1977645307779312, -0.6192870736122131, -0.04368816316127777, -0.564918577671051, -0.7509055733680725, -0.2697596549987793, 0.6085553765296936, 0.15903975069522858, 0.9978021383285522, 0.616157591342926, 0.40466317534446716, 0.4048667252063751, -0.25996434688568115, 0.011075609363615513, -0.47383108735084534, 0.05382577329874039, -0.3977970778942108, -0.22210659086704254, -0.4706924259662628, -0.09170281141996384, 0.75144362449646, 0.944383978843689, -0.14901359379291534, 0.4516488015651703, -0.08980631828308105, 0.3581235110759735, -0.5523137450218201, -0.17880778014659882, -0.5039770007133484, 0.01927100494503975, -0.3561655282974243, -0.134172260761261, -0.4779299795627594, -0.41296422481536865, 0.2053208351135254, -0.42431604862213135, 0.020238714292645454, -0.3429622948169708, 0.8252248167991638, 0.11904844641685486, -0.4029303789138794, -0.35459238290786743, -1.3712800741195679, 0.6740848422050476, -0.7410480976104736, 0.5884116291999817, 0.07723996788263321, 0.35379260778427124, -0.11216823756694794, -0.6597597002983093, -0.8081390261650085, -0.17714864015579224, 0.12212183326482773, 0.15643297135829926, -0.07100852578878403, 0.2409900575876236, -0.142511248588562, 0.36165177822113037, -0.51116943359375, 0.07335812598466873, -0.5338331460952759, -0.33112832903862, 0.6542769074440002, -0.2660049796104431, 0.5161499381065369, 0.21902216970920563, -0.3987835943698883, 0.22072459757328033, -0.7488038539886475, 0.04670682176947594, 0.390208899974823, 0.7316095232963562, -0.14503127336502075, 0.46602270007133484, -0.0458836555480957, 0.5940986275672913, -0.14471900463104248, -0.4674268066883087, 0.5605253577232361, -0.4133528470993042, -0.19378305971622467, 0.4194541871547699, 0.7666712403297424, -0.2593359649181366, 0.47050902247428894, -0.49304312467575073, -0.4097219705581665, 0.02841363102197647, -0.2677593529224396, -0.6184003949165344, 0.3260537385940552, 0.05532557889819145, -0.5272160172462463, -0.11442167311906815, -0.04795452579855919, -0.1782476007938385, -0.06999590992927551, -0.38357508182525635, 0.6222096681594849, -0.19227272272109985, -0.7267765998840332, -0.06830012053251266, 0.040960896760225296, 0.4926832318305969, 0.212235689163208, -0.8812494277954102, 0.7395147085189819, 0.5992041230201721, 0.9271108508110046, -0.30069828033447266, -0.32314440608024597, -0.6931502819061279, 0.2813721299171448, -0.5067189931869507, 0.5671557188034058, -0.49648335576057434, -0.24012216925621033, 0.07069042325019836, 0.17574547231197357, 0.1685863584280014, -0.3339393138885498, 0.42257413268089294, -0.4039117991924286, 0.28265711665153503, 0.08980392664670944, -0.2011636346578598, -0.12282367050647736, -0.1282307505607605, -0.6313135027885437, 0.8545790314674377, 0.34187060594558716, -0.1231621578335762, 0.1345081925392151, -0.4409938156604767, -0.6194629073143005, 0.18328915536403656, -0.19500526785850525, -0.3756752014160156, 0.37909767031669617, -0.21058405935764313, 0.26097142696380615, -0.35098278522491455, 0.36117827892303467, -0.3193885087966919, -0.13855749368667603, 0.473296195268631, -0.6999158263206482, 0.9374761581420898, 0.5480744242668152, 0.23344945907592773, 0.2572232782840729, -0.9251130819320679, -0.026165539398789406, 0.3422650098800659, -0.5253121256828308, -0.27441632747650146, 0.0845431536436081, 0.47319936752319336, 0.35319337248802185, 0.30139413475990295, -0.787479817867279, 0.19809061288833618, -0.6916419863700867, 0.6077414155006409, 0.6082668900489807, -0.36381474137306213, 0.5760339498519897, -0.15015527606010437, 0.5652851462364197, 0.08830224722623825, 0.12517496943473816, -0.24415792524814606, -0.6538611054420471, -0.7039622664451599, -0.21751046180725098, 0.7338346838951111, 0.9244243502616882, -0.5665964484214783, 0.12186465412378311, -0.41567784547805786, -0.25219786167144775, -0.7834281921386719, 0.5681012272834778, 0.603245198726654, 0.45716527104377747, 0.3109228312969208, -0.44920575618743896, -0.4523685574531555, -1.0282297134399414, -0.037356194108724594, -0.1356109231710434, -0.21405623853206635, 0.25119251012802124, 0.08199404925107956, -0.1123872697353363, 0.8399887084960938, -0.0051537747494876385, -0.37892454862594604, -0.5311253070831299, -0.064348503947258, 0.5439999103546143, 0.47651880979537964, 0.5455417037010193, -0.6778611540794373, -0.594214141368866, 0.4561809301376343, -0.5396609306335449, -0.17464931309223175, -0.1828065812587738, 0.03575092554092407, -0.014452815055847168, 0.4641943871974945, -0.21670140326023102, 0.32380491495132446, 0.7611355185508728, -0.2957414388656616, 0.276692271232605, -0.2191389501094818, -0.046461835503578186, -1.2569433450698853, 0.12928877770900726, 0.05924368277192116, -0.4225831925868988, -1.2385773658752441, 0.012585236690938473, -0.17560507357120514, -0.22915968298912048, -0.8359472751617432, 0.5862260460853577, -0.3940725326538086, -0.20174159109592438, -0.36660826206207275, 0.10529924184083939, -0.17486920952796936, 0.5876706838607788, 0.07161936163902283, 0.8906887173652649, 0.6364398002624512, -0.6088175177574158, 0.2859960198402405, 0.27376285195350647, -0.12104832381010056, 0.4920161962509155, -0.8319615721702576, 0.39880457520484924, -0.36562520265579224, -0.05899890512228012, -1.2757376432418823, 0.13393184542655945, 0.258726567029953, -0.6536414623260498, 0.45088455080986023, -0.5354915857315063, -0.2510809004306793, 0.12805835902690887, 0.31581762433052063, 0.5239303708076477, 0.34112751483917236, -0.48730021715164185, 0.7096187472343445, 0.45609772205352783, -0.6496326923370361, -0.40893837809562683, -0.7459877133369446, 0.29398852586746216, -0.0326753593981266, -0.425912469625473, 0.4355313181877136, -0.15231981873512268, -0.08703399449586868, -0.126820906996727, 0.135213702917099, -0.6385260224342346, 0.1612313836812973, -0.04157712683081627, 0.36529284715652466, -0.5694692134857178, 0.250278502702713, 0.24245943129062653, -0.4612296223640442, -0.22081045806407928, -0.4637293815612793, 0.2783738970756531, -0.12475500255823135, -0.28019702434539795, -0.37476471066474915, 0.9057173132896423, 0.6138097643852234, -0.6200982928276062, 0.5360252857208252, 0.6709629893302917, -0.5145249366760254, -0.09634635597467422, -0.2293553352355957, 0.07481885701417923, -0.5459293723106384, 0.40012919902801514, -0.7067503929138184, -0.633152961730957, 0.6571188569068909, -0.3213568925857544, 0.10575222223997116, 0.29665735363960266, 0.4216931164264679, 0.08403825014829636, 1.3334343433380127, 0.6656204462051392, -0.14875486493110657, 0.45088130235671997, 0.13459442555904388, 0.1876947283744812, -0.6492802500724792, 0.05910975858569145, -0.6932674050331116, -0.34604403376579285, -0.5175073146820068, -0.12267961353063583, 0.12293629348278046, 0.019801629707217216, 0.11257734149694443, 0.41520050168037415, -0.6374584436416626, 0.3162800669670105, 0.602221667766571, 0.09490787982940674, 0.2597879469394684, -0.043332088738679886, -0.011092385277152061, 0.08052290976047516, -0.47490331530570984, -0.3716942071914673, 0.929381787776947, 0.579881489276886, 0.6776602268218994, 0.6722568869590759, 0.5723353624343872, 0.11348455399274826, 0.40801820158958435, -0.9316017627716064, 0.43157461285591125, -0.42601898312568665, -0.627230703830719, -0.39119577407836914, -0.43952229619026184, -0.9122710824012756, 0.1611935943365097, -0.22220973670482635, -0.811665952205658, 0.4222850501537323, 0.17403747141361237, -0.16700224578380585, -0.005136579275131226, -0.7112375497817993, 0.5714190006256104, -0.4588989019393921, -0.4069027900695801, -0.06292328983545303, -0.40126511454582214, 0.02249668911099434, -0.05787397548556328, 0.30650392174720764, -0.11026744544506073, -0.07352309674024582, 0.804654061794281, -0.40069541335105896, 0.5913969874382019, -0.19734406471252441, -0.2538015842437744, 0.3519669771194458, -0.010468936525285244, 0.4981898069381714, -0.09075946360826492, -0.2300122231245041, 0.4699096381664276, -0.10461217910051346, -0.26081496477127075, -0.6241127848625183, 0.5070495009422302, -0.8918389678001404, -0.4859716296195984, 0.006309757009148598, -0.23477835953235626, -0.12073282897472382, 0.4673496186733246, 0.19712688028812408, 0.7792592644691467, -0.14828181266784668, 0.273371160030365, 0.8841937780380249, -0.1620713323354721, 0.5786465406417847, 0.8008049130439758, -0.22635044157505035, -0.4893339276313782, 1.1678017377853394, 0.18391938507556915, 0.4880232512950897, 0.3228955566883087, 0.4919144809246063, -0.4743960201740265, -0.6841516494750977, -0.892525851726532, 0.0908418744802475, -0.6714773774147034, 0.05187643691897392, -0.37248942255973816, -0.4526301324367523, -0.38955429196357727, -0.1745152622461319, -0.7305780053138733, -0.5532715916633606, -0.13258075714111328, -0.060855209827423096, 0.16688373684883118, 0.7080615758895874, 0.014002114534378052, 0.5843648314476013, -0.5994079113006592, 0.4360290765762329, 0.35025718808174133, 0.6879115104675293, -0.42520400881767273, -1.0033272504806519, -0.25605419278144836, -0.06789907813072205, 0.11592518538236618, -1.3771148920059204, 0.3294130265712738, 0.8856022357940674, 0.857663094997406, 0.7413173913955688, -0.2052926868200302, 0.5110979080200195, -0.8400598168373108, 0.4399966895580292, 0.48909443616867065, -1.2276908159255981, 0.5495279431343079, -0.1595507115125656, 0.3548271954059601, 0.5919045805931091, 0.13969606161117554, -0.6123666167259216, -0.19554495811462402, -0.19564566016197205, -0.798144519329071, 0.6324090957641602, -0.055795133113861084, 0.38238659501075745, 0.16102103888988495, 0.3170028328895569, 0.12078432738780975, 0.17373740673065186, -0.9801596999168396, -0.5185860395431519, -0.44002875685691833, -0.36878231167793274, -0.0755431279540062, -0.13395307958126068, -0.07538028061389923, -0.2168298363685608, 0.5030741095542908, -0.3091914653778076, 0.22078925371170044, 0.09486999362707138, -0.22916795313358307, -0.30143532156944275, 0.463134765625, 0.6836864948272705, 0.4944615662097931, 0.04244983568787575, 0.17424379289150238, 0.37319183349609375, -0.3957386314868927, 0.43635550141334534, -0.05278291553258896, -0.21134160459041595, 0.2394823580980301, 0.07112333923578262, 0.7894058227539062, 0.1948525458574295, -0.401429146528244, 0.6014835834503174, -0.022991212084889412, -0.35884469747543335, -0.4472106695175171, 0.07274191826581955, -0.025143859907984734, -0.06115516275167465, 0.5148372650146484, 0.09228105843067169, 0.4138767123222351, -0.6267856955528259, 0.2843087911605835, 0.6251345276832581, -0.8092530965805054, -0.5237986445426941, 0.764790952205658, 0.41518232226371765, -0.8355936408042908, 0.4367479979991913, -0.1647690087556839, -0.3918730914592743, 0.42417338490486145, 0.8863096237182617, 1.1565815210342407, -0.8798210024833679, -0.00495875021442771, 0.30837661027908325, 0.4931832253932953, 0.4299916923046112, 0.27205249667167664, -0.11005642265081406, -0.7439444065093994, -0.7172260284423828, -0.6143669486045837, -0.3341890275478363, 0.3050489127635956, -0.7325055599212646, 0.4476434588432312, -0.5190034508705139, -0.16084866225719452, 0.09771191328763962, -0.4331248104572296, -0.651933491230011, 0.2480652779340744, 0.7517369985580444, 0.697199285030365, -1.2193278074264526, 1.2282296419143677, 0.609258234500885, -0.2891167104244232, -0.5330301523208618, -0.5875489115715027, 0.0013877396704629064, -0.6926367282867432, 0.4307345151901245, -0.07458233088254929, -0.3150656521320343, 0.17572300136089325, -0.6190817952156067, -1.199940800666809, 0.7109900116920471, 0.5129340291023254, -0.445555180311203, 0.18093903362751007, 0.46283969283103943, 0.5080474019050598, -0.3439052700996399, 0.3692595362663269, 0.3095932900905609, 0.43932676315307617, 0.200730100274086, -1.1889952421188354, -0.03856602683663368, -0.5648297667503357, 0.04937739297747612, 0.2250780165195465, -0.4164072871208191, 0.7433860301971436, -0.21369749307632446, -0.5377169251441956, -0.23270000517368317, 0.9949953556060791, 0.02047624997794628, 0.20555754005908966, 0.7286012172698975, 0.07653574645519257, 0.5457448363304138, 0.00017267126531805843, 0.5305023789405823, -0.3899235427379608, 0.03121146745979786, 1.2219783067703247, -0.22870326042175293, 0.9625978469848633, 0.4658108651638031, -0.15868808329105377, 0.3427501320838928, 0.28212878108024597, 0.18089355528354645, 0.5426775813102722, 0.17184171080589294, -0.41470831632614136, -0.21940942108631134, -0.2676507234573364, -0.41342246532440186, 0.6338387727737427, 0.7072676420211792, -0.3096219599246979, -0.09771256893873215, 0.07229364663362503, -0.07020681351423264, 0.05962253734469414, -0.21822504699230194, 0.9659227728843689, -0.03471532091498375, -0.4984327554702759, 0.4935685098171234, 0.13682304322719574, 0.5422975420951843, -0.8464489579200745, -0.04601851850748062, -0.009034995920956135, 0.04650840535759926, -0.18505859375, -0.5781217217445374, 0.32447388768196106, -0.2424275279045105, -0.23198600113391876, -0.29668205976486206, 0.7748518586158752, -0.7012410163879395, -0.6479816436767578, 0.337816447019577, 0.5516647696495056, 0.20085649192333221, 0.3088867962360382, -0.7231191396713257, -0.03338039293885231, -0.14204706251621246, -0.2921352684497833, 0.22957459092140198, 0.22962865233421326, 0.02952185831964016, 0.6008549332618713, 0.8157941699028015, 0.2846991717815399, 0.18740467727184296, 0.1862974762916565, 0.5052586793899536, -0.37926408648490906, -0.5961999893188477, -0.7223412990570068, 0.4276723861694336, 0.17251446843147278, -0.6189165711402893, 0.523010790348053, 0.47189080715179443, 0.6870203018188477, 0.13225342333316803, 1.0983796119689941, 0.06214910373091698, 0.49422264099121094, -0.29192081093788147, 0.6392350792884827, -0.4449952244758606, 0.07869229465723038, -0.4203071892261505, -0.7113223671913147, -0.006669873371720314, 0.5568841099739075, 0.16825169324874878, -0.12140583992004395, 0.36643359065055847, 0.7357450127601624, -0.228745236992836, -0.24405385553836823, 0.6612743139266968, 0.08254984021186829, 0.36610615253448486, 0.46763476729393005, 0.5842545032501221, -0.4218805432319641, 0.835759162902832, -0.021478349342942238, -0.5712334513664246, -0.07382329553365707, -0.7668389678001404, -0.5495901107788086, -0.7379661798477173, -0.40971726179122925, -0.5722613334655762, 0.06236499547958374, 0.7507210373878479, 0.9944934248924255, -1.1280770301818848, -0.31363117694854736, 0.01289295218884945, 0.033504828810691833, -0.5287142395973206, -0.09613339602947235, 0.028190292418003082, -0.12748385965824127, -0.854137659072876, 0.6874721646308899, 0.39820510149002075, 0.04294489324092865, -0.7364629507064819, -0.3655136823654175, -0.055780790746212006, 0.4193045496940613, 0.5783395171165466, 0.7055115699768066, -0.7432931661605835, -0.1982746720314026, -0.01606982760131359, -0.004714253358542919, 0.1397043615579605, 0.5924556851387024, -0.6936489343643188, 0.5638371109962463, 0.4239230155944824, 0.6861764192581177, 0.21211914718151093, -0.16439223289489746, 0.8274719715118408, -0.8470466136932373, 0.33563005924224854, 0.0615384615957737, 0.42784908413887024, 0.3208780586719513, -0.20664633810520172, 0.24145840108394623, 0.21427799761295319, -0.29921776056289673, -0.7757207751274109, 0.38772037625312805, -1.1484830379486084, -0.08142954856157303, 1.1675702333450317, -0.19767551124095917, -0.3870294690132141, -0.5589579343795776, -0.04615529999136925, 0.3500136137008667, -0.2811209559440613, 0.2976173162460327, 0.43885329365730286, 0.3592933416366577, -0.3211166262626648, -0.5326257348060608, 0.27525123953819275, 0.2442173808813095, -0.5670902729034424, -0.21473151445388794, 0.036775730550289154, 0.18051356077194214, 0.378419429063797, 0.7165391445159912, -0.077573262155056, 0.3479180932044983, -0.23653379082679749, 0.18564702570438385, 0.015712551772594452, -0.3470153510570526, -0.4621574282646179, 0.05635998025536537, 0.2412550300359726, -0.29029911756515503 ]
http://arxiv.org/abs/2406.07759v1
http://arxiv.org/pdf/2406.07759v1
LT4SG@SMM4H24: Tweets Classification for Digital Epidemiology of Childhood Health Outcomes Using Pre-Trained Language Models
2024-06-11T22:48:18
2024-06-11T22:48:18
Dasun Athukoralage, Thushari Atapattu, Menasha Thilakaratne, Katrina Falkner
cs.CL
cs.CL
This paper presents our approaches for the SMM4H24 Shared Task 5 on the binary classification of English tweets reporting children's medical disorders. Our first approach involves fine-tuning a single RoBERTa-large model, while the second approach entails ensembling the results of three fine-tuned BERTweet-large models. We demonstrate that although both approaches exhibit identical performance on validation data, the BERTweet-large ensemble excels on test data. Our best-performing system achieves an F1-score of 0.938 on test data, outperforming the benchmark classifier by 1.18%.
[ -0.0414227694272995, -0.3670807480812073, 0.5463738441467285, 0.18460555374622345, -0.13856735825538635, 0.2944902777671814, -0.2967299818992615, -0.6247207522392273, 0.2163509726524353, 0.26926669478416443, -0.6779435276985168, -0.6462511420249939, -0.9940741062164307, 0.013978413306176662, -0.6136370301246643, 1.242248773574829, -0.09602845460176468, 0.22551795840263367, 0.1276935487985611, 0.26871439814567566, -0.04869716987013817, -0.7661595940589905, -0.7217974066734314, 0.03325565531849861, 0.7988461852073669, 0.5721045136451721, 0.3088364899158478, 0.31275057792663574, 0.8746029138565063, 0.11966799199581146, 0.3033802807331085, 0.011743106879293919, -0.6249555945396423, 0.024527650326490402, -0.22187797725200653, -0.10598332434892654, -0.3758537769317627, 0.2235911786556244, 0.1854148507118225, 0.6804397702217102, -0.06427459418773651, 0.12724313139915466, 0.052391842007637024, 0.168198361992836, -0.2666816711425781, 0.15912669897079468, -0.42856279015541077, 0.16916343569755554, -0.25172609090805054, -0.4493827819824219, -0.42203447222709656, -0.4698411524295807, 0.19970163702964783, -0.18675750494003296, 0.16526257991790771, -0.15592381358146667, 0.8913668394088745, 0.06230778247117996, -0.748938262462616, -0.3664381504058838, -0.7379903197288513, 1.12460458278656, -0.7887224555015564, 0.2909194231033325, 0.5371043086051941, 0.37964504957199097, 0.2164907604455948, -0.9114145636558533, -0.3752194046974182, 0.1035780981183052, 0.01932176761329174, 0.11013840138912201, -0.09248130023479462, 0.08449151366949081, 0.01689958944916725, -0.0034153652377426624, -0.664341151714325, 0.33174893260002136, -0.568652868270874, -0.21455498039722443, 0.808719277381897, 0.13454091548919678, 0.130944162607193, -0.0032371690031141043, -0.06701242178678513, 0.19626803696155548, -0.47107210755348206, -0.2786366641521454, -0.09367027878761292, 0.4674127399921417, -0.2229551076889038, 0.3956473469734192, 0.051065150648355484, 0.4219181537628174, 0.18728992342948914, -0.2523907423019409, 0.5209375023841858, -0.43472710251808167, -0.028689466416835785, -0.06812798231840134, 0.687700092792511, 0.3899171054363251, 0.23159557580947876, -0.2426849901676178, -0.3270874321460724, 0.22568179666996002, 0.5296797752380371, -0.8968178033828735, -0.4332108199596405, 0.3078170716762543, -0.5681162476539612, -0.5394266843795776, 0.03269433230161667, -0.5352832078933716, -0.25540539622306824, -0.3190004527568817, 0.679959774017334, -0.6560863852500916, -0.1862434595823288, -0.080342136323452, 0.099796362221241, -0.20151442289352417, 0.5816705822944641, -1.02257239818573, 0.45483648777008057, 0.8194534778594971, 0.5012600421905518, -0.39911991357803345, 0.04538297653198242, -0.24540938436985016, 0.0876360610127449, -0.4374299645423889, 0.707073986530304, -0.5631586313247681, -0.015280434861779213, 0.11206279695034027, -0.05112241208553314, -0.38287314772605896, -0.4100725054740906, 0.7274585962295532, -0.31179603934288025, 0.2747448980808258, -0.21585598587989807, -0.7328657507896423, 0.06742515414953232, 0.28405383229255676, -0.35291364789009094, 0.5872756838798523, 0.2427479326725006, -1.0796985626220703, 0.6607882380485535, -0.7282460927963257, -0.6723160743713379, 0.07215069234371185, -0.044428396970033646, -0.46717777848243713, 0.003103184048086405, 0.23290541768074036, 1.065427303314209, 0.002062670886516571, 0.44691410660743713, -0.37922903895378113, -0.44467246532440186, -0.09632064402103424, -0.329629510641098, 0.6396458745002747, 0.25954264402389526, -0.22614239156246185, 0.20554672181606293, -0.5439748764038086, 0.19783276319503784, 0.16837750375270844, -0.27714499831199646, -0.14475460350513458, 0.19417844712734222, 0.37264323234558105, 0.2117568999528885, 0.23682168126106262, -0.5148588418960571, 0.10100523382425308, -0.0982469841837883, 0.5829780101776123, 0.580250084400177, 0.25642916560173035, 0.08371982723474503, -0.8076531887054443, 0.3597443103790283, 0.27768588066101074, 0.5627700686454773, 0.07295715063810349, -0.8349869251251221, -0.23648494482040405, -0.4662673771381378, 0.6435671448707581, 0.43905410170555115, -0.9170524477958679, 0.5543556809425354, -0.5620318651199341, -0.5278683304786682, -0.48558834195137024, -0.1879507303237915, 0.2097865641117096, 0.09785712510347366, 0.24034519493579865, -0.19095052778720856, -0.7556478977203369, -0.666510283946991, 0.15421901643276215, -0.16244708001613617, 0.10998117178678513, 0.2876432538032532, 0.49696269631385803, -0.6623015999794006, 0.3151054084300995, -0.16878212988376617, 0.04639319330453873, -0.007704597897827625, 0.3438388407230377, 0.06949339807033539, 0.5103743672370911, 0.8841005563735962, -0.8576830625534058, -0.6251309514045715, 0.0256942268460989, -0.49533015489578247, -0.24133463203907013, 0.4354761242866516, 0.20653536915779114, 0.3672451078891754, 0.13695041835308075, -0.33596912026405334, 0.44142112135887146, 0.8099948167800903, -0.2001136988401413, 0.43482670187950134, 0.12351139634847641, 0.3816223740577698, -1.044232964515686, -0.23952005803585052, 0.09747795760631561, -0.5461998581886292, -0.8153311610221863, -0.04452420771121979, 0.08423131704330444, 0.23166140913963318, -0.3449968099594116, 0.12918442487716675, -0.008892667479813099, 0.19303375482559204, -0.029693972319364548, -0.28363266587257385, -0.4225369691848755, -0.03771466389298439, -0.15416212379932404, 0.33338502049446106, 0.43951845169067383, -0.4241187572479248, 0.3591294288635254, -0.21552585065364838, -0.05358735844492912, 0.3753325939178467, -0.38480594754219055, 0.08006501197814941, -0.03800131380558014, 0.29054370522499084, -1.0444183349609375, -0.43471184372901917, 0.16407708823680878, -0.9285958409309387, 0.5071048736572266, 0.17337439954280853, -0.9914793968200684, -0.8272045850753784, -0.4877817630767822, 0.18702124059200287, 0.529570996761322, -0.6002838015556335, 0.2684703767299652, 0.7159797549247742, -0.23612351715564728, -0.17316663265228271, -0.7282358407974243, -0.05778339132666588, -0.2741363048553467, -0.5746948719024658, 0.534039318561554, -0.13949117064476013, 0.02166134864091873, 0.1996525228023529, -0.09606294333934784, -0.4481428265571594, 0.020558515563607216, 0.10807296633720398, 0.02844126522541046, -0.19852431118488312, 0.27637937664985657, 0.0590004101395607, 0.11196376383304596, -0.1692979782819748, -0.2283439189195633, 0.5871226787567139, 0.16029393672943115, -0.13552157580852509, -0.3904726803302765, 0.38389334082603455, 0.30883467197418213, 0.145578533411026, 0.7569335699081421, 0.6337380409240723, -0.7778148651123047, -0.19823093712329865, -0.3200245499610901, -0.3225184679031372, -0.43671393394470215, 0.09428197145462036, -0.3371376097202301, -0.9512091875076294, 0.31292131543159485, 0.13336163759231567, 0.24113333225250244, 0.4555509686470032, 0.4693082571029663, -0.7105778455734253, 1.1316606998443604, 0.5273483395576477, -0.1455758512020111, 0.3313002586364746, -0.24760086834430695, 0.2507759928703308, -0.1877291202545166, 0.07080104947090149, -0.6265612244606018, -0.06627516448497772, -0.7742329835891724, -0.40405839681625366, 0.29046332836151123, -0.33029505610466003, -0.3066929876804352, 0.29543182253837585, -0.5026509165763855, 0.15073806047439575, 0.4460218548774719, 0.44090893864631653, -0.006140120793133974, -0.21732085943222046, -0.020703619346022606, -0.3781141936779022, -0.7541974782943726, -0.4581703841686249, 1.3925137519836426, 0.396792471408844, 0.6391051411628723, 0.38477233052253723, 1.1783772706985474, 0.3921355605125427, 0.7611492872238159, -0.6325274705886841, 0.35634905099868774, -0.6039254665374756, -0.8377535939216614, -0.15065759420394897, -0.6366773843765259, -1.1728073358535767, -0.12790152430534363, -0.32937169075012207, -0.9512142539024353, -0.3243884742259979, 0.014375950209796429, -0.3405880033969879, 0.09691876173019409, -0.9702847599983215, 0.765845000743866, -0.3405997157096863, -0.03535018488764763, -0.28571444749832153, -0.6125224828720093, 0.39866501092910767, -0.6352241635322571, 0.4494667649269104, -0.04565087705850601, -0.05194952338933945, 1.03749680519104, -0.22092539072036743, 0.9213476181030273, -0.0659518912434578, 0.15940897166728973, -0.14006848633289337, -0.35058727860450745, 0.0937899574637413, -0.24933353066444397, 0.08197367936372757, 0.12209602445363998, 0.43340909481048584, -0.7225342988967896, -0.2790662348270416, 0.8727799654006958, -0.8201696276664734, -0.30037227272987366, -0.7102799415588379, -0.22001993656158447, -0.43150559067726135, 0.3406655192375183, 0.16547110676765442, 0.37541866302490234, 0.01491178385913372, 0.21951694786548615, 0.44641703367233276, -0.14455664157867432, 0.3494587540626526, 0.48635101318359375, -0.34356382489204407, -0.15462154150009155, 0.8107213377952576, 0.3340410590171814, 0.19793055951595306, 0.3670639097690582, 0.2702708840370178, -0.12250137329101562, -0.7776110172271729, 0.10190831869840622, 0.26276707649230957, -0.654410183429718, -0.1560693085193634, -0.5326952934265137, -0.658656895160675, -0.8554421663284302, -0.04433367773890495, -0.1405791938304901, -0.33207282423973083, -0.47287777066230774, -0.19552172720432281, 0.15238355100154877, 1.2582803964614868, -0.1713687777519226, 0.22673067450523376, -1.0057897567749023, 0.3006318509578705, 0.13925093412399292, 0.49696075916290283, -0.10711568593978882, -0.6060821413993835, -0.2910190522670746, 0.02999235689640045, -0.5201426148414612, -0.9315237402915955, 0.31879234313964844, 0.10119635611772537, 0.6543929576873779, 0.5735925436019897, 0.09944650530815125, 0.5663262605667114, -0.5547276139259338, 0.6948627233505249, 0.32224932312965393, -0.7038634419441223, 0.5568965673446655, -0.5146324038505554, -0.13051888346672058, 0.41496607661247253, 0.8669681549072266, -0.3481421172618866, -0.15794672071933746, -0.9555191993713379, -0.6228647232055664, 0.6778573393821716, 0.33955588936805725, -0.12485901266336441, -0.08647336810827255, 0.04036342352628708, 0.23947438597679138, 0.1593971848487854, -0.2780649960041046, -0.011243383400142193, 0.04828908294439316, -0.9134297370910645, -0.3578747510910034, -0.30246859788894653, 0.04161500930786133, -0.5959137082099915, 0.5887895226478577, 0.12389298528432846, 0.4965422749519348, -0.12436845898628235, -0.006008212920278311, -0.21722303330898285, -0.09740889817476273, 0.5493737459182739, 0.7426795959472656, -0.5459411144256592, 0.23730918765068054, -0.26944148540496826, -0.5758318305015564, -0.06274771690368652, 0.281387597322464, 0.030879897996783257, 0.10280213505029678, 0.7290608882904053, 0.5064833164215088, 0.44666925072669983, -0.4312214255332947, 0.7820660471916199, -0.27993470430374146, -0.38845372200012207, -0.34699299931526184, -0.07625128328800201, 0.2256494164466858, -0.09210289269685745, 0.37221240997314453, -0.030207861214876175, 0.11922045052051544, -0.7417865991592407, 0.6794179081916809, 0.04081817343831062, -0.11576218158006668, -0.639320433139801, 0.39451998472213745, 0.3428862392902374, -0.2461099475622177, 0.23325960338115692, -0.2892407774925232, -0.657832682132721, 0.6476358771324158, 0.3954148590564728, 0.49648648500442505, -0.6041231155395508, 0.18267078697681427, 0.3237271010875702, 0.4117811322212219, -0.09649638086557388, 0.625255286693573, 0.344705730676651, -0.876305878162384, -0.5287917256355286, -0.4542291760444641, -0.4119393527507782, 0.17669130861759186, -0.5850774049758911, 0.35576388239860535, -0.612419068813324, -0.4243531823158264, 0.7026124000549316, 0.15959936380386353, -0.8189427852630615, 0.5890594124794006, 0.3208952844142914, 0.54911869764328, -0.9635648131370544, 1.0164636373519897, 0.745561957359314, -0.25723856687545776, -0.825262188911438, 0.48086684942245483, 0.12491751462221146, -0.6718525886535645, 0.5729314088821411, 0.36696189641952515, 0.40752112865448, 0.1127583384513855, -0.7249310612678528, -0.8484636545181274, 0.6914172768592834, -0.12191906571388245, -0.5929428935050964, -0.03772610053420067, -0.13237826526165009, 0.623980700969696, -0.41492971777915955, 0.2729934751987457, 0.6610042452812195, 0.3639918863773346, 0.21457287669181824, -1.5325746536254883, -0.26419511437416077, -0.05736454576253891, -0.20493076741695404, 0.12148430943489075, -0.2455211877822876, 0.558951199054718, -0.4571009874343872, -0.31281015276908875, -0.11175695061683655, 0.18805134296417236, 0.1071111336350441, 0.47865191102027893, 0.39378196001052856, 0.5856717824935913, 0.8068386316299438, -0.3505231738090515, 1.151612401008606, -0.19678007066249847, 0.6052494049072266, 0.8860629200935364, -0.13835909962654114, 0.9741899371147156, 0.26487794518470764, -0.4928966164588928, 0.05557521805167198, 1.076633334159851, 0.38364601135253906, 0.7758359313011169, 0.25183436274528503, -0.10731847584247589, 0.09115461260080338, 0.14911344647407532, -0.05080672353506088, 0.08864010870456696, 0.8003064393997192, -0.22921432554721832, 0.0037099586334079504, 0.26704540848731995, -0.04153139516711235, -0.057503439486026764, -0.4203812777996063, 0.758831262588501, 0.1940000206232071, -0.24524660408496857, 0.5716298222541809, 0.08071722090244293, 0.9668183326721191, -0.13089753687381744, 0.03935466706752777, 0.20556002855300903, 0.21557492017745972, -0.32659390568733215, -0.9170900583267212, 0.5891452431678772, 0.0014429721049964428, -0.0877474695444107, -0.1379045844078064, 0.7425071597099304, -0.39383411407470703, -0.6969689726829529, 0.3711322844028473, 0.23107773065567017, 0.33792856335639954, 0.12866757810115814, -0.7261370420455933, 0.12462688982486725, -0.04608315974473953, -0.06884706020355225, 0.025932397693395615, 0.5135914087295532, -0.28319939970970154, 0.5545307993888855, 0.5427839756011963, 0.22041991353034973, 0.31238260865211487, 0.2648884654045105, 0.6998920440673828, -0.7202370166778564, -0.34078720211982727, -0.5953688025474548, 0.22862936556339264, -0.06785143166780472, -0.028747590258717537, 0.5322805047035217, 0.40330567955970764, 0.8924754858016968, 0.01154970284551382, 1.0054627656936646, -0.16921313107013702, 1.2863060235977173, -0.11278770864009857, 0.6217979192733765, -0.521592915058136, 0.000809168559499085, -0.1832914650440216, -0.4576399028301239, -0.5820211172103882, 0.6034665703773499, -0.49440798163414, 0.3479325473308563, 0.9635621309280396, 0.3324142396450043, -0.07734455913305283, 0.07868687063455582, 0.32926732301712036, 0.4212561249732971, 0.4414796233177185, 0.718284547328949, 0.6165213584899902, -0.4066929221153259, 0.09010583162307739, -0.41784974932670593, -0.42478859424591064, -0.5146222710609436, -0.5008701086044312, -1.0629408359527588, -0.5839614272117615, -0.24772685766220093, -0.3370217978954315, 0.4407136142253876, 1.0700056552886963, 0.9360191226005554, -1.151206612586975, 0.3294593393802643, 0.2366732358932495, -0.2725355923175812, 0.010724703781306744, -0.2322528213262558, 0.2893812954425812, -0.22233158349990845, -0.5132014155387878, -0.009218522347509861, -0.05428548529744148, 0.13453856110572815, 0.081545889377594, 0.03267955034971237, -0.12222704291343689, 0.11542659252882004, 0.630541205406189, -0.2449531853199005, -0.5620658993721008, -0.42463821172714233, -0.3033525049686432, -0.522445797920227, 0.0008710094843991101, 0.36236920952796936, -0.34252116084098816, 0.10154534876346588, 0.4297747313976288, 0.6330302357673645, 0.6623411178588867, 0.07739691436290741, 0.36284947395324707, -0.6811336278915405, -0.181673064827919, 0.8045206665992737, 0.2210111767053604, 0.43662434816360474, -0.23086607456207275, 0.4776683449745178, 0.26962006092071533, -0.5413260459899902, -0.8312343955039978, -0.052844978868961334, -1.1105393171310425, -0.2272760570049286, 1.0938410758972168, -0.14321808516979218, -0.21627633273601532, -0.23203256726264954, 0.06749896705150604, 0.24477329850196838, -0.36711585521698, 0.8798238635063171, 0.7417440414428711, 0.026559388265013695, -0.4094918370246887, -0.720221996307373, 0.2920185923576355, -0.037363164126873016, -0.9011748433113098, -0.578141987323761, 0.10752660036087036, 0.564965546131134, -0.04011276364326477, 0.8600822687149048, -0.19550472497940063, 0.29442837834358215, -0.24099363386631012, 0.1218779906630516, 0.4823493957519531, -0.3818671405315399, -0.15695838630199432, -0.12017548084259033, -0.054472293704748154, -0.16095022857189178 ]
http://arxiv.org/abs/2406.07753v1
http://arxiv.org/pdf/2406.07753v1
The MuSe 2024 Multimodal Sentiment Analysis Challenge: Social Perception and Humor Recognition
2024-06-11T22:26:20
2024-06-11T22:26:20
Shahin Amiriparian, Lukas Christ, Alexander Kathan, Maurice Gerczuk, Niklas Müller, Steffen Klug, Lukas Stappen, Andreas König, Erik Cambria, Björn Schuller, Simone Eulitz
cs.AI
cs.AI, cs.CL, 68T10, I.2
The Multimodal Sentiment Analysis Challenge (MuSe) 2024 addresses two contemporary multimodal affect and sentiment analysis problems: In the Social Perception Sub-Challenge (MuSe-Perception), participants will predict 16 different social attributes of individuals such as assertiveness, dominance, likability, and sincerity based on the provided audio-visual data. The Cross-Cultural Humor Detection Sub-Challenge (MuSe-Humor) dataset expands upon the Passau Spontaneous Football Coach Humor (Passau-SFCH) dataset, focusing on the detection of spontaneous humor in a cross-lingual and cross-cultural setting. The main objective of MuSe 2024 is to unite a broad audience from various research domains, including multimodal sentiment analysis, audio-visual affective computing, continuous signal processing, and natural language processing. By fostering collaboration and exchange among experts in these fields, the MuSe 2024 endeavors to advance the understanding and application of sentiment analysis and affective computing across multiple modalities. This baseline paper provides details on each sub-challenge and its corresponding dataset, extracted features from each data modality, and discusses challenge baselines. For our baseline system, we make use of a range of Transformers and expert-designed features and train Gated Recurrent Unit (GRU)-Recurrent Neural Network (RNN) models on them, resulting in a competitive baseline system. On the unseen test datasets of the respective sub-challenges, it achieves a mean Pearson's Correlation Coefficient ($\rho$) of 0.3573 for MuSe-Perception and an Area Under the Curve (AUC) value of 0.8682 for MuSe-Humor.
[ -0.7352327704429626, -0.3461408317089081, 0.35260966420173645, 0.8671376705169678, -0.23310737311840057, 0.006092810537666082, -0.12145140022039413, -0.6267578601837158, 0.3482106029987335, -0.09046152234077454, -1.2385146617889404, -0.28606116771698, -0.5170360803604126, 0.21503666043281555, 0.008617215789854527, 1.007009506225586, 0.24935010075569153, 0.32225683331489563, -0.5581840872764587, -0.4566501975059509, -0.5977132320404053, -0.37721771001815796, -0.49786725640296936, -0.16338762640953064, 0.8940359950065613, 0.3004078269004822, 0.15617673099040985, -0.13695991039276123, 0.8312594294548035, 0.2984456717967987, -0.0034133964218199253, -0.1006358340382576, -0.46062687039375305, -0.044969670474529266, -0.24013975262641907, -0.3613368570804596, -0.6635571122169495, 0.24068711698055267, 0.25500038266181946, 0.4701361656188965, 0.25789251923561096, 0.14178644120693207, -0.17879512906074524, 0.38416600227355957, -0.23972472548484802, 0.36073192954063416, -0.5459412336349487, 0.4552878141403198, -0.4332726299762726, -0.33850565552711487, -0.23319928348064423, -0.06554226577281952, 0.13588900864124298, -0.4483010172843933, 0.1161523386836052, 0.1410117745399475, 0.8507891297340393, 0.3201735317707062, -0.5912696719169617, -0.16030719876289368, -0.460091233253479, 1.026513695716858, -0.4860117733478546, 0.3890931010246277, 0.009907117113471031, 0.3045443594455719, -0.051609981805086136, -0.4648279547691345, -0.8495495915412903, 0.11514034122228622, 0.33648139238357544, 0.638750433921814, -0.46918559074401855, -0.2663288414478302, 0.1856207698583603, 0.6359684467315674, -0.6301676630973816, -0.15480370819568634, -0.3002786934375763, -0.1900877058506012, 0.5048595666885376, 0.3004148602485657, 0.31260719895362854, -0.5822650194168091, -0.5450873970985413, 0.17044179141521454, -0.40367165207862854, 0.22896808385849, 0.43844982981681824, -0.06028749793767929, -0.1202763020992279, 0.42601776123046875, -0.3922215700149536, 0.10283951461315155, -0.16923154890537262, -0.1619175225496292, 0.7288002967834473, -0.3419525623321533, -0.07653004676103592, -0.47106483578681946, 0.9027524590492249, 0.482038676738739, 0.1372014731168747, -0.1911916881799698, -0.1282486468553543, 0.39132606983184814, 0.2434655725955963, -0.21302850544452667, -0.17465320229530334, 0.04255098104476929, -0.4942830502986908, -0.5331175923347473, -0.37654516100883484, -1.1580289602279663, -0.5548112392425537, -0.45087531208992004, 0.645460844039917, -0.37607884407043457, -0.16422559320926666, -0.029518522322177887, -0.3092385232448578, 0.2654135525226593, 0.652136504650116, -0.40236154198646545, 0.05000215023756027, 0.5885034799575806, 0.7430201172828674, -0.29822686314582825, -0.24247796833515167, -0.24068298935890198, -0.3137092590332031, 0.15790937840938568, 0.8265816569328308, -0.44160351157188416, -0.3352915942668915, -0.3938055634498596, 0.2476235330104828, -0.1903173178434372, -0.25102144479751587, 1.0191515684127808, -0.22811217606067657, 0.1882888823747635, -0.681159257888794, -0.12809275090694427, -0.1817742884159088, 0.46525996923446655, -0.8545214533805847, 0.935164749622345, 0.11146312206983566, -0.8234237432479858, 0.49546024203300476, -0.8417285680770874, -0.48397165536880493, -0.0690571665763855, 0.09964179992675781, -0.3617013394832611, 0.25403815507888794, 0.2647916078567505, 0.1863599568605423, -0.3459908068180084, -0.07443933188915253, -0.666144073009491, -0.08256617188453674, 0.3591459393501282, -0.6514781713485718, 0.6318562626838684, 0.17889314889907837, -0.6640793681144714, 0.12886658310890198, -0.8258844017982483, -0.24296054244041443, 0.09243309497833252, -0.36806514859199524, 0.23322145640850067, 0.05065080150961876, 0.10616789758205414, 0.6284507513046265, 0.16647103428840637, -0.9565291404724121, 0.0513390488922596, -0.04591740667819977, 0.5741506218910217, 0.9574465155601501, -0.15411275625228882, 0.17913812398910522, -0.12346024066209793, 0.7098722457885742, 0.26123490929603577, 0.5900217890739441, -0.11877952516078949, -0.8147414922714233, -0.9538034796714783, -0.3047953248023987, -0.033562034368515015, 0.7213879823684692, -0.4996747374534607, -0.005009042099118233, -0.41739335656166077, -0.5208199620246887, -0.6709781289100647, 0.003601419972255826, 0.1997617930173874, 0.694963812828064, 0.5200421214103699, -0.30223843455314636, -0.7345107793807983, -0.8628787398338318, -0.15713335573673248, 0.023353075608611107, 0.32168665528297424, 0.8002323508262634, 0.35139623284339905, -0.1892520934343338, 0.6360951066017151, -0.25408312678337097, -0.48836198449134827, -0.25421908497810364, 0.6425743699073792, 0.08035647869110107, 0.5820411443710327, 0.81602543592453, -1.0750125646591187, -0.11430926620960236, -0.19876646995544434, -0.7437360882759094, -0.2605528235435486, 0.25128865242004395, -0.011728729121387005, 0.22348856925964355, 0.12469058483839035, -0.7166652083396912, 0.5687766075134277, 0.4225510060787201, -0.057752575725317, 0.5691736936569214, 0.44359076023101807, 0.6042783856391907, -0.8896179795265198, -0.026725096628069878, -0.0072762807831168175, -0.053942374885082245, -0.3722652494907379, -0.2900213301181793, -0.2882378399372101, -0.3752753734588623, -0.36264750361442566, 0.3145155906677246, -0.24661949276924133, -0.26484012603759766, 0.21314692497253418, -0.02686968818306923, 0.13432972133159637, 0.5276394486427307, -0.17244020104408264, 0.43825188279151917, 0.4439849853515625, -0.19231203198432922, 0.9465197324752808, 0.1838568150997162, -0.3837129473686218, 1.1661553382873535, -0.482044517993927, 0.3192686438560486, -0.17182572185993195, 0.28133997321128845, -1.3409334421157837, -0.3377571403980255, 0.08129390329122543, -0.817549467086792, 0.1096833348274231, 0.11141747236251831, -0.1437954306602478, -0.6396896243095398, -0.15682947635650635, 0.5838090181350708, 0.27570196986198425, -0.3808674216270447, 0.9192934632301331, 0.20482105016708374, -0.3137657940387726, -0.7298979759216309, -0.8452180624008179, 0.3604656755924225, -0.5693957209587097, -0.907167911529541, 0.2130158245563507, -0.41309237480163574, 0.04635399207472801, -0.0471830852329731, 0.04847574606537819, 0.2719077169895172, 0.032992471009492874, 0.38956543803215027, 0.2608850300312042, -0.23188361525535583, -0.10571836680173874, -0.30357933044433594, -0.13894812762737274, 0.21508337557315826, -0.07659713178873062, 0.5211871266365051, -0.3324688673019409, -0.39065149426460266, -0.5061565637588501, 0.3754194378852844, 0.8172763586044312, -0.3936256468296051, 0.2600351870059967, 1.0178848505020142, -0.2788540720939636, 0.03776869550347328, -0.6907987594604492, 0.06758453696966171, -0.42357704043388367, 0.3228846788406372, -0.49586567282676697, -0.6667343378067017, 0.8949861526489258, -0.01694490946829319, -0.22420893609523773, 0.3969617486000061, 0.5495612025260925, -0.33718380331993103, 1.2572879791259766, 0.49981340765953064, -0.3220507800579071, 0.3625359535217285, -0.13506850600242615, 0.2460150569677353, -0.9056336879730225, -0.7165048122406006, -0.5081711411476135, -0.8915557861328125, -0.05065244063735008, -0.393911749124527, 0.3814653158187866, -0.26660972833633423, 0.03588151931762695, 0.2881354093551636, 0.056415457278490067, 0.0728682279586792, 0.6159409284591675, 0.12181881815195084, -0.035033438354730606, -0.3082345724105835, -0.29211193323135376, -0.38819533586502075, -0.33221858739852905, 0.04427758976817131, 0.7323041558265686, 0.3404487669467926, 0.6908583045005798, 0.34874653816223145, 0.3176000714302063, 0.4572819173336029, 0.2705966830253601, -1.0786269903182983, 0.7139129638671875, -0.10142466425895691, -0.5317111611366272, 0.15884330868721008, -0.4953639507293701, -0.4012378752231598, -0.14731049537658691, -0.3607880473136902, -0.87806636095047, 0.5604358315467834, 0.05114290490746498, -0.05840561166405678, 0.15767766535282135, -0.44241833686828613, 1.085945963859558, -0.08696551620960236, -0.3183322548866272, -0.0898413211107254, -0.7066834568977356, 0.4111655354499817, 0.14525221288204193, 0.3210285007953644, -0.20007820427417755, 0.29433128237724304, 0.42424485087394714, 0.03073246218264103, 0.6904451847076416, -0.1678464710712433, 0.2176932692527771, -0.03951849415898323, 0.030083773657679558, 0.30719515681266785, 0.04427170753479004, -0.0610746368765831, 0.03628869354724884, -0.39868655800819397, -0.3431430459022522, -0.5751883387565613, 0.8072580099105835, -0.679806113243103, -0.4223804771900177, -0.30529090762138367, -0.678876519203186, -0.5240793824195862, -0.014570356346666813, 0.4044218361377716, 0.644344687461853, -0.255670428276062, 0.5242096185684204, 0.6027034521102905, -0.2551065981388092, 0.5771936178207397, 0.2521986961364746, 0.1269119828939438, -0.7403783798217773, 1.067500114440918, -0.03769608959555626, 0.013118715025484562, 0.2915099263191223, 0.12892410159111023, -0.428377240896225, -0.3446022868156433, -0.4296763837337494, -0.061938490718603134, -0.9064093828201294, -0.3274526596069336, -0.8364241123199463, 0.18487703800201416, -0.6719738245010376, -0.00275553110986948, -0.16112013161182404, -0.4363315999507904, -0.45079734921455383, -0.08557883650064468, 0.226044699549675, 0.5679627060890198, -0.20938889682292938, 0.07587987929582596, -0.566560685634613, 0.07613537460565567, 0.29270702600479126, 0.1732676923274994, -0.11180077493190765, -0.36267974972724915, 0.13131177425384521, -0.18847119808197021, -0.3759510815143585, -0.9993562698364258, 0.35461288690567017, 0.3710719645023346, 0.4646880328655243, 0.7313308715820312, -0.1456843763589859, 0.8266159892082214, -0.3145332336425781, 0.9722216129302979, 0.24911940097808838, -1.017676830291748, 0.5497512817382812, -0.5249276161193848, -0.08214401453733444, 0.34981879591941833, 0.4716816246509552, -0.5249089002609253, -0.07082317769527435, -0.47479701042175293, -0.6743485331535339, 0.771378219127655, 0.16833564639091492, 0.2593004107475281, -0.13497458398342133, 0.12238305062055588, -0.1156492680311203, 0.4277145266532898, -1.0361987352371216, 0.01691717840731144, -0.6316642761230469, -0.3872973620891571, -0.04329037293791771, -0.05968466401100159, -0.19834619760513306, -0.3825787305831909, 0.4711712598800659, -0.20247535407543182, 0.5222979784011841, 0.029137039557099342, 0.01231179665774107, -0.11229110509157181, 0.27875834703445435, 0.7598104476928711, 0.36187219619750977, -0.3064165413379669, 0.1499265879392624, 0.29517772793769836, -0.3727104961872101, -0.13286647200584412, 0.020327294245362282, 0.16356205940246582, -0.12530778348445892, 0.32524561882019043, 1.1494280099868774, 0.43529823422431946, -0.5127381086349487, 0.6271223425865173, 0.05577225610613823, -0.05102923884987831, -0.36883074045181274, -0.18917766213417053, 0.12372003495693207, 0.3899705111980438, 0.36217978596687317, 0.5578680038452148, 0.4617854356765747, -0.8519384860992432, 0.17460139095783234, 0.4665709137916565, -0.8132237792015076, -0.8369081020355225, 0.6786181330680847, 0.1391027867794037, 0.043102674186229706, 0.29321905970573425, -0.2690664827823639, -1.0234038829803467, 0.7341228723526001, 0.565491259098053, 0.7733758091926575, -0.1363704651594162, 0.26091066002845764, 0.21974243223667145, 0.23978038132190704, 0.27547091245651245, 0.6203390955924988, 0.10963548719882965, -0.663030207157135, -0.1519344002008438, -0.8448765277862549, -0.26230713725090027, 0.2307787984609604, -0.6862706542015076, 0.38875070214271545, -0.35353884100914, -0.3837350606918335, 0.26066499948501587, -0.1531851440668106, -0.8193112015724182, 0.6251002550125122, 0.08456622064113617, 0.7971887588500977, -0.7396270632743835, 0.3079354166984558, 0.8583337664604187, -0.5574916005134583, -0.6780380010604858, -0.3575872778892517, 0.6307424306869507, -0.626406192779541, 0.8874116539955139, 0.18321795761585236, -0.22117704153060913, -0.1731729358434677, -0.5084854364395142, -0.5911016464233398, 1.0893903970718384, 0.2125782072544098, -0.026448342949151993, 0.04554358124732971, 0.17565971612930298, 0.40724584460258484, -0.6124705076217651, 0.23003976047039032, 0.29670050740242004, 0.5945152640342712, 0.4812520444393158, -0.7347181439399719, -0.289725124835968, -0.6819433569908142, -0.38951003551483154, -0.017870690673589706, -0.8676775693893433, 1.2276183366775513, 0.015169222839176655, 0.068341925740242, 0.09510190784931183, 0.7152189612388611, 0.055193912237882614, 0.7293672561645508, 0.732196569442749, 1.1061848402023315, 0.5186034440994263, -0.6176775097846985, 0.8326935768127441, 0.06740307062864304, 0.37349578738212585, 0.8026771545410156, -0.2071094959974289, 0.7335895299911499, 0.3123167157173157, -0.2554185688495636, 0.6259904503822327, 0.6228965520858765, -0.11254440248012543, 0.44499659538269043, 0.05452549830079079, -0.4076874554157257, -0.34412968158721924, -0.2373037338256836, -0.30384334921836853, 0.6692721247673035, 0.21438492834568024, -0.12587013840675354, -0.06521179527044296, 0.601742148399353, 0.10098301619291306, -0.3965030312538147, -0.40049293637275696, 0.686303973197937, 0.032235901802778244, -0.4847185015678406, -0.09462472796440125, -0.19582009315490723, 0.7487509846687317, -0.4167839586734772, 0.11646860837936401, -0.32460451126098633, 0.15984408557415009, -0.3239114582538605, -0.6725046038627625, 0.19343486428260803, -0.08134079724550247, -0.35825127363204956, 0.1278599500656128, 0.7692044377326965, -0.0643349215388298, -0.42455706000328064, 0.43061065673828125, 0.048766396939754486, 0.17491383850574493, -0.20161162316799164, -0.8725155591964722, 0.1184999868273735, -0.17497867345809937, -0.34619832038879395, 0.22736206650733948, 0.8229551315307617, 0.021457288414239883, 0.7222846746444702, 0.6579161286354065, -0.05217490717768669, 0.2846429944038391, 0.37575361132621765, 1.049312710762024, -0.6167476177215576, -0.5143990516662598, -0.516152024269104, 0.6151533126831055, -0.1557549685239792, -0.5834685564041138, 0.765488862991333, 0.3918090760707855, 0.33068418502807617, -0.32142990827560425, 0.6487587094306946, -0.32965731620788574, 0.3514406085014343, -0.30003097653388977, 0.5205445885658264, -1.0675116777420044, -0.016322337090969086, -0.8533632755279541, -0.858398973941803, -0.1100211888551712, 0.44837814569473267, -0.26619642972946167, 0.16505052149295807, 0.5850669145584106, 0.6089662313461304, -0.20760434865951538, 0.3422680199146271, 0.06307727843523026, 0.09423236548900604, 0.2579326927661896, 0.7191113233566284, 1.0366613864898682, -0.23238220810890198, 0.6363255977630615, -0.4129040241241455, -0.33274951577186584, -0.1803736388683319, -1.0880223512649536, -0.7494882941246033, -0.5994692444801331, -0.1532815545797348, -0.4632314443588257, -0.39363929629325867, 0.6286261081695557, 0.6263449192047119, -0.885344922542572, 0.3037826120853424, 0.00720172980800271, -0.055180083960294724, -0.16751155257225037, -0.3828718364238739, -0.020682234317064285, -0.37206950783729553, -0.9067292213439941, 0.5584240555763245, 0.6560949683189392, -0.09869810938835144, -0.5078073143959045, 0.08982507884502411, -0.13205403089523315, 0.3914879262447357, 0.6026584506034851, 0.24543730914592743, -0.6270663142204285, -0.5104032158851624, 0.48031508922576904, 0.21300874650478363, 0.10551350563764572, 0.7915547490119934, -0.5269759893417358, 0.3845232129096985, 0.7855395078659058, 0.5226379632949829, 0.3147384524345398, 0.0014944076538085938, 0.36334025859832764, -0.6668455600738525, 0.21143656969070435, 0.4411328136920929, 0.6598685383796692, 0.4278144836425781, -0.34919625520706177, 0.5088812708854675, 1.0108530521392822, -0.5441076159477234, -0.971518874168396, 0.42982885241508484, -1.5780603885650635, 0.23745954036712646, 0.6570122838020325, -0.4845411479473114, -0.3027850091457367, -0.15616968274116516, -0.19852286577224731, -0.009372040629386902, -0.15185290575027466, 0.7044589519500732, 1.0117350816726685, -0.2605063021183014, -0.5392850041389465, -0.5447342991828918, 0.53319251537323, 0.6766914129257202, -0.9065894484519958, -0.40366917848587036, 0.5474691390991211, 0.2776593565940857, 0.4578056037425995, 0.496681809425354, -0.3801279664039612, 0.4309990704059601, -0.1360856592655182, 0.07228416204452515, 0.03206028789281845, -0.560371994972229, -0.14681991934776306, 0.32615119218826294, -0.5480428338050842, 0.09127958863973618 ]
http://arxiv.org/abs/2406.07739v1
http://arxiv.org/pdf/2406.07739v1
UICoder: Finetuning Large Language Models to Generate User Interface Code through Automated Feedback
2024-06-11T21:53:46
2024-06-11T21:53:46
Jason Wu, Eldon Schoop, Alan Leung, Titus Barik, Jeffrey P. Bigham, Jeffrey Nichols
cs.CL
cs.CL, cs.HC, cs.SE
Large language models (LLMs) struggle to consistently generate UI code that compiles and produces visually relevant designs. Existing approaches to improve generation rely on expensive human feedback or distilling a proprietary model. In this paper, we explore the use of automated feedback (compilers and multi-modal models) to guide LLMs to generate high-quality UI code. Our method starts with an existing LLM and iteratively produces improved models by self-generating a large synthetic dataset using an original model, applying automated tools to aggressively filter, score, and de-duplicate the data into a refined higher quality dataset. The original LLM is improved by finetuning on this refined dataset. We applied our approach to several open-source LLMs and compared the resulting performance to baseline models with both automated metrics and human preferences. Our evaluation shows the resulting models outperform all other downloadable baselines and approach the performance of larger proprietary models.
[ -0.517764687538147, -0.5301390886306763, 0.36301615834236145, -0.08608417958021164, 0.05148261785507202, -0.003975320141762495, -0.26031601428985596, -0.2833268642425537, -0.07090289145708084, 0.8150870203971863, -0.37398818135261536, -0.4608318507671356, -0.04277225583791733, 0.3691556751728058, -0.42941030859947205, 0.893054187297821, -0.12946906685829163, -0.0010548412101343274, -0.3183068633079529, 0.05649300664663315, -0.3719671070575714, -0.6437684297561646, -0.25275832414627075, -0.33495500683784485, 0.48011648654937744, 0.6276925802230835, 0.7269108891487122, 0.5689457654953003, 0.2817278802394867, 0.3691800832748413, 0.28072232007980347, 0.38665059208869934, -0.6760639548301697, 0.012899658642709255, 0.12415140122175217, -0.27695950865745544, -0.30383172631263733, -0.04952571541070938, 0.4252391457557678, 0.5206850171089172, -0.06573569029569626, 0.31151631474494934, 0.3537905812263489, 0.7917094230651855, -0.42274272441864014, 0.2382584661245346, -0.3030970096588135, -0.06949476897716522, -0.047405749559402466, -0.23133485019207, -0.6708541512489319, -0.6373774409294128, -0.4358963370323181, -0.391236275434494, 0.07143072038888931, 0.14768086373806, 0.6077551245689392, 0.45853930711746216, -0.2886951267719269, -0.17382948100566864, -0.9034150838851929, 0.7217702865600586, -1.0618455410003662, 0.48299866914749146, 0.19698931276798248, 0.14579655230045319, -0.2486499696969986, -0.6222248077392578, -0.5948231816291809, -0.9530673623085022, -0.13232682645320892, -0.03634629398584366, -0.09454864263534546, -0.01207274105399847, 0.32954928278923035, 0.4871200621128082, -0.2261192500591278, 0.29008275270462036, -0.5186095833778381, -0.1268680840730667, 0.8026149272918701, 0.26456499099731445, 0.3153243362903595, -0.37679144740104675, -0.00559096597135067, -0.013273749500513077, -0.8003184795379639, 0.11424123495817184, 0.5400301218032837, 0.14393605291843414, -0.07414855808019638, 0.7772566080093384, -0.5331833362579346, 0.6880789995193481, 0.279655784368515, -0.12371071428060532, 0.26637354493141174, -0.3423556089401245, -0.012768222950398922, -0.48977604508399963, 0.8627345561981201, 0.5368924736976624, 0.4230572283267975, -0.13199223577976227, -0.5641859173774719, 0.009197891689836979, 0.5376272201538086, -0.8012697696685791, -0.5351603031158447, 0.09399130940437317, -0.8204604983329773, -0.2733966112136841, 0.09841059148311615, -0.4844331741333008, -0.25086843967437744, -1.0770246982574463, 0.2544797658920288, -0.16369250416755676, -0.14693213999271393, -0.18956680595874786, -0.03193601220846176, -0.053367409855127335, 0.6417570114135742, -0.6978690028190613, 0.09044628590345383, 0.36018699407577515, 0.6123906970024109, -0.41569119691848755, -0.07990218698978424, -0.7935532331466675, -0.11796792596578598, -0.45498573780059814, 0.6151828169822693, -0.37628042697906494, -0.5299890637397766, -0.22834080457687378, -0.3121127188205719, 0.4355125427246094, -0.7722600102424622, 0.018883518874645233, -0.31747812032699585, -0.053344741463661194, 0.051522862166166306, -0.5381312966346741, 0.0880713164806366, -0.0003324947610963136, -0.7865036725997925, 0.962096095085144, 0.4813147187232971, -0.5469933152198792, 0.25369536876678467, -0.7157992720603943, -0.21436238288879395, 0.27439209818840027, -0.34118640422821045, -0.2728945016860962, 0.530114471912384, 0.2530554234981537, 0.4416247606277466, -0.33848658204078674, 0.2511875331401825, -0.3205260932445526, -0.1204681396484375, 0.3684713542461395, -0.3512687385082245, 0.5061243176460266, 0.692553699016571, -0.27928948402404785, 0.3745276927947998, -1.0597941875457764, 0.27769455313682556, -0.2270277887582779, -0.7570252418518066, -0.08891795575618744, -0.010133756324648857, 0.3708396553993225, 0.1835414320230484, 0.12318700551986694, -0.45396628975868225, 0.3592413067817688, -0.13985072076320648, 0.44147393107414246, 0.7487083077430725, -0.21528016030788422, 0.461984783411026, -0.42769962549209595, 0.5621742010116577, -0.2042749673128128, 0.21385525166988373, -0.2398066371679306, -0.09034375101327896, -0.8697196245193481, -0.18220290541648865, 0.35879233479499817, 0.3740493953227997, -0.9684388637542725, 0.5300805568695068, -0.1699076145887375, -0.41285771131515503, -0.5228821635246277, 0.6265902519226074, 0.33842289447784424, 0.3721044659614563, 0.12183380872011185, -0.7699203491210938, -0.35382699966430664, -0.7993178367614746, 0.11320388317108154, -0.16396284103393555, -0.3979544937610626, 0.3270001709461212, 0.3978053331375122, -0.7610616683959961, 1.2081421613693237, -0.294069766998291, -0.05585791543126106, -0.3000926375389099, 0.40907108783721924, -0.13439367711544037, 0.5471247434616089, 0.5534778833389282, -0.3680623769760132, -0.38693904876708984, 0.19940601289272308, -0.5954334735870361, -0.4576147198677063, -0.03533454239368439, 0.1147264763712883, 0.3235572278499603, 0.5798490047454834, -0.09958858042955399, 0.2570309042930603, 0.5816076993942261, -0.04767890274524689, 0.8488702774047852, -0.299350380897522, 0.3818759024143219, -0.9121385812759399, 0.3421851396560669, 0.03280429169535637, -0.32288065552711487, -0.4272705912590027, 0.34904566407203674, 0.059886634349823, -0.20414581894874573, -0.33146244287490845, 0.5612599849700928, -0.5715692043304443, 0.042448610067367554, -0.4110371470451355, -0.5201844573020935, 0.034362904727458954, 0.49006256461143494, -0.21503295004367828, 0.9098524451255798, 0.008942611515522003, -0.6170732975006104, 0.6686835885047913, 0.11952104419469833, -0.5614380240440369, 0.5584089756011963, -0.7385978102684021, 0.1412961483001709, -0.07078706473112106, 0.17341601848602295, -0.9662274718284607, -0.6923685669898987, -0.045719098299741745, -0.29857057332992554, 0.18321794271469116, -0.21298708021640778, -0.7296472787857056, -0.6637735366821289, -0.29590532183647156, 0.14066322147846222, 0.7619085311889648, -0.5977622866630554, 0.5051690340042114, 0.3176341652870178, -0.5023593902587891, 0.06873676180839539, -0.5664755702018738, 0.1888677328824997, 0.10352038592100143, -0.5199026465415955, -0.02283930405974388, -0.4550030827522278, -0.35283926129341125, -0.2943095862865448, 0.16982205212116241, -0.055762678384780884, 0.035978447645902634, 0.428658127784729, 0.2722148001194, -0.13388653099536896, -0.04009975120425224, -0.09276441484689713, -0.1273486465215683, -0.00515265017747879, -0.01990452967584133, 0.40705493092536926, -0.056402623653411865, -0.5230200886726379, -0.8686302304267883, 0.3540450930595398, 0.788820207118988, -0.20255941152572632, 0.08542082458734512, 0.4719664752483368, -0.026140158995985985, -0.2089402675628662, -0.8364221453666687, -0.08879699558019638, -0.5040478110313416, 0.11144925653934479, -0.3964047431945801, -1.0002623796463013, 0.5069728493690491, -0.25704312324523926, 0.2432817816734314, 0.3508773744106293, 0.7862405776977539, 0.053791437298059464, 1.4624391794204712, 0.7742436528205872, -0.2034597247838974, 0.5974331498146057, -0.2635897994041443, -0.10181070119142532, -0.53122478723526, -0.19418038427829742, -0.7018998265266418, -0.1280931830406189, -0.47374746203422546, -0.27002185583114624, 0.4847261905670166, 0.04266951605677605, -0.2713497579097748, 0.20810796320438385, -0.6108540892601013, 0.5156757235527039, 0.948580801486969, 0.13689157366752625, 0.4014066457748413, 0.16497297585010529, -0.16389872133731842, 0.036000367254018784, -0.634711742401123, -0.5925002694129944, 1.0096908807754517, 0.42991653084754944, 1.6212644577026367, -0.10186909139156342, 0.8172189593315125, 0.3399398624897003, 0.5353939533233643, -0.6724624633789062, 0.1675909459590912, -0.3046550154685974, -0.04509279131889343, -0.19869443774223328, -0.7703836560249329, -0.5317423343658447, -0.2142179310321808, -0.11026805639266968, -0.4787770211696625, 0.04803450405597687, 0.5068053603172302, -0.5351493954658508, -0.053510550409555435, -0.8644425868988037, 0.6866703033447266, -0.40071702003479004, -0.46623334288597107, -0.004177488852292299, -0.34649282693862915, 0.35198259353637695, -0.09050550311803818, 0.28159257769584656, 0.07990123331546783, 0.37118619680404663, 0.394496887922287, -0.8781589269638062, 0.9539846777915955, -0.12578997015953064, -0.5509061813354492, 0.3131472170352936, 0.2412102073431015, 0.45979762077331543, 0.020353440195322037, -0.23814736306667328, -0.032347291707992554, -0.06590764969587326, 0.0025229693856090307, -0.3995680809020996, 0.8436279296875, -0.9511285424232483, -0.4322892725467682, 0.31015545129776, -0.5749741196632385, -0.000127613267977722, 0.2826075255870819, 0.36645668745040894, 0.9198407530784607, -0.013264679349958897, 0.2268713116645813, 0.35292017459869385, -0.36114302277565, 0.1719258427619934, 0.2971157133579254, -0.4284973740577698, -0.6414588689804077, 0.8108330965042114, 0.01578230783343315, 0.2835136950016022, 0.07828488200902939, 0.012952559627592564, -0.32065659761428833, -0.4236544966697693, -0.8045734167098999, -0.1839427351951599, -0.5626181364059448, -0.4936220645904541, -0.3682704567909241, -0.3871691823005676, -0.5123031139373779, -0.2519025504589081, -0.5142979025840759, -0.28905820846557617, -0.38032588362693787, 0.3141440749168396, 0.42806148529052734, 1.1761375665664673, -0.14622823894023895, 0.33175256848335266, -1.0652323961257935, 0.682717502117157, 0.4485839009284973, 0.6533109545707703, 0.09348514676094055, -0.2988681495189667, -0.34087300300598145, 0.1901751607656479, -0.4622020125389099, -0.4291415214538574, 0.5619092583656311, 0.11491119861602783, 0.5456414818763733, 0.24440672993659973, 0.24313472211360931, 0.613853394985199, -0.6283540725708008, 0.8025496006011963, 0.4560874104499817, -1.0079700946807861, 0.5653108954429626, -0.2036893218755722, 0.8160610198974609, 0.5958516597747803, 0.033343225717544556, -0.3296371102333069, -0.6437727808952332, -0.13081760704517365, -0.671343207359314, 0.4959062933921814, 0.10253474861383438, 0.30013343691825867, -0.0154680535197258, 0.48218265175819397, 0.3748818635940552, 0.13950692117214203, -0.7231143712997437, -0.02798931486904621, -0.2665070593357086, -0.28658443689346313, 0.06992939114570618, -0.21117474138736725, -0.07073651999235153, -0.26585954427719116, 0.36342233419418335, -0.3326253592967987, 0.11509069055318832, -0.034038957208395004, -0.346585214138031, -0.34402090311050415, 0.3087262809276581, 0.2931331694126129, 0.9004012942314148, 0.18087805807590485, -0.06996335834264755, -0.08950792998075485, -0.08213448524475098, 0.2572992146015167, -0.03837050497531891, -0.28408634662628174, 0.05030447989702225, 0.17922624945640564, 0.8295748233795166, 0.008716593496501446, -0.6866730451583862, 0.33624541759490967, -0.16643477976322174, -0.15077972412109375, -0.33173972368240356, 0.4471553862094879, -0.31710049510002136, 0.08243350684642792, 0.3697109818458557, 0.0838334783911705, 0.3325479328632355, -0.4382898807525635, 0.26703187823295593, 0.36806780099868774, -0.10943052172660828, -0.1613854020833969, 0.9091002345085144, 0.6524028778076172, -0.2575068771839142, 0.7731741070747375, 0.08049401640892029, -0.2624378502368927, 0.5161800384521484, 0.21046844124794006, 0.6589889526367188, -0.09515906125307083, 0.042442385107278824, 0.47814270853996277, -0.000053212464990792796, -0.24180886149406433, 0.09191498160362244, -0.17629943788051605, -0.30016887187957764, -0.7342930436134338, -0.7480701208114624, -0.43949586153030396, 0.12966957688331604, -0.7140702605247498, 0.36098262667655945, -0.40575093030929565, -0.2059365063905716, -0.14930002391338348, -0.23551495373249054, -0.7284753918647766, 0.05146149545907974, 0.24955710768699646, 0.6893446445465088, -0.47372424602508545, 0.6658130288124084, 0.4616832435131073, -0.5807556509971619, -0.9739482998847961, -0.17838206887245178, 0.034345779567956924, -0.4474177360534668, 0.7723832130432129, 0.3199496269226074, -0.20106643438339233, 0.22080297768115997, -0.7948220372200012, -0.7494426965713501, 0.7055501341819763, 0.428351491689682, -0.9758608341217041, -0.06447484344244003, 0.105768121778965, 0.4987407922744751, -0.2241981476545334, 0.2828785479068756, 0.5282691717147827, 0.3739936947822571, 0.04634879156947136, -1.3511441946029663, -0.1497773826122284, -0.5351588726043701, 0.48877787590026855, 0.061170365661382675, -0.3468928933143616, 0.6191805601119995, -0.3439256548881531, -0.1460760533809662, 0.5332099795341492, 0.5796273350715637, 0.08171285688877106, -0.029011866077780724, 0.28528568148612976, 0.5358308553695679, 0.516412079334259, 0.13901636004447937, 1.1519416570663452, -0.4869458079338074, 0.23711815476417542, 1.0837383270263672, -0.2611534297466278, 0.7932299375534058, 0.23758560419082642, -0.041875116527080536, 0.5211374759674072, 0.3301263153553009, -0.14800013601779938, 0.33785825967788696, 0.4837523102760315, 0.16756245493888855, -0.1699114441871643, 0.0948709025979042, -0.4116913676261902, 0.40695565938949585, 0.037928756326436996, -0.3518773317337036, -0.018147438764572144, 0.2761516571044922, -0.22000737488269806, 0.20367278158664703, -0.43194761872291565, 1.130789041519165, -0.06984936445951462, -0.8009815812110901, 0.8619886040687561, 0.07832176983356476, 0.9065138101577759, -0.35588252544403076, -0.11996299773454666, -0.5217821598052979, 0.2559981048107147, -0.3313346207141876, -0.5484670996665955, 0.19885991513729095, 0.2859816253185272, -0.3078080415725708, -0.39323166012763977, 0.48181435465812683, -0.37174493074417114, -0.5775487422943115, -0.05778608098626137, 0.4205096662044525, -0.05550603196024895, 0.17525531351566315, -0.4747552275657654, 0.33751556277275085, 0.10290825366973877, -0.211039200425148, 0.11911111325025558, 0.3972930908203125, 0.04957357794046402, 0.7984272837638855, 0.8530599474906921, 0.01797073520720005, 0.11841471493244171, 0.40781038999557495, 0.909930408000946, -0.4950227737426758, -0.46011102199554443, -0.6852889060974121, 0.6692590713500977, -0.0014218880096450448, -0.20732960104942322, 0.6749692559242249, 0.5605531334877014, 1.0891473293304443, -0.5043023228645325, 1.0222378969192505, 0.047498393803834915, 0.46893513202667236, -0.5556488037109375, 0.8410305380821228, -0.5145784020423889, 0.31741389632225037, -0.2718479037284851, -0.936631977558136, -0.3574853837490082, 0.6342973113059998, 0.03246970474720001, 0.13840104639530182, 0.15604549646377563, 0.982555091381073, -0.16345812380313873, -0.4427614212036133, 0.25824934244155884, 0.23749470710754395, 0.40988072752952576, 0.2463618814945221, 0.9878063201904297, -0.03106672875583172, 0.3830187916755676, -0.22657820582389832, -0.4054573178291321, -0.45189782977104187, -0.7991717457771301, -0.753216028213501, -0.4987837076187134, -0.45839178562164307, -0.26147475838661194, -0.2412332147359848, 1.0383546352386475, 1.0044747591018677, -0.8535013198852539, -0.5421581864356995, -0.15608945488929749, -0.22162677347660065, 0.05013413354754448, -0.30717846751213074, -0.23069517314434052, -0.5952471494674683, -0.744166910648346, 0.12297740578651428, 0.20978334546089172, 0.13696187734603882, -0.5135342478752136, -0.34077560901641846, 0.48784759640693665, -0.045686203986406326, 0.788963258266449, 0.31122705340385437, -0.8651131391525269, -0.30516308546066284, -0.26605844497680664, -0.38049522042274475, 0.05007053166627884, 0.8884912729263306, -0.841652512550354, 0.5424468517303467, 0.5395544171333313, 0.5434268116950989, 0.09481920301914215, 0.1897234320640564, 0.9924068450927734, -0.6688293814659119, -0.18165479600429535, -0.018094755709171295, 0.27411890029907227, 0.4272425174713135, -0.29054030776023865, 0.365108847618103, -0.2620978355407715, -0.7483978271484375, -0.6061683893203735, 0.294761598110199, -0.7113671898841858, -0.2872057855129242, 1.2923548221588135, 0.04070282354950905, -0.08686772733926773, -0.0896494910120964, -0.6376895308494568, -0.06151814013719559, -0.44860371947288513, 0.999714732170105, 0.3369189202785492, -0.2801814377307892, -0.2716285288333893, -0.3511252999305725, 0.4809766113758087, -0.0402531772851944, -1.085349202156067, 0.20616212487220764, 1.2196625471115112, 0.39597734808921814, 0.11193106323480606, 0.5871757864952087, -0.11761098355054855, 0.46548283100128174, -0.17429989576339722, 0.43765243887901306, -0.3113006055355072, -0.4358298182487488, -0.3215869665145874, 0.07039062678813934, 0.5005088448524475, 0.31548163294792175 ]
http://arxiv.org/abs/2406.07736v1
http://arxiv.org/pdf/2406.07736v1
MultiPragEval: Multilingual Pragmatic Evaluation of Large Language Models
2024-06-11T21:46:03
2024-06-11T21:46:03
Dojun Park, Jiwoo Lee, Seohyun Park, Hyeyun Jeong, Youngeun Koo, Soonha Hwang, Seonwoo Park, Sungeun Lee
cs.CL
cs.CL
As the capabilities of LLMs expand, it becomes increasingly important to evaluate them beyond basic knowledge assessment, focusing on higher-level language understanding. This study introduces MultiPragEval, a robust test suite designed for the multilingual pragmatic evaluation of LLMs across English, German, Korean, and Chinese. Comprising 1200 question units categorized according to Grice's Cooperative Principle and its four conversational maxims, MultiPragEval enables an in-depth assessment of LLMs' contextual awareness and their ability to infer implied meanings. Our findings demonstrate that Claude3-Opus significantly outperforms other models in all tested languages, establishing a state-of-the-art in the field. Among open-source models, Solar-10.7B and Qwen1.5-14B emerge as strong competitors. This study not only leads the way in the multilingual evaluation of LLMs in pragmatic inference but also provides valuable insights into the nuanced capabilities necessary for advanced language comprehension in AI systems.
[ -0.4797615706920624, -0.6727406978607178, 0.4661233127117157, 0.7460080981254578, 0.03234289586544037, -0.00253179669380188, -0.5742480754852295, -0.3035607635974884, -0.3459620475769043, 0.24329718947410583, -0.31588780879974365, -0.5051462054252625, -0.4850670099258423, 0.15691785514354706, 0.027632156386971474, 0.6829752922058105, -0.1862521916627884, 0.4837256371974945, -0.3706623315811157, -0.4566503167152405, -0.17751950025558472, -0.615657389163971, -0.2936389446258545, -0.5012098550796509, 0.41827648878097534, 0.41542497277259827, 0.5176159143447876, 0.015771856531500816, 0.5423533916473389, 0.31965598464012146, -0.003616915550082922, 0.29460805654525757, -0.1798219233751297, 0.169042706489563, 0.014317595399916172, -0.4534814655780792, -0.43622615933418274, 0.16076365113258362, 0.7600570321083069, 0.5096445679664612, -0.06653806567192078, 0.09481347352266312, 0.03274192661046982, 0.424951434135437, -0.6207881569862366, 0.30608999729156494, -0.42582082748413086, -0.17951832711696625, 0.15005579590797424, 0.0282762348651886, -0.503676176071167, -0.33731403946876526, 0.11688125133514404, -0.46247977018356323, -0.11080712080001831, -0.09768025577068329, 0.885100245475769, -0.09059629589319229, -0.5473319292068481, -0.17838561534881592, -0.2790759801864624, 1.001775860786438, -0.4281185567378998, 0.5051190853118896, 0.18865177035331726, 0.4361891448497772, 0.09026986360549927, -0.7587057948112488, -0.5929821133613586, -0.7782136797904968, -0.11660131067037582, 0.4135083258152008, -0.09153349697589874, 0.18881747126579285, -0.18645954132080078, 0.4338313341140747, -0.7287653684616089, 0.13235655426979065, -0.15164488554000854, -0.3402022123336792, 0.6867087483406067, -0.12649142742156982, 0.40208160877227783, -0.17541846632957458, -0.5710844993591309, -0.23593264818191528, -0.5339589715003967, 0.13014164566993713, 0.31884855031967163, 0.19101786613464355, -0.12773051857948303, 0.38629716634750366, 0.06770971417427063, 0.9409895539283752, -0.5372989177703857, -0.39914998412132263, 0.24497804045677185, -0.6584075093269348, -0.16918954253196716, -0.333407998085022, 0.6531267762184143, 0.3168620765209198, 0.49102601408958435, 0.08663202077150345, -0.12581849098205566, 0.12321793287992477, -0.1217876449227333, -0.5648922324180603, -0.007853100076317787, 0.2870546579360962, -0.24593915045261383, -0.02150530181825161, 0.17181755602359772, -0.5572660565376282, -0.3024482727050781, -0.29519224166870117, 0.32147204875946045, -0.5088959336280823, -0.41180020570755005, 0.35475626587867737, -0.12478728592395782, 0.5021282434463501, 0.4543699622154236, -0.24076680839061737, 0.05874069780111313, 0.8402346968650818, 0.6476287245750427, -0.34769171476364136, -0.9496304988861084, -0.5475419759750366, -0.20900817215442657, -0.21692390739917755, 0.8907526731491089, -0.5743474960327148, -0.3562828600406647, 0.009409049525856972, 0.23481608927249908, -0.2176482081413269, -0.4417339265346527, 0.5980857610702515, -0.4878755211830139, 0.2557932734489441, -0.12222244590520859, -0.46469834446907043, -0.44052883982658386, 0.761277437210083, -0.48954230546951294, 0.8469980359077454, -0.08565068989992142, -0.5125067234039307, 0.274128794670105, -0.5868501663208008, -0.3711370825767517, 0.3280678987503052, -0.2893441617488861, -0.2643739581108093, -0.07171183079481125, 0.20949587225914001, 0.42402830719947815, -0.3903656601905823, 0.4376218616962433, -0.34403491020202637, -0.11992230266332626, 0.2291184812784195, -0.6209145784378052, 0.7365506291389465, 0.0833701491355896, -0.06186705455183983, 0.44074973464012146, -0.6366940140724182, 0.1827061027288437, 0.12615007162094116, -0.2507362365722656, -0.4808940589427948, -0.3577304780483246, -0.15958504378795624, 0.21533748507499695, 0.32409021258354187, -0.28827041387557983, 0.0307279322296381, -0.24910491704940796, 0.36384662985801697, 0.6387002468109131, 0.20724578201770782, 0.365259051322937, -0.21736299991607666, 0.9246883988380432, -0.084653839468956, 0.18868927657604218, -0.45507922768592834, -0.5598662495613098, -0.638489305973053, -0.5837028622627258, 0.15971523523330688, 0.7418861389160156, -0.6068519353866577, 0.20148800313472748, -0.038269683718681335, -0.6758927702903748, -0.48541584610939026, 0.1455337405204773, 0.5004283785820007, 0.3150565028190613, 0.22834719717502594, -0.07967425137758255, -0.14940917491912842, -1.0954785346984863, -0.37420138716697693, -0.20208702981472015, 0.09730935841798782, 0.49841246008872986, 0.6289295554161072, -0.10708039999008179, 0.5372670292854309, -0.21229681372642517, 0.08961798995733261, -0.5592750310897827, 0.11968270689249039, 0.14611048996448517, 0.2510955333709717, 0.4325793981552124, -0.863224983215332, -0.41056832671165466, 0.19187848269939423, -0.5707551836967468, -0.1981022208929062, -0.042496513575315475, -0.0756363645195961, -0.10977069288492203, 0.09457552433013916, -0.5124297738075256, -0.09622902423143387, 0.9230666756629944, -0.25797224044799805, 0.8127066493034363, -0.33037182688713074, 0.3779124915599823, -0.9390823245048523, 0.03881850838661194, 0.2674283981323242, -0.1766137182712555, -0.5372889041900635, 0.4211876392364502, 0.37931331992149353, -0.06056629493832588, -0.778529167175293, 0.7179745435714722, -0.63275545835495, -0.37651968002319336, -0.0001169171227957122, 0.7088118195533752, 0.574159562587738, 0.18702872097492218, -0.06581906974315643, 1.1668705940246582, 0.543582022190094, -0.8140342831611633, 0.6096797585487366, 0.24399857223033905, -0.6825261116027832, 0.7077430486679077, -0.6458172798156738, -0.019837358966469765, -0.1003875732421875, 0.13457460701465607, -1.1161837577819824, -0.1334226280450821, -0.20936107635498047, -0.5049424171447754, -0.023480670526623726, -0.11391807347536087, -0.46882712841033936, -0.20765458047389984, -0.16341151297092438, 0.29612600803375244, 0.061765238642692566, -0.45572230219841003, 0.5113812685012817, 0.30341511964797974, -0.2677716016769409, -0.7077106833457947, -0.6300343871116638, 0.008574786596000195, -0.334107905626297, -1.0174862146377563, 0.06264554709196091, -0.029362814500927925, -0.7443963885307312, -0.31571486592292786, 0.2589645981788635, -0.18329854309558868, 0.2933557629585266, -0.18652069568634033, 0.3391525149345398, -0.14810195565223694, 0.2980445921421051, -0.07206573337316513, -0.12994380295276642, -0.1425398588180542, -0.3617154359817505, 0.5510445833206177, -0.7418747544288635, -0.8201851844787598, -0.13152004778385162, 0.1102227196097374, 0.6669756174087524, -0.8225597739219666, 0.5568820834159851, 0.7744195461273193, -0.19295553863048553, -0.24112924933433533, -0.45047080516815186, -0.16423697769641876, -0.4108664095401764, 0.6291918754577637, -0.584953784942627, -1.0414241552352905, 0.6245042085647583, -0.1917133927345276, 0.03129867836833, 0.40585699677467346, 0.7828069925308228, 0.32028400897979736, 0.8452882170677185, 0.34778186678886414, 0.10295790433883667, 0.10835101455450058, -0.06742623448371887, 0.11412210762500763, -0.6314788460731506, -0.2629033625125885, -0.5833656787872314, 0.04059957340359688, -0.5107853412628174, -0.6245878338813782, 0.6320412755012512, 0.10046616196632385, -0.15676340460777283, 0.17908483743667603, -0.209145650267601, 0.4221430718898773, 0.40316087007522583, -0.24429458379745483, 0.5138964653015137, -0.15319499373435974, -0.32905706763267517, -0.1866525411605835, -0.6136123538017273, -0.7140718698501587, 0.7166699171066284, 0.45737871527671814, 0.6113960146903992, 0.3644079864025116, 0.33941835165023804, 0.07598353177309036, 0.47269243001937866, -0.9160826802253723, 0.5324400663375854, 0.08962199836969376, -0.6348314881324768, -0.25697028636932373, -0.23513442277908325, -0.8580049872398376, 0.8875668048858643, 0.20726998150348663, -0.5052613615989685, -0.057648852467536926, -0.17791643738746643, -0.3544098138809204, 0.007818235084414482, -0.9635432958602905, 1.0651592016220093, -0.6316444873809814, -0.4338545501232147, -0.24011316895484924, -0.36341309547424316, 0.6744862794876099, 0.026135016232728958, 0.32779282331466675, -0.2430807650089264, -0.14389102160930634, 0.39952191710472107, 0.019443804398179054, 0.5985218286514282, -0.11274339258670807, -0.335648775100708, 0.35192325711250305, 0.10880979895591736, 0.3522306978702545, 0.4370978772640228, -0.2579210102558136, 0.17408250272274017, 0.027795786038041115, -0.35375893115997314, -0.5904499292373657, 0.7651329040527344, -0.7341105341911316, -0.5791147351264954, -0.35612621903419495, -0.5529890656471252, -0.3625815808773041, 0.25713294744491577, -0.07449258863925934, 0.31083667278289795, -0.3406168520450592, 0.2143973410129547, 0.571702241897583, -0.6308246850967407, 0.3519393801689148, 0.7237729430198669, -0.3188030421733856, -0.5920936465263367, 0.8088400363922119, -0.18162745237350464, 0.5188422203063965, 0.3152817487716675, 0.36269694566726685, -0.5628800392150879, -0.34801918268203735, -0.5756955146789551, 0.25357428193092346, -0.962384819984436, 0.037173639982938766, -0.5423843264579773, 0.17649215459823608, -0.269840270280838, -0.04144855961203575, -0.3609044849872589, -0.15789778530597687, 0.013245047070086002, -0.23379230499267578, 0.16136738657951355, 0.5595069527626038, 0.09946796298027039, 0.06113124638795853, -0.9760458469390869, 0.007986587472259998, 0.2676801085472107, 0.25195127725601196, -0.2695259749889374, -0.5182126760482788, -0.009427235461771488, -0.10377387702465057, -0.23792198300361633, -0.9646155834197998, 0.3476896584033966, 0.19831058382987976, 1.005240559577942, 0.22271263599395752, -0.004632111173123121, 0.5801971554756165, -0.262818843126297, 1.0170345306396484, 0.03469165414571762, -1.123334527015686, 0.29622069001197815, -0.28203773498535156, 0.15873949229717255, 0.6558310985565186, 0.3186463713645935, -0.6545459628105164, -0.08876711130142212, -0.48087820410728455, -0.6802908182144165, 0.34412920475006104, -0.06660885363817215, -0.038390375673770905, 0.09705089777708054, 0.11922994256019592, 0.0666293278336525, 0.4244612455368042, -0.8730447888374329, -0.1873018741607666, -0.03648785129189491, 0.0055231316946446896, -0.3587590456008911, -0.1753387749195099, -0.3217298686504364, -0.07843832671642303, 0.3800932466983795, -0.24488376080989838, 0.21195828914642334, 0.31678274273872375, -0.3224327564239502, 0.34482845664024353, 0.5509824156761169, 1.0226142406463623, 0.9602345824241638, 0.13749052584171295, 0.23266515135765076, 0.3015900254249573, -0.15887127816677094, 0.3397086560726166, 0.14198769629001617, 0.19618888199329376, -0.06974910944700241, 0.6838098764419556, 0.7803225517272949, 0.06897920370101929, -0.7736968994140625, 0.8072088956832886, -0.03963698819279671, -0.20142856240272522, -0.32569563388824463, -0.25976940989494324, 0.09809493273496628, 0.1621141880750656, 0.1073337197303772, -0.18284915387630463, -0.13680438697338104, -0.36405983567237854, 0.5046199560165405, 0.47445881366729736, -0.3091931939125061, -0.2853497266769409, 0.13671272993087769, 0.258064329624176, -0.0715448409318924, 0.28979891538619995, -0.5543726682662964, -0.7849482893943787, 0.5545376539230347, 0.38058221340179443, 0.6765957474708557, -0.2938626706600189, 0.1778770238161087, 0.2378097027540207, 0.6320293545722961, -0.023458309471607208, 0.410936564207077, 0.07136959582567215, -0.9518024325370789, -0.7990157604217529, -0.44437626004219055, -0.6441102027893066, 0.13378171622753143, -0.5896198749542236, 0.24232706427574158, -0.1378897726535797, 0.039154186844825745, -0.5104444622993469, 0.09625241905450821, -0.4962555468082428, -0.016370045021176338, -0.014915995299816132, 1.126557469367981, -0.8091697692871094, 0.8027610182762146, 1.0173054933547974, -0.2926037013530731, -0.6760194897651672, 0.027939848601818085, -0.09960483014583588, -1.162387728691101, 0.6963767409324646, 0.3046855330467224, -0.27370649576187134, -0.02081516943871975, -0.3381615877151489, -0.5331732034683228, 1.1103479862213135, 0.37253472208976746, -0.32639214396476746, 0.3980204463005066, -0.16612355411052704, 0.4871547818183899, -0.3472996950149536, 0.4577346742153168, 0.5888970494270325, 0.9263930916786194, -0.13889433443546295, -1.0559146404266357, -0.4307098090648651, -0.21695773303508759, -0.24427147209644318, -0.055155958980321884, -0.845856785774231, 0.8170002102851868, -0.1520519256591797, -0.07694099098443985, -0.2528691291809082, 0.5981394648551941, 0.7211686372756958, 0.3820432722568512, 0.5235123038291931, 0.31902921199798584, 0.8334822654724121, -0.21975253522396088, 1.2204265594482422, -0.7220196723937988, 0.3749004900455475, 0.9282374978065491, -0.5143888592720032, 0.678229808807373, 0.2933712899684906, -0.2787095904350281, 0.39598241448402405, 0.6313354969024658, 0.06522335857152939, 0.17781764268875122, 0.29417645931243896, -0.3696947395801544, -0.41623494029045105, -0.22424474358558655, -0.2759355902671814, 0.5802819728851318, 0.44554924964904785, 0.01022194791585207, -0.22219695150852203, 0.11590035259723663, 0.14238980412483215, 0.24210456013679504, -0.18373948335647583, 0.5525674223899841, 0.1093963086605072, -1.0298670530319214, 0.4872545003890991, 0.29150936007499695, 0.6289642453193665, -0.8464621305465698, 0.13419771194458008, -0.2662962079048157, 0.38509121537208557, 0.07236263900995255, -0.816094160079956, 0.04046635329723358, -0.11712603271007538, 0.37858515977859497, -0.2662193477153778, 0.7760822772979736, -0.5042973160743713, -0.48029932379722595, 0.6147276759147644, 0.8527688384056091, 0.06305921822786331, -0.24911034107208252, -0.9985136985778809, 0.1973203867673874, -0.03583136945962906, -0.3628457486629486, 0.2486979365348816, 0.4238775372505188, -0.04194273054599762, 0.8896641135215759, 0.4741002321243286, 0.15570612251758575, 0.010125900618731976, 0.4324128329753876, 0.572028636932373, -0.35812532901763916, -0.46209952235221863, -0.867997944355011, 0.5508784055709839, 0.07684850692749023, -0.29666900634765625, 1.1603494882583618, 0.33348265290260315, 0.8537030816078186, 0.06752800196409225, 1.0511980056762695, 0.3408638834953308, 0.27032509446144104, -0.33396923542022705, 0.4316798448562622, -0.6322580575942993, 0.14303798973560333, -0.3010193109512329, -0.7270973324775696, -0.47525593638420105, 0.751519501209259, -0.6047503352165222, 0.23531155288219452, 0.6794464588165283, 0.6781901121139526, 0.12728916108608246, 0.0032970779575407505, 0.5909194350242615, -0.13797122240066528, 0.4847228527069092, 0.5353397727012634, 1.1638731956481934, -0.20619237422943115, 0.47173094749450684, -0.04801982641220093, -0.48193371295928955, 0.01999208889901638, -0.9986866116523743, -0.8040412068367004, -0.5264201760292053, -0.10957252979278564, -0.4054988622665405, -0.18534140288829803, 0.8945050239562988, 0.5150251388549805, -0.6782836318016052, -0.42579615116119385, -0.023025590926408768, 0.21569904685020447, -0.2746524512767792, -0.23852747678756714, 0.2526717483997345, -0.5325008630752563, -0.8271974325180054, 0.6978921890258789, 0.4900025427341461, 0.015851233154535294, -0.7715333700180054, -0.4731241762638092, -0.24658574163913727, -0.019527332857251167, 0.6518473029136658, -0.09664996713399887, -0.7347575426101685, -0.03322581574320793, 0.2491428256034851, -0.10169179737567902, -0.10922309756278992, 0.8584781885147095, -0.3376123607158661, 0.4947126507759094, 0.6177656054496765, 0.6702468991279602, -0.012170801870524883, 0.21785639226436615, 0.6900497078895569, -0.6529840230941772, 0.4375331401824951, 0.3467722237110138, 0.618617057800293, 0.4668215811252594, -0.032269030809402466, 0.28537070751190186, 0.31303513050079346, -0.5468224883079529, -0.7805088758468628, 0.5309597253799438, -0.588487982749939, -0.2855316996574402, 1.522032618522644, -0.5613260269165039, -0.01172858476638794, -0.1422431915998459, -0.10966424643993378, -0.029076529666781425, -0.12196801602840424, 0.17251016199588776, 1.0067641735076904, -0.038162000477313995, -0.3889580965042114, -0.7409554123878479, 0.15383723378181458, 0.6804318428039551, -0.8375054001808167, 0.04605775699019432, 0.4813728332519531, 0.062284376472234726, 0.22064213454723358, 0.506454586982727, -0.1740318238735199, 0.14185795187950134, -0.17213329672813416, 0.18762518465518951, -0.1297045201063156, -0.4016747772693634, -0.6380133628845215, 0.39809197187423706, 0.43439817428588867, -0.19818705320358276 ]
http://arxiv.org/abs/2406.07735v1
http://arxiv.org/pdf/2406.07735v1
REAL Sampling: Boosting Factuality and Diversity of Open-Ended Generation via Asymptotic Entropy
2024-06-11T21:44:49
2024-06-11T21:44:49
Haw-Shiuan Chang, Nanyun Peng, Mohit Bansal, Anil Ramakrishna, Tagyoung Chung
cs.CL
cs.CL, cs.LG
Decoding methods for large language models (LLMs) usually struggle with the tradeoff between ensuring factuality and maintaining diversity. For example, a higher p threshold in the nucleus (top-p) sampling increases the diversity but decreases the factuality, and vice versa. In this paper, we propose REAL (Residual Entropy from Asymptotic Line) sampling, a decoding method that achieves improved factuality and diversity over nucleus sampling by predicting an adaptive threshold of $p$. Specifically, REAL sampling predicts the step-wise likelihood of an LLM to hallucinate, and lowers the p threshold when an LLM is likely to hallucinate. Otherwise, REAL sampling increases the p threshold to boost the diversity. To predict the step-wise hallucination likelihood without supervision, we construct a Token-level Hallucination Forecasting (THF) model to predict the asymptotic entropy (i.e., inherent uncertainty) of the next token by extrapolating the next-token entropies from a series of LLMs with different sizes. If a LLM's entropy is higher than the asymptotic entropy (i.e., the LLM is more uncertain than it should be), the THF model predicts a high hallucination hazard, which leads to a lower p threshold in REAL sampling. In the FactualityPrompts benchmark, we demonstrate that REAL sampling based on a 70M THF model can substantially improve the factuality and diversity of 7B LLMs simultaneously, judged by both retrieval-based metrics and human evaluation. After combined with contrastive decoding, REAL sampling outperforms 9 sampling methods, and generates texts that are more factual than the greedy sampling and more diverse than the nucleus sampling with $p=0.5$. Furthermore, the predicted asymptotic entropy is also a useful unsupervised signal for hallucination detection tasks.
[ -0.45691874623298645, -0.5537106394767761, 0.39736565947532654, 0.1909482330083847, -0.3381621539592743, 0.16611216962337494, -0.43141108751296997, -0.7190869450569153, 0.33027130365371704, 0.5138466954231262, -0.6796200275421143, -0.4786604344844818, -0.37201234698295593, 0.07878047227859497, -0.3497510254383087, 0.6817006468772888, 0.4404484033584595, 0.21557483077049255, -0.12619459629058838, 0.19182144105434418, -0.3241306245326996, -0.48682060837745667, -0.32207366824150085, -0.14705000817775726, 0.3166621923446655, 0.4122582972049713, 0.551634669303894, 0.6682059168815613, 0.139666348695755, 0.17499063909053802, -0.2313152253627777, 0.22722546756267548, -0.6793482899665833, 0.38152453303337097, -0.04287485405802727, -0.7436037659645081, -0.08531087636947632, 0.14030423760414124, 0.5994107127189636, 0.6572676301002502, -0.1982472836971283, 0.11673848330974579, -0.050554513931274414, 0.4072011411190033, -0.8029870986938477, -0.18522322177886963, -0.7009244561195374, 0.2396395355463028, 0.17218466103076935, -0.6164251565933228, -0.5896541476249695, -0.5360878109931946, -0.07786890864372253, -0.37881121039390564, 0.42430534958839417, 0.20034809410572052, 0.7555668950080872, 0.18281778693199158, -0.02570502832531929, -0.3746885657310486, -0.9953189492225647, 0.9098271727561951, -0.6839026212692261, 0.5307990312576294, 0.5791465640068054, 0.3448898494243622, -0.024510731920599937, -0.66530442237854, -0.7549713850021362, -0.4639118015766144, 0.3641006350517273, 0.3036520183086395, 0.10660935193300247, -0.20800846815109253, 0.14064978063106537, 0.5112046599388123, -0.4152557849884033, 0.12717725336551666, -0.5741535425186157, -0.34680604934692383, 0.3902713656425476, 0.17264164984226227, 0.4095456004142761, -0.04391331598162651, -0.23402808606624603, -0.42770707607269287, -0.6059482097625732, -0.17456109821796417, 0.5574994683265686, 0.3735297620296478, -0.1553836166858673, 0.5112760066986084, -0.22185370326042175, 0.7151782512664795, -0.13084504008293152, -0.18603013455867767, 0.2466035932302475, -0.4627925753593445, -0.11416929960250854, 0.25409260392189026, 0.4463009238243103, 0.33983978629112244, 0.18366247415542603, -0.17861875891685486, -0.10114836692810059, -0.2567801773548126, 0.266985148191452, -0.9758222103118896, -0.39615899324417114, 0.346797376871109, -0.5429136157035828, -0.4581277668476105, 0.33100032806396484, -1.2163760662078857, -0.3492218255996704, -0.3612141013145447, 0.07255853712558746, -0.5392197966575623, -0.2928910255432129, 0.29804161190986633, -0.294535368680954, -0.02477331832051277, 0.2782604694366455, -0.6272890567779541, 0.2080751359462738, 0.5020827054977417, 1.0054266452789307, -0.06378749758005142, -0.31207236647605896, -0.6737271547317505, -0.191924050450325, -0.2931622564792633, 0.9160098433494568, -0.4929027259349823, -0.19797174632549286, 0.0569668784737587, -0.3672090172767639, 0.11101742833852768, -0.8018752932548523, 0.5933692455291748, -0.5977311730384827, 0.30070027709007263, -0.4507814049720764, -0.37360987067222595, -0.12367216497659683, 0.30445873737335205, -0.8105559349060059, 0.7709193825721741, 0.03879434987902641, -0.756702184677124, 0.6451838612556458, -0.1529337465763092, -0.1472187489271164, 0.08625040203332901, -0.23072177171707153, -0.3084641098976135, 0.08884520083665848, 0.12663845717906952, 0.1678466647863388, -0.265834778547287, 0.32797253131866455, -0.34295454621315, -0.5552759170532227, 0.4323171079158783, -0.6357612609863281, 0.9888107776641846, 0.4325094521045685, -0.36993181705474854, 0.16134482622146606, -0.9125100374221802, -0.16411055624485016, -0.13333351910114288, -0.5022720694541931, -0.1511567234992981, -0.012384260073304176, 0.09029217809438705, 0.19766865670681, -0.2801160514354706, -0.6245386004447937, 0.0757678896188736, -0.583253026008606, 0.04397745802998543, 0.6833669543266296, 0.04024837538599968, 0.3128770589828491, -0.5850517153739929, 0.6241198778152466, 0.05182822421193123, -0.26125288009643555, 0.09661456197500229, -0.5777864456176758, -0.37062767148017883, -0.8298055529594421, 0.5472719669342041, 0.7052266597747803, -0.6275665163993835, 1.0872997045516968, -0.4429534077644348, -0.3926432132720947, -0.6574515700340271, -0.23574864864349365, 0.16764697432518005, 0.4476414918899536, 0.43103623390197754, -0.03192432224750519, -0.7590742707252502, -0.23693393170833588, -0.24905602633953094, -0.22403252124786377, -0.4031670093536377, 0.05054518207907677, 0.4703080952167511, -0.26770490407943726, 0.9507216215133667, -0.5459241271018982, -0.1567779779434204, -0.3194431960582733, 0.3463231027126312, 0.18669520318508148, 0.4411764442920685, 0.16060127317905426, -0.6783408522605896, -0.10973669588565826, -0.45998600125312805, -0.7350133657455444, -0.1043638065457344, -0.23762698471546173, -0.19633185863494873, 0.10215827822685242, 0.44655877351760864, -0.5876363515853882, 0.2976840138435364, 0.3546946942806244, -0.5972853302955627, 0.8641288876533508, -0.14264340698719025, 0.0751943588256836, -1.0082488059997559, -0.04989882931113243, -0.23215146362781525, -0.11957040429115295, -0.5018205046653748, 0.2191428393125534, -0.11260175704956055, 0.020304713398218155, -0.2619575560092926, 0.5136868357658386, -0.48478782176971436, -0.11927774548530579, -0.35482022166252136, -0.13930873572826385, -0.136554554104805, 0.0503462590277195, 0.23384208977222443, 0.4881787598133087, 0.46518322825431824, -0.6944511532783508, 0.5019861459732056, -0.01366879791021347, -0.583402693271637, 0.13455377519130707, -0.10937938839197159, -0.2947358787059784, -0.35817623138427734, 0.4500257968902588, -0.8641648888587952, -0.29624366760253906, 0.38157838582992554, -0.6427408456802368, 0.18963614106178284, 0.2543722093105316, -0.3966999053955078, -0.2654084861278534, -0.568221926689148, 0.619570791721344, 0.7918063998222351, -0.779502272605896, 0.3447656035423279, 0.056698836386203766, 0.1531568169593811, -0.7032718062400818, -0.7765834927558899, 0.2320576310157776, -0.1323889195919037, -0.6143635511398315, 0.21943435072898865, -0.18553802371025085, -0.41030076146125793, 0.13862751424312592, -0.14812438189983368, 0.3209526836872101, -0.036960188299417496, 0.02923324890434742, 0.27792173624038696, -0.15704670548439026, 0.0723607987165451, -0.13224156200885773, 0.024094941094517708, -0.01394734252244234, -0.6871690154075623, 0.9085972309112549, 0.23464541137218475, -0.2844354510307312, -0.2294335961341858, 0.03733861818909645, 0.28140372037887573, 0.05066419020295143, 0.9348077774047852, 0.7662127614021301, -0.7052680850028992, -0.46150195598602295, -0.5056598782539368, -0.610947847366333, -0.37738481163978577, 0.20852893590927124, -0.4167303144931793, -0.848032534122467, 0.6220449805259705, 0.335980623960495, 0.05900809168815613, 0.20378710329532623, 0.947745680809021, 0.09948758780956268, 0.5091525316238403, 0.3994637131690979, 0.14603856205940247, 0.24848513305187225, -0.24963165819644928, 0.4275117814540863, -0.5252686142921448, -0.4216943681240082, -0.5043632388114929, -0.315078467130661, -0.4346960186958313, -0.7978071570396423, 0.18301989138126373, 0.073011614382267, 0.21211333572864532, -0.04721177741885185, -0.5843802094459534, 0.3607351779937744, 0.8411023020744324, 0.2599106729030609, 0.41416555643081665, 0.35083144903182983, 0.024567939341068268, -0.03759375959634781, -0.6487362384796143, -0.3349430561065674, 1.2046359777450562, 0.3107338547706604, 0.7749399542808533, -0.16592223942279816, 0.909611165523529, 0.43828245997428894, 0.25605374574661255, -0.8679332733154297, 0.4619089663028717, 0.224861741065979, -0.6018849611282349, -0.5390707850456238, -0.7373611927032471, -0.7614302039146423, 0.3758355677127838, -0.3536573648452759, -0.6505680680274963, 0.5770626664161682, 0.18015603721141815, -0.5733914375305176, 0.5784146785736084, -0.1565045565366745, 0.35847437381744385, 0.17568714916706085, -0.2437969148159027, -0.2115734964609146, -0.5286610722541809, 0.7649292945861816, -0.06582080572843552, 0.3150707185268402, -0.060763828456401825, 0.0864870473742485, 0.806011438369751, -0.2482932060956955, 0.714681088924408, -0.21402610838413239, -0.1049807071685791, 0.4935556650161743, -0.011353306472301483, 0.3754534423351288, 0.2391698658466339, -0.3409644663333893, -0.20063160359859467, -0.09531071037054062, -0.5230034589767456, -0.30086982250213623, 0.6488287448883057, -0.763609766960144, -0.34451308846473694, -0.5241350531578064, -0.6439300775527954, -0.14319835603237152, -0.11370465159416199, 0.9719226360321045, 0.40274885296821594, -0.15443307161331177, 0.3325536251068115, 0.9472360610961914, -0.3558862507343292, 0.2633948028087616, 0.02635025605559349, 0.010143869556486607, -0.4567822515964508, 1.1825023889541626, 0.21196597814559937, 0.25843319296836853, 0.4294646680355072, 0.2477821558713913, -0.3516777455806732, -0.5192117691040039, -0.42979082465171814, 0.16016225516796112, -0.7434279918670654, -0.26716822385787964, -0.9974544644355774, -0.15878254175186157, -0.7443194389343262, -0.16230428218841553, -0.1373278647661209, -0.43662214279174805, -0.32125917077064514, -0.478876531124115, 0.12588602304458618, 0.21668356657028198, -0.36680924892425537, 0.11188486218452454, -0.726839542388916, 0.651787281036377, 0.28402048349380493, 0.1793261021375656, 0.004602127242833376, -0.8644192814826965, -0.1418807953596115, 0.15562009811401367, 0.03916477411985397, -0.9948409795761108, 0.619081974029541, -0.04249412566423416, 0.5327731966972351, 0.3769129812717438, 0.38694554567337036, 0.5244655013084412, -0.030791081488132477, 0.7684585452079773, 0.2450745850801468, -0.6309941411018372, -0.05828214809298515, -0.009858843870460987, 0.2399827092885971, 0.6459164023399353, 0.2926817536354065, -0.40504467487335205, -0.585154116153717, -0.5987411141395569, -0.8803450465202332, 0.7443047761917114, 0.23373600840568542, 0.0614851750433445, 0.06879635900259018, 0.030910523608326912, 0.193585604429245, 0.21131357550621033, -0.8481305241584778, 0.12066558748483658, -0.5786558985710144, -0.42626842856407166, 0.07605111598968506, -0.385506808757782, -0.15314608812332153, -0.31106331944465637, 0.6604456901550293, 0.06935995817184448, 0.5011623501777649, 0.31183260679244995, -0.12472627311944962, -0.38072243332862854, 0.25964492559432983, 0.6850910782814026, 0.6364090442657471, -0.6294921040534973, 0.5296801924705505, 0.15487629175186157, -0.6689872741699219, 0.11849220097064972, -0.14159207046031952, -0.3767412602901459, 0.065468430519104, 0.5455136299133301, 0.8355526924133301, -0.3227056562900543, -1.0564498901367188, 0.22124585509300232, -0.058004721999168396, -0.30305957794189453, -0.3683730959892273, 0.0401839055120945, 0.08203021436929703, 0.0746198296546936, 0.5462849140167236, -0.013898398727178574, 0.20952516794204712, -0.9614811539649963, 0.41773492097854614, 0.25686782598495483, -0.3832932710647583, -0.29961979389190674, 0.6627007722854614, -0.04192506521940231, -0.18614494800567627, 0.7969239354133606, -0.5423108339309692, -0.37152761220932007, 0.7990016937255859, 0.8658254742622375, 0.9903028607368469, -0.11606465280056, 0.08289910107851028, 0.6803258657455444, 0.41972166299819946, -0.32738664746284485, 0.4676281213760376, -0.06302245706319809, -0.8962995409965515, -0.3274361193180084, -1.113344669342041, -0.12115415930747986, 0.297687292098999, -0.5901421308517456, 0.1398797184228897, -0.45899131894111633, 0.04819733276963234, -0.4277106821537018, -0.20840667188167572, -0.1992761790752411, 0.6249597668647766, 0.2629857659339905, 0.9462438225746155, -0.9619723558425903, 0.7218444347381592, 0.3021489381790161, -0.25241485238075256, -0.4636073112487793, 0.5776349306106567, -0.04702640324831009, -0.7074503898620605, 0.4174606204032898, 0.17240123450756073, -0.14444443583488464, 0.046946972608566284, -0.6346392631530762, -0.7278451323509216, 0.9760125875473022, 0.20552973449230194, -0.4300276041030884, -0.16498160362243652, -0.11804667115211487, 0.4089183211326599, -0.39442652463912964, -0.0225644763559103, 0.5848818421363831, 0.5032351613044739, 0.45697134733200073, -0.189571812748909, 0.3966345191001892, -0.2433227002620697, -0.17720122635364532, -0.04008045420050621, -0.037261221557855606, 0.8226358890533447, -0.2766762971878052, -0.3072878420352936, 0.15238884091377258, 1.009156584739685, 0.8377071022987366, 0.3797556459903717, 0.6404308080673218, 0.5572798848152161, 0.9096692800521851, 0.07997258752584457, 0.8954441547393799, -0.4791731834411621, 0.03783154860138893, 0.9027957320213318, -0.07304553687572479, 0.7031263113021851, 0.4409010410308838, -0.021635999903082848, 0.2769680619239807, 0.6640153527259827, -0.1871168166399002, 0.49152979254722595, 0.5427055358886719, -0.44903403520584106, -0.3307068943977356, 0.03047574684023857, -0.4210285544395447, 0.0242186039686203, 0.4070073664188385, -0.11048214882612228, -0.133957177400589, 0.19506533443927765, 0.02512480691075325, 0.2793632447719574, -0.13708990812301636, 0.5602127909660339, 0.048624198883771896, -0.8172445297241211, 0.9067488312721252, 0.1795150637626648, 0.9526443481445312, -0.2348441332578659, 0.07960572838783264, -0.20328986644744873, -0.12786978483200073, -0.30203956365585327, -0.6503435969352722, 0.30693337321281433, -0.10492602735757828, -0.1442888230085373, -0.07868321239948273, 0.7498667240142822, -0.5754820108413696, -0.5829111337661743, 0.2605275511741638, 0.3445098102092743, 0.1652984619140625, -0.16380575299263, -0.14124795794487, 0.01558634452521801, 0.18107996881008148, -0.33354026079177856, 0.21452903747558594, 0.27562612295150757, 0.017046254128217697, 0.6232326030731201, 0.7479780912399292, 0.5272749662399292, 0.4205018877983093, 0.06529641151428223, 0.5927895307540894, -0.8363358974456787, -0.633097231388092, -0.8577877283096313, 0.3289084732532501, -0.12325574457645416, -0.040836967527866364, 0.46341225504875183, 0.6232362389564514, 0.8271651864051819, -0.33740007877349854, 0.8758905529975891, -0.0526634156703949, 0.511333167552948, -0.6465616226196289, 0.5526631474494934, -0.41672441363334656, 0.2607094943523407, 0.15646815299987793, -1.04999840259552, -0.2907756268978119, 0.44947293400764465, -0.07524797320365906, -0.0945243388414383, 0.5481109023094177, 0.8777403831481934, -0.2111167162656784, 0.11989475786685944, 0.40556564927101135, 0.13845194876194, 0.16836640238761902, 0.1450856626033783, 0.9802622199058533, 0.014330620877444744, 0.5930862426757812, -0.2525053322315216, -0.45273563265800476, -0.41198429465293884, -0.46173232793807983, -0.670928418636322, -0.43793249130249023, -0.06214223802089691, -0.6281283497810364, 0.018658144399523735, 1.1352876424789429, 0.5279459953308105, -0.9284496903419495, -0.4179980158805847, -0.24036256968975067, 0.026617377996444702, -0.40612122416496277, -0.27167174220085144, 0.16001279652118683, -0.5053704977035522, -0.7842804789543152, 0.4023289382457733, 0.23402734100818634, 0.008970151655375957, -0.18315471708774567, -0.13693460822105408, -0.16670212149620056, 0.36955755949020386, 0.529028058052063, 0.24948816001415253, -0.578219473361969, -0.10082931071519852, 0.08949457108974457, -0.16351021826267242, 0.039459146559238434, 0.758081316947937, -0.7387732267379761, 0.40824052691459656, 1.0188058614730835, 0.611827552318573, 0.49374616146087646, 0.24025404453277588, 0.6437540054321289, -0.542706310749054, 0.27031996846199036, 0.6268562078475952, 0.14812903106212616, 0.20377930998802185, -0.4021504819393158, 0.2993086874485016, 0.6603312492370605, -0.22023873031139374, -1.3000245094299316, 0.34309282898902893, -0.9024509787559509, -0.7618310451507568, 1.2315810918807983, 0.1455334573984146, -0.1976316124200821, -0.35669517517089844, -0.12723186612129211, 0.6050299406051636, -0.27898338437080383, 1.2248204946517944, 0.5668627023696899, 0.14898991584777832, -0.0466659851372242, -0.4905039966106415, 0.6531325578689575, 0.4372299313545227, -0.7794477939605713, 0.24378246068954468, 0.5724767446517944, 0.01119896862655878, 0.2314670830965042, 0.752305269241333, -0.043561387807130814, 0.34928709268569946, 0.1898420751094818, 0.12823529541492462, 0.023134641349315643, -0.5697599649429321, -0.34359827637672424, 0.4277612566947937, 0.08626721054315567, -0.03634437173604965 ]
http://arxiv.org/abs/2406.10275v1
http://arxiv.org/pdf/2406.10275v1
ExHuBERT: Enhancing HuBERT Through Block Extension and Fine-Tuning on 37 Emotion Datasets
2024-06-11T21:30:15
2024-06-11T21:30:15
Shahin Amiriparian, Filip Packań, Maurice Gerczuk, Björn W. Schuller
cs.CL
cs.CL, 68T10, I.2
Foundation models have shown great promise in speech emotion recognition (SER) by leveraging their pre-trained representations to capture emotion patterns in speech signals. To further enhance SER performance across various languages and domains, we propose a novel twofold approach. First, we gather EmoSet++, a comprehensive multi-lingual, multi-cultural speech emotion corpus with 37 datasets, 150,907 samples, and a total duration of 119.5 hours. Second, we introduce ExHuBERT, an enhanced version of HuBERT achieved by backbone extension and fine-tuning on EmoSet++. We duplicate each encoder layer and its weights, then freeze the first duplicate, integrating an extra zero-initialized linear layer and skip connections to preserve functionality and ensure its adaptability for subsequent fine-tuning. Our evaluation on unseen datasets shows the efficacy of ExHuBERT, setting a new benchmark for various SER tasks. Model and details on EmoSet++: https://huggingface.co/amiriparian/ExHuBERT.
[ -0.48263004422187805, -0.630803644657135, -0.09652549773454666, 0.14456698298454285, -0.35024043917655945, 0.0880899652838707, -0.3209153711795807, -0.7211232781410217, 0.7543599605560303, 0.16649018228054047, -0.26248279213905334, -0.217294842004776, -0.52530437707901, -0.048463329672813416, -0.3212076425552368, 0.9611623287200928, -0.056511543691158295, 0.09905565530061722, 0.14300034940242767, -0.17860136926174164, 0.06256984174251556, -0.6191948056221008, -0.7971952557563782, -0.3179570436477661, 0.40052855014801025, 0.5566064715385437, 0.37612608075141907, 0.35958951711654663, 0.2828467786312103, 0.19370348751544952, -0.011654148809611797, 0.20798833668231964, -0.566547155380249, 0.5718139410018921, 0.23070789873600006, -0.1094769537448883, -0.5913353562355042, -0.2760661840438843, 0.3905385136604309, 0.3473975956439972, -0.21982641518115997, 0.122869573533535, 0.12533199787139893, 0.8311817049980164, -0.8605998158454895, 0.15469281375408173, -0.24369217455387115, 0.21306458115577698, -0.24371974170207977, -0.33820629119873047, -0.37180548906326294, -0.2847312092781067, 0.4784913659095764, -0.36206603050231934, -0.09610025584697723, 0.003399884095415473, 0.7473289966583252, 0.17424620687961578, -0.4194578230381012, -0.03558238223195076, -0.4309941828250885, 0.6038508415222168, -0.4448256492614746, 0.5256968140602112, 0.3338901996612549, 0.32009920477867126, 0.06318151205778122, -0.7040888667106628, -0.2157333940267563, -0.1001230999827385, 0.27420949935913086, 0.3095879852771759, -0.46945586800575256, 0.10070203989744186, 0.47389650344848633, 0.39692676067352295, -0.5741640329360962, -0.11781007796525955, -0.35129573941230774, -0.1435457170009613, 0.5932161808013916, -0.07289966940879822, 0.08254241198301315, 0.012891856953501701, 0.026653358712792397, -0.4140692353248596, -0.3965222239494324, 0.5565227270126343, 0.5240480303764343, 0.12430057674646378, -0.2723154127597809, 0.2068433165550232, -0.27761784195899963, 0.5712500810623169, 0.08338873088359833, 0.5890440344810486, 0.4389532506465912, 0.5869179964065552, -0.2997349202632904, 0.31072238087654114, 0.49638083577156067, 0.12938839197158813, 0.3754940330982208, 0.21279729902744293, 0.01778918132185936, -0.1311410814523697, 0.2998204529285431, -0.9463611245155334, -0.8210613131523132, 0.4612528085708618, -0.2619486153125763, -0.23442591726779938, 0.01676100492477417, -0.9575933218002319, -0.6648755669593811, -0.4401431083679199, 0.43093347549438477, -0.5123421549797058, -0.22412621974945068, 0.06546178460121155, -0.09630497545003891, 0.17437471449375153, 0.2915534973144531, -0.9916296601295471, 0.5354844331741333, 0.7497175335884094, 0.6589851975440979, -0.3004692494869232, -0.20493516325950623, -1.0760483741760254, -0.12269436568021774, -0.3712043762207031, 0.4465268552303314, -0.7593984007835388, -0.10389780253171921, 0.06835390627384186, -0.017193341627717018, 0.5166965126991272, -0.40872836112976074, 0.7948673367500305, -0.3237607479095459, -0.009523673914372921, -0.1936403214931488, -0.4852322041988373, -0.4480195641517639, 0.03270157799124718, -0.6504610180854797, 1.1575833559036255, 0.31980594992637634, -0.5583674311637878, 0.13179297745227814, -0.37924230098724365, -0.748630702495575, -0.1376224309206009, 0.06102873384952545, -0.45464131236076355, 0.6746361255645752, 0.23371878266334534, 0.6051950454711914, -0.3070640563964844, 0.18488165736198425, -0.584121823310852, -0.24991323053836823, 0.15067163109779358, -0.16812939941883087, 0.6420786380767822, -0.0290239155292511, -0.3866990804672241, 0.23541860282421112, -1.0922331809997559, 0.17157553136348724, -0.3121805787086487, -0.026610804721713066, -0.49142929911613464, -0.3094486594200134, 0.30146151781082153, 0.26847290992736816, 0.11236754804849625, -0.6799762845039368, -0.1878303438425064, -0.3303149938583374, 0.3376632034778595, 0.7108091711997986, -0.3826197683811188, 0.3113420307636261, -0.25189948081970215, 0.6764668226242065, -0.22071751952171326, 0.17860397696495056, -0.2934510409832001, -0.27564316987991333, -1.1212868690490723, -0.5064893960952759, 0.31768089532852173, 0.3492676019668579, -0.21268640458583832, 0.2999727725982666, -0.19939731061458588, -0.5794591307640076, -0.9121184945106506, -0.3680666983127594, 0.18147113919258118, 0.5389094352722168, 0.651846706867218, -0.5322977304458618, -0.8691137433052063, -0.85572749376297, -0.10439137369394302, 0.21704964339733124, 0.26124703884124756, 0.5797291994094849, 0.3441338539123535, -0.0423462875187397, 0.7233816385269165, -0.314342200756073, 0.1549394130706787, 0.037620335817337036, 0.3062223792076111, 0.1440810263156891, 0.6642434000968933, 0.4417347013950348, -0.8623828887939453, -0.7600677013397217, 0.2729649543762207, -0.7105393409729004, -0.2940230071544647, 0.18927378952503204, -0.32025235891342163, 0.2871990501880646, 0.12634411454200745, -0.10830653458833694, 0.31977903842926025, 0.7319620847702026, 0.017084581777453423, 0.6821126341819763, -0.11398813873529434, 0.29604101181030273, -0.8741304278373718, 0.012239210307598114, -0.2964062988758087, -0.3522427976131439, -1.0300277471542358, -0.057265155017375946, 0.25266578793525696, -0.5442884564399719, -0.30502328276634216, 0.5278133749961853, -0.4026198387145996, -0.09627722203731537, -0.30703914165496826, 0.043246980756521225, 0.047550126910209656, 0.5782648324966431, 0.16587144136428833, 0.14411336183547974, 0.9526020884513855, -0.5018295645713806, 0.8227562308311462, 0.1481693834066391, -0.22727735340595245, 0.665688157081604, -0.8169105648994446, 0.2888683080673218, 0.0024272482842206955, 0.224443256855011, -0.7370458245277405, -0.4979081153869629, 0.086502805352211, -0.4627504050731659, 0.6662690043449402, 0.053022902458906174, -0.07180887460708618, -0.20991751551628113, -0.7073277235031128, 0.26322758197784424, 0.7761115431785583, -0.6899260878562927, 1.0136772394180298, 0.4580964148044586, -0.506697416305542, -0.6842175126075745, -0.8256805539131165, 0.10014427453279495, -0.312783420085907, -0.6434720754623413, 0.27391543984413147, -0.007774496451020241, 0.011667141690850258, -0.15652626752853394, -0.2020176500082016, -0.1979796141386032, 0.023165496066212654, 0.4922342598438263, -0.16716884076595306, 0.18490704894065857, 0.18712444603443146, 0.5462450385093689, -0.10942129790782928, -0.14763474464416504, -0.20139995217323303, 0.5719543695449829, -0.09711305797100067, -0.12971825897693634, -0.4973187744617462, 0.6718266606330872, 0.5480289459228516, -0.29999762773513794, 0.3528916537761688, 0.8823084235191345, -0.45281943678855896, -0.30587852001190186, -0.45123764872550964, -0.26427558064460754, -0.4347842335700989, 0.39030253887176514, -0.6614101529121399, -1.090452790260315, 0.6626505851745605, -0.08630368858575821, -0.050062838941812515, -0.1007130891084671, 0.31577885150909424, -0.09400483965873718, 0.7925081849098206, 0.6427896618843079, -0.2520316541194916, 0.5821237564086914, -0.20513352751731873, 0.11658541858196259, -1.2452685832977295, -0.24389386177062988, -0.28713271021842957, -0.643539547920227, -0.6200562119483948, -0.18378201127052307, 0.3529733717441559, 0.18669858574867249, -0.2331215739250183, 0.6083628535270691, -0.4129030108451843, -0.016709746792912483, 0.5419212579727173, 0.1811986118555069, -0.2144029140472412, 0.2309892624616623, 0.18384842574596405, -0.24220086634159088, -0.5074335336685181, -0.039557043462991714, 0.9046018123626709, 0.11696775257587433, 0.7458264827728271, 0.22153256833553314, 0.7999099493026733, 0.3817814886569977, 0.16269998252391815, -0.7959389686584473, 0.3665800094604492, -0.20226998627185822, -0.4225369393825531, -0.2822117805480957, -0.3597751259803772, -0.6043814420700073, 0.234718918800354, -0.09621170908212662, -0.9706304669380188, 0.4723184108734131, 0.4479229748249054, -0.3219698965549469, -0.15639956295490265, -0.4860646426677704, 0.6046445369720459, -0.30340471863746643, -0.675827145576477, -0.4619908928871155, -0.6652121543884277, 0.132671058177948, -0.39172080159187317, -0.08675725013017654, -0.23326526582241058, 0.009725061245262623, 0.6106479167938232, -0.24346967041492462, 0.5007869005203247, -0.1616179645061493, -0.1953561007976532, 0.06559129059314728, 0.11895275861024857, 0.7682967185974121, -0.08925890177488327, -0.5810790657997131, -0.0017382769146934152, -0.1482102870941162, -0.24268411099910736, -0.7259019613265991, 0.6552923321723938, -0.5357640981674194, -0.17767643928527832, -0.215377539396286, -0.5485371947288513, -0.27592822909355164, -0.17647767066955566, 0.31387171149253845, 0.7735616564750671, -0.2570696771144867, 0.41638001799583435, 0.3885987102985382, -0.4896392226219177, 0.09359569102525711, 0.6295697093009949, -0.22886627912521362, -0.6273434162139893, 1.0472506284713745, 0.092694953083992, 0.1301921308040619, 0.6481751799583435, 0.317926287651062, -0.18773838877677917, -0.04923221096396446, -0.20196379721164703, -0.22535836696624756, -0.5431911945343018, -0.23805148899555206, -0.913923978805542, 0.20366305112838745, -0.5697134733200073, -0.249649778008461, -0.3689977824687958, -0.7403531074523926, -0.20708319544792175, -0.04121757671236992, 0.7644792795181274, 0.10382033884525299, -0.6450282335281372, 0.2809544801712036, -0.7203748226165771, 0.2997308373451233, 0.41994914412498474, 0.193868026137352, 0.08857846260070801, -0.902329683303833, -0.2886798083782196, 0.044756025075912476, -0.048355940729379654, -0.9012326598167419, 0.5176852941513062, 0.7368001937866211, 0.1491852104663849, 0.6278218030929565, 0.33603841066360474, 0.8185878992080688, -0.4083693027496338, 0.5343130826950073, 0.17050157487392426, -1.4846750497817993, 0.6237048506736755, -0.3972303569316864, -0.04035254940390587, 0.34558624029159546, 0.5658825039863586, -0.7353076934814453, -0.08470229059457779, -0.5520086288452148, -1.1219836473464966, 0.7698246240615845, 0.07916153967380524, 0.1582076996564865, 0.3082221746444702, 0.2562634348869324, 0.3321508765220642, 0.35198894143104553, -0.39477378129959106, -0.15810491144657135, -0.16912472248077393, -0.19805678725242615, 0.11067674309015274, -0.407265305519104, -0.020887242630124092, -0.4939950108528137, 0.823456883430481, 0.0026376659516245127, 0.2535116672515869, 0.02119510807096958, -0.25091901421546936, 0.07769837975502014, 0.21734242141246796, 0.45374226570129395, 0.11903434246778488, -0.34407341480255127, 0.17092075943946838, 0.3475736677646637, -0.2926258444786072, 0.14115069806575775, 0.44123730063438416, 0.059670206159353256, 0.034065019339323044, 0.19794945418834686, 1.250288724899292, 0.40500518679618835, -0.6792203783988953, 0.21650362014770508, 0.08278679847717285, 0.212041974067688, -0.29421401023864746, 0.03835379704833031, -0.2685937285423279, 0.4440942406654358, 0.21398070454597473, -0.18780730664730072, 0.5923386812210083, -0.5137929916381836, 0.4386448562145233, 0.05525226518511772, -0.7927427887916565, -0.5029336214065552, 0.35842862725257874, 0.4172360599040985, -0.22608840465545654, 0.35708293318748474, -0.36692115664482117, -0.743611752986908, 0.5399159789085388, 0.4672994613647461, 1.0086205005645752, -0.6641123294830322, 0.194971963763237, 0.35118645429611206, -0.014418532140552998, -0.08579162508249283, 0.8367859721183777, -0.31402456760406494, -0.5402423739433289, -0.32636913657188416, -0.5792352557182312, -0.7152320742607117, -0.11678241938352585, -1.2322615385055542, 0.3355894982814789, -0.2872411608695984, -0.1643676906824112, -0.3241768479347229, -0.08102396130561829, -0.3705402612686157, 0.089828260242939, 0.2155085802078247, 0.7011488080024719, -0.6417220830917358, 0.72434002161026, 0.716772198677063, 0.1921226978302002, -0.6619870066642761, -0.381271094083786, -0.012873700819909573, -0.559471607208252, 0.40470293164253235, 0.4047781825065613, -0.3805202543735504, 0.1463206261396408, -0.3298981189727783, -0.6599412560462952, 0.708282470703125, 0.5396078824996948, -0.8073298335075378, 0.548413097858429, -0.3705908954143524, 0.6326463222503662, -0.35794854164123535, 0.33759811520576477, 0.7296313047409058, 0.28989115357398987, -0.29484668374061584, -0.7020300030708313, -0.14078286290168762, -0.5931135416030884, -0.33915576338768005, 0.37803658843040466, -0.6697545051574707, 0.7916476726531982, -0.26016491651535034, -0.10842888057231903, 0.10020509362220764, 0.6423812508583069, 0.07209301739931107, 0.14339305460453033, 0.20261794328689575, 0.6531841158866882, 1.2093619108200073, -0.17959101498126984, 0.9190444946289062, -0.5442981123924255, 0.35641056299209595, 1.5034637451171875, -0.5006218552589417, 0.9955072402954102, 0.12819448113441467, -0.024938227608799934, 0.5254984498023987, 0.6929916143417358, -0.19616344571113586, 0.6225051283836365, 0.4493410885334015, -0.36485064029693604, -0.14143618941307068, -0.5452088713645935, -0.5315344929695129, 0.5934286713600159, 0.34223484992980957, -0.17655742168426514, 0.2649640440940857, 0.4868888258934021, -0.025357291102409363, -0.3713538348674774, -0.08849554508924484, 0.37679365277290344, 0.2552265226840973, -0.26619312167167664, 0.47531363368034363, -0.29358339309692383, 0.5599842667579651, -0.6484558582305908, 0.09992566704750061, -0.08107822388410568, 0.13295024633407593, -0.2958540916442871, -0.48754680156707764, 0.04158660024404526, 0.22017112374305725, 0.10782278329133987, -0.16886575520038605, 0.635249674320221, -0.6872310042381287, -0.20955559611320496, 0.660893440246582, 0.16303803026676178, 0.48423269391059875, -0.2705020308494568, -0.3973049521446228, 0.2876007556915283, -0.09401215612888336, -0.3755820393562317, 0.013947080820798874, 0.5831899046897888, 0.2749413251876831, 0.6519010066986084, 0.41759055852890015, 0.19995109736919403, -0.06674029678106308, 0.32867947220802307, 0.7733250856399536, -0.496637225151062, -0.5813083648681641, -0.8441606760025024, 0.6720026731491089, -0.26182085275650024, -0.37444964051246643, 0.6290808320045471, 0.5363210439682007, 0.6047126650810242, -0.05572950467467308, 0.842799186706543, -0.1900366097688675, 0.3202708959579468, -0.1584293097257614, 0.45428982377052307, -0.7438401579856873, -0.37056416273117065, -0.7291456460952759, -0.7850679755210876, -0.18686744570732117, 0.8319942951202393, -0.02727770246565342, -0.07486189156770706, 0.570091962814331, 0.6024298071861267, -0.05991802364587784, 0.29514196515083313, 0.46125128865242004, 0.10574686527252197, 0.3011070191860199, 0.7597874402999878, 0.8814114332199097, -0.5881245732307434, 0.36593613028526306, -0.3096047639846802, -0.42995795607566833, -0.3810477554798126, -0.9034132957458496, -0.6386820077896118, -0.6289416551589966, -0.41217514872550964, -0.2078980952501297, 0.20951855182647705, 1.141587734222412, 1.011069655418396, -0.9383791089057922, -0.12844087183475494, 0.17532803118228912, -0.3108867108821869, -0.32681551575660706, -0.13851606845855713, 0.4665733575820923, 0.04582991078495979, -0.8554193377494812, 0.32593655586242676, 0.639897882938385, 0.05167549103498459, 0.19084273278713226, -0.27071675658226013, 0.3490675091743469, -0.07498697936534882, 0.7280966639518738, 0.3352668881416321, -0.2953650653362274, -0.1550607979297638, -0.025569049641489983, 0.34621357917785645, 0.01917322166264057, 0.8020443916320801, -0.54501873254776, 0.8435003161430359, 0.7548398375511169, 0.7450401186943054, 0.6767187714576721, -0.036190055310726166, 0.8274416923522949, -0.626258134841919, 0.3158070743083954, 0.33456718921661377, 0.5729432702064514, 0.547612726688385, -0.097199447453022, 0.5972942113876343, -0.20939908921718597, -0.4091648459434509, -0.8841121792793274, 0.41548454761505127, -1.1361266374588013, 0.1906716674566269, 0.7939478158950806, -0.4447554647922516, 0.20305414497852325, 0.03851277753710747, -0.19348733127117157, 0.4719160795211792, -0.9032675623893738, 0.7649754285812378, 0.790860116481781, -0.6606528759002686, -0.3556210696697235, -0.5071730017662048, 0.5897836089134216, 0.5562152862548828, -1.0532511472702026, 0.22009386122226715, 0.39538857340812683, -0.291145384311676, 0.22315365076065063, 0.3146406412124634, 0.03499729186296463, 0.500644326210022, -0.1256617307662964, 0.10056072473526001, -0.10346692055463791, -0.4952290654182434, -0.7806596755981445, 0.1656479835510254, -0.3126567602157593, -0.14083392918109894 ]
http://arxiv.org/abs/2406.08520v1
http://arxiv.org/pdf/2406.08520v1
Automated Question Generation for Science Tests in Arabic Language Using NLP Techniques
2024-06-11T20:27:45
2024-06-11T20:27:45
Mohammad Tami, Huthaifa I. Ashqar, Mohammed Elhenawy
cs.CL
cs.CL, cs.CY
Question generation for education assessments is a growing field within artificial intelligence applied to education. These question-generation tools have significant importance in the educational technology domain, such as intelligent tutoring systems and dialogue-based platforms. The automatic generation of assessment questions, which entail clear-cut answers, usually relies on syntactical and semantic indications within declarative sentences, which are then transformed into questions. Recent research has explored the generation of assessment educational questions in Arabic. The reported performance has been adversely affected by inherent errors, including sentence parsing inaccuracies, name entity recognition issues, and errors stemming from rule-based question transformation. Furthermore, the complexity of lengthy Arabic sentences has contributed to these challenges. This research presents an innovative Arabic question-generation system built upon a three-stage process: keywords and key phrases extraction, question generation, and subsequent ranking. The aim is to tackle the difficulties associated with automatically generating assessment questions in the Arabic language. The proposed approach and results show a precision of 83.50%, a recall of 78.68%, and an Fl score of 80.95%, indicating the framework high efficiency. Human evaluation further confirmed the model efficiency, receiving an average rating of 84%.
[ -0.6047128438949585, -1.145532250404358, 0.39679694175720215, 0.282640665769577, -0.10749249905347824, 0.15408700704574585, 0.17334191501140594, -0.3605042099952698, -0.051242947578430176, 0.3656429052352905, -0.3442614674568176, -0.6585953831672668, -0.43786853551864624, 0.542019248008728, -0.5666834115982056, 0.9454846978187561, -0.41129425168037415, -0.16404861211776733, -0.16132044792175293, -0.012786772102117538, -0.3033106327056885, -0.21882744133472443, -0.8644543290138245, -0.05348541960120201, 0.0662139281630516, 0.6128636598587036, 0.8421509265899658, 0.20102667808532715, 0.5565457940101624, 0.2615768015384674, 0.14905357360839844, 0.34531399607658386, 0.44178295135498047, 0.3332173824310303, -0.06009575352072716, -0.13788680732250214, -0.14477935433387756, -0.2244759202003479, 0.598190188407898, 0.7697882056236267, -0.013812386430799961, 0.5851659178733826, -0.13604404032230377, 0.7304414510726929, -0.6373934149742126, 0.08252274245023727, -0.5113499760627747, 0.2284802347421646, 0.06617750227451324, -0.20874571800231934, 0.03385075554251671, -0.7411108613014221, 0.02097344398498535, -0.08277460187673569, 0.2392244040966034, -0.012330266647040844, 0.7410654425621033, 0.18280628323554993, -0.4248673915863037, -0.7557063698768616, -0.6191385388374329, 0.6155458092689514, -0.6123903393745422, -0.04343964904546738, 0.4245232045650482, 0.4735080599784851, -0.13721604645252228, -0.6866753101348877, -0.7019839882850647, -0.31738293170928955, 0.19267848134040833, 0.11752431094646454, 0.09615124017000198, -0.19590549170970917, 0.11813695728778839, 0.023238446563482285, -0.7823099493980408, -0.1979694664478302, -0.2428370714187622, -0.18709677457809448, 0.8571583032608032, 0.12169913947582245, 0.44748976826667786, -0.39543697237968445, -0.04753883183002472, -0.345636248588562, -0.8075942397117615, 0.10465585440397263, 0.4185471832752228, 0.2783191502094269, 0.44480612874031067, 0.7116401195526123, -0.35904088616371155, 0.7604320049285889, -0.06651296466588974, -0.046503931283950806, 0.07242847979068756, -0.39574089646339417, 0.22376056015491486, 0.31812435388565063, 0.6910349726676941, 0.22096258401870728, 0.14655444025993347, 0.3006534278392792, -0.11394431442022324, 0.1650494486093521, 0.2822427749633789, -0.9775933623313904, -0.05106653273105621, 0.6220964193344116, 0.06226867437362671, -0.3914814293384552, 0.018779035657644272, -0.7509847283363342, 0.14668282866477966, 0.11299794167280197, 0.5914866924285889, -0.45837217569351196, -0.009467925876379013, 0.3179517388343811, 0.25827500224113464, 0.3018795847892761, 0.2948797047138214, -0.5901368260383606, 0.203189417719841, 0.18547581136226654, 0.4901879131793976, -0.1741924285888672, -0.04111625626683235, -0.1536911427974701, -0.044589076191186905, -0.4012635052204132, 0.629192590713501, -0.4421501159667969, -0.5452322363853455, 0.16570405662059784, -0.48995473980903625, -0.09885063767433167, -0.6288621425628662, 0.41943466663360596, -0.8321126103401184, 0.5897481441497803, 0.1553819328546524, -0.6030297875404358, -0.3790230453014374, 0.44391465187072754, -0.23781755566596985, 1.278632640838623, 0.09335744380950928, -0.5500182509422302, 0.07583976536989212, -1.0515724420547485, -0.37030428647994995, 0.4094735383987427, -0.2880406379699707, -0.4796719253063202, -0.45993179082870483, 0.536051869392395, 0.2737983465194702, -0.1934579461812973, 0.4542602002620697, 0.4282356798648834, -0.2239234894514084, 0.33133918046951294, -0.2621484398841858, 0.566409707069397, 0.1695500910282135, -0.8351211547851562, -0.1377820372581482, -0.754074215888977, 0.7010862231254578, 0.1330002397298813, -0.39879509806632996, 0.04068069905042648, 0.09358425438404083, 0.06008513644337654, 0.3119943141937256, 0.31630825996398926, -0.5914891362190247, -0.013312042690813541, -0.6601824164390564, -0.08833388239145279, 0.3079095482826233, 0.5285184383392334, 0.025413161143660545, -0.37675899267196655, 0.9507201313972473, -0.11314994841814041, 0.04951547458767891, -0.04655173793435097, -0.7116513848304749, -0.8364278078079224, 0.3616364002227783, 0.47044864296913147, 0.704301118850708, -0.7451528906822205, 0.8300173282623291, 0.17838037014007568, -0.7123929858207703, -0.41638094186782837, 0.14822542667388916, 0.20217452943325043, 0.5489375591278076, 0.5637927651405334, -0.1316741406917572, -0.29853758215904236, -0.7050794363021851, -0.1186865046620369, -0.4138354957103729, -0.06845320016145706, 0.22205568850040436, 1.0005526542663574, -0.04944006726145744, 1.0366320610046387, -0.7970539331436157, -0.007526712957769632, -0.3620850145816803, 0.39519476890563965, 0.040254831314086914, 0.5838670134544373, 0.40024635195732117, -0.9940113425254822, -0.4677579700946808, -0.2680337727069855, -0.48484107851982117, -0.23103052377700806, -0.018040508031845093, -0.027618270367383957, 0.29924464225769043, 0.33291152119636536, -0.5710525512695312, 0.40345683693885803, 0.3018886148929596, -0.4224526286125183, 0.845339298248291, 0.08393712341785431, 0.21791920065879822, -1.2268259525299072, 0.16412770748138428, -0.3289046883583069, 0.10848522186279297, -0.42021507024765015, 0.4073919653892517, -0.21961373090744019, -0.32079821825027466, -0.5008752942085266, 0.5940573215484619, -0.08775864541530609, 0.3084455728530884, -0.27247360348701477, 0.20369404554367065, 0.014410869218409061, 0.19518981873989105, -0.11757118254899979, 0.847968339920044, 0.30887967348098755, -0.7589996457099915, 0.31989729404449463, 0.37032294273376465, -0.3846038579940796, 0.12498766928911209, -0.7659197449684143, 0.31033819913864136, 0.043644022196531296, 0.0359768308699131, -0.9449808597564697, -0.12718264758586884, 0.2644664943218231, -0.5041723251342773, -0.03789594769477844, 0.42023739218711853, -0.593733012676239, -0.38508328795433044, -0.2388809621334076, 0.4737672507762909, 0.5491878986358643, -0.21925531327724457, 0.4364163875579834, 0.08472156524658203, -0.7046772837638855, -0.6281551122665405, -0.14152759313583374, -0.012597156688570976, -0.11074197292327881, -0.6475378274917603, 0.18972794711589813, -0.1246577650308609, -0.3328441381454468, -0.04435177892446518, -0.2042965590953827, -0.09904306381940842, 0.27552351355552673, 0.21507379412651062, 0.14735133945941925, -0.21284952759742737, 0.305250346660614, 0.569101095199585, 0.33277449011802673, 0.45001980662345886, -0.19107608497142792, 0.6360189318656921, -0.2825203835964203, -0.4951956868171692, -0.1766999214887619, 0.7692692279815674, 0.3891519010066986, -0.35926303267478943, 0.5293107032775879, 0.5428441762924194, -0.4523322284221649, -0.2737223207950592, -0.40575680136680603, -0.2900661528110504, -0.4841544032096863, 0.4592548906803131, -0.3191564381122589, -0.5960265398025513, 0.2998121380805969, -0.15829747915267944, 0.08392031490802765, 0.6006407737731934, 0.48171254992485046, -0.19409821927547455, 1.473304033279419, 0.2605705261230469, 0.1246924176812172, -0.16782470047473907, -0.22360554337501526, 0.35757365822792053, -0.31408458948135376, -0.27238214015960693, -0.750619113445282, -0.08183326572179794, -0.5395935773849487, -0.23489491641521454, 0.6481963396072388, 0.094476617872715, -0.3280947506427765, 0.04054272547364235, -0.3993704617023468, 0.3560645580291748, 0.4778265953063965, -0.11654435843229294, 0.19781255722045898, 0.0662088468670845, -0.3309638500213623, 0.07369308173656464, -0.590842604637146, -0.9306380748748779, 1.0609240531921387, -0.0350494310259819, 0.1516597419977188, 0.20879241824150085, 0.9885237812995911, 0.36462825536727905, 0.2383369356393814, -0.6834766268730164, 0.8421247005462646, 0.466836541891098, -0.6739614009857178, -0.5231332182884216, -0.15476372838020325, -0.955329418182373, 0.17074136435985565, -0.28660449385643005, -0.3289565145969391, -0.4549451172351837, -0.23289327323436737, -0.5688770413398743, -0.08177001774311066, -0.39938023686408997, 0.5469071269035339, -0.2623032033443451, -0.15623310208320618, 0.060552120208740234, -0.7961968779563904, 0.06315784156322479, -0.4360376298427582, 0.042878877371549606, -0.029424231499433517, 0.2115279734134674, 1.143064260482788, -0.41855862736701965, 0.4699684679508209, -0.3460054099559784, -0.0764935091137886, 0.7255691885948181, 0.27971482276916504, 0.07533331960439682, 0.1336306631565094, -0.05273091420531273, -0.2429981231689453, 0.24275504052639008, -0.29592639207839966, -0.7551635503768921, 0.285451740026474, -0.728718638420105, -0.8993909358978271, -0.5890985727310181, -0.8284677267074585, -0.5354992151260376, 0.1634823977947235, -0.1697441190481186, 0.10343324393033981, -0.053170137107372284, -0.2651880085468292, 0.3704040050506592, -0.49652400612831116, 0.260998010635376, 0.5705251693725586, -0.5028053522109985, -0.022014737129211426, 0.8337002396583557, 0.0040291654877364635, 0.15760625898838043, 0.07159344851970673, 0.22152893245220184, -0.522922158241272, -0.6355443596839905, -0.586040198802948, 0.15291142463684082, -0.5818971395492554, -0.430497407913208, -0.588942289352417, -0.5123850107192993, -0.6205890774726868, -0.15671749413013458, -0.06392073631286621, -0.6658145189285278, -0.1428879201412201, -0.09482729434967041, 0.1494714915752411, 0.5155394077301025, 0.2621314227581024, 0.09161539375782013, -0.8722242116928101, 0.3435472548007965, 0.3897547125816345, -0.39464953541755676, -0.34522294998168945, -0.43849289417266846, 0.055929891765117645, 0.11883273720741272, -0.8073120713233948, -0.9403797388076782, 0.5138632655143738, 0.46331003308296204, -0.032964661717414856, 0.23965831100940704, 0.022490087896585464, 0.35994482040405273, -0.4657406508922577, 1.0047187805175781, -0.15811172127723694, -0.9200205206871033, 1.0614118576049805, -0.015726059675216675, 0.5145440697669983, 0.652405321598053, 0.6666011810302734, -0.38883736729621887, -0.7302088141441345, -0.7202838659286499, -0.9436185956001282, 0.2786702811717987, 0.362915575504303, 0.1665640026330948, -0.15725190937519073, 0.4995514154434204, 0.22476761043071747, 0.3410031497478485, -0.25243380665779114, -0.28284943103790283, -0.16477687656879425, -0.4958744943141937, 0.1585826277732849, -0.04613937810063362, -0.1341400146484375, -0.3523930311203003, 0.8375914692878723, -0.26125726103782654, -0.05897751823067665, 0.2602076530456543, -0.048674918711185455, 0.13948795199394226, 0.653641939163208, 0.5822084546089172, 0.6724115610122681, -0.3144112825393677, -0.12034258246421814, 0.19581501185894012, -0.7301912307739258, 0.46236321330070496, 0.31616806983947754, -0.5781113505363464, 0.10960206389427185, 0.10276485234498978, 0.041672106832265854, -0.35645249485969543, -0.8456119894981384, 0.4150038957595825, 0.008837331086397171, -0.39597347378730774, -0.6218608617782593, 0.11894866824150085, -0.04956720024347305, -0.0056488895788788795, 0.6600378155708313, -0.01712329126894474, 0.20986825227737427, -0.3162786364555359, 0.3845444917678833, 0.2974185049533844, 0.06297585368156433, -0.0068268682807683945, 0.5622274279594421, 0.12829993665218353, -0.30854305624961853, 0.7674388289451599, -0.3927251398563385, -0.7306722402572632, 0.812699556350708, 0.7296947240829468, 0.4853900671005249, -0.5416887998580933, 0.7379825711250305, 0.5272803902626038, 0.15517807006835938, 0.16012191772460938, 0.9110273718833923, -0.27826401591300964, -0.918026864528656, -0.1700325757265091, -0.9097506999969482, -0.7685726881027222, 0.0012595789739862084, -0.5935060977935791, -0.04933619499206543, -0.4375201165676117, -0.1866437792778015, -0.20826907455921173, 0.2330814003944397, -0.5298849940299988, 0.7650029063224792, -0.0757761299610138, 0.8097551465034485, -0.8445226550102234, 0.4375292658805847, 0.9432056546211243, -0.49454164505004883, -1.117878794670105, -0.09697131812572479, -0.37810036540031433, -0.6945878863334656, 1.0351780652999878, 0.2766624391078949, -0.22132627665996552, 0.24826470017433167, -0.43996164202690125, -0.8896976113319397, 0.9257414937019348, -0.08510366827249527, -0.09612974524497986, -0.1647902876138687, 0.6673868298530579, 0.6548678278923035, -0.3565407395362854, 0.3927881717681885, 0.4980522692203522, 0.5100422501564026, -0.03963185101747513, -0.5801565647125244, 0.19654247164726257, -0.504670262336731, -0.23119905591011047, 0.1582328826189041, -0.02813657931983471, 0.507779061794281, -0.19836558401584625, -0.2882084250450134, 0.18350045382976532, 0.7328181862831116, 0.48089390993118286, 0.31617626547813416, 0.45616593956947327, 0.2985974848270416, 0.5907208919525146, -0.1458837389945984, 0.7767122983932495, -0.6019344925880432, 0.048893917351961136, 0.6840577721595764, -0.4857131540775299, 0.8855097889900208, 0.6510884165763855, -0.30030614137649536, 0.7968136668205261, 0.5147560238838196, -0.0026426876429468393, 0.2258531153202057, 0.6818086504936218, -0.45268386602401733, 0.047583095729351044, -0.2741110920906067, -0.45244863629341125, 0.8370323777198792, 0.45027950406074524, -0.1693219244480133, -0.35870182514190674, -0.01293226983398199, 0.022110365331172943, 0.17287756502628326, -0.06412262469530106, 0.45556312799453735, -0.1366775780916214, -0.9952214956283569, 0.4111378788948059, 0.18115536868572235, 0.1603398323059082, -0.6635252833366394, -0.3850860297679901, -0.11612139642238617, -0.17132820188999176, -0.09212258458137512, -0.6630319356918335, 0.2550867199897766, 0.14724764227867126, 0.23432426154613495, -0.18039599061012268, 0.5380690693855286, -0.5076612830162048, -0.8402045369148254, -0.3121456801891327, 0.8039567470550537, 0.3886043429374695, -0.07023181766271591, -0.8138724565505981, -0.3320257067680359, -0.14317987859249115, -0.2077912837266922, -0.025824032723903656, -0.07024466246366501, -0.11786486953496933, 0.6699352860450745, 0.5283557176589966, 0.28474387526512146, 0.11037131398916245, 0.04586372524499893, 0.4319145679473877, -0.5829033851623535, -0.32572299242019653, -0.48704999685287476, 0.36060866713523865, 0.1404263973236084, -0.2892060875892639, 0.7843276858329773, 0.4812732934951782, 0.7503597140312195, 0.025504304096102715, 0.889460563659668, -0.09022939205169678, 0.4612240195274353, -0.48290494084358215, 0.7700336575508118, -0.43536704778671265, -0.015796691179275513, -0.3572516143321991, -0.9410836100578308, -0.4764818847179413, 0.5228657722473145, -0.01741151325404644, 0.20093226432800293, 1.0383347272872925, 0.7413879632949829, 0.5794132351875305, 0.3180360794067383, 0.03574255481362343, -0.17374752461910248, 0.4149057865142822, 0.5163690447807312, 0.9227983355522156, -0.7927328944206238, 0.393580824136734, -0.33859193325042725, 0.028495613485574722, 0.1268095225095749, -0.3694864809513092, -0.7623927593231201, -0.7056340575218201, -0.565965473651886, -0.3092438578605652, -0.035892412066459656, 1.0377014875411987, 0.03307651728391647, -1.0400439500808716, -0.22221246361732483, -0.082877978682518, -0.06697458773851395, -0.14958569407463074, -0.3399621248245239, 0.9276388883590698, -0.3059535324573517, -0.6609833836555481, 0.35435906052589417, 0.03137240558862686, 0.1542428731918335, -0.3881092965602875, 0.3170550465583801, -0.36922338604927063, 0.10746171325445175, 0.4904402792453766, 0.14360202848911285, -0.47406765818595886, -0.5293514132499695, 0.18464922904968262, 0.031332820653915405, -0.3003704845905304, 0.3642842769622803, -0.813597559928894, 0.331521600484848, 0.21885347366333008, 0.8502687811851501, 0.17749549448490143, 0.19823017716407776, 0.42982304096221924, -0.6637637615203857, -0.23798520863056183, 0.8229747414588928, -0.04950190708041191, 0.34225931763648987, -0.18195274472236633, 0.35999226570129395, 0.007193010300397873, -0.5941614508628845, -0.6541877388954163, 0.3370385766029358, -0.6651524305343628, -0.06505083292722702, 1.0046945810317993, 0.0936659425497055, -0.08692551404237747, -0.1985476016998291, -0.42571863532066345, 0.27025431394577026, -0.11497649550437927, 1.288137435913086, 0.7381005883216858, -0.3675166070461273, 0.3202124238014221, -0.42422905564308167, 0.4703556299209595, 1.1082842350006104, -0.9914705157279968, -0.7077042460441589, 0.26028239727020264, 0.14495448768138885, 0.508368730545044, 0.2506164312362671, -0.18213346600532532, 0.40635064244270325, -0.222572460770607, 0.19381514191627502, 0.03704698383808136, -0.18711932003498077, 0.042293108999729156, 0.6986802816390991, 0.07757597416639328, -0.21276240050792694 ]
http://arxiv.org/abs/2406.08519v1
http://arxiv.org/pdf/2406.08519v1
Question-Answering (QA) Model for a Personalized Learning Assistant for Arabic Language
2024-06-11T20:23:31
2024-06-11T20:23:31
Mohammad Sammoudi, Ahmad Habaybeh, Huthaifa I. Ashqar, Mohammed Elhenawy
cs.CL
cs.CL, cs.CY
This paper describes the creation, optimization, and assessment of a question-answering (QA) model for a personalized learning assistant that uses BERT transformers customized for the Arabic language. The model was particularly finetuned on science textbooks in Palestinian curriculum. Our approach uses BERT's brilliant capabilities to automatically produce correct answers to questions in the field of science education. The model's ability to understand and extract pertinent information is improved by finetuning it using 11th and 12th grade biology book in Palestinian curriculum. This increases the model's efficacy in producing enlightening responses. Exact match (EM) and F1 score metrics are used to assess the model's performance; the results show an EM score of 20% and an F1 score of 51%. These findings show that the model can comprehend and react to questions in the context of Palestinian science book. The results demonstrate the potential of BERT-based QA models to support learning and understanding Arabic students questions.
[ -0.5992730259895325, -0.9421330094337463, 0.6518803238868713, -0.0037215854972600937, -0.16374073922634125, 0.26992160081863403, 0.39375850558280945, -0.3438267111778259, 0.14294324815273285, 0.2654913663864136, -0.48300856351852417, -0.4591447114944458, -0.47223609685897827, 0.19743382930755615, -0.505560576915741, 0.9739838242530823, 0.06097821146249771, 0.2420528382062912, -0.04948108643293381, 0.03941813483834267, -0.4101331830024719, -0.26949384808540344, -0.7303506731987, -0.13990283012390137, 0.42621150612831116, 0.4863755404949188, 0.9362104535102844, 0.36122915148735046, 0.4363325834274292, 0.3702923655509949, -0.24774298071861267, -0.060791466385126114, 0.20435193181037903, -0.05221153795719147, -0.23209838569164276, -0.5233241319656372, -0.3760931193828583, -0.3612825572490692, 0.4927349388599396, 0.6454043984413147, 0.04542076587677002, 0.6017975807189941, -0.20397059619426727, 0.6261630654335022, -0.20560088753700256, -0.02816821075975895, -0.2630510628223419, -0.04513378068804741, 0.4968504309654236, 0.11097872257232666, -0.2676985561847687, -0.9079341888427734, 0.6914194226264954, -0.4402085840702057, 0.22492048144340515, -0.2324557602405548, 0.9182485938072205, 0.15166297554969788, -0.31832948327064514, -0.6251072287559509, -0.6936215162277222, 0.6679807901382446, -0.5888237357139587, 0.3228180706501007, 0.420246958732605, 0.740979790687561, 0.0716959685087204, -0.7846488356590271, -0.7848045825958252, -0.27276161313056946, 0.12000349909067154, 0.16668832302093506, 0.07932329922914505, -0.1283748596906662, -0.27551114559173584, 0.06603047996759415, -0.5250042676925659, -0.31302401423454285, -0.40300509333610535, -0.06543921679258347, 0.3885197937488556, -0.12515826523303986, 0.6256685256958008, -0.2894037961959839, -0.1189740002155304, -0.37215110659599304, -0.23621144890785217, 0.5586705207824707, 0.5022286772727966, 0.12621380388736725, 0.0717071145772934, 0.3446556031703949, -0.26844093203544617, 0.7217369079589844, 0.05322318151593208, 0.05173724144697189, -0.03149138763546944, -0.07865942269563675, 0.00011219368752790615, 0.045991331338882446, 0.11712730675935745, -0.11875253915786743, 0.25762516260147095, -0.14286111295223236, -0.04829486459493637, -0.23494283854961395, 0.36485424637794495, -0.9156163930892944, -0.261772096157074, 0.4847780764102936, -0.418861985206604, -0.14819951355457306, -0.17291271686553955, -0.6840258240699768, 0.017747044563293457, -0.22667694091796875, 0.9439362287521362, -0.47977352142333984, 0.13822604715824127, 0.07639764994382858, 0.06761429458856583, 0.36226898431777954, 0.633912980556488, -0.6651105284690857, 0.17291410267353058, 0.0403931587934494, 0.41689395904541016, 0.08231918513774872, 0.07599936425685883, -0.03677983582019806, -0.08699165284633636, -0.2099059671163559, 0.7947420477867126, -0.661312997341156, -0.415384978055954, 0.20494641363620758, -0.18420280516147614, 0.16913412511348724, -0.3344776928424835, 0.44444164633750916, -1.3352872133255005, 0.5000994205474854, -0.30742138624191284, -0.7199503183364868, -0.7557514309883118, 0.20792146027088165, -0.5698797702789307, 0.5884627103805542, 0.2734508216381073, -0.3125288188457489, -0.172918438911438, -0.9344503879547119, -0.09565431624650955, 0.07157721370458603, 0.02626265212893486, -0.3823319971561432, -0.3027380406856537, 0.41517141461372375, 0.17139528691768646, -0.1302841603755951, 0.27938133478164673, 0.12734568119049072, -0.24449831247329712, 0.5785259008407593, -0.22897246479988098, 0.8014185428619385, 0.30706673860549927, -0.1477917581796646, 0.20500265061855316, -0.9148381948471069, 0.46771979331970215, 0.13686814904212952, -0.6502382755279541, -0.0470874048769474, 0.05302145704627037, 0.20277807116508484, 0.13337543606758118, 0.7768080830574036, -0.9328442215919495, 0.14090286195278168, -0.45873650908470154, 0.021536020562052727, 0.7815300226211548, 0.10349836200475693, 0.18419720232486725, -0.5660920143127441, 0.6316229104995728, -0.28292226791381836, 0.17083202302455902, 0.0009652902954258025, -0.6142292618751526, -0.8080641031265259, -0.07491262257099152, 0.5915678143501282, 0.5722746253013611, -0.6592549085617065, 0.5104223489761353, 0.2014150172472, -0.7156869769096375, -0.980131208896637, 0.11595926433801651, 0.4112716019153595, 0.7501410841941833, 0.6574802994728088, -0.29581931233406067, -0.24148379266262054, -0.9949581623077393, -0.08624740689992905, -0.23129050433635712, -0.11086916923522949, 0.3418295085430145, 0.462787926197052, -0.24314436316490173, 1.2421913146972656, -0.5707716941833496, -0.10182585567235947, -0.28188571333885193, 0.08680100739002228, 0.16339322924613953, 0.4805653691291809, 0.6176961064338684, -0.9749423861503601, -0.7027041912078857, -0.06275150924921036, -0.5912750363349915, -0.12677763402462006, 0.15314015746116638, -0.21130232512950897, -0.007935027591884136, -0.022752664983272552, -0.185185968875885, 0.3657902479171753, 0.4396938681602478, -0.5111505389213562, 0.6135984063148499, -0.1712491810321808, 0.21928845345973969, -1.239730954170227, 0.13242928683757782, -0.17647768557071686, -0.07851147651672363, -0.7292842864990234, 0.3011593520641327, 0.08478043973445892, -0.2611335813999176, -0.5891979336738586, 0.7004680037498474, 0.21827371418476105, 0.03598392382264137, -0.44969815015792847, 0.03193127363920212, -0.018370771780610085, 0.53260737657547, -0.046700701117515564, 1.1028075218200684, 0.2109927386045456, -0.5931962132453918, 0.1651996672153473, 0.7852715849876404, -0.4187983274459839, 0.08767180889844894, -1.1338192224502563, 0.37137293815612793, -0.17928171157836914, -0.16921398043632507, -1.0988487005233765, -0.09533713757991791, 0.029080357402563095, -0.5727258324623108, 0.04751374572515488, 0.2959955036640167, -0.4439612329006195, -0.15085747838020325, -0.09716574102640152, 0.39445850253105164, 0.8095845580101013, -0.777225136756897, 0.8704310059547424, -0.05283511430025101, -0.5596207976341248, -0.4120241701602936, 0.039904382079839706, -0.40792328119277954, 0.21077032387256622, -0.5814365148544312, 0.1932889074087143, -0.4956258237361908, 0.03366854786872864, 0.11562986671924591, -0.062141302973032, -0.44720637798309326, 0.18232221901416779, 0.0354166142642498, 0.32561326026916504, -0.22372272610664368, 0.4295688569545746, 0.5043128132820129, 0.20449195802211761, 0.10670527815818787, 0.06905080378055573, 0.7251884937286377, -0.32168692350387573, -0.29917702078819275, -0.7875691056251526, 0.3925482928752899, 0.4273930788040161, -0.3608992099761963, 0.7181136012077332, 0.5794368386268616, -0.24934640526771545, 0.202811598777771, -0.5010203719139099, -0.3645332455635071, -0.5862129330635071, 0.6931471228599548, -0.3889477849006653, -0.5619335174560547, 0.6279762387275696, -0.0519978366792202, 0.12330380827188492, 0.2722828984260559, 0.6772764921188354, -0.38544750213623047, 1.350469946861267, 0.7214158773422241, -0.09366508573293686, 0.36063918471336365, -0.16302436590194702, 0.13319489359855652, -0.6268965601921082, -0.4051458537578583, -0.7699557542800903, -0.19825343787670135, -0.3277338445186615, 0.018071608617901802, 0.6295499801635742, 0.017948992550373077, -0.5475325584411621, 0.07051703333854675, -0.5428469777107239, 0.2180069088935852, 0.9915791153907776, 0.26912975311279297, 0.06444515287876129, 0.05629361793398857, -0.09790751338005066, 0.2259550541639328, -0.49391087889671326, -1.1262058019638062, 1.1261746883392334, 0.38320472836494446, 0.5421572327613831, 0.5945998430252075, 0.648670494556427, 0.49020954966545105, 0.3404664993286133, -0.43894314765930176, 0.5737942457199097, 0.2277982085943222, -0.8975964784622192, -0.5364822149276733, 0.11471495777368546, -0.9089750647544861, 0.2298598289489746, -0.07345888763666153, -0.6917218565940857, 0.014668922871351242, 0.03412891924381256, -0.605218231678009, 0.057862866669893265, -0.8881047368049622, 0.773521363735199, -0.24991580843925476, -0.0505305714905262, -0.10036244243383408, -0.7569330930709839, -0.054865073412656784, -0.20902355015277863, -0.12716059386730194, 0.045349884778261185, 0.0679396390914917, 1.0560345649719238, -0.23271392285823822, 0.8837433457374573, -0.27886202931404114, 0.034530844539403915, 0.66316157579422, 0.2132461667060852, 0.07925550639629364, -0.020907126367092133, -0.17077061533927917, -0.30113735795021057, 0.6128469109535217, -0.8172162175178528, -0.6489658355712891, 0.41095077991485596, -1.50290048122406, -0.8867615461349487, -0.3730286657810211, -0.8818509578704834, -0.39986568689346313, 0.15290609002113342, -0.3486641049385071, 0.1344803422689438, -0.08634205907583237, -0.09580275416374207, 0.7347351908683777, -0.6804457306861877, 0.3198736906051636, 1.0467023849487305, -0.24206803739070892, -0.2117428034543991, 1.03144371509552, -0.1693909913301468, 0.2660538852214813, 0.2973872721195221, 0.303572416305542, -0.38048255443573, -0.4754329323768616, -0.6479482054710388, 0.2603246867656708, -0.846057116985321, -0.19398388266563416, -0.5520313382148743, -0.4185243546962738, -0.39563265442848206, -0.22588476538658142, 0.06386367231607437, -0.2343161702156067, -0.4886932969093323, 0.009628929197788239, 0.28392907977104187, 0.8467549085617065, 0.40068942308425903, 0.5700141787528992, -1.03292715549469, 0.2155928611755371, 0.8134981989860535, -0.03277859091758728, 0.03137081861495972, -0.8914850950241089, -0.048822395503520966, 0.06190052628517151, -0.7438858151435852, -1.237830400466919, 0.4492727220058441, 0.30613547563552856, 0.23755435645580292, 0.33575472235679626, -0.0703301727771759, 0.22881397604942322, -0.5523149967193604, 0.8224402070045471, -0.14299875497817993, -1.1070555448532104, 0.6901503205299377, -0.049309778958559036, 0.45177677273750305, 0.24949531257152557, 0.7127094864845276, -0.2861708402633667, -0.37701869010925293, -0.5529266595840454, -0.492482453584671, 0.4764942526817322, 0.14609357714653015, 0.5098052620887756, 0.1808042973279953, 0.5886135101318359, 0.4125266969203949, 0.3097623884677887, -0.5830272436141968, -0.2517143487930298, -0.2241479903459549, -0.7051089406013489, 0.23100672662258148, -0.3785002529621124, 0.15971294045448303, -0.3500394821166992, 0.923967719078064, -0.2279970347881317, 0.3186470568180084, 0.31723752617836, -0.05084994435310364, -0.12848129868507385, 0.4333586096763611, 0.5408923625946045, 0.7512953877449036, -0.5111179947853088, -0.26124307513237, 0.16546490788459778, -0.5619418025016785, 0.3099137842655182, 0.2629965543746948, -0.6013883948326111, 0.0670834556221962, 0.1542752981185913, 0.1789361983537674, -0.32072776556015015, -1.0412014722824097, 0.22887377440929413, -0.1046467199921608, 0.0942971333861351, -0.42263105511665344, 0.1916293501853943, 0.23887933790683746, 0.41944780945777893, 0.639312744140625, -0.1198522076010704, 0.19460651278495789, -0.46666771173477173, 0.16386842727661133, 0.3238195478916168, -0.17525288462638855, -0.4701944887638092, 0.606340765953064, 0.21053127944469452, -0.5632914304733276, 0.39917537569999695, -0.12344929575920105, -0.7787413597106934, 1.105545997619629, 0.6543492674827576, 0.3534003794193268, -0.712643027305603, 0.6966047883033752, 0.3467051088809967, 0.11399924010038376, 0.7360751032829285, 0.8019260168075562, -0.11435341835021973, -0.7889061570167542, -0.0497320219874382, -0.8666760921478271, -0.7573434710502625, 0.04748537391424179, -0.6575653553009033, -0.2254030406475067, -0.4984990358352661, 0.055067580193281174, 0.19967955350875854, 0.14426279067993164, -0.9304683804512024, 0.689424455165863, -0.3647990822792053, 0.904457151889801, -0.7220711708068848, 0.8849664926528931, 1.0268021821975708, -0.878491222858429, -0.8640955686569214, -0.21279580891132355, -0.6368297338485718, -1.1048786640167236, 1.1181780099868774, -0.17045679688453674, 0.04581064730882645, 0.2932949960231781, -0.47198593616485596, -1.199194073677063, 0.9098361134529114, 0.1858707219362259, -0.2837769687175751, -0.05750347301363945, 0.23985819518566132, 0.6852730512619019, -0.1799255907535553, 0.4096745550632477, 0.3764618933200836, 0.29101526737213135, -0.07522568851709366, -0.6171952486038208, -0.16265913844108582, -0.22265562415122986, -0.14410565793514252, -0.08816765993833542, -0.5480530261993408, 0.6690304279327393, -0.2673831284046173, 0.12385158985853195, 0.7418047785758972, 0.9366396069526672, 0.022498436272144318, 0.2506829500198364, 0.20686616003513336, 0.20127606391906738, 0.5482407212257385, 0.07198546081781387, 0.9887502193450928, -0.46801504492759705, 0.2720775306224823, 0.7363473773002625, -0.11002226173877716, 0.9114153981208801, 0.5130910873413086, -0.46889397501945496, 0.8313670754432678, 0.6660265326499939, 0.23824642598628998, 0.6186643242835999, 0.19857561588287354, -0.4830757677555084, -0.11218207329511642, -0.2801681458950043, -0.4145142436027527, 0.3222848176956177, 0.2611110508441925, -0.3382667601108551, -0.24221494793891907, 0.1973235309123993, -0.37603744864463806, 0.2897631525993347, -0.26059913635253906, 0.6715662479400635, -0.2893914580345154, -0.6046413779258728, 0.2171766459941864, 0.3161337971687317, 0.006071134936064482, -0.6591881513595581, -0.21334338188171387, -0.209771990776062, -0.02767176739871502, 0.13679641485214233, -0.5831149816513062, -0.05544765666127205, 0.02577417716383934, -0.21542848646640778, 0.22183391451835632, 0.4398145377635956, -0.5784305930137634, -0.7372759580612183, -0.1796456128358841, 0.7158157825469971, 0.24256423115730286, 0.405805766582489, -0.7587112784385681, -0.18887001276016235, 0.07957860082387924, 0.03646276146173477, 0.2391968071460724, -0.044146325439214706, 0.16145069897174835, 0.8696870803833008, 0.6053400039672852, -0.12579742074012756, 0.22671116888523102, -0.08176430314779282, 0.715904712677002, -0.42257019877433777, -0.4609835743904114, -0.25392642617225647, 0.2771621644496918, 0.21703249216079712, -0.3094501793384552, 0.5058546662330627, 0.16933360695838928, 0.7178888916969299, -0.606919527053833, 0.7584651708602905, 0.18282783031463623, 0.7672297358512878, -0.24924685060977936, 0.7963111400604248, -0.4860402047634125, -0.08517543226480484, -0.10225069522857666, -0.8669795989990234, 0.04930727928876877, 0.8604038953781128, -0.23395615816116333, 0.40928977727890015, 0.5099351406097412, 0.5309812426567078, 0.22808021306991577, 0.22336441278457642, 0.38179874420166016, -0.04601360484957695, 0.4633907973766327, 0.5114561915397644, 0.6937132477760315, -0.5149753093719482, 0.4596470296382904, -0.35921385884284973, -0.12375343590974808, -0.1957377940416336, -0.2567170262336731, -1.0090925693511963, -0.7139439582824707, -0.38128408789634705, -0.17195820808410645, 0.2652575671672821, 1.1216707229614258, 0.3897162079811096, -1.1006135940551758, -0.16578225791454315, 0.09340082108974457, 0.06541483104228973, -0.0610218420624733, -0.2391069382429123, 1.0595877170562744, -0.49327367544174194, -1.0180343389511108, 0.09261016547679901, -0.2066498100757599, 0.3902587890625, -0.4038800299167633, 0.026237880811095238, -0.40077412128448486, 0.4915240406990051, 0.49113279581069946, 0.47647881507873535, -0.786905825138092, -0.586381733417511, 0.2195759266614914, -0.03730924800038338, -0.24899297952651978, 0.21545490622520447, -0.9613237380981445, 0.7871614098548889, 0.23556454479694366, 1.3061292171478271, 0.02490978315472603, 0.13652878999710083, 0.3811497390270233, -0.6278243660926819, -0.20984216034412384, 0.4516655206680298, 0.17460159957408905, 0.23838704824447632, -0.3851895332336426, 0.11935240030288696, -0.30452442169189453, -0.6430556178092957, -0.4635908305644989, 0.2811618447303772, -0.9345192313194275, -0.2846902906894684, 0.6320585608482361, -0.22985009849071503, -0.2613093852996826, -0.17577601969242096, -0.7321173548698425, 0.4255663752555847, -0.376444011926651, 1.5155915021896362, 0.7332154512405396, -0.040986403822898865, 0.16308678686618805, -0.5073005557060242, 0.32801148295402527, 1.2081440687179565, -0.9058845639228821, -0.9251315593719482, 0.1172855943441391, 0.36750704050064087, 0.35255444049835205, 0.10111856460571289, 0.20146404206752777, 0.8163264989852905, -0.5915554165840149, 0.376777321100235, -0.04978417232632637, -0.17601679265499115, -0.13608375191688538, 0.3925282955169678, 0.36299562454223633, -0.530961811542511 ]
http://arxiv.org/abs/2406.07696v1
http://arxiv.org/pdf/2406.07696v1
Sustainable self-supervised learning for speech representations
2024-06-11T20:21:36
2024-06-11T20:21:36
Luis Lugo, Valentin Vielzeuf
cs.CL
cs.CL
Sustainable artificial intelligence focuses on data, hardware, and algorithms to make machine learning models more environmentally responsible. In particular, machine learning models for speech representations are computationally expensive, generating environmental concerns because of their high energy consumption. Thus, we propose a sustainable self-supervised model to learn speech representation, combining optimizations in neural layers and training to reduce computing costs. The proposed model improves over a resource-efficient baseline, reducing both memory usage and computing cost estimations. It pretrains using a single GPU in less than a day. On top of that, it improves the error rate performance of the baseline in downstream task evaluations. When comparing it to large speech representation approaches, there is an order of magnitude reduction in memory usage, while computing cost reductions represent almost three orders of magnitude improvement.
[ -0.1609133929014206, -0.5643744468688965, 0.38859012722969055, 0.07858937978744507, -0.17023849487304688, -0.1353834718465805, -0.27820882201194763, -0.4137715995311737, 0.31433719396591187, 0.5584491491317749, -0.729539692401886, -0.17659150063991547, -0.29291287064552307, -0.14215874671936035, -0.06294181197881699, 0.6722121834754944, 0.4729442894458771, 0.11353182792663574, -0.3734121024608612, -0.19665005803108215, -0.5988348126411438, -0.4705027937889099, -1.014854073524475, -0.38061580061912537, 0.5242845416069031, 0.38642048835754395, 0.48789334297180176, 0.9243208765983582, 0.15212668478488922, 0.47053107619285583, 0.15434859693050385, -0.09629319608211517, -0.5171447992324829, 0.10430558770895004, -0.16115647554397583, -0.03470010310411453, 0.04560088366270065, 0.4532727301120758, 0.5879953503608704, 0.5165228843688965, -0.3770037293434143, 0.5320777893066406, 0.1607786864042282, 0.7164711952209473, -0.7861555814743042, 0.532265305519104, -0.662935197353363, 0.12210924178361893, -0.0909990593791008, -0.23313136398792267, -0.45114952325820923, -0.0864119678735733, -0.29120901226997375, -0.5368228554725647, -0.05732555314898491, -0.26802361011505127, 0.3747856318950653, 0.8477357625961304, -0.08436210453510284, -0.1368657797574997, -0.6765108108520508, 1.1266324520111084, -0.4852481782436371, 0.5080314874649048, 0.39831021428108215, 0.17537057399749756, 0.28810885548591614, -0.5616966485977173, -0.3937038779258728, -0.27727869153022766, 0.1362050622701645, 0.557182252407074, -0.34101933240890503, 0.1046798899769783, 0.01863664761185646, -0.005716750398278236, -0.39809373021125793, 0.19731643795967102, -0.4346846342086792, -0.2891499400138855, 0.9129759073257446, -0.06615746766328812, 0.12478367984294891, -0.4367537796497345, -0.19567956030368805, 0.02832733653485775, -0.36969512701034546, -0.02876332961022854, 0.3547559380531311, 0.6435893177986145, 0.12204906344413757, 0.1636606603860855, -0.03015349991619587, 0.4144744873046875, -0.07414223253726959, -0.2019437551498413, 0.19024667143821716, -0.16070184111595154, -0.13191068172454834, 0.43138787150382996, 0.5794806480407715, 0.10045775771141052, 0.1312135010957718, -0.12236588448286057, -0.04443961754441261, 0.4063451290130615, 0.6425092220306396, -0.7707360982894897, -0.6601522564888, 0.06946422159671783, -0.6090131402015686, -0.11145290732383728, -0.3219021260738373, -0.4455789625644684, -0.024764880537986755, -0.89005446434021, 0.27714499831199646, -0.3990779221057892, -0.1108320951461792, -0.2713429927825928, 0.10001684725284576, -0.24692657589912415, 0.2698402404785156, -1.0182989835739136, 0.18277598917484283, 0.31659334897994995, 0.8416466116905212, 0.055862706154584885, 0.020634213462471962, -0.48141491413116455, 0.26262253522872925, -0.32548797130584717, 0.6161435842514038, -0.4598023593425751, -0.5696786046028137, -0.5015752911567688, -0.30295300483703613, -0.07665461301803589, -0.5149899125099182, 0.5091883540153503, -0.09807407110929489, 0.21489815413951874, -0.18043957650661469, -0.5627832412719727, -0.2736550569534302, -0.32083436846733093, -0.5906912684440613, 0.9975078105926514, 0.024377891793847084, -0.5999903678894043, 0.3201693296432495, -0.794460654258728, -0.3532726764678955, 0.42797207832336426, -0.02571915276348591, -0.7675032615661621, 0.020790552720427513, 0.260386198759079, 0.5131405591964722, 0.028776865452528, 0.3986510932445526, -0.09328858554363251, -0.2928091883659363, -0.5354301333427429, -0.35718485713005066, 0.7400673031806946, 0.5752189755439758, -0.4299134314060211, 0.33046039938926697, -0.959575355052948, 0.05155697092413902, 0.25370198488235474, -0.3069526255130768, -0.4184878468513489, 0.2950630784034729, 0.16174805164337158, 0.03035777434706688, 0.28132694959640503, -0.6895819902420044, -0.2412898689508438, -0.19895823299884796, 0.8892804384231567, 1.2369574308395386, -0.20577989518642426, 0.3520466983318329, -0.08914992958307266, 0.22893525660037994, -0.27857506275177, 0.25068938732147217, -0.13031288981437683, -0.4023563265800476, -0.6953979134559631, -0.6096896529197693, -0.0013900096528232098, 0.39929425716400146, -0.3693861961364746, 0.5035111904144287, -0.057654932141304016, -0.635988175868988, -0.6242650151252747, 0.34920066595077515, 0.2334246039390564, 0.7929251790046692, 0.6786680817604065, 0.2254941612482071, -0.7211188077926636, -0.9452745914459229, -0.07867998629808426, -0.2962909936904907, 0.11594458669424057, 0.5859456658363342, 0.6134936809539795, -0.48450997471809387, 0.9661695957183838, -0.01915719173848629, -0.25676724314689636, 0.05447757989168167, 0.05761544778943062, 0.053957499563694, 0.8472557067871094, 0.5212857723236084, -0.8246810436248779, -0.43984463810920715, -0.20444999635219574, -0.8176848888397217, 0.027361707761883736, -0.3029705286026001, 0.23302891850471497, 0.1846427023410797, 0.5135181546211243, -0.5781190991401672, 0.2870868146419525, 0.700725257396698, 0.06703799217939377, 0.3839433789253235, -0.46325647830963135, -0.1979554444551468, -0.6699745059013367, -0.0973619818687439, 0.13260792195796967, -0.23072676360607147, -0.3464919924736023, -0.1608729511499405, 0.005055470857769251, -0.6378422975540161, -0.2022523283958435, 0.28087154030799866, -0.39463722705841064, 0.025812624022364616, -0.3802333176136017, -0.05714867636561394, -0.23191334307193756, 0.39952677488327026, 0.07286851108074188, 1.0148894786834717, 0.7484366297721863, -0.586563766002655, 0.3019322156906128, 0.07163476943969727, 0.027359014376997948, 0.42425188422203064, -0.6001943945884705, 0.4700187146663666, -0.29699546098709106, 0.13187077641487122, -0.6939235925674438, -0.07894491404294968, 0.001927361823618412, -0.29938817024230957, 0.38923269510269165, 0.05393481254577637, -0.3031618297100067, -0.32382962107658386, 0.028389813378453255, 0.12116213887929916, 0.727543294429779, -1.0816569328308105, 0.7665643692016602, 0.788480281829834, -0.3515850901603699, -0.13147065043449402, -0.8402062058448792, 0.07150819897651672, -0.3503686785697937, -0.5785653591156006, 0.4929472804069519, 0.2266133576631546, -0.05621344596147537, 0.1514313817024231, -0.3405355215072632, 0.3921748399734497, 0.1443672627210617, 0.23664964735507965, -0.10109035670757294, 0.021323824301362038, 0.6068989038467407, -0.202178955078125, -0.289710134267807, 0.33042722940444946, -0.8681108951568604, 0.3402232825756073, -0.19913804531097412, -0.18885916471481323, -0.9472406506538391, 0.6480181813240051, 0.22167758643627167, -0.325380802154541, 0.779782772064209, 0.3630284070968628, -0.4706915318965912, -0.2949584126472473, -0.5622403025627136, -0.03796951845288277, -0.6039330959320068, 0.34743964672088623, -0.17506328225135803, -0.7794317007064819, 0.3134254217147827, -0.11921242624521255, 0.06945256143808365, 0.6948969960212708, 0.34026435017585754, -0.5977554321289062, 1.0587947368621826, 0.6356723308563232, -0.2816893458366394, 0.7616776823997498, -0.35527393221855164, 0.1454622447490692, -0.49895521998405457, -0.3062475025653839, -0.5261226296424866, -0.03218455985188484, -0.7646206021308899, -0.4247626066207886, 0.15307863056659698, -0.15303349494934082, -0.8721292018890381, 0.23239107429981232, -1.048529863357544, 0.32582637667655945, 0.8347976207733154, 0.17634715139865875, -0.2853158712387085, 0.01708267815411091, 0.09506411850452423, -0.0665927603840828, -0.9733232855796814, -0.6535835266113281, 0.8509401679039001, 0.3537765443325043, 0.6796864867210388, -0.27046850323677063, 1.0933173894882202, 0.5307069420814514, 0.21235889196395874, -0.5714111924171448, 0.584722101688385, -0.22111259400844574, -0.09261472523212433, -0.439484566450119, -0.878730297088623, -0.93169105052948, 0.07931014150381088, -0.08555075526237488, -0.7139104008674622, -0.23829954862594604, 0.3698253929615021, -0.17666229605674744, 0.333435595035553, -0.7889659404754639, 0.7856305241584778, -0.5833279490470886, -0.4284909665584564, -0.8679947853088379, -0.3534661829471588, -0.2815144956111908, -0.028907185420393944, 0.20547856390476227, -0.1117812842130661, 0.31929537653923035, 1.0803242921829224, -0.30771586298942566, 0.9104318022727966, -0.708749532699585, 0.30944937467575073, 0.5268611907958984, -0.3804806172847748, 0.3564971685409546, -0.11292417347431183, -0.09918390214443207, 0.38174664974212646, -0.3615773022174835, -0.6722965240478516, -0.38063785433769226, 0.795865535736084, -0.8976722359657288, -0.802530825138092, -0.4048236012458801, -0.33963435888290405, -0.20647481083869934, 0.06819245964288712, -0.06198902055621147, 0.178903266787529, -0.11110206693410873, 0.2845483720302582, 0.6338508129119873, -0.24050486087799072, 0.5460404753684998, -0.11986891180276871, 0.21910956501960754, -0.5051508545875549, 0.9644714593887329, 0.40723472833633423, 0.012151754461228848, 0.030105529353022575, 0.6557501554489136, -0.5801054239273071, -0.5878080129623413, -0.11175090819597244, 0.058583419770002365, -0.8357473611831665, -0.2189338356256485, -0.6304847598075867, -0.20144149661064148, -0.4071449935436249, -0.07182087004184723, -0.6279364228248596, -0.2440098524093628, -0.7737981677055359, -0.5168470144271851, 0.40870800614356995, 0.5660255551338196, -0.4627653956413269, 0.2978132367134094, -0.48137950897216797, 0.19904282689094543, 0.6109272837638855, 0.18271943926811218, 0.15418396890163422, -0.376749187707901, -0.4128875732421875, 0.019427180290222168, -0.40949520468711853, -0.5997623205184937, 0.5978779196739197, 0.686612606048584, 0.9395818710327148, 0.3612687587738037, -0.04745861515402794, 0.9046996831893921, -0.6001894474029541, 0.7582194209098816, 0.5384547114372253, -1.133408546447754, 1.1034528017044067, -0.27941206097602844, 0.3419139087200165, 0.44375258684158325, 0.41213512420654297, -0.20563183724880219, -0.16098162531852722, -0.7258749604225159, -0.7196335196495056, 0.46700412034988403, 0.24291643500328064, 0.43932008743286133, -0.1728329360485077, 0.4048299193382263, -0.09881280362606049, -0.14026929438114166, -0.6433123350143433, -0.19848287105560303, -0.8630987405776978, -0.03332848101854324, -0.3681689202785492, -0.15073350071907043, 0.10348567366600037, -0.6103670597076416, 0.9903808832168579, -0.31399354338645935, 0.2973843514919281, 0.045520469546318054, 0.23116853833198547, 0.10168061405420303, 0.053438276052474976, 0.1777312308549881, 0.19829228520393372, 0.026726167649030685, 0.08454891294240952, 0.33843404054641724, -0.2776980400085449, 0.089657723903656, -0.0421115979552269, -0.11290571093559265, -0.11234159767627716, 0.2344122976064682, 0.8703957796096802, 0.24180921912193298, -0.4713878631591797, -0.05091431364417076, 0.0874907448887825, -0.08744461834430695, -0.4870873987674713, 0.1282762736082077, 0.4514421224594116, 0.15816710889339447, 0.3140980005264282, 0.4441763758659363, 0.23193401098251343, -0.5873766541481018, 0.2885878086090088, 0.51700758934021, -0.28916385769844055, 0.07741541415452957, 0.9464674592018127, 0.40584051609039307, -0.3751218020915985, 1.0899728536605835, -0.001376642845571041, -0.4354013502597809, 0.46020033955574036, 0.5213242173194885, 0.8545962572097778, -0.4509103298187256, 0.22798624634742737, 0.5863321423530579, -0.017019230872392654, 0.17072643339633942, 0.27404043078422546, -0.5319824814796448, -0.4952085614204407, -0.4922630488872528, -0.6864340901374817, -0.45826709270477295, -0.2784695625305176, -0.602486789226532, -0.1408270001411438, -0.6916422843933105, -0.4006192982196808, 0.0696081817150116, 0.2306576371192932, -0.4345349669456482, 0.40567976236343384, 0.5676246881484985, 0.5361717343330383, -0.8095216155052185, 0.9814327955245972, 0.4132000207901001, -0.20383955538272858, -0.8140445351600647, -0.5472633242607117, -0.15007363259792328, -0.5100157260894775, 0.9114936590194702, 0.5701281428337097, -0.5915826559066772, 0.010821604169905186, -0.8087729215621948, -1.0688951015472412, 0.9552099108695984, 0.8802868723869324, -0.7326834201812744, 0.28919050097465515, -0.07622744143009186, 0.5608124732971191, -0.2969963252544403, -0.11735667288303375, 0.2625385820865631, 0.4391351044178009, -0.0026604251470416784, -0.7370584607124329, -0.2971191704273224, -0.4781268239021301, 0.15343409776687622, -0.23094063997268677, -0.8087483644485474, 0.7757553458213806, -0.18503506481647491, -0.6231468319892883, -0.25181370973587036, 1.1357001066207886, 0.36527884006500244, 0.21793504059314728, 0.4368138313293457, 0.6805292367935181, 1.2757514715194702, -0.11909368634223938, 1.01222562789917, -0.35947945713996887, 0.46890538930892944, 0.8841674327850342, -0.07068073004484177, 0.6826927065849304, 0.39556756615638733, -0.10523058474063873, 0.4011257290840149, 0.7303808927536011, -0.0909041091799736, 0.7837808132171631, 0.4648313820362091, -0.3564278185367584, -0.6448041200637817, -0.23115567862987518, -0.1351359784603119, 0.6603671312332153, 0.2515445649623871, -0.2083711475133896, -0.10196802020072937, 0.3709404170513153, -0.30351805686950684, 0.38632747530937195, -0.6626297831535339, 0.6836498975753784, 0.1975553035736084, -0.450093150138855, 0.5331020951271057, -0.2653735876083374, 0.6940453052520752, -0.5290411710739136, -0.09028118848800659, 0.180155411362648, 0.2542932629585266, -0.284307599067688, -0.28613120317459106, 0.5054715871810913, -0.06232619658112526, -0.06674573570489883, -0.9111372828483582, 0.7117186188697815, -0.21350228786468506, -0.5797738432884216, 0.5313654541969299, 0.017496298998594284, 0.11296497285366058, -0.18800489604473114, -0.9710928797721863, -0.06732015311717987, 0.0028221802785992622, -0.15324078500270844, 0.15687917172908783, -0.10436087101697922, 0.1283687800168991, 1.057671308517456, 0.8173924684524536, 0.12620191276073456, 0.08712451905012131, 0.1506868153810501, 0.854184091091156, -0.621643602848053, -0.9913128614425659, -0.7131626009941101, 0.28768831491470337, -0.061402980238199234, 0.03923279047012329, 0.6858682036399841, 0.5495542287826538, 0.7341174483299255, 0.05372095853090286, 0.9614927172660828, 0.25165995955467224, 0.22129251062870026, -0.640262246131897, 0.8923075795173645, -0.41547781229019165, -0.12127376347780228, -0.08948018401861191, -0.810456395149231, -0.07776784896850586, 1.2348119020462036, -0.291769415140152, 0.20436087250709534, 0.1824152022600174, 0.45848381519317627, 0.18425202369689941, 0.43961307406425476, 0.4207668602466583, -0.02093411609530449, 0.2861299216747284, 0.32806968688964844, 0.7658655047416687, -0.048460703343153, 0.05295681953430176, -0.5166075825691223, -0.12640045583248138, 0.2538585960865021, -0.8866119384765625, -0.6490537524223328, -0.6231077313423157, -0.8130816221237183, 0.12145836651325226, 0.3511168360710144, 0.9315652847290039, 1.3307071924209595, -0.8948531150817871, -0.11158832907676697, -0.3575025200843811, -0.2879754304885864, -0.41086167097091675, -0.17840667068958282, 0.6219437122344971, -0.5627392530441284, -0.6303895115852356, 0.6684143543243408, 0.3545997440814972, -0.2900066375732422, -0.5196441411972046, -0.12880702316761017, -0.01777883805334568, 0.03716034069657326, 0.5705519318580627, 0.3445853888988495, -0.6499588489532471, -0.6554816961288452, -0.1674983650445938, 0.18550416827201843, 0.30699557065963745, 0.32571426033973694, -1.0581152439117432, 0.5875290632247925, 0.15059907734394073, 0.7458226680755615, 0.8698940873146057, -0.027494532987475395, 0.1428232491016388, -0.5747417211532593, 0.0708172395825386, 0.7088416814804077, 0.5999516844749451, 0.5147221684455872, -0.6440030336380005, 0.3608773350715637, 0.1836010068655014, -0.8387535214424133, -0.31679993867874146, 0.1260453164577484, -1.072115421295166, -0.19272524118423462, 0.727411687374115, -0.22898747026920319, -0.22794906795024872, 0.11916565150022507, -0.05472851172089577, 0.2598191499710083, -0.3837850093841553, 0.8331986665725708, 0.2755858302116394, -0.49555209279060364, -0.6064386367797852, -0.3514263927936554, 0.21309079229831696, 0.42263031005859375, -0.6094624400138855, 0.13253572583198547, 0.5719565153121948, 0.2525719404220581, 0.46158692240715027, 0.5247520804405212, 0.16107450425624847, 0.06466226279735565, 0.317738801240921, 0.1555379033088684, -0.1676906794309616, -0.4940418004989624, -0.20049823820590973, 0.27223020792007446, -0.44325146079063416, -0.28253260254859924 ]
http://arxiv.org/abs/2406.10274v1
http://arxiv.org/pdf/2406.10274v1
Using General Large Language Models to Classify Mathematical Documents
2024-06-11T20:15:57
2024-06-11T20:15:57
Patrick D. F. Ion, Stephen M. Watt
cs.IR
cs.IR, cs.CL, cs.DL
In this article we report on an initial exploration to assess the viability of using the general large language models (LLMs), recently made public, to classify mathematical documents. Automated classification would be useful from the applied perspective of improving the navigation of the literature and the more open-ended goal of identifying relations among mathematical results. The Mathematical Subject Classification MSC 2020, from MathSciNet and zbMATH, is widely used and there is a significant corpus of ground truth material in the open literature. We have evaluated the classification of preprint articles from arXiv.org according to MSC 2020. The experiment used only the title and abstract alone -- not the entire paper. Since this was early in the use of chatbots and the development of their APIs, we report here on what was carried out by hand. Of course, the automation of the process will have to follow if it is to be generally useful. We found that in about 60% of our sample the LLM produced a primary classification matching that already reported on arXiv. In about half of those instances, there were additional primary classifications that were not detected. In about 40% of our sample, the LLM suggested a different classification than what was provided. A detailed examination of these cases, however, showed that the LLM-suggested classifications were in most cases better than those provided.
[ -0.3391822874546051, -0.6685197353363037, 0.7893335819244385, 0.11140234768390656, -0.19142687320709229, -0.09537985175848007, -0.4260866343975067, -0.5715255737304688, -0.18350251019001007, 0.6117424964904785, -0.09321723878383636, -0.7936896085739136, -0.7267252802848816, 0.20956821739673615, -0.7868804335594177, 1.0507265329360962, -0.20249749720096588, 0.2579357624053955, -0.6531398296356201, 0.0074701327830553055, -0.0318252295255661, -1.062990665435791, -0.5977472066879272, -0.34077009558677673, 0.6989402174949646, -0.11409883201122284, 0.7101531624794006, 0.580569326877594, 0.7757288813591003, 0.4756436347961426, -0.16130520403385162, 0.1334303915500641, -0.23054033517837524, 0.07078604400157928, -0.29615750908851624, -0.9021772146224976, -0.45193731784820557, 0.25792571902275085, 0.6964274048805237, 0.804530143737793, -0.097671739757061, 0.21737892925739288, 0.14218175411224365, 0.6320640444755554, -0.41702061891555786, 0.41815388202667236, -0.44383126497268677, 0.0686461552977562, -0.2984349727630615, -0.2320694625377655, -0.6262742877006531, -0.5026174783706665, 0.2899934649467468, -0.43380993604660034, 0.18318724632263184, 0.09199416637420654, 0.7855286598205566, -0.0006266122218221426, -0.383558988571167, -0.885614275932312, -0.922691822052002, 1.043505311012268, -0.4826332628726959, 0.34083789587020874, 0.4696567952632904, 0.5209147930145264, -0.16716809570789337, -0.7438666820526123, -0.25970420241355896, -0.3560541570186615, -0.0581684373319149, 0.0032646995969116688, -0.41526663303375244, 0.03538110479712486, 0.40015363693237305, 0.2584175765514374, -0.6633428335189819, 0.28050321340560913, -0.42486920952796936, -0.36472171545028687, 0.7579092383384705, 0.14712630212306976, 0.35359057784080505, 0.06306390464305878, 0.16122643649578094, 0.09609665721654892, -0.6368414759635925, -0.22934624552726746, 0.537047803401947, 0.28562283515930176, 0.11495442688465118, 0.9420891404151917, 0.017732176929712296, 0.8737061619758606, -0.4962420165538788, -0.32486552000045776, 0.2443579137325287, -0.19077147543430328, -0.19746367633342743, -0.09472286701202393, 0.7453608512878418, 0.1692577451467514, 0.45770034193992615, -0.049886394292116165, -0.23668590188026428, 0.2093813568353653, 0.20501510798931122, -0.7865676879882812, -0.208682581782341, -0.006873694248497486, -0.4023909568786621, -0.1991247534751892, 0.07011114060878754, -0.516744077205658, -0.24450521171092987, -0.9547935724258423, 0.2812120020389557, -0.1554909646511078, 0.050735268741846085, 0.036112986505031586, 0.2330026924610138, -0.028358519077301025, 0.9751806855201721, -0.6196060180664062, 0.33856722712516785, 1.0096334218978882, 0.9802136421203613, -0.12156090885400772, 0.0488470159471035, -0.2560001611709595, -0.21272926032543182, -0.35910871624946594, 1.0737115144729614, -0.4658116400241852, -0.3623422682285309, 0.24334432184696198, -0.11765212565660477, -0.0536213293671608, -0.6247499585151672, 0.9206609129905701, -0.8149078488349915, 0.6770814657211304, 0.06389527767896652, -0.7303587198257446, -0.24344627559185028, 0.3490470349788666, -0.5537383556365967, 0.5282760858535767, -0.014314452186226845, -0.776256263256073, -0.12418921291828156, -0.7236396074295044, -0.23338352143764496, -0.1444542407989502, -0.2086191326379776, -0.35742175579071045, 0.08700710535049438, -0.13743989169597626, 0.5350582003593445, -0.4460216760635376, 0.2746215760707855, -0.4095499515533447, -0.3253606855869293, 0.5588138103485107, -0.5790073871612549, 0.8558840751647949, 0.45881780982017517, 0.30139660835266113, -0.1953388899564743, -0.5517955422401428, 0.06815427541732788, -0.07144688814878464, -0.45736950635910034, -0.5639761686325073, 0.07068759948015213, -0.005178255494683981, 0.07145798951387405, 0.3394591510295868, -0.3402321934700012, 0.3669964075088501, -0.2965427041053772, 0.24980370700359344, 0.7166116237640381, -0.28108683228492737, 0.500054121017456, -0.3031654953956604, 0.5896434187889099, -0.20969803631305695, -0.12334257364273071, -0.10990826040506363, -0.708942711353302, -0.8039356470108032, -0.33490949869155884, 0.9122396111488342, 0.5963672399520874, -0.5039382576942444, 0.6351876854896545, -0.27411165833473206, -0.6114086508750916, -0.15783211588859558, 0.06621846556663513, 0.2639573812484741, 0.36730584502220154, 0.0509209968149662, 0.08444858342409134, -0.3960738778114319, -0.8737513422966003, -0.10703901201486588, -0.1900867372751236, -0.3073212802410126, 0.39782723784446716, 0.4878431558609009, -0.45450684428215027, 0.9551451206207275, -0.7112197279930115, -0.20594334602355957, 0.28192293643951416, 0.4738718569278717, 0.38073885440826416, 0.12765808403491974, 0.6815245151519775, -0.8366944789886475, -0.4845418930053711, 0.17080843448638916, -0.993323028087616, -0.3366630971431732, 0.31528031826019287, -0.10999791324138641, 0.5120083689689636, 0.3688660264015198, -0.42655524611473083, 0.5114056468009949, 0.36717963218688965, 0.004774344619363546, 0.4538072347640991, -0.32752400636672974, -0.007698868867009878, -0.8071862459182739, 0.10031116753816605, 0.2402825504541397, -0.11377402395009995, -0.4481772184371948, -0.14052101969718933, 0.08509552478790283, -0.21581611037254333, -0.3626529276371002, 0.5124715566635132, -0.33325454592704773, -0.21867217123508453, -0.4171812832355499, 0.04732007160782814, -0.39391806721687317, 0.2899896204471588, 0.05601280927658081, 0.570812463760376, 0.611531674861908, -0.8629137873649597, 0.44199055433273315, 0.10601983219385147, -0.42930305004119873, 0.6046696305274963, -0.39160212874412537, 0.2662831246852875, -0.3386956453323364, 0.30648285150527954, -1.076373815536499, -0.20302680134773254, 0.3680814206600189, -0.6428495049476624, 0.19267898797988892, -0.28438523411750793, -0.9066604375839233, -0.4657666087150574, 0.04726770520210266, 0.1672072559595108, 0.43429017066955566, -0.4079833924770355, 0.8198772668838501, 0.33228039741516113, -0.4518528878688812, -0.2713431715965271, -0.46327224373817444, -0.01510101929306984, -0.2643681764602661, -0.6185314655303955, 0.029575182124972343, -0.3393602669239044, -0.5928172469139099, 0.22537106275558472, -0.0028040800243616104, -0.30421361327171326, 0.15666167438030243, 0.3291773498058319, 0.48754701018333435, -0.18808794021606445, 0.43089938163757324, -0.01473420299589634, -0.14514370262622833, 0.17903193831443787, -0.32564881443977356, 0.6586933135986328, -0.18028861284255981, -0.4467601180076599, -0.3610265254974365, 0.1263015866279602, 0.5864594578742981, -0.18558697402477264, 0.5228241682052612, 0.34886568784713745, -0.4491131603717804, -0.09262944757938385, -0.4438595175743103, 0.3232646584510803, -0.452309787273407, 0.15446874499320984, -0.1550205796957016, -0.9609532356262207, 0.4946820139884949, -0.13943827152252197, 0.24924811720848083, 0.6660482883453369, 0.5854961276054382, -0.0882360115647316, 1.1736609935760498, 0.571168065071106, -0.1969090849161148, 0.3253585398197174, -0.2267080396413803, 0.1128484383225441, -0.5147188305854797, -0.11353366822004318, -1.236608624458313, -0.1530560702085495, -0.5981587171554565, -0.2159319370985031, 0.39351123571395874, -0.07690262794494629, 0.014631523750722408, 0.23662512004375458, -0.4367806613445282, 0.6477312445640564, 0.27518197894096375, -0.09493488073348999, 0.5412625074386597, 0.21794165670871735, 0.063761405646801, -0.06652318686246872, -0.32402968406677246, -0.8071685433387756, 1.4006576538085938, 0.4196118414402008, 0.7784426212310791, 0.10274773836135864, 0.8035507202148438, 0.35655099153518677, 1.0721279382705688, -0.9758391976356506, 0.692598283290863, -0.3287450671195984, -0.5836760401725769, -0.26516759395599365, -0.7828338742256165, -1.221989393234253, 0.3353486955165863, -0.014658881351351738, -0.6306999325752258, -0.2497260868549347, -0.17131492495536804, -0.2649707496166229, 0.10387483239173889, -0.6646345853805542, 0.5009306073188782, -0.5597795844078064, 0.021501753479242325, -0.24812619388103485, -0.267343670129776, 0.6145275831222534, -0.600827157497406, 0.5691314339637756, -0.050667885690927505, -0.1292225420475006, 0.9689348936080933, -0.31355026364326477, 0.5533819794654846, 0.004015842918306589, -0.5453190207481384, 0.3899761438369751, -0.015442837961018085, 0.1238785833120346, -0.0821068286895752, -0.2704869210720062, 0.2275063693523407, -0.00655746553093195, -0.1104225367307663, -0.8553381562232971, 0.7190796136856079, -0.9973180890083313, -0.5764333009719849, -0.7387961149215698, -0.3327334523200989, -0.06357306241989136, 0.42649972438812256, 0.10312118381261826, 0.5489256381988525, -0.0299979317933321, 0.42323121428489685, 0.6524561047554016, -0.07619739323854446, 0.18917429447174072, 0.7972913384437561, -0.6598800420761108, -0.49597641825675964, 0.8439559936523438, 0.4873296618461609, -0.13777723908424377, 0.5634151101112366, 0.3825143873691559, -0.4996866285800934, -0.855177104473114, -0.011429362930357456, 0.37007227540016174, -0.7701035737991333, -0.31113746762275696, -0.5178029537200928, -0.4687381982803345, -0.46278077363967896, 0.14535540342330933, 0.07255159318447113, -0.34941256046295166, -0.6147016286849976, 0.2514532506465912, 0.16161438822746277, 0.8700865507125854, 0.04978477582335472, 0.21476200222969055, -0.9348205924034119, 0.07363683730363846, 0.26879000663757324, 0.2702969014644623, -0.12743569910526276, -0.6560262441635132, -0.2197169065475464, 0.07857707142829895, -0.33259662985801697, -0.49507349729537964, 0.38369739055633545, 0.009039985947310925, 0.7297719717025757, 0.4568106532096863, 0.09265495091676712, 0.24756662547588348, -0.5493412613868713, 0.3665538728237152, 0.19670023024082184, -0.7920387387275696, 0.31323617696762085, -0.4521999955177307, -0.10686962306499481, 0.25761687755584717, 0.7795009016990662, -0.3543834686279297, -0.22439944744110107, -0.5998944640159607, -0.42092129588127136, 0.6266893148422241, 0.23906098306179047, 0.1875772923231125, 0.19174359738826752, 0.4195500612258911, 0.014964289963245392, 0.3642773926258087, -0.37459924817085266, -0.15251335501670837, 0.30545559525489807, -0.326761931180954, -0.36611950397491455, -0.019344452768564224, -0.12560148537158966, -0.24387575685977936, 0.417728990316391, -0.03550465777516365, 0.4849214553833008, 0.008422364480793476, -0.13033346831798553, -0.11181862652301788, 0.1804032027721405, 0.8289186954498291, 0.9985128045082092, -0.19359533488750458, 0.149813711643219, -0.10779798030853271, -0.4921359419822693, 0.05169586092233658, 0.25855711102485657, -0.09815283864736557, 0.13932572305202484, 0.31782975792884827, 0.3524693250656128, 0.20640239119529724, -0.6667159795761108, 0.29373255372047424, -0.1453472524881363, -0.4964974820613861, -0.5306296944618225, 0.14695575833320618, 0.01774643547832966, 0.14799511432647705, 0.3274988532066345, 0.09349974989891052, 0.15557855367660522, -0.544772744178772, 0.07185467332601547, 0.434336394071579, 0.22262488305568695, -0.29596227407455444, 0.21831099689006805, 0.15946312248706818, -0.6022578477859497, 0.5421002507209778, -0.18481957912445068, -0.7762431502342224, 0.45131048560142517, 0.32833048701286316, 0.8338728547096252, -0.1359577178955078, 0.10873357206583023, 0.12697413563728333, -0.034626804292201996, -0.37688514590263367, -0.19901444017887115, -0.07262887060642242, -0.8016431331634521, -0.5254718065261841, -0.796450138092041, -0.883727490901947, 0.1236855611205101, -0.4988814890384674, 0.520947277545929, -0.5535832047462463, -0.2775018811225891, 0.3519286513328552, 0.19713661074638367, -0.5858944654464722, 0.008783560246229172, 0.368200421333313, 0.841269314289093, -0.7528218626976013, 0.7982053160667419, 0.9447765946388245, -0.15428130328655243, -0.37768295407295227, -0.2719156742095947, 0.04181070998311043, -0.7177780866622925, 0.8632720112800598, 0.05990571901202202, 0.010221854783594608, -0.14178426563739777, -0.8850942254066467, -0.8666249513626099, 0.9246423244476318, 0.21993237733840942, -0.511576771736145, -0.15756122767925262, 0.24810977280139923, 0.8809142708778381, -0.19077199697494507, 0.3738463222980499, -0.05387129262089729, 0.533501148223877, 0.35101795196533203, -1.0757603645324707, -0.5195363163948059, -0.30696043372154236, -0.11871539801359177, 0.27342307567596436, -0.3898816406726837, 1.0818320512771606, 0.21684232354164124, -0.26745977997779846, 0.3986872136592865, 0.74165278673172, 0.20618383586406708, 0.6002969741821289, 0.4256073236465454, 0.6713141798973083, 1.0681835412979126, -0.2581677734851837, 0.8526405096054077, -0.05557459220290184, 0.643074095249176, 0.7103855609893799, -0.42805802822113037, 0.830312967300415, 0.009852924384176731, -0.6068289875984192, 0.5003435015678406, 0.5904712080955505, -0.252008855342865, 0.26384592056274414, 0.7229219675064087, -0.1946479231119156, -0.24984589219093323, 0.007421412039548159, -0.5293077826499939, 0.22535370290279388, 0.6078698039054871, -0.3227315843105316, -0.5726765990257263, 0.10413086414337158, 0.11067903786897659, 0.19885782897472382, -0.6211143732070923, 0.4383101463317871, 0.16556350886821747, -0.6285299062728882, 0.3772719204425812, 0.19289231300354004, 0.6664330363273621, -0.4868423044681549, 0.08779515326023102, 0.039663027971982956, 0.4578116834163666, -0.1650182008743286, -0.8821985721588135, 0.3106399178504944, 0.3490125238895416, -0.16329115629196167, -0.2567439079284668, 0.8891942501068115, -0.2792113721370697, -0.7881616950035095, -0.07708807289600372, 0.5636250972747803, 0.5356476902961731, -0.22232812643051147, -0.5490802526473999, 0.11061134934425354, -0.21977044641971588, -0.09209862351417542, 0.6002892255783081, 0.6273247599601746, -0.13469743728637695, 0.7668755650520325, 0.8501836061477661, -0.16361059248447418, -0.11270007491111755, -0.06558854877948761, 0.8520985245704651, -0.5456665754318237, -0.45813700556755066, -0.736518144607544, 0.048578739166259766, 0.015893856063485146, -0.09082501381635666, 1.064010500907898, 0.7469149827957153, 0.7330079674720764, -0.06446883082389832, 0.8496625423431396, 0.24871639907360077, 0.8147158026695251, -0.5918046832084656, 0.7093156576156616, -0.4016224145889282, 0.21925239264965057, -0.28474634885787964, -1.128801941871643, -0.663330614566803, 0.5660595893859863, -0.6647024154663086, -0.08044436573982239, 0.6882391571998596, 0.3758271038532257, 0.04115506634116173, 0.18943214416503906, 0.24328549206256866, -0.08467080444097519, 0.43408021330833435, 0.4008709192276001, 1.170507788658142, -0.1054169088602066, 0.6482020616531372, -0.019140632823109627, -0.34046733379364014, -0.31770363450050354, -0.7817074656486511, -1.1625813245773315, -0.31627824902534485, -0.43851909041404724, -0.3941648602485657, -0.11124452203512192, 0.923381507396698, 0.38764724135398865, -0.7900109887123108, -0.2525806128978729, -0.005008753854781389, 0.18231339752674103, 0.3736034035682678, -0.2040890008211136, 0.37578022480010986, -0.2700183391571045, -0.8800192475318909, 0.023170115426182747, 0.03777550905942917, 0.29942789673805237, -0.34042420983314514, -0.021043449640274048, 0.07110010087490082, -0.09917847067117691, 0.7494743466377258, 0.38168808817863464, -0.47885069251060486, -0.017195317894220352, 0.22270846366882324, -0.23316793143749237, -0.14525756239891052, 0.8432118892669678, -0.5028700828552246, 0.03966541588306427, 0.5701440572738647, 0.6950657963752747, 0.22949466109275818, -0.04343004152178764, 0.37493735551834106, -0.1952570527791977, -0.21713392436504364, 0.3211521506309509, 0.4679044783115387, 0.04732752963900566, -0.04040060564875603, 0.6011567115783691, 0.4243706166744232, -0.8150091171264648, -1.0146174430847168, -0.11308462917804718, -0.9574151039123535, -0.18346916139125824, 1.2738869190216064, -0.194315567612648, -0.36215534806251526, -0.049249317497015, -0.41115519404411316, 0.045531194657087326, -0.32958152890205383, 0.6358512043952942, 1.1409727334976196, -0.1392737478017807, 0.06602969020605087, -0.6202890276908875, -0.030465103685855865, -0.08102734386920929, -1.073954701423645, -0.1843491941690445, 0.5379863381385803, 0.11246678978204727, 0.7372204065322876, 0.3516736626625061, -0.28035709261894226, 0.028750181198120117, -0.5833755135536194, -0.15762588381767273, 0.026976052671670914, -0.4142317771911621, -0.4808444678783417, 0.20332938432693481, 0.03943207859992981, 0.0985885038971901 ]
http://arxiv.org/abs/2406.07693v2
http://arxiv.org/pdf/2406.07693v2
A Labelled Dataset for Sentiment Analysis of Videos on YouTube, TikTok, and Other Sources about the 2024 Outbreak of Measles
2024-06-11T20:14:22
2024-06-16T21:10:55
Nirmalya Thakur, Vanessa Su, Mingchen Shao, Kesha A. Patel, Hongseok Jeong, Victoria Knieling, Andrew Bian
cs.CY
cs.CY, cs.AI, cs.CL, cs.LG, cs.SI, I.2.7; I.2.8; I.5.4; K.4.2; H.2.8; I.2.6
The work of this paper presents a dataset that contains the data of 4011 videos about the ongoing outbreak of measles published on 264 websites on the internet between January 1, 2024, and May 31, 2024. The dataset is available at https://dx.doi.org/10.21227/40s8-xf63. These websites primarily include YouTube and TikTok, which account for 48.6% and 15.2% of the videos, respectively. The remainder of the websites include Instagram and Facebook as well as the websites of various global and local news organizations. For each of these videos, the URL of the video, title of the post, description of the post, and the date of publication of the video are presented as separate attributes in the dataset. After developing this dataset, sentiment analysis (using VADER), subjectivity analysis (using TextBlob), and fine-grain sentiment analysis (using DistilRoBERTa-base) of the video titles and video descriptions were performed. This included classifying each video title and video description into (i) one of the sentiment classes i.e. positive, negative, or neutral, (ii) one of the subjectivity classes i.e. highly opinionated, neutral opinionated, or least opinionated, and (iii) one of the fine-grain sentiment classes i.e. fear, surprise, joy, sadness, anger, disgust, or neutral. These results are presented as separate attributes in the dataset for the training and testing of machine learning algorithms for performing sentiment analysis or subjectivity analysis in this field as well as for other applications. Finally, this paper also presents a list of open research questions that may be investigated using this dataset.
[ -0.4060976803302765, -0.597314715385437, 0.005863290745764971, 0.19139915704727173, -0.23586435616016388, 0.07637663930654526, 0.10348717123270035, 0.06324946135282516, 0.44810792803764343, 0.3351244628429413, -0.5577468276023865, -0.47310200333595276, -0.6856939196586609, 0.16687655448913574, -0.4268992245197296, 1.4452224969863892, 0.18867889046669006, -0.09782133996486664, -0.21471333503723145, -0.07110093533992767, 0.07293292880058289, -0.6371086835861206, -0.26151537895202637, 0.02380572445690632, 0.5305176377296448, 0.6718247532844543, 0.46691277623176575, 0.48944130539894104, 0.7009527683258057, 0.2808760106563568, 0.013185457326471806, -0.2868644595146179, -0.4466806948184967, -0.009460057131946087, -0.35271134972572327, -0.057674139738082886, -0.6623936891555786, 0.31867891550064087, 0.3947761654853821, 0.43867745995521545, 0.08941897749900818, 0.6594215035438538, 0.1716291606426239, 0.43570995330810547, -0.46919354796409607, -0.13579604029655457, -0.2842903137207031, 0.33319106698036194, -0.1913197785615921, -0.4300419092178345, -0.22499333322048187, -0.31006816029548645, 0.5408845543861389, -0.36404791474342346, 0.30107447504997253, -0.4838956296443939, 0.637279212474823, 0.2540189027786255, -0.49700504541397095, -0.31101658940315247, -0.4872557520866394, 1.0843563079833984, -0.6915609836578369, 0.11839314550161362, 0.22943389415740967, 0.13433533906936646, -0.005557729862630367, -0.4580792188644409, -0.39308467507362366, 0.35356810688972473, 0.4987029731273651, 0.3335146903991699, -0.6030722856521606, -0.1988147646188736, 0.1110026016831398, 0.5132331252098083, -0.8147106766700745, -0.1640167087316513, -0.6430727243423462, -0.15903879702091217, 0.4730493426322937, 0.08334367722272873, 0.20015612244606018, -0.568821907043457, -0.39561039209365845, -0.1844041645526886, -0.3712780773639679, 0.7233088612556458, 0.35601890087127686, 0.32878491282463074, -0.3778873383998871, 0.7645940184593201, -0.42378124594688416, 0.7787116169929504, -0.08532359451055527, -0.6980062127113342, 0.8327078223228455, -0.20496158301830292, -0.4789558947086334, 0.27572202682495117, 0.7439037561416626, 0.8260301351547241, 0.3916865885257721, 0.33439475297927856, 0.2086990475654602, 0.27173474431037903, 0.3948765695095062, -1.0261863470077515, -0.49716827273368835, 0.384029746055603, -0.7335692048072815, -0.6616998314857483, 0.22818048298358917, -1.2318507432937622, -0.41870132088661194, -0.37247583270072937, 0.21125881373882294, 0.029116693884134293, -0.40597692131996155, -0.07276410609483719, -0.2737570106983185, -0.020381705835461617, -0.03678217902779579, -0.5640914440155029, 0.03326333314180374, 0.5999569296836853, 0.6583763957023621, 0.04461146518588066, 0.014596991240978241, -0.5892210006713867, -0.0061719585210084915, 0.07284459471702576, 0.7703256607055664, -0.7929614782333374, -0.1886400431394577, 0.18674102425575256, 0.18772664666175842, 0.26181530952453613, -0.3351714313030243, 0.44210052490234375, -0.27325165271759033, 0.06025317311286926, -0.25421759486198425, -0.5353261828422546, -0.45210596919059753, 0.46001294255256653, -0.61588454246521, 0.49904531240463257, -0.026600133627653122, -0.6404334902763367, 0.2779141962528229, -0.5809433460235596, -0.27593278884887695, -0.36742255091667175, -0.08424483239650726, -0.5212824940681458, -0.14498808979988098, 0.13697774708271027, 0.7953773140907288, -0.15090948343276978, 0.36039942502975464, -0.654973030090332, 0.1309494823217392, 0.4281844198703766, -0.2430345118045807, 0.8380821347236633, 0.3228274881839752, -0.25654393434524536, -0.2474222481250763, -0.6274858713150024, -0.10274731367826462, -0.2233993411064148, -0.13008876144886017, -0.19203704595565796, 0.052466414868831635, -0.0840490534901619, 0.3818601667881012, 0.11622694879770279, -0.7510316371917725, 0.15596438944339752, -0.25751811265945435, 0.3176054060459137, 0.8640539050102234, 0.47699466347694397, 0.19730177521705627, -0.08083199709653854, 0.8038860559463501, 0.4451872408390045, 0.761239230632782, 0.039280716329813004, -0.7834078073501587, -0.42932021617889404, -0.09317492693662643, -0.03566938266158104, 0.5224429965019226, -0.6948286890983582, 0.33619844913482666, -0.3970227539539337, -0.5406889319419861, -0.22467252612113953, 0.11297058314085007, 0.3606899082660675, 0.9298195242881775, 0.48200201988220215, -0.06740366667509079, -0.7837685346603394, -0.9212052226066589, 0.03458184003829956, -0.22472664713859558, 0.23012696206569672, 0.09869936108589172, 0.43440985679626465, -0.06187637522816658, 0.8826878070831299, -0.5342721939086914, -0.17751763761043549, 0.21830274164676666, 0.45826905965805054, 0.41792234778404236, 0.27493664622306824, 0.6544449925422668, -1.048980474472046, -0.37583938241004944, 0.009985812939703465, -1.0408681631088257, -0.12413190305233002, 0.38181072473526, 0.30028825998306274, -0.23186853528022766, 0.11721618473529816, 0.3435695469379425, 0.3864947557449341, 0.9118244051933289, -0.3887624740600586, 0.27636197209358215, 0.46112850308418274, 0.5074581503868103, -1.120249629020691, -0.14452886581420898, 0.504433274269104, 0.1032254695892334, -0.8016061782836914, -0.6290091872215271, -0.35116633772850037, -0.012480982579290867, -0.6988662481307983, 0.3640097379684448, 0.289314329624176, 0.12125823646783829, 0.06194750592112541, -0.0950993224978447, -0.09209613502025604, 0.25369927287101746, -0.2991790473461151, 0.5840412974357605, 0.7770045399665833, -0.6606223583221436, 0.6111224889755249, 0.2997506856918335, 0.038544025272130966, 0.6673868894577026, -0.3179419934749603, -0.4516702890396118, -0.11609512567520142, -0.0968024805188179, -0.79554283618927, -0.42632564902305603, 0.47621452808380127, -0.7724329829216003, -0.07909286767244339, -0.0753176361322403, -0.08318637311458588, -0.7261902689933777, -0.6294469237327576, 0.4117424786090851, 0.2806655466556549, -0.41643232107162476, 0.276358038187027, 0.7872595191001892, -0.4337581992149353, -0.8744928240776062, -0.3759072721004486, 0.04164702445268631, -0.6057705879211426, -0.44802987575531006, -0.2233056277036667, -0.07893799990415573, -0.4443546235561371, 0.3042137622833252, -0.1436692476272583, -0.22051207721233368, -0.003743778681382537, 0.5147944688796997, -0.05619866028428078, 0.001764977816492319, 0.1603640764951706, -0.09958861768245697, -0.045660555362701416, 0.07212773710489273, -0.17319266498088837, 0.16494712233543396, -0.2643890380859375, 0.0504450649023056, -0.4382617473602295, 0.2882981300354004, 0.1292378157377243, -0.24986551702022552, 0.12692847847938538, 0.48108920454978943, -0.2681106925010681, -0.12959501147270203, -0.21627715229988098, -0.09591522812843323, -0.4334752559661865, 0.21538259088993073, -0.25321003794670105, -0.7548917531967163, 0.3101534843444824, 0.0987386405467987, -0.15841452777385712, 0.4274298846721649, 0.6578977704048157, -0.5354183912277222, 0.734431266784668, 0.4291609227657318, -0.44779571890830994, 0.4526084363460541, -0.5234851837158203, 0.12404301017522812, -0.4203028082847595, -0.2547580897808075, -0.35889577865600586, -0.4989160895347595, -0.7147048711776733, -0.2855290174484253, 0.40913790464401245, -0.5150793194770813, -0.40891650319099426, -0.0250784270465374, -0.5613585710525513, 0.28020185232162476, 0.5951151251792908, 0.2368524670600891, 0.05571567639708519, 0.41118481755256653, 0.20388643443584442, -0.23055364191532135, -0.4138508439064026, -0.5706112384796143, 1.3731640577316284, 0.21750687062740326, 0.5722612142562866, 0.2596779763698578, 0.5903723835945129, 0.9193318486213684, 0.4616592526435852, -0.7247806191444397, 0.44360342621803284, -0.8497856259346008, -0.5854064226150513, -0.1282392144203186, -0.22157275676727295, -1.0647846460342407, -0.4630976915359497, -0.05840566009283066, -0.7398518919944763, 0.18378613889217377, 0.11414795368909836, -0.11965546756982803, 0.3048778176307678, -0.47177138924598694, 0.7529217004776001, -0.08836669474840164, -0.31083908677101135, -0.104239322245121, -0.8569514751434326, 0.38555222749710083, -0.015052583068609238, 0.2463178187608719, -0.2059621512889862, 0.2767210006713867, 1.1358699798583984, -0.5013570785522461, 0.8273108601570129, -0.34353891015052795, 0.04110552743077278, 0.6562058329582214, -0.41459208726882935, -0.1909351944923401, -0.16471894085407257, -0.18397164344787598, -0.10714375227689743, -0.09057534486055374, -0.42840129137039185, -0.3074836730957031, 0.7660508751869202, -0.8170899152755737, -0.23962680995464325, -0.638855516910553, -0.24122874438762665, -0.1307877153158188, -0.027217157185077667, 0.062980517745018, 0.9499068856239319, -0.16260963678359985, 0.5242440104484558, 0.7296803593635559, -0.23813791573047638, 0.3998371362686157, 0.1665562391281128, -0.09076588600873947, -0.7595279812812805, 1.261731505393982, 0.2681196331977844, -0.06491167098283768, 0.33804553747177124, 0.3465864062309265, -0.21828018128871918, -0.13637062907218933, -0.17364786565303802, -0.010130937211215496, -0.5795783400535583, -0.5317692756652832, -0.39333656430244446, -0.0028513127472251654, -0.5048702359199524, 0.0990523025393486, 0.0018609316321089864, -0.20087063312530518, -0.3307333290576935, -0.43214020133018494, 0.7840887308120728, 0.8363541960716248, -0.09590529650449753, 0.5296575427055359, -0.7109777927398682, 0.40463873744010925, 0.393534392118454, 0.41505876183509827, -0.2898556590080261, -0.4432251751422882, -0.16935975849628448, 0.14854751527309418, -0.6566771864891052, -1.1326042413711548, 0.30328699946403503, 0.15615350008010864, 0.29494407773017883, 0.9588481187820435, -0.021438905969262123, 0.7048600316047668, -0.04427127540111542, 0.943855345249176, 0.22485628724098206, -0.6692432165145874, 0.6624056100845337, -0.6793004274368286, -0.10153934359550476, 0.40786296129226685, 0.6630141139030457, -0.31156447529792786, -0.4352034628391266, -0.890103816986084, -0.4655248820781708, 0.5357810258865356, 0.03845210373401642, -0.10868947952985764, -0.08347932994365692, 0.1419183909893036, 0.16997259855270386, 0.4050954282283783, -0.5765064358711243, -0.599007248878479, -0.5100589394569397, -0.36948272585868835, -0.46759504079818726, -0.4357926845550537, -0.20376555621623993, -0.4100531339645386, 0.8503710627555847, -0.0102144880220294, -0.08056866377592087, 0.06055889651179314, 0.05494705215096474, -0.14089177548885345, 0.10460711270570755, 0.16581737995147705, 0.49612662196159363, -0.6027340888977051, 0.38997265696525574, -0.5065231919288635, -0.7114425301551819, 0.4343131482601166, -0.06565935164690018, -0.08877891302108765, -0.13411107659339905, 0.13943417370319366, 0.2939668595790863, 0.07050871849060059, -0.6374550461769104, 0.7066943049430847, 0.26771116256713867, -0.26531684398651123, -0.2986280024051666, -0.26224517822265625, -0.3496797978878021, 0.34667763113975525, 0.4046904742717743, -0.0966113805770874, 0.6382559537887573, -0.41186630725860596, 0.6515016555786133, 0.21735171973705292, -0.40739718079566956, -0.6452977061271667, 0.3249775767326355, 0.15891437232494354, 0.2192937135696411, 0.3045497536659241, -0.10002199560403824, -0.35831400752067566, 0.832856297492981, 0.15922249853610992, 0.7199220061302185, -0.6919652223587036, 0.7858533263206482, 0.5057797431945801, 0.1919485181570053, 0.26585614681243896, 0.6760428547859192, 0.3633258640766144, -0.5054599642753601, -0.205581933259964, -0.6633172035217285, -0.3843514919281006, 0.4423074424266815, -0.8957783579826355, 0.23302051424980164, -0.3376522660255432, -0.4143369197845459, 0.42425379157066345, 0.09858071804046631, -0.5767391324043274, 0.88868248462677, 0.1739594042301178, 0.647301971912384, -1.3796929121017456, 0.5560342669487, 0.9859834909439087, -0.46941646933555603, -0.5442640781402588, -0.2489989697933197, 0.3665817975997925, -0.39889609813690186, 0.2956029772758484, 0.2227076143026352, 0.08536159992218018, -0.15854255855083466, -0.6719666123390198, -0.7397032380104065, 0.9303368330001831, -0.09089487046003342, 0.056034497916698456, 0.5387192368507385, 0.3669045865535736, 0.5881944894790649, -0.4405316412448883, -0.20983083546161652, 0.6071955561637878, 0.45549842715263367, 0.007661476265639067, -0.43792444467544556, -0.3581244647502899, -0.6689715385437012, -0.5979738235473633, 0.0983595997095108, -0.5915562510490417, 0.930945634841919, 0.24580825865268707, 0.26544398069381714, -0.24287137389183044, 0.4929499626159668, 0.048088736832141876, 0.7707632780075073, 0.45086345076560974, 0.7385619282722473, 0.6640890836715698, -0.07052945345640182, 0.7732712030410767, 0.11013633757829666, 0.36991435289382935, 0.9884535670280457, 0.15492524206638336, 0.8863164782524109, 0.7131878137588501, -0.3301311433315277, 0.5142236351966858, 0.8261411786079407, -0.40086984634399414, 0.7018184661865234, 0.051484618335962296, -0.22403350472450256, -0.05281373858451843, -0.5123782753944397, -0.4738789498806, 0.5465458631515503, 0.48060342669487, -0.4724505543708801, -0.31155189871788025, 0.5057336091995239, 0.19845172762870789, -0.05285990238189697, -0.6688807606697083, 0.8757206797599792, -0.2247743308544159, -0.40636420249938965, 0.22524546086788177, -0.31404367089271545, 0.16906310617923737, -0.2624952793121338, 0.05213378742337227, -0.1148206889629364, 0.32673853635787964, -0.5742521286010742, -1.1035405397415161, 0.2892952561378479, 0.5370652675628662, -0.3657885491847992, -0.09496941417455673, 0.4349915385246277, -0.16707965731620789, -0.6492884755134583, 0.08476164191961288, 0.5896634459495544, 0.4478897452354431, 0.10225207358598709, -0.7118516564369202, -0.042528871446847916, 0.2502186596393585, -0.3464588224887848, 0.16242560744285583, 0.4820083975791931, -0.1471317708492279, 0.5388287305831909, 0.3699885308742523, 0.0408458486199379, 0.2376486212015152, 0.11676212400197983, 1.0260587930679321, -0.7267315983772278, -0.32342660427093506, -0.8400447368621826, 0.6732913851737976, -0.23505336046218872, -0.18449252843856812, 0.9642013311386108, 0.8313291072845459, 0.5357799530029297, -0.16125279664993286, 1.0552647113800049, -0.32324862480163574, 0.5356142520904541, -0.09729056805372238, 0.05618789419531822, -0.6864613890647888, -0.20840342342853546, -0.44517606496810913, -0.5233672261238098, -0.3200436532497406, 0.2645259499549866, -0.3806391954421997, -0.2718445658683777, 0.31850141286849976, 0.5281325578689575, -0.031583961099386215, 0.1487247198820114, -0.11738914251327515, 0.5113940238952637, 0.47983449697494507, 0.19031023979187012, 0.6809132099151611, -0.30452045798301697, 0.5083106160163879, -0.7798437476158142, -0.6531088948249817, -0.4498116075992584, -0.9289277791976929, -0.8964114189147949, -0.655523955821991, -0.37566372752189636, -0.47432172298431396, 0.11442479491233826, 0.765288770198822, 0.3502211570739746, -1.1476131677627563, -0.349682480096817, 0.3225357234477997, 0.008894771337509155, -0.13128355145454407, -0.2372262328863144, 0.38568809628486633, -0.03485984355211258, -0.7092142701148987, 0.004219315480440855, 0.30514588952064514, -0.03970121219754219, -0.06580927968025208, 0.2039915919303894, -0.3461557626724243, -0.135803684592247, 0.6737844347953796, 0.48287108540534973, -0.5315900444984436, -0.26462382078170776, 0.22426629066467285, 0.14888089895248413, 0.18959006667137146, 0.5120141506195068, -0.6590187549591064, 0.7911289930343628, 0.4447789192199707, 0.2659793496131897, 0.2409520447254181, 0.6153653264045715, 0.17384672164916992, -0.9136833548545837, 0.1893635243177414, 0.1053842231631279, 0.24216611683368683, 0.4205886423587799, 0.028149088844656944, 0.5927131772041321, 0.24305272102355957, -0.46547815203666687, -0.7338637709617615, 0.051285188645124435, -1.3941822052001953, 0.06528963893651962, 1.097399115562439, 0.032843947410583496, -0.19106732308864594, -0.0932047888636589, 0.0616813562810421, 0.3520527780056, -0.5953953862190247, 0.8295875191688538, 0.6273754239082336, -0.2333521544933319, 0.12465330213308334, -0.5528881549835205, 0.5583794116973877, -0.04748791083693504, -0.8953436613082886, -0.2075723260641098, 0.44412147998809814, 0.1074797585606575, 0.12644754350185394, 0.28546810150146484, -0.044786326587200165, 0.1906304806470871, -0.2839258015155792, 0.12023172527551651, 0.19738225638866425, -0.5535424947738647, -0.4586741626262665, 0.34827321767807007, -0.4290829598903656, -0.39547252655029297 ]
http://arxiv.org/abs/2406.07692v1
http://arxiv.org/pdf/2406.07692v1
Transformer Models in Education: Summarizing Science Textbooks with AraBART, MT5, AraT5, and mBART
2024-06-11T20:14:09
2024-06-11T20:14:09
Sari Masri, Yaqeen Raddad, Fidaa Khandaqji, Huthaifa I. Ashqar, Mohammed Elhenawy
cs.CL
cs.CL, cs.ET
Recently, with the rapid development in the fields of technology and the increasing amount of text t available on the internet, it has become urgent to develop effective tools for processing and understanding texts in a way that summaries the content without losing the fundamental essence of the information. Given this challenge, we have developed an advanced text summarization system targeting Arabic textbooks. Relying on modern natu-ral language processing models such as MT5, AraBART, AraT5, and mBART50, this system evaluates and extracts the most important sentences found in biology textbooks for the 11th and 12th grades in the Palestinian curriculum, which enables students and teachers to obtain accurate and useful summaries that help them easily understand the content. We utilized the Rouge metric to evaluate the performance of the trained models. Moreover, experts in education Edu textbook authoring assess the output of the trained models. This approach aims to identify the best solutions and clarify areas needing improvement. This research provides a solution for summarizing Arabic text. It enriches the field by offering results that can open new horizons for research and development in the technologies for understanding and generating the Arabic language. Additionally, it contributes to the field with Arabic texts through creating and compiling schoolbook texts and building a dataset.
[ -0.3448922634124756, -0.44190844893455505, 0.18718495965003967, -0.09865260124206543, -0.246708482503891, 0.3727366626262665, 0.24246717989444733, -0.11309526860713959, 0.10256654769182205, 0.5439209342002869, -0.16546738147735596, -0.4924308955669403, -0.7681456804275513, 0.3220192492008209, -0.7777577042579651, 1.273369312286377, -0.006559484172612429, 0.09644081443548203, -0.17809997498989105, -0.10241343080997467, -0.2897036671638489, -0.23453140258789062, -0.27842915058135986, -0.5573188662528992, 0.21229085326194763, 0.48758789896965027, 0.7311661243438721, 0.5254355669021606, 0.6757071614265442, 0.39294886589050293, -0.4887409508228302, 0.15577703714370728, -0.1038597971200943, 0.015117759816348553, -0.1909695267677307, -0.338149756193161, -0.7501196265220642, -0.2382558137178421, 0.8445156216621399, 0.8122802376747131, 0.10060285031795502, 0.29305174946784973, 0.028555724769830704, 0.7190735936164856, -0.5854489207267761, 0.019565114751458168, 0.1401546448469162, 0.19683067500591278, 0.3400851786136627, 0.016056867316365242, -0.487563818693161, -0.49239033460617065, 0.22307538986206055, -0.2454633265733719, 0.45052558183670044, -0.4697611629962921, 0.7201319932937622, 0.04184306785464287, -0.7329867482185364, -0.4001443684101105, -0.7516218423843384, 0.5329958200454712, -0.8034113645553589, 0.3422487676143646, 0.1276690512895584, 0.40103235840797424, 0.026280904188752174, -1.0152946710586548, -0.37228408455848694, 0.06104772910475731, -0.37684541940689087, 0.5378850698471069, -0.09707356244325638, -0.08767113089561462, -0.1596466451883316, 0.30599328875541687, -0.4925309419631958, -0.3145420551300049, -0.8144034147262573, -0.17791561782360077, 0.43105360865592957, 0.05387165769934654, 0.3586353361606598, -0.12525056302547455, -0.19479472935199738, -0.4581356346607208, -0.42623987793922424, 0.18977108597755432, 0.355561763048172, 0.10241887718439102, -0.07984063029289246, 0.5404756665229797, 0.07336151599884033, 0.5497328042984009, -0.4391631484031677, -0.19033412635326385, 0.0009535886929370463, -0.36454474925994873, -0.11158943176269531, 0.23263804614543915, 0.5190207362174988, 0.40407031774520874, 0.23092547059059143, -0.029728898778557777, -0.14511148631572723, -0.05460139736533165, 0.3553944230079651, -1.2368665933609009, -0.2535446286201477, 0.15133658051490784, -0.4896220862865448, -0.3718065023422241, -0.033989422023296356, -0.8703404664993286, 0.006830336060374975, -0.21060840785503387, 0.3363565504550934, -0.43875929713249207, -0.17384479939937592, 0.056385040283203125, -0.11304617673158646, -0.15215012431144714, 0.206406369805336, -0.7944050431251526, 0.4011542797088623, 0.24888350069522858, 1.0189541578292847, -0.07909266650676727, -0.13191168010234833, 0.085422083735466, 0.23386837542057037, -0.19708283245563507, 0.8448016047477722, -0.649737536907196, -0.8335952162742615, 0.06929300725460052, -0.05682236701250076, 0.18074287474155426, -0.3335306644439697, 0.6573780179023743, -0.5767958164215088, 0.3516516089439392, 0.00442034425213933, -0.5999460220336914, -0.6237664222717285, 0.016174111515283585, -0.6325180530548096, 0.8990957736968994, -0.07243843376636505, -0.47401493787765503, -0.24396780133247375, -0.7559980750083923, -0.4683365225791931, -0.06986553221940994, 0.13852545619010925, -0.6870012879371643, -0.034161824733018875, 0.39210665225982666, 0.5311802625656128, -0.1770199090242386, 0.511494517326355, 0.5239195227622986, -0.22184813022613525, 0.2435671091079712, -0.28333359956741333, 0.6248232126235962, 0.049945469945669174, -0.19368450343608856, 0.2854895293712616, -0.7611995339393616, -0.09279973804950714, -0.11228703707456589, -0.28683042526245117, -0.20945478975772858, 0.028656627982854843, 0.3816767930984497, -0.10794039070606232, 0.1211482435464859, -0.28598499298095703, 0.3864265978336334, -0.3370809257030487, 0.33484625816345215, 0.49051913619041443, -0.13423751294612885, 0.480896532535553, -0.2845269441604614, 0.5725043416023254, 0.004121761303395033, -0.08733135461807251, -0.8643708825111389, -0.33280622959136963, -0.5509353280067444, -0.14587810635566711, 0.3508741855621338, 0.2224549949169159, -0.6080486178398132, 0.17440997064113617, -0.39050817489624023, -0.9878208041191101, -0.3818039298057556, -0.2793387770652771, 0.43732571601867676, 0.6582193374633789, 0.7181755304336548, -0.17478011548519135, -0.2886981964111328, -0.9472467303276062, -0.3341106176376343, 0.17740413546562195, 0.020511096343398094, 0.03197251260280609, 0.8398503065109253, -0.2172572910785675, 1.0526142120361328, -0.7898989319801331, -0.0227058082818985, -0.5617430806159973, 0.13407331705093384, 0.3209802210330963, 0.40997013449668884, 0.6248916387557983, -1.0994871854782104, -0.445155531167984, 0.020739004015922546, -0.571754515171051, -0.07182881236076355, 0.22764302790164948, -0.048139508813619614, 0.06817353516817093, 0.3656957149505615, -0.40908360481262207, 0.5202627778053284, 0.3149717152118683, -0.6717471480369568, 0.5723207592964172, -0.16753612458705902, 0.28535714745521545, -1.1940232515335083, 0.17675204575061798, -0.07221993058919907, -0.26427558064460754, -0.7629876732826233, -0.06112322956323624, 0.31989815831184387, -0.15128183364868164, -0.30552780628204346, 0.5533057451248169, -0.23228247463703156, 0.08871959894895554, -0.5774513483047485, 0.05186120420694351, 0.09107524901628494, 0.18341362476348877, 0.14524002373218536, 0.7526869177818298, 0.19134391844272614, -0.647593080997467, 0.26466917991638184, 0.440843403339386, -0.12290184944868088, 0.10390153527259827, -0.810506284236908, -0.4048149883747101, -0.19820918142795563, 0.5397212505340576, -0.7853396534919739, -0.41949760913848877, 0.13231398165225983, -0.5137396454811096, 0.2853834629058838, 0.24191856384277344, -0.2497703731060028, -0.20442266762256622, -0.21024449169635773, 0.4908837378025055, 0.7295523881912231, -0.35557082295417786, 1.02992582321167, 0.15400026738643646, -0.41430336236953735, -0.8374685049057007, -0.3738272786140442, -0.05765597149729729, 0.008176535367965698, -0.1653546392917633, 0.5043221116065979, 0.037515975534915924, 0.04101473465561867, 0.347060889005661, -0.32556793093681335, -0.06140151619911194, 0.02321562170982361, 0.18143771588802338, 0.45224669575691223, -0.1258169263601303, 0.24279175698757172, 0.5381041765213013, -0.2273489385843277, 0.11640734225511551, -0.253383606672287, 0.41948217153549194, -0.08863551169633865, -0.06236103177070618, -0.18170425295829773, 0.2668546438217163, 0.7568166255950928, -0.173801988363266, 0.8573214411735535, 0.5292457938194275, -0.4885178804397583, -0.19612136483192444, -0.17565582692623138, -0.49171480536460876, -0.45436978340148926, 0.6844919919967651, -0.042824845761060715, -0.38005876541137695, 0.37507548928260803, -0.31496694684028625, 0.3030063211917877, 0.541331946849823, 0.6144819259643555, 0.14576755464076996, 0.6559814214706421, 0.8865217566490173, -0.01583394780755043, 0.1832817941904068, -0.4479904770851135, 0.3409438729286194, -0.6460578441619873, -0.47950664162635803, -0.5834702253341675, -0.31627151370048523, -0.4759063124656677, -0.085991270840168, 0.5556702613830566, -0.029505770653486252, -0.2110130339860916, 0.42512673139572144, -0.8514261245727539, 0.7300942540168762, 0.5417813658714294, 0.058003466576337814, 0.43388980627059937, 0.22944745421409607, -0.19054292142391205, 0.12330517172813416, -0.6405194997787476, -1.1118847131729126, 1.1120091676712036, 0.12073449790477753, 0.3627591133117676, 0.4281298816204071, 0.3890041410923004, 0.3486919105052948, 0.6512024402618408, -0.6608068943023682, 0.6004523038864136, -0.031115205958485603, -0.5339718461036682, -0.13383804261684418, -0.09965313971042633, -0.7134992480278015, 0.4211457073688507, -0.04399266466498375, -0.4804488718509674, -0.027384042739868164, -0.006794213317334652, -0.18102890253067017, 0.3963770270347595, -0.412654310464859, 0.540983259677887, 0.13563089072704315, -0.25953900814056396, -0.19069544970989227, -0.8856898546218872, 0.1599166989326477, -0.04825085029006004, 0.4626217186450958, 0.15746818482875824, -0.0004357149882707745, 1.0276479721069336, -0.22473764419555664, 0.80564945936203, 0.11229443550109863, -0.049435701221227646, 0.4070722162723541, 0.08576546609401703, 0.0023706478532403708, -0.19944919645786285, 0.03427578881382942, -0.037856344133615494, 0.13130754232406616, -0.3734179139137268, -0.4902029037475586, 0.4195055663585663, -0.998885452747345, -0.40740498900413513, -0.7104794383049011, -0.7190890312194824, 0.269399493932724, 0.1951279640197754, 0.1897384524345398, 0.5982301235198975, 0.01731662079691887, 0.09958171099424362, 0.41719165444374084, -0.32084959745407104, 0.7641161680221558, 0.6976650953292847, -0.4655468463897705, -0.5799012780189514, 0.9699825048446655, 0.3383632302284241, 0.17329832911491394, 0.3815976679325104, 0.23384931683540344, -0.12849804759025574, -0.35066351294517517, -0.4804314076900482, 0.20206685364246368, -1.0074818134307861, -0.5156228542327881, -0.8599334955215454, -0.611153781414032, -0.49854370951652527, -0.48627594113349915, -0.22099246084690094, -0.5053738951683044, -0.2484104037284851, -0.19878356158733368, 0.29945242404937744, 1.0871310234069824, 0.04270459711551666, 0.6968333125114441, -1.1602221727371216, 0.15034565329551697, 0.04922385886311531, -0.10573698580265045, 0.200880765914917, -0.7416649460792542, -0.480478972196579, -0.05431115999817848, -0.8963636159896851, -1.142846941947937, 0.7610774636268616, 0.26996392011642456, -0.012098364531993866, 0.20178678631782532, -0.11178839951753616, 0.08262426406145096, -0.6322968602180481, 0.8546352386474609, 0.038674335926771164, -1.0166105031967163, 0.5927073359489441, -0.1325787901878357, 0.4173969626426697, -0.13580575585365295, 0.6597747206687927, -0.4881696105003357, -0.3287607729434967, -0.6792750358581543, -1.0882123708724976, 0.7122718095779419, 0.48957309126853943, 0.15126603841781616, 0.44281744956970215, 0.350502610206604, 0.32145023345947266, 0.2707495093345642, -0.6471363306045532, -0.5534600019454956, -0.5162832736968994, -0.8018163442611694, -0.21981486678123474, -0.3442692756652832, 0.006047472357749939, -0.324399471282959, 1.0506346225738525, 0.013975671492516994, -0.023176033049821854, 0.1518266201019287, -0.10679978132247925, 0.19507962465286255, 0.4344181716442108, 0.7557093501091003, 0.6041256785392761, -0.07944799959659576, 0.16753223538398743, 0.11265717446804047, -1.1634776592254639, 0.43992674350738525, 0.13022147119045258, -0.38666728138923645, 0.26781415939331055, 0.6874772906303406, 0.2991010844707489, 0.19343778491020203, -0.6828565001487732, 0.28035232424736023, 0.009721517562866211, 0.04247734323143959, -0.1315276175737381, 0.1206977367401123, 0.19618476927280426, 0.328441321849823, 0.6836109757423401, 0.23021945357322693, 0.4203982949256897, -0.21372483670711517, 0.08101280778646469, -0.02819439396262169, -0.09366440027952194, -0.620303213596344, 0.5534763932228088, 0.17861852049827576, -0.48059049248695374, 0.30393508076667786, 0.18567192554473877, -0.7362363338470459, 1.0782403945922852, 0.9232364892959595, 0.5555896759033203, -0.671856701374054, 0.5269784927368164, 0.5903379917144775, 0.2210441529750824, 0.0693468526005745, 0.0712772011756897, -0.04439038783311844, -0.6222090125083923, -0.2235105335712433, -0.6647602319717407, -0.7430683970451355, -0.14391127228736877, -0.5261471271514893, 0.26455754041671753, -0.03605979308485985, -0.0807655081152916, 0.09686553478240967, -0.31280064582824707, -0.3977954387664795, 0.45430788397789, -0.3802797198295593, 0.6669735908508301, -1.03609299659729, 0.37265148758888245, 1.0509976148605347, -0.40283337235450745, -0.5685977935791016, -0.4216906428337097, -0.24649690091609955, -0.21492472290992737, 0.7787680625915527, 0.20331181585788727, -0.25638970732688904, 0.3338736593723297, -0.47224706411361694, -0.866915225982666, 1.2083467245101929, 0.11522480845451355, -0.4413089454174042, -0.11006012558937073, 0.2084062546491623, 0.5150793194770813, -0.20213516056537628, 0.8033556342124939, 0.5379542708396912, 0.3212166130542755, 0.22790072858333588, -0.5203023552894592, -0.18474748730659485, -0.5189687013626099, -0.41001734137535095, 0.27167898416519165, -0.507032036781311, 0.8450926542282104, -0.13015536963939667, -0.16991174221038818, -0.08359616994857788, 0.7098298668861389, 0.028734710067510605, 0.38581594824790955, -0.25411075353622437, 0.2631714642047882, 0.4201969504356384, -0.19110849499702454, 0.841899037361145, -0.42415767908096313, 0.4767187535762787, 0.9510115385055542, 0.2637626528739929, 0.5540792942047119, 0.23241649568080902, -0.3860071003437042, 0.43820083141326904, 0.5815892219543457, 0.03202186897397041, 0.4724622368812561, -0.08517857640981674, -0.4980911910533905, 0.16302508115768433, -0.3780239224433899, -0.4974800944328308, 0.3977687358856201, 0.4858623445034027, -0.4716339111328125, -0.37277767062187195, 0.24639379978179932, 0.13814207911491394, 0.2206626981496811, -0.37570425868034363, 0.646447479724884, 0.1484071910381317, -0.5337371826171875, 0.20745019614696503, 0.22514605522155762, 0.11750370264053345, -0.3756893277168274, -0.20363399386405945, -0.25539034605026245, 0.23477815091609955, -0.3379252552986145, -0.5450711250305176, 0.2216050922870636, 0.22958257794380188, -0.20381277799606323, -0.10736898332834244, 0.5979965925216675, -0.49818700551986694, -0.9115977883338928, -0.06292149424552917, 0.37433579564094543, 0.1729087084531784, 0.5174195170402527, -0.019918600097298622, -0.13039527833461761, -0.03223593533039093, -0.3477817177772522, -0.12775468826293945, 0.2150663584470749, 0.07152442634105682, 0.7435441613197327, 0.4191223382949829, 0.06902032345533371, -0.2896978259086609, -0.11314644664525986, 0.9333695769309998, -0.6069861650466919, -0.3976125717163086, -1.1658228635787964, 0.7453641295433044, -0.018768617883324623, -0.15959526598453522, 0.5254401564598083, 0.635550856590271, 0.5543358325958252, -0.31992441415786743, 0.9145720601081848, 0.2889464795589447, 0.28631776571273804, -0.39141368865966797, 1.0152288675308228, -0.21336598694324493, 0.01634763740003109, -0.14694200456142426, -1.0562705993652344, -0.3157501816749573, 0.6083936095237732, -0.015808556228876114, 0.16728439927101135, 0.9129530191421509, 0.29889893531799316, -0.17731918394565582, 0.30723488330841064, 0.08454251289367676, 0.1788918823003769, 0.6248724460601807, 0.08347433060407639, 0.3706275224685669, -0.7251393795013428, 0.2743956744670868, -0.10633485019207001, -0.20494160056114197, -0.30373623967170715, -0.6781730651855469, -1.1098453998565674, -0.7065398097038269, -0.2810276448726654, -0.08493825048208237, 0.061216145753860474, 0.8359650373458862, 0.15639476478099823, -0.942655086517334, -0.19893449544906616, -0.1458236128091812, 0.20897330343723297, -0.021412746980786324, -0.17203488945960999, 0.9945390820503235, -0.09263632446527481, -0.8502179980278015, 0.059423770755529404, 0.1565036028623581, 0.5725609660148621, -0.2127646803855896, 0.1765081286430359, -0.11133760213851929, 0.23580943048000336, 0.5480790138244629, -0.04745078831911087, -0.5676332712173462, 0.0036664940416812897, 0.01554957590997219, 0.029676713049411774, -0.11761312186717987, 0.6036413311958313, -0.9972777962684631, 0.40719231963157654, 0.26007145643234253, 0.6744673848152161, 0.3998588025569916, -0.021110132336616516, 0.5390734672546387, -0.396451860666275, -0.02530626766383648, 0.2924114167690277, 0.16354268789291382, 0.4337197542190552, -0.0645703375339508, 0.5886711478233337, 0.08517948538064957, -0.5381631255149841, -0.7486472129821777, 0.10294359177350998, -0.4236791431903839, -0.256171852350235, 0.6047734618186951, -0.158152237534523, -0.1981143057346344, 0.1677253544330597, -0.38819417357444763, 0.7431493997573853, -0.2228124588727951, 0.935027003288269, 0.7646340727806091, 0.2441539466381073, 0.027502957731485367, -0.5227904915809631, 0.31467729806900024, 0.40278807282447815, -0.9315509796142578, -0.3639572560787201, 0.19959919154644012, -0.06642046570777893, 0.4100589156150818, 0.09995266050100327, 0.008397330529987812, 0.18792621791362762, -0.18886218965053558, 0.32886582612991333, -0.17671668529510498, -0.5635301470756531, -0.0017352590803056955, 0.36077529191970825, -0.5032358169555664, 0.11275627464056015 ]
http://arxiv.org/abs/2406.09438v1
http://arxiv.org/pdf/2406.09438v1
Exploring Traffic Crash Narratives in Jordan Using Text Mining Analytics
2024-06-11T20:07:39
2024-06-11T20:07:39
Shadi Jaradat, Taqwa I. Alhadidi, Huthaifa I. Ashqar, Ahmed Hossain, Mohammed Elhenawy
cs.CL
cs.CL, cs.IR
This study explores traffic crash narratives in an attempt to inform and enhance effective traffic safety policies using text-mining analytics. Text mining techniques are employed to unravel key themes and trends within the narratives, aiming to provide a deeper understanding of the factors contributing to traffic crashes. This study collected crash data from five major freeways in Jordan that cover narratives of 7,587 records from 2018-2022. An unsupervised learning method was adopted to learn the pattern from crash data. Various text mining techniques, such as topic modeling, keyword extraction, and Word Co-Occurrence Network, were also used to reveal the co-occurrence of crash patterns. Results show that text mining analytics is a promising method and underscore the multifactorial nature of traffic crashes, including intertwining human decisions and vehicular conditions. The recurrent themes across all analyses highlight the need for a balanced approach to road safety, merging both proactive and reactive measures. Emphasis on driver education and awareness around animal-related incidents is paramount.
[ -0.4849611222743988, -0.4905048608779907, 0.5457541942596436, 0.19365349411964417, -0.24540431797504425, 0.2309064269065857, 0.3488970398902893, -0.3448192775249481, 0.043605003505945206, 0.6704753041267395, -0.6041229367256165, -0.7446585893630981, -0.32277101278305054, -0.13941733539104462, -0.4381195902824402, 1.1620304584503174, -0.2802293002605438, -0.025059884414076805, -0.10619500279426575, -0.2834348678588867, -0.7941491603851318, -0.6922342777252197, -0.6648672223091125, 0.18466821312904358, 0.6746299862861633, 0.10082419216632843, 0.4371993839740753, 0.5532905459403992, 0.7468786835670471, 0.2638644278049469, 0.1298106610774994, 0.16492719948291779, -0.297599196434021, -0.17813675105571747, -0.2076762318611145, -0.34103795886039734, -0.07310372591018677, -0.009917198680341244, 0.6464380621910095, 0.913275957107544, -0.3202461302280426, -0.02819063700735569, -0.11060430109500885, 0.6917778849601746, -0.8502552509307861, 0.010558364912867546, -0.45920538902282715, 0.15622326731681824, -0.567613959312439, -0.47230783104896545, -0.017492279410362244, -0.6592817902565002, 0.25713348388671875, -0.030146421864628792, 0.12977401912212372, 0.16806426644325256, 0.46349626779556274, 0.23114968836307526, -1.1699539422988892, -0.8101457953453064, -0.5651707649230957, 0.943301260471344, -0.273586243391037, 0.21370908617973328, 0.1090419813990593, 0.1656321883201599, -0.41698694229125977, -0.43974393606185913, -0.3971557021141052, 0.13704624772071838, -0.16080206632614136, 0.14497675001621246, 0.20825839042663574, 0.04353330284357071, -0.05401493236422539, 0.25457999110221863, -0.6515354514122009, -0.15557660162448883, -0.4623413681983948, -0.25044915080070496, 0.6726253032684326, 0.978670060634613, 0.5013886094093323, 0.0529579296708107, -0.584912121295929, -0.2733455002307892, -0.5733888745307922, 0.5917807221412659, 0.5652757883071899, 0.2101517915725708, -0.08755242824554443, 0.26369810104370117, -0.08198494464159012, 0.3778143525123596, -0.6427960395812988, -0.6756024956703186, 0.392807275056839, -0.585458517074585, 0.08361858129501343, 0.7691807746887207, 0.547020435333252, 0.8256326913833618, 0.5313061475753784, -0.21120087802410126, 0.1373215764760971, 0.004521382972598076, 0.26082420349121094, -0.8383243083953857, -0.10694988816976547, 0.0409274660050869, -0.787002444267273, -0.48474302887916565, 0.4066934883594513, -0.8329362869262695, -0.4634250998497009, -0.048591822385787964, -0.20925232768058777, -0.2978823482990265, -0.6320672035217285, 0.34021827578544617, -0.42550423741340637, 0.5080500841140747, 0.14633220434188843, -0.590734601020813, 0.10767008364200592, 0.5797216892242432, 1.0484055280685425, -0.14144517481327057, -0.504309356212616, -0.28795015811920166, 0.44770047068595886, -0.4171222746372223, 0.8389056921005249, -0.5027647614479065, -0.6776118874549866, 0.44610169529914856, 0.002035029698163271, -0.19563134014606476, -0.29704537987709045, 0.8415818214416504, -0.352249413728714, -0.15863636136054993, -0.17444774508476257, -0.5012263655662537, -0.8700385689735413, 0.28899043798446655, -0.44313758611679077, 0.685693085193634, -0.1767982393503189, -0.915499746799469, 0.6134154200553894, -0.7137039303779602, -0.9599495530128479, -0.2887672185897827, -0.19582007825374603, -0.6481678485870361, 0.33455875515937805, 0.11830351501703262, 0.3994190990924835, -0.10419801622629166, 0.4332725703716278, -0.0859336331486702, -0.26025626063346863, 0.27275222539901733, -0.3790341913700104, 0.8383498191833496, -0.09434264898300171, 0.024198610335588455, 0.028793275356292725, -0.6879199147224426, -0.16118435561656952, 0.024906465783715248, -0.4254949986934662, -0.4634392559528351, 0.20762899518013, 0.23806099593639374, 0.17350167036056519, -0.011258026584982872, -0.5103226900100708, -0.028439512476325035, -0.4576074182987213, -0.22403927147388458, 0.48547086119651794, 0.6931607127189636, 0.05304953083395958, -0.5713276267051697, 0.3737938404083252, 0.46662119030952454, -0.0845806747674942, -0.37701529264450073, -0.7194268703460693, -0.6260213851928711, 0.38171106576919556, 0.08358244597911835, 0.5991747975349426, -0.2759012281894684, 0.12877653539180756, -0.13839370012283325, -0.7120518088340759, -0.22064130008220673, -0.21581925451755524, 0.3243752121925354, 0.5886922478675842, 0.053617700934410095, -0.6556816101074219, -0.5085631012916565, -0.5469228029251099, -0.42968931794166565, -0.34484246373176575, 0.45302334427833557, 0.32134461402893066, 0.4759332239627838, -0.18600690364837646, 0.9443520903587341, -0.7022503614425659, -0.23168928921222687, -0.18960578739643097, 0.4461504817008972, -0.034761350601911545, 0.6355082392692566, 0.9726212620735168, -0.9021029472351074, -0.35114267468452454, -0.16253891587257385, -0.7415434718132019, 0.2804614305496216, -0.3157455623149872, -0.07954773306846619, 0.3437173366546631, 0.557033121585846, -0.04808535426855087, 0.8816229701042175, 0.0975179597735405, -0.6510692834854126, 0.40501049160957336, 0.07498341053724289, 0.47122922539711, -0.6795223951339722, -0.18556004762649536, -0.006187472026795149, -0.12185119837522507, -0.7625788450241089, -0.5102236270904541, -0.3863677382469177, 0.1907329261302948, -0.39539435505867004, -0.17435809969902039, -0.17912457883358002, -0.07918190956115723, -0.5394534468650818, -0.2779841721057892, -0.3216709792613983, 0.24087940156459808, -0.007489364594221115, 0.5504881143569946, 0.5660074949264526, -0.5353859663009644, 0.13308896124362946, 0.2545619308948517, -0.6368535757064819, 0.2632860541343689, -0.08626852929592133, -0.1408357322216034, -0.42022281885147095, 0.2367803305387497, -0.9721735715866089, -0.37774133682250977, 0.22909460961818695, -0.21699343621730804, -0.00008857624197844416, -0.25058433413505554, -0.5246437788009644, -0.17244207859039307, -0.4570080637931824, 0.14731833338737488, 0.3396094739437103, -0.26571202278137207, 0.4590108096599579, 0.9979921579360962, -0.3863276541233063, -0.09635894745588303, -0.5490004420280457, 0.2902527451515198, -0.6241482496261597, -0.7167357206344604, 0.062379371374845505, -0.020789314061403275, -0.31957852840423584, -0.03853870555758476, 0.14157436788082123, -0.3251092731952667, 0.5647295117378235, 0.5804446339607239, 0.25063595175743103, -0.08432361483573914, -0.03604372218251228, -0.09596361964941025, -0.29050788283348083, 0.5946381688117981, 0.14664605259895325, 0.4758390188217163, 0.02308349497616291, 0.006265161093324423, -0.6293163299560547, 0.3897360563278198, 0.6142497658729553, -0.169812873005867, 0.9458451271057129, 0.6982762217521667, -0.2831626534461975, 0.3150659203529358, -0.10488439351320267, -0.010236441157758236, -0.4529215693473816, 0.28114816546440125, -0.35868698358535767, -0.6281732320785522, 0.2364499270915985, -0.6756410598754883, 0.01747708208858967, 0.388064980506897, 0.6103894114494324, -0.34943705797195435, 1.1655938625335693, 0.5988646149635315, -0.214553102850914, 0.3987717628479004, 0.1482200175523758, 0.3131103813648224, -0.12690678238868713, -0.659010648727417, -0.34185463190078735, -0.05259377136826515, -0.9480491876602173, 0.052438877522945404, 0.4581790268421173, -0.2340620905160904, -0.2677164673805237, -0.2739331126213074, -0.25588494539260864, 0.594903290271759, 0.4549207389354706, -0.3314255177974701, 0.2769569754600525, 0.1378922462463379, 0.05495789274573326, -0.01262249331921339, -0.4982947111129761, -0.3587774634361267, 0.9589575529098511, 0.05378603935241699, 0.31215736269950867, 0.2911030352115631, 0.5184530019760132, 0.36114516854286194, 0.2521776854991913, -0.24830836057662964, 0.4368031322956085, 0.08605234324932098, -0.6583680510520935, -0.06289435923099518, -0.34257155656814575, -1.1144345998764038, -0.13123606145381927, -0.32755300402641296, -0.7847363948822021, -0.11566270887851715, -0.2883971333503723, -0.22199946641921997, 0.3127541244029999, -0.33830639719963074, 0.7880589962005615, -0.4188884496688843, 0.10186593979597092, -0.31256890296936035, -0.8701699376106262, 0.5960193872451782, -0.04167129471898079, 0.3981553614139557, -0.36145544052124023, 0.15447838604450226, 1.0325202941894531, -0.6235454082489014, 0.9261625409126282, -0.23227354884147644, 0.2098151445388794, 0.6206850409507751, -0.22722266614437103, 0.5148083567619324, -0.17358921468257904, 0.2205551713705063, 0.23828543722629547, -0.07007686048746109, -0.30247464776039124, -0.2353297621011734, 0.7311744093894958, -0.7183375358581543, -0.166987806558609, -0.7804955840110779, -0.5232279896736145, -0.2553936541080475, -0.1763637214899063, -0.17127099633216858, 0.7356834411621094, -0.1754077672958374, -0.16751444339752197, 0.15249374508857727, -0.20663398504257202, 0.9697918891906738, 0.6441197991371155, -0.28714802861213684, -0.4142236113548279, 1.1355459690093994, 0.06895794719457626, -0.432778924703598, -0.028483878821134567, 0.11949577927589417, -0.38925406336784363, -0.9973976612091064, -0.6706450581550598, -0.021284112706780434, -0.5475782752037048, -0.03944342955946922, -0.7086153030395508, -0.2824241518974304, -0.06703554838895798, -0.19673456251621246, -0.24808931350708008, -0.09360318630933762, 0.052284929901361465, -0.11765827238559723, 0.4751476049423218, 0.9541229009628296, -0.12264174968004227, 0.5284500122070312, -1.0623517036437988, -0.1293490082025528, -0.12921318411827087, 0.12482054531574249, 0.19022797048091888, 0.12310504168272018, -0.46199876070022583, -0.4612848162651062, -0.37980055809020996, -0.7464993000030518, 0.4706512689590454, -0.17187634110450745, 0.3333248198032379, 0.5603604316711426, 0.14088912308216095, 0.7201131582260132, -0.5006194710731506, 0.6524842381477356, 0.49591588973999023, -0.3717584013938904, 0.640015721321106, -0.4566901922225952, -0.10848923772573471, 0.8796153664588928, 0.6796454191207886, -0.3666194975376129, -0.12084633857011795, -0.2197374403476715, -0.9360579252243042, 0.47933781147003174, 0.5307092070579529, -0.07871533185243607, 0.06181444972753525, 0.29931482672691345, 0.11194223910570145, 0.3624996244907379, -0.33764442801475525, -0.5658875107765198, -0.039025962352752686, -0.4936729371547699, 0.0759119763970375, -0.368495374917984, 0.13021372258663177, -0.32647499442100525, 0.6168732047080994, 0.17823322117328644, -0.33162760734558105, -0.20013625919818878, -0.05498038977384567, 0.09377776831388474, 0.04188898578286171, 0.6526955962181091, 0.7801703810691833, -0.4305335283279419, 0.13729745149612427, 0.17196087539196014, -0.8538027405738831, 0.09366399049758911, -0.052964020520448685, -0.13335181772708893, 0.05010823905467987, 0.3598279356956482, 0.4957238733768463, -0.026321468874812126, -0.9199012517929077, 0.5127755403518677, -0.26967471837997437, -0.0654970183968544, -0.6155078411102295, 0.31519022583961487, -0.07012756913900375, 0.08040811121463776, 0.3469013571739197, 0.1131715327501297, 0.6691622734069824, -0.6331436038017273, -0.04015551507472992, 0.053980857133865356, -0.6178160309791565, -0.1659439653158188, 0.45758387446403503, 0.4447118937969208, -0.018932227045297623, 0.5603301525115967, -0.21941079199314117, -0.6399715542793274, 0.7300599813461304, 0.18513962626457214, 0.7688629031181335, -0.138650581240654, -0.03985786437988281, 0.2688156068325043, 0.28645291924476624, -0.034881964325904846, 0.40216386318206787, 0.2061709761619568, -0.7066181898117065, -0.2939319908618927, -0.6443793177604675, -0.3931550979614258, 0.04963570833206177, -0.472831130027771, 0.03591112419962883, -0.19381901621818542, -0.005029866471886635, -0.0777592882514, 0.09053610265254974, -0.21782535314559937, 0.3709176182746887, 0.17026488482952118, 0.6674857139587402, -0.7136512398719788, 0.32324767112731934, 0.880142867565155, -0.5040783286094666, -0.5670449733734131, 0.3939369022846222, 0.23082736134529114, -0.4693995714187622, 0.45531246066093445, 0.6961103081703186, -0.2069755494594574, -0.008245299570262432, -0.41292521357536316, -0.6929987072944641, 0.9428853988647461, -0.2518608570098877, -0.48549097776412964, 0.2531047761440277, 0.6379388570785522, 0.10012324154376984, -0.45252278447151184, -0.07250755280256271, 1.058587670326233, 0.40343526005744934, -0.017299562692642212, -0.600437581539154, 0.008526344783604145, 0.10890965908765793, -0.274312287569046, 0.5485213398933411, -0.7543121576309204, 0.46705418825149536, -0.12777376174926758, -0.2344287782907486, 0.09746448695659637, 0.5205329060554504, 0.33893901109695435, 1.0869364738464355, 0.6989737749099731, 0.6934870481491089, 0.8650449514389038, 0.13527126610279083, 0.9663563370704651, -0.39504164457321167, 0.21559587121009827, 0.8492416143417358, -0.07675967365503311, 0.398147851228714, 0.22336070239543915, -0.19984419643878937, 0.8059865236282349, 0.5815412998199463, 0.1277523785829544, 0.9647497534751892, 0.22684089839458466, -0.4615883529186249, -0.48197314143180847, -0.5457936525344849, -0.17188440263271332, 0.8860576152801514, 0.2221444994211197, -0.1849524825811386, -0.42890509963035583, 0.28592953085899353, 0.24959047138690948, -0.3350549638271332, -0.7038381695747375, 0.8464330434799194, -0.29090702533721924, -0.5240989327430725, -0.11601179838180542, 0.10409688204526901, 0.2016650140285492, -0.07936788350343704, -0.13453525304794312, 0.07196962833404541, 0.27092546224594116, -0.0233673807233572, -1.0267869234085083, 0.5145033001899719, 0.01882164739072323, -0.3262230455875397, -0.141895592212677, 1.0475045442581177, -0.13752973079681396, -0.7150780558586121, -0.05999916046857834, 0.5864496827125549, 0.5286054015159607, -0.11720259487628937, -0.3699692487716675, 0.1842389702796936, 0.11922549456357956, -0.0077237715013325214, 0.29102227091789246, 0.44490793347358704, -0.14088615775108337, 0.281950443983078, 0.6707084774971008, -0.22314442694187164, 0.038009971380233765, -0.024459101259708405, 1.0112433433532715, -1.3041105270385742, -0.5729287266731262, -1.1648838520050049, 0.7045714259147644, -0.28245872259140015, -0.35642009973526, 0.715972900390625, 0.8443618416786194, 0.5603344440460205, 0.22801148891448975, 1.1035231351852417, 0.2634781002998352, 0.5411110520362854, -0.6733302474021912, 0.6044079065322876, -0.33273938298225403, 0.09208453446626663, 0.09791393578052521, -0.3760400414466858, -0.180868461728096, 0.441317617893219, -0.30202609300613403, -0.10519346594810486, 0.3458189070224762, 0.5237497091293335, 0.1717451810836792, 0.5445348024368286, -0.012202095240354538, 0.02989591471850872, 0.32825756072998047, 0.4206218719482422, 1.235901117324829, -0.22734050452709198, 0.8770613670349121, 0.06559523940086365, -0.13309215009212494, -0.5628117322921753, -0.471285343170166, -1.2871859073638916, -0.4459471106529236, -0.4704093337059021, -0.10265856981277466, 0.15733474493026733, 0.2785134017467499, 0.5320603251457214, -0.7311524748802185, -0.08377701789140701, -0.3866821825504303, 0.3297085464000702, 0.47584977746009827, -0.2829890847206116, 0.32826346158981323, -0.45946043729782104, -0.27990296483039856, 0.3009112775325775, 0.708233654499054, 0.2843107581138611, -0.11964917927980423, 0.07550591230392456, -0.07890769094228745, 0.15927274525165558, 0.30829381942749023, 0.09392162412405014, -0.043865546584129333, -0.07134144008159637, -0.571260392665863, -0.0627308040857315, -0.011653460562229156, 1.194288969039917, -0.9502401351928711, -0.0332033634185791, 0.2631027102470398, 0.5439335703849792, 0.6711829900741577, 0.02822631597518921, 0.49778294563293457, -0.5170946717262268, 0.16184191405773163, -0.16866272687911987, 0.3259469270706177, 0.3169328272342682, -0.0035383044742047787, 0.5963475704193115, 0.5468290448188782, -0.4861598312854767, -0.8786059617996216, 0.21324726939201355, -0.9146928191184998, -0.45508408546447754, 0.86347895860672, -0.016367582604289055, -0.3008434474468231, -0.8570405840873718, -0.1915971338748932, 0.07759043574333191, -0.29625973105430603, 0.6888582110404968, 0.39345434308052063, -0.43233856558799744, -0.028612080961465836, -0.7406750321388245, 0.577392578125, -0.13171181082725525, -0.7435377836227417, -0.312255859375, 0.3776922821998596, 0.1767074018716812, 0.003906106809154153, 0.39269793033599854, 0.43510034680366516, 0.20947736501693726, 0.08730468153953552, -0.3526259660720825, 0.18975898623466492, -0.3678317368030548, 0.221697136759758, 0.6458286643028259, -0.21038313210010529, -0.37957990169525146 ]
http://arxiv.org/abs/2406.07685v1
http://arxiv.org/pdf/2406.07685v1
Out-Of-Context Prompting Boosts Fairness and Robustness in Large Language Model Predictions
2024-06-11T20:05:15
2024-06-11T20:05:15
Leonardo Cotta, Chris J. Maddison
cs.CL
cs.CL, cs.AI
Frontier Large Language Models (LLMs) are increasingly being deployed for high-stakes decision-making. On the other hand, these models are still consistently making predictions that contradict users' or society's expectations, e.g., hallucinating, or discriminating. Thus, it is important that we develop test-time strategies to improve their trustworthiness. Inspired by prior work, we leverage causality as a tool to formally encode two aspects of trustworthiness in LLMs: fairness and robustness. Under this perspective, existing test-time solutions explicitly instructing the model to be fair or robust implicitly depend on the LLM's causal reasoning capabilities. In this work, we explore the opposite approach. Instead of explicitly asking the LLM for trustworthiness, we design prompts to encode the underlying causal inference algorithm that will, by construction, result in more trustworthy predictions. Concretely, we propose out-of-context prompting as a test-time solution to encourage fairness and robustness in LLMs. Out-of-context prompting leverages the user's prior knowledge of the task's causal model to apply (random) counterfactual transformations and improve the model's trustworthiness. Empirically, we show that out-of-context prompting consistently improves the fairness and robustness of frontier LLMs across five different benchmark datasets without requiring additional data, finetuning or pre-training.
[ -0.3637959361076355, -0.8917474150657654, 1.0201066732406616, 0.23483732342720032, -0.05238211527466774, -0.37263253331184387, -0.23184813559055328, -0.24240835011005402, -0.30867356061935425, 0.16949206590652466, -0.6065549254417419, -0.06646188348531723, -0.5584749579429626, 0.019205467775464058, -0.3564198613166809, 0.9383727312088013, 0.015325966291129589, 0.06830117851495743, -0.47668835520744324, -0.01388546358793974, -0.6325298547744751, -0.43088090419769287, -0.9026364684104919, -0.5097320079803467, 0.5898047685623169, 0.33401402831077576, 0.7734697461128235, 0.3830002248287201, -0.08330266922712326, 0.25085291266441345, 0.026678679510951042, 0.12684564292430878, -0.551832914352417, 0.12090891599655151, -0.3682492673397064, -0.6873982548713684, -0.30311334133148193, 0.15065762400627136, 0.615312397480011, 0.6999914050102234, -0.031010420992970467, 0.27893128991127014, 0.5097240209579468, 0.356882244348526, -0.5882022380828857, 0.2402680367231369, -0.7247419953346252, -0.16588006913661957, -0.21461212635040283, -0.5336958169937134, -0.7409274578094482, -0.5208202004432678, 0.012042663060128689, -0.7221971750259399, 0.06638941168785095, 0.30919215083122253, 0.7102236747741699, 0.2537250518798828, -0.5344177484512329, -0.01221209391951561, -0.44382545351982117, 0.722408652305603, -0.6256668567657471, 0.5423330068588257, 0.5061302781105042, 0.3555993139743805, -0.6537212133407593, -0.5864329934120178, -0.7979199290275574, -0.3217470049858093, -0.15184345841407776, 0.08088713884353638, -0.19232134521007538, -0.15635335445404053, 0.6212955713272095, -0.10833598673343658, -0.3280975818634033, 0.4386884570121765, 0.11363951116800308, -0.18046562373638153, 0.242064967751503, 0.09092866629362106, 0.01771755889058113, 0.00020535055955406278, -0.330211341381073, -0.23670881986618042, -1.1227779388427734, 0.5284546613693237, 0.4464825391769409, 0.26631033420562744, -0.1759531944990158, 0.32325440645217896, -0.18979376554489136, 0.4768407642841339, 0.3157161474227905, -0.12007199972867966, -0.029904138296842575, -0.1460430920124054, -0.22160173952579498, 0.05449012666940689, 0.44757774472236633, 0.5482838749885559, 0.24982917308807373, -0.15966537594795227, -0.20408697426319122, 0.09701109677553177, -0.019419478252530098, -0.8192302584648132, 0.2587254047393799, 0.3125801384449005, -0.6633312106132507, -0.2278045266866684, 0.03877733275294304, -0.8207299709320068, -0.6570809483528137, -0.3642128109931946, 0.6178637742996216, -0.2653043866157532, -0.023897778242826462, -0.06075719743967056, -0.04666118696331978, 0.09815198928117752, 0.3734327256679535, -0.6460601687431335, -0.01064161118119955, 0.6071497201919556, 0.7320002317428589, 0.1346321403980255, -0.38545480370521545, -1.4294530153274536, 0.24127668142318726, -0.3092963695526123, 0.5372830033302307, -0.44237077236175537, -0.3400958478450775, 0.16649247705936432, 0.08235789835453033, 0.077435202896595, -0.1790952831506729, 0.5825366973876953, -0.68592768907547, 0.42623916268348694, -0.7989384531974792, -0.302144318819046, -0.2653409540653229, 0.36864736676216125, -0.33034494519233704, 0.9580633640289307, 0.019623007625341415, -0.7480901479721069, 0.9009554982185364, -0.7769173383712769, -0.4197070002555847, -0.15421055257320404, -0.22343263030052185, -0.20743286609649658, 0.2069755643606186, 0.6614322066307068, 0.5732442140579224, -0.4899308383464813, 0.7636100649833679, -0.7736227512359619, -0.37550991773605347, 0.48862403631210327, -0.7202855944633484, 0.752916693687439, 0.1672513782978058, -0.6507413983345032, 0.13388261198997498, -0.4210434556007385, -0.0985601469874382, 0.021438756957650185, 0.040746383368968964, -0.3592936396598816, 0.08743410557508469, -0.18855372071266174, 0.4914700388908386, -0.07227403670549393, -0.5263127684593201, -0.3883022665977478, -0.5147005319595337, 0.46643921732902527, 1.0615001916885376, -0.1400814950466156, 0.4948771595954895, -0.5844415426254272, 0.27896708250045776, 0.08910427987575531, 0.4396202564239502, -0.05210705101490021, -0.6889250874519348, -0.4307869076728821, -0.23201225697994232, -0.0687807947397232, 0.4056906998157501, -0.7797555327415466, 0.3843677043914795, -0.36161649227142334, -0.07817848026752472, -0.13532163202762604, -0.13556009531021118, 0.31902921199798584, 0.9944987893104553, 0.31042319536209106, -0.03591069206595421, -0.2201031595468521, -0.5312178134918213, -0.4097394645214081, -0.4670563340187073, -0.055833689868450165, 0.36479452252388, 0.5044819116592407, -0.23532310128211975, 1.2644847631454468, -0.3598138093948364, -0.05254293978214264, -0.018529502674937248, 0.16164645552635193, 0.18400214612483978, 0.38825786113739014, 0.38510608673095703, -0.8281474709510803, -0.14798320829868317, -0.22745713591575623, -0.6156566739082336, -0.36844998598098755, -0.10080675780773163, -0.12236101925373077, 0.2806743085384369, 0.8714438676834106, -0.4570064842700958, 0.44584956765174866, 0.47603094577789307, -0.49140089750289917, 0.35610082745552063, -0.31100502610206604, 0.4508136808872223, -0.9659145474433899, 0.22472237050533295, -0.34650111198425293, -0.14933465421199799, -0.334811270236969, -0.06749703735113144, 0.07433000206947327, -0.05897682160139084, -0.47034189105033875, 0.9181393980979919, -0.1656416654586792, 0.007544699124991894, -0.05356079712510109, 0.28703054785728455, 0.13598284125328064, 0.24788732826709747, -0.08276112377643585, 0.7345330119132996, 0.5217398405075073, -0.6234484314918518, -0.13216619193553925, 0.1754903793334961, -0.18223069608211517, 0.9445925354957581, -0.5572895407676697, -0.06713028997182846, -0.46972891688346863, 0.5786687135696411, -1.0126783847808838, -0.26429036259651184, 0.13060232996940613, -0.45556098222732544, 0.09430375695228577, -0.13572020828723907, -0.672566831111908, -0.12592872977256775, -0.3079143166542053, 0.48403608798980713, 0.6538960933685303, -1.0593847036361694, 0.65189528465271, 0.13959024846553802, -0.011263654567301273, -0.4711592197418213, -0.8138043880462646, 0.016375428065657616, -0.5633288025856018, -0.6980026364326477, 0.18637388944625854, -0.16967985033988953, -0.3203403055667877, -0.16283786296844482, 0.10472303628921509, 0.05729994550347328, 0.13772675395011902, 0.5519920587539673, 0.38064390420913696, 0.021904172375798225, 0.11951537430286407, 0.2860206067562103, -0.033519383519887924, 0.42651990056037903, -0.3978195786476135, 0.2995506525039673, 0.036121565848588943, -0.5258198976516724, -0.19546110928058624, 0.419768363237381, 0.33188021183013916, -0.07706549018621445, 0.7825650572776794, 0.58736252784729, -0.3668714463710785, -0.2758777439594269, -0.7067636847496033, -0.5718104243278503, -0.5360100865364075, 0.016847867518663406, -0.1474635899066925, -1.2204002141952515, 0.6900227665901184, -0.1052466481924057, -0.15422286093235016, 0.04260452836751938, 0.4958328604698181, 0.18413148820400238, 1.0272343158721924, 0.3910777270793915, 0.003913477528840303, 0.4099150002002716, 0.3899480402469635, 0.23148319125175476, -0.5501326322555542, -0.26327311992645264, -0.5562517642974854, 0.11626522988080978, -0.4804784059524536, -0.3835694193840027, 0.5864378213882446, -0.04991093650460243, -0.3890605866909027, -0.11767318099737167, -0.04374643415212631, 0.37399163842201233, 0.49177321791648865, 0.2643691301345825, 0.2676195800304413, -0.10700854659080505, -0.22149619460105896, -0.019705748185515404, -0.7452303171157837, -0.3281336724758148, 0.8985760807991028, 0.5586416721343994, 0.6014426350593567, 0.11103539913892746, 0.5450655221939087, 0.04022792726755142, 0.562306821346283, -0.5325325131416321, 0.4506431818008423, 0.16054245829582214, -0.7830128073692322, -0.3401285409927368, -0.578135073184967, -0.8080127835273743, 0.027708761394023895, -0.30877286195755005, -0.90913987159729, 0.4767579734325409, 0.32793259620666504, -0.6595809459686279, 0.13271567225456238, -0.6013007760047913, 0.6918343901634216, 0.15018843114376068, -0.43416526913642883, -0.16820906102657318, -0.6669872999191284, 0.4331948161125183, -0.23223868012428284, 0.5590304732322693, 0.07864440232515335, 0.1049632877111435, 0.5877701044082642, -0.2638233006000519, 1.129088044166565, -0.2797680199146271, -0.3124037981033325, 0.18832579255104065, 0.28718483448028564, 0.9929519891738892, 0.5774358510971069, 0.038435813039541245, 0.1661863774061203, -0.18648980557918549, -0.08622769266366959, -0.7439369559288025, 0.7946920394897461, -0.21651065349578857, -0.6292366981506348, -0.30147701501846313, -0.6441069841384888, -0.6883097887039185, 0.23805701732635498, 0.4890325665473938, 0.7411055564880371, -0.12991301715373993, 0.12783865630626678, 0.9258383512496948, -0.4297075569629669, 0.6924805045127869, 0.44455450773239136, -0.15436869859695435, -0.15299342572689056, 0.4434146583080292, -0.03868323192000389, 0.36560720205307007, 0.3441060185432434, 0.3903712034225464, -0.8144406676292419, -0.32489538192749023, -0.3538520038127899, -0.15448805689811707, -0.8710523843765259, -0.184713676571846, -0.511683464050293, 0.1618616282939911, -0.4478844702243805, -0.4947068393230438, -0.181078240275383, -0.04415491968393326, -0.11022572219371796, -0.048048797994852066, 0.3685992658138275, 0.3922847807407379, -0.097641222178936, 0.2651786208152771, -0.7635856866836548, 0.013685394078493118, 0.4584041237831116, 0.34205785393714905, 0.13914154469966888, -0.7438234090805054, 0.03720107302069664, -0.07657857239246368, 0.07370349019765854, -0.6163453459739685, 0.03888219967484474, -0.11863820999860764, 0.5412349104881287, 0.3892565965652466, 0.2705632150173187, 0.6499903202056885, -0.5759928226470947, 0.691331684589386, 0.13965901732444763, -1.1420568227767944, 0.3743005096912384, -0.5486530661582947, 0.1929517537355423, 0.5631985664367676, 0.21198013424873352, -0.3475918173789978, -0.490329772233963, -0.4092288613319397, -0.5282617211341858, 0.5857294797897339, 0.04178816080093384, 0.07072164863348007, -0.03573098033666611, 0.23664253950119019, 0.39511898159980774, 0.024612417444586754, -0.7756355404853821, 0.006758932955563068, -0.20318150520324707, -0.025791894644498825, -0.2690357267856598, -0.2161637544631958, -0.33784160017967224, 0.02131206914782524, 0.4452073276042938, -0.4031067490577698, -0.006648642476648092, 0.3742692470550537, 0.037190116941928864, -0.25007280707359314, 0.5215826034545898, 0.3809393048286438, 0.8551899790763855, -0.07587702572345734, 0.15320748090744019, 0.4635636806488037, -0.17545217275619507, 0.20278765261173248, 0.28628256916999817, -0.2350202351808548, -0.33075883984565735, 0.29375946521759033, 0.5833448767662048, 0.30338698625564575, -0.46651002764701843, 0.7116050720214844, -0.10951031744480133, 0.12559179961681366, 0.007829895243048668, -0.10384105145931244, -0.2418050765991211, 0.3554353415966034, 0.26423799991607666, -0.0668472871184349, 0.2545427083969116, -0.4878148138523102, 0.13713893294334412, 0.5156610608100891, -0.33907702565193176, -0.08419641107320786, 0.9727274775505066, 0.067451611161232, 0.23942652344703674, 0.2671447694301605, -0.32086285948753357, -0.2923392653465271, 0.17988815903663635, 0.6914580464363098, 0.7936585545539856, 0.04860841855406761, 0.3271961808204651, 0.188175231218338, 0.3098996579647064, -0.37944185733795166, 0.12691989541053772, 0.030210932716727257, -0.6080285906791687, -0.6602271199226379, -0.32440799474716187, -0.2793208062648773, 0.10562005639076233, -0.5951512455940247, 0.14750085771083832, -0.2745794951915741, -0.2593995928764343, -0.46814554929733276, -0.23957785964012146, -0.5832858085632324, 0.38323068618774414, 0.054526060819625854, 0.955461323261261, -0.8246356248855591, 0.7167198061943054, 0.40090587735176086, -0.11216584593057632, -0.8956769108772278, 0.23711112141609192, 0.1255957931280136, -0.7496816515922546, 0.6950477957725525, 0.25619643926620483, -0.1698840856552124, -0.12633852660655975, -0.5571063756942749, -0.772788405418396, 1.0499579906463623, 0.7441027164459229, -0.5406844615936279, 0.24902266263961792, 0.008524197153747082, 0.1427183598279953, -0.24984623491764069, 0.20312051475048065, 0.44186919927597046, 0.6289746165275574, -0.06614388525485992, -0.9754778742790222, 0.8314226269721985, 0.1223514974117279, 0.021583959460258484, 0.07446663081645966, -0.367505818605423, 0.8806881904602051, -0.30091139674186707, -0.23795880377292633, -0.26938456296920776, 0.6994206309318542, 0.5080329179763794, 0.5416406393051147, 0.8356114029884338, 0.26170608401298523, 0.913187563419342, -0.1481955349445343, 1.176153540611267, 0.08676803112030029, -0.09246088564395905, 1.097652554512024, -0.3604307472705841, 0.6253125667572021, 0.7144824862480164, 0.24342574179172516, 0.5017310380935669, 0.6098464727401733, 0.41862770915031433, 0.5019263625144958, -0.23026683926582336, -0.12864011526107788, -0.3985321819782257, -0.2995292842388153, -0.6329682469367981, 0.2930162250995636, 0.049896545708179474, -0.14128102362155914, -0.33609920740127563, -0.08690611273050308, 0.43874672055244446, 0.15397204458713531, -0.44757184386253357, 0.2407887727022171, 0.23229260742664337, -0.9992977976799011, 0.2940976023674011, -0.13694754242897034, 0.6569374799728394, -0.6192197799682617, 0.06298373639583588, -0.19775651395320892, 0.16219653189182281, -0.0560525506734848, -0.747667133808136, 0.08189446479082108, -0.35408905148506165, -0.18826167285442352, -0.36926352977752686, 0.5049830079078674, -0.32172200083732605, -0.04970646649599075, 0.44323328137397766, 0.5087045431137085, -0.28395000100135803, -0.2244814783334732, -0.42902350425720215, 0.04420149326324463, -0.42228400707244873, -0.11583973467350006, 0.5248711705207825, 0.6305643916130066, -0.5637979507446289, 0.6238053441047668, 0.9537808299064636, -0.028496477752923965, -0.3225041329860687, 0.1437804400920868, 0.905055582523346, -0.45814386010169983, -0.9023905992507935, -1.0843145847320557, 0.49954095482826233, -0.08619886636734009, -0.2576698660850525, 0.9927629232406616, 0.03653235360980034, 0.814869225025177, 0.15603333711624146, 0.5858632922172546, 0.10925628989934921, 0.1769755333662033, -0.8026964068412781, 0.8757237792015076, -0.5581232905387878, 0.127298504114151, -0.3804774284362793, -0.6668847799301147, -0.25629764795303345, 0.08401458710432053, -0.4491967260837555, 0.24707292020320892, 0.8001134991645813, 0.997627854347229, 0.06740111112594604, 0.09929516911506653, 0.21261800825595856, 0.12829427421092987, 0.44313451647758484, 0.5267918705940247, 0.9230148196220398, -0.05002616345882416, 0.3861497938632965, 0.13640648126602173, -0.5930350422859192, -0.11547397822141647, -1.4449961185455322, -1.2444509267807007, -0.5314125418663025, -0.025834664702415466, -0.6973770260810852, 0.0395708791911602, 0.9325178861618042, 0.6439124345779419, -0.746560275554657, -0.007768899202346802, -0.09191327542066574, 0.0932086780667305, -0.09376130253076553, -0.2085258960723877, 0.2855243384838104, -0.44019681215286255, -0.31728601455688477, 0.5156199336051941, 0.25868117809295654, 0.09636768698692322, -0.09198348969221115, -0.20063599944114685, 0.21724432706832886, 0.33807772397994995, 0.691105842590332, 0.05405425280332565, -0.5451570749282837, -0.5206233859062195, -0.07535615563392639, 0.11155291646718979, -0.29376357793807983, 0.8495450615882874, -0.79908686876297, 0.2925122082233429, 0.46390360593795776, 0.4695742130279541, 0.042354516685009, -0.09617701172828674, 0.8280099630355835, -0.6124251484870911, 0.310213178396225, -0.12903918325901031, 0.4894472658634186, 0.31177574396133423, -0.7079204320907593, 0.1696443259716034, 0.10206767171621323, -0.5511559844017029, -1.117653489112854, 0.3101400136947632, -0.534506618976593, -0.2957662045955658, 1.2153549194335938, -0.20951958000659943, -0.28565099835395813, -0.3429412245750427, -0.16026464104652405, 0.1523285210132599, -0.5424612760543823, 0.8413461446762085, 0.6596274971961975, 0.04685845598578453, 0.2691679298877716, -0.4184996783733368, 0.8109486103057861, 0.552826464176178, -0.9503859877586365, 0.16974236071109772, 0.4995514154434204, 0.13215936720371246, -0.13980722427368164, 0.6183038949966431, -0.24165211617946625, 0.3437536358833313, -0.03251291438937187, -0.5910837650299072, -0.22975040972232819, -0.33495596051216125, -0.42071327567100525, 0.15396882593631744, -0.007940328679978848, 0.15756607055664062 ]
http://arxiv.org/abs/2406.10273v1
http://arxiv.org/pdf/2406.10273v1
Beyond Words: On Large Language Models Actionability in Mission-Critical Risk Analysis
2024-06-11T19:20:27
2024-06-11T19:20:27
Matteo Esposito, Francesco Palagiano, Valentina Lenarduzzi
cs.CL
cs.CL, cs.AI, cs.CR, cs.HC
Context. Risk analysis assesses potential risks in specific scenarios. Risk analysis principles are context-less; the same methodology can be applied to a risk connected to health and information technology security. Risk analysis requires a vast knowledge of national and international regulations and standards and is time and effort-intensive. A large language model can quickly summarize information in less time than a human and can be fine-tuned to specific tasks. Aim. Our empirical study aims to investigate the effectiveness of Retrieval-Augmented Generation and fine-tuned LLM in Risk analysis. To our knowledge, no prior study has explored its capabilities in risk analysis. Method. We manually curated \totalscenarios unique scenarios leading to \totalsamples representative samples from over 50 mission-critical analyses archived by the industrial context team in the last five years. We compared the base GPT-3.5 and GPT-4 models versus their Retrieval-Augmented Generation and fine-tuned counterparts. We employ two human experts as competitors of the models and three other three human experts to review the models and the former human expert's analysis. The reviewers analyzed 5,000 scenario analyses. Results and Conclusions. HEs demonstrated higher accuracy, but LLMs are quicker and more actionable. Moreover, our findings show that RAG-assisted LLMs have the lowest hallucination rates, effectively uncovering hidden risks and complementing human expertise. Thus, the choice of model depends on specific needs, with FTMs for accuracy, RAG for hidden risks discovery, and base models for comprehensiveness and actionability. Therefore, experts can leverage LLMs for an effective complementing companion in risk analysis within a condensed timeframe. They can also save costs by averting unnecessary expenses associated with implementing unwarranted countermeasures.
[ 0.04197647422552109, -0.651477038860321, 0.704852283000946, -0.02282448299229145, 0.11377901583909988, 0.14452922344207764, -0.08218499273061752, -0.8715859651565552, -0.05542181059718132, 0.6458773016929626, -0.26594623923301697, -0.4296244978904724, -0.5415512919425964, -0.2920273244380951, -0.389024019241333, 0.9576379060745239, -0.05503755807876587, -0.12817955017089844, 0.07252468168735504, 0.11113669723272324, -0.34673014283180237, -0.7697505950927734, -0.6507890224456787, -0.05716416612267494, 0.5724257826805115, 0.27298468351364136, 0.6121158003807068, 0.05825977399945259, 0.9621533751487732, 0.35325002670288086, -0.2609156370162964, -0.01838630996644497, -0.5378897190093994, -0.1575414538383484, -0.344769686460495, -0.39836692810058594, -0.6620095372200012, 0.14889183640480042, 0.4127507209777832, 0.7314848899841309, -0.2710539400577545, 0.32783710956573486, 0.15340366959571838, 0.8475536704063416, -0.6536037921905518, 0.15284959971904755, -0.9656562209129333, -0.020507680252194405, -0.10360453277826309, -0.44365042448043823, -0.3913723826408386, -0.2419101446866989, 0.531802237033844, -0.3202957510948181, 0.12850813567638397, 0.13303448259830475, 0.6915973424911499, 0.11910751461982727, -0.5016897916793823, -0.27192291617393494, -0.9950513243675232, 0.8227810263633728, -0.43883293867111206, 0.2834310829639435, 0.23837101459503174, 0.4058203399181366, -0.22185981273651123, -0.6553797721862793, -0.20292803645133972, -0.4004513621330261, 0.11153925210237503, 0.040228135883808136, -0.019962260499596596, 0.2779989540576935, 0.37880051136016846, 0.3266009986400604, -0.3629116415977478, 0.2837671637535095, -0.5916867256164551, -0.4003353714942932, 0.7552534937858582, 0.35260409116744995, 0.07405196130275726, -0.25829246640205383, -0.44287461042404175, -0.16153253614902496, -0.9615710377693176, 0.0029652819503098726, 0.25415799021720886, 0.20391905307769775, 0.07240336388349533, 0.5392470955848694, -0.17738181352615356, 0.3791346549987793, -0.28399208188056946, -0.3374823033809662, 0.2027982622385025, -0.4019179046154022, -0.45230886340141296, -0.12198024988174438, 0.5526007413864136, 0.4784000515937805, 0.2082468718290329, -0.27885037660598755, -0.16684015095233917, -0.1964181363582611, 0.6496267914772034, -0.7032931447029114, 0.012680000625550747, 0.37637215852737427, -0.38544321060180664, -0.2930150032043457, 0.14304737746715546, -0.6399157643318176, -0.6093166470527649, -0.19159278273582458, 0.5320323705673218, -0.35621267557144165, -0.1784369796514511, 0.2746809422969818, -0.005585093982517719, 0.31736311316490173, 0.1339396983385086, -0.24788300693035126, 0.1114601120352745, 0.5974699854850769, 0.7475550174713135, -0.26324671506881714, 0.013821927830576897, -0.4761132299900055, 0.2263125628232956, -0.36200031638145447, 0.7858185172080994, -0.17611831426620483, -0.8129478693008423, 0.043969448655843735, -0.13399769365787506, -0.005338107701390982, -0.4321492910385132, 0.6653096675872803, -0.6949260234832764, -0.16542162001132965, -0.2975292205810547, -0.44555556774139404, -0.44750523567199707, 0.3701353967189789, -0.5034345984458923, 0.9226672053337097, -0.030798310413956642, -0.7702602744102478, 0.6688826680183411, -0.5763471126556396, -0.3394620418548584, -0.02959020435810089, -0.2350563406944275, -0.5117330551147461, 0.11077041178941727, -0.025112498551607132, 0.7776642441749573, -0.3804560899734497, 0.37596186995506287, -0.35461050271987915, -0.23398661613464355, 0.44499051570892334, -0.5643366575241089, 0.3329022526741028, 0.1458083987236023, -0.40553802251815796, 0.2359887659549713, -0.6229292750358582, 0.21375812590122223, -0.028433606028556824, -0.41839224100112915, -0.388156533241272, 0.21974846720695496, 0.1919011026620865, 0.32723376154899597, 0.145938441157341, -0.2898595929145813, -0.13634534180164337, -0.5649542808532715, 0.19527828693389893, 0.5207923650741577, 0.2627669870853424, 0.3116054832935333, -0.40517255663871765, 0.5833019614219666, -0.22819165885448456, 0.1973864734172821, 0.14289559423923492, -0.1296890527009964, -0.5414320230484009, -0.27361994981765747, 0.08604680001735687, 0.9359869360923767, -0.5358505845069885, 0.2828018367290497, -0.4198608696460724, -0.7185989022254944, -0.07158985733985901, -0.08594072610139847, 0.653901219367981, 0.44485676288604736, 0.3402561545372009, -0.15062116086483002, -0.7017166018486023, -0.7447671294212341, -0.40743157267570496, -0.22267132997512817, -0.09332002699375153, 0.5127909183502197, 0.3921486735343933, -0.5592978596687317, 0.6555054783821106, -0.8339719772338867, -0.125275120139122, -0.4322105348110199, 0.1190619245171547, 0.16938547790050507, 0.25757554173469543, 0.47025516629219055, -0.7708645462989807, -0.3624676465988159, 0.07147993892431259, -0.617382287979126, 0.09181006997823715, -0.09464205056428909, -0.17128367722034454, 0.46251118183135986, 0.6131250858306885, -0.44741323590278625, 0.5890609622001648, 0.2919269800186157, 0.015600688755512238, 0.5605564117431641, -0.4009118676185608, 0.11953821033239365, -1.1077313423156738, 0.5714325904846191, 0.041581690311431885, -0.09876648336648941, -0.8796842098236084, 0.2994705140590668, 0.02187826856970787, -0.13109230995178223, -0.5496900081634521, 0.6263447403907776, -0.5123569965362549, -0.16010060906410217, -0.4206116199493408, -0.032700810581445694, -0.13078168034553528, 0.1102026179432869, -0.07126779854297638, 0.767555832862854, 0.3198992609977722, -0.8904520273208618, -0.20759199559688568, -0.06002206727862358, -0.4485965967178345, 0.28044766187667847, -0.7378159165382385, 0.08508679270744324, 0.11151012033224106, -0.0076958672143518925, -0.9040226936340332, -0.1664217710494995, 0.03046920895576477, -0.18007592856884003, 0.6243929266929626, 0.2434360682964325, -0.4004710912704468, -0.36155465245246887, -0.48081082105636597, 0.0017993233632296324, 0.45083698630332947, -0.09193810820579529, 0.6040047407150269, 0.6067585945129395, -0.33346378803253174, -0.6159297227859497, -0.6527314782142639, 0.18910780549049377, -0.5468199849128723, -0.49842914938926697, 0.1997080147266388, -0.18301232159137726, -0.4679740369319916, -0.34889090061187744, -0.37092921137809753, -0.13165420293807983, 0.3932429850101471, 0.5980878472328186, 0.4479735791683197, 0.1096266508102417, 0.13300463557243347, -0.22861143946647644, -0.26149696111679077, 0.13340520858764648, 0.00371556100435555, 0.2659878730773926, -0.2069631814956665, -0.20396259427070618, -0.23834030330181122, 0.3528723120689392, 0.5047444105148315, -0.10698128491640091, 0.6769300699234009, 0.45965278148651123, -0.3035450875759125, 0.18304449319839478, -0.9281411170959473, 0.010915936902165413, -0.5027966499328613, 0.5055263042449951, -0.1516665667295456, -0.8716122508049011, 0.5450539588928223, -0.014529175125062466, 0.07957687228918076, 0.6781326532363892, 0.4348060190677643, -0.26242268085479736, 0.5713819265365601, 0.9240455627441406, -0.3622177839279175, 0.333434134721756, -0.3279511630535126, 0.13787299394607544, -0.7418252229690552, -0.32339954376220703, -0.5030250549316406, -0.09421160072088242, -0.6075537800788879, -0.5866937637329102, 0.8629259467124939, -0.2909959852695465, -0.19037410616874695, 0.21034018695354462, -0.26181989908218384, 0.11742719262838364, 0.3033137917518616, 0.2119291126728058, 0.30892521142959595, 0.04204453155398369, 0.11317373812198639, 0.116697758436203, -0.4858347177505493, -0.623583197593689, 1.343724250793457, 0.5936609506607056, 0.8776784539222717, 0.14487606287002563, 0.5010829567909241, 0.014829842373728752, 0.3892045319080353, -0.9459125995635986, 0.5890656113624573, -0.12731127440929413, -0.9048197269439697, -0.40468576550483704, -0.4512963891029358, -0.9075606465339661, 0.003929606173187494, -0.43790510296821594, -0.6338778734207153, 0.13093335926532745, 0.26082178950309753, -0.6772958636283875, 0.1546889692544937, -0.6509585380554199, 0.3031623065471649, -0.3236010670661926, -0.14304986596107483, -0.40937715768814087, -0.7246284484863281, 0.38740473985671997, -0.4078108072280884, 0.2386096864938736, 0.13305173814296722, -0.24401453137397766, 0.578015923500061, -0.0535351037979126, 1.0227972269058228, 0.07597310096025467, -0.2760303020477295, 0.3434940576553345, 0.17186816036701202, 0.5607744455337524, 0.12701426446437836, -0.34249094128608704, 0.19024455547332764, 0.003452617209404707, 0.03830104321241379, -0.3406338095664978, 0.6597698926925659, -0.38332676887512207, -0.825675368309021, -0.6088736653327942, -0.609724760055542, -0.33413416147232056, 0.2724050283432007, 0.1462756246328354, 0.4143485724925995, -0.2754407227039337, 0.24270957708358765, 0.7771788239479065, -0.44401663541793823, 0.28106361627578735, 0.8340960741043091, 0.13817422091960907, -0.3470476567745209, 0.7435916066169739, 0.3954577147960663, 0.28832781314849854, 0.5112930536270142, 0.2718449831008911, -0.17528878152370453, -0.7376771569252014, 0.20999783277511597, 0.08219386637210846, -0.5847877860069275, -0.21419821679592133, -0.7855576872825623, -0.4127562940120697, -0.1751413196325302, -0.17406463623046875, -0.2228986769914627, -0.07276109606027603, -0.23188188672065735, -0.3577301502227783, 0.3898230493068695, 0.45756688714027405, 0.0798352062702179, 0.16718000173568726, -1.042750597000122, 0.31576383113861084, 0.1928846389055252, 0.2874796986579895, -0.12782956659793854, -0.33127450942993164, -0.1853751391172409, -0.20298618078231812, -0.2804005742073059, -0.7643049359321594, 0.3003286123275757, 0.1474720984697342, 0.783320963382721, 0.3912791609764099, -0.05772102624177933, 0.7685675024986267, -0.6339132785797119, 0.5429044365882874, -0.13400082290172577, -0.7955132722854614, 0.28466010093688965, -0.33768731355667114, -0.03862640634179115, 0.6884604692459106, 0.5236290693283081, -0.3708547353744507, -0.05534559488296509, -0.6728098392486572, -1.0881427526474, 0.5584135055541992, 0.09186244010925293, -0.030455635860562325, -0.003985665272921324, 0.6380129456520081, -0.14599016308784485, 0.1301509588956833, -0.3905763626098633, 0.06698785722255707, 0.32385289669036865, 0.14025761187076569, -0.2762717306613922, -0.6796342134475708, -0.27400416135787964, -0.000365162908565253, 0.6390672326087952, -0.08071576058864594, 0.06323148310184479, 0.37827232480049133, -0.12482629716396332, 0.02275087498128414, 0.4266713857650757, 0.6311854720115662, 0.6585708260536194, -0.3824070394039154, 0.017715800553560257, 0.5740681290626526, -0.6294135451316833, -0.08552885055541992, 0.1374654322862625, 0.21079249680042267, -0.452727347612381, 0.605050802230835, 0.44477036595344543, 0.4410446584224701, -1.049033284187317, 0.33066216111183167, 0.2283354550600052, -0.06203692778944969, -0.5338590145111084, 0.15093368291854858, -0.0036925554741173983, 0.3023800253868103, 0.26541373133659363, -0.08927564322948456, 0.5914080142974854, -0.5677299499511719, 0.17965751886367798, 0.60991370677948, -0.39732640981674194, -0.11638711392879486, 0.44912785291671753, 0.15897086262702942, 0.14021781086921692, 0.2304771989583969, -0.065493643283844, -0.2761569023132324, 0.6786128282546997, 0.22384774684906006, 0.9569762349128723, -0.20823261141777039, 0.18413594365119934, 0.20762798190116882, 0.6044860482215881, -0.2966513931751251, 0.6103800535202026, 0.5169644951820374, -0.40516021847724915, -0.5412974953651428, -0.4529683291912079, -0.575505793094635, 0.35430192947387695, -0.5987539291381836, 0.03989001736044884, -0.4426383078098297, -0.2523527443408966, -0.2652185261249542, 0.14284472167491913, -0.6678457260131836, 0.4221803843975067, -0.18078479170799255, 0.8991091251373291, -0.6028188467025757, 0.294586181640625, 0.6228631138801575, -0.12298362702131271, -0.9887808561325073, 0.1871112883090973, 0.0862993448972702, -0.63184654712677, 0.7179563641548157, 0.29718053340911865, -0.11021119356155396, -0.42057669162750244, -0.21493104100227356, -1.1456122398376465, 1.3750158548355103, 0.2815100848674774, -0.564652144908905, -0.10717164725065231, 0.08461421728134155, 0.6686517000198364, -0.029954690486192703, 0.12648458778858185, 0.6227761507034302, 0.2995181977748871, 0.1588945984840393, -0.9899696707725525, 0.15001237392425537, 0.2276880145072937, 0.2590402066707611, 0.2826243042945862, -0.47153404355049133, 0.6149271726608276, -0.37781062722206116, -0.22797642648220062, -0.035978078842163086, 0.5419882535934448, 0.3194107711315155, 0.4444774389266968, 0.36678653955459595, 0.23790526390075684, 0.6519491672515869, 0.27964308857917786, 1.3372931480407715, -0.25148090720176697, 0.17099818587303162, 1.0193983316421509, -0.4425491988658905, 1.0071203708648682, 0.3368167281150818, -0.2421271651983261, 0.11753490567207336, 0.4669254422187805, 0.17873138189315796, 0.24338360130786896, 0.125925213098526, -0.04382955655455589, -0.1813959926366806, 0.06581095606088638, -0.22110222280025482, 0.3815009891986847, 0.6360690593719482, -0.42766109108924866, -0.06439100950956345, -0.09297512471675873, -0.05255354568362236, -0.1275230497121811, -0.37114861607551575, 0.6793520450592041, 0.3005634546279907, -0.3619225323200226, 0.30736055970191956, -0.04868144914507866, 0.4960204064846039, -0.6927804946899414, 0.1388893574476242, 0.1014384925365448, 0.21380570530891418, -0.20270167291164398, -0.813685953617096, 0.6300759315490723, 0.03517763689160347, -0.08446750789880753, 0.02193758636713028, 0.7821792364120483, -0.055716607719659805, -0.7178764343261719, 0.22492755949497223, 0.37282079458236694, 0.13597111403942108, -0.4208237826824188, -0.43509840965270996, -0.09659372270107269, -0.31397631764411926, -0.443803995847702, 0.22165736556053162, 0.24513714015483856, -0.2625325620174408, 0.9112406969070435, 0.5350642204284668, 0.17067688703536987, -0.22158515453338623, -0.18142594397068024, 0.8839368224143982, -0.7952318787574768, -0.15908405184745789, -0.7382504940032959, 0.5375107526779175, -0.0075638205744326115, -0.1337880641222, 0.7455343008041382, 0.4150439500808716, 0.41491490602493286, -0.19095666706562042, 0.7463958263397217, 0.1168413832783699, 0.6325424313545227, -0.832496166229248, 0.7882907390594482, -0.5828720331192017, 0.4646242558956146, -0.5815334916114807, -0.5669382214546204, -0.4621051251888275, 0.15688513219356537, -0.5607044696807861, 0.039170391857624054, 0.6709195971488953, 0.7411656379699707, 0.16559331119060516, -0.5336084961891174, 0.3544065058231354, 0.18217062950134277, 0.5594485402107239, 0.4602830708026886, 0.5332641005516052, -0.2995050549507141, 0.590923011302948, 0.04901467263698578, -0.2208651751279831, -0.47652125358581543, -1.12723970413208, -1.015611171722412, -0.25231850147247314, -0.18958602845668793, -0.20042426884174347, -0.05772010236978531, 0.7034647464752197, 0.46595290303230286, -0.5891268849372864, 0.03995386138558388, 0.17845682799816132, -0.14760899543762207, -0.0820620208978653, -0.15279723703861237, 0.5311866402626038, -0.12066026031970978, -0.36942169070243835, 0.4441630244255066, 0.34942683577537537, 0.08305705338716507, -0.21638913452625275, 0.22257593274116516, 0.03150784969329834, 0.3000428080558777, 0.774218738079071, 0.31876295804977417, -0.6157565712928772, -0.5453678965568542, 0.15101711452007294, -0.16826537251472473, -0.3508898615837097, 0.6263266801834106, -0.3188961148262024, 0.30772775411605835, 0.5407692193984985, 0.8318718671798706, 0.1603137105703354, -0.16779077053070068, 0.49989911913871765, -0.563012421131134, 0.12784677743911743, 0.13628551363945007, 0.36289092898368835, 0.22139841318130493, -0.9175939559936523, 0.6342719793319702, -0.07522591948509216, -0.6488682627677917, -0.6913598775863647, 0.2788008749485016, -1.0902695655822754, -0.14566054940223694, 1.4695796966552734, -0.07026783376932144, 0.10364473611116409, -0.03176898881793022, -0.48273876309394836, 0.2326074242591858, -0.14236272871494293, 0.9675657153129578, 0.6059171557426453, -0.03821549564599991, 0.3611685335636139, -0.9188637137413025, 0.4655432403087616, 0.20227566361427307, -0.973728597164154, -0.017045358195900917, 0.3011826276779175, 0.41798070073127747, 0.25493329763412476, 0.529382050037384, -0.23646876215934753, 0.21923887729644775, -0.4276328980922699, 0.053431883454322815, 0.011842284351587296, -0.5534341335296631, -0.41544488072395325, 0.21456263959407806, 0.23569969832897186, 0.13570590317249298 ]
http://arxiv.org/abs/2406.10272v2
http://arxiv.org/pdf/2406.10272v2
Connected Speech-Based Cognitive Assessment in Chinese and English
2024-06-11T19:04:29
2024-06-18T10:41:48
Saturnino Luz, Sofia De La Fuente Garcia, Fasih Haider, Davida Fromm, Brian MacWhinney, Alyssa Lanzi, Ya-Ning Chang, Chia-Ju Chou, Yi-Chien Liu
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS, J.3; I.5.4
We present a novel benchmark dataset and prediction tasks for investigating approaches to assess cognitive function through analysis of connected speech. The dataset consists of speech samples and clinical information for speakers of Mandarin Chinese and English with different levels of cognitive impairment as well as individuals with normal cognition. These data have been carefully matched by age and sex by propensity score analysis to ensure balance and representativity in model training. The prediction tasks encompass mild cognitive impairment diagnosis and cognitive test score prediction. This framework was designed to encourage the development of approaches to speech-based cognitive assessment which generalise across languages. We illustrate it by presenting baseline prediction models that employ language-agnostic and comparable features for diagnosis and cognitive test score prediction. The models achieved unweighted average recall was 59.2% in diagnosis, and root mean squared error of 2.89 in score prediction.
[ -0.16568982601165771, -0.6586788296699524, 0.23590844869613647, 0.22317726910114288, 0.021476538851857185, -0.30040013790130615, -0.5034489631652832, -0.7601548433303833, 0.13224217295646667, 0.4917061924934387, -0.5511835217475891, -0.1455686241388321, -0.16311314702033997, -0.4640354812145233, -0.06427192687988281, 0.5299548506736755, 0.3715938329696655, 0.4912159740924835, -0.41393783688545227, -0.3507690131664276, -1.2949544191360474, -0.32809218764305115, -1.0461764335632324, -0.40724611282348633, 0.11655393987894058, 0.31312429904937744, 0.6899746656417847, 0.3362073600292206, 0.3981253504753113, 0.14646559953689575, -0.020905252546072006, -0.10138028860092163, -0.06559503078460693, -0.08185171335935593, -0.2449834644794464, -0.30884435772895813, -0.7423302531242371, 0.20126836001873016, 0.5042094588279724, 1.1919406652450562, -0.27364131808280945, 0.14641115069389343, 0.17740701138973236, 0.39848026633262634, -0.3226637840270996, 0.24459640681743622, -0.8276090025901794, -0.04255157336592674, -0.23739682137966156, 0.15700817108154297, -0.3744971752166748, -0.07462192326784134, 0.2618826925754547, -0.6177941560745239, 0.08180524408817291, -0.07187346369028091, 0.5048664212226868, 0.19445949792861938, -0.3282929062843323, -0.3312361538410187, -0.5176653265953064, 0.7805917263031006, -0.6953843235969543, 0.09426168352365494, 0.5507200360298157, 0.6374467611312866, 0.07401403784751892, -0.8532214164733887, -0.5312326550483704, -0.6003322005271912, -0.15077568590641022, 0.5531349778175354, 0.00046262418618425727, 0.07899963110685349, 0.07549277693033218, 0.4705520272254944, -0.8576564192771912, 0.2391912043094635, -0.4784696102142334, -0.5115362405776978, 0.8325605988502502, 0.2853008508682251, 0.6308112144470215, -0.1380498856306076, -0.29097411036491394, 0.14658990502357483, -0.5368198156356812, 0.31511789560317993, -0.19216708838939667, 0.6830763816833496, -0.27056053280830383, 0.30655622482299805, -0.25096502900123596, 0.8001378178596497, -0.21641793847084045, -0.04720310494303703, 0.17875681817531586, -0.3507860004901886, -0.16253751516342163, 0.4992356300354004, 0.8123379349708557, 0.2765943706035614, 0.5950300693511963, 0.17231512069702148, 0.14204588532447815, 0.44081565737724304, -0.02052389271557331, -0.19834452867507935, -0.5969741940498352, 0.3335965573787689, -0.33767902851104736, 0.08702128380537033, -0.0009382814751006663, -0.5602067112922668, -0.28279539942741394, -0.35130998492240906, 0.36179670691490173, -0.44690263271331787, -0.4429931640625, 0.08657442033290863, 0.1253238022327423, -0.05638189613819122, 0.16589932143688202, -0.8478164076805115, 0.42472755908966064, 0.5418051481246948, 0.5384098291397095, -0.3583761751651764, -0.13200783729553223, -0.48708492517471313, 0.18711821734905243, -0.45872002840042114, 0.7832465171813965, -0.48040854930877686, -0.18692876398563385, 0.10453583300113678, 0.03748590126633644, -0.43810248374938965, -0.44740307331085205, 0.8702459335327148, 0.1012905016541481, 0.5192908644676208, -0.09109367430210114, -0.4977627396583557, -0.3439628481864929, 0.15659776329994202, -0.8393966555595398, 1.2049074172973633, 0.074854277074337, -0.627629280090332, 0.38372039794921875, -0.37056347727775574, -0.5820817947387695, 0.40891191363334656, -0.2724985182285309, -0.12621843814849854, -0.2167842835187912, 0.3071669042110443, 0.5023718476295471, -0.507327139377594, 0.6640962362289429, -0.3137744069099426, -0.43078088760375977, 0.105260469019413, -0.5227943062782288, 0.8866914510726929, 0.04129679501056671, -0.0514855831861496, 0.10815969109535217, -0.7641453146934509, 0.348874568939209, -0.1898524910211563, 0.06875073909759521, -0.42316028475761414, 0.2141556441783905, 0.07820471376180649, 0.23621658980846405, 0.5166354775428772, -0.4237132668495178, -0.27076455950737, -0.41050949692726135, 0.4887044429779053, 0.32700490951538086, 0.1696120649576187, -0.19398212432861328, -0.4639362692832947, 0.23354801535606384, 0.1141921654343605, 0.30299484729766846, -0.19268788397312164, -0.8390768766403198, -0.3604336678981781, -0.2915308475494385, 0.19967028498649597, 0.8609170317649841, -0.5751816034317017, 0.4484264850616455, -0.5379555225372314, -0.8477340936660767, -0.4348795711994171, -0.2559395134449005, 0.42801880836486816, 0.8430033326148987, 0.34334030747413635, -0.30227211117744446, -0.19844354689121246, -0.6243941187858582, -0.304860919713974, -0.6047149896621704, -0.29389259219169617, 0.23438605666160583, 0.10055721551179886, 0.10971453040838242, 0.39163559675216675, -0.3035813570022583, -0.6690267324447632, -0.006823311094194651, -0.17141292989253998, 0.4132916033267975, 0.587658166885376, 0.3187408447265625, -0.7347890734672546, -0.5117926597595215, 0.39673763513565063, -0.7503818273544312, 0.07043109089136124, 0.0542580671608448, 0.28810369968414307, -0.27375224232673645, 0.47196871042251587, -0.1858760118484497, 0.22759725153446198, 0.5929410457611084, -0.17335285246372223, 0.4001412093639374, -0.09572961926460266, 0.21445514261722565, -1.030922770500183, -0.12701131403446198, -0.14290504157543182, 0.02774483524262905, -0.6930689811706543, -0.284602552652359, -0.1561952382326126, -0.30791255831718445, -0.3432537615299225, 0.35627689957618713, -0.3371867537498474, -0.10753379762172699, -0.0791519284248352, 0.521447479724884, -0.3381224572658539, 0.4074016213417053, 0.16052740812301636, 0.6952978372573853, 0.8615056872367859, -0.4744095206260681, 0.32496705651283264, 0.10031645745038986, -0.2684284448623657, 0.5668993592262268, -0.8247063755989075, 0.02902350015938282, 0.44687730073928833, -0.20389793813228607, -1.3909820318222046, -0.09702309966087341, -0.23148539662361145, -0.8080164194107056, 0.12931855022907257, 0.5208927989006042, 0.06414881348609924, -0.3094618618488312, -0.17041024565696716, 0.4622418284416199, 0.2043108195066452, -0.23952661454677582, 0.6345322132110596, 0.6013363599777222, -0.285492479801178, -0.24727356433868408, -0.9216291308403015, -0.2778488099575043, -0.15521559119224548, -0.7810534238815308, 0.6072258353233337, 0.018525488674640656, 0.01274934969842434, -0.022884797304868698, 0.2191275954246521, -0.2510431408882141, 0.11662952601909637, 0.1949484497308731, 0.3976832628250122, -0.3777003884315491, 0.28819262981414795, -0.16521532833576202, 0.08388297259807587, 0.07287857681512833, 0.071312814950943, 0.2791491150856018, -0.1594143807888031, -0.3431553542613983, -0.3161628246307373, 0.09480675309896469, 0.5010426044464111, -0.3155386447906494, 0.208913192152977, 0.5156234502792358, -0.9263091087341309, 0.09660904109477997, -0.3455907702445984, 0.025608181953430176, -0.401709645986557, 0.4011266827583313, -0.5289769768714905, -0.6299947500228882, 0.6916106939315796, 0.08654189109802246, -0.06617473810911179, 0.5725605487823486, 0.732935905456543, 0.03118107281625271, 0.840268611907959, 0.3761081099510193, -0.33888334035873413, 0.24877192080020905, 0.3124311566352844, 0.047826360911130905, -0.7661123871803284, 0.023069381713867188, -0.37553641200065613, 0.3076748549938202, -0.803838312625885, -0.25938886404037476, 0.3518715500831604, 0.06144348904490471, -0.1759389489889145, 0.30127111077308655, -0.6264100074768066, 0.039370954036712646, 0.26228588819503784, 0.03927982971072197, 0.13526102900505066, -0.3585881292819977, -0.3612392246723175, -0.2949272692203522, -0.6692204475402832, -0.297427773475647, 1.0524158477783203, 0.021308936178684235, -0.04649379849433899, 0.019581371918320656, 0.01713464967906475, 0.7281036376953125, 0.267660915851593, -0.8781864643096924, 0.4731891453266144, -0.40113601088523865, -0.6575947999954224, -0.46808743476867676, -0.18132559955120087, -0.8328847289085388, 0.0957244485616684, -0.12605665624141693, -1.0373740196228027, -0.14460629224777222, -0.1649494618177414, -0.42465031147003174, -0.2720238268375397, -0.6198394894599915, 0.8637076616287231, -0.1331397444009781, -0.15133310854434967, -0.44141635298728943, -0.454878568649292, 0.855667769908905, -0.16562436521053314, 0.16696922481060028, -0.3558523952960968, 0.2845759391784668, 0.9803783297538757, 0.11554287374019623, 0.6606763601303101, -0.12692415714263916, 0.3567894995212555, 0.3576202690601349, -0.22551538050174713, -0.1312876045703888, 0.06330111622810364, -0.3955461382865906, 0.18796700239181519, 0.5563642978668213, -0.5477718114852905, -0.6732699275016785, 0.7138581275939941, -0.5796465277671814, -0.5291391611099243, -0.5058164000511169, -0.41854408383369446, -0.869836151599884, 0.24983511865139008, -0.05270889028906822, 0.4994305968284607, -0.5325660705566406, 0.07225260883569717, 0.29373762011528015, -0.09497597068548203, 0.4841986894607544, 0.7686803936958313, 0.02528352662920952, -0.6972724795341492, 0.8433651328086853, 0.17528164386749268, 0.22491471469402313, 0.2868286669254303, 0.20730385184288025, -0.15632858872413635, -0.5402399301528931, -0.07374704629182816, 0.11295890063047409, -0.5908339619636536, 0.06336569786071777, 0.1517374962568283, -0.5292510986328125, -0.4912104308605194, 0.2177906334400177, -0.3467586934566498, -0.3285912275314331, 0.11094346642494202, -0.10027273744344711, 0.05163738504052162, 0.47368124127388, 0.16726867854595184, 0.191695898771286, -0.47037601470947266, 0.31840184330940247, 0.20978756248950958, 0.1513502150774002, 0.08658463507890701, -0.3689853847026825, -0.4196740984916687, 0.14277689158916473, -0.24893473088741302, -0.6666638255119324, 0.10656736046075821, 0.5099678635597229, 0.7693257331848145, 0.42985254526138306, 0.2594170868396759, 0.741295576095581, -0.32460394501686096, 1.3040556907653809, 0.39064744114875793, -1.0122559070587158, 0.6831173300743103, -0.1985412985086441, 0.21704724431037903, 0.4272172152996063, 0.2779651880264282, -0.820176899433136, -0.247669979929924, -0.5467584729194641, -0.5236052870750427, 0.5012838840484619, 0.09253475069999695, -0.24079997837543488, -0.11457421630620956, 0.2186594009399414, -0.1779734194278717, -0.2423926293849945, -0.4719800651073456, -0.2397732436656952, -0.15000253915786743, -0.4542163014411926, -0.3484037220478058, 0.09467554837465286, -0.10827437043190002, -0.5948125720024109, 0.6445524096488953, -0.2903551459312439, 0.39713096618652344, 0.2999204099178314, 0.2311740517616272, 0.004750365391373634, -0.07890798896551132, 0.4117354154586792, 0.7004067301750183, -0.20278112590312958, -0.24499598145484924, 0.33292505145072937, -0.816826581954956, -0.16748173534870148, 0.1587488055229187, 0.17123551666736603, -0.1415477842092514, 0.8914161324501038, 0.6628322005271912, 0.18603019416332245, -0.8039490580558777, 0.5764197111129761, -0.12701024115085602, 0.0576285794377327, -0.8558048605918884, 0.03253563120961189, 0.2778773903846741, -0.03905826061964035, 0.2553344666957855, -0.0560128279030323, 0.03301835432648659, -0.6034556031227112, 0.4924497902393341, 0.41102418303489685, -1.170814037322998, -0.48196035623550415, 0.6623883247375488, 0.042959216982126236, -0.12282201647758484, 0.6244274377822876, 0.25357064604759216, -0.3695908486843109, 0.5236506462097168, 0.34000715613365173, 0.7686614394187927, -0.4940314292907715, -0.045381978154182434, 0.526968240737915, 0.42198115587234497, 0.14456652104854584, 0.3897407352924347, 0.06992006301879883, -1.0747497081756592, -0.15056723356246948, -0.2022971659898758, -0.3569386601448059, 0.16851045191287994, -1.088658094406128, 0.4580453932285309, -0.3401270806789398, -0.15109460055828094, 0.33299005031585693, 0.6561650037765503, -0.3840040862560272, 0.7496011257171631, 0.33558353781700134, 0.7803778648376465, -0.982703447341919, 1.4265854358673096, 0.6980000138282776, -0.5651165843009949, -0.980847179889679, 0.12935873866081238, -0.14651766419410706, -0.9803286194801331, 0.10231538861989975, 0.2663794457912445, 0.2093343585729599, -0.24239082634449005, 0.09823060035705566, -0.6883853077888489, 1.3409626483917236, 0.27420780062675476, -0.28252992033958435, 0.20721584558486938, 0.21868965029716492, 0.6710990071296692, -0.6902281045913696, 0.6162724494934082, 0.8512278199195862, 0.35692501068115234, 0.008850686252117157, -1.2073352336883545, 0.1422184556722641, -0.2423955351114273, 0.0480269193649292, -0.2151925414800644, -0.6325981616973877, 0.9626806974411011, 0.2159048318862915, -0.2465067207813263, 0.07561072707176208, 0.9933631420135498, 0.3925233483314514, 0.621637225151062, 0.4936431348323822, 0.23359638452529907, 1.1609413623809814, -0.036995336413383484, 0.6918177008628845, -0.4760105013847351, 0.0951886996626854, 1.215440273284912, -0.40667662024497986, 1.1904594898223877, 0.3033325970172882, -0.30121880769729614, 0.29594090580940247, 0.765466570854187, 0.22471921145915985, 0.4378579556941986, -0.004097955767065287, -0.17891982197761536, -0.04092762991786003, -0.5387387871742249, -0.292828768491745, 0.6095495223999023, 0.763253927230835, -0.03984396159648895, 0.17837154865264893, -0.06034737080335617, -0.19098548591136932, 0.6029739379882812, -0.40096333622932434, 0.5655882358551025, 0.11892586946487427, -0.9190243482589722, 0.7177817821502686, -0.31694671511650085, 0.4354163408279419, -0.5846301317214966, 0.03992355614900589, -0.029082927852869034, 0.2265627533197403, -0.03259265422821045, -0.7879943251609802, 0.45577532052993774, -0.5245819687843323, -0.12319891899824142, 0.40008869767189026, 0.7013309001922607, -0.6036556959152222, -0.44951504468917847, 0.6636871099472046, 0.42444878816604614, 0.12045406550168991, -0.03548108786344528, -0.8477200865745544, -0.2543163001537323, 0.22147448360919952, 0.08022565394639969, 0.19778861105442047, 0.26471078395843506, -0.5379703640937805, 0.6000221967697144, 0.4162195920944214, 0.28621646761894226, 0.004483563359826803, 0.059070147573947906, 0.46867048740386963, -0.6292222142219543, -0.47390511631965637, -0.4490906596183777, 0.4069206714630127, -0.04013283550739288, -0.6853447556495667, 0.382090300321579, 0.31743693351745605, 0.7397363781929016, 0.12778109312057495, 0.7233478426933289, 0.12228429317474365, 0.8184434175491333, -0.4887203276157379, 0.7089008092880249, -0.45192480087280273, -0.02253708429634571, -0.18233956396579742, -0.5069707632064819, -0.17250847816467285, 0.0794416293501854, -0.4560486972332001, -0.19763566553592682, 0.9343084096908569, 0.7382081151008606, -0.04494040831923485, 0.41772690415382385, 0.8107243180274963, 0.04723823070526123, 0.2866160571575165, 0.957132875919342, 0.5204188823699951, -0.6833743453025818, 0.1529994010925293, -0.32679271697998047, -0.3231777548789978, 0.25399917364120483, -0.6358316540718079, -0.946856677532196, -0.8003014922142029, -0.41865992546081543, 0.16248443722724915, -0.006017820443958044, 0.32809892296791077, 0.5427736639976501, -1.0505645275115967, -0.4357997179031372, -0.014360344968736172, -0.14672043919563293, -0.9267932772636414, -0.31199008226394653, 0.574583113193512, -0.07485029101371765, -0.5636550784111023, 0.48518556356430054, 0.018043585121631622, -0.3177434504032135, -0.3286116421222687, -0.011798852123320103, -0.2969060242176056, 0.14243601262569427, 0.3355225920677185, 0.1884378343820572, -0.9463181495666504, -0.2997000813484192, -0.3699837028980255, -0.09374912083148956, -0.17870783805847168, 0.5159875750541687, -0.8203015327453613, 0.5909883379936218, 0.31585583090782166, 0.4306661784648895, 0.2574094831943512, -0.0342148020863533, 0.7930957674980164, -0.33225205540657043, 0.5420451164245605, 0.39293017983436584, 0.4913861155509949, 0.48702043294906616, -0.507081925868988, 0.45874807238578796, 0.2532905638217926, -0.2799330949783325, -0.688835620880127, 0.1873394250869751, -1.2476567029953003, -0.11225441843271255, 0.5331251621246338, -0.631260097026825, -0.20833100378513336, -0.24025200307369232, 0.010140527039766312, 0.4603808522224426, 0.014802365563809872, 0.3751624524593353, 0.8396554589271545, -0.1795523762702942, -0.0538325235247612, -0.7742952704429626, 0.42527467012405396, 0.7331869602203369, -0.38861796259880066, 0.160817489027977, 0.2816987633705139, 0.05252791568636894, 0.24844864010810852, 0.5496054291725159, -0.10685765743255615, 0.5242264270782471, 0.04027116671204567, -0.10438627004623413, 0.1543760895729065, -0.01990382745862007, -0.17851600050926208, 0.03491504490375519, 0.01800469309091568, -0.4124670624732971 ]
http://arxiv.org/abs/2406.07657v1
http://arxiv.org/pdf/2406.07657v1
OPTune: Efficient Online Preference Tuning
2024-06-11T18:55:04
2024-06-11T18:55:04
Lichang Chen, Jiuhai Chen, Chenxi Liu, John Kirchenbauer, Davit Soselia, Chen Zhu, Tom Goldstein, Tianyi Zhou, Heng Huang
cs.LG
cs.LG, cs.CL
Reinforcement learning with human feedback~(RLHF) is critical for aligning Large Language Models (LLMs) with human preference. Compared to the widely studied offline version of RLHF, \emph{e.g.} direct preference optimization (DPO), recent works have shown that the online variants achieve even better alignment. However, online alignment requires on-the-fly generation of new training data, which is costly, hard to parallelize, and suffers from varying quality and utility. In this paper, we propose a more efficient data exploration strategy for online preference tuning (OPTune), which does not rely on human-curated or pre-collected teacher responses but dynamically samples informative responses for on-policy preference alignment. During data generation, OPTune only selects prompts whose (re)generated responses can potentially provide more informative and higher-quality training signals than the existing responses. In the training objective, OPTune reweights each generated response (pair) by its utility in improving the alignment so that learning can be focused on the most helpful samples. Throughout our evaluations, OPTune'd LLMs maintain the instruction-following benefits provided by standard preference tuning whilst enjoying 1.27-1.56x faster training speed due to the efficient data exploration strategy.
[ -0.44379332661628723, -0.534041166305542, 0.44130876660346985, -0.09951001405715942, -0.07399139553308487, 0.18947000801563263, -0.6100825667381287, -0.19904491305351257, 0.4291638433933258, 0.4040929079055786, -0.8683949112892151, -0.1912819743156433, -0.17320282757282257, -0.025426853448152542, 0.2977152466773987, 0.7483609318733215, -0.1782994568347931, -0.05484278127551079, -0.25971248745918274, -0.07051744312047958, -0.34096667170524597, -0.21201907098293304, -0.759709894657135, -0.3819168508052826, 0.47668761014938354, 0.9913820624351501, 0.7243046164512634, 0.7634491324424744, 0.4317665696144104, 0.2996656894683838, 0.18565383553504944, 0.5515117645263672, -0.9225932955741882, 0.23496143519878387, 0.06163604184985161, -0.5155137777328491, -0.40657272934913635, -0.011412639170885086, 0.2617340683937073, 0.35360175371170044, -0.4929333031177521, 0.027181489393115044, -0.19684375822544098, 0.8190596699714661, -0.5882922410964966, -0.04368302971124649, -0.5909909605979919, 0.36043235659599304, 0.03827594965696335, -0.5955280065536499, -0.3690033257007599, -0.8067096471786499, 0.39295539259910583, -1.1048742532730103, -0.013554027304053307, 0.3465563952922821, 0.8895949125289917, 0.51735919713974, -0.22424976527690887, 0.13007399439811707, -0.45148712396621704, 0.9613714218139648, -0.46892157196998596, 0.34770217537879944, 0.5487636923789978, 0.4295071065425873, -0.29174163937568665, -0.23655997216701508, -0.216541588306427, -0.1851549595594406, 0.11259796470403671, 0.3030731976032257, 0.24435549974441528, 0.12142025679349899, 0.11339186131954193, 0.42083173990249634, -0.5092177987098694, 0.2773045599460602, 0.06676056981086731, -0.1834871470928192, 0.8525417447090149, -0.09543375670909882, -0.0316612534224987, -0.05816787853837013, -0.2908763885498047, -0.4976445436477661, -0.6364756226539612, 0.1650344729423523, 0.7466797828674316, 0.22378499805927277, 0.0025844171177595854, 0.3556528687477112, -0.5001654028892517, 0.9764226675033569, 0.4749743640422821, -0.25150758028030396, 0.3814969062805176, -0.09888484328985214, 0.0295020192861557, 0.4612840414047241, 0.6738487482070923, 0.648110032081604, 0.3541259765625, -0.2061111330986023, -0.13209202885627747, -0.025055810809135437, 0.3827838599681854, -0.6844695210456848, -0.3153361678123474, 0.3261100947856903, -0.27435949444770813, -0.6960541605949402, -0.08412275463342667, -0.8377071022987366, -0.18929775059223175, -0.6511852741241455, 0.10655289888381958, -0.2594785690307617, -0.20428034663200378, 0.12097162753343582, -0.008106477558612823, 0.1292426735162735, 0.3759518563747406, -1.066085934638977, 0.07827447354793549, 0.5455470681190491, 0.5878446102142334, -0.6787089109420776, -0.06894419342279434, -0.7839412689208984, -0.044296473264694214, -0.31193673610687256, 0.7855210900306702, -0.6686534285545349, -0.2988862693309784, -0.009446635842323303, -0.2618750333786011, 0.10922691971063614, -0.5424438118934631, 0.6417089104652405, -0.7116987109184265, 0.3885532319545746, -0.2981894612312317, -0.7468516826629639, -0.1552238017320633, 0.3510892391204834, -0.6537099480628967, 1.2621451616287231, 0.1608206182718277, -0.7844018340110779, 0.6508159637451172, -0.7064678072929382, -0.07137930393218994, -0.0581355020403862, -0.2786509692668915, -0.57393878698349, -0.034909725189208984, 0.7406845092773438, 0.2979152202606201, -0.02301894500851631, 0.555766761302948, -0.4855926036834717, -0.43633735179901123, 0.13530941307544708, -0.18806371092796326, 0.43861106038093567, 0.18647894263267517, -0.48581841588020325, 0.4405764639377594, -0.7587071657180786, 0.43954822421073914, 0.2207692563533783, -0.6167219281196594, -0.28279897570610046, 0.34862256050109863, 0.035117894411087036, -0.1276085525751114, 0.17796821892261505, -0.6318689584732056, 0.3962412476539612, -0.6037359833717346, 0.3739812970161438, 1.0093101263046265, -0.09028640389442444, 0.41666898131370544, -0.5093124508857727, 0.6374683976173401, -0.3491053879261017, 0.2024764120578766, 0.16610807180404663, -0.08206857740879059, -0.8925254940986633, -0.1473306119441986, 0.29898887872695923, 0.3037739098072052, -0.6377877593040466, 0.5225733518600464, -0.4538373053073883, -0.3166711926460266, -0.7246237993240356, 0.10933621972799301, 0.17677097022533417, 0.3503873944282532, 0.3406573235988617, 0.02580196037888527, -0.5650800466537476, -0.9091295003890991, -0.28268882632255554, 0.18536362051963806, 0.27873316407203674, 0.8756533265113831, -0.1091671735048294, -0.2103576958179474, 1.3351764678955078, -0.7776038646697998, 0.039170339703559875, -0.3488512933254242, 0.049408674240112305, 0.29469671845436096, 0.1276451200246811, 0.3415912985801697, -0.8294923901557922, -0.642910361289978, -0.06424953788518906, -0.30481696128845215, -0.10463976114988327, -0.09010521322488785, -0.4280584454536438, -0.007126553915441036, 0.22701594233512878, 0.027068717405200005, -0.1820191591978073, 0.5070199966430664, 0.09117814153432846, -0.0012977271107956767, -0.24643340706825256, 0.25056666135787964, -0.9930172562599182, -0.11814944446086884, -0.2306659072637558, -0.6267630457878113, -0.20510083436965942, 0.06274891644716263, 0.20756365358829498, 0.06981105357408524, -0.4965563416481018, 0.2763979136943817, -0.4542113244533539, -0.05187069997191429, -0.2521010935306549, 0.39116525650024414, -0.3117312490940094, 0.6783895492553711, 0.19936460256576538, 0.8334939479827881, 0.4081561863422394, -0.7657185792922974, 0.5634934902191162, 0.15308992564678192, -0.2665098011493683, 0.4347757399082184, -0.33224618434906006, 0.4180243909358978, -0.10638931393623352, 0.10980381816625595, -0.766143262386322, -0.3473654091358185, 0.1673787236213684, -0.22294574975967407, 0.3325331509113312, 0.05580022186040878, -0.08868566900491714, -0.14960677921772003, -0.6149613261222839, 0.36061185598373413, 0.27470964193344116, -1.05355703830719, 0.3241279423236847, 0.5575790405273438, 0.06752707064151764, -0.5852105021476746, -0.09285376220941544, -0.380903959274292, -0.39253538846969604, -0.39210331439971924, 0.574761688709259, -0.07285872846841812, -0.09288730472326279, -0.24114687740802765, -0.03356267884373665, 0.25943976640701294, 0.21715784072875977, -0.0786789134144783, 0.4212473928928375, 0.0022393374238163233, 0.1095796450972557, 0.13329145312309265, -0.22521346807479858, -0.1683529168367386, -0.23116551339626312, 0.6296948194503784, 0.10851436108350754, -0.25373828411102295, -0.2874409556388855, 0.0907304510474205, 0.3414819538593292, -0.07293850928544998, 0.08490818738937378, 0.24827389419078827, 0.07847040146589279, -0.3391138017177582, -0.41926151514053345, -0.46747952699661255, -0.5132362842559814, 0.4243623912334442, -0.0030510693322867155, -0.7641854882240295, -0.20148082077503204, -0.23366813361644745, 0.5146730542182922, 0.11584170162677765, 0.1767675280570984, -0.01961413212120533, 1.1339991092681885, 0.548888087272644, -0.3523206114768982, 0.6611467599868774, 0.004090649075806141, -0.00833619013428688, -0.6699858903884888, -0.053159456700086594, -0.23230300843715668, -0.6012272834777832, -0.6266840696334839, -0.3015749156475067, 0.4378167390823364, -0.14337509870529175, -0.1339828073978424, 0.25520846247673035, -0.6935648918151855, 0.48410987854003906, 0.694077730178833, 0.4798920154571533, 0.20054951310157776, 0.3308926522731781, -0.22526858747005463, -0.3039535880088806, -0.9564089179039001, 0.01961006224155426, 1.4707080125808716, 0.23160994052886963, 0.9411372542381287, 0.056803230196237564, 0.9827757477760315, 0.06325644254684448, 0.2661799490451813, -0.9370610117912292, 0.43060916662216187, 0.19168245792388916, -0.2727467715740204, -0.3692513108253479, -0.6603920459747314, -0.7132127285003662, 0.24554578959941864, -0.4228041172027588, -0.38247570395469666, -0.027731701731681824, 0.7428250312805176, -0.5358750224113464, 0.1547957807779312, -0.4592280089855194, 0.5512950420379639, -0.9428000450134277, -0.6213639974594116, -0.3258292078971863, -0.4504987895488739, 0.1670338213443756, -0.037036534398794174, 0.020040923729538918, -0.05261297523975372, 0.03472057357430458, 0.8823444247245789, -0.24839083850383759, 0.5361523032188416, -0.10164681077003479, 0.08984735608100891, -0.16990937292575836, -0.04775900021195412, 0.768064022064209, -0.0341326966881752, 0.0886458232998848, -0.3123360276222229, -0.4427793622016907, -0.0653463676571846, -0.4622572362422943, 0.8630812168121338, -1.0556445121765137, -0.45525163412094116, -0.5507036447525024, -0.46222078800201416, -0.5744221210479736, 0.00963515043258667, 0.23881982266902924, 0.21950079500675201, -0.13922670483589172, 0.18198548257350922, 0.938159167766571, -0.30522608757019043, 0.28337326645851135, 0.4870331883430481, -0.4330295920372009, -0.6882609128952026, 1.0738961696624756, -0.28372302651405334, 0.32511386275291443, 0.7038716077804565, 0.5662685036659241, -0.5529161095619202, -0.07501981407403946, -0.7027828097343445, 0.1123817041516304, -0.31954917311668396, -0.1404443234205246, -0.5058630108833313, 0.24645452201366425, -0.17613206803798676, -0.3076830506324768, -0.5220162272453308, -0.28691366314888, -0.3088759183883667, -0.14800883829593658, 0.7209219932556152, 0.307359516620636, 0.04986162483692169, 0.3109583258628845, -0.5139833092689514, 0.1788300722837448, 0.30377206206321716, 0.33056479692459106, -0.18888677656650543, -0.3715206980705261, -0.015115732327103615, 0.11029154807329178, -0.43747571110725403, -0.8444441556930542, 0.30040600895881653, 0.3876146674156189, 0.6130263209342957, 0.8442282676696777, 0.34866324067115784, 0.8742764592170715, -0.24975353479385376, 0.28365224599838257, 0.028289804235100746, -0.5450953245162964, 0.6183411478996277, -0.3089753985404968, 0.1250029057264328, 0.8819306492805481, 0.6710394024848938, -0.4598003625869751, 0.03589572384953499, -0.5667439699172974, -1.0393059253692627, 1.0444309711456299, -0.10717430710792542, -0.2538136839866638, 0.3780784606933594, 0.4179666340351105, 0.043959613889455795, 0.35576489567756653, -0.5544998645782471, -0.4037846028804779, -0.15995487570762634, -0.10651759058237076, -0.18516886234283447, 0.03745638579130173, -0.1594536155462265, -0.2799258232116699, 0.8305546045303345, -0.2709299623966217, 0.11482372134923935, 0.0045227534137666225, 0.007515673991292715, -0.3564338982105255, 0.12731850147247314, 0.3370765447616577, 0.34428977966308594, -0.4578341543674469, -0.07090352475643158, 0.0831337496638298, -0.17682941257953644, 0.13355760276317596, -0.11762548238039017, -0.4405607283115387, -0.31436747312545776, -0.14876846969127655, 1.1539353132247925, 0.573455274105072, -0.8217777013778687, 0.37406036257743835, -0.2028508484363556, -0.26040181517601013, -0.3073495030403137, 0.4690655469894409, -0.031722232699394226, -0.12078797817230225, -0.1295187920331955, -0.029288070276379585, 0.05971144139766693, -0.438541442155838, 0.1681288629770279, 0.47626274824142456, -0.40183788537979126, 0.2928122282028198, 0.43858927488327026, 0.3400712013244629, -0.22356829047203064, 0.7651068568229675, -0.06674788892269135, -0.7484639286994934, 0.3433286249637604, 0.3994531035423279, 0.6697993278503418, -0.1290363073348999, 0.3711032569408417, 0.6268671751022339, -0.10949116945266724, -0.1555483192205429, 0.2355315387248993, -0.3294079601764679, -0.7933031320571899, -0.17123547196388245, -0.5541899800300598, -0.6687284111976624, 0.03924344852566719, -0.8315064311027527, 0.3607266843318939, -0.2188633382320404, -0.11626806855201721, -0.42074063420295715, -0.051557134836912155, -0.3355396091938019, 0.06509711593389511, -0.17040890455245972, 0.6197795867919922, -0.568942129611969, 0.645156741142273, 0.6253933310508728, 0.04825786501169205, -1.0115716457366943, -0.03686228021979332, 0.02945849299430847, -0.9268243908882141, 0.4292677640914917, 0.12107805907726288, -0.1748240739107132, 0.279441773891449, -0.39391911029815674, -1.1491810083389282, 0.9575476050376892, 0.31601595878601074, -0.9072721600532532, 0.1369810253381729, -0.09495603293180466, 0.12473040819168091, -0.2608128786087036, 0.6172389388084412, 0.5603644251823425, 0.6218127608299255, 0.018552055582404137, -0.543850302696228, -0.15275244414806366, 0.0012819359544664621, -0.127570241689682, 0.36857131123542786, -0.6360793113708496, 0.47290611267089844, -0.2266748994588852, -0.11713682860136032, -0.34700900316238403, 0.5252431631088257, 0.21305479109287262, -0.1802327185869217, 0.7575137615203857, 0.784578800201416, 0.7329128980636597, -0.16145069897174835, 0.9245636463165283, -0.34558793902397156, 0.4360833466053009, 1.2106236219406128, -0.19919222593307495, 0.9982145428657532, 0.501473069190979, -0.2049754410982132, 0.021151933819055557, 1.1025798320770264, -0.018254589289426804, 0.7743792533874512, 0.28955700993537903, -0.016793761402368546, -0.6857550740242004, -0.01846865750849247, -0.339089572429657, 0.30219241976737976, -0.12372046709060669, -0.020004967227578163, -0.24626564979553223, -0.08197598904371262, 0.03859506547451019, 0.10199736803770065, -0.24515841901302338, 0.9492083191871643, -0.37095263600349426, -1.404907464981079, 0.6889006495475769, 0.09323808550834656, 0.882163405418396, -0.6452361345291138, -0.041159890592098236, -0.2369976043701172, 0.416753351688385, -0.32167842984199524, -0.332892507314682, -0.1937301605939865, -0.18383611738681793, 0.06472151726484299, -0.33695757389068604, 0.32319119572639465, -0.49252834916114807, -0.2995773255825043, 0.2583318054676056, 0.12587502598762512, -0.05136347562074661, 0.14131876826286316, -0.6758185625076294, 0.015785159543156624, 0.4785839915275574, -0.35975927114486694, 0.39478832483291626, -0.30287864804267883, 0.09829453378915787, 0.6010415554046631, 0.7739683985710144, 0.2683400511741638, 0.04976161941885948, -0.17309118807315826, 0.7718851566314697, -0.3384690582752228, -0.7060187458992004, -0.5277436971664429, 0.1414555460214615, -0.4032495617866516, -0.5767887830734253, 0.6625937223434448, 0.6488232612609863, 1.0703034400939941, 0.03729536011815071, 0.777654767036438, 0.11358808726072311, 0.681448221206665, -0.604069173336029, 0.5129022002220154, -0.7377118468284607, 0.062367066740989685, -0.15950146317481995, -0.9350959062576294, 0.08845061808824539, 1.0900318622589111, -0.3773115575313568, -0.014474885538220406, 0.5846593976020813, 0.9930932521820068, -0.2750468850135803, 0.2381417602300644, 0.001108179916627705, -0.12780897319316864, 0.237663134932518, 0.6563968062400818, 0.6817688345909119, -0.13302657008171082, 0.2590663731098175, -0.4819019138813019, -0.439859539270401, -0.49842894077301025, -0.9689649343490601, -0.7253217101097107, -0.09256497025489807, -0.3094741404056549, 0.05273047089576721, 0.045091841369867325, 1.571144461631775, 0.7814701199531555, -0.7414795756340027, -0.33335164189338684, -0.24921517074108124, -0.11223107576370239, -0.3719322383403778, -0.21667709946632385, 0.40777263045310974, -0.35165125131607056, -0.8486284017562866, 0.5768082737922668, 0.015070190653204918, -0.18085813522338867, -0.2896167039871216, -0.4295347332954407, -0.1383315920829773, -0.13952334225177765, 0.22785387933254242, 0.30445075035095215, -0.5061240196228027, -0.15072749555110931, 0.19445843994617462, 0.1428171843290329, 0.21837615966796875, 0.9002202749252319, -0.7577661275863647, 0.7810277938842773, 0.43695753812789917, 0.9283908009529114, 0.6023576259613037, 0.042545516043901443, 0.7849576473236084, -0.3737632930278778, -0.10271918773651123, 0.20525798201560974, 0.3079518973827362, 0.2850967347621918, -0.6061130166053772, 0.2512444853782654, 0.08016696572303772, -0.6162895560264587, -0.5824638605117798, 0.2173733413219452, -0.9691164493560791, -0.00416556978598237, 1.1872918605804443, -0.01941380277276039, -0.024820948019623756, 0.0822862982749939, -0.4508560299873352, 0.018606800585985184, -0.7620902061462402, 0.8049381375312805, 0.3365747034549713, -0.4248482584953308, 0.012675178237259388, -0.39695030450820923, 0.7270857095718384, 0.6608095169067383, -0.8750013709068298, 0.044956739991903305, 0.5258989930152893, 0.1959971785545349, -0.1676916629076004, 0.5154402852058411, 0.2547878623008728, 0.2705894112586975, -0.47540926933288574, -0.18306387960910797, -0.30480313301086426, -0.3499363660812378, -0.11022373288869858, 0.1241859421133995, 0.18124040961265564, -0.29096099734306335 ]
http://arxiv.org/abs/2406.07546v1
http://arxiv.org/pdf/2406.07546v1
Commonsense-T2I Challenge: Can Text-to-Image Generation Models Understand Commonsense?
2024-06-11T17:59:48
2024-06-11T17:59:48
Xingyu Fu, Muyu He, Yujie Lu, William Yang Wang, Dan Roth
cs.CV
cs.CV, cs.AI, cs.CL
We present a novel task and benchmark for evaluating the ability of text-to-image(T2I) generation models to produce images that fit commonsense in real life, which we call Commonsense-T2I. Given two adversarial text prompts containing an identical set of action words with minor differences, such as "a lightbulb without electricity" v.s. "a lightbulb with electricity", we evaluate whether T2I models can conduct visual-commonsense reasoning, e.g. produce images that fit "the lightbulb is unlit" vs. "the lightbulb is lit" correspondingly. Commonsense-T2I presents an adversarial challenge, providing pairwise text prompts along with expected outputs. The dataset is carefully hand-curated by experts and annotated with fine-grained labels, such as commonsense type and likelihood of the expected outputs, to assist analyzing model behavior. We benchmark a variety of state-of-the-art (sota) T2I models and surprisingly find that, there is still a large gap between image synthesis and real life photos--even the DALL-E 3 model could only achieve 48.92% on Commonsense-T2I, and the stable diffusion XL model only achieves 24.92% accuracy. Our experiments show that GPT-enriched prompts cannot solve this challenge, and we include a detailed analysis about possible reasons for such deficiency. We aim for Commonsense-T2I to serve as a high-quality evaluation benchmark for T2I commonsense checking, fostering advancements in real life image generation.
[ -0.13704678416252136, -0.6169056296348572, 0.6523421406745911, 0.07168228179216385, -0.17963294684886932, -0.3229531943798065, -0.026635726913809776, -0.3825007677078247, -0.5820178389549255, 0.16626118123531342, -0.5917096734046936, -0.1843155324459076, -0.5503357648849487, 0.2664373219013214, -0.009849908761680126, 0.7244048714637756, 0.006166529841721058, -0.07950028777122498, -0.469725102186203, -0.03343834728002548, -0.6007324457168579, 0.20296069979667664, -0.7226794958114624, -0.2575988173484802, 0.4494701325893402, 0.40689605474472046, 0.6919129490852356, 0.34046506881713867, 0.22502169013023376, 0.2497328668832779, -0.14146888256072998, 0.32174810767173767, -0.6805884838104248, -0.0947074443101883, -0.3382347524166107, -0.10726742446422577, -0.07418367266654968, 0.25116047263145447, 0.3426417112350464, 0.20265676081180573, 0.307127445936203, 0.21087603271007538, -0.014610180631279945, 0.3907107710838318, -0.7829957008361816, -0.14748039841651917, -0.6816877722740173, 0.12865135073661804, -0.10676173120737076, 0.06243940442800522, -0.49420976638793945, -0.18080289661884308, -0.10770712792873383, -0.7018075585365295, 0.4171423017978668, 0.15714314579963684, 1.1334964036941528, 0.2825911343097687, -0.675045371055603, -0.2959219217300415, -0.3373798727989197, 0.695685625076294, -0.5682624578475952, 0.13001681864261627, 0.17709967494010925, 0.3664698302745819, 0.023140454664826393, -0.8843436241149902, -0.8485109806060791, -0.33290451765060425, -0.15594400465488434, 0.39003145694732666, -0.410607248544693, -0.28100329637527466, 0.403251051902771, 0.035156287252902985, -0.6178223490715027, 0.11027076095342636, -0.4313398003578186, 0.0460338220000267, 0.5557976961135864, 0.07970400899648666, 0.2596055865287781, -0.4121047854423523, -0.5740571618080139, -0.12594138085842133, -0.666813850402832, -0.19855497777462006, 0.4643825590610504, -0.1600150316953659, -0.18905290961265564, 0.5621026754379272, 0.15054532885551453, 0.393713116645813, -0.0890248566865921, 0.3589586615562439, -0.06231692433357239, -0.3630170524120331, 0.02233310043811798, -0.28165698051452637, 0.8415487408638, 0.9153811931610107, 0.27223899960517883, -0.21910828351974487, -0.435576856136322, 0.11173643171787262, 0.15741944313049316, -0.9200378656387329, -0.4712071120738983, 0.2775115668773651, -0.4480975568294525, -0.7949060797691345, -0.23450979590415955, -0.7852627635002136, -0.6042287945747375, 0.05945688486099243, 0.7443755865097046, -0.13687150180339813, -0.5823265314102173, -0.2778465449810028, -0.638411283493042, 0.15596003830432892, 0.23213668167591095, -0.6791031360626221, 0.20864732563495636, 0.8118167519569397, 0.9625077843666077, -0.20485979318618774, -0.19768550992012024, -0.44580215215682983, -0.024792825803160667, -0.4415286183357239, 0.9835288524627686, -0.44354048371315, -0.48329049348831177, -0.019573433324694633, -0.29069238901138306, -0.10259106010198593, -0.7231723070144653, 0.408233106136322, -0.44662660360336304, 0.23905372619628906, -0.4275479316711426, -0.7007941007614136, 0.2768866717815399, 0.3322966992855072, -0.6957122087478638, 0.8342704176902771, 0.06107620894908905, -0.8514661192893982, 0.3754771649837494, -0.8391135931015015, -0.2555896043777466, 0.15524861216545105, -0.18473568558692932, -0.5667674541473389, 0.24655109643936157, -0.06482742726802826, 0.30830681324005127, -0.4204862713813782, 0.5107091069221497, -0.42776739597320557, -0.2366832196712494, 0.5544071197509766, -0.7775791883468628, 0.7287550568580627, 0.26359736919403076, -0.24482116103172302, 0.01862584799528122, -0.4739719033241272, -0.18970446288585663, 0.5860294699668884, 0.2772510349750519, -0.052119530737400055, -0.15434448421001434, 0.5707157254219055, 0.16497796773910522, 0.23891033232212067, -0.7248410582542419, 0.0031964152585715055, 0.12103413790464401, 0.6483554244041443, 0.7313637137413025, 0.2355518639087677, 0.09131366014480591, -0.3561195135116577, 0.019666625186800957, -0.02437564730644226, 0.11292062699794769, 0.02950945310294628, -0.7681257724761963, -0.46857750415802, 0.24717853963375092, 0.18973515927791595, 0.6061173677444458, -0.8884497284889221, 0.06268511712551117, -0.35473549365997314, -0.5361452102661133, -0.15834827721118927, -0.2269754260778427, 0.6962503790855408, 0.8934069275856018, 0.3906770348548889, -0.009303586557507515, 0.03309134021401405, -0.9468957185745239, -0.537739098072052, 0.04384632408618927, -0.11815275251865387, 0.5960871577262878, 0.7301889657974243, 0.08483494073152542, 0.766302764415741, -0.5337868332862854, 0.009731435216963291, -0.16671600937843323, 0.6814074516296387, -0.0585591159760952, 0.6450554132461548, 0.381710410118103, -1.0959053039550781, -0.18638809025287628, -0.2643425464630127, -0.7446228861808777, -0.3200720548629761, -0.23340460658073425, 0.17125438153743744, 0.1653028279542923, 0.5062508583068848, -0.5311057567596436, 0.41152340173721313, 0.4188130497932434, -0.6212382912635803, 0.637057900428772, -0.35854679346084595, 0.27588918805122375, -1.0590959787368774, 0.38469481468200684, 0.32642629742622375, 0.03094092570245266, -0.7351640462875366, 0.08313291519880295, 0.30342918634414673, -0.5180469155311584, -0.641122043132782, 0.8893209099769592, -0.23289163410663605, -0.2383761703968048, -0.20317667722702026, 0.007639116607606411, 0.09509217739105225, 0.3670155107975006, 0.21003217995166779, 1.0073139667510986, 0.3084031343460083, -0.5362972021102905, 0.33349084854125977, 0.12312561273574829, -0.3596022427082062, 0.7124442458152771, -0.9818748831748962, 0.24474599957466125, 0.005200697109103203, 0.19601726531982422, -1.191929578781128, -0.4620305299758911, 0.23703978955745697, -0.42746347188949585, 0.15981683135032654, -0.017165370285511017, -0.7036921381950378, -0.2497081756591797, -0.1505211442708969, 0.7738124132156372, 0.626867413520813, -0.7389920949935913, 0.33877986669540405, -0.11128266155719757, 0.09589490294456482, -0.3420189619064331, -0.7315658926963806, 0.4956201910972595, -0.20351700484752655, -0.7243239283561707, 0.31302011013031006, 0.028477545827627182, -0.2440396249294281, 0.26122307777404785, 0.0719110444188118, -0.17108142375946045, 0.19624406099319458, 0.08764518797397614, 0.18313094973564148, -0.00185547792352736, 0.09522896260023117, 0.09599532186985016, -0.2421981543302536, 0.1816929280757904, -0.11006195843219757, 0.10925754904747009, 0.006045765243470669, -0.3483171761035919, -0.6643100380897522, 0.3944334387779236, 0.28831911087036133, -0.1471182405948639, 0.20881222188472748, 0.5810003280639648, -0.35623419284820557, -0.10860764980316162, -0.5638890266418457, -0.025653496384620667, -0.5196986198425293, 0.3505595624446869, -0.39322778582572937, -0.4868374764919281, 0.26640889048576355, -0.2374279648065567, 0.19779090583324432, 0.49473249912261963, 0.17923294007778168, -0.20679353177547455, 0.7883055806159973, -0.04390326887369156, 0.6160797476768494, 0.2662799656391144, -0.3305211663246155, 0.022054368630051613, -0.7484886646270752, -0.24828249216079712, -0.26598846912384033, -0.4422008693218231, -0.5433286428451538, -0.4394948482513428, 0.577264130115509, -0.2843579947948456, -0.27265989780426025, 0.20697025954723358, -0.3607768714427948, 0.6799740195274353, 0.5426280498504639, 0.43376535177230835, -0.02829793095588684, -0.08515523374080658, 0.2991603910923004, 0.048370592296123505, -0.5454482436180115, -0.5394544005393982, 0.9920374155044556, 0.18487860262393951, 0.2720358371734619, 0.21957364678382874, 0.6391952037811279, 0.5549067854881287, 0.26670652627944946, -0.5236804485321045, 0.7325321435928345, -0.561722993850708, -0.4154965877532959, -0.024040723219513893, -0.47728174924850464, -0.8708350658416748, -0.01647842489182949, -0.3290872573852539, -0.476169615983963, 0.05996926873922348, 0.38194671273231506, -0.1589694321155548, 0.405603289604187, -0.8101181387901306, 1.3121669292449951, -0.2435777634382248, -0.961439847946167, -0.2626558244228363, -0.49075618386268616, 0.517108678817749, 0.3238634467124939, 0.08090151101350784, 0.04893849045038223, -0.22697599232196808, 0.615365743637085, -0.28545084595680237, 0.8251820206642151, -0.3892090618610382, -0.10896039754152298, 0.3270607590675354, 0.01893950253725052, 0.4656181335449219, 0.010702849365770817, -0.02632967010140419, 0.07703085988759995, -0.28747421503067017, -0.670232355594635, -0.6498916149139404, 0.6364707350730896, -0.631014883518219, -0.47439637780189514, -0.2292497456073761, -0.2994386553764343, -0.24579964578151703, 0.12316826730966568, 0.8033522367477417, 0.7856793403625488, -0.4325271248817444, -0.25850173830986023, 0.8640621900558472, -0.22911511361598969, 0.5034894347190857, -0.10901989042758942, 0.26579979062080383, -0.38693806529045105, 1.1953775882720947, -0.09068306535482407, 0.42962905764579773, 0.23673367500305176, 0.504491925239563, -0.5864747762680054, -0.4980282783508301, -0.8138124346733093, 0.15663723647594452, -0.7569090723991394, -0.18575063347816467, -0.37103548645973206, 0.09825420379638672, -0.451643168926239, -0.1805265247821808, -0.17296598851680756, -0.31876662373542786, -0.5969555377960205, 0.13060712814331055, 0.18857786059379578, 0.9305673837661743, 0.02921880967915058, -0.0029052093159407377, -0.638399064540863, 0.5280062556266785, 0.7625055909156799, 0.41763874888420105, 0.07658370584249496, -0.43219488859176636, 0.39100509881973267, -0.14336666464805603, -0.3950574994087219, -1.0160490274429321, -0.010574625805020332, 0.008265168406069279, 0.18248488008975983, 0.36816170811653137, 0.18640244007110596, 0.5015242695808411, -0.47676053643226624, 1.2097876071929932, 0.4439578652381897, -0.8190502524375916, 0.4846876263618469, -0.418740838766098, 0.15399682521820068, 0.3310151696205139, -0.015568171627819538, -0.39082014560699463, -0.27616673707962036, -0.9247596859931946, -0.5982962846755981, 0.29563790559768677, 0.4616668224334717, 0.14579592645168304, -0.17058447003364563, 0.145130455493927, 0.01895138807594776, -0.07039457559585571, -0.681247889995575, 0.07121314108371735, -0.5178535580635071, -0.26568400859832764, 0.1660272628068924, -0.36753013730049133, -0.22008681297302246, 0.40696096420288086, 0.5157579183578491, 0.07641661167144775, 0.2986887991428375, 0.17166070640087128, -0.005529150366783142, -0.05954451858997345, 0.4280003309249878, 0.7813234329223633, 0.26290756464004517, -0.022951314225792885, 0.30929407477378845, 0.10404923558235168, -0.1650971621274948, -0.06075366213917732, -0.0030519079882651567, -0.2957748472690582, -0.06660167872905731, 0.41159793734550476, 0.9813137054443359, 0.15057092905044556, -0.7402912378311157, 0.9276652932167053, -0.12856294214725494, -0.4931216835975647, -0.07235915958881378, 0.16014975309371948, 0.04542398825287819, 0.32577380537986755, 0.35383182764053345, 0.39158961176872253, 0.2893402874469757, -0.203231081366539, 0.1158389151096344, 0.39429643750190735, -0.06428607553243637, -0.3134557902812958, 0.8588865399360657, 0.5331991314888, -0.36885514855384827, 0.5288044214248657, -0.7395204901695251, -0.3435235917568207, 0.9462183117866516, 0.6291442513465881, 1.0288492441177368, 0.33602041006088257, 0.2570928931236267, 0.6122338175773621, 0.13807247579097748, -0.11514407396316528, 0.1914639174938202, -0.09853863716125488, -0.5573042631149292, 0.17050418257713318, 0.06776499003171921, -0.4895320534706116, 0.3976936936378479, -0.4594361186027527, 0.133746936917305, -0.4072381854057312, 0.06136571988463402, 0.02420860156416893, -0.13450750708580017, -0.5303825736045837, 0.38265931606292725, 0.17319385707378387, 0.9259656667709351, -1.2923898696899414, 0.33627161383628845, 0.6013025641441345, -0.2239188402891159, -0.5110484957695007, 0.1678602397441864, 0.013078844174742699, -0.658629298210144, 0.5418910980224609, 0.4063131809234619, -0.08534577488899231, -0.034434571862220764, -0.9015411138534546, -0.27496108412742615, 1.1532708406448364, -0.05310606211423874, -0.369742751121521, 0.18196812272071838, 0.024841725826263428, 0.369938462972641, -0.13588495552539825, 0.2434070110321045, 0.23983271420001984, 0.6522942781448364, 0.39438554644584656, -0.5364157557487488, 0.2753729820251465, -0.42148199677467346, 0.34012940526008606, -0.06774484366178513, -0.664444088935852, 0.5778298377990723, -0.5155373811721802, -0.518502414226532, 0.42668408155441284, 0.7370536923408508, 0.3951312303543091, 1.052628993988037, 0.7569334506988525, 0.6958605647087097, 0.4837303161621094, -0.05796573683619499, 0.8563886284828186, 0.10063882172107697, 0.22068506479263306, 1.018050193786621, -0.2896078824996948, 0.7957059741020203, 0.40778130292892456, 0.15019752085208893, -0.008439861238002777, 0.5667890310287476, -0.5639129877090454, 0.5778080224990845, 0.07020466774702072, -0.349281370639801, -0.29618361592292786, -0.39089053869247437, -0.2049035131931305, 0.08904577791690826, 0.24996121227741241, -0.08127747476100922, -0.24725379049777985, 0.05951346457004547, -0.20787546038627625, 0.3723650872707367, -0.15044745802879333, 0.8812156915664673, -0.3405597507953644, -0.8900270462036133, 0.4852102994918823, -0.17649486660957336, 0.6755772233009338, -0.13385234773159027, -0.04898322746157646, -0.22435827553272247, -0.15301229059696198, -0.12814262509346008, -1.135928750038147, 0.14978289604187012, 0.39940232038497925, 0.12360867112874985, -0.265296071767807, 0.7033695578575134, -0.33492740988731384, -0.46354344487190247, -0.24596816301345825, 0.09876111894845963, 0.22337979078292847, 0.26866036653518677, -0.7120093703269958, -0.0927506536245346, -0.029328344389796257, -0.2282114177942276, 0.10143797099590302, 0.5308846235275269, 0.11687101423740387, 0.358883798122406, 0.41552165150642395, -0.12604929506778717, -0.22502291202545166, -0.05751633271574974, 0.6713767051696777, -0.41933801770210266, -0.27140459418296814, -0.5083964467048645, 0.5094072222709656, -0.47963178157806396, -0.719143807888031, 0.14907845854759216, 0.5904728174209595, 0.735907256603241, -0.3184067904949188, 0.8495493531227112, -0.1815333515405655, 0.09606608748435974, -0.6130461096763611, 0.6735199689865112, -0.801575779914856, -0.001411708421073854, -0.04930257052183151, -0.481539785861969, -0.002799057634547353, 0.22088712453842163, -0.3654778003692627, 0.0007015176233835518, 0.5088775753974915, 1.0412386655807495, -0.30800142884254456, 0.10060910880565643, 0.34405529499053955, -0.01049930788576603, 0.33181139826774597, 0.652945339679718, 0.8831336498260498, -0.5631260275840759, 0.6651738882064819, -0.15277928113937378, -0.2264300137758255, 0.020996537059545517, -1.1434621810913086, -0.7697424292564392, -0.47984591126441956, -0.5567850470542908, -0.36131390929222107, 0.10087333619594574, 0.5133530497550964, 0.41778096556663513, -0.640190839767456, 0.08765634149312973, -0.6142405867576599, -0.024394124746322632, -0.2968466877937317, -0.24111077189445496, 0.4018799960613251, -0.29171958565711975, -0.7270764708518982, 0.10710181295871735, -0.007856525480747223, 0.24455924332141876, 0.05381431058049202, 0.0028430363163352013, 0.10651176422834396, 0.0393107570707798, 0.2626942992210388, 0.27166423201560974, -0.7462655901908875, -0.2512126863002777, -0.08444461971521378, -0.21171066164970398, -0.1256287693977356, 0.804376482963562, -0.46116530895233154, 0.35738471150398254, 0.433799147605896, 0.5356118083000183, 0.2516981065273285, -0.011814520694315434, 0.20293006300926208, -0.8008866906166077, -0.06534165889024734, 0.21559102833271027, 0.15607702732086182, 0.4869040250778198, -0.3393906354904175, 0.39342284202575684, 0.5163799524307251, -0.45859861373901367, -0.7626473307609558, 0.7499699592590332, -1.012445092201233, -0.5326728820800781, 1.339892864227295, -0.08280757814645767, -0.16882109642028809, 0.13499028980731964, -0.1985207200050354, 0.3826347589492798, -0.44572147727012634, 0.7766001224517822, 0.2760411202907562, 0.06015629693865776, -0.5119199752807617, -0.3283523917198181, 0.45512855052948, 0.4651227593421936, -0.7646652460098267, 0.4116571247577667, 0.6771180629730225, 0.28314366936683655, 0.13283579051494598, 0.3363416790962219, 0.1104741171002388, 0.6863646507263184, 0.3466700315475464, -0.4090951979160309, -0.5380939841270447, -0.04164406284689903, -0.1749258190393448, 0.31697946786880493, -0.2464464157819748, -0.37560880184173584 ]
http://arxiv.org/abs/2406.07545v1
http://arxiv.org/pdf/2406.07545v1
Open-LLM-Leaderboard: From Multi-choice to Open-style Questions for LLMs Evaluation, Benchmark, and Arena
2024-06-11T17:59:47
2024-06-11T17:59:47
Aidar Myrzakhan, Sondos Mahmoud Bsharat, Zhiqiang Shen
cs.CL
cs.CL, cs.AI
Multiple-choice questions (MCQ) are frequently used to assess large language models (LLMs). Typically, an LLM is given a question and selects the answer deemed most probable after adjustments for factors like length. Unfortunately, LLMs may inherently favor certain answer choice IDs, such as A/B/C/D, due to inherent biases of priori unbalanced probabilities, influencing the prediction of answers based on these IDs. Previous research has introduced methods to reduce this ''selection bias'' by simply permutating options on a few test samples and applying to new ones. Another problem of MCQ is the lottery ticket choice by ''random guessing''. The LLM does not learn particular knowledge, but the option is guessed correctly. This situation is especially serious for those small-scale LLMs. To address them, a more thorough approach involves shifting from MCQ to open-style questions, which can fundamentally eliminate selection bias and random guessing issues. However, transitioning causes its own set of challenges in (1) identifying suitable open-style questions and (2) validating the correctness of LLM open-style responses against human-annotated ground-truths. This work aims to tackle these significant difficulties, and establish a new LLM evaluation benchmark through entirely open-style questions. Consequently, we introduce the Open-LLM-Leaderboard to track various LLMs' performance and reflect true capability of them, such as GPT-4o/4/3.5, Claude 3, Gemini, etc. Our code and dataset are available at https://github.com/VILA-Lab/Open-LLM-Leaderboard.
[ -0.6569108366966248, -0.9409943222999573, 0.5375850200653076, 0.1332019716501236, -0.14184148609638214, 0.14738567173480988, -0.4928058981895447, -0.1990935355424881, 0.14148515462875366, 0.5567774176597595, -0.4750205874443054, -0.6098973751068115, -0.39581355452537537, 0.029375161975622177, 0.11029138416051865, 0.8569319844245911, -0.35464635491371155, 0.27960091829299927, -0.36295998096466064, -0.34967800974845886, -0.45893770456314087, -0.5822632312774658, -0.6262170076370239, -0.3298710286617279, 0.5989919304847717, 0.6049478650093079, 0.6876772046089172, 0.335513710975647, 0.5716827511787415, 0.10541288554668427, -0.10915601998567581, 0.2510640621185303, -0.47955822944641113, 0.0726466029882431, -0.09840390086174011, -0.3978836238384247, -0.659787118434906, 0.3285505771636963, 0.6645281314849854, 0.5382789373397827, -0.3439537286758423, 0.49442869424819946, 0.011107477359473705, 0.6522310376167297, -0.6793555617332458, -0.054953429847955704, -0.7865809202194214, 0.13444019854068756, -0.4138471782207489, -0.2586928904056549, -0.512335479259491, -0.43155229091644287, -0.1684129387140274, -0.2260625809431076, -0.2729465067386627, 0.2636549174785614, 0.5133098363876343, 0.0790313109755516, -0.450329065322876, -0.21696794033050537, -0.6659828424453735, 0.7362030148506165, -0.2607883810997009, 0.39023393392562866, 0.16549865901470184, 0.7137572169303894, -0.03843818977475166, -0.36086979508399963, -0.21980814635753632, -0.153335839509964, 0.23005148768424988, 0.40874922275543213, 0.1530573070049286, -0.27082425355911255, 0.11762728542089462, 0.2922283709049225, -0.5556928515434265, 0.38941267132759094, -0.229068323969841, -0.0735936090350151, 0.5371818542480469, 0.17790526151657104, -0.05188225209712982, 0.21108050644397736, -0.3768247663974762, -0.1514131724834442, -1.0476524829864502, 0.17471858859062195, 0.5095314979553223, 0.2222372442483902, 0.18474574387073517, 0.6978054642677307, -0.2554722726345062, 0.6317550539970398, -0.03122440166771412, -0.1575062870979309, 0.3119741678237915, -0.3150153160095215, -0.15466409921646118, -0.011385027319192886, 0.6796249151229858, 0.5295685529708862, 0.33762043714523315, 0.09476298093795776, -0.20399095118045807, -0.3515577018260956, 0.11910870671272278, -0.6976203918457031, -0.007698849309235811, 0.2846987545490265, -0.4921417534351349, -0.25777092576026917, 0.1574723869562149, -0.8917703628540039, -0.24111242592334747, -0.1664135754108429, 0.5813822746276855, -0.08534900844097137, -0.19655027985572815, -0.022320527583360672, 0.029581895098090172, 0.3609207570552826, 0.5384352207183838, -0.6580883264541626, 0.23952598869800568, 0.36445149779319763, 0.7141773700714111, -0.4639936089515686, -0.1493595838546753, -0.6920669078826904, -0.09464551508426666, -0.32170388102531433, 0.673870861530304, -0.4979724586009979, -0.3938130736351013, -0.0801495686173439, -0.2861352264881134, -0.136084645986557, -0.7319110631942749, 0.5848360657691956, -0.6129806637763977, 0.18540523946285248, -0.28626829385757446, -0.19023849070072174, 0.20582959055900574, 0.5214403867721558, -0.48157137632369995, 1.0138349533081055, -0.1717793196439743, -0.6598430275917053, 0.2204887568950653, -0.7561323642730713, -0.09599047899246216, -0.18814779818058014, -0.33854568004608154, -0.3216959238052368, 0.06910031288862228, 0.5013540387153625, 0.18404290080070496, -0.28689682483673096, 0.02163228765130043, -0.433656245470047, -0.2855013310909271, 0.5029913783073425, -0.47529345750808716, 0.7136781215667725, 0.1785873919725418, 0.013890717178583145, 0.26486936211586, -0.7659035921096802, 0.3021414577960968, 0.06541001796722412, -0.5398456454277039, -0.12534178793430328, -0.10681669414043427, -0.2167321890592575, 0.43185490369796753, 0.24426434934139252, -0.4703342616558075, 0.21543650329113007, -0.049594033509492874, 0.15518711507320404, 1.1573400497436523, -0.03262336552143097, 0.31822317838668823, -0.5503165125846863, 0.6627197265625, 0.12760071456432343, 0.4797438979148865, 0.14131440222263336, -0.7543100714683533, -0.46953603625297546, -0.2647404670715332, 0.3126707375049591, 0.6201924085617065, -0.6699619293212891, 0.19025376439094543, 0.0811934769153595, -0.49069520831108093, -0.8971854448318481, 0.21860505640506744, 0.204684779047966, 0.3521392345428467, 0.4572685956954956, -0.3292176127433777, -0.37893950939178467, -0.7630965709686279, -0.170791894197464, -0.14840172231197357, -0.08724475651979446, 0.5858235955238342, 0.5103285312652588, -0.003381034592166543, 0.8877802491188049, -0.696019172668457, -0.11496623605489731, 0.11497693508863449, -0.1395895779132843, 0.4277205169200897, 0.26391175389289856, 0.36775147914886475, -0.7823792099952698, -0.4285297989845276, -0.09798463433980942, -0.5738809108734131, -0.28877222537994385, 0.2456827312707901, -0.35880306363105774, -0.0153319938108325, 0.35788413882255554, -0.5807258486747742, 0.18579940497875214, 0.5963339805603027, -0.14190709590911865, 0.7939976453781128, -0.01395847275853157, 0.24193227291107178, -0.8597384691238403, -0.00144766247831285, -0.18432331085205078, 0.07957400381565094, -0.33349987864494324, 0.18458545207977295, 0.08316677808761597, 0.2263113111257553, -0.5946434736251831, 0.8029567003250122, -0.3961449861526489, -0.24205666780471802, 0.1809072345495224, 0.3804353177547455, -0.25850120186805725, 0.3679770529270172, -0.14846082031726837, 0.8482897281646729, 0.47250306606292725, -0.45827603340148926, 0.30496907234191895, 0.19081437587738037, -0.29559364914894104, 0.7140138149261475, -0.2250603586435318, 0.3381575644016266, -0.20761165022850037, 0.14463573694229126, -1.188363790512085, 0.09887391328811646, 0.1743977665901184, -0.33867064118385315, 0.12469591945409775, -0.08433262258768082, -0.5983409285545349, -0.3790449798107147, -0.5425546169281006, 0.36669349670410156, 0.5834318995475769, -0.6868268251419067, 0.4090109169483185, 0.2800544500350952, -0.08283153921365738, -0.7158792614936829, -0.3647236227989197, -0.07731123268604279, -0.2585848271846771, -0.5440954566001892, 0.17436854541301727, -0.797668993473053, -0.5516976118087769, -0.26479676365852356, -0.21493685245513916, -0.006264442577958107, 0.2221388965845108, 0.14503414928913116, 0.42333847284317017, -0.3545125722885132, -0.05157678946852684, -0.017102671787142754, 0.04415074735879898, 0.015248403884470463, -0.33220669627189636, 0.5587326884269714, -0.14930342137813568, -0.4384893774986267, 0.12720495462417603, 0.0768480971455574, 0.6359239220619202, -0.5476372838020325, 0.6112028956413269, 0.5689782500267029, -0.11391327530145645, -0.24346394836902618, -0.5305351614952087, -0.013694421388208866, -0.4072454869747162, 0.00785193033516407, -0.5923454761505127, -1.1436808109283447, 0.6146628856658936, -0.006883222609758377, 0.24652981758117676, 0.3382490277290344, 1.0476620197296143, -0.08767115324735641, 0.9888392686843872, 0.09268733859062195, 0.14428210258483887, 0.25588536262512207, 0.04172050207853317, -0.10854563117027283, -1.0163670778274536, -0.23381444811820984, -0.5797163844108582, -0.30144888162612915, -0.6273022890090942, -0.5446151494979858, 0.5917361378669739, 0.1324702799320221, -0.18263095617294312, -0.12890711426734924, -0.31102994084358215, 0.5291537642478943, 0.5250729918479919, 0.14970098435878754, 0.5161038041114807, -0.36061784625053406, -0.5806297659873962, 0.0777299702167511, -0.5075634121894836, -0.5814495086669922, 1.594874382019043, 0.3193943202495575, 0.8757953643798828, 0.33473947644233704, 0.830536425113678, -0.0759224146604538, 0.694863498210907, -0.6272607445716858, 0.6794488430023193, 0.11360561847686768, -0.8569770455360413, -0.5165205597877502, -0.46659791469573975, -0.6289398074150085, 0.6492255330085754, -0.24669620394706726, -0.7482221126556396, -0.11911389231681824, -0.08534099161624908, -0.43145039677619934, 0.40404215455055237, -0.3622477054595947, 0.7415395975112915, -0.2883099615573883, -0.3600422441959381, 0.2204125076532364, -0.4915277063846588, 0.506016731262207, -0.3289550840854645, 0.3370581269264221, -0.0826571062207222, -0.14701291918754578, 0.5913441181182861, -0.04214940592646599, 0.4549351930618286, 0.0693759024143219, -0.20039893686771393, 0.3996838629245758, -0.05696134269237518, 0.22860874235630035, 0.32134419679641724, -0.2704635262489319, 0.0645572692155838, -0.23646855354309082, -0.16950993239879608, -0.5460019707679749, 0.7182087302207947, -0.8757175803184509, -0.6625397205352783, -0.23919150233268738, -0.33127525448799133, -0.45524150133132935, 0.08606154471635818, 0.14577443897724152, 0.25516512989997864, -0.46267926692962646, 0.24229109287261963, 0.7399190664291382, -0.16186760365962982, 0.3912627696990967, 0.47395551204681396, -0.6950928568840027, -0.6956972479820251, 0.39890843629837036, 0.36817529797554016, 0.38119304180145264, 0.40959155559539795, 0.2561480700969696, -0.4134009778499603, -0.7766916751861572, -0.5753825902938843, 0.09595158696174622, -0.7169194221496582, -0.012022838927805424, -0.3836269676685333, -0.17557433247566223, -0.28810110688209534, 0.08874258399009705, -0.22604267299175262, -0.4281894266605377, -0.286144882440567, -0.16851820051670074, -0.07581440359354019, 0.5789055228233337, 0.11750573664903641, 0.004260651767253876, -0.44636860489845276, 0.2776692509651184, 0.5984964966773987, 0.575683057308197, -0.1529822051525116, -0.4912070631980896, 0.007894651032984257, -0.17223335802555084, -0.5370593667030334, -0.8643608093261719, -0.10511036217212677, -0.160594180226326, 0.7215337753295898, 0.2721690237522125, 0.06679467111825943, 0.422923743724823, -0.7132033705711365, 0.5919005274772644, 0.1264011561870575, -0.47511017322540283, 0.5053941011428833, -0.4052215814590454, 0.2389257699251175, 0.8278806805610657, 0.43772774934768677, -0.3089984059333801, -0.3653066158294678, -0.5755707621574402, -0.43384599685668945, 0.47589418292045593, 0.33227160573005676, -0.2844432592391968, -0.029819412156939507, 0.2282259166240692, 0.10374445468187332, 0.5605601072311401, -0.6855737566947937, -0.3447054326534271, 0.013666973449289799, -0.04236258193850517, -0.32334205508232117, -0.09483791142702103, -0.2546261250972748, -0.16209296882152557, 0.5965948700904846, -0.24910897016525269, 0.06557471305131912, 0.026298794895410538, 0.02553493343293667, -0.31463098526000977, 0.7339583039283752, 0.6475885510444641, 0.9693827629089355, -0.6362853050231934, 0.09444056451320648, 0.29138684272766113, -0.32261592149734497, 0.12657667696475983, -0.02790684625506401, -0.26839566230773926, -0.16228948533535004, 0.01673802174627781, 0.4619846045970917, 0.041149917989969254, -0.6574377417564392, 0.505141019821167, -0.09091220796108246, -0.17347343266010284, -0.1906997412443161, 0.08240969479084015, 0.13750432431697845, 0.22881397604942322, 0.4033927023410797, -0.049314484000205994, -0.15089640021324158, -0.9005345702171326, 0.2137465626001358, 0.5654944181442261, -0.42118361592292786, -0.08849544078111649, 0.6146880984306335, 0.15072683990001678, -0.4681969881057739, 0.41244643926620483, -0.1746978759765625, -0.27090784907341003, 0.5930489301681519, 0.4449770748615265, 0.7353063225746155, -0.3504278361797333, 0.1781088411808014, 0.24878808856010437, 0.46408766508102417, -0.16685590147972107, 0.5060601830482483, 0.24261978268623352, -0.9084534645080566, -0.19232749938964844, -0.6521894931793213, -0.7567760348320007, 0.14889685809612274, -0.8133637309074402, 0.36773133277893066, -0.6645124554634094, -0.31457003951072693, -0.19741292297840118, -0.0022435705177485943, -0.6340829133987427, 0.13531309366226196, 0.19399835169315338, 1.0913995504379272, -0.5895665287971497, 0.729058027267456, 0.8551167845726013, -0.3262651264667511, -0.44156262278556824, -0.06404415518045425, 0.09338835626840591, -0.9104230999946594, 0.4572106599807739, 0.11676501482725143, 0.1044793426990509, -0.026044685393571854, -0.6381796002388, -0.6134525537490845, 1.3007858991622925, 0.10351134091615677, -0.5399365425109863, 0.09082231670618057, -0.0903627872467041, 0.34063297510147095, -0.6073135137557983, 0.6247907876968384, 0.4790002107620239, 0.6045798659324646, 0.26159852743148804, -1.1530414819717407, -0.1467723399400711, 0.09014735370874405, -0.30322861671447754, 0.3685753643512726, -0.9032228589057922, 1.1445395946502686, -0.25240492820739746, 0.22870241105556488, 0.13848158717155457, 0.35205385088920593, 0.7062350511550903, 0.37550920248031616, 0.42504897713661194, 0.5675011277198792, 0.8227612376213074, -0.1499062329530716, 0.6977740526199341, -0.12170805782079697, 0.4279642701148987, 1.154107689857483, -0.5403155088424683, 1.1134295463562012, 0.5632262825965881, -0.2529001235961914, 0.33066442608833313, 0.6406912803649902, 0.05898348242044449, 0.32074883580207825, 0.550893247127533, -0.04337996244430542, -0.34692156314849854, 0.06405612826347351, -0.37226030230522156, 0.6475212574005127, 0.04638802260160446, -0.09479459375143051, -0.2488356977701187, -0.0622127503156662, 0.10823620855808258, -0.01513436809182167, -0.4978136122226715, 0.5823348760604858, 0.11011339724063873, -0.6545584201812744, 0.18882858753204346, 0.12235865741968155, 0.6640270352363586, -0.6378970742225647, 0.006684104446321726, -0.30275771021842957, 0.025208264589309692, 0.00174178765155375, -0.9297733306884766, -0.23252789676189423, -0.07064714282751083, -0.022320523858070374, -0.3739608824253082, 0.5023269653320312, -0.4355086386203766, -0.3179030418395996, 0.23804610967636108, 0.8797213435173035, 0.10151571780443192, -0.09331092983484268, -0.6505491733551025, 0.06856795400381088, -0.22740165889263153, -0.23990043997764587, 0.6303381323814392, 0.37867188453674316, -0.13750459253787994, 0.6402348875999451, 0.6091153025627136, 0.10267456620931625, 0.0025953787844628096, 0.06014040857553482, 0.742792546749115, -0.5180482268333435, -0.6015977263450623, -0.9720068573951721, 0.38492804765701294, -0.05702822282910347, -0.4942922592163086, 0.8026911616325378, 0.7401960492134094, 0.7868881225585938, 0.016704872250556946, 0.5127426385879517, 0.26140573620796204, 0.3425094187259674, -0.790124237537384, 0.6864702701568604, -0.5144033432006836, 0.24420560896396637, -0.36920925974845886, -1.0169607400894165, -0.19956547021865845, 0.3131238520145416, -0.2676888704299927, 0.133711576461792, 0.7914823293685913, 0.612313985824585, 0.1557656228542328, 0.06454223394393921, 0.3755454123020172, 0.14886963367462158, 0.28148704767227173, 0.6587201356887817, 1.086080551147461, -0.18992622196674347, 0.729827344417572, 0.0958327203989029, -0.4763026535511017, -0.2310410887002945, -0.8661305904388428, -1.0118352174758911, -0.33620354533195496, -0.28468772768974304, -0.3845001459121704, 0.025273220613598824, 1.0002695322036743, 0.5213353037834167, -0.6137837171554565, -0.5725952982902527, 0.6175091862678528, 0.47031164169311523, -0.224162757396698, -0.16834940016269684, 0.11301840841770172, -0.0876685306429863, -0.41002076864242554, 0.3662155270576477, 0.3173588216304779, 0.0902329832315445, -0.3543083071708679, -0.10052986443042755, -0.3156760036945343, 0.17099779844284058, 0.6682783365249634, -0.00944275688380003, -0.60356605052948, -0.37850823998451233, 0.08820579200983047, -0.010560259222984314, 0.39256274700164795, 0.6379148364067078, -0.49707743525505066, 0.335223913192749, 0.2674522399902344, 0.6014445424079895, 0.36826184391975403, 0.0196858961135149, 0.15340453386306763, -0.7481388449668884, -0.27679184079170227, 0.20198529958724976, 0.3022605776786804, 0.030411778017878532, -0.0028071037959307432, 0.6453056931495667, 0.2949197292327881, -0.5218526721000671, -0.8051480650901794, 0.31830987334251404, -0.9431829452514648, -0.2558680474758148, 1.2217893600463867, 0.21010176837444305, -0.1589341163635254, 0.13497813045978546, -0.23553425073623657, -0.22264407575130463, -0.29817497730255127, 0.5013721585273743, 1.080118179321289, -0.24346239864826202, -0.17459090054035187, -0.8635155558586121, 0.27795878052711487, 0.10270065069198608, -0.8854897618293762, -0.10907062888145447, 0.4489436149597168, 0.2920496463775635, 0.17945338785648346, 0.9902675747871399, -0.25533199310302734, 0.15257996320724487, -0.3270111680030823, -0.05841875821352005, -0.031732916831970215, -0.6175569295883179, -0.3399924039840698, 0.6749143600463867, 0.29629993438720703, -0.3242891728878021 ]
http://arxiv.org/abs/2406.07544v2
http://arxiv.org/pdf/2406.07544v2
Situational Awareness Matters in 3D Vision Language Reasoning
2024-06-11T17:59:45
2024-06-26T17:59:50
Yunze Man, Liang-Yan Gui, Yu-Xiong Wang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Being able to carry out complicated vision language reasoning tasks in 3D space represents a significant milestone in developing household robots and human-centered embodied AI. In this work, we demonstrate that a critical and distinct challenge in 3D vision language reasoning is situational awareness, which incorporates two key components: (1) The autonomous agent grounds its self-location based on a language prompt. (2) The agent answers open-ended questions from the perspective of its calculated position. To address this challenge, we introduce SIG3D, an end-to-end Situation-Grounded model for 3D vision language reasoning. We tokenize the 3D scene into sparse voxel representation and propose a language-grounded situation estimator, followed by a situated question answering module. Experiments on the SQA3D and ScanQA datasets show that SIG3D outperforms state-of-the-art models in situation estimation and question answering by a large margin (e.g., an enhancement of over 30% on situation estimation accuracy). Subsequent analysis corroborates our architectural design choices, explores the distinct functions of visual and textual tokens, and highlights the importance of situational awareness in the domain of 3D question answering.
[ -0.48618966341018677, -0.772535502910614, 1.0373661518096924, 0.16325898468494415, 0.07140818983316422, -0.26314371824264526, 0.34205251932144165, -0.599041759967804, -0.24248021841049194, 0.48871779441833496, -0.07463286072015762, -0.5294086337089539, -0.41009822487831116, 0.05447648838162422, -0.10749029368162155, 0.140947625041008, -0.05089971050620079, -0.15580107271671295, -0.38691097497940063, -0.3218618929386139, -0.5439199805259705, -0.6779436469078064, -0.49071288108825684, 0.1858067810535431, 0.2394140660762787, 0.4182799756526947, 0.9233953356742859, 0.49124377965927124, 0.39089488983154297, 0.43951717019081116, -0.17045126855373383, 0.02986852452158928, 0.17990848422050476, 0.04297817125916481, -0.10199306160211563, -0.39354532957077026, -0.379154235124588, -0.06609746813774109, 0.42783933877944946, 0.9397574067115784, -0.020457468926906586, -0.15047180652618408, -0.08306103199720383, 0.6588427424430847, -0.7088607549667358, 0.3193794786930084, -0.23996222019195557, 0.20951221883296967, 0.35115617513656616, -0.06616624444723129, -0.08955726027488708, 0.037907280027866364, 0.2762245237827301, -0.7830440402030945, 0.23897719383239746, 0.08363267034292221, 0.5836789011955261, 0.7652330994606018, -0.4691096842288971, 0.00854906253516674, -0.5839543342590332, 0.44945013523101807, -0.4154950976371765, 0.5297514200210571, 0.25010189414024353, 0.26332393288612366, -0.29367706179618835, -0.37945324182510376, -0.6152980923652649, -0.043596282601356506, -0.02581656537950039, 0.43517249822616577, -0.07721072435379028, 0.2626211941242218, 0.19605208933353424, -0.011533856391906738, -0.5089417695999146, -0.22803723812103271, -0.42654600739479065, -0.20948903262615204, 0.3054148852825165, -0.1354491412639618, 0.4113638401031494, -0.40357276797294617, -0.6317160129547119, -0.2582799792289734, -0.5201088786125183, 0.2511695921421051, -0.05260101333260536, 0.01781061477959156, -0.1687777191400528, 0.6561350226402283, -0.09335862100124359, 0.8881701231002808, -0.0739559754729271, 0.19322164356708527, 0.11886255443096161, -0.20666393637657166, -0.1355505883693695, 0.1341075450181961, 0.3561859428882599, 0.6297017931938171, 0.15652334690093994, 0.28057771921157837, -0.21323524415493011, -0.14962147176265717, 0.6447468996047974, -0.28784340620040894, -0.10526375472545624, 0.5501301884651184, -0.07263553887605667, 0.05217170715332031, 0.17510564625263214, -0.3810838758945465, -0.8224153518676758, -0.2761003375053406, 0.3440224826335907, -0.08578953891992569, -0.38258063793182373, 0.44887542724609375, -0.21420885622501373, 0.6846936941146851, 0.7289291024208069, -0.5679091811180115, -0.23790094256401062, 0.69229656457901, 0.5847296714782715, 0.10850900411605835, -0.3189414441585541, -0.33178290724754333, 0.26660215854644775, -0.7598814964294434, 1.056660532951355, -0.02663297764956951, -0.40813422203063965, -0.17017558217048645, -0.02826250158250332, -0.26780450344085693, -0.5937914252281189, 0.07495324313640594, -0.209135040640831, 0.36986029148101807, -0.30581754446029663, -0.20562374591827393, -0.3346739411354065, 0.5743179321289062, -0.5021578669548035, 0.7089238166809082, 0.268035352230072, -0.7308067083358765, 0.4176448583602905, -0.6290323734283447, -0.3349076509475708, 0.49177059531211853, -0.6349640488624573, -0.03590520843863487, 0.1214703619480133, 0.3927941620349884, 0.6021021604537964, 0.12936730682849884, 0.20694486796855927, -0.20772027969360352, -0.35434573888778687, 0.022007755935192108, -0.3170541822910309, 0.5250505208969116, 0.15462130308151245, -0.3771918714046478, 0.14493539929389954, -0.4286675751209259, -0.06662590056657791, 0.08740142732858658, -0.2183111608028412, -0.2617601156234741, 0.2016754299402237, -0.5204067826271057, 0.1957818865776062, 0.48932766914367676, -0.2597992420196533, -0.20000433921813965, -0.5312117338180542, -0.02193821407854557, 0.5987532734870911, 0.15146802365779877, 0.6043035984039307, 0.000261208217125386, 0.6035559773445129, 0.07611829042434692, 0.2582891285419464, -0.2245613932609558, -0.768218457698822, -0.6397385597229004, -0.10476040840148926, -0.6100866794586182, 0.822216808795929, -0.8212584853172302, 0.11504853516817093, 0.015099654905498028, -0.040782779455184937, -0.19107221066951752, -0.1832652986049652, 0.38814640045166016, 0.48215845227241516, 0.20642614364624023, 0.35321521759033203, -0.35905587673187256, -0.9682029485702515, 0.0896391049027443, -0.8310897946357727, -0.005851325113326311, 0.35551226139068604, 0.1277739554643631, -0.04980543628334999, 0.8894569277763367, -0.5535352230072021, -0.05848947539925575, -0.5437505841255188, 0.024252723902463913, -0.06024455279111862, 0.42529886960983276, 0.7248324751853943, -1.155928611755371, 0.04797026142477989, 0.30845072865486145, -1.2456996440887451, -0.12308070063591003, -0.2515212893486023, -0.07559537142515182, 0.2460431009531021, 1.1181285381317139, -0.6023579239845276, 0.5438255667686462, 0.48469385504722595, -0.6452040076255798, 0.05806528776884079, -0.4041246771812439, 0.25765261054039, -1.1030150651931763, -0.18478204309940338, 0.05088162049651146, -0.1443297266960144, -0.6069155335426331, 0.2210797369480133, -0.16111363470554352, -0.1501837819814682, -0.7654181718826294, 0.8412526249885559, -0.4518294930458069, -0.31991812586784363, -0.330279141664505, 0.4968007206916809, 0.2774963676929474, 0.6100155711174011, 0.3287580609321594, 0.983874499797821, 0.4913559556007385, -0.8035703897476196, 0.12623973190784454, 0.3609229624271393, -0.5040251016616821, 0.5858097076416016, -0.6737979054450989, -0.1437261402606964, -0.13126488029956818, -0.10907008498907089, -0.8986966013908386, -0.315811425447464, 0.48330846428871155, -0.5784862041473389, -0.17679157853126526, -0.13378144800662994, -0.2872842252254486, -0.3493393063545227, 0.2168344408273697, 0.3571314811706543, 0.138864204287529, -0.570321261882782, 0.729356050491333, 0.6806266903877258, 0.05316739156842232, -0.538024365901947, -0.3943760097026825, 0.0435456857085228, -0.17854620516300201, -0.5448738932609558, -0.2590877413749695, 0.023410804569721222, -0.8387275338172913, -0.2340487688779831, -0.4666454792022705, -0.08115765452384949, 0.5194462537765503, 0.419249564409256, 0.13130131363868713, -0.22753983736038208, -0.04722194746136665, -0.3298962712287903, -0.31186842918395996, 0.3780144155025482, -0.2684157192707062, 0.07585857063531876, -0.8137799501419067, -0.7229965925216675, -0.129004567861557, 0.3920229375362396, 0.7162407636642456, 0.14687293767929077, 0.5834867358207703, 0.20512184500694275, -0.60114985704422, 0.08828917890787125, -0.3814620077610016, 0.037899188697338104, -0.5172743797302246, 0.5934098362922668, -0.43450284004211426, -0.8249063491821289, 0.5091432929039001, 0.13352161645889282, 0.0181554164737463, 0.33206114172935486, 0.20991311967372894, -0.500159502029419, 1.3491731882095337, 0.6494240760803223, 0.3791040778160095, 0.24637389183044434, -0.14567676186561584, 0.5506719350814819, -0.8581455945968628, -0.5337754487991333, -0.33441686630249023, -0.0044989213347435, -0.1467827707529068, -0.6102902293205261, 0.7693224549293518, 0.261027455329895, -0.25881481170654297, 0.3955812454223633, -0.3269038200378418, 0.6074444651603699, 0.2713068723678589, -0.2249496877193451, -0.05953245237469673, -0.4303068518638611, -0.14502190053462982, 0.30623313784599304, -0.8458814024925232, -0.6054458618164062, 0.1091541051864624, 0.2855623960494995, 0.2612922787666321, 0.26359692215919495, 0.21879670023918152, 0.045113932341337204, -0.1972655951976776, -0.657285213470459, 0.8814038038253784, 0.2662303149700165, -0.4620850384235382, -0.4800119698047638, -0.2268787920475006, -0.9020516872406006, 0.6871384382247925, 0.165592759847641, -0.6048840284347534, 0.4836241602897644, 0.18106980621814728, -0.5507446527481079, 0.23165729641914368, -1.0013978481292725, 1.2053710222244263, -0.3674883246421814, -0.09268727898597717, 0.07784731686115265, -0.6444767713546753, 0.028036633506417274, 0.2812584638595581, 0.3080594539642334, -0.28450697660446167, 0.03110029548406601, 0.24252864718437195, -0.363162636756897, 0.8844245672225952, -0.2677174508571625, -0.4043203890323639, 0.6188724637031555, 0.3238958716392517, 0.05790204927325249, 0.29236358404159546, 0.26081058382987976, 0.28054529428482056, 0.01799766905605793, -0.37189310789108276, -0.7149394750595093, 0.4424450397491455, -0.6991859674453735, -1.171282410621643, -0.5903628468513489, -0.30275237560272217, -0.33211132884025574, 0.11873478442430496, 0.22719138860702515, 0.31420817971229553, -0.13975834846496582, 0.3500366806983948, 0.7716655135154724, -0.4313862919807434, 0.34263044595718384, 0.3862743079662323, -0.3542325794696808, 0.04109641909599304, 0.5623239874839783, -0.29699546098709106, 0.324918270111084, 0.505075991153717, 0.18777522444725037, -0.3807015120983124, -0.33085596561431885, -0.6883458495140076, -0.0951547920703888, -1.099687933921814, 0.002488028258085251, -0.8002017736434937, -0.4499402344226837, -0.2301965355873108, -0.8317358493804932, -0.5287060737609863, -0.3197425305843353, -0.25581085681915283, -0.35311058163642883, 0.025324571877717972, 0.6857002377510071, -0.0712757557630539, 0.10647661238908768, -0.6595413684844971, 0.5826842784881592, 0.4901261627674103, 0.1926712542772293, -0.31901320815086365, -0.3742661774158478, -0.0652972161769867, 0.15340003371238708, 0.3532622456550598, -0.6073259115219116, 0.0726516991853714, -0.4004773199558258, 0.839726448059082, 0.3589910566806793, 0.15518170595169067, 0.6851997971534729, -0.10632514208555222, 0.889812707901001, -0.011687476187944412, -0.6460924744606018, 0.7771911025047302, -0.516173779964447, 0.7950330972671509, 0.44237205386161804, -0.3018936812877655, -0.5308032035827637, -0.5711902379989624, -0.5205978155136108, -0.9340248703956604, 0.70673006772995, 0.3241927921772003, -0.09721498936414719, -0.428916335105896, 0.4120231866836548, -0.43932411074638367, -0.012663458473980427, -0.6893957853317261, 0.12408292293548584, -0.4651108384132385, 0.1518593728542328, 0.12183037400245667, -0.08971768617630005, -0.19667162001132965, -0.1699102222919464, 0.20973461866378784, -0.4398117661476135, 0.29433029890060425, 0.3951956033706665, -0.09023958444595337, 0.22782358527183533, 0.10334931313991547, 0.623528242111206, 0.5154703855514526, -0.12766903638839722, 0.3896818161010742, 0.4066831171512604, -0.3584253489971161, 0.035954549908638, -0.2788460850715637, -0.017169468104839325, -0.4933624565601349, 0.4553719758987427, 0.6461895108222961, 0.3601219058036804, -0.6846813559532166, 0.8234058022499084, -0.1362723857164383, -0.19708189368247986, -0.5536947250366211, 0.2605474293231964, -0.08067392557859421, 0.3955141007900238, 0.12041152268648148, 0.4428651034832001, 0.12996281683444977, -0.27935847640037537, 0.07299111038446426, 0.2966096103191376, -0.5489073991775513, -0.17002452909946442, 0.7612515091896057, 0.1847781240940094, -0.007239985279738903, 0.48617830872535706, -0.1424407809972763, -0.6745546460151672, 1.178154706954956, 0.29347118735313416, 0.9798460006713867, -0.08397235721349716, 0.40441685914993286, 0.481358140707016, 0.47672656178474426, -0.1947377771139145, 0.3269909918308258, -0.20001478493213654, -1.2563292980194092, 0.02478845790028572, -0.40184733271598816, -0.4849470257759094, -0.157272070646286, -0.3330451548099518, 0.054168254137039185, -0.7381121516227722, 0.2142670452594757, -0.4489023685455322, -0.4026801288127899, -0.40845853090286255, 0.4007328152656555, 0.37749409675598145, 0.4831463694572449, -0.46528738737106323, 0.23141677677631378, 0.970607340335846, -0.0686158612370491, -0.7054059505462646, 0.1615004688501358, 0.1310563087463379, -0.8623985648155212, 0.39233213663101196, 0.36874717473983765, -0.986002504825592, -0.20637783408164978, -0.5996401309967041, -1.08408522605896, 0.936453104019165, 0.23026975989341736, -0.022142451256513596, 0.3368986248970032, 0.024643568322062492, 0.6703159809112549, -0.2134498655796051, -0.18136568367481232, 0.3187253773212433, 0.48704496026039124, 0.41682708263397217, -0.399231493473053, -0.3258309066295624, -0.5949469804763794, 0.05267291143536568, 0.03063296526670456, -0.5687407851219177, 0.3611105680465698, -0.48079726099967957, -0.4822846055030823, -0.15072965621948242, 0.8109784722328186, 0.42310965061187744, 0.3419913351535797, 0.7035403847694397, 0.257107138633728, 0.482881098985672, -0.1116265207529068, 1.33924400806427, -0.23967279493808746, -0.36551523208618164, 0.9467513561248779, -0.44498777389526367, 0.5759198069572449, 0.3059781491756439, 0.30188339948654175, 0.16999755799770355, 0.5651895403862, 0.2941927909851074, 0.30700400471687317, -0.2666848301887512, -0.1854047030210495, -0.5358332395553589, 0.11456872522830963, -0.27111172676086426, 0.7531603574752808, 0.46181416511535645, 0.3120418190956116, -0.029178567230701447, 0.1542230099439621, -0.09195946902036667, 0.23697790503501892, -0.23508428037166595, 0.9639489650726318, 0.027397194877266884, -0.8203253149986267, 0.21010194718837738, -0.019125523045659065, -0.2502588629722595, -0.3224555552005768, -0.12073323875665665, -0.4043026864528656, 0.2843712866306305, 0.0663391575217247, -1.0817781686782837, 0.534878134727478, -0.19926273822784424, 0.0729682520031929, -0.4980509877204895, 0.3656372129917145, -0.08419140428304672, -0.34110575914382935, 0.36115169525146484, 0.6985684633255005, 0.19516752660274506, -0.30085238814353943, -0.4716334342956543, -0.19656389951705933, -0.12194684892892838, -0.2545679211616516, 0.18533509969711304, 0.8184694051742554, -0.3143535256385803, 0.8453954458236694, 0.4182450473308563, -0.29454895853996277, 0.011394700966775417, 0.27832308411598206, 0.4992120563983917, -0.6233564615249634, -0.6371170282363892, -0.4027245044708252, 0.3870970606803894, 0.09880055487155914, -0.4652835428714752, 0.7017062902450562, 0.4508412480354309, 0.6375409960746765, 0.15532517433166504, 0.7063440084457397, 0.029316997155547142, 0.12498265504837036, -0.6727962493896484, 0.43521153926849365, -0.6693803071975708, 0.5622603297233582, -0.14831934869289398, -0.9240296483039856, -0.7047130465507507, 1.1242258548736572, -0.31395289301872253, 0.09091547131538391, 0.5184959769248962, 0.6616636514663696, 0.1940670758485794, 0.011521023698151112, 0.6960574984550476, 0.05516800284385681, 0.3818361759185791, 0.428993821144104, 1.0812417268753052, -0.24123835563659668, 0.3208576738834381, -0.10206900537014008, 0.007361209485679865, -0.08621298521757126, -0.7950270175933838, -0.7545804977416992, -0.9893433451652527, -0.40122270584106445, -0.16418400406837463, -0.18008002638816833, 0.8138974905014038, 0.6455786824226379, -0.6587099432945251, -0.011915406212210655, -0.3124730885028839, 0.34194377064704895, -0.26684489846229553, -0.20056216418743134, 0.2664816379547119, -0.08377692103385925, -0.4932100176811218, 0.8250581622123718, 0.7832803726196289, 0.4500371217727661, -0.17510201036930084, -0.19162817299365997, -0.13943123817443848, 0.14013178646564484, 0.5981303453445435, 0.48263007402420044, -0.8015755414962769, -0.8442720174789429, 0.10809120535850525, -0.3855550289154053, 0.2231568843126297, 0.6212790012359619, -0.8484984040260315, 0.5909944176673889, 0.3984772861003876, 0.41546565294265747, -0.03370654582977295, 0.3630158007144928, 0.804377019405365, -0.8148379921913147, 0.4385136663913727, 0.1532680243253708, 0.6669782400131226, 0.5683545470237732, -0.6896811127662659, 0.5515017509460449, 0.12957429885864258, -0.250531405210495, -0.3224294185638428, 0.32291755080223083, -0.8839863538742065, -0.6191900968551636, 1.2245548963546753, 0.053874485194683075, -0.4125598073005676, -0.48532000184059143, -0.3740803003311157, -0.07335007190704346, 0.1374800205230713, 0.7984437346458435, 0.7601985931396484, -0.0994030311703682, -0.6580203771591187, -0.6442227363586426, 0.39511826634407043, 0.37055569887161255, -1.0087815523147583, 0.07627972215414047, 0.7525137662887573, -0.2868635058403015, 0.3026394844055176, 0.6693298816680908, -0.1452677845954895, 0.46520644426345825, 0.12240732461214066, 0.12259882688522339, 0.0708455741405487, -0.901492714881897, -0.31922268867492676, 0.2743178904056549, -0.1486033797264099, -0.37807124853134155 ]
http://arxiv.org/abs/2406.07524v1
http://arxiv.org/pdf/2406.07524v1
Simple and Effective Masked Diffusion Language Models
2024-06-11T17:51:40
2024-06-11T17:51:40
Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T Chiu, Alexander Rush, Volodymyr Kuleshov
cs.CL
cs.CL, cs.AI, cs.LG
While diffusion models excel at generating high-quality images, prior work reports a significant performance gap between diffusion and autoregressive (AR) methods in language modeling. In this work, we show that simple masked discrete diffusion is more performant than previously thought. We apply an effective training recipe that improves the performance of masked diffusion models and derive a simplified, Rao-Blackwellized objective that results in additional improvements. Our objective has a simple form -- it is a mixture of classical masked language modeling losses -- and can be used to train encoder-only language models that admit efficient samplers, including ones that can generate arbitrary lengths of text semi-autoregressively like a traditional language model. On language modeling benchmarks, a range of masked diffusion models trained with modern engineering practices achieves a new state-of-the-art among diffusion models, and approaches AR perplexity. We release our code at: https://github.com/kuleshov-group/mdlm
[ -0.28858691453933716, -0.8268555998802185, 0.4953826069831848, 0.18648934364318848, -0.20680713653564453, 0.3561334013938904, -0.00788081530481577, -0.2974834740161896, 0.03814171999692917, 0.45647239685058594, -0.16697710752487183, -0.3904840350151062, -1.0294398069381714, -0.22594572603702545, -0.609682559967041, 0.550304651260376, -0.038980353623628616, -0.0030987693462520838, 0.1489446759223938, -0.11292612552642822, 0.005635061301290989, -0.26913464069366455, -0.9103403091430664, -0.4889959990978241, 0.3175448477268219, -0.14769992232322693, 0.48846739530563354, 1.0174546241760254, 0.19312429428100586, 0.2611553370952606, -0.1861734539270401, 0.14874988794326782, -0.2496165633201599, 0.15419167280197144, 0.21902060508728027, 0.007457416038960218, -0.224387064576149, 0.05578117445111275, 0.7309160828590393, 0.791342556476593, -0.6464836597442627, -0.19119912385940552, 0.08295111358165741, 0.7303097248077393, -0.737788736820221, -0.06089622527360916, -0.4338601529598236, 0.04936407506465912, -0.34448501467704773, 0.25340452790260315, -0.48492103815078735, -0.26462849974632263, -0.07114890962839127, -0.24724991619586945, 0.19957147538661957, -0.0032983338460326195, 0.5487756133079529, 0.36652886867523193, -0.5361725687980652, -0.30956214666366577, -0.8091209530830383, 0.5699204802513123, -0.6740384101867676, 0.6328079700469971, 0.38893669843673706, 0.5159898996353149, 0.09006520360708237, -0.6096052527427673, -0.5531178712844849, -0.05398675054311752, -0.02255270443856716, -0.021204229444265366, -0.40471768379211426, 0.039541393518447876, 0.011482798494398594, 0.3428860604763031, -0.6647603511810303, 0.12968283891677856, -0.12834970653057098, -0.17688219249248505, 0.5421640276908875, -0.009005909785628319, 0.07538790255784988, 0.2612224519252777, -0.25790172815322876, -0.009184306487441063, -0.5286006331443787, -0.2607061266899109, 0.4923366606235504, -0.16086317598819733, -0.31280970573425293, 0.26013970375061035, -0.41020071506500244, 0.978307843208313, -0.0031926799565553665, -0.3057490885257721, 0.14306190609931946, 0.0165549423545599, -0.384933739900589, -0.26636743545532227, 0.6362007260322571, -0.18277710676193237, -0.06856342405080795, -0.2443953901529312, -0.5274653434753418, 0.08156822621822357, -0.05206746235489845, -0.7275494337081909, -0.7945067286491394, -0.10228078067302704, -0.4717482924461365, -0.2782352566719055, -0.3298344314098358, -0.7594467997550964, -0.32812342047691345, -0.01847212016582489, 0.5501492619514465, -0.1946997344493866, -0.5754694938659668, 0.468703955411911, -0.13877283036708832, -0.03571833297610283, 0.4162682592868805, -0.722697913646698, 0.62123042345047, 0.27686384320259094, 0.8798261880874634, -0.3291972875595093, 0.15070684254169464, -0.5353506207466125, 0.03996330127120018, -0.40289807319641113, 0.8785221576690674, -0.6216123104095459, -0.26294371485710144, 0.04421549662947655, -0.32466748356819153, -0.25503191351890564, -0.6931283473968506, 0.14255017042160034, -0.6777640581130981, 0.1430772989988327, 0.4020894467830658, -0.3528027832508087, -0.22656278312206268, -0.02506166882812977, -0.4983848035335541, 1.0690596103668213, -0.0005365557735785842, -0.3275264799594879, 0.07232435047626495, -0.7762924432754517, -0.3094179928302765, 0.07084184885025024, 0.0172637440264225, -0.44875702261924744, 0.03843525052070618, 0.033407680690288544, 0.4253406226634979, -0.024355914443731308, 0.18688195943832397, -0.09599697589874268, 0.019547849893569946, 0.23973189294338226, -0.5748374462127686, 0.7684086561203003, 0.6095285415649414, -0.41377246379852295, -0.27131909132003784, -0.9495841264724731, -0.2344704419374466, 0.07212367653846741, -0.34241294860839844, -0.5576967597007751, -0.09119081497192383, 0.014852719381451607, 0.16613925993442535, -0.10808786749839783, -0.35296183824539185, 0.01911749690771103, -0.2916105389595032, 0.19120551645755768, 0.708880603313446, -0.06425082683563232, 0.8622457385063171, -0.12083999067544937, 0.6361932158470154, 0.13306304812431335, -0.02809859625995159, -0.16816900670528412, -0.7198666930198669, -0.8640129566192627, -0.8644328117370605, 0.5448333621025085, 0.27742457389831543, -0.9290597438812256, 0.20373068749904633, 0.16999651491641998, -0.4999401867389679, -0.6887881755828857, 0.24430370330810547, 0.569611668586731, 0.6407883763313293, 0.04855676740407944, -0.6846277713775635, -0.42861208319664, -0.8449928164482117, -0.14496031403541565, 0.15455439686775208, 0.018857207149267197, -0.01876724511384964, 0.4366052448749542, -0.3453085124492645, 0.7917323708534241, -0.6278588771820068, -0.03752458468079567, -0.08035323023796082, 0.41315412521362305, -0.07536450028419495, 0.632034957408905, 0.5440280437469482, -0.830986499786377, -0.7580496668815613, -0.16562944650650024, -0.6478503346443176, -0.4192381799221039, 0.11939208954572678, -0.23600360751152039, 0.2696436643600464, 0.4240173399448395, -0.5085790157318115, 0.5163246989250183, 0.8036643862724304, -0.24536915123462677, 0.32624998688697815, -0.24186725914478302, 0.02801608294248581, -0.7738900780677795, -0.025084253400564194, 0.19250282645225525, -0.6335505247116089, -0.9156967997550964, 0.12065506726503372, 0.1172507032752037, -0.12269099056720734, -0.42824459075927734, 0.8259530067443848, -0.7842364311218262, 0.1955152004957199, -0.46548786759376526, 0.03791088983416557, -0.06713536381721497, 0.32597291469573975, 0.23124966025352478, 0.6523070335388184, 0.9189223051071167, -0.9591575860977173, 0.04488549008965492, -0.10113575309515, -0.4908111095428467, 0.4647696912288666, -0.545219898223877, 0.20054617524147034, -0.32003408670425415, 0.05561888590455055, -1.140522837638855, -0.04276079311966896, 0.48148879408836365, -0.2116229385137558, 0.6338909268379211, -0.4035237729549408, -0.4580756723880768, -0.04822753369808197, -0.002740350551903248, 0.48938292264938354, 1.046423316001892, -0.4205445945262909, 0.6316796541213989, 0.5588387846946716, -0.012638813816010952, -0.3236284554004669, -0.8101645708084106, 0.06845317780971527, -0.2342301309108734, -0.42563098669052124, 0.3716264069080353, -0.3516548275947571, -0.36806803941726685, -0.025954540818929672, 0.0306970477104187, -0.39289629459381104, 0.14230991899967194, -0.06434150040149689, -0.2779527008533478, -0.12174586206674576, -0.019236978143453598, 0.037044424563646317, -0.2492891103029251, -0.08354831486940384, -0.4521338641643524, 0.6037087440490723, 0.26267802715301514, -0.3882749676704407, -0.2714586853981018, 0.532358705997467, 0.3222769796848297, -0.19508732855319977, 0.9366959929466248, 0.28911685943603516, -0.42763471603393555, -0.30643194913864136, -0.7753775715827942, 0.02336209826171398, -0.5036059617996216, 0.10748527199029922, -0.43120795488357544, -0.6755092144012451, 0.6192178130149841, -0.10058850795030594, -0.128167524933815, 0.27116629481315613, 0.4833120107650757, -0.10166367143392563, 1.1985934972763062, 0.8658621907234192, 0.23245994746685028, 0.5287252068519592, -0.3174930810928345, 0.12028618156909943, -0.8256597518920898, -0.22866162657737732, -0.5095077753067017, 0.10955312103033066, -0.2549772262573242, -0.5511482357978821, 0.2374081164598465, 0.0524410754442215, -0.13364845514297485, 0.12896350026130676, -0.5337007641792297, 0.4638771116733551, 0.48762065172195435, 0.040860746055841446, 0.3098689019680023, 0.35107311606407166, -0.26770472526550293, -0.05398020148277283, -0.9609996676445007, -0.5117789506912231, 0.6207720041275024, 0.5407484173774719, 1.055646538734436, 0.23426732420921326, 0.8886328339576721, 0.5009342432022095, 0.30201640725135803, -0.3438597023487091, 0.41207826137542725, -0.032943714410066605, -0.38415926694869995, -0.0808856412768364, -0.4881714880466461, -0.8648310899734497, 0.43060821294784546, 0.004856830462813377, -0.38652127981185913, 0.4235718250274658, 0.24468272924423218, -0.14743290841579437, 0.2573263645172119, -0.8102815747261047, 0.7151824831962585, 0.09187323600053787, -0.13626086711883545, 0.035255156457424164, -0.38770177960395813, 0.4468348026275635, -0.28608253598213196, 0.4460848867893219, 0.0330025851726532, -0.12699146568775177, 0.7407438158988953, -0.39730581641197205, 0.7696728110313416, -0.25994011759757996, -0.03398529812693596, 0.11347741633653641, 0.3656265139579773, 0.46237912774086, -0.33367013931274414, -0.0375993549823761, 0.14015433192253113, -0.5249916911125183, -0.5712012052536011, -0.612698495388031, 0.5275242924690247, -0.5070779323577881, -0.4739367961883545, -0.4421781301498413, -0.21090558171272278, 0.21969924867153168, 0.17628733813762665, 0.3079099953174591, 0.42373937368392944, 0.07124603539705276, -0.10402031242847443, 1.2077336311340332, -0.019134311005473137, 0.7765621542930603, 0.8174355626106262, -0.24754057824611664, -0.4114701449871063, 0.5450649261474609, 0.22176072001457214, 0.5775704383850098, 0.260412335395813, 0.22418616712093353, -0.30818232893943787, -0.782447338104248, -0.6535190939903259, 0.2613297700881958, -0.7848214507102966, -0.16700869798660278, -1.0646148920059204, -0.4298311769962311, -0.44920608401298523, -0.11095428466796875, -0.4950653612613678, -0.5150256752967834, -0.1109674721956253, 0.12974593043327332, 0.32074862718582153, 0.8676665425300598, -0.26400381326675415, 0.473930686712265, -0.42140647768974304, 0.33065375685691833, 0.5500457882881165, 0.43442997336387634, 0.09309100359678268, -0.740686297416687, -0.363334059715271, 0.07323192059993744, -0.13410726189613342, -0.9259949326515198, 0.5422232747077942, 0.2937425673007965, 0.8802809119224548, 0.3218218982219696, -0.02506016194820404, 0.6517035961151123, -0.6394920945167542, 0.5963841080665588, 0.1884537637233734, -0.881898045539856, 0.469825804233551, -0.24204933643341064, 0.46827590465545654, 0.25142037868499756, 0.32176104187965393, -0.32268694043159485, -0.6115787625312805, -0.5003640055656433, -0.6653306484222412, 0.41818997263908386, 0.5687559843063354, 0.10657311975955963, -0.02741733007133007, 0.12677539885044098, 0.051633741706609726, 0.2898268401622772, -0.9360557794570923, -0.6413347125053406, -0.0021447078324854374, -0.23283059895038605, -0.06200507655739784, -0.4112270176410675, -0.04708649963140488, -0.16529692709445953, 0.8587428331375122, 0.25272229313850403, 0.3627949059009552, 0.1305660754442215, -0.3530685603618622, -0.044252194464206696, -0.03161795437335968, 0.8700412511825562, 0.35138246417045593, -0.012254890985786915, 0.5582476258277893, 0.01010805182158947, -0.5936742424964905, 0.443783700466156, 0.20089484751224518, -0.36826756596565247, 0.2752721309661865, 0.010638242587447166, 0.56935054063797, -0.03975389152765274, -0.3402489423751831, 0.41686612367630005, -0.059559416025877, -0.16621050238609314, -0.15766340494155884, 0.0425136461853981, 0.11200287193059921, 0.2506462633609772, 0.6027997732162476, 0.3394562304019928, 0.32968607544898987, -0.3198597729206085, 0.2203071117401123, 0.417545884847641, -0.16572551429271698, -0.025464963167905807, 0.7846115231513977, 0.2269817292690277, -0.721894383430481, 0.181142657995224, -0.6104047298431396, -0.47705337405204773, 0.44215118885040283, 0.5641649961471558, 0.9571810960769653, -0.5194499492645264, 0.32401272654533386, -0.06876703351736069, 0.38629353046417236, -0.35038796067237854, -0.1969316601753235, -0.2259341925382614, -0.5576519966125488, -0.3780272901058197, -0.6437222957611084, -0.1655655950307846, -0.1576458364725113, -0.2849697470664978, -0.07945642620325089, -0.18516609072685242, 0.04405055567622185, -0.03816558048129082, -0.25767138600349426, -0.5529497265815735, 0.24401947855949402, 0.052868567407131195, 0.8615660071372986, -1.0062003135681152, 1.1111208200454712, 0.5301652550697327, -0.1570962518453598, -0.33298513293266296, -0.20581066608428955, -0.10202492028474808, -0.6341850161552429, 0.7122506499290466, 0.05041428282856941, -0.3986268639564514, 0.1666373908519745, -0.4975029230117798, -0.8321326971054077, 0.7004092335700989, 0.27779924869537354, -0.43105548620224, 0.21843057870864868, -0.0842888131737709, 0.5740842223167419, -0.6972854137420654, 0.17215420305728912, 0.31909167766571045, 0.11505015194416046, 0.19301749765872955, -0.592988133430481, -0.24142952263355255, -0.3003942668437958, 0.3112075626850128, 0.34960612654685974, -0.4037487804889679, 0.6911724805831909, 0.32029592990875244, -0.4411587417125702, -0.0565330944955349, 0.49687302112579346, 0.18091987073421478, 0.5806878209114075, 0.4602508246898651, 0.6241235733032227, 0.6334905028343201, 0.015316843055188656, 0.9910849928855896, -0.04731806740164757, 0.1599644124507904, 0.9689764976501465, -0.27483680844306946, 0.6672463417053223, 0.27148646116256714, -0.033654313534498215, 0.6443349719047546, 0.5080947279930115, 0.32900601625442505, 1.0798918008804321, 0.1376064121723175, -0.5131809711456299, -0.25431394577026367, 0.19126540422439575, -0.23987962305545807, 0.18939751386642456, 0.10889849066734314, -0.4224652051925659, -0.2944892346858978, 0.37199389934539795, 0.057561393827199936, 0.3076249957084656, -0.09164396673440933, 0.844847559928894, 0.07003094255924225, -0.39653268456459045, 0.6523202657699585, 0.17724807560443878, 0.9324492812156677, -0.5899768471717834, -0.06953959167003632, -0.46793320775032043, 0.020759068429470062, 0.07405004650354385, -0.39045336842536926, 0.4380899667739868, -0.009029862470924854, -0.20257943868637085, -0.6589041948318481, 0.6882357597351074, -0.7099693417549133, -0.5151454210281372, 0.1280554085969925, 0.41420191526412964, 0.3697803318500519, -0.01178784016519785, -0.6324624419212341, 0.03618843853473663, -0.1157860979437828, -0.08386881649494171, 0.3777816891670227, 0.2542905807495117, 0.21766789257526398, 0.8609210252761841, 0.5208573341369629, 0.15472380816936493, 0.48979151248931885, -0.06622909009456635, 0.6137825846672058, -0.3223479390144348, -0.45772814750671387, -0.9773944020271301, 0.6592400074005127, -0.2568153440952301, 0.010828353464603424, 0.7892645597457886, 0.777500569820404, 0.5678431391716003, -0.10429635643959045, 0.6038723587989807, 0.1682877391576767, 0.6594828367233276, -0.738736093044281, 1.0635384321212769, -0.4252966344356537, 0.4728507399559021, -0.08153709769248962, -0.8958353400230408, -0.3507497012615204, 0.9244898557662964, -0.03157587721943855, 0.22646725177764893, 0.49765369296073914, 0.9762925505638123, -0.24930502474308014, -0.6334244608879089, 0.5615262985229492, 0.0892961248755455, 0.31027472019195557, 0.3814880847930908, 0.8366954922676086, -0.7624508142471313, 0.25353822112083435, -0.40677350759506226, -0.43168577551841736, -0.08647747337818146, -1.0356825590133667, -0.8669602274894714, -0.6570910215377808, -0.8836287260055542, -0.29636871814727783, 0.31524658203125, 0.45821964740753174, 1.2563709020614624, -0.4063749313354492, -0.27682632207870483, -0.29340890049934387, 0.2315603792667389, -0.1907035857439041, -0.19905830919742584, 0.125179260969162, -0.15745684504508972, -0.7268550395965576, 0.3474178612232208, 0.2690713703632355, 0.5305549502372742, -0.5408886075019836, -0.21616536378860474, -0.30268311500549316, 0.341190904378891, 0.6305180788040161, 0.19674116373062134, -0.5800914168357849, -0.014266269281506538, -0.08582376688718796, -0.3555983006954193, 0.04456968978047371, 0.618503987789154, -0.8152167201042175, 0.7101715803146362, 0.3320598900318146, 0.40269383788108826, 0.889347493648529, -0.24501003324985504, 0.5318594574928284, -0.8376573324203491, 0.322957307100296, 0.18682348728179932, 0.11706029623746872, 0.38503989577293396, -0.19508306682109833, 0.5428059101104736, 0.2605755031108856, -0.41759639978408813, -0.9772579669952393, 0.2469327598810196, -0.6484892964363098, -0.26102152466773987, 1.1644392013549805, -0.044762346893548965, -0.13510799407958984, -0.4882464110851288, -0.12031006813049316, 0.07896731793880463, -0.32321417331695557, 0.7463606595993042, 0.640564501285553, 0.005828097462654114, -0.7043662667274475, -0.5331900715827942, 0.6223413348197937, 0.21868248283863068, -0.5991384387016296, -0.19796864688396454, 0.39801251888275146, 0.46330946683883667, 0.053110938519239426, 0.9955538511276245, -0.05574726685881615, 0.13945306837558746, 0.06764434278011322, -0.03360439091920853, -0.09380799531936646, -0.3292974829673767, -0.7436263561248779, 0.11510453373193741, 0.15546740591526031, -0.2846473157405853 ]
http://arxiv.org/abs/2406.07522v1
http://arxiv.org/pdf/2406.07522v1
Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling
2024-06-11T17:50:51
2024-06-11T17:50:51
Liliang Ren, Yang Liu, Yadong Lu, Yelong Shen, Chen Liang, Weizhu Chen
cs.CL
cs.CL, cs.LG
Efficiently modeling sequences with infinite context length has been a long-standing problem. Past works suffer from either the quadratic computation complexity or the limited extrapolation ability on length generalization. In this work, we present Samba, a simple hybrid architecture that layer-wise combines Mamba, a selective State Space Model (SSM), with Sliding Window Attention (SWA). Samba selectively compresses a given sequence into recurrent hidden states while still maintaining the ability to precisely recall memories with the attention mechanism. We scale Samba up to 3.8B parameters with 3.2T training tokens and show that Samba substantially outperforms the state-of-the-art models based on pure attention or SSMs on a wide range of benchmarks. When trained on 4K length sequences, Samba can be efficiently extrapolated to 256K context length with perfect memory recall and show improved token predictions up to 1M context length. As a linear-time sequence model, Samba enjoys a 3.73x higher throughput compared to Transformers with grouped-query attention when processing user prompts of 128K length, and 3.64x speedup when generating 64K tokens with unlimited streaming. A sample implementation of Samba is publicly available in https://github.com/microsoft/Samba.
[ -0.3508853316307068, -0.8637939095497131, 0.5349463820457458, 0.5292488932609558, -0.36330142617225647, 0.2718510329723358, 0.0330350399017334, -0.3321613371372223, 0.6543024778366089, 0.2632445991039276, -0.2315216064453125, -0.19980090856552124, -0.30751609802246094, -0.46978774666786194, -0.5407506227493286, 0.8434674143791199, -0.023520007729530334, -0.2641347646713257, -0.005245312117040157, -0.36267945170402527, -0.3719714283943176, -0.40862199664115906, -0.4649055004119873, 0.11940097063779831, 0.44467073678970337, 0.06914851814508438, 0.48596954345703125, 0.6863467693328857, -0.09911862015724182, 0.23166848719120026, -0.4020531475543976, 0.2255481481552124, -0.5751389265060425, 0.02633715607225895, -0.01135335024446249, -0.06211976706981659, -0.537942111492157, -0.03875816985964775, 1.0620547533035278, 0.607782781124115, -0.17913319170475006, 0.35239091515541077, 0.06946630030870438, 0.7226898074150085, -0.6781917810440063, -0.13399803638458252, -0.6976104974746704, 0.05951910465955734, -0.13780800998210907, -0.23330937325954437, -0.5658581852912903, -0.15697965025901794, 0.17630741000175476, -0.38149142265319824, -0.14991939067840576, 0.019296154379844666, 0.8418288826942444, 0.19916443526744843, -0.7777485251426697, 0.0673113614320755, -0.8115299940109253, 0.6845548152923584, -0.3065749704837799, 0.3378062844276428, 0.04514598101377487, 0.5066813230514526, -0.2379906326532364, -0.49312835931777954, -0.4545815587043762, -0.09714405238628387, 0.16490371525287628, 0.04858215153217316, -0.09136577695608139, 0.06496405601501465, 0.16804887354373932, 0.4476001560688019, -0.6051456928253174, -0.23791395127773285, -0.3718445897102356, -0.34160542488098145, 0.18741607666015625, 0.15976329147815704, 0.06820937991142273, 0.11705446243286133, -0.6667213439941406, 0.28025391697883606, -0.6339694857597351, 0.27011415362358093, -0.005764687433838844, 0.02451501414179802, -0.1227034404873848, 0.3548944592475891, 0.02282758802175522, 1.095314383506775, -0.03268826752901077, -0.17376834154129028, 0.09420199692249298, -0.09068207442760468, -0.4072854518890381, -0.4490584433078766, 0.3909485936164856, -0.07030335068702698, -0.3298128843307495, -0.31668102741241455, -0.1606452465057373, 0.22325141727924347, 0.3051084578037262, -0.5394247174263, 0.07876993715763092, 0.31577596068382263, -0.2624359130859375, 0.1642710566520691, -0.17170225083827972, -0.6080026030540466, -0.21039535105228424, -0.28696906566619873, 0.38280388712882996, -0.7314022183418274, -0.23005987703800201, -0.0431612990796566, 0.0565120093524456, 0.25721481442451477, 0.24167871475219727, -0.5084894299507141, 0.5139567852020264, 0.5641550421714783, 1.0710607767105103, -0.608756422996521, -0.23914387822151184, -0.855148196220398, 0.4169084131717682, -0.36702659726142883, 0.5183612704277039, -0.7370167970657349, -0.245928093791008, -0.32129430770874023, -0.1716340035200119, -0.26829779148101807, -0.24413645267486572, 0.2458907663822174, -0.8032448291778564, -0.1317802518606186, 0.03767234832048416, -0.6925187110900879, -0.2020646333694458, -0.08793329447507858, -0.5882968306541443, 1.0210776329040527, 0.264647513628006, -0.37767598032951355, 0.23376229405403137, -0.7659964561462402, -0.6641361713409424, 0.25054502487182617, -0.04529205709695816, -0.1455187052488327, 0.01241061557084322, 0.019800858572125435, 0.5006896257400513, -0.04671917110681534, 0.6343119144439697, -0.39921098947525024, -0.5922986268997192, 0.23454350233078003, -0.24822892248630524, 0.6491948366165161, 0.4020472764968872, -0.20357447862625122, 0.3232499957084656, -0.9039514660835266, -0.09519606828689575, 0.07056500762701035, -0.8852344751358032, -0.37882885336875916, -0.2677050828933716, 0.19897691905498505, 0.3662528693675995, 0.2373609095811844, -0.6254236102104187, 0.11318415403366089, -0.2719976007938385, 0.49750882387161255, 0.8565922379493713, -0.21925990283489227, 0.7304484248161316, -0.05672754347324371, 0.7747887372970581, 0.28117725253105164, 0.06684503704309464, -0.5045021772384644, -0.2914867401123047, -0.6851575374603271, -0.6380042433738708, 0.4433860182762146, 0.32955673336982727, -0.7700484991073608, 0.3922125995159149, -0.32740944623947144, -0.23686915636062622, -0.5645087361335754, 0.016303427517414093, 0.402877539396286, 0.4738050401210785, 0.1957463026046753, -0.2900104522705078, -0.5956874489784241, -1.0400588512420654, -0.04124455153942108, 0.2987237274646759, 0.0710701271891594, 0.6053663492202759, 0.38278019428253174, -0.3477342426776886, 1.2817903757095337, -0.347523957490921, -0.24480843544006348, -0.2766091823577881, -0.3512797951698303, 0.09927478432655334, 0.3614034056663513, 0.654778242111206, -0.730047881603241, -0.5832808613777161, -0.14571797847747803, -0.33635708689689636, 0.05939646065235138, -0.12558667361736298, -0.32310470938682556, 0.6103571653366089, 0.026115596294403076, -0.48735225200653076, 0.14694970846176147, 0.8295255899429321, -0.2558158040046692, 0.23217076063156128, -0.0744825005531311, -0.25433120131492615, -1.2740232944488525, 0.3152921497821808, 0.17877508699893951, -0.5241626501083374, -0.651323676109314, 0.16985191404819489, 0.5339773893356323, -0.3057887852191925, -0.5827709436416626, 0.7592893838882446, -0.6731723546981812, -0.43321821093559265, -0.45116719603538513, 0.2951009273529053, -0.3076467514038086, 0.8799362778663635, -0.09837719053030014, 0.6430137157440186, 0.7206334471702576, -0.747673749923706, 0.21114227175712585, -0.3575422167778015, -0.3131316602230072, 0.2642964720726013, -0.2601653039455414, 0.25320205092430115, 0.007564290892332792, 0.8613712787628174, -1.1912389993667603, -0.15678852796554565, -0.06344656646251678, -0.27339449524879456, 0.46636125445365906, -0.20163477957248688, -0.3706246316432953, -0.504640519618988, -0.24048076570034027, 0.2698741853237152, 0.3193591833114624, -0.6378147602081299, 0.9240196943283081, 0.9937154054641724, 0.03327702358365059, -0.7265818119049072, -0.5042838454246521, 0.14864616096019745, -0.256806343793869, -0.5533172488212585, 0.34437116980552673, -0.17273159325122833, 0.3601192831993103, -0.04295307397842407, -0.42631974816322327, 0.03769722208380699, 0.14542290568351746, 0.33310744166374207, 0.3353789448738098, -0.14589627087116241, -0.060909610241651535, 0.4214487373828888, -0.05369825288653374, -0.3508032262325287, -0.7101433873176575, 0.797077476978302, -0.5780887007713318, 0.13223664462566376, -0.07018452882766724, 0.5474569201469421, 0.5956616997718811, -0.05058639496564865, 0.9515315890312195, 0.2967999577522278, -0.3650336265563965, -0.46704763174057007, -0.4483005702495575, 0.11291680485010147, -0.47539180517196655, 0.16409337520599365, -0.6739243268966675, -1.3300265073776245, 0.6592526435852051, -0.06647157669067383, 0.0759853795170784, -0.09694353491067886, 0.38856491446495056, -0.02064906246960163, 0.938302755355835, 0.6639977693557739, -0.38368552923202515, 0.5558884739875793, -0.18888433277606964, -0.06381870806217194, -0.9958755970001221, 0.01149470079690218, 0.011603848077356815, -0.48124244809150696, -0.11024613678455353, -0.5299055576324463, 0.3453110158443451, -0.07007268071174622, -0.03766926750540733, 0.6111379861831665, -0.30012980103492737, 0.8075277209281921, 0.4767448604106903, 0.05748337507247925, -0.20722149312496185, -0.009805564768612385, -0.504608154296875, 0.14370279014110565, -0.8331655859947205, -0.38660532236099243, 0.7992298603057861, 0.47587013244628906, 0.6679878234863281, 0.1244613453745842, 0.4621042013168335, 0.18497590720653534, 0.1237364411354065, -0.5703657865524292, 0.9924542307853699, 0.03410171717405319, -0.664874792098999, -0.27636080980300903, -0.4094769060611725, -0.7527016401290894, 0.6032242178916931, 0.26559269428253174, -0.8167823553085327, -0.032211873680353165, 0.37451615929603577, -0.5136725306510925, 0.2787359952926636, -0.6368837952613831, 0.648908793926239, -0.13251133263111115, -0.3303424119949341, -0.15942245721817017, -0.9230824708938599, 0.550383985042572, -0.1625029742717743, -0.06300418823957443, 0.01252993755042553, -0.279673308134079, 0.6532111167907715, -0.005371210630983114, 0.8440706133842468, -0.24196857213974, -0.038300126791000366, 0.24447672069072723, 0.3376942276954651, 0.37917253375053406, -0.24571098387241364, 0.32434388995170593, -0.0933714359998703, -0.03524184972047806, -0.6028379797935486, -0.34730690717697144, 0.9865812659263611, -0.6254466772079468, -0.6201474666595459, -0.2502196431159973, -0.7206424474716187, -0.3336910903453827, 0.058652229607105255, -0.18677924573421478, 0.3204469084739685, -0.09621179103851318, 0.3842291235923767, 0.6877185106277466, -0.18586285412311554, 0.6199624538421631, 0.9321574568748474, -0.4023578464984894, -0.26657742261886597, 0.992175817489624, 0.2679694592952728, 0.11559753119945526, 0.5509850978851318, -0.0024851462803781033, -0.3123849034309387, -0.1757041960954666, -0.7250331044197083, 0.214792862534523, -0.6425857543945312, 0.04377574101090431, -1.0249935388565063, -0.23652924597263336, -0.49258580803871155, -0.008498162031173706, -0.39613115787506104, -0.6609663367271423, -0.05877207964658737, -0.21032308042049408, 0.12113836407661438, 0.272586852312088, -0.12464556097984314, 0.24699832499027252, -0.6707373261451721, 0.4072237014770508, 0.2080446034669876, 0.5107725858688354, 0.30598190426826477, -0.7124616503715515, -0.5232422351837158, -0.3515043556690216, -0.4183965027332306, -1.0417332649230957, 0.3970012366771698, 0.14389726519584656, 0.6541980504989624, 0.4687294363975525, -0.11184441298246384, 0.829428493976593, -0.47928565740585327, 0.8012094497680664, 0.024978503584861755, -1.0307579040527344, 0.6332129836082458, -0.36103975772857666, 0.35020503401756287, 0.12980476021766663, 0.42863020300865173, -0.47920292615890503, -0.37982866168022156, -0.45297810435295105, -1.0180083513259888, 0.9608219265937805, 0.04026022180914879, -0.0824509784579277, -0.040713146328926086, 0.16964197158813477, 0.17217500507831573, 0.05391310155391693, -0.8152393698692322, -0.3163667321205139, -0.04796547070145607, 0.02985747717320919, -0.032535143196582794, -0.32075685262680054, -0.19915470480918884, -0.24829347431659698, 0.737367570400238, -0.29212743043899536, 0.3290071487426758, -0.19643673300743103, -0.2927026152610779, -0.10409817099571228, 0.3226200342178345, 0.8404879570007324, 0.7698436379432678, -0.06070292741060257, 0.09185435622930527, 0.2469821721315384, -0.2510947287082672, 0.34648972749710083, 0.158037468791008, -0.19271600246429443, -0.06355355679988861, -0.34895631670951843, 0.957273006439209, 0.296994686126709, -0.5587795376777649, 0.2752632200717926, 0.08611561357975006, 0.22755375504493713, -0.18405306339263916, 0.19010844826698303, 0.3787517249584198, 0.0776948630809784, 0.4248752295970917, 0.08030616492033005, 0.21736615896224976, -0.4156721532344818, 0.09610635042190552, 0.3863312602043152, -0.2406943291425705, -0.16143831610679626, 0.789705216884613, 0.4115188419818878, -0.2103266566991806, 0.10969502478837967, 0.11926917731761932, -0.24174638092517853, 0.5792531967163086, 0.7524200081825256, 0.8087758421897888, -0.35455891489982605, 0.2411695420742035, 0.033264029771089554, 0.10554175078868866, 0.06766564399003983, 0.19345387816429138, -0.5863237977027893, -0.5678758025169373, -0.30871638655662537, -0.8918927311897278, -0.32993894815444946, 0.36892369389533997, -0.5937274098396301, -0.1634049117565155, -0.5235394835472107, -0.20834362506866455, -0.12290523201227188, -0.08949651569128036, -0.13123181462287903, 0.09135644882917404, 0.24179896712303162, 1.185282588005066, -0.7277343273162842, 1.4966394901275635, 0.7344467043876648, -0.023960039019584656, -0.5963062644004822, -0.11674550920724869, 0.24163228273391724, -0.42205530405044556, 0.1629796326160431, 0.4365338683128357, -0.3713672161102295, -0.13680976629257202, -0.45834892988204956, -1.0148581266403198, 1.0726585388183594, 0.36948469281196594, -0.7205787301063538, 0.08176955580711365, -0.10336457192897797, 0.5900865793228149, -0.5200474858283997, -0.33154770731925964, 0.7169367074966431, -0.06527280807495117, 0.24207906424999237, -0.5393431186676025, -0.010730473324656487, -0.412556916475296, 0.48381584882736206, 0.27398598194122314, -0.9454087018966675, 0.575389564037323, -0.12430350482463837, -0.482177197933197, 0.14530442655086517, 0.9898995757102966, 0.6312700510025024, 0.2703142464160919, 0.558851420879364, 0.5511569976806641, 0.7129529118537903, 0.06409914791584015, 1.179154872894287, -0.38748711347579956, -0.013852085918188095, 1.173543930053711, -0.5348325967788696, 0.7718436121940613, 0.4628090262413025, 0.07985140383243561, 0.29338204860687256, 0.8157927393913269, 0.43963679671287537, 0.6691147685050964, 0.05532693490386009, -0.21998077630996704, -0.12691035866737366, 0.24093268811702728, -0.15829282999038696, -0.12915834784507751, 0.4335241913795471, -0.25521373748779297, 0.24833114445209503, 0.2832375168800354, -0.0774863213300705, -0.08177720755338669, -0.2755095958709717, 0.6210010051727295, 0.2661610245704651, -0.8996005058288574, 0.4972834587097168, 0.16242794692516327, 0.7730455994606018, -0.7051869630813599, 0.32012996077537537, -0.5741058588027954, 0.3043650686740875, 0.21764139831066132, -0.7754069566726685, 0.25135836005210876, 0.0895024985074997, -0.32153964042663574, -0.1693713217973709, 0.6795008182525635, -0.5143473744392395, -0.021477704867720604, 0.49259045720100403, -0.01277056522667408, 0.23133741319179535, 0.07118889689445496, -0.6212126016616821, 0.06659168004989624, -0.1299823522567749, -0.4212492108345032, 0.5487369298934937, 0.15382473170757294, -0.1990528553724289, 0.904000997543335, 0.5166969299316406, -0.0656236782670021, 0.5122950673103333, -0.07785244286060333, 0.9850258231163025, -0.7738072872161865, -1.046470046043396, -0.6309632658958435, 0.25314638018608093, -0.047704875469207764, -0.1473030298948288, 0.6422357559204102, 0.7949373126029968, 0.6234572529792786, -0.31301867961883545, 0.6743996143341064, 0.01979140378534794, 0.5909993052482605, -0.3502543568611145, 0.5214800238609314, -0.5946881175041199, 0.19450004398822784, -0.17474229633808136, -0.8819026350975037, 0.029707932844758034, 0.33421918749809265, -0.05350666865706444, 0.07835963368415833, 0.3806803226470947, 0.6912180781364441, -0.30208566784858704, -0.02108965441584587, 0.48234325647354126, 0.35707420110702515, 0.22282135486602783, 0.9139180183410645, 0.8769388198852539, -0.14467650651931763, 0.7106174826622009, -0.02757362090051174, -0.3831341862678528, -0.3866250813007355, -0.6389755606651306, -0.7522614002227783, -0.7803122401237488, -0.06865425407886505, -0.31153175234794617, -0.02704540267586708, 0.7644092440605164, 1.0073058605194092, -0.7085625529289246, -0.21408329904079437, 0.1813758909702301, 0.011666487902402878, -0.26484933495521545, -0.27623188495635986, 0.21613334119319916, -0.009834563359618187, -0.6711185574531555, 0.8627992272377014, 0.7289303541183472, 0.17293837666511536, -0.3465578556060791, -0.21338193118572235, -0.21796303987503052, 0.3656271994113922, 0.8584598302841187, 0.45307549834251404, -0.9204685688018799, 0.015618249773979187, -0.04488147795200348, -0.4092751741409302, -0.14758408069610596, 0.6869603991508484, -0.9618417620658875, 0.23245540261268616, 0.39024046063423157, 0.7627698183059692, 0.805874764919281, -0.036821987479925156, 0.5179375410079956, -0.9433668255805969, 0.12185069918632507, 0.0829504057765007, 0.5790826082229614, 0.18476024270057678, -0.21832746267318726, 0.5299721956253052, 0.16721658408641815, -0.37281545996665955, -0.763096809387207, 0.20083977282047272, -1.3556954860687256, -0.5697905421257019, 1.234615683555603, -0.30247464776039124, -0.5008652210235596, 0.0667169839143753, -0.39440131187438965, -0.01335779670625925, -0.6299465298652649, 0.6672789454460144, 0.5597438216209412, -0.04748786985874176, -0.2554383873939514, -0.21019092202186584, 0.19347010552883148, 0.3964586853981018, -0.4759790897369385, -0.14364543557167053, 0.563751757144928, 0.3435986638069153, 0.23752710223197937, 0.8294447660446167, 0.015063082799315453, 0.4367053508758545, -0.16582371294498444, -0.3998805284500122, -0.1742175966501236, -0.8185397982597351, -0.513996958732605, 0.5060979723930359, -0.68204665184021, -0.39731618762016296 ]
http://arxiv.org/abs/2406.07505v1
http://arxiv.org/pdf/2406.07505v1
THaLLE: Text Hyperlocally Augmented Large Language Extension -- Technical Report
2024-06-11T17:40:00
2024-06-11T17:40:00
KBTG Labs, Danupat Khamnuansin, Atthakorn Petchsod, Anuruth Lertpiya, Pornchanan Balee, Thanawat Lodkaew, Tawunrat Chalothorn, Thadpong Pongthawornkamol, Monchai Lertsutthiwong
cs.CL
cs.CL
Recent advancements in Large Language Models (LLMs) have revealed new capabilities and opportunities across the technological landscape. However, the practicality of very large LLMs is challenged by their high compute cost, which does not justify the benefits given their limited capability compared to humans. While smaller, more practical LLMs have shown potential in financial analysis, though they are not yet fully proficient, as evidenced by their near-passing performance on the Chartered Financial Analyst (CFA) exam. In this work, we present Financial Analyst Extension to our Text Hyperlocally Augmented Large Language Extension (THaLLE), a series of 8B LLMs consistently achieving highest performance on mock CFA exams against models of comparable size. We thoroughly document the fine-tuning techniques used to facilitate future research. Additionally, we introduce the use of Flare CFA, a publicly available dataset for evaluating LLMs as a financial advisor.
[ -0.2607104480266571, -0.893907368183136, 0.2253800928592682, 0.3880736827850342, 0.0181774590164423, 0.48290199041366577, -0.4083574116230011, -0.9268842935562134, 0.4855639338493347, 0.7377376556396484, -0.39527231454849243, -0.442156046628952, -0.5579551458358765, 0.3226933479309082, -0.608660101890564, 0.7288832068443298, 0.30925410985946655, -0.1842595636844635, 0.13682536780834198, 0.0639604851603508, -0.16659753024578094, -0.5208797454833984, -0.7544529438018799, -0.17714670300483704, 0.3409002423286438, 0.5653080940246582, 0.8773272633552551, 0.38904044032096863, 0.6862407922744751, 0.3834431767463684, -0.20993641018867493, 0.30410897731781006, -0.5357677340507507, -0.1953050047159195, -0.152700737118721, -0.28654617071151733, -0.8930783271789551, -0.010251175612211227, 0.6321596503257751, 0.9323110580444336, 0.12017297744750977, 0.31074705719947815, -0.11834810674190521, 0.8822936415672302, -0.6198696494102478, 0.1805063784122467, -0.4545626640319824, -0.1518947333097458, -0.2202337235212326, -0.2355712503194809, -0.5701119899749756, -0.3181665241718292, 0.49639928340911865, -0.5734386444091797, -0.2742795944213867, 0.15526309609413147, 0.8096926808357239, 0.0690663754940033, -0.6332985162734985, -0.04757161810994148, -0.8143301010131836, 0.9161983728408813, -0.7751597166061401, 0.562534749507904, 0.5111798644065857, 0.3362501859664917, -0.06659920513629913, -0.7498347759246826, -0.24703596532344818, -0.45962342619895935, 0.0957910344004631, -0.09381207078695297, -0.3183339536190033, 0.19603917002677917, 0.32199424505233765, 0.3275994658470154, -0.15326140820980072, 0.4325410723686218, -0.4560368061065674, -0.4836702346801758, 0.7391099333763123, 0.2256857007741928, -0.2179008275270462, 0.14555028080940247, -0.29019737243652344, 0.04614013433456421, -0.4362695515155792, -0.29802456498146057, 0.23848797380924225, 0.3251737654209137, -0.2383945733308792, 0.6816375851631165, 0.00006601108179893345, 1.1050355434417725, -0.1281987428665161, -0.44552311301231384, 0.08914749324321747, -0.10989846289157867, -0.3735993802547455, 0.09480256587266922, 0.32700902223587036, 0.5031329989433289, 0.3684641718864441, 0.037358518689870834, -0.14911898970603943, -0.538652241230011, -0.08935309946537018, -0.7139729261398315, 0.0674085021018982, 0.21174050867557526, -0.3003038763999939, -0.292290598154068, -0.3043740689754486, -1.0109660625457764, -0.43701744079589844, -0.49508410692214966, 0.17961347103118896, -0.32136020064353943, -0.07422609627246857, 0.28393352031707764, 0.027769217267632484, 0.30290690064430237, 0.2620106637477875, -0.6169008016586304, 0.32863849401474, 0.5784918665885925, 0.6974694728851318, -0.017773374915122986, -0.2866886854171753, -0.7393848896026611, 0.17442159354686737, -0.5195353031158447, 0.743344783782959, -0.5874598622322083, -0.5803799629211426, 0.2748602330684662, -0.31258848309516907, 0.1612573266029358, -0.5151473879814148, 0.44876670837402344, -0.8684390187263489, -0.06557896733283997, -0.27230700850486755, -0.7852073907852173, -0.24243424832820892, 0.3808760643005371, -0.6061221361160278, 1.0780149698257446, 0.32558608055114746, -0.5508928894996643, 0.20088036358356476, -0.7158113121986389, -0.4973607361316681, 0.3507826328277588, 0.1748279631137848, -0.06596238166093826, -0.053933728486299515, 0.0461401641368866, 0.36902952194213867, -0.7639672756195068, -0.08774495869874954, -0.30429455637931824, -0.3688734769821167, 0.38301995396614075, -0.3689316511154175, 0.4014781415462494, -0.052250705659389496, -0.25714653730392456, 0.037445735186338425, -1.1805275678634644, 0.039433348923921585, -0.30010175704956055, -0.263775110244751, -0.4578491747379303, -0.3602847456932068, 0.3719368278980255, -0.09323740005493164, 0.43112996220588684, -0.40715518593788147, 0.07224936783313751, -0.7379608750343323, 0.28271037340164185, 0.6879240870475769, -0.12453003972768784, 0.4526755213737488, -0.05852135643362999, 0.5821866989135742, -0.1941368132829666, -0.06922055035829544, 0.006149741820991039, -0.34381940960884094, -0.8471783995628357, -0.4673481285572052, 0.41732722520828247, 0.5282282829284668, -0.523186981678009, 0.50697922706604, -0.08179901540279388, -0.5937752723693848, -0.20193418860435486, 0.44301044940948486, 0.08931966125965118, 0.5503218770027161, 0.34411177039146423, 0.18446232378482819, -0.6245323419570923, -1.045061707496643, -0.24454239010810852, -0.08166325837373734, 0.36271947622299194, -0.12488314509391785, 0.3923265039920807, -0.4786047637462616, 1.1102172136306763, -0.7588291764259338, -0.2898288071155548, -0.501818060874939, -0.0076388162560760975, 0.08860529959201813, 0.19418062269687653, 0.8602874279022217, -0.782633364200592, -0.26479852199554443, 0.3090563714504242, -0.38677993416786194, -0.07958083599805832, -0.14427028596401215, -0.07261807471513748, 0.3082793653011322, 0.7753720283508301, -0.13910533487796783, 0.4592495858669281, 0.7349083423614502, -0.44781237840652466, 0.8376063108444214, -0.38299185037612915, -0.18360492587089539, -1.019364833831787, -0.05404281243681908, 0.594408392906189, -0.2647179365158081, -0.6151506304740906, -0.13870395720005035, 0.026195961982011795, -0.1492708921432495, -0.19771292805671692, 1.0927881002426147, -0.4500836133956909, -0.2223931849002838, -0.6602281928062439, 0.1159907728433609, -0.12746617197990417, -0.002602487104013562, -0.005666925106197596, 0.9708046913146973, 0.6244125962257385, -0.5555375814437866, 0.5232211947441101, 0.013890952803194523, -0.4966365098953247, 0.3263554573059082, -0.5482801795005798, -0.12391772121191025, 0.17495861649513245, 0.16202621161937714, -0.5934183597564697, -0.3909139037132263, -0.4955866038799286, 0.06761015206575394, 0.3799077570438385, 0.29311567544937134, -0.47861960530281067, -0.46322324872016907, -0.14464987814426422, 0.4653398096561432, 0.33097973465919495, -0.6287457942962646, 0.7898263931274414, 0.22195594012737274, -0.045426495373249054, -0.5883328318595886, -0.6444845795631409, 0.5070276856422424, -0.29066741466522217, -0.7496205568313599, 0.1636774241924286, -0.017250906676054, -0.6855274438858032, -0.295718789100647, 0.20622901618480682, -0.1796613335609436, 0.06903991848230362, -0.04053390026092529, 0.5602132081985474, -0.3504057228565216, 0.13476617634296417, -0.07777821272611618, -0.09623733907938004, 0.023146547377109528, -0.40768760442733765, 0.2771972119808197, -0.3692218065261841, -0.07973036915063858, -0.4933180510997772, 0.10471551865339279, 0.8160501718521118, -0.31269291043281555, 0.9289155006408691, 0.503800094127655, -0.42856982350349426, -0.10639294981956482, -1.062143325805664, -0.002862893044948578, -0.6037153005599976, 0.6013262867927551, -0.3176557421684265, -1.248868703842163, 0.6006789207458496, -0.07001884281635284, 0.23772583901882172, 0.4908543825149536, 0.571420431137085, 0.2224283367395401, 0.4955041706562042, 1.0398460626602173, -0.28220903873443604, 0.2405950427055359, -0.29510971903800964, 0.3213910460472107, -0.44064128398895264, -0.20093822479248047, -0.4764387607574463, -0.2478598654270172, -0.47484785318374634, -0.355431467294693, 0.5065605044364929, -0.04958786070346832, -0.31986507773399353, 0.28873082995414734, 0.0010350936790928245, 0.6254364252090454, 0.2291366308927536, -0.23841916024684906, 0.4717835485935211, 0.01319064013659954, 0.12587648630142212, -0.1369735449552536, -0.46921125054359436, -0.5484980344772339, 1.0067453384399414, 0.5182740092277527, 0.8082238435745239, 0.15516060590744019, 0.33612555265426636, 0.4026424288749695, 0.407379686832428, -0.9402021169662476, 0.7081958055496216, -0.041326023638248444, -0.5338643193244934, -0.32180944085121155, -0.571293294429779, -0.5257904529571533, -0.1263834834098816, -0.19118770956993103, -0.889387309551239, 0.18572159111499786, 0.12792247533798218, -0.5109665989875793, 0.3328492343425751, -0.8427234292030334, 0.477895587682724, -0.1348056048154831, -0.42452189326286316, -0.2909097671508789, -0.20602403581142426, 0.6722849011421204, -0.6878472566604614, 0.382415235042572, 0.12215565145015717, -0.4246704578399658, 0.8507056832313538, -0.5092976689338684, 0.8858528733253479, 0.24174536764621735, -0.478496789932251, 0.3393095135688782, 0.2392255663871765, 0.34201622009277344, 0.33980241417884827, -0.5338276028633118, -0.11662434041500092, 0.027004115283489227, -0.7066904306411743, -0.5875476598739624, 0.9722815155982971, -0.5079736709594727, -0.7469994425773621, -0.4395102858543396, -1.0550035238265991, -0.7274941205978394, 0.10669200122356415, 0.04257895052433014, 0.5620893836021423, -0.2806464433670044, -0.044922977685928345, 0.21810618042945862, -0.2208947241306305, 0.48223790526390076, 0.4316345155239105, -0.48094022274017334, -0.36515381932258606, 0.6984977126121521, 0.026960264891386032, 0.3575455844402313, 0.30796170234680176, 0.257947713136673, -0.48941686749458313, -0.4329576790332794, -0.10696969926357269, 0.44575822353363037, -0.6643244028091431, -0.14819906651973724, -0.502488911151886, -0.13413767516613007, -0.5629618167877197, -0.5935060977935791, -0.2832529544830322, -0.6825186610221863, -0.21717894077301025, -0.38487398624420166, 0.895847737789154, 0.7269038558006287, -0.20583775639533997, 0.4351860582828522, -1.24396550655365, -0.31453511118888855, 0.1318621188402176, 0.21716174483299255, 0.2017236053943634, -0.6453890800476074, -0.6026325225830078, -0.1939314901828766, -0.029736775904893875, -0.5496906042098999, 0.4643827974796295, 0.1194780245423317, 0.16567005217075348, 0.760571300983429, -0.07680436968803406, 0.7976604104042053, -0.0527561791241169, 0.6096869707107544, 0.3063531517982483, -0.9237446188926697, 0.05827108025550842, -0.4062672257423401, 0.37601223587989807, 0.46263739466667175, 0.2153109312057495, -0.3549032509326935, -0.1768912374973297, -0.27755260467529297, -0.5463556051254272, 0.2556212246417999, 0.12128056585788727, 0.2116396725177765, -0.01016357820481062, 0.483611136674881, -0.1346532106399536, 0.005865462590008974, -0.3873082995414734, -0.16509969532489777, 0.19751086831092834, 0.04679092764854431, -0.3502665162086487, -0.5268567204475403, -0.1686139702796936, -0.479519248008728, 0.7760400176048279, -0.22363319993019104, -0.2104540765285492, 0.10854896157979965, 0.17586684226989746, -0.00741164805367589, 0.19471217691898346, 0.6928899884223938, 0.9851139187812805, -0.2045193910598755, -0.04972994327545166, 0.5346904993057251, -0.5011522173881531, -0.021978523582220078, 0.301359623670578, 0.29538607597351074, -0.01439231913536787, 0.7219222784042358, 0.3448292315006256, 0.4611336588859558, -1.06651771068573, 0.11307238787412643, 0.298176646232605, -0.3231871426105499, -0.22958314418792725, -0.2816610634326935, 0.3185594975948334, 0.24335412681102753, 0.6671034097671509, -0.18821397423744202, 0.004397280514240265, -0.6286149024963379, 0.11002209782600403, 0.15121549367904663, -0.6090831160545349, -0.23585036396980286, 0.3532395660877228, 0.5083211064338684, -0.19002893567085266, 0.4420090615749359, -0.13229936361312866, -0.6901226043701172, 0.6353625655174255, 0.580736517906189, 0.7102762460708618, -0.03825114667415619, 0.10613725334405899, 0.1845240592956543, 0.40117233991622925, -0.14807924628257751, 0.3294290006160736, 0.34333112835884094, -0.49765482544898987, -0.9124101996421814, -0.7564593553543091, -0.4169752299785614, 0.036570727825164795, -0.48048195242881775, 0.351349800825119, -0.5391103029251099, -0.49373939633369446, 0.19387464225292206, 0.0981220230460167, -0.36795517802238464, 0.2928246557712555, -0.14998853206634521, 1.6984344720840454, -0.27270516753196716, 0.6850559115409851, 0.730894148349762, 0.05325329303741455, -0.7388246655464172, -0.06889147311449051, 0.20510658621788025, -0.5521026253700256, 0.8596790432929993, -0.208069309592247, -0.32734784483909607, -0.0166685301810503, -0.3058503568172455, -0.7969179749488831, 0.722551703453064, 0.3450278341770172, -0.7187709808349609, -0.3919175863265991, 0.3568483889102936, 0.5970891118049622, -0.3637104332447052, 0.19567503035068512, 0.9045387506484985, 0.6647563576698303, 0.21463626623153687, -1.0742177963256836, -0.3008354604244232, 0.12184230983257294, -0.0875622034072876, 0.403554230928421, -0.8867373466491699, 0.30299627780914307, -0.3827309310436249, 0.4682912230491638, 0.1938299983739853, 1.134617567062378, 0.013509996235370636, 0.41071444749832153, 0.3685280680656433, 0.3520224690437317, 0.7664511203765869, 0.10217005014419556, 1.067562222480774, -0.504914402961731, 0.259921669960022, 0.9687511324882507, -0.6251353025436401, 0.752681314945221, 0.290779709815979, -0.0016149389557540417, 0.43974563479423523, 0.508531928062439, 0.09237978607416153, -0.18621231615543365, 0.08933813124895096, -0.4263349175453186, -0.582086443901062, -0.3299520015716553, -0.3282763361930847, 0.6627655625343323, 0.5195112824440002, -0.17864355444908142, -0.23184189200401306, 0.17683182656764984, -0.1254602074623108, 0.3441578149795532, -0.6378697156906128, 0.24055925011634827, 0.5036644339561462, -0.13729456067085266, 0.308315634727478, 0.17907151579856873, 0.5449497103691101, -0.691394031047821, 0.2778484523296356, -0.1443949192762375, 0.27137327194213867, -0.27399468421936035, -0.5823475122451782, 0.4509596824645996, 0.2249085158109665, 0.09028873592615128, 0.08947023004293442, 0.6905578970909119, -0.07213956862688065, -1.0407395362854004, 0.5399760007858276, 0.5551548600196838, -0.20760959386825562, 0.18148986995220184, -0.39932817220687866, -0.11532452702522278, -0.08780644834041595, -0.3084551692008972, 0.3889724016189575, 0.3870011270046234, -0.13263699412345886, 0.9095906615257263, 0.6501314640045166, 0.1693931221961975, -0.05957942456007004, 0.06943496316671371, 0.9057419896125793, -0.805513858795166, -0.5539039373397827, -0.7727086544036865, 0.032308656722307205, -0.21516256034374237, -0.424469918012619, 0.9003419280052185, 1.0506389141082764, 0.5416312217712402, 0.1405402421951294, 0.510884702205658, 0.46283695101737976, 0.5535703301429749, -0.5547933578491211, 0.6124303936958313, -0.5616002678871155, 0.4371861219406128, -0.4209301471710205, -1.145434856414795, -0.3498360514640808, 0.1181911826133728, -0.6088460683822632, -0.12234045565128326, 0.6178168654441833, 0.7584394216537476, -0.059561848640441895, 0.3825170397758484, 0.6178961992263794, 0.3530256748199463, 0.125843808054924, 0.17819948494434357, 0.5801746845245361, -0.1700940728187561, 0.6579537987709045, -0.1692541539669037, -0.3211979568004608, -0.1986168473958969, -0.856292724609375, -1.1857330799102783, -0.30526626110076904, -0.44366511702537537, -0.4962660074234009, -0.2548362910747528, 1.1738349199295044, 0.5818796157836914, -0.4316675066947937, -0.641383171081543, 0.5626630187034607, -0.18426939845085144, 0.009574230760335922, -0.2169514149427414, 0.41431620717048645, -0.11252334713935852, -0.8107959628105164, 0.5687002539634705, 0.5491203665733337, 0.3330034017562866, -0.3951271176338196, -0.013116695918142796, -0.08531893789768219, 0.4728376567363739, 0.9038479328155518, 0.2865833044052124, -0.268515944480896, -0.11438009887933731, 0.30138909816741943, 0.08213832974433899, -0.21358557045459747, 0.842658281326294, -0.45010173320770264, 0.24410203099250793, 0.17215090990066528, 0.9476480484008789, 0.44616907835006714, -0.08135015517473221, 0.7696780562400818, -0.3461873531341553, 0.49025478959083557, 0.2585481107234955, 0.29670998454093933, 0.06107966974377632, -0.3449096977710724, 0.28582891821861267, -0.04758899286389351, -0.4076501429080963, -0.7769889235496521, 0.0569123849272728, -1.066501259803772, -0.16172534227371216, 1.2881193161010742, 0.2726183533668518, -0.2150540053844452, -0.13218839466571808, -0.2564842402935028, -0.2630147933959961, -0.3820550739765167, 0.5220052003860474, 0.9281938672065735, 0.08198421448469162, -0.0004889904521405697, -0.5149956941604614, 0.4911361038684845, 0.5308519601821899, -0.808463990688324, 0.13335487246513367, 0.48675140738487244, -0.06761734932661057, 0.23958100378513336, 0.417865514755249, 0.10510551929473877, 0.32443463802337646, -0.4070398509502411, -0.31137552857398987, -0.0015987218357622623, -0.20839296281337738, -0.21958892047405243, 0.17581960558891296, 0.303789883852005, 0.43164899945259094 ]
http://arxiv.org/abs/2406.07504v1
http://arxiv.org/pdf/2406.07504v1
Just Because We Camp, Doesn't Mean We Should: The Ethics of Modelling Queer Voices
2024-06-11T17:39:46
2024-06-11T17:39:46
Atli Sigurgeirsson, Eddie L. Ungless
cs.CL
cs.CL
Modern voice cloning models claim to be able to capture a diverse range of voices. We test the ability of a typical pipeline to capture the style known colloquially as "gay voice" and notice a homogenisation effect: synthesised speech is rated as sounding significantly "less gay" (by LGBTQ+ participants) than its corresponding ground-truth for speakers with "gay voice", but ratings actually increase for control speakers. Loss of "gay voice" has implications for accessibility. We also find that for speakers with "gay voice", loss of "gay voice" corresponds to lower similarity ratings. However, we caution that improving the ability of such models to synthesise ``gay voice'' comes with a great number of risks. We use this pipeline as a starting point for a discussion on the ethics of modelling queer voices more broadly. Collecting "clean" queer data has safety and fairness ramifications, and the resulting technology may cause harms from mockery to death.
[ -0.4966394901275635, -0.10171816498041153, 0.42602258920669556, 0.08021686226129532, -0.16659855842590332, -0.11285503953695297, 0.19358602166175842, -0.5242601037025452, 0.012640281580388546, 0.5259633660316467, -0.5386642813682556, -0.02368103340268135, -0.446798175573349, 0.01838529296219349, -1.0220378637313843, 0.9550541043281555, 0.5975463390350342, 0.4327133595943451, -0.06599001586437225, -0.09710807353258133, -0.279547780752182, -0.4014204740524292, -0.5665072798728943, 0.26089757680892944, 0.5768120884895325, 0.13852189481258392, 0.9045687913894653, 0.6412264704704285, -0.17010755836963654, 0.27973613142967224, -0.2578061819076538, -0.3173302412033081, -0.9974344372749329, 0.17874327301979065, -0.1009993925690651, -0.5772364735603333, -0.3359905183315277, 0.7391032576560974, 0.5939620137214661, 0.6854521036148071, -0.01613127440214157, 0.24895624816417694, -0.26616770029067993, 0.6871776580810547, -0.42069005966186523, -0.5928835272789001, -0.7778648138046265, 0.07055844366550446, -0.13659580051898956, 0.020823249593377113, -0.2153925895690918, -0.5082038640975952, 0.17546670138835907, -0.30981603264808655, 0.7264305353164673, 0.3296297490596771, 0.6228151321411133, 0.06480603665113449, -0.3085688650608063, -0.16684399545192719, -0.9345237016677856, 0.7865752577781677, -0.8216052055358887, 0.56203293800354, 0.3042243719100952, 0.2940960228443146, -0.1926051378250122, -0.8941425681114197, -0.8413837552070618, -0.14244502782821655, 0.054881125688552856, -0.05257477983832359, 0.1589975208044052, 0.08382437378168106, 0.29171955585479736, 0.6160474419593811, -0.26971524953842163, -0.2677019536495209, -1.2612777948379517, -0.01168496161699295, 1.2312037944793701, 0.01851643994450569, 0.5191203951835632, -0.06927958130836487, -0.5084459185600281, 0.06305588036775589, -0.6592251062393188, 0.11172004044055939, 1.051311731338501, 0.5565957427024841, 0.35548508167266846, 0.5303550362586975, 0.48191210627555847, 0.20199406147003174, 0.19333986937999725, 0.1977303922176361, 0.14829662442207336, -0.1515173763036728, -0.3905384838581085, 0.26362720131874084, 0.47290557622909546, 0.6248530149459839, 0.33619406819343567, -0.12069731950759888, -0.15144748985767365, -0.015979649499058723, 0.836612343788147, -0.5105404257774353, 0.05504610016942024, 0.4564360976219177, -0.5494676828384399, -0.17786210775375366, 0.2107875496149063, -0.7150695323944092, -0.5693793892860413, -0.321850061416626, 0.5026065111160278, -0.043416526168584824, -0.43585124611854553, 0.16995200514793396, -0.6652109026908875, 0.10712404549121857, 0.12284338474273682, -0.6589016914367676, 0.3302517831325531, 0.7659144997596741, 0.4511888921260834, -0.38215237855911255, -0.3958583176136017, -0.5721912384033203, -0.17277131974697113, -0.32452207803726196, 0.2863370478153229, -0.2891172468662262, -0.6430005431175232, -0.16223138570785522, 0.15048308670520782, 0.10557998716831207, -0.5771977305412292, 0.35661643743515015, -0.07955139875411987, 0.6904836297035217, -0.2563299238681793, -0.7066856622695923, -0.048807963728904724, -0.522913932800293, -0.8231407403945923, 0.6376293897628784, 0.11815953999757767, -0.5188156366348267, 0.6527066230773926, -0.40635165572166443, -0.06499135494232178, -0.0712830200791359, -0.18399955332279205, -0.3059079945087433, 0.17525538802146912, -0.5670658349990845, 0.22133387625217438, -0.011246382258832455, 0.33235108852386475, -0.5346264243125916, -0.635582447052002, 0.09065034985542297, -0.047264594584703445, 1.0064526796340942, 0.4689972996711731, -0.6016212105751038, -0.08698517829179764, -0.40846678614616394, -0.05575667694211006, -0.386844277381897, 0.16871851682662964, -0.11730815470218658, 0.07657532393932343, 0.6441643834114075, 0.360733300447464, -0.6015217900276184, -0.8092281222343445, -0.3829188644886017, -0.3179317116737366, 0.405421644449234, 0.7306784391403198, -0.24207785725593567, 0.5468650460243225, -0.8335111141204834, 0.5520678162574768, -0.3441920876502991, 0.5639771223068237, 0.6278741955757141, -0.7682449817657471, -0.41534921526908875, -0.7510455846786499, 0.06650882214307785, 0.2591172754764557, 0.1919819712638855, 0.3489114046096802, 0.08835045993328094, -0.4844672381877899, -0.7774705290794373, -0.019312784075737, 0.050827812403440475, 0.21408866345882416, 0.2303202599287033, -0.6364171504974365, -0.5138745903968811, -1.1865923404693604, -0.7209485769271851, -0.448323518037796, -0.23896518349647522, 0.2216017097234726, 0.2424299716949463, -0.07136896252632141, 1.0856438875198364, 0.19543084502220154, -0.1330520063638687, -0.14942428469657898, -0.08105212450027466, 0.15085077285766602, 0.6658125519752502, 0.720512330532074, -1.294203758239746, -0.1932385265827179, -0.549652636051178, -0.24480992555618286, -0.2837221920490265, -0.24646535515785217, -0.24352113902568817, -0.3012683391571045, 0.44520390033721924, -0.6679767966270447, 0.6735370755195618, 0.34424325823783875, -0.47819802165031433, 0.38637787103652954, 0.4796845614910126, 0.36228030920028687, -0.666252076625824, 0.18860071897506714, -0.31932246685028076, -0.44572266936302185, -0.8681226372718811, 0.1536434292793274, -0.5036773085594177, -0.3657850921154022, -0.9736846089363098, 0.6561015248298645, -0.09346355497837067, -0.19835975766181946, -0.37573039531707764, 0.18894539773464203, 0.23814789950847626, 0.0033730650320649147, -0.28938308358192444, 0.7550573348999023, 0.34057462215423584, -0.4179379940032959, 0.5061700940132141, 0.41462358832359314, -0.01871148869395256, 0.5327193737030029, -0.4261770248413086, 0.17500384151935577, -0.4590933918952942, 0.34466832876205444, -0.9562948942184448, -0.14849700033664703, 0.08951950073242188, -0.4868585467338562, 0.16373585164546967, -0.10880623757839203, 0.029655052348971367, -0.17170947790145874, -0.6756188869476318, 0.5057209134101868, 0.8905558586120605, -0.39970436692237854, 0.5093730688095093, 0.6326932311058044, -0.3511234223842621, -0.4791647791862488, -0.7384635806083679, -0.1444515585899353, -0.6850517988204956, -0.5737820267677307, 0.1202334463596344, -0.06959130614995956, -0.3233744204044342, 0.12333144247531891, -0.22784945368766785, -0.3994589149951935, 0.25959253311157227, 0.5336220264434814, -0.10235413908958435, 0.10467074066400528, 0.11085466295480728, -0.028448961675167084, 0.2748340368270874, 0.18478871881961823, -0.05266832932829857, 0.1565811038017273, -0.028917629271745682, -0.11112181842327118, -0.42224442958831787, 1.0423654317855835, 0.915632426738739, 0.4033881425857544, 0.39193570613861084, 0.4545021653175354, -0.3400469422340393, -0.15250645577907562, -0.40763917565345764, -0.19761373102664948, -0.48473674058914185, -0.1336708962917328, 0.2400670200586319, -0.9220786690711975, 0.2647526264190674, -0.06156932935118675, 0.34691035747528076, 0.4677714407444, 0.33529505133628845, -0.585850715637207, 0.7718108296394348, 0.5784587264060974, 0.2489832192659378, 0.45670443773269653, 0.04922369495034218, 0.41339150071144104, -0.5543413758277893, -0.25810685753822327, -0.4364771246910095, -0.7247490286827087, -0.7945242524147034, -0.26361188292503357, 0.05716078728437424, 0.05429036170244217, -0.3423205316066742, 0.20264196395874023, -0.369568794965744, 0.5618864297866821, 0.6847052574157715, -0.1484093815088272, 0.13087566196918488, -0.1281333714723587, 0.20017923414707184, -0.16848395764827728, -0.3826450705528259, -0.7919468879699707, 0.7527974843978882, 0.32695472240448, 0.5658307671546936, -0.0605313666164875, 0.7802271842956543, 0.6924651861190796, 0.24958007037639618, -0.36804625391960144, 0.3814990222454071, -0.21205255389213562, -1.4395439624786377, -0.3282320499420166, -0.2544666528701782, -0.7396795749664307, 0.17117883265018463, -0.18201293051242828, -0.8676412105560303, 0.6382578611373901, 0.11503876745700836, -0.2301872968673706, 0.5734623074531555, -0.650231659412384, 0.4664153456687927, -0.02255290187895298, -0.4522387683391571, -0.019045768305659294, -0.9150980114936829, 0.45746564865112305, -0.06991106271743774, 0.2886800169944763, -0.47875475883483887, 0.20180390775203705, 0.5954996347427368, -0.19916783273220062, 0.6238856911659241, -0.12499309331178665, -0.012952825985848904, 0.33522436022758484, 0.1447170078754425, -0.2455497682094574, 0.08535955846309662, -0.36560821533203125, 0.05097122862935066, 0.455620139837265, -0.6890058517456055, -0.6040798425674438, 0.5993672609329224, -0.7188675999641418, -0.9663140773773193, -0.2581711411476135, -0.37785494327545166, -0.2001875787973404, -0.07471882551908493, 0.40832680463790894, 0.06417752057313919, -0.34888792037963867, -0.04207153990864754, 0.21658825874328613, -0.24612677097320557, 0.15381819009780884, -0.2280614972114563, -0.7173646092414856, -0.4642651081085205, 0.4768785238265991, -0.16344189643859863, 0.746584951877594, -0.6685675978660583, 0.14615952968597412, -0.4329085648059845, -0.10144412517547607, -0.5141375660896301, 0.2959810197353363, -0.649669349193573, 0.1378885954618454, -0.48682722449302673, -0.1409032642841339, -0.3225175440311432, -0.18331696093082428, -0.6005657315254211, -0.7143324613571167, -0.18689791858196259, -0.21921633183956146, 0.2742272913455963, 0.8196761608123779, -0.2201922982931137, 0.061019252985715866, -0.6843185424804688, 0.43831613659858704, 0.7811046242713928, 0.3287873864173889, -0.41004177927970886, -0.41572123765945435, 0.28147459030151367, 0.18060211837291718, -0.2044835388660431, -0.8295074105262756, 0.3983374536037445, 0.39038461446762085, 0.5437195897102356, -0.10253641754388809, 0.08013571053743362, 0.570008397102356, -0.5300105214118958, 1.0774548053741455, 0.22590585052967072, -1.2931416034698486, 0.20993904769420624, -0.2575474977493286, -0.2938993573188782, 0.946979820728302, 0.6875911951065063, -0.7432371377944946, -0.7141426205635071, -1.030693531036377, -0.7668149471282959, 0.38051068782806396, 0.5812769532203674, 0.656416118144989, 0.12797468900680542, 0.529089629650116, 0.48139816522598267, 0.6787064671516418, -0.7081696391105652, -0.25645679235458374, -0.5951792597770691, 0.05417490750551224, 0.12559941411018372, -0.002259176690131426, -0.5059474110603333, -0.38911232352256775, 0.4212043881416321, 0.25911611318588257, 0.5462789535522461, 0.43028736114501953, 0.2153010070323944, -0.3980448246002197, 0.33070260286331177, 0.5476006865501404, 0.5711132287979126, -0.3558037579059601, 0.20068258047103882, -0.031028233468532562, -0.47916656732559204, 0.3821668028831482, -0.4082218408584595, 0.016131436452269554, 0.3005177676677704, 0.15716522932052612, 0.6394912004470825, -0.35084792971611023, -0.7859489917755127, 0.6955781579017639, -0.184699147939682, -0.08881088346242905, -0.052134834229946136, 0.2570737302303314, -0.021369434893131256, 0.34413760900497437, 0.32355478405952454, 0.40045595169067383, 0.5477831959724426, -0.9703869819641113, 0.4781188368797302, 0.2840629816055298, -0.45690882205963135, -0.24335694313049316, 0.9493705034255981, 0.3919926583766937, -0.6758129596710205, 0.5201873183250427, 0.05632403865456581, -0.56175696849823, 0.4514947235584259, 0.3727100193500519, 0.9848808646202087, -0.38446125388145447, 0.08091387897729874, 0.10253840684890747, 0.16505956649780273, -0.15097355842590332, 0.42163583636283875, 0.3555862605571747, -0.3238413333892822, -0.1455601155757904, -0.4009738564491272, -0.47034090757369995, 0.0010069870622828603, -0.6470991969108582, 0.2571786940097809, -0.5197628736495972, -0.3641260266304016, -0.29442358016967773, -0.41933342814445496, -0.38839784264564514, 0.3052311837673187, 0.5935927629470825, 0.7844672203063965, -1.1598515510559082, 0.4318719506263733, 0.1899198442697525, 0.14617547392845154, -0.5097577571868896, 0.16491758823394775, 0.02782301791012287, -0.10839499533176422, 0.5592663288116455, 0.4425802230834961, -0.3202063739299774, -0.20236918330192566, -0.8208536505699158, -0.5266523361206055, 0.7937561273574829, 0.6790173053741455, -0.537055253982544, -0.007744592614471912, 0.1563546359539032, 0.513855516910553, -0.5347647666931152, 0.05802543833851814, 0.4362696707248688, 0.36578401923179626, 0.11784161627292633, -1.3110777139663696, -0.04216644912958145, -0.4389473795890808, -0.024952512234449387, -0.16639098525047302, -0.36477696895599365, 1.1107131242752075, -0.13115592300891876, -0.639493465423584, 0.14476509392261505, 0.28027641773223877, 0.18212556838989258, 0.620181679725647, 0.7675168514251709, 0.1459117829799652, 0.9470247626304626, 0.28720492124557495, 1.1639955043792725, 0.4584992229938507, 0.4026307761669159, 0.7900843024253845, -0.5092592835426331, 0.5577870011329651, 0.609890341758728, -0.12979374825954437, 0.1847604513168335, 0.3999529480934143, 0.03966643288731575, 0.6336945295333862, 0.7967717051506042, -0.312282532453537, -0.3583214581012726, -0.2347036898136139, -0.38614895939826965, 0.4382933974266052, 0.20077098906040192, -0.4913288652896881, 0.08354967087507248, 0.014333385042846203, -0.17643769085407257, 0.2672812342643738, 0.10694973915815353, 0.24369870126247406, 0.37462836503982544, -0.31012222170829773, 0.6371150612831116, -0.42255038022994995, 0.49579551815986633, 0.06856609880924225, -0.09292998164892197, -0.15950962901115417, -0.3512011468410492, -0.2958088517189026, -0.4780379831790924, 0.5370709896087646, -0.1524324119091034, -0.16626328229904175, -0.38210147619247437, 0.298602432012558, -0.509641170501709, -0.20755088329315186, 0.4094560742378235, 0.5690106749534607, 0.3962952494621277, 0.19815689325332642, -0.6060628890991211, 0.11723408848047256, -0.043839313089847565, 0.01533840037882328, 0.08923085033893585, -0.024458076804876328, 0.1440235823392868, 0.6719797849655151, 0.7564914226531982, 0.4458826184272766, 0.43555542826652527, -0.2054012417793274, 0.6576617360115051, -0.8047987818717957, -0.2794392704963684, -0.6699978113174438, 0.6499216556549072, -0.18982236087322235, -0.43652188777923584, 0.3992930054664612, 0.48687508702278137, 0.7541036605834961, -0.1310759335756302, 0.6640622615814209, 0.043781161308288574, 0.5111758708953857, -0.32125237584114075, 1.0297850370407104, -0.7043666839599609, 0.12565308809280396, -0.2805737257003784, -1.1264740228652954, -0.3813376724720001, 0.5558593273162842, 0.016212869435548782, 0.19990018010139465, 0.6292087435722351, 0.8638055324554443, -0.20140323042869568, 0.5428209900856018, 0.5108007788658142, -0.022326329723000526, 0.2663114666938782, 0.14560794830322266, 1.2800118923187256, -0.5987025499343872, 0.14325575530529022, 0.03578374534845352, 0.19658558070659637, 0.04188979044556618, -0.8947672247886658, -0.7210937738418579, -0.7568204402923584, -0.34651827812194824, -0.44738104939460754, -0.034404247999191284, 1.1797469854354858, 1.0849535465240479, -0.6420909762382507, -0.32621464133262634, 0.17954954504966736, 0.020763380452990532, -0.1554722785949707, -0.1497851014137268, -0.09252588450908661, -0.08715955913066864, -1.1018661260604858, 0.4803066551685333, 0.03908132389187813, 0.008464159443974495, -0.26299014687538147, 0.025038953870534897, -0.15284276008605957, 0.4491129219532013, 0.26235851645469666, 0.32958996295928955, -0.8711627125740051, -0.5323138236999512, -0.1646837741136551, -0.23288530111312866, -0.03952173888683319, 1.0269207954406738, -0.5870544910430908, 0.39245399832725525, 0.49461400508880615, 0.45907729864120483, 0.33469247817993164, 0.04402434080839157, 1.059970736503601, -0.5993483066558838, 0.11222171038389206, 0.6011888980865479, 0.19076092541217804, 0.39865386486053467, -0.3994649052619934, 0.341971218585968, 0.389411985874176, -0.5789440870285034, -1.0850939750671387, 0.31113961338996887, -1.053061842918396, -0.10845644772052765, 1.082072377204895, -0.19866876304149628, -0.21641522645950317, -0.3271860182285309, -0.3917136490345001, 0.21128571033477783, -0.18928639590740204, 0.9922589063644409, 0.31762948632240295, -0.22645340859889984, 0.0027034031227231026, -0.7075748443603516, 0.8792514801025391, 0.3262953758239746, -0.4810429811477661, -0.01009879820048809, 0.47806891798973083, 0.5159502029418945, 0.2111978977918625, 0.41144636273384094, -0.24332137405872345, 0.4634776711463928, -0.16138921678066254, -0.037099920213222504, 0.19672757387161255, -0.3553553521633148, -0.35540688037872314, 0.053770262748003006, 0.026474637910723686, -0.07857364416122437 ]
http://arxiv.org/abs/2406.07502v1
http://arxiv.org/pdf/2406.07502v1
Image Textualization: An Automatic Framework for Creating Accurate and Detailed Image Descriptions
2024-06-11T17:37:45
2024-06-11T17:37:45
Renjie Pi, Jianshu Zhang, Jipeng Zhang, Rui Pan, Zhekai Chen, Tong Zhang
cs.CV
cs.CV, cs.CL
Image description datasets play a crucial role in the advancement of various applications such as image understanding, text-to-image generation, and text-image retrieval. Currently, image description datasets primarily originate from two sources. One source is the scraping of image-text pairs from the web. Despite their abundance, these descriptions are often of low quality and noisy. Another is through human labeling. Datasets such as COCO are generally very short and lack details. Although detailed image descriptions can be annotated by humans, the high annotation cost limits the feasibility. These limitations underscore the need for more efficient and scalable methods to generate accurate and detailed image descriptions. In this paper, we propose an innovative framework termed Image Textualization (IT), which automatically produces high-quality image descriptions by leveraging existing multi-modal large language models (MLLMs) and multiple vision expert models in a collaborative manner, which maximally convert the visual information into text. To address the current lack of benchmarks for detailed descriptions, we propose several benchmarks for comprehensive evaluation, which verifies the quality of image descriptions created by our framework. Furthermore, we show that LLaVA-7B, benefiting from training on IT-curated descriptions, acquire improved capability to generate richer image descriptions, substantially increasing the length and detail of their output with less hallucination.
[ -0.3773680627346039, -0.5531664490699768, 0.42713719606399536, 0.3095036447048187, -0.6549370884895325, -0.10835718363523483, -0.3897126615047455, -0.8650506734848022, 0.14382904767990112, 0.6366404294967651, -0.15494999289512634, -0.6614423990249634, -0.4733128547668457, 0.40641915798187256, -0.6720596551895142, 0.9210349321365356, -0.23636889457702637, -0.021633731201291084, -0.3877564072608948, 0.11850681900978088, -0.4202529788017273, -0.1418611854314804, -0.43053147196769714, 0.15998584032058716, 0.580597460269928, 0.22060313820838928, 0.8373998403549194, 1.1897214651107788, 0.992361307144165, 0.30187034606933594, 0.20433469116687775, 0.3234015107154846, -0.35973498225212097, 0.13906295597553253, 0.10074007511138916, -0.16576971113681793, -0.24207963049411774, -0.16509509086608887, 0.4951949715614319, 0.3497869074344635, 0.3056689500808716, 0.1362563818693161, -0.05341274291276932, 0.5318670272827148, -0.6637468338012695, 0.41189488768577576, -0.6283045411109924, 0.17761720716953278, -0.2073753923177719, -0.46454867720603943, -0.3326588571071625, -0.2513202428817749, 0.16845880448818207, -0.9511082768440247, 0.3159020245075226, 0.2083154320716858, 1.1513292789459229, 0.49565571546554565, -0.13662205636501312, -0.37423625588417053, -0.5809114575386047, 0.74604332447052, -0.5597935318946838, 0.023820307105779648, 0.5859293341636658, 0.521213710308075, 0.19177000224590302, -0.8006325364112854, -0.3965495526790619, -0.19481050968170166, -0.434653103351593, 0.10538624972105026, 0.05735369026660919, 0.05183935910463333, -0.05260573327541351, 0.5853936076164246, -0.18015596270561218, -0.09568924456834793, -0.625312089920044, -0.29164019227027893, 0.7331613302230835, 0.31407690048217773, 0.31407690048217773, -0.18159763514995575, -0.4985312819480896, -0.04566798731684685, -0.42760801315307617, -0.08793491125106812, 0.0297554824501276, -0.1535688191652298, 0.10893449187278748, 0.7918993234634399, -0.34839263558387756, 0.7202922701835632, -0.21709272265434265, -0.2216431200504303, 0.0009225768153555691, -0.5033039450645447, -0.07018846273422241, 0.1455632746219635, 0.9522871971130371, 0.8982614874839783, 0.21229110658168793, -0.44960495829582214, -0.3471016585826874, 0.16832216084003448, 0.2559795379638672, -0.9544520974159241, -0.030683165416121483, 0.09682821482419968, -0.6852430105209351, -0.770070493221283, 0.14145828783512115, -0.8415021896362305, -0.49373775720596313, -0.31437110900878906, -0.06606601923704147, -0.34442922472953796, 0.23740631341934204, 0.0072427247650921345, -0.030736684799194336, 0.3131158649921417, 0.3437020182609558, -0.6132875084877014, 0.27646684646606445, 0.24444453418254852, 0.6441479325294495, -0.2201729565858841, -0.2824714481830597, -0.3577083945274353, 0.500582754611969, -0.5397914052009583, 0.9222931861877441, -0.5906628370285034, -0.09998846054077148, -0.019516637548804283, -0.14062343537807465, 0.3309204578399658, -0.3313595652580261, 0.5224531292915344, -0.3097071647644043, 0.15466856956481934, -0.011261423118412495, -0.28660428524017334, -0.15318287909030914, 0.3201019763946533, -0.7636781930923462, 0.9383952021598816, -0.32311534881591797, -0.9654199481010437, 0.2733646333217621, -0.6247226595878601, -0.576399028301239, 0.2946745753288269, -0.3865412771701813, -0.3644522726535797, 0.24884581565856934, 0.6314370632171631, 0.6443120837211609, -0.6534115672111511, 0.43090158700942993, 0.04067986086010933, -0.616318941116333, 0.5369543433189392, -0.2328958511352539, 0.19401192665100098, 0.22389256954193115, -0.48177480697631836, 0.168897345662117, -0.8185027837753296, 0.17889009416103363, 0.2814793884754181, -0.20614822208881378, -0.09791062027215958, -0.1345013827085495, 0.5012003779411316, -0.0706976130604744, 0.5188106298446655, -0.3050699830055237, 0.10618147999048233, -0.297917902469635, 0.31283634901046753, 0.6289135217666626, -0.18352992832660675, 0.47886183857917786, -0.10174084454774857, 0.41725650429725647, -0.20335794985294342, 0.36668670177459717, -0.8686835765838623, -0.27018702030181885, -0.7974425554275513, -0.4482443928718567, 0.3028421700000763, 0.5862419605255127, -0.8271480202674866, 0.4887959659099579, -0.5180596113204956, -0.3174990713596344, -0.43659183382987976, 0.2759334444999695, 0.660890519618988, 0.4882080554962158, 0.47532588243484497, -0.5199591517448425, -0.30655255913734436, -1.268724799156189, -0.036938171833753586, 0.058387383818626404, -0.10227471590042114, 0.30239352583885193, 0.343973308801651, -0.30238792300224304, 0.8399686217308044, -0.4956878423690796, -0.7755177617073059, 0.01954055204987526, 0.10728143155574799, -0.09276029467582703, 0.15643583238124847, 0.48079532384872437, -0.8564192056655884, -0.3707331717014313, 0.23432573676109314, -0.9276240468025208, -0.04933725297451019, -0.33019572496414185, -0.22651971876621246, 0.09808523952960968, 0.12248263508081436, -0.420804500579834, 0.7436638474464417, 0.2450678050518036, 0.0019763449672609568, 0.5275903344154358, -0.22226795554161072, 0.40135297179222107, -1.0679925680160522, 0.1653108149766922, 0.14893652498722076, -0.11167822778224945, -0.1803753823041916, 0.2695077657699585, -0.039460957050323486, 0.03767284005880356, -0.2571481764316559, 0.462017685174942, -0.666425347328186, -0.1738957166671753, -0.21791920065879822, 0.14029771089553833, 0.2882632911205292, 0.43799373507499695, 0.28416046500205994, 0.469341903924942, 0.8165750503540039, -0.3044387102127075, 0.7134565114974976, 0.35931700468063354, -0.2276390939950943, 0.7869311571121216, -0.7762736082077026, 0.052219003438949585, -0.10385048389434814, 0.43916046619415283, -0.9040700793266296, -0.7339329123497009, 0.14888478815555573, -0.22395434975624084, 0.11680758744478226, -0.07531461119651794, -0.750276505947113, -0.3600706458091736, -0.3667900860309601, 0.4225706458091736, 0.29380643367767334, -0.34441468119621277, 0.5786016583442688, 0.044465649873018265, -0.06686734408140182, -0.7065322399139404, -0.8788648247718811, 0.808035135269165, -0.1565423458814621, -0.7292766571044922, 0.435715913772583, 0.005529898218810558, 0.01643785834312439, 0.03016739897429943, 0.12191379070281982, -0.5339122414588928, -0.13868142664432526, 0.20552882552146912, 0.42596301436424255, 0.05914248153567314, 0.36884042620658875, 0.18058505654335022, -0.06239396706223488, -0.19382067024707794, -0.2829739451408386, 0.18326717615127563, -0.17398031055927277, -0.044492535293102264, -0.714780867099762, 0.3117395341396332, 0.31579917669296265, -0.4568275809288025, 0.29726070165634155, 0.9805794954299927, -0.43755051493644714, 0.2899262011051178, -0.6081467270851135, 0.0004020156047772616, -0.45957931876182556, 0.40310072898864746, -0.5252915024757385, -0.42987874150276184, 0.2230105847120285, -0.00548967532813549, 0.07959658652544022, 0.41205206513404846, 0.13087785243988037, -0.38143518567085266, 0.8194275498390198, 0.3949193060398102, 0.26088663935661316, 0.24063389003276825, -0.18898403644561768, 0.04457739740610123, -0.6209642291069031, -0.2372753620147705, -0.23972712457180023, -0.23549294471740723, -0.2598496675491333, -0.5482977032661438, 0.2988213300704956, -0.01000953558832407, 0.07631399482488632, 0.2787488102912903, -1.039829134941101, 0.8186366558074951, 0.29284244775772095, 0.273899644613266, 0.296991765499115, 0.48024919629096985, 0.10278318077325821, -0.1541910469532013, -0.2625278830528259, -0.9013883471488953, 1.0399166345596313, 0.1789066642522812, 0.8512740135192871, -0.24667340517044067, 0.6611271500587463, 0.4178207814693451, 0.20811384916305542, -0.6788725256919861, 0.6272117495536804, -0.4153420925140381, -0.20483343303203583, -0.17712745070457458, -0.19364646077156067, -0.9207506775856018, -0.044144075363874435, -0.5135786533355713, -0.3381202220916748, -0.03809560462832451, 0.28201740980148315, 0.025370629504323006, 0.09517397731542587, -0.3811531364917755, 0.6283543705940247, -0.6194024085998535, -0.4900338351726532, 0.020069923251867294, -0.8709801435470581, 0.24033531546592712, -0.09341157972812653, 0.39935827255249023, 0.06501711905002594, -0.3980001211166382, 0.4793242812156677, -0.17167344689369202, 0.9769158363342285, 0.05981575325131416, -0.1310836523771286, 0.25231829285621643, 0.05101393535733223, 0.3454013466835022, -0.13435931503772736, 0.19083665311336517, 0.11690957099199295, -0.03677385672926903, -0.5287912487983704, -0.36140379309654236, 0.4957182705402374, -0.6357284188270569, -0.16786570847034454, 0.16407854855060577, -0.4986976385116577, 0.11788228899240494, 0.3131871819496155, 0.5076245665550232, 0.6900339126586914, -0.2105926126241684, 0.17770586907863617, 0.6659908294677734, -0.6431384682655334, 0.3648049831390381, -0.35832902789115906, -0.24567706882953644, -0.8905383944511414, 0.7918305397033691, -0.2960367202758789, -0.12386878579854965, 0.6509926319122314, 0.1571912318468094, -0.2695082128047943, -0.5004820227622986, -0.774695634841919, 0.04298989102244377, -1.0122559070587158, -0.5223912000656128, -0.6927529573440552, 0.18576005101203918, -0.25284478068351746, -0.5297592878341675, -0.2972396910190582, -0.5291940569877625, -0.23024901747703552, 0.001155792037025094, 0.3247709572315216, 1.0732297897338867, 0.482547402381897, 0.4051835834980011, -0.6859480142593384, 0.4962041676044464, 0.16325904428958893, 0.37565651535987854, -0.09648974984884262, -0.2015574723482132, -0.39359697699546814, 0.04329551383852959, -0.2909039556980133, -0.7375204563140869, 0.40005025267601013, 0.30527105927467346, 0.4036513864994049, 0.3087010085582733, 0.014105577953159809, 0.7874290347099304, -0.30742278695106506, 0.8028891682624817, 0.5489015579223633, -0.8859583139419556, 0.6774641275405884, -0.3413092792034149, 0.23803333938121796, 0.30320653319358826, -0.10943154990673065, -0.10761447995901108, -0.5472437143325806, -0.32297372817993164, -1.1671841144561768, 0.283033549785614, 0.47263917326927185, 0.3318138122558594, 0.17132212221622467, 0.4094914495944977, 0.26021844148635864, 0.21245235204696655, -0.8515788912773132, -0.0028044404461979866, -0.5419366955757141, -0.7059639096260071, 0.044334590435028076, -0.30784842371940613, -0.39900943636894226, -0.017518701031804085, 0.44444698095321655, -0.3763730823993683, 0.35728347301483154, 0.29844632744789124, -0.5468018651008606, 0.08017301559448242, 0.29708757996559143, 0.4897480607032776, 0.6035025119781494, 0.2558818757534027, 0.2681609094142914, -0.0012719325022771955, -0.22286514937877655, -0.0025895447470247746, 0.09186140447854996, -0.0538485050201416, 0.045881692320108414, 0.6298115849494934, 0.8646110892295837, 0.14917275309562683, -0.6514259576797485, 0.660967230796814, -0.20440524816513062, -0.0827309638261795, -0.23272596299648285, -0.23630523681640625, -0.018927516415715218, -0.1384252905845642, 0.5571622848510742, 0.127166286110878, 0.47091931104660034, -0.1993602216243744, 0.04967951774597168, 0.1416333168745041, -0.35158249735832214, -0.07934495806694031, 0.6273587942123413, 0.2536681592464447, 0.08988218009471893, 0.5426996350288391, 0.0416288748383522, -0.29466140270233154, 0.710656464099884, 0.2056833952665329, 0.7605787515640259, 0.38100534677505493, 0.31088098883628845, 0.30475470423698425, 0.3488728106021881, -0.03286689519882202, -0.14640726149082184, -0.21986085176467896, -0.283326119184494, -0.40548911690711975, -0.5675038695335388, -0.12884117662906647, -0.40898680686950684, -0.6593217849731445, 0.308164119720459, -0.4715498387813568, -0.19402793049812317, 0.07903315871953964, -0.374112993478775, -0.8094425797462463, 0.49595019221305847, 0.29517242312431335, 0.5721420049667358, -0.5906969904899597, 0.46821892261505127, 0.8749455809593201, -0.6955105066299438, -0.5116554498672485, -0.15575994551181793, -0.4883021414279938, -0.5763784050941467, 0.6976965665817261, 0.5247370004653931, -0.07801210135221481, -0.2835333049297333, -0.9336605668067932, -0.5164194107055664, 1.3397321701049805, 0.40908005833625793, -0.48658618330955505, 0.13248343765735626, 0.21282915771007538, 0.805476188659668, -0.6969162225723267, 0.2620753347873688, 0.09772146493196487, 0.6577914357185364, 0.4015437066555023, -0.838385820388794, 0.15234418213367462, -0.39474114775657654, 0.41626790165901184, -0.26965340971946716, -0.3297472894191742, 0.39686256647109985, -0.5091491937637329, -0.16998177766799927, 0.5292388200759888, 0.4833289086818695, -0.04175578057765961, 0.24923157691955566, 0.34718090295791626, 0.13446764647960663, 0.5242535471916199, -0.20130014419555664, 1.2018924951553345, -0.30668729543685913, 0.09876902401447296, 1.2122267484664917, 0.06573328375816345, 0.5910456776618958, 0.40201038122177124, 0.09261971712112427, 0.26464831829071045, 0.8296278119087219, -0.28620046377182007, 0.3447026312351227, 0.18044058978557587, 0.01405273750424385, -0.32668042182922363, -0.2479691356420517, -0.13029144704341888, 0.3702932894229889, 0.1619475781917572, -0.985582172870636, -0.046682894229888916, 0.10847651958465576, -0.30160197615623474, 0.29851627349853516, -0.2958090007305145, 0.9762649536132812, -0.19962774217128754, -0.30923590064048767, 0.6232986450195312, -0.04210149124264717, 0.6271231770515442, -0.14783185720443726, -0.1033855676651001, -0.03853556141257286, -0.0792967900633812, -0.5078803896903992, -0.8579828143119812, 0.24406923353672028, 0.15803761780261993, -0.10867054760456085, -0.2158818393945694, 0.8566908836364746, -0.533645510673523, -0.6778035759925842, 0.03912539407610893, 0.0511578693985939, 0.44327354431152344, 0.08369136601686478, -0.6461697220802307, 0.20350512862205505, -0.09909601509571075, -0.028193099424242973, -0.13854891061782837, 0.361031174659729, -0.3158574104309082, 0.5534464716911316, 0.36868706345558167, -0.05568554624915123, 0.25368788838386536, 0.004285040777176619, 0.8064237833023071, -0.5411581993103027, -0.40753477811813354, -0.5813860893249512, 0.5482614040374756, -0.3984052836894989, 0.07674212008714676, 0.2543492913246155, 0.6435828804969788, 0.5885874032974243, -0.3682529330253601, 1.0692355632781982, -0.17146769165992737, -0.2571207284927368, -0.4071376919746399, 0.4713991582393646, -0.4363226890563965, 0.2407943159341812, -0.28394457697868347, -1.1691102981567383, -0.5384959578514099, 0.6803770065307617, -0.002603421453386545, -0.14096270501613617, 0.7622613906860352, 0.5168857574462891, -0.04163384065032005, -0.11058039218187332, 0.36862727999687195, 0.1334911286830902, 0.24540643393993378, 0.16805621981620789, 0.84405517578125, -0.5982404351234436, 1.0101271867752075, -0.5372046828269958, -0.13785815238952637, 0.1170034185051918, -0.9218286871910095, -0.9025458097457886, -0.6714473962783813, -0.52728670835495, -0.13527731597423553, 0.04245013743638992, 0.5078403353691101, 0.6325622797012329, -0.4406820833683014, -0.1564943790435791, 0.09593993425369263, -0.22224467992782593, -0.13252300024032593, -0.2240622490644455, 0.5182949900627136, -0.4123503565788269, -0.6803401112556458, -0.21859613060951233, 0.5635824799537659, 0.15655513107776642, -0.317658394575119, -0.03247066214680672, 0.2841148376464844, 0.02118624560534954, 0.516693115234375, -0.3130910396575928, -0.860230565071106, 0.007875079289078712, -0.1320575773715973, -0.279748797416687, 0.16425807774066925, 0.6622217297554016, -0.42964842915534973, 0.6591916680335999, 0.11150695383548737, 0.6606924533843994, 0.43923693895339966, -0.07777945697307587, 0.5392583012580872, -0.7107051014900208, 0.06087678298354149, -0.07232101261615753, 0.2897627651691437, 0.8593169450759888, -0.615186870098114, 0.7438949942588806, -0.027272118255496025, -0.3044610619544983, -0.6395977735519409, 0.10901068150997162, -1.2767815589904785, -0.07131504267454147, 1.1757779121398926, -0.4732116460800171, -0.42288562655448914, 0.15611065924167633, -0.6850388646125793, 0.0875985249876976, -0.2818780541419983, 0.7951455116271973, 0.4807965159416199, 0.2174815684556961, -0.2654133141040802, -0.11324644088745117, 0.17745426297187805, -0.14396405220031738, -0.9251134991645813, 0.059306800365448, 0.8656908869743347, 0.22037269175052643, 0.20705941319465637, 0.49241024255752563, -0.2604707181453705, 0.3281753659248352, -0.32647499442100525, 0.49597597122192383, -0.10957369953393936, -0.1738414317369461, 0.14512097835540771, 0.08554370701313019, -0.03262634575366974, -0.2261996865272522 ]
http://arxiv.org/abs/2406.07496v1
http://arxiv.org/pdf/2406.07496v1
TextGrad: Automatic "Differentiation" via Text
2024-06-11T17:32:21
2024-06-11T17:32:21
Mert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Zhi Huang, Carlos Guestrin, James Zou
cs.CL
cs.CL, cs.AI, cs.LG
AI is undergoing a paradigm shift, with breakthroughs achieved by systems orchestrating multiple large language models (LLMs) and other complex components. As a result, developing principled and automated optimization methods for compound AI systems is one of the most important new challenges. Neural networks faced a similar challenge in its early days until backpropagation and automatic differentiation transformed the field by making optimization turn-key. Inspired by this, we introduce TextGrad, a powerful framework performing automatic ``differentiation'' via text. TextGrad backpropagates textual feedback provided by LLMs to improve individual components of a compound AI system. In our framework, LLMs provide rich, general, natural language suggestions to optimize variables in computation graphs, ranging from code snippets to molecular structures. TextGrad follows PyTorch's syntax and abstraction and is flexible and easy-to-use. It works out-of-the-box for a variety of tasks, where the users only provide the objective function without tuning components or prompts of the framework. We showcase TextGrad's effectiveness and generality across a diverse range of applications, from question answering and molecule optimization to radiotherapy treatment planning. Without modifying the framework, TextGrad improves the zero-shot accuracy of GPT-4o in Google-Proof Question Answering from $51\%$ to $55\%$, yields $20\%$ relative performance gain in optimizing LeetCode-Hard coding problem solutions, improves prompts for reasoning, designs new druglike small molecules with desirable in silico binding, and designs radiation oncology treatment plans with high specificity. TextGrad lays a foundation to accelerate the development of the next-generation of AI systems.
[ -0.018839875236153603, -0.947126567363739, 0.5200218558311462, 0.4173086881637573, 0.13850653171539307, 0.33515071868896484, -0.3971145451068878, -0.00789674837142229, -0.2077324092388153, 0.17139773070812225, -0.4829176068305969, -0.6713473200798035, -0.41222649812698364, 0.4630433917045593, -0.4441760778427124, 1.1934233903884888, -0.27109628915786743, 0.18861418962478638, -0.5025710463523865, -0.06827184557914734, 0.017088111490011215, -0.1546880006790161, -0.8415940403938293, -0.6614689826965332, 0.7149650454521179, 0.2578161656856537, 0.280678391456604, 0.7174423336982727, 0.8215335607528687, 0.38173961639404297, -0.006163160782307386, 0.08063691109418869, -0.2042441964149475, 0.15657475590705872, 0.08035346120595932, -0.2525710463523865, -0.28037193417549133, -0.05903219059109688, 0.32378366589546204, 0.5086349844932556, 0.090766042470932, -0.11676813662052155, -0.10527853667736053, 0.9571493268013, -0.6538591980934143, 0.122745081782341, -0.4692639410495758, 0.14307890832424164, 0.18137390911579132, -0.14587390422821045, -0.2940768003463745, -0.5243203639984131, 0.4756008982658386, -0.8316065669059753, 0.1817755252122879, -0.30934256315231323, 0.8147128820419312, 0.41225895285606384, -0.03644290566444397, -0.3249475955963135, -0.47224554419517517, 0.697402834892273, -0.3440840244293213, 0.003643554635345936, -0.03068539686501026, 0.19935913383960724, 0.11693097651004791, -0.9843567609786987, -0.18394984304904938, -0.542927622795105, -0.059797387570142746, 0.12002509087324142, -0.20590506494045258, 0.39466211199760437, 0.1352439969778061, 0.5496963262557983, -0.4774424433708191, -0.13761627674102783, -0.3134153187274933, -0.2225528508424759, 0.46753403544425964, -0.0017118153627961874, 0.7112638354301453, -0.14895768463611603, -0.04149321839213371, -0.23715169727802277, -0.5856909155845642, -0.23414507508277893, 0.3197726607322693, 0.309562087059021, -0.1310652792453766, 0.36987990140914917, -0.2966320216655731, 0.40087074041366577, -0.009549428708851337, 0.19254137575626373, 0.4830404222011566, -0.31782758235931396, -0.2811233103275299, 0.0393330343067646, 0.9053366184234619, 0.1783408373594284, 0.24080264568328857, -0.15337876975536346, -0.20505394041538239, -0.033024001866579056, 0.22547674179077148, -1.0176130533218384, -0.7089278697967529, 0.2671408951282501, -0.41028884053230286, -0.6816893815994263, -0.3112134635448456, -0.9949527978897095, -0.23558346927165985, -0.2964009642601013, 0.8372815847396851, -0.3870406150817871, -0.009808208793401718, -0.011610631830990314, -0.42188209295272827, -0.06632824242115021, 0.40850281715393066, -0.6867673993110657, 0.4232063889503479, 0.40137848258018494, 1.087200403213501, -0.5803095102310181, -0.21059121191501617, -0.53569495677948, -0.11091997474431992, -0.381001353263855, 0.9036609530448914, -0.5319907665252686, -0.45400282740592957, 0.007210843730717897, -0.4013462960720062, 0.021332349628210068, -0.6868010759353638, 0.5321964621543884, -0.13702185451984406, 0.5362139344215393, 0.1660831868648529, -0.2979705035686493, -0.003650953993201256, 0.179933562874794, -0.44844457507133484, 1.1842868328094482, 0.16848161816596985, -0.55632084608078, 0.15137864649295807, -1.2767688035964966, -0.5365322828292847, 0.044373299926519394, -0.21674185991287231, -0.6166132092475891, -0.0469820573925972, 0.4203239679336548, 0.14956551790237427, -0.33087942004203796, 0.1480511873960495, 0.020775064826011658, -0.2683488726615906, -0.1721068173646927, -0.4186767637729645, 0.6370949149131775, 0.0887928456068039, -0.5207443833351135, 0.3394303321838379, -0.7316067814826965, 0.11237098276615143, -0.1868828982114792, -0.723080575466156, -0.28627949953079224, 0.024891840294003487, 0.043582215905189514, -0.04930742830038071, 0.15657542645931244, -0.40664684772491455, 0.3557479679584503, -0.8692750930786133, 0.5866367220878601, 0.7166446447372437, -0.10373474657535553, 0.7490246295928955, -0.15211425721645355, 0.6104723215103149, -0.11474958807229996, 0.000033182641345774755, -0.2851020097732544, -0.31260329484939575, -0.8286241292953491, -0.40226373076438904, 0.23054267466068268, 0.6779277920722961, -0.7799346446990967, 0.25139158964157104, -0.0755767896771431, -0.24137961864471436, -0.36346930265426636, 0.27921000123023987, 0.5045583248138428, 0.5616068243980408, 0.6578319668769836, 0.24880218505859375, -0.3941579759120941, -0.9112516045570374, -0.5602301359176636, -0.23098278045654297, -0.09497791528701782, 0.2879440188407898, 0.46148648858070374, -0.4069456458091736, 0.7098428010940552, -0.6425010561943054, -0.39271172881126404, -0.179714173078537, 0.35123223066329956, 0.036003947257995605, 0.5095811486244202, 0.2971881031990051, -0.9126245975494385, -0.5019862055778503, 0.18763993680477142, -0.578798234462738, -0.5047340989112854, -0.23095381259918213, -0.3856622278690338, 0.016493655741214752, 0.7595380544662476, -0.4365307092666626, 0.37279897928237915, 0.2721993625164032, -0.00796601828187704, 0.47687527537345886, -0.4198632538318634, -0.10483423620462418, -1.0064536333084106, 0.26920461654663086, 0.22252458333969116, -0.17833900451660156, -0.35533007979393005, 0.0934486985206604, -0.2146981805562973, -0.1529247760772705, -0.33446982502937317, 0.8542162775993347, -0.18336202204227448, 0.16450932621955872, -0.20245687663555145, 0.013636395335197449, 0.10657457262277603, 0.287712037563324, -0.13396915793418884, 1.0300140380859375, 0.5938224792480469, -0.8475385904312134, 0.4870840013027191, 0.3495941460132599, 0.04514000192284584, 0.2711683511734009, -0.8749931454658508, 0.06217927858233452, -0.07052317261695862, 0.26526719331741333, -0.8636491894721985, -0.20290681719779968, 0.45575034618377686, -0.5173946619033813, -0.13022689521312714, -0.09534817934036255, -0.1616673767566681, -0.32825958728790283, -0.4537180960178375, 0.49135622382164, 0.4202949106693268, -0.45313721895217896, 0.9648001194000244, 0.0172909926623106, -0.2685123682022095, -0.3947374224662781, -0.8256182074546814, 0.1315312385559082, 0.013231740333139896, -0.24595077335834503, 0.776300311088562, -0.3886911869049072, -0.46244552731513977, -0.18909983336925507, 0.05489445477724075, -0.19086487591266632, 0.0005352072766982019, 0.027307167649269104, 0.17335012555122375, -0.3314181864261627, 0.38671791553497314, 0.5775262713432312, -0.3511500954627991, 0.018622903153300285, -0.6450045704841614, 0.40868234634399414, -0.07368175685405731, 0.10078339278697968, -0.5815214514732361, 0.299087792634964, 0.40330860018730164, -0.10385284572839737, 0.09465440362691879, 0.4946865439414978, -0.12025316804647446, -0.31207889318466187, -0.055628884583711624, -0.21788033843040466, -0.5713521838188171, 0.5384806394577026, -0.2665439248085022, -0.4009804129600525, -0.05760089308023453, -0.3300160765647888, 0.3247150778770447, 0.5653440952301025, 0.7068118453025818, 0.027648573741316795, 1.0783356428146362, 0.6321040987968445, 0.09693529456853867, 0.5849007964134216, -0.20897455513477325, -0.048347242176532745, -0.4019336998462677, -0.28527745604515076, -0.6486706733703613, -0.3622759282588959, -0.5665075182914734, -0.17321249842643738, 0.42390111088752747, -0.19049686193466187, -0.3704318404197693, 0.03322330117225647, -0.7903975248336792, 0.7738215923309326, 0.48482468724250793, 0.15394431352615356, 0.3008856177330017, 0.40630680322647095, -0.3507193922996521, -0.0688178688287735, -0.3809245824813843, -0.4021884799003601, 1.147545576095581, 0.13932852447032928, 0.46309563517570496, -0.22732923924922943, 0.8518694043159485, 0.6609553098678589, 0.5173556804656982, -1.056852102279663, 0.5866101980209351, -0.534794807434082, -0.25712427496910095, -0.0035270247608423233, -0.8945826888084412, -0.6593641042709351, -0.07019439339637756, -0.034999482333660126, -0.4687848687171936, -0.05651320517063141, 0.11916831880807877, -0.25320717692375183, 0.009553768672049046, -0.6810383200645447, 0.6919869780540466, -0.09314872324466705, -0.16035068035125732, -0.18473762273788452, -0.41064953804016113, -0.22337986528873444, -0.15731285512447357, -0.00012383918510749936, -0.032088056206703186, -0.2796650230884552, 0.8408054113388062, -0.2869129478931427, 0.4522084593772888, -0.11707441508769989, -0.3123130202293396, 0.02709752693772316, 0.26129281520843506, 0.028691137209534645, 0.1315760761499405, -0.36798563599586487, -0.2201039344072342, -0.10960099846124649, -0.21732039749622345, -0.6786870956420898, 0.821416974067688, -0.8258792161941528, -0.3210725486278534, -0.11401243507862091, -0.367877334356308, -0.06406297534704208, 0.5017057061195374, 0.3733028173446655, 0.6471295952796936, -0.20176951587200165, 0.02848310023546219, 0.37812501192092896, -0.47836747765541077, 0.764988124370575, 0.040892377495765686, -0.3395322263240814, -0.731228232383728, 1.1671209335327148, -0.46725112199783325, 0.15205061435699463, 0.8357462882995605, 0.6263601779937744, -0.37488090991973877, -0.57704097032547, -0.40506109595298767, 0.03893794119358063, -0.8196861743927002, -0.24023817479610443, -0.720120370388031, -0.08627593517303467, -0.2370208501815796, -0.1511884331703186, -0.34699350595474243, -0.529843807220459, -0.3690146207809448, -0.13604296743869781, 0.32420608401298523, 0.5929461121559143, -0.041556887328624725, 0.21542274951934814, -0.5734149813652039, 0.42655107378959656, 0.21743661165237427, 0.06587374210357666, -0.44009536504745483, -0.37682074308395386, -0.04439208284020424, 0.016089672222733498, -0.5496016144752502, -0.43233224749565125, 0.2747325301170349, 0.6526331901550293, 0.2467152178287506, 0.239623561501503, -0.051904357969760895, 0.3595820665359497, -0.4630770683288574, 0.5975920557975769, 0.1402953714132309, -1.149581789970398, 0.6695582270622253, -0.4264444410800934, 0.25942757725715637, 0.73012375831604, 0.31569036841392517, -0.37908273935317993, -0.2872966527938843, -0.3624858558177948, -0.9538201093673706, 0.5464053750038147, 0.44876596331596375, 0.5197227001190186, 0.207709401845932, 0.6815532445907593, 0.11111079156398773, 0.3327811360359192, -0.9413206577301025, -0.37850961089134216, -0.1278853565454483, -0.7790060043334961, 0.18289397656917572, 0.3856850862503052, -0.24389176070690155, -0.5649389624595642, 0.6236852407455444, -0.4744064509868622, 0.6393938660621643, 0.358854204416275, -0.14818863570690155, 0.1832476407289505, -0.06748859584331512, 0.5415099263191223, 0.5554906129837036, 0.13152332603931427, -0.030285866931080818, -0.05633130669593811, -0.5941076874732971, 0.3194788694381714, 0.17779448628425598, -0.4497515559196472, 0.08530905842781067, 0.2513120174407959, 0.5584927201271057, -0.1630343645811081, -0.7054160833358765, 0.5438752174377441, -0.08152587711811066, -0.5678054094314575, 0.039936017245054245, 0.18241114914417267, -0.3568134009838104, 0.019685951992869377, 0.5666344165802002, 0.3818419873714447, 0.2803727388381958, -0.263872891664505, 0.4265585243701935, -0.0810939222574234, -0.4552254378795624, -0.029644634574651718, 0.47301405668258667, 0.49016815423965454, -0.6152440309524536, 0.5268988609313965, 0.18407772481441498, -0.5881735682487488, 0.7687801122665405, 0.291904091835022, 1.2660067081451416, 0.14751885831356049, 0.6888936161994934, 0.21462500095367432, -0.14083798229694366, -0.05049420893192291, -0.059795379638671875, -0.09251336008310318, -0.4979825019836426, -0.2203826755285263, -0.5256334543228149, -0.3181290924549103, -0.04926559701561928, -0.25944584608078003, 0.414146363735199, -0.997089147567749, -0.01827315054833889, 0.06815294176340103, 0.06994033604860306, -0.10873828828334808, 0.4913099706172943, 0.013714607805013657, 0.7345105409622192, -0.4408716559410095, 0.4231918156147003, 0.7807879447937012, -0.4931916892528534, -0.35250428318977356, 0.5507163405418396, -0.14233869314193726, -0.6119276881217957, 0.9777111411094666, 0.3722972273826599, -0.3996427059173584, 0.25676229596138, -0.5889535546302795, -0.22875884175300598, 0.6869027614593506, 0.41425299644470215, -0.21621964871883392, -0.48538848757743835, -0.04818789288401604, 0.6213246583938599, -0.4064877927303314, 0.7051734328269958, 0.41829949617385864, 0.4995018541812897, -0.0983530730009079, -0.530471920967102, -0.06042967364192009, -0.33398911356925964, -0.08057361841201782, 0.15902239084243774, -0.4803670048713684, 0.7179139852523804, -0.16297626495361328, -0.031406693160533905, 0.2514975070953369, 0.47701701521873474, -0.18474730849266052, 0.29964661598205566, 0.11800381541252136, 0.3341772258281708, 0.613561749458313, -0.19239164888858795, 0.9237799644470215, -0.3058187961578369, 0.2307942807674408, 0.5053413510322571, 0.167387917637825, 0.7721697092056274, 0.46696358919143677, -0.18606901168823242, 0.8195539116859436, 0.5093538761138916, -0.14423197507858276, 0.5493135452270508, 0.3647751212120056, -0.449605792760849, -0.07759353518486023, 0.18828651309013367, -0.1313186138868332, 0.2799522876739502, 0.3176773190498352, -0.5761983394622803, -0.3055654764175415, 0.0949922725558281, 0.06518655270338058, 0.2714521288871765, -0.3114796578884125, 0.9625329375267029, 0.06752587109804153, -0.6382896304130554, 0.4708039462566376, 0.30958932638168335, 0.7891901135444641, -0.5751283168792725, -0.09879542142152786, -0.4410119950771332, 0.4969339072704315, -0.3185529410839081, -0.39954081177711487, 0.2964470386505127, -0.0870780497789383, -0.11887925863265991, -0.4071599543094635, 0.5053355693817139, -0.2734944522380829, -0.6782363057136536, 0.37037044763565063, 0.35452011227607727, -0.06049467995762825, -0.12045488506555557, -1.194393515586853, -0.026683000847697258, 0.06773632019758224, -0.07896038144826889, -0.062280524522066116, 0.2980283498764038, 0.33692798018455505, 0.8217049241065979, 0.6045491099357605, 0.14491091668605804, -0.2520257532596588, 0.031163202598690987, 0.9589700102806091, -0.507291853427887, -0.3211796283721924, -1.2262588739395142, 0.17054694890975952, -0.22955375909805298, -0.6182457208633423, 0.37783390283584595, 0.6184709072113037, 0.49518883228302, 0.2049911767244339, 0.8705938458442688, 0.18253356218338013, 0.3459572196006775, -0.7503184080123901, 0.7822467684745789, -0.8394383192062378, 0.26451393961906433, -0.6613627076148987, -0.8802593350410461, -0.6588922142982483, 0.7057791352272034, -0.4491277039051056, 0.25636208057403564, 0.9132310748100281, 0.8260643482208252, 0.08681023120880127, -0.19964748620986938, -0.09922434389591217, 0.024999229237437248, 0.6440261006355286, 0.3830121159553528, 0.6709177494049072, -0.4816208481788635, 0.8932968378067017, 0.015028944239020348, -0.16539378464221954, -0.05889643728733063, -0.6771431565284729, -0.9495183825492859, -0.36149662733078003, -0.7239504456520081, -0.32448822259902954, 0.35061731934547424, 1.170677900314331, 0.6833191514015198, -0.6183688044548035, -0.20619627833366394, -0.8239702582359314, -0.018847603350877762, 0.031041422858834267, -0.3259457051753998, 0.3982599973678589, -0.5786332488059998, -0.9219996333122253, 0.457374632358551, 0.5258626937866211, 0.058603815734386444, -0.24341750144958496, -0.08379606157541275, 0.05705020949244499, 0.04458840191364288, 0.39524298906326294, 0.326602578163147, -0.5245981812477112, 0.13844843208789825, -0.07965905219316483, -0.33041849732398987, 0.4750725030899048, 1.0561964511871338, -0.8477200269699097, 0.31761932373046875, 0.703071653842926, 1.1162079572677612, 0.199384868144989, 0.04243163391947746, 1.019020438194275, -0.6959995031356812, 0.08756148815155029, 0.5813053250312805, -0.19361747801303864, 0.4805935025215149, -0.3694289028644562, 0.09025205671787262, 0.48969078063964844, -0.45912835001945496, -0.5226913094520569, 0.07572140544652939, -0.3983258903026581, -0.5078915357589722, 1.2531638145446777, -0.040573667734861374, -0.3461938798427582, -0.02208680659532547, -0.5118423104286194, 0.01869998499751091, -0.7711525559425354, 0.8794598579406738, 0.5510500073432922, -0.16765309870243073, -0.2777939438819885, -0.12382032722234726, 0.944779098033905, 0.7703118324279785, -1.253706693649292, 0.05616311356425285, 0.49982571601867676, 0.09775982052087784, 0.12359730154275894, 0.6096469163894653, -0.1570514589548111, 0.2895352840423584, -0.1537274718284607, -0.16866600513458252, 0.0951351746916771, -0.472901314496994, -0.356964111328125, 0.061055853962898254, -0.238040491938591, -0.15904666483402252 ]
http://arxiv.org/abs/2406.07494v2
http://arxiv.org/pdf/2406.07494v2
CADS: A Systematic Literature Review on the Challenges of Abstractive Dialogue Summarization
2024-06-11T17:30:22
2024-06-12T10:47:09
Frederic Kirstein, Jan Philip Wahle, Bela Gipp, Terry Ruas
cs.CL
cs.CL, cs.AI
Abstractive dialogue summarization is the task of distilling conversations into informative and concise summaries. Although reviews have been conducted on this topic, there is a lack of comprehensive work detailing the challenges of dialogue summarization, unifying the differing understanding of the task, and aligning proposed techniques, datasets, and evaluation metrics with the challenges. This article summarizes the research on Transformer-based abstractive summarization for English dialogues by systematically reviewing 1262 unique research papers published between 2019 and 2024, relying on the Semantic Scholar and DBLP databases. We cover the main challenges present in dialog summarization (i.e., language, structure, comprehension, speaker, salience, and factuality) and link them to corresponding techniques such as graph-based approaches, additional training tasks, and planning strategies, which typically overly rely on BART-based encoder-decoder models. We find that while some challenges, like language, have seen considerable progress, mainly due to training methods, others, such as comprehension, factuality, and salience, remain difficult and hold significant research opportunities. We investigate how these approaches are typically assessed, covering the datasets for the subdomains of dialogue (e.g., meeting, medical), the established automatic metrics and human evaluation approaches for assessing scores and annotator agreement. We observe that only a few datasets span across all subdomains. The ROUGE metric is the most used, while human evaluation is frequently reported without sufficient detail on inner-annotator agreement and annotation guidelines. Additionally, we discuss the possible implications of the recently explored large language models and conclude that despite a potential shift in relevance and difficulty, our described challenge taxonomy remains relevant.
[ -0.489876925945282, -0.3633633852005005, 0.4943293631076813, 0.09670720249414444, -0.21060237288475037, 0.45558369159698486, -0.11544621735811234, -0.44037649035453796, 0.1086677834391594, 0.48507407307624817, -0.5592361092567444, -0.4364635646343231, -0.7739748358726501, 0.6143892407417297, -0.33772116899490356, 1.2983323335647583, -0.032115403562784195, 0.17955435812473297, -0.2933308482170105, -0.30276766419410706, -0.44298988580703735, -0.6159130930900574, -0.47916850447654724, -0.0600941926240921, 0.35763558745384216, 0.1578667163848877, 0.5202944278717041, 0.07108306139707565, 0.6210486888885498, 0.3355240821838379, -0.4754991829395294, 0.23032429814338684, -0.4568342864513397, 0.35268792510032654, 0.11476384848356247, -0.35707294940948486, -0.5158659219741821, -0.20892925560474396, 0.43732360005378723, 1.1424589157104492, -0.06187077611684799, -0.06359907984733582, 0.129355788230896, 0.6770914793014526, -0.4723150432109833, 0.2466093748807907, -0.4792783260345459, 0.13587823510169983, 0.08572668582201004, 0.008902350440621376, -0.35421091318130493, -0.4233763515949249, 0.5055873394012451, -0.427983820438385, 0.4646422266960144, -0.11360952258110046, 0.45786017179489136, 0.17129944264888763, -0.6827815175056458, -0.5397661328315735, -0.8873723745346069, 0.7073014974594116, -0.8103929162025452, -0.0774463415145874, 0.06095975637435913, 0.3996186852455139, -0.020545365288853645, -0.7248222827911377, -0.3007606863975525, -0.05010410025715828, -0.4234887659549713, 0.4357997179031372, -0.31716692447662354, 0.34995532035827637, 0.39048752188682556, 0.5961071252822876, -0.47573229670524597, -0.16140097379684448, -0.707409679889679, -0.2699013650417328, 0.7166313529014587, 0.7288992404937744, 0.295419842004776, -0.34344589710235596, 0.13981689512729645, 0.09342390298843384, -0.5484186410903931, 0.18047188222408295, 0.2666015625, 0.20918028056621552, -0.2384720891714096, 0.4936085641384125, -0.3278173506259918, 0.31887519359588623, -0.18092739582061768, -0.11223280429840088, 0.09371062368154526, -0.6323378682136536, 0.19807562232017517, 0.08921574056148529, 0.8146761655807495, 0.54683518409729, 0.03453589230775833, -0.10456360131502151, -0.10348235070705414, -0.10317645967006683, 0.07805373519659042, -0.8022446632385254, -0.10034549236297607, 0.3658038377761841, -0.5114927291870117, -0.22915595769882202, -0.1014646366238594, -0.44071927666664124, -0.1086529865860939, -0.43228188157081604, -0.20177219808101654, -0.20272356271743774, -0.2730625569820404, -0.10113182663917542, -0.21323594450950623, 0.3078872561454773, 0.8583195805549622, -0.9200927019119263, 0.563041627407074, 0.6547935605049133, 1.0927902460098267, -0.21285565197467804, 0.09619869291782379, -0.0030651292763650417, -0.12440378963947296, -0.2570374608039856, 0.8726454973220825, -0.41345950961112976, -0.9042630195617676, 0.013535337522625923, 0.19463320076465607, -0.31223100423812866, -0.39901381731033325, 0.4968785047531128, 0.10062293708324432, 0.2898213565349579, -0.4514707326889038, -0.2385195642709732, 0.0011894715717062354, 0.2812734842300415, -0.6269916892051697, 0.7217082977294922, 0.007109636906534433, -0.9433702230453491, -0.11522908508777618, -0.6009671092033386, -0.4232247769832611, -0.17761114239692688, -0.3952236473560333, -0.2493487298488617, 0.2295079231262207, 0.32104620337486267, -0.022952614352107048, -0.3273492753505707, 0.1775122433900833, 0.19017809629440308, -0.27816104888916016, 0.18232333660125732, -0.40118303894996643, 0.8887000679969788, 0.18120156228542328, -0.18222913146018982, 0.16294491291046143, -0.41728946566581726, -0.15694844722747803, -0.16517652571201324, 0.16814422607421875, -0.038092583417892456, 0.051487796008586884, 0.05550608038902283, 0.22359342873096466, 0.018706921488046646, -0.5389644503593445, 0.13374245166778564, -0.43158823251724243, 0.4175121784210205, 0.47979751229286194, 0.11142437160015106, 0.21712322533130646, -0.29282745718955994, 0.6758052706718445, -0.07712120562791824, 0.22367408871650696, -0.678137481212616, -0.5144782066345215, -0.6023072004318237, -0.22321155667304993, 0.32954463362693787, 0.6361724138259888, -0.4997863471508026, 0.3641491234302521, -0.41245386004447937, -0.5672633647918701, -0.5775752663612366, -0.23774467408657074, 0.3924339711666107, 0.2919875681400299, 0.26625269651412964, -0.6348058581352234, -0.34736424684524536, -0.9562155604362488, 0.08490735292434692, -0.25024089217185974, -0.17032834887504578, 0.307133287191391, 0.490965873003006, -0.014968717470765114, 1.0249844789505005, -0.46065300703048706, -0.38843676447868347, -0.6726669669151306, 0.5922215580940247, -0.05587776377797127, 0.34766319394111633, 0.24386908113956451, -0.47340017557144165, -0.47554463148117065, 0.05029357224702835, -0.7559145092964172, -0.196580171585083, -0.12341984361410141, 0.43802130222320557, 0.25171658396720886, 0.6989346742630005, -0.7583766579627991, 0.5917845964431763, 0.22591117024421692, 0.19320501387119293, 0.5987801551818848, -0.022037046030163765, 0.26894527673721313, -1.0398406982421875, 0.08711159974336624, -0.2565568685531616, -0.15941071510314941, -0.5336382985115051, -0.35297510027885437, -0.4100412130355835, -0.2601475417613983, -0.25752970576286316, 0.15829943120479584, -0.3600415587425232, 0.08720419555902481, -0.3331180810928345, 0.41225773096084595, -0.10794295370578766, 0.5564284920692444, 0.09017692506313324, 0.5605450868606567, 0.22416335344314575, -0.34713125228881836, 0.3732616901397705, 0.5666800737380981, -0.2522437870502472, 0.49695324897766113, -1.058380126953125, 0.06760438531637192, -0.37471500039100647, 0.9086129665374756, -1.1607388257980347, 0.05729581415653229, 0.003522039158269763, -0.36689263582229614, 0.24969734251499176, -0.06964613497257233, -0.15724095702171326, -0.10834123939275742, -0.5292862057685852, 0.6970400214195251, 0.4150511920452118, -0.009137995541095734, 0.8052743673324585, 0.36542537808418274, -0.8486953377723694, -0.622552216053009, -0.1476610004901886, 0.41053658723831177, 0.014454467222094536, -0.5031546354293823, 0.3582383394241333, 0.031058231368660927, -0.43772655725479126, -0.15978603065013885, -0.3465423285961151, 0.25961607694625854, -0.09769292920827866, 0.1324574053287506, 0.2047155648469925, 0.015387952327728271, -0.2007220834493637, 0.12386876344680786, -0.3949202001094818, 0.4044032394886017, 0.35479146242141724, 0.09440954029560089, -0.06267900764942169, -0.3890470266342163, -0.4485630989074707, 0.6341290473937988, 0.5502349138259888, -0.13562782108783722, 0.17885178327560425, 0.41329720616340637, -0.1577131599187851, 0.15522192418575287, -0.4115510582923889, -0.41519060730934143, -0.294933944940567, 0.6190361976623535, -0.20729514956474304, -0.8335636258125305, 0.7643986940383911, -0.33410900831222534, 0.5809996128082275, 0.46380865573883057, 0.38236862421035767, -0.16792167723178864, 1.3630146980285645, 0.5143014788627625, -0.017160968855023384, 0.07748231291770935, -0.29018399119377136, 0.6540979743003845, -0.9639726281166077, -0.27894505858421326, -0.7600516080856323, -0.18566226959228516, -0.6789783835411072, -0.18103738129138947, 0.5519763827323914, -0.3072277009487152, 0.34474509954452515, 0.15572935342788696, -0.4443609118461609, 0.29339003562927246, 0.048474665731191635, -0.20791730284690857, 0.6110018491744995, -0.5279478430747986, 0.09016831964254379, -0.29018890857696533, -0.6443336606025696, -0.6154935359954834, 0.9349783062934875, 0.2765767276287079, 0.8660702705383301, 0.25731685757637024, 0.3432721495628357, 0.24974678456783295, 0.3182395100593567, -0.843819797039032, 0.5057640671730042, 0.06986816972494125, -0.3422193229198456, -0.39165934920310974, -0.2980542480945587, -0.877933919429779, 0.47544577717781067, -0.0006960174650885165, -0.728905975818634, 0.1009492501616478, 0.019127188250422478, -0.23977316915988922, -0.039262108504772186, -0.4988243579864502, 0.7286373972892761, -0.10129048675298691, -0.08073636889457703, -0.18893861770629883, -1.098448395729065, 0.4287687838077545, 0.2764970362186432, 0.3057408332824707, -0.09934941679239273, 0.36903268098831177, 0.7657502889633179, -0.7396810054779053, 0.9005626440048218, 0.04061685502529144, -0.18520411849021912, 0.23425105214118958, -0.14669710397720337, 0.4478893578052521, 0.1248382180929184, 0.6308406591415405, 0.09141422808170319, 0.4640781283378601, -0.3490764796733856, -0.7658261656761169, 0.2947119176387787, -0.4685359299182892, -0.8868471384048462, -0.7372199296951294, -0.44162511825561523, -0.3300400972366333, -0.19584961235523224, 0.38503018021583557, 0.7265222072601318, -0.486899733543396, 0.10284467786550522, 0.6624012589454651, -0.13214193284511566, 0.3660280704498291, 0.2174782007932663, -0.06356818228960037, -0.37812814116477966, 0.7241835594177246, 0.07260320335626602, 0.3973698318004608, 0.35166484117507935, -0.22346456348896027, -0.17887602746486664, -0.6762778162956238, -0.4635840952396393, 0.21576794981956482, -0.7216630578041077, -0.06750650703907013, -0.8913297653198242, -0.5665722489356995, -0.4654625952243805, -0.11437872797250748, -0.3354535400867462, -0.8778108358383179, 0.17506451904773712, -0.19736430048942566, 0.07282876968383789, 0.9750975966453552, 0.16767527163028717, 0.07213544100522995, -0.6152699589729309, 0.0963725820183754, 0.2870490849018097, 0.04077698662877083, 0.11415079236030579, -0.5193731784820557, -0.36873099207878113, -0.029407735913991928, -0.6011595129966736, -0.5959477424621582, 0.10811582952737808, -0.19321416318416595, 0.3066641092300415, 0.27732720971107483, 0.30204370617866516, 0.6342871785163879, -0.4934096336364746, 1.1089130640029907, 0.12818381190299988, -0.8538475036621094, 0.5093592405319214, -0.17060521245002747, 0.5249689817428589, 0.7555901408195496, 0.2742796540260315, -0.6619182825088501, -0.8047839403152466, -0.4760059118270874, -1.143581748008728, 0.7565880417823792, 0.5963277220726013, 0.28268325328826904, 0.057791076600551605, -0.06541299819946289, 0.069021075963974, 0.15682107210159302, -0.40676888823509216, -0.32020777463912964, -0.236636683344841, -0.1562582552433014, 0.0651627779006958, -0.16294759511947632, -0.305149644613266, -0.30875885486602783, 0.6418269276618958, -0.1521296203136444, 0.10601966083049774, 0.38508355617523193, -0.21892565488815308, 0.213733971118927, 0.5565260052680969, 0.8108254671096802, 0.7557567954063416, -0.3895159959793091, -0.0931449607014656, 0.3707784414291382, -0.5244556069374084, -0.06004650890827179, 0.19688428938388824, -0.07133309543132782, 0.5162312984466553, 0.5340099334716797, 0.641901969909668, 0.39608296751976013, -0.8030146360397339, 0.6478933095932007, -0.49534305930137634, -0.4873489439487457, -0.5154861211776733, -0.26611167192459106, -0.21012099087238312, -0.10479798167943954, 0.43783706426620483, 0.004215260501950979, 0.3731202781200409, -0.4878333806991577, -0.3017529249191284, 0.5507033467292786, -0.6488416790962219, -0.5343427658081055, 0.33609411120414734, 0.5791521072387695, -0.006245772819966078, 0.3941250145435333, -0.017051709815859795, -0.4624309539794922, 0.4455782175064087, 0.25975996255874634, 1.0297242403030396, -0.24077293276786804, 0.186594620347023, 0.39268797636032104, 0.4829081594944, 0.1745406985282898, -0.10109269618988037, -0.39875850081443787, -0.36743292212486267, -0.43627968430519104, -0.131100594997406, -1.0589874982833862, 0.12354025989770889, -0.643726646900177, 0.1586197316646576, -0.13372719287872314, -0.13975553214550018, 0.15804007649421692, -0.20111803710460663, -0.2935706079006195, -0.16622920334339142, -0.2714501917362213, 0.8626229763031006, -0.6601391434669495, 0.14874917268753052, 0.47936755418777466, -0.3892751932144165, -0.337079793214798, -0.24126487970352173, 0.24190162122249603, -0.11045447736978531, 0.31310775876045227, 0.07587691396474838, -0.24742577970027924, -0.2768673002719879, -0.21853284537792206, -0.49040326476097107, 1.0698269605636597, 0.17170292139053345, -0.4175890386104584, -0.4347405433654785, 0.2343069314956665, 0.7148962616920471, -0.45984575152397156, 0.8034713268280029, 0.6803281903266907, 0.24380385875701904, 0.2253865748643875, -1.166635274887085, 0.017165668308734894, -0.589455783367157, 0.06605241447687149, 0.1297517567873001, -0.5812737345695496, 0.4248778522014618, -0.23851944506168365, -0.38546380400657654, 0.22256775200366974, 0.33112120628356934, -0.13741403818130493, 0.415955513715744, 0.3818086087703705, 0.28567880392074585, 0.26331353187561035, -0.41361674666404724, 0.8538607954978943, -0.21867087483406067, 0.20494753122329712, 1.119693398475647, -0.39172282814979553, 0.36608949303627014, 0.36279240250587463, -0.2991602122783661, 0.5351950526237488, 0.4527048170566559, 0.27702778577804565, 0.3169136345386505, 0.2949453294277191, -0.5067248940467834, 0.014236390590667725, -0.3491866886615753, -0.5044922828674316, 0.4123334586620331, 0.5890028476715088, -0.22695982456207275, -0.47776544094085693, -0.08062945306301117, -0.047196581959724426, 0.05566940829157829, -0.021367019042372704, 1.4150948524475098, 0.190031036734581, -0.6453585028648376, 0.3128308355808258, -0.07650936394929886, 0.27002930641174316, -0.7347647547721863, -0.2796856462955475, -0.42048102617263794, -0.34805652499198914, -0.40227246284484863, -0.3080459237098694, 0.4352259635925293, 0.045285195112228394, -0.025492427870631218, -0.2000308781862259, 0.2612225115299225, -0.37455201148986816, -0.37057366967201233, -0.17099058628082275, 0.5425469875335693, 0.26973757147789, 0.23323778808116913, -0.3404788374900818, 0.09794788807630539, 0.0003581221681088209, -0.022719014436006546, 0.2336307168006897, 0.5952010750770569, -0.2343922108411789, 0.342329740524292, 0.32469308376312256, -0.02479926496744156, -0.35584986209869385, 0.36746615171432495, 0.9031426310539246, -0.831518828868866, -0.502514660358429, -0.5305335521697998, 0.6941655874252319, -0.3100249171257019, -0.3148549795150757, 0.664640486240387, 0.745675265789032, 0.5803018808364868, 0.11118271946907043, 1.203209638595581, 0.0398135781288147, 0.4691492021083832, -0.37926995754241943, 0.3770446479320526, 0.03854817524552345, 0.5512747168540955, -0.4052533507347107, -0.8261101841926575, -0.1506514698266983, 0.43859654664993286, -0.2929830849170685, 0.07579223811626434, 1.1073614358901978, 0.7225601673126221, 0.12896178662776947, 0.4970797002315521, 0.06958919763565063, 0.11900687962770462, 0.511712372303009, 0.4470323622226715, 0.8315237760543823, -0.5296342372894287, 0.6684621572494507, -0.11604050546884537, -0.3318854570388794, -0.23806315660476685, -0.5745677351951599, -0.9935820698738098, -0.8887487053871155, -0.46041232347488403, -0.3249334692955017, 0.0023923718836158514, 0.9115555882453918, 0.48657453060150146, -0.9277861714363098, -0.3280547857284546, -0.02210792899131775, 0.2654028832912445, -0.19783775508403778, -0.21881195902824402, 0.42601868510246277, -0.4233211874961853, -0.9213913679122925, -0.07880518585443497, 0.5034529566764832, 0.17243634164333344, -0.2635319232940674, 0.07017096877098083, 0.20723849534988403, 0.07435117661952972, 0.6601277589797974, 0.3299776315689087, -0.8636218309402466, -0.06733287125825882, -0.04160796105861664, -0.09162881225347519, -0.07431191951036453, 1.3707013130187988, -0.6161100268363953, 0.5757265090942383, 0.23650886118412018, 0.5644667744636536, 0.5609342455863953, 0.008418528363108635, 0.8354417085647583, -0.5536907911300659, -0.05059811472892761, 0.40200382471084595, 0.34988921880722046, 0.4546632468700409, -0.044857095927000046, 0.4163808822631836, 0.12584488093852997, -0.38145267963409424, -0.8584024310112, 0.3609965443611145, -1.0837666988372803, -0.077362060546875, 0.5705370903015137, -0.07779867947101593, 0.15408825874328613, -0.6795071363449097, -0.5668210983276367, -0.038037464022636414, -0.24229547381401062, 1.179431676864624, 0.8365217447280884, -0.34513917565345764, -0.2456253618001938, -0.38508760929107666, 0.8592650890350342, 0.45255348086357117, -0.9018777012825012, 0.4268105924129486, 0.5212236046791077, -0.19307871162891388, 0.34108325839042664, 0.7922956943511963, -0.43875470757484436, 0.38198113441467285, -0.18977254629135132, -0.1678939312696457, 0.1219506710767746, -0.12038351595401764, -0.3282864987850189, -0.08392569422721863, 0.018044576048851013, 0.3472473919391632 ]
http://arxiv.org/abs/2406.07492v1
http://arxiv.org/pdf/2406.07492v1
Paraphrasing in Affirmative Terms Improves Negation Understanding
2024-06-11T17:30:03
2024-06-11T17:30:03
MohammadHossein Rezaei, Eduardo Blanco
cs.CL
cs.CL
Negation is a common linguistic phenomenon. Yet language models face challenges with negation in many natural language understanding tasks such as question answering and natural language inference. In this paper, we experiment with seamless strategies that incorporate affirmative interpretations (i.e., paraphrases without negation) to make models more robust against negation. Crucially, our affirmative interpretations are obtained automatically. We show improvements with CondaQA, a large corpus requiring reasoning with negation, and five natural language understanding tasks.
[ -0.4307255446910858, -1.079483985900879, 0.9258643984794617, 0.23779460787773132, -0.5101209878921509, -0.22307153046131134, 0.15414097905158997, -0.2976895272731781, -0.024978674948215485, 0.9185538291931152, -0.3138754963874817, -0.43575945496559143, -0.5563489198684692, 0.46187824010849, -0.8861579895019531, 1.029646873474121, 0.1995897889137268, 0.0558781698346138, -0.2633315622806549, -0.2810962200164795, -0.6736178398132324, -0.07846450805664062, -0.5349104404449463, -0.5170844793319702, 0.3755156397819519, 0.5681349039077759, 1.3340532779693604, 0.5651256442070007, 0.3432684540748596, 0.37746480107307434, -0.061073511838912964, -0.3020182251930237, -0.0433490052819252, 0.4045023024082184, -0.51063072681427, -0.5309869050979614, -0.17333205044269562, -0.13648568093776703, 0.5856817364692688, 1.1173070669174194, 0.024985002353787422, -0.14990516006946564, 0.28104618191719055, 0.2952714264392853, -0.5134491920471191, -0.047685302793979645, -0.8262080550193787, -0.09077820926904678, 0.23797032237052917, -0.07336835563182831, -0.09036143869161606, -0.6789501905441284, 0.4459790885448456, -0.6152678728103638, 0.32487618923187256, -0.16350805759429932, 0.8190964460372925, 0.19381454586982727, -0.5400552153587341, -0.4403271973133087, -0.2525337040424347, 0.9528436064720154, -1.041966199874878, 0.3570879101753235, 0.5022774934768677, 0.23728588223457336, -0.20371240377426147, -0.5262497663497925, -1.0034157037734985, -0.20206546783447266, -0.17646369338035583, -0.17319977283477783, -0.1226213276386261, 0.22934022545814514, 0.17533408105373383, 0.35887786746025085, -0.4953596591949463, -0.17249394953250885, -0.15548616647720337, -0.11348352581262589, 0.3765091300010681, -0.01584831438958645, 0.5058082342147827, -0.7125306129455566, -0.24910050630569458, 0.20567752420902252, -0.5559713244438171, -0.1644771844148636, 0.18063126504421234, 0.2503960132598877, 0.11053928732872009, 0.5336270332336426, -0.2669113874435425, 0.7670180201530457, -0.056478776037693024, 0.38217997550964355, 0.09559138864278793, -0.5174806118011475, -0.5314413905143738, -0.19435878098011017, 0.23313264548778534, 0.23955874145030975, 0.10880579054355621, -0.49844393134117126, -0.15798507630825043, 0.3384566009044647, 0.21492590010166168, -0.3625735640525818, 0.015154464170336723, 0.35667726397514343, -0.38881930708885193, -0.2750767767429352, -0.2501867413520813, -1.198632001876831, -0.5810841917991638, -0.7866165041923523, 0.8414221405982971, -0.6041838526725769, -0.08268076926469803, 0.21391615271568298, -0.4200915992259979, 0.8343780040740967, 0.5259601473808289, -0.6592277884483337, 0.5932245850563049, 1.0122010707855225, 0.718352735042572, 0.277682900428772, -0.3564671576023102, -0.7900211215019226, -0.1921645849943161, -0.4815930724143982, 0.7507727146148682, -0.7391791939735413, -0.18960043787956238, -0.31177738308906555, -0.035742875188589096, -0.036269936710596085, -0.451917439699173, 0.7931958436965942, -0.33026596903800964, 0.3825523555278778, -0.30480504035949707, -0.5258181095123291, -0.7279089093208313, 0.18347769975662231, -0.1626766324043274, 0.44932821393013, -0.280377596616745, -0.42052146792411804, 0.1206560730934143, -0.34616929292678833, -0.5612902641296387, 0.0029700661543756723, -0.09731748700141907, -0.16266068816184998, 0.5001677870750427, 0.3959944546222687, 0.3553811013698578, -0.3157750368118286, 0.4334774613380432, -0.32537925243377686, -0.35133469104766846, 0.23755016922950745, -0.21603378653526306, 0.9061663150787354, 0.26947709918022156, -0.8287837505340576, 0.10091938823461533, -0.49514877796173096, -0.19997751712799072, -0.08797243237495422, 0.5368144512176514, -0.5823783874511719, -0.032456379383802414, -0.24947957694530487, 0.4172915518283844, -0.13819792866706848, -0.5074775815010071, -0.5102114081382751, -0.6026854515075684, 0.23176588118076324, 0.6866409182548523, 0.23765774071216583, 0.8036991357803345, -0.28926295042037964, 0.621149480342865, -0.4671894907951355, 0.18367475271224976, -0.029690390452742577, -0.5892666578292847, -0.9141979217529297, -0.11317199468612671, 0.10624853521585464, 0.40904074907302856, -1.0516154766082764, 0.167441263794899, 0.0037393944803625345, -0.27098408341407776, -0.5448538064956665, 0.23604954779148102, 0.49306443333625793, 0.9012322425842285, 0.8077468872070312, -0.07454235851764679, -0.3768101632595062, -0.7887226343154907, -0.5965436100959778, 0.18005360662937164, 0.09891150891780853, 0.027210328727960587, 0.6891561150550842, 0.019553471356630325, 0.49995866417884827, -0.22738853096961975, 0.23104308545589447, -0.4154790937900543, 0.46045947074890137, 0.2307373732328415, 0.4404900372028351, 0.4830319285392761, -1.0283735990524292, -0.29638931155204773, -0.3344342112541199, -0.911378800868988, -0.43690773844718933, -0.4908546507358551, -0.6512290835380554, -0.2644699215888977, 0.721195638179779, -0.5666658282279968, 0.5546973943710327, 0.182675302028656, -0.7498112320899963, 0.3053499460220337, 0.0115301962941885, 0.22070099413394928, -0.675542950630188, -0.25858965516090393, 0.05123596638441086, -0.318897008895874, -0.7760369777679443, 0.6092700958251953, 0.02116669900715351, -0.0683000385761261, -0.5614125728607178, 0.5864878296852112, -0.5066093802452087, 0.021413959562778473, -0.6453063488006592, 0.427600234746933, 0.32419389486312866, 0.21541926264762878, 0.1273825466632843, 0.24971237778663635, 0.7897389531135559, -0.9262450933456421, 0.04216685891151428, 0.5489972829818726, -0.15355321764945984, 0.7341748476028442, -0.78045254945755, -0.004152816720306873, -0.6955353021621704, 0.0677521675825119, -1.096327543258667, -0.12277521193027496, 0.44144389033317566, -0.4155932664871216, 0.0028103841468691826, 0.09861856698989868, -0.1548931747674942, -0.08281945437192917, -0.5069738626480103, 0.1116432175040245, 0.5642517805099487, -0.5040302872657776, 0.5085662603378296, 0.11353694647550583, -0.36328941583633423, -0.640410304069519, -0.7846307158470154, 0.524546205997467, -0.5400659441947937, -0.09459498524665833, 0.11791533976793289, 0.18408344686031342, -0.6409798264503479, -0.1815318465232849, -0.17065134644508362, -0.2786075472831726, 0.4559745192527771, 0.12564218044281006, 0.23832902312278748, -0.03368662670254707, 0.11273910105228424, 0.18086352944374084, -0.011627916246652603, 0.06860044598579407, -0.10433623939752579, 0.3743489384651184, 0.24198812246322632, -0.15282854437828064, -0.5571240186691284, 0.48136651515960693, 0.5984265804290771, -0.15821515023708344, 0.7221974730491638, 0.1997779756784439, -0.3847266137599945, -0.09201302379369736, -0.48568472266197205, -0.36315396428108215, -0.4362069070339203, 0.0027521010488271713, -0.36670634150505066, -0.5258813500404358, 0.2702401280403137, 0.42956215143203735, 0.1725633442401886, 0.419085294008255, 0.1388261616230011, -0.12449188530445099, 0.8138279914855957, 0.16819767653942108, 0.3403962552547455, 0.21692757308483124, 0.23935681581497192, 0.1917266696691513, -0.48901692032814026, 0.04305100440979004, -0.9204251766204834, -0.15671294927597046, -0.3770517110824585, -0.5964402556419373, -0.043231356889009476, 0.11315599828958511, -0.2165716141462326, 0.49323341250419617, -0.3407435119152069, 0.4667368233203888, 0.5564935207366943, 0.23893867433071136, 0.3573944866657257, -0.047285713255405426, 0.21674463152885437, -0.3140726387500763, -0.2780984342098236, -0.6933460235595703, 0.9333793520927429, 0.10333854705095291, 0.4912642240524292, 0.34111258387565613, 0.9275023937225342, -0.0053431144915521145, 0.13343138992786407, -0.28579339385032654, 0.7828527092933655, 0.11399856954813004, -0.6681802272796631, -0.28472137451171875, -0.5082915425300598, -0.9296809434890747, 0.5787918567657471, -0.35311776399612427, -0.5836259722709656, 0.4765898585319519, 0.016334282234311104, -0.3112899661064148, 0.0887405127286911, -0.5831548571586609, 0.9467185735702515, -0.10302980989217758, -0.34240850806236267, -0.3570314645767212, -0.7628040313720703, 0.31050804257392883, -0.1885225623846054, 0.393885999917984, -0.21426060795783997, -0.23402495682239532, 0.56284099817276, -0.33265894651412964, 0.5746492743492126, -0.3001927137374878, 0.022527193650603294, 0.5473523736000061, 0.3425351083278656, 0.41738444566726685, -0.007365769241005182, -0.5823907256126404, 0.08240629732608795, -0.19630108773708344, -0.8314973711967468, -0.7699663639068604, 0.5724666714668274, -0.13399596512317657, -0.7192985415458679, -0.36670053005218506, -0.586322009563446, -0.2800455093383789, 0.05334018915891647, 0.024482328444719315, 0.3692331612110138, 0.06675419211387634, 0.1518823504447937, 0.4754975140094757, -0.662514328956604, 0.42358091473579407, 0.27555590867996216, -0.20092740654945374, -0.18157777190208435, 0.6889835596084595, -0.03963954746723175, 0.544492244720459, 0.3690047562122345, 0.12882041931152344, -0.6488761305809021, -0.7825111746788025, -0.14232292771339417, 0.2973651587963104, -0.858308732509613, -0.14109961688518524, -0.9965287446975708, 0.252441942691803, -0.7160490155220032, -0.28968632221221924, 0.3636353313922882, -0.6627044677734375, -0.028753438964486122, -0.2950889766216278, 0.3024534285068512, 0.5947524905204773, -0.15958842635154724, 0.19692324101924896, -0.5651717782020569, 0.883949875831604, 0.659713625907898, -0.23247402906417847, 0.2819756269454956, -0.7371783256530762, 0.286718487739563, 0.15107516944408417, -0.2996782064437866, -1.168035626411438, 0.4840182662010193, 0.30620357394218445, 0.5554827451705933, 0.017890170216560364, 0.10765432566404343, 1.0032624006271362, -0.4389997720718384, 0.6477141380310059, 0.039177633821964264, -1.499742031097412, 0.5339315533638, -0.3688083291053772, 0.4640236794948578, 0.7322949767112732, 0.38910168409347534, -0.473783940076828, -0.9715945720672607, -0.6121938228607178, -0.9846824407577515, 0.2098163515329361, 0.55513995885849, 0.5221549868583679, -0.2832682430744171, 0.4616129398345947, 0.6062166690826416, 0.4314798414707184, -0.8845700025558472, -0.038241319358348846, -0.29191747307777405, -0.29699698090553284, -0.3142869770526886, -0.1786361038684845, 0.29028692841529846, -0.41998106241226196, 0.6170640587806702, 0.03238920122385025, 0.1315477043390274, 0.3211649954319, -0.48515060544013977, 0.23070798814296722, 0.4892130494117737, 0.1875470131635666, 0.7984874248504639, 0.025737274438142776, 0.5289952158927917, 0.3964051902294159, 0.0714452937245369, 0.06238307058811188, 0.17023532092571259, -0.34030765295028687, 0.4124792218208313, 0.4452067017555237, 0.52649986743927, 0.3804130554199219, -0.5585600137710571, 0.32861462235450745, 0.01365703996270895, -0.22787414491176605, 0.28222551941871643, -0.078542061150074, -0.023121096193790436, 0.22076527774333954, 0.25559213757514954, -0.13690567016601562, 0.5302472114562988, -0.6642957329750061, 0.4985813796520233, 0.39222776889801025, -0.4530738592147827, -0.13618655502796173, 0.8770006895065308, -0.028009817004203796, -0.016840863972902298, 0.5020249485969543, -0.18372248113155365, -0.5212480425834656, 0.6749091148376465, 0.5522831082344055, 0.8728702068328857, -0.20159375667572021, 0.5564622282981873, 0.31579217314720154, 0.12197072803974152, -0.006594142876565456, 0.4516143798828125, -0.4945679008960724, -0.6129111051559448, -0.4096406400203705, -0.6984042525291443, -0.6581814885139465, -0.21588265895843506, -0.49920928478240967, 0.23404185473918915, -0.30601808428764343, 0.1793362945318222, 0.2899715304374695, -0.44801953434944153, -0.47864222526550293, 0.3898490369319916, 0.2857685387134552, 0.6271762847900391, -0.7692870497703552, 0.5241774916648865, 0.5568422675132751, -0.6660256385803223, -0.7470303177833557, 0.33054235577583313, -0.16522978246212006, -0.570986270904541, 0.4805033802986145, 0.23098304867744446, 0.09742860496044159, -0.10628651082515717, -0.4539865553379059, -0.6029483079910278, 0.48985469341278076, 0.5706796050071716, -0.28738531470298767, 0.10464029014110565, 0.1305466741323471, 0.4799325168132782, 0.18444252014160156, 0.1705542802810669, 0.4563540816307068, 0.5060005187988281, -0.12275020778179169, -0.8415296077728271, 0.3077492117881775, 0.08733132481575012, -0.2807672321796417, 0.2662064731121063, 0.08529041707515717, 1.1441302299499512, 0.08844035118818283, 0.05706604942679405, 0.26279139518737793, 0.7717214226722717, -0.16746929287910461, 0.4452400803565979, 0.7108433246612549, 0.45126351714134216, 0.7058344483375549, 0.13844190537929535, 1.048258662223816, 0.10517189651727676, 0.216513991355896, 1.1955515146255493, -0.16565099358558655, 0.4685571491718292, 0.476733922958374, 0.1858239620923996, 0.5026854276657104, 0.3347298800945282, 0.4868132770061493, 0.5865415334701538, -0.018833115696907043, -0.523389995098114, -0.5371847748756409, -0.1223117858171463, -0.36708417534828186, 0.5078109502792358, 0.16054774820804596, -0.33747854828834534, -0.6698700189590454, 0.17586691677570343, 0.16277052462100983, 0.650098979473114, -0.5259214639663696, 0.6935348510742188, 0.3936677873134613, -0.9280064702033997, 0.7366040349006653, -0.09437815099954605, 0.6758529543876648, -0.18042564392089844, -0.36198890209198, -0.3823004961013794, 0.005565909668803215, -0.24921555817127228, -0.8122134804725647, 0.8264143466949463, 0.09481300413608551, 0.4727522134780884, -0.4256109297275543, 0.6930969953536987, -0.41654181480407715, -0.3912665545940399, 0.37772414088249207, 0.5864034295082092, 0.2878596782684326, -0.2986125648021698, -0.8386217951774597, -0.5295573472976685, 0.16308827698230743, 0.207008495926857, 0.10631442070007324, 0.43730032444000244, -0.18517805635929108, 0.47252726554870605, 0.4944559335708618, -0.10820569843053818, 0.18930354714393616, -0.22253704071044922, 0.48777586221694946, -1.055092215538025, -0.5017279386520386, -1.206575632095337, 0.19092178344726562, -0.2008315622806549, -0.08003472536802292, 1.2792980670928955, 0.18650051951408386, 0.35907790064811707, 0.1525058150291443, 0.4399189054965973, -0.04052099585533142, 0.4880199134349823, -0.2370988130569458, 0.4076526165008545, -0.5720598697662354, -0.09389900416135788, -0.8467501401901245, -1.0166277885437012, -0.5772603750228882, 0.9177577495574951, -0.6964454650878906, -0.5236631631851196, 0.5565845370292664, 0.6467195153236389, -0.012597186490893364, 0.4578472971916199, 0.3672991096973419, 0.24409469962120056, 0.08883751183748245, 0.2958931028842926, 0.9954193234443665, -0.5152068138122559, 0.41386541724205017, -0.26107266545295715, -0.0027509378269314766, 0.2312626987695694, -0.7643844485282898, -0.7333637475967407, -0.1985677182674408, -0.45195120573043823, -0.46861910820007324, 0.2698625326156616, 0.7036371827125549, 0.37725359201431274, -0.8405693173408508, -0.15878544747829437, -0.7731747627258301, 0.7229990363121033, -0.15656152367591858, -0.2341543585062027, 0.07177145779132843, -0.7029784917831421, -0.8247553110122681, 0.44067609310150146, 0.16509045660495758, -0.12499507516622543, 0.27935612201690674, -0.004649958107620478, -0.724929928779602, 0.46532273292541504, 0.35078081488609314, 0.3307424783706665, -0.5019357204437256, -0.4278641939163208, -0.20349767804145813, 0.037483278661966324, -0.03147066757082939, 0.33466923236846924, -0.7816711068153381, 0.3417876958847046, 0.5842933654785156, 0.7292073965072632, 0.08298809081315994, 0.2365257292985916, 0.8970220685005188, -0.16809199750423431, 0.4464508593082428, 0.4737125635147095, 0.20094984769821167, 0.4797995984554291, -0.02262759953737259, 0.25776946544647217, 0.14818350970745087, -0.33317747712135315, -0.8390617966651917, 0.23192420601844788, -0.4148775339126587, -0.6031585931777954, 0.994508683681488, -0.09525544196367264, -0.17511166632175446, -0.6218000054359436, -0.07811035960912704, 0.35662099719047546, -0.19771580398082733, 0.5173138380050659, 0.5819128155708313, -0.01815672032535076, 0.07311584055423737, -0.8149071931838989, 0.35124045610427856, 1.0954598188400269, -0.6624991297721863, -0.23671960830688477, 0.5077509880065918, 0.15123575925827026, -0.22651471197605133, 0.27018997073173523, -0.09230659157037735, 0.468432754278183, -0.10347802191972733, -0.109197698533535, 0.4635309875011444, -0.07921319454908371, -0.718169629573822, 0.13606488704681396, 0.07879405468702316, -0.3626747727394104 ]
http://arxiv.org/abs/2406.07483v1
http://arxiv.org/pdf/2406.07483v1
Advancing Annotation of Stance in Social Media Posts: A Comparative Analysis of Large Language Models and Crowd Sourcing
2024-06-11T17:26:07
2024-06-11T17:26:07
Mao Li, Frederick Conrad
cs.CL
cs.CL
In the rapidly evolving landscape of Natural Language Processing (NLP), the use of Large Language Models (LLMs) for automated text annotation in social media posts has garnered significant interest. Despite the impressive innovations in developing LLMs like ChatGPT, their efficacy, and accuracy as annotation tools are not well understood. In this paper, we analyze the performance of eight open-source and proprietary LLMs for annotating the stance expressed in social media posts, benchmarking their performance against human annotators' (i.e., crowd-sourced) judgments. Additionally, we investigate the conditions under which LLMs are likely to disagree with human judgment. A significant finding of our study is that the explicitness of text expressing a stance plays a critical role in how faithfully LLMs' stance judgments match humans'. We argue that LLMs perform well when human annotators do, and when LLMs fail, it often corresponds to situations in which human annotators struggle to reach an agreement. We conclude with recommendations for a comprehensive approach that combines the precision of human expertise with the scalability of LLM predictions. This study highlights the importance of improving the accuracy and comprehensiveness of automated stance detection, aiming to advance these technologies for more efficient and unbiased analysis of social media.
[ -0.4447641968727112, -0.739188015460968, 0.6120816469192505, 0.43869343400001526, -0.5521905422210693, 0.34364619851112366, -0.39269909262657166, -0.5850189924240112, 0.5924890637397766, 0.30592775344848633, -0.1784011572599411, -0.6983076333999634, -1.1005034446716309, 0.2298799753189087, -0.4281326234340668, 0.7197962403297424, -0.04870937019586563, 0.11112242192029953, -0.1609823852777481, -0.5311586260795593, -0.041542261838912964, -0.49135464429855347, -0.7115105390548706, -0.24130654335021973, 0.48096591234207153, -0.004488800186663866, 0.9355907440185547, 0.5792137384414673, 0.6713895797729492, 0.28526654839515686, -0.3140837550163269, 0.07031384855508804, -0.23185038566589355, 0.10845586657524109, -0.23081190884113312, 0.06824393570423126, -0.48945891857147217, 0.11995353549718857, 0.7849015593528748, 0.5128999352455139, 0.15345509350299835, 0.19083954393863678, -0.014067884534597397, 0.5456966757774353, -0.2714754343032837, 0.037656188011169434, -0.7189876437187195, -0.12736782431602478, -0.2956705689430237, 0.034299056977033615, -0.24683362245559692, -0.5174967646598816, -0.03694646805524826, -0.42516815662384033, 0.08178289979696274, -0.03863949328660965, 0.9257531762123108, 0.25606149435043335, -0.1153976321220398, -0.21103857457637787, -0.37005603313446045, 0.5944169759750366, -0.8654468655586243, 0.3732532262802124, 0.3896119296550751, 0.1061815395951271, -0.060061730444431305, -0.4375174641609192, -0.6250397562980652, -0.21058347821235657, 0.07418399304151535, -0.07877615094184875, -0.10449859499931335, 0.0782543495297432, 0.3032599091529846, 0.2580282986164093, -0.36339762806892395, 0.2915075719356537, -0.10307380557060242, -0.19354993104934692, 0.8977688550949097, -0.2736611068248749, 0.21456390619277954, -0.5433884859085083, -0.45168519020080566, 0.04408355429768562, -0.4977529048919678, 0.010465750470757484, 0.36482536792755127, 0.41897010803222656, -0.0090955113992095, 0.8913245797157288, -0.29249709844589233, 0.45371589064598083, 0.1626366227865219, 0.05300804600119591, 0.14500311017036438, -0.012396305799484253, -0.05606899410486221, -0.16822727024555206, 1.203626275062561, 0.7575790286064148, 0.40914493799209595, -0.10370095074176788, -0.23237627744674683, -0.03964199870824814, 0.15633803606033325, -0.49830344319343567, -0.09432653337717056, 0.2013651579618454, -0.4568333029747009, -0.30111658573150635, 0.3134419620037079, -0.746715247631073, -1.0462113618850708, -0.4579830765724182, 0.07263792306184769, -0.22828006744384766, -0.40642035007476807, -0.05722324922680855, -0.13813191652297974, 0.5299452543258667, 0.5843416452407837, -0.7027812600135803, 0.02807827666401863, 1.1723182201385498, 1.343607783317566, -0.2045556902885437, -0.17034977674484253, -0.3506489098072052, -0.1595875769853592, -0.5325973629951477, 1.1012938022613525, -0.5700380802154541, -0.34304550290107727, 0.2374216765165329, -0.13036081194877625, 0.25544387102127075, -0.4082179367542267, 0.7573726177215576, -0.6051862835884094, -0.43922293186187744, -0.6481593251228333, -0.8320366144180298, -0.04062030464410782, 0.36170732975006104, -0.9145143628120422, 0.9906451106071472, -0.24606430530548096, -0.8418198823928833, 0.7039899230003357, -0.579915463924408, -0.3216891288757324, 0.3363480269908905, -0.33878248929977417, -0.2249695062637329, 0.03591611236333847, 0.301811546087265, 0.7480910420417786, 0.06572506576776505, 0.2292630672454834, -0.746464729309082, -0.2052023857831955, 0.3115564286708832, -0.06415265053510666, 0.812738299369812, -0.07037001103162766, -0.3233039081096649, 0.3007142245769501, -0.3333830237388611, -0.31381699442863464, 0.21204030513763428, -0.46246400475502014, -0.3052131235599518, 0.3724570572376251, 0.05651738494634628, 0.18171323835849762, 0.14222599565982819, -0.46090230345726013, 0.26627177000045776, -0.1851092278957367, 0.46261361241340637, 0.9497408270835876, -0.0021121238823980093, 0.46853506565093994, -0.02327553741633892, 0.23279526829719543, -0.522409200668335, 0.007413262501358986, 0.05955445393919945, -0.6062700748443604, -0.46422865986824036, -0.17016389966011047, 0.29897040128707886, 0.3146685063838959, -0.3401872217655182, 0.5423095226287842, -0.33054813742637634, -0.5878069400787354, -0.738544762134552, 0.5074648261070251, 0.09089347720146179, 0.01076432690024376, 0.16368484497070312, -0.309338241815567, -0.595012366771698, -0.7676920890808105, -0.6621523499488831, -0.6519055366516113, 0.13016271591186523, -0.09957008063793182, 0.4305374324321747, -0.09637981653213501, 0.9311529994010925, -0.00634701969102025, -0.0363297313451767, -0.24590040743350983, 0.4148533046245575, -0.18505944311618805, -0.01506008766591549, 0.6223571300506592, -0.7668971419334412, -0.519429624080658, -0.021979590877890587, -0.6147791147232056, -0.27873292565345764, 0.07239104807376862, -0.23182427883148193, 0.45938679575920105, 0.6453248262405396, -0.8551871180534363, 0.19825522601604462, 0.7166196703910828, -0.25185951590538025, 0.4067855179309845, 0.4455301761627197, 0.28476399183273315, -0.9862048029899597, -0.08243081718683243, 0.6538653373718262, -0.4410260319709778, -0.4045051038265228, -0.049882177263498306, -0.014875704422593117, 0.20104868710041046, -0.36082953214645386, 0.6363161206245422, -0.22824405133724213, -0.15449367463588715, -0.3744751513004303, 0.4555679261684418, -0.0630267933011055, 0.08287695795297623, 0.35876700282096863, 0.44746914505958557, 0.26882779598236084, -0.19927449524402618, 0.47435885667800903, 0.10820333659648895, -0.28418827056884766, 0.6761398315429688, -0.7609291076660156, 0.26557615399360657, -0.04794447496533394, 0.4039953649044037, -1.1952351331710815, -0.4258967936038971, 0.3837936818599701, -0.693846583366394, 0.11722861975431442, -0.4876040816307068, -0.8528817892074585, -0.3028579354286194, -0.5652300715446472, -0.15150074660778046, 0.2261255532503128, -0.5029266476631165, 0.3835391402244568, 0.6072220802307129, -0.24281081557273865, -0.5778757929801941, -0.47655218839645386, 0.40050387382507324, -0.21543997526168823, -0.5758532285690308, -0.01729358732700348, 0.3547250032424927, -0.8160715103149414, -0.18300284445285797, 0.021435389295220375, 0.08776068687438965, -0.03420533984899521, 0.2835022211074829, 0.03577215224504471, -0.035968393087387085, 0.2739599943161011, -0.23276104032993317, -0.03814578428864479, 0.14111146330833435, -0.03047938458621502, 0.4973767101764679, -0.31882554292678833, -0.5397219657897949, -0.49403753876686096, 0.16960161924362183, 0.5332583785057068, -0.10291097313165665, 0.6604393720626831, 0.7740134596824646, -0.4251756966114044, 0.09972954541444778, -0.7924692034721375, 0.06915661692619324, -0.435395747423172, 0.14132191240787506, 0.2804080843925476, -0.8260323405265808, 0.42043253779411316, 0.006998368073254824, 0.5350319743156433, 0.6376914978027344, 0.5914220213890076, -0.32655981183052063, 0.9606491327285767, 0.4183703660964966, -0.45996129512786865, 0.555418848991394, 0.09862279146909714, 0.006491128355264664, -0.3987276554107666, 0.16953961551189423, -0.5404086709022522, -0.36070916056632996, -0.6794054508209229, -0.6010974049568176, -0.13658060133457184, 0.0037786418106406927, -0.09826778620481491, 0.19908037781715393, -0.3487103283405304, 0.3292507231235504, 0.30683135986328125, -0.14834384620189667, 0.4012521803379059, -0.028813602402806282, 0.3586306869983673, -0.13101904094219208, -0.100742869079113, -1.0908381938934326, 0.8329576253890991, 0.4758867919445038, 0.39102160930633545, 0.051027536392211914, 0.5600727796554565, 0.5362465381622314, 0.6547242999076843, -0.955545961856842, 0.8176414966583252, -0.07236071676015854, -0.5797381401062012, -0.2662433981895447, -0.06596972048282623, -0.4964473247528076, 0.24831274151802063, -0.31212735176086426, -0.6432461142539978, -0.1707189828157425, 0.21910379827022552, -0.20204399526119232, 0.5768046975135803, -0.5633749961853027, 0.7508315443992615, -0.20717723667621613, -0.355117529630661, -0.0038940897211432457, -0.5560988783836365, 0.05151815712451935, 0.03834972530603409, 0.19591638445854187, -0.4297422468662262, -0.34873372316360474, 0.8910902142524719, -0.2303190529346466, 1.1300714015960693, -0.4835450351238251, -0.2281772792339325, 0.520587682723999, -0.14764276146888733, 0.5500593781471252, 0.10487774759531021, -0.25607502460479736, 0.40488743782043457, -0.3440166413784027, -0.3309343159198761, -0.2104095071554184, 0.6028159260749817, -0.6931427717208862, -0.46529272198677063, -0.22097554802894592, -0.1336415857076645, -0.24130287766456604, 0.06721314787864685, 0.10179060697555542, 0.006603519897907972, -0.5280974507331848, 0.2843739986419678, 0.45680710673332214, 0.05381204932928085, 0.5972738265991211, 0.1255141943693161, -0.35471343994140625, -0.488964319229126, 0.5670198202133179, 0.1993042677640915, -0.0007309601060114801, 0.23235663771629333, 0.1667727828025818, -0.5101218223571777, -0.6838508248329163, -0.48363474011421204, 0.2791605591773987, -0.8966008424758911, -0.0603480190038681, -0.6296617388725281, 0.11429255455732346, -0.6248029470443726, -0.4507846236228943, -0.4633682668209076, -0.44599199295043945, -0.008495577611029148, -0.5005251169204712, 0.7650592923164368, 0.6898825168609619, -0.035587113350629807, 0.33659255504608154, -0.5355576872825623, 0.18319648504257202, 0.10383124649524689, 0.3645414710044861, -0.28024840354919434, -0.29155972599983215, 0.05275614559650421, 0.005589656066149473, -0.23012611269950867, -0.9352481961250305, 0.016502508893609047, -0.0580480694770813, 0.4627809226512909, 0.6592539548873901, -0.06654483824968338, 0.6573596596717834, -0.1397089809179306, 0.8096165657043457, 0.04118937626481056, -0.8705510497093201, 0.4755384922027588, -0.7190269231796265, 0.027588805183768272, 0.7395076751708984, 0.5030582547187805, -0.703472375869751, -0.5675121545791626, -0.47066402435302734, -0.9029613733291626, 0.3804851174354553, 0.06893520057201385, 0.2500929832458496, -0.18536822497844696, 0.35409021377563477, 0.03620597720146179, 0.18771040439605713, -0.8987364768981934, 0.13582156598567963, -0.18174418807029724, -0.05803874507546425, -0.2041040062904358, -0.12509708106517792, 0.022627124562859535, -0.29803231358528137, 0.549568772315979, -0.16598723828792572, -0.058525025844573975, 0.0770723819732666, -0.2458452731370926, -0.254113107919693, 0.07528209686279297, 0.2679721415042877, 0.646412193775177, -0.07927447557449341, 0.02941003255546093, 0.2967629134654999, -0.3751875162124634, -0.13492652773857117, 0.11371365189552307, -0.32761305570602417, 0.42090901732444763, 0.41392257809638977, 0.5898754000663757, 0.1538909375667572, -0.5712277293205261, 0.5728065967559814, 0.2306460738182068, -0.23056651651859283, -0.48786357045173645, -0.35197970271110535, 0.48854485154151917, 0.3236862123012543, 0.25206702947616577, -0.09193810075521469, -0.06769776344299316, -0.2884711027145386, 0.03821659833192825, 0.6586421132087708, -0.48816585540771484, -0.3879050314426422, 0.41744354367256165, 0.23107749223709106, -0.49945130944252014, 0.11388343572616577, -0.2646975517272949, -0.34111717343330383, 0.3504403233528137, -0.06317980587482452, 0.9717125296592712, -0.05059162154793739, 0.37193891406059265, 0.39244428277015686, 0.3220515847206116, -0.4347277581691742, 0.019851112738251686, -0.07648661732673645, -0.6402652859687805, -0.5877593159675598, -0.5860530734062195, -0.6010110378265381, 0.00022927235113456845, -0.46030715107917786, 0.4866580367088318, -0.8102805614471436, -0.4932253658771515, 0.1933470517396927, 0.15257470309734344, -0.3527872562408447, -0.13104084134101868, 0.43682026863098145, 0.7484298944473267, -0.8603866100311279, 0.41743242740631104, 1.1547032594680786, -0.2848663032054901, -0.5508294701576233, 0.4193533957004547, 0.42492663860321045, -0.6324450969696045, 0.19568273425102234, 0.3074969947338104, -0.19405080378055573, -0.2831525206565857, -0.81767737865448, -0.4490589499473572, 0.8989812135696411, 0.34549739956855774, -0.4838789701461792, 0.21906575560569763, 0.2667241096496582, 0.7753481864929199, 0.004944756161421537, 0.06896689534187317, 0.3661961257457733, 0.5642983913421631, 0.07266443222761154, -0.7999363541603088, 0.03734868764877319, -0.150711789727211, -0.1104351058602333, 0.1761094480752945, -0.8604185581207275, 0.49312323331832886, 0.004015728365629911, -0.22531606256961823, -0.1695011556148529, 0.7225462794303894, 0.45987096428871155, 0.37774166464805603, 0.5261369347572327, 0.4633924961090088, 0.6108950972557068, -0.12932270765304565, 0.9556633234024048, -0.02763652801513672, 0.3219248652458191, 0.6468120217323303, -0.3899489641189575, 1.2643564939498901, 0.4940926432609558, -0.1748013198375702, 0.2845331132411957, 0.7460499405860901, -0.07079306989908218, -0.026986243203282356, 0.03581470623612404, -0.15465685725212097, -0.3314878046512604, -0.058673180639743805, 0.042796481400728226, 0.37089863419532776, 0.2938793897628784, -0.4950011670589447, -0.21892881393432617, -0.41553187370300293, 0.37483999133110046, 0.2707107365131378, -0.5335180759429932, 0.9534441828727722, 0.26312920451164246, -0.6513328552246094, 0.15067410469055176, 0.013967474922537804, 0.8562114834785461, -0.26985886693000793, 0.19777102768421173, -0.04514680802822113, -0.11758862435817719, -0.4145256578922272, -1.0226869583129883, 0.4495997428894043, 0.355403333902359, 0.07477053999900818, -0.3331252634525299, 1.071515679359436, 0.10156997293233871, -0.5140606164932251, 0.5564078092575073, 0.5119905471801758, 0.14236660301685333, -0.29102206230163574, -0.7542245984077454, 0.2487204670906067, -0.33471930027008057, -0.5476546883583069, 0.227972149848938, 0.42836540937423706, -0.14474919438362122, 0.3540094196796417, 0.5697478652000427, 0.04331395402550697, 0.057237282395362854, 0.22087162733078003, 0.741062581539154, -0.6599838137626648, -0.09530863165855408, -1.2794581651687622, 0.34960803389549255, -0.4639454782009125, -0.23707181215286255, 0.8655357360839844, 0.2924365997314453, 0.7621316909790039, 0.40143102407455444, 1.026807188987732, -0.21550309658050537, 0.6605849266052246, -0.31722092628479004, 0.7507752776145935, -0.347993403673172, 0.12201418727636337, -0.6109805107116699, -0.8522754311561584, -0.4098210036754608, 0.6489267945289612, -0.5759230256080627, 0.04734780639410019, 0.1652650535106659, 0.6681004166603088, 0.13510258495807648, 0.07602206617593765, -0.060859523713588715, 0.019886456429958344, 0.3358892798423767, -0.10324623435735703, 0.9959546327590942, 0.07346072793006897, 0.4615062177181244, -0.2680264711380005, 0.00861225463449955, -0.4084460735321045, -1.0192922353744507, -1.055722951889038, -0.5255147218704224, -0.4817412197589874, -0.32028746604919434, -0.04394230619072914, 1.2523959875106812, 0.5363656878471375, -0.6206936836242676, -0.13385100662708282, -0.02951817587018013, 0.04756912216544151, -0.14503005146980286, -0.21405182778835297, 0.2711755037307739, -0.26783400774002075, -0.7190201282501221, 0.06290192157030106, 0.22779381275177002, -0.12684056162834167, -0.38099753856658936, -0.11147814989089966, -0.2673036754131317, 0.1650627851486206, 0.7494516372680664, 0.39973387122154236, -0.9601570963859558, -0.433986097574234, -0.008534345775842667, -0.1595946103334427, 0.23535385727882385, 0.6190292835235596, -0.2766195237636566, 0.21629470586776733, 0.5319869518280029, 0.5966086387634277, 0.08095473796129227, 0.5632394552230835, 0.3283258080482483, -0.7714217305183411, -0.07996831089258194, 0.24677406251430511, 0.42652320861816406, 0.8006510138511658, 0.03631618618965149, 0.3893444836139679, 0.2555813789367676, -0.5616929531097412, -0.7253761291503906, -0.01448744721710682, -1.091415524482727, -0.1164921447634697, 1.7455564737319946, -0.06658803671598434, -0.09392686933279037, -0.2010100781917572, -0.36205923557281494, 0.24998624622821808, -0.6988412737846375, 0.8853168487548828, 0.9738828539848328, 0.060814134776592255, -0.15648385882377625, -0.7365105748176575, 0.4997508227825165, 0.07983249425888062, -0.5045254230499268, 0.28719595074653625, 0.552674412727356, 0.059672512114048004, 0.2832498252391815, 0.8247739672660828, -0.08353520184755325, 0.027820037677884102, -0.27442774176597595, 0.16776421666145325, 0.36536484956741333, 0.15884888172149658, -0.37284472584724426, 0.10805555433034897, 0.5065126419067383, -0.03605942055583 ]
http://arxiv.org/abs/2406.07476v2
http://arxiv.org/pdf/2406.07476v2
VideoLLaMA 2: Advancing Spatial-Temporal Modeling and Audio Understanding in Video-LLMs
2024-06-11T17:22:23
2024-06-17T16:40:43
Zesen Cheng, Sicong Leng, Hang Zhang, Yifei Xin, Xin Li, Guanzheng Chen, Yongxin Zhu, Wenqi Zhang, Ziyang Luo, Deli Zhao, Lidong Bing
cs.CV
cs.CV, cs.CL
In this paper, we present the VideoLLaMA 2, a set of Video Large Language Models (Video-LLMs) designed to enhance spatial-temporal modeling and audio understanding in video and audio-oriented tasks. Building upon its predecessor, VideoLLaMA 2 incorporates a tailor-made Spatial-Temporal Convolution (STC) connector, which effectively captures the intricate spatial and temporal dynamics of video data. Additionally, we integrate an Audio Branch into the model through joint training, thereby enriching the multimodal understanding capabilities of the model by seamlessly incorporating audio cues. Comprehensive evaluations on multiple-choice video question answering (MC-VQA), open-ended video question answering (OE-VQA), and video captioning (VC) tasks demonstrate that VideoLLaMA 2 consistently achieves competitive results among open-source models and even gets close to some proprietary models on several benchmarks. Furthermore, VideoLLaMA 2 exhibits reasonable improvements in audio-only and audio-video question-answering (AQA & OE-AVQA) benchmarks over existing models. These advancements underline VideoLLaMA 2's superior performance in multimodal comprehension, setting a new standard for intelligent video analysis systems. All models are public to facilitate further research.
[ -0.32187241315841675, -1.100291132926941, 0.8188462853431702, 0.45969268679618835, -0.11359578371047974, -0.10591907054185867, -0.4245646595954895, -0.45983898639678955, -0.1176760122179985, 0.43001890182495117, -0.7578006386756897, -0.5941901206970215, -0.8400143980979919, -0.4938439130783081, -0.5157620310783386, 0.4444642961025238, -0.2829371392726898, 0.38554492592811584, -0.3197746276855469, -0.2773961126804352, -0.6747648119926453, -0.2080634981393814, -0.5318504571914673, -0.30896249413490295, 0.3253578543663025, 0.4340651035308838, 0.7139111161231995, 0.5299508571624756, 0.6729552745819092, 0.31311407685279846, -0.03326937556266785, 0.2157890647649765, -0.26584431529045105, 0.10790828615427017, -0.09733584523200989, -0.35809895396232605, -0.6422066688537598, -0.1304033249616623, 0.7778980731964111, 0.6810532212257385, -0.15517348051071167, 0.46255308389663696, -0.1624232679605484, 0.42762327194213867, -0.6801177859306335, 0.20149114727973938, -0.5563880205154419, 0.2565743625164032, 0.08318845927715302, -0.46096697449684143, -0.36913737654685974, -0.04497146978974342, 0.24181224405765533, -0.7529749870300293, 0.15073342621326447, -0.2643197476863861, 0.5170841217041016, 0.5177342891693115, -0.5304670333862305, -0.12638969719409943, -1.1065828800201416, 0.5974442362785339, -0.4033569097518921, 0.7986465096473694, 0.5317115783691406, 0.8834320902824402, 0.056585852056741714, -0.7288516163825989, -0.5530461668968201, -0.012945383787155151, 0.4756786823272705, 0.32392069697380066, -0.2523569166660309, 0.034814681857824326, 0.059514742344617844, 0.1079196035861969, -1.0279430150985718, 0.3303898870944977, -0.4856150448322296, 0.20349998772144318, 0.5342478156089783, 0.3288356363773346, 0.2600194811820984, 0.079244464635849, -0.4445209503173828, -0.059531521052122116, -0.6291921138763428, 0.12356788665056229, -0.01623731292784214, -0.15694670379161835, -0.3456187844276428, 0.6098297834396362, -0.02814272604882717, 0.4674983024597168, -0.40936845541000366, -0.27817294001579285, -0.042342886328697205, -0.5489030480384827, -0.5432268381118774, -0.13261720538139343, 0.524070143699646, 0.46427667140960693, 0.09224949777126312, 0.22699697315692902, 0.2665107250213623, 0.01791166514158249, 0.059012774378061295, -0.47722694277763367, -0.28173884749412537, 0.1937437653541565, -0.5148102045059204, 0.2516959607601166, 0.03302675858139992, -0.8017932176589966, -0.15509340167045593, -0.5349992513656616, 0.5590780377388, -0.1036304160952568, -0.3662146329879761, 0.4238603711128235, 0.0615372359752655, 0.3393850326538086, 0.7465654015541077, -1.0555802583694458, 0.4433918595314026, 0.8061310052871704, 0.9651634693145752, 0.020452547818422318, -0.397571861743927, -0.6507179737091064, 0.4072566330432892, -0.37745580077171326, 0.7083817720413208, -0.43974754214286804, -0.17194515466690063, 0.1835731416940689, -0.03936968743801117, 0.16585952043533325, -0.5864968299865723, -0.014863282442092896, -0.6443966627120972, 0.1802603304386139, -0.12315748631954193, -0.1473296731710434, -0.5091528296470642, 0.19795621931552887, -0.5853150486946106, 1.1383014917373657, -0.17961660027503967, -0.04191320389509201, 0.21203584969043732, -0.6010192632675171, 0.04693131148815155, -0.2051999866962433, -0.17746496200561523, -0.1812404990196228, 0.019026432186365128, 0.2491263896226883, 0.07817099243402481, -0.3554893732070923, 0.4350427985191345, -0.4498010575771332, -0.2503018081188202, 0.23767925798892975, -0.44274550676345825, 0.26530221104621887, 0.30332082509994507, -0.11955402046442032, 0.21870897710323334, -0.38529500365257263, -0.16727566719055176, -0.023519106209278107, -0.08629129827022552, 0.15051093697547913, 0.17870396375656128, 0.25837624073028564, 0.4245845079421997, 0.1497766226530075, -0.27806106209754944, -0.024197248741984367, -0.11465528607368469, 0.47356364130973816, 0.6268731951713562, -0.1663365662097931, 0.5795469880104065, -0.0736779198050499, 0.5853134393692017, -0.02513384446501732, 0.32788679003715515, -0.3298027217388153, -0.476749449968338, -0.49450016021728516, -0.19523338973522186, -0.31639063358306885, 0.5379635691642761, -0.50262451171875, -0.12475034594535828, -0.32699164748191833, -0.5790530443191528, -0.3487982749938965, 0.39098289608955383, 0.23098106682300568, 0.20971104502677917, 0.5007851123809814, -0.2301272749900818, -0.7655447125434875, -0.6758668422698975, 0.1319691389799118, -0.42937150597572327, -0.1588706225156784, 0.4926885962486267, 0.4089677333831787, -0.29461902379989624, 0.8431028127670288, -0.4315180778503418, -0.31061312556266785, -0.3711741268634796, 0.07337898761034012, 0.09489171952009201, 0.1029825285077095, 0.5575695037841797, -0.6299980282783508, -0.14734411239624023, -0.07698719203472137, -0.8834768533706665, -0.14945119619369507, -0.0638980120420456, 0.1114296019077301, -0.09552431106567383, 0.5406622290611267, -0.5211835503578186, 0.290865033864975, 0.669116735458374, -0.3073170781135559, 0.4776040017604828, -0.30344223976135254, 0.3230748772621155, -0.7900820374488831, -0.2428932636976242, 0.08857544511556625, -0.1008390337228775, -0.5774508714675903, 0.1435924768447876, -0.24276597797870636, -0.28732454776763916, -0.9053939580917358, 0.4728286564350128, -0.19739024341106415, -0.7894794940948486, -0.3210744261741638, 0.47390785813331604, -0.06768907606601715, 0.5327541828155518, 0.3481793701648712, 0.7222551107406616, 0.6044846177101135, -0.3857901990413666, 0.5973266363143921, 0.2841687798500061, -0.5644853711128235, 0.05617827922105789, -0.6657932996749878, 0.012802516110241413, -0.2527424693107605, 0.22007648646831512, -1.2681838274002075, -0.1826867163181305, 0.021356727927923203, -0.5387817621231079, -0.11498382687568665, -0.2738628685474396, -0.5174680352210999, -0.050402067601680756, -0.12138867378234863, 0.7223355174064636, 0.3289693593978882, -0.627373456954956, 0.5210865139961243, 0.5049606561660767, -0.4351377785205841, -0.22325658798217773, -0.7269289493560791, 0.06637389212846756, -0.29091814160346985, -0.8618608117103577, 0.1392882615327835, -0.021611275151371956, -0.39097848534584045, -0.1789425015449524, -0.16306611895561218, -0.4931226372718811, -0.06827246397733688, 0.30056554079055786, 0.24637828767299652, -0.4557362198829651, 0.10557442903518677, 0.003068784484639764, -0.06573276966810226, 0.19814103841781616, -0.30566540360450745, 0.5148285031318665, -0.01249728910624981, -0.4009934961795807, -0.5158498883247375, 0.5960462093353271, 0.5448504686355591, -0.3405473828315735, 0.24409213662147522, 0.8604876399040222, -0.5499258041381836, -0.032775312662124634, -0.60458904504776, -0.11345590651035309, -0.4565894603729248, 0.9444708228111267, -0.16855628788471222, -1.1492903232574463, 0.3192099630832672, 0.034542493522167206, 0.08274196088314056, -0.02979443594813347, 0.9280363917350769, -0.5081557035446167, 0.9743044376373291, 0.528459906578064, 0.22899027168750763, 0.7366198301315308, -0.32446935772895813, -0.02864469774067402, -0.5089927911758423, -0.6478846669197083, -0.2994656562805176, -0.35949763655662537, -0.08929664641618729, -0.8321556448936462, 0.5249963998794556, 0.04846698418259621, -0.3194592595100403, 0.3373924493789673, 0.05719291418790817, 0.41668325662612915, 0.16960515081882477, -0.05236594378948212, 0.19051390886306763, 0.28690266609191895, 0.3642553985118866, -0.3843502998352051, -0.6442089080810547, -0.5084543228149414, 0.8732680082321167, 0.8409364819526672, 0.8597543239593506, 0.7364490628242493, -0.12075638771057129, 0.28895363211631775, -0.4411478042602539, -0.7039837837219238, 0.7221006155014038, -0.2562839388847351, -0.297112375497818, -0.16377317905426025, -0.05383634194731712, -0.6334804892539978, 0.26357102394104004, 0.03497153893113136, -0.7808845639228821, -0.03440499305725098, 0.14819058775901794, -0.5468124151229858, 0.2750227749347687, -0.4483988881111145, 0.7849459648132324, -0.36996185779571533, -0.45819324254989624, -0.6889030933380127, -0.4247893691062927, 0.3769654929637909, 0.2981538474559784, 0.262546569108963, -0.1618778556585312, -0.15134935081005096, 0.6991899013519287, -0.12376519292593002, 0.4950994849205017, -0.2094753235578537, -0.20716065168380737, 0.47778499126434326, 0.3081721365451813, 0.07771788537502289, 0.614708423614502, 0.35747021436691284, 0.24650250375270844, 0.09684757888317108, -0.07128280401229858, -0.9219664335250854, 0.5939619541168213, -0.792331874370575, -0.4839155673980713, -0.19596228003501892, -0.8412421345710754, -0.1413334608078003, -0.24956214427947998, -0.15278863906860352, 0.6446711421012878, 0.03306088224053383, 0.25918900966644287, 0.9422643184661865, -0.35562679171562195, 0.49939316511154175, 0.648377001285553, -0.4392322897911072, -0.4765704274177551, 0.48784494400024414, -0.2038770616054535, 0.22893820703029633, 0.6058117747306824, -0.3342047929763794, -0.44788870215415955, -0.5272968411445618, -0.16728270053863525, 0.15321098268032074, -0.7018616199493408, 0.14424285292625427, -0.5846839547157288, -0.20967727899551392, -0.4473503828048706, 0.01914294995367527, -0.48704734444618225, -0.41563230752944946, -0.38000351190567017, -0.33341866731643677, 0.23029571771621704, 0.6025239825248718, -0.0897330716252327, 0.6067929863929749, -0.7752606272697449, 0.506630539894104, 0.6107302904129028, 0.09049505740404129, -0.2985740005970001, -0.9587863087654114, -0.47656962275505066, -0.1372300237417221, -0.4275379180908203, -0.8768841624259949, 0.3442322313785553, 0.2516718804836273, 0.32267987728118896, 0.4509654939174652, -0.8232913017272949, 1.0780898332595825, -0.6301459074020386, 1.0387157201766968, 0.20993658900260925, -0.7957723140716553, 0.7697197198867798, -0.4783892035484314, 0.47108009457588196, 0.28652092814445496, 0.05485854670405388, -0.6505722999572754, -0.12567150592803955, -0.12720239162445068, -0.6627072095870972, 0.6846314072608948, 0.04599134624004364, -0.10348232090473175, 0.25412797927856445, 0.17363950610160828, 0.05450865253806114, -0.08945819735527039, -0.5900168418884277, 0.05089288577437401, -0.3419298529624939, -0.041836511343717575, -0.27928945422172546, -0.5261881947517395, 0.05025392398238182, -0.27589356899261475, 0.4674898087978363, -0.10512053221464157, 0.5278154611587524, 0.17614927887916565, -0.4403138756752014, -0.18992182612419128, 0.317577064037323, 1.0488039255142212, 0.6915809512138367, -0.2720601558685303, 0.35706257820129395, 0.40987536311149597, -0.45417657494544983, 0.3204514980316162, -0.1775306612253189, 0.30140745639801025, 0.22507666051387787, 0.6447917222976685, 0.9380908012390137, 0.6221619844436646, -0.9547585844993591, 0.3855929672718048, 0.1497223824262619, -0.40630239248275757, -0.6940611600875854, 0.008630030788481236, 0.011455732397735119, 0.6406674981117249, 0.3698171377182007, -0.18293723464012146, 0.23703151941299438, -0.6162254810333252, 0.25176987051963806, 0.3627534508705139, -0.3920266628265381, -0.5698023438453674, 1.0089550018310547, -0.12497802078723907, -0.20695050060749054, 0.45783448219299316, 0.2667326033115387, -0.18152225017547607, 0.7021808624267578, 0.5030087232589722, 0.6472690105438232, -0.11093529313802719, 0.25545734167099, 0.49188709259033203, 0.3970701992511749, -0.12875334918498993, 0.4885629117488861, -0.383226215839386, -0.32858213782310486, -0.5462278127670288, -0.2610069811344147, -0.24416908621788025, 0.2947148084640503, -0.8071999549865723, 0.27282485365867615, -0.4690872132778168, -0.21466629207134247, -0.20009745657444, -0.057155791670084, -0.5398271083831787, 0.06261447817087173, 0.4541853964328766, 1.1611498594284058, -0.8312088251113892, 1.105331301689148, 0.7740727663040161, -0.23194162547588348, -0.4001232087612152, -0.4398932158946991, 0.29554569721221924, -0.6244074702262878, 0.8283731341362, -0.0684436559677124, -0.1643156260251999, -0.31680041551589966, -0.3199136555194855, -0.9840526580810547, 1.5093398094177246, 0.3873501121997833, -0.7716042995452881, -0.22909919917583466, 0.40036311745643616, 0.42939260601997375, -0.23134072124958038, 0.5778405070304871, 0.5891150236129761, 0.2824285328388214, 0.11255159974098206, -1.024843454360962, -0.6748774647712708, -0.23508809506893158, 0.11511663347482681, 0.0458056814968586, -0.4512850344181061, 0.650766134262085, -0.31588712334632874, 0.02435845322906971, 0.23699776828289032, 0.932639479637146, 0.44506287574768066, 0.6226083636283875, 0.31778714060783386, 0.5595487952232361, 0.19821229577064514, -0.29439273476600647, 0.47863346338272095, 0.24649007618427277, 0.2798432409763336, 1.5265965461730957, -0.22155018150806427, 1.0025603771209717, 0.6871188879013062, -0.24454748630523682, 0.3664250075817108, 0.7481907606124878, -0.05107875540852547, 0.6262125372886658, -0.20489200949668884, -0.4068465530872345, -0.6145361065864563, -0.08319474756717682, -0.454513281583786, 0.7474935054779053, 0.4241148829460144, -0.1012326180934906, -0.37806522846221924, 0.22884635627269745, -0.3332361876964569, 0.288798451423645, -0.4779464304447174, 0.8956873416900635, 0.13829506933689117, -0.5037044882774353, 0.002562830224633217, 0.09502068907022476, 0.22043736279010773, -0.8626808524131775, -0.01871935836970806, -0.22966253757476807, 0.11286425590515137, -0.1157669648528099, -0.9820592403411865, 0.4327488839626312, 0.2889922857284546, -0.44932129979133606, -0.29747188091278076, 0.3380974531173706, -0.931491494178772, -0.1402350217103958, 0.5581527948379517, 0.2950161397457123, 0.11181634664535522, 0.19148796796798706, -0.5550519824028015, 0.37970152497291565, -0.45124372839927673, 0.15355972945690155, 0.232522115111351, 0.07616566866636276, -0.03832656517624855, 0.6999269723892212, 0.42945218086242676, 0.06344388425350189, 0.14445528388023376, 0.2884973883628845, 0.28039446473121643, -0.48195546865463257, -0.5937814116477966, -0.8461523652076721, 0.3583240509033203, 0.36667966842651367, 0.13997124135494232, 0.7778966426849365, 0.6035340428352356, 0.9280979633331299, -0.1566765457391739, 0.38855648040771484, 0.3738803267478943, 0.027076663449406624, -0.9238587617874146, 0.40094009041786194, -0.6643772125244141, 0.30887192487716675, -0.2795678675174713, -0.8938296437263489, -0.34403347969055176, 0.464061439037323, -0.35925161838531494, -0.011642026714980602, 0.6465432643890381, 0.9547426700592041, -0.10591462254524231, -0.003991851583123207, 0.2551543116569519, 0.2511274814605713, 0.4933358132839203, 1.1135200262069702, 1.0571489334106445, -0.6156035661697388, 0.6995474100112915, -0.05751490965485573, -0.10487397015094757, -0.1948380172252655, -0.5301072001457214, -0.6621704697608948, -0.7954556345939636, -0.4168698787689209, 0.04929239675402641, 0.10724271088838577, 0.8589433431625366, 0.9050235152244568, -0.5143995881080627, -0.6621332764625549, 0.20427316427230835, -0.038207899779081345, -0.2677377462387085, -0.14295324683189392, 0.054638754576444626, 0.11650773882865906, -0.7428627610206604, 0.9573231935501099, 0.7428043484687805, -0.12291763722896576, -0.34072965383529663, -0.4952338933944702, -0.29600000381469727, 0.032640233635902405, 0.8706898093223572, 0.32486310601234436, -1.0010972023010254, -0.20598457753658295, 0.030345454812049866, 0.05524984374642372, 0.07625910639762878, 0.9656375050544739, -0.5523872375488281, 0.6931124925613403, 0.634210467338562, 0.40097731351852417, 0.7045432925224304, -0.19840753078460693, 0.43689340353012085, -0.575351893901825, 0.4882861375808716, -0.0832052007317543, 0.4949870705604553, 0.11058208346366882, 0.062349963933229446, 0.41885194182395935, 0.04222577437758446, -0.4359547793865204, -0.8365129828453064, 0.4123041033744812, -1.3382315635681152, -0.2880358099937439, 1.289591670036316, 0.05092364922165871, 0.045915570110082626, -0.02539507858455181, -0.061662301421165466, 0.3659522533416748, -0.10856185108423233, 0.5302333235740662, 0.5650279521942139, 0.19708141684532166, -0.6798654794692993, -0.9854751825332642, 0.11802346259355545, 0.6009057760238647, -0.864847719669342, -0.11361757665872574, 0.5755691528320312, 0.23753228783607483, -0.2748577296733856, 0.7204087376594543, -0.33605337142944336, 1.1067430973052979, -0.341938853263855, -0.23000101745128632, -0.39701318740844727, -0.9586321711540222, -0.7031430006027222, 0.22881340980529785, -0.031722452491521835, -0.3573368191719055 ]
http://arxiv.org/abs/2406.07466v1
http://arxiv.org/pdf/2406.07466v1
Multimodal Belief Prediction
2024-06-11T17:12:41
2024-06-11T17:12:41
John Murzaku, Adil Soubki, Owen Rambow
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
Recognizing a speaker's level of commitment to a belief is a difficult task; humans do not only interpret the meaning of the words in context, but also understand cues from intonation and other aspects of the audio signal. Many papers and corpora in the NLP community have approached the belief prediction task using text-only approaches. We are the first to frame and present results on the multimodal belief prediction task. We use the CB-Prosody corpus (CBP), containing aligned text and audio with speaker belief annotations. We first report baselines and significant features using acoustic-prosodic features and traditional machine learning methods. We then present text and audio baselines for the CBP corpus fine-tuning on BERT and Whisper respectively. Finally, we present our multimodal architecture which fine-tunes on BERT and Whisper and uses multiple fusion methods, improving on both modalities alone.
[ -0.6690390706062317, -0.49530187249183655, 0.7565104365348816, 0.3804912865161896, -0.15177972614765167, -0.018017031252384186, -0.4211832582950592, -0.582966685295105, 0.4399937093257904, 0.2916209399700165, -0.8001444935798645, -0.588625967502594, -0.771195113658905, 0.08112957328557968, 0.09841251373291016, 0.6433969736099243, 0.34978699684143066, 0.1115492507815361, -0.2778263986110687, 0.049320582300424576, -0.8604352474212646, -0.3646116256713867, -0.43883228302001953, -0.4009443521499634, 0.4016156494617462, 0.5271186828613281, 0.8089311122894287, 0.09291940182447433, 0.13466776907444, 0.21766437590122223, -0.11093562841415405, 0.18543054163455963, 0.2323470562696457, 0.39110267162323, -0.12333860248327255, -0.5371022820472717, -0.3193137049674988, 0.16430729627609253, 0.6223642230033875, 0.5052831768989563, 0.004493470769375563, -0.2033732384443283, 0.002882932545617223, 0.1844453364610672, -0.46801257133483887, 0.4061727523803711, -0.8987006545066833, 0.1404470056295395, -0.11926037818193436, -0.33626803755760193, -0.7112336754798889, -0.1932859569787979, 0.2604747414588928, -0.3687424659729004, 0.37748396396636963, 0.23171795904636383, 0.4851493537425995, 0.2402769923210144, -0.7490136027336121, -0.3770957887172699, -0.47118160128593445, 0.9090903401374817, -0.5310851335525513, 0.7696532607078552, 0.9999173283576965, 0.1197672113776207, -0.27852413058280945, -0.14614205062389374, -0.9075286388397217, -0.2999557554721832, -0.08527456969022751, 0.27578747272491455, 0.11608513444662094, 0.25119248032569885, 0.050702888518571854, 0.13545440137386322, -0.615646481513977, -0.11188630014657974, 0.103617362678051, -0.39654937386512756, 0.3610067069530487, -0.18478111922740936, -0.09219180792570114, -0.6454903483390808, -0.5041100382804871, -0.36477765440940857, -0.2228097915649414, 0.14015039801597595, 0.013466271571815014, 0.314188688993454, -0.0659695640206337, 0.5366048216819763, 0.07630061358213425, 0.4594697654247284, 0.08435075730085373, -0.5949316620826721, 0.5007629990577698, -0.21223796904087067, -0.14695996046066284, 0.504967987537384, 0.8314767479896545, 0.35432156920433044, 0.05452272295951843, 0.0956863984465599, -0.015999775379896164, 0.4953535497188568, 0.11947112530469894, -0.3230235278606415, -0.07338352501392365, 0.4590284824371338, -0.5481575727462769, 0.013205137103796005, -0.052612755447626114, -0.6957526206970215, -0.6523202657699585, -0.27054473757743835, 0.42719951272010803, -0.9485864043235779, -0.6383455395698547, 0.039359718561172485, -0.25823208689689636, -0.24364106357097626, 0.4697485864162445, -1.3491805791854858, 0.08950329571962357, 0.566307544708252, 0.7610852122306824, 0.05961611866950989, -0.2404109388589859, -0.3560357391834259, 0.3278822600841522, -0.32081809639930725, 0.9500759243965149, -0.8322062492370605, -0.5808345675468445, -0.001271545304916799, 0.04795007407665253, -0.20745813846588135, -0.31973326206207275, 0.9056277871131897, -0.12190071493387222, 0.03656144440174103, -0.3635435402393341, -0.782824695110321, -0.2761310636997223, 0.2877017557621002, -0.6028000712394714, 0.6841177344322205, -0.13365493714809418, -0.7218063473701477, 0.5831072926521301, -0.4976625442504883, -0.24768708646297455, -0.13410766422748566, -0.2329009622335434, -0.19365699589252472, 0.3568183481693268, 0.2855587899684906, 0.6093360781669617, 0.10662317276000977, 0.2681610882282257, -0.5362253189086914, 0.033111821860075, 0.35275721549987793, -0.5888453722000122, 0.31633684039115906, 0.13271598517894745, -0.13172419369220734, 0.18154437839984894, -0.7879682183265686, 0.04948252812027931, -0.295311838388443, -0.041023362427949905, -0.22032976150512695, 0.5022029876708984, 0.13321560621261597, 0.25683194398880005, 0.1194969117641449, -0.8576152920722961, 0.2500062584877014, -0.5751866698265076, 0.2125389128923416, 0.7925266623497009, 0.011847399175167084, 0.20270021259784698, -0.11398357152938843, 0.3598726689815521, 0.06719379127025604, 0.16661614179611206, -0.4110073745250702, -0.8915033340454102, -0.32086941599845886, -0.24387432634830475, 0.34455713629722595, 0.42721423506736755, -0.37146925926208496, 0.31327149271965027, 0.07761026918888092, -0.5807662606239319, -0.5693151354789734, -0.005416356027126312, 0.3791600167751312, 0.3377681076526642, 0.5755720734596252, -0.1608404666185379, -0.6815374493598938, -0.9800451397895813, -0.06471706926822662, -0.6232765913009644, -0.035424213856458664, -0.02631302736699581, 0.36863163113594055, -0.3063035309314728, 0.908022403717041, -0.5212087035179138, -0.6925337910652161, 0.0924215242266655, 0.5533941388130188, 0.32424646615982056, 0.4691304862499237, 0.3877110481262207, -1.0939056873321533, -0.4046560227870941, 0.20400087535381317, -0.5632013082504272, 0.3745657503604889, -0.15249097347259521, 0.3406868875026703, 0.12953515350818634, 0.2426498532295227, -0.6848184466362, 0.35739776492118835, 0.9297740459442139, -0.44945526123046875, 0.5739949345588684, -0.11153777688741684, 0.20630674064159393, -1.2239181995391846, -0.6424803137779236, 0.20796363055706024, -0.24590082466602325, -0.3994097411632538, -0.5684633255004883, 0.1984986513853073, 0.11384359747171402, -0.0694417878985405, 0.2776213586330414, -0.225341796875, -0.20025070011615753, -0.2664092183113098, 0.2130236029624939, -0.0826755091547966, 0.4162210524082184, 0.7756015658378601, 0.5687052607536316, 0.6191020607948303, -0.3409728705883026, 0.2717226445674896, 0.707000732421875, -0.542138397693634, 0.49151161313056946, -0.41886624693870544, 0.07547982782125473, -0.09606865048408508, 0.30420783162117004, -1.3764609098434448, -0.19433516263961792, -0.07923676818609238, -0.9393682479858398, 0.45037445425987244, -0.08648965507745743, -0.604682445526123, -0.03225397318601608, 0.06135788559913635, 0.11302345246076584, 0.10411742329597473, -0.24735049903392792, 0.7414471507072449, 0.35914862155914307, -0.5214913487434387, -0.5392289161682129, -0.3765449821949005, 0.17464148998260498, 0.15195684134960175, -0.6339364051818848, 0.71200031042099, -0.2773713171482086, -0.17859888076782227, -0.14573726058006287, -0.09031402319669724, 0.04027688503265381, -0.19968761503696442, 0.605292797088623, 0.26522383093833923, -0.04388807713985443, 0.569252610206604, 0.272076278924942, -0.4244166910648346, -0.005562096834182739, -0.2476166933774948, 0.40414509177207947, -0.22447174787521362, -0.4824714660644531, -0.5674970149993896, 0.5709876418113708, 0.5027068257331848, -0.18811041116714478, 0.815580427646637, 0.8407036662101746, -0.3432687222957611, 0.04493624344468117, -0.6834093928337097, -0.09615429490804672, -0.42645522952079773, 0.323025107383728, -0.538165807723999, -0.7997462153434753, 0.12319588661193848, -0.07501085847616196, -0.17606611549854279, 0.3158351182937622, 0.7131771445274353, -0.5160509943962097, 1.297272801399231, 0.860496461391449, 0.17529256641864777, 0.4221749007701874, 0.1478479951620102, -0.04280831292271614, -0.512833297252655, -0.4519979953765869, -0.44251132011413574, -0.2708289325237274, -0.6949247717857361, -0.29158514738082886, 0.7089946269989014, 0.16144870221614838, 0.22647394239902496, 0.39784467220306396, -0.38457655906677246, 0.019409455358982086, 0.591605544090271, 0.037399955093860626, 0.05958233401179314, -0.2362113744020462, -0.2987390458583832, -0.3965737521648407, -0.21348030865192413, -0.38358274102211, 0.9175191521644592, 0.4385432004928589, 0.21635811030864716, 0.247937873005867, 0.5777574181556702, 0.5292045474052429, 0.12515628337860107, -0.8153634667396545, 0.31367337703704834, 0.12814782559871674, -0.8924935460090637, -0.17761246860027313, -0.020645935088396072, -0.6413792967796326, 0.40058550238609314, -0.8185217380523682, -0.7355974316596985, 0.4531358778476715, 0.2334636002779007, -0.2500533163547516, -0.03173397108912468, -0.9373998641967773, 0.8497046828269958, -0.06841181218624115, 0.16988742351531982, -0.5902206301689148, -0.753204882144928, -0.04902786388993263, -0.006136891897767782, 0.4293966293334961, -0.3228241503238678, 0.05269020423293114, 0.6800597310066223, 0.015871183946728706, 0.9349081516265869, -0.4101102650165558, -0.04440326616168022, 0.04730096831917763, 0.08304216712713242, 0.34749555587768555, 0.35735249519348145, -0.169966921210289, 0.07411926984786987, 0.36469778418540955, -0.329242080450058, -0.5107367038726807, 0.42782357335090637, -0.8021447062492371, -0.449786901473999, -0.5089504718780518, -0.5018118023872375, -0.8812782168388367, 0.11145064979791641, 0.24409575760364532, 0.49900057911872864, -0.27722442150115967, 0.41310369968414307, 0.9036030769348145, -0.09488049149513245, 0.5999100804328918, 0.24431206285953522, -0.11599137634038925, -0.6680262088775635, 0.7762117385864258, -0.16228722035884857, 0.3428170680999756, 0.8238211274147034, 0.2820293605327606, -0.822922945022583, -0.6615126729011536, -0.0986630991101265, 0.0329846553504467, -0.7202574610710144, -0.13267286121845245, -0.601421058177948, 0.21934998035430908, -0.705801784992218, -0.027297809720039368, -0.39535412192344666, -0.28779247403144836, -0.11308718472719193, -0.31491658091545105, 0.2978878319263458, 0.5015160441398621, -0.19381482899188995, 0.20651836693286896, -0.9439613819122314, 0.5306529402732849, 0.3286009132862091, 0.17389065027236938, -0.5089602470397949, -0.279416024684906, -0.27315548062324524, 0.24701957404613495, -0.49770262837409973, -1.0898722410202026, 0.49013522267341614, 0.48603203892707825, 0.4891895353794098, 0.5785424113273621, 0.24764569103717804, 0.5073432922363281, -0.3669159710407257, 0.7244874835014343, 0.7472272515296936, -1.052022099494934, 0.9906830191612244, -0.32523152232170105, -0.09171581268310547, 0.39962828159332275, 0.48297664523124695, -0.5711227059364319, -0.346021443605423, -0.48350605368614197, -0.3689683973789215, 0.5030146241188049, 0.1329715996980667, -0.16853828728199005, -0.19041620194911957, -0.20478205382823944, 0.49840691685676575, 0.40950384736061096, -0.6522126197814941, -0.32194119691848755, -0.7395281791687012, -0.26453697681427, -0.6114533543586731, -0.3087906241416931, -0.05916813015937805, -0.3756825625896454, 0.43424686789512634, -0.4568868577480316, 0.6112187504768372, 0.28845271468162537, 0.07254957407712936, -0.18395693600177765, 0.5340420007705688, 0.8640727400779724, 0.6266555190086365, -0.6537296175956726, 0.19877071678638458, 0.07605184614658356, -0.37548255920410156, 0.0775383859872818, -0.06453635543584824, 0.21869713068008423, 0.41360190510749817, 0.5940147042274475, 1.0364875793457031, 0.2252693921327591, -0.6139244437217712, 0.5730593800544739, -0.08010029047727585, -0.4362023174762726, -0.819855272769928, -0.2735953629016876, 0.32613712549209595, 0.43741533160209656, 0.3644629418849945, 0.633778989315033, -0.14314596354961395, -0.8499575257301331, 0.12907777726650238, 0.28405213356018066, -0.6983959674835205, -0.5192224383354187, 0.6705741882324219, -0.09385772794485092, -0.15769849717617035, 0.3076077103614807, -0.18132221698760986, -0.4127332866191864, 0.16134296357631683, 0.7288056015968323, 0.8717417120933533, -0.3198624849319458, 0.4011123478412628, 0.18042467534542084, 0.08214759081602097, 0.11863163858652115, 0.30870190262794495, -0.2305736392736435, -1.2522656917572021, -0.5762903094291687, -0.8732523322105408, -0.7039260268211365, -0.20330800116062164, -0.6989277005195618, 0.3176444172859192, -0.5429933071136475, -0.5462108254432678, 0.5001831650733948, 0.06777330487966537, -0.4533666670322418, 0.48391851782798767, 0.600247323513031, 0.8081160187721252, -0.8803901076316833, 1.2393499612808228, 0.6818079352378845, -0.4475179612636566, -0.43358173966407776, 0.12700152397155762, 0.2566637396812439, -0.7086628079414368, 0.6956698894500732, 0.14751116931438446, -0.11323223263025284, -0.32110732793807983, -0.401409775018692, -0.7154579758644104, 0.8635497093200684, 0.41111889481544495, -0.6143987774848938, 0.08886516094207764, -0.18198083341121674, 0.29393938183784485, -0.3752392828464508, 0.31091615557670593, 0.22436819970607758, 0.8258735537528992, 0.076063372194767, -1.183491826057434, -0.3553565442562103, -0.12829963862895966, -0.12907510995864868, 0.0710655227303505, -0.37505802512168884, 0.9096570611000061, -0.05268481373786926, 0.02428554557263851, -0.22514425218105316, 1.1714133024215698, 0.19118817150592804, 0.5311764478683472, 0.8888632655143738, 0.23705820739269257, 0.8604185581207275, -0.17706425487995148, 0.7580247521400452, -0.15837450325489044, 0.19667302072048187, 0.8703060150146484, -0.23395468294620514, 1.2494693994522095, 0.45659127831459045, -0.3870050013065338, 0.7342295050621033, 0.7485359311103821, 0.20526783168315887, 0.7125322818756104, -0.5440274477005005, -0.28312328457832336, -0.566333532333374, -0.30054569244384766, -0.3562023639678955, 0.7974331974983215, 0.8053107857704163, -0.19032728672027588, 0.2869434058666229, 0.26296505331993103, -0.29103735089302063, 0.13610577583312988, -0.24499909579753876, 0.749900758266449, 0.12839795649051666, -0.7185027599334717, 0.5535993576049805, -0.08676839619874954, 0.7885728478431702, -0.6953458189964294, -0.11956322938203812, 0.5405040383338928, 0.27124425768852234, -0.25835713744163513, -0.9450194239616394, 0.3200952708721161, -0.6205509305000305, -0.6107775568962097, -0.4757775366306305, 0.7676939964294434, -0.43049660325050354, -0.20718646049499512, 0.5316476225852966, 0.20445382595062256, -0.03137035295367241, -0.4171641767024994, -0.5430259108543396, -0.06827741116285324, 0.17635826766490936, -0.06978476792573929, 0.480379194021225, 0.434963583946228, 0.16853345930576324, 0.6650593280792236, 0.5848881602287292, 0.07797524333000183, -0.13731837272644043, 0.058893654495477676, 0.6735820174217224, -0.7358541488647461, -0.5063300728797913, -0.6094934344291687, 0.283853143453598, 0.08885052800178528, -0.42468950152397156, 0.6524795889854431, 0.15026332437992096, 0.7212184071540833, -0.10318698734045029, 0.8843924403190613, 0.0006750114262104034, 0.765000581741333, -0.6938719749450684, 0.38246825337409973, -0.47861555218696594, -0.24730424582958221, -0.5516605377197266, -0.8994402289390564, 0.10822191089391708, 0.6371765732765198, -0.05579829216003418, -0.26918476819992065, 0.8935968279838562, 0.6316613554954529, 0.3573138415813446, 0.6086326241493225, 0.5779141783714294, 0.19377638399600983, 0.05649254843592644, 0.3826773464679718, 0.7950668334960938, -0.10715681314468384, 0.4662620723247528, -0.2686046063899994, -0.2074480503797531, -0.2143588662147522, -0.8993709683418274, -0.7271382212638855, -1.032090187072754, -0.17455267906188965, -0.22167657315731049, -0.25646302103996277, 1.108489990234375, 0.79818195104599, -1.0452065467834473, -0.0510738305747509, 0.1555536538362503, 0.07095538824796677, -0.6889317631721497, -0.18004173040390015, 0.22007907927036285, -0.31391504406929016, -0.6552215814590454, 0.9370400309562683, 0.36278796195983887, -0.08383635431528091, -0.15694008767604828, -0.18459917604923248, -0.32270386815071106, -0.0776728168129921, 0.7336689829826355, 0.0017252241959795356, -1.0094144344329834, -0.5373385548591614, -0.05275425314903259, 0.3310709595680237, 0.1450285166501999, 0.49408790469169617, -0.7283793091773987, 0.6892765164375305, 0.3529427945613861, 0.07916208356618881, 0.5584118962287903, -0.07116793841123581, 0.6563424468040466, -1.0348682403564453, 0.13415122032165527, 0.47890618443489075, 0.6059377789497375, 0.19956336915493011, -0.09990964084863663, 0.08176091313362122, 0.32763102650642395, -0.46948572993278503, -0.6948790550231934, 0.3756534159183502, -1.342457890510559, -0.2873975336551666, 0.8843913078308105, -0.15132565796375275, 0.02935343235731125, -0.47115209698677063, -0.3405574560165405, 0.11978822946548462, -0.675559937953949, 0.302219957113266, 0.8643580079078674, -0.2675211727619171, -0.3420513868331909, -0.5840075016021729, 0.5308414101600647, 0.47666773200035095, -0.16352950036525726, 0.0637255534529686, 0.4373363256454468, -0.07554090768098831, 0.738070547580719, 0.6132650971412659, 0.24130958318710327, 0.026825211942195892, 0.35452258586883545, 0.2749055027961731, 0.04854549840092659, -0.49576708674430847, 0.17533905804157257, 0.5457786917686462, 0.15880386531352997, -0.2659836709499359 ]
http://arxiv.org/abs/2406.10270v1
http://arxiv.org/pdf/2406.10270v1
A Conceptual Framework For Trie-Augmented Neural Networks (TANNS)
2024-06-11T17:08:16
2024-06-11T17:08:16
Temitayo Adefemi
cs.CL
cs.CL, cs.LG
Trie-Augmented Neural Networks (TANNs) combine trie structures with neural networks, forming a hierarchical design that enhances decision-making transparency and efficiency in machine learning. This paper investigates the use of TANNs for text and document classification, applying Recurrent Neural Networks (RNNs) and Feed forward Neural Networks (FNNs). We evaluated TANNs on the 20 NewsGroup and SMS Spam Collection datasets, comparing their performance with traditional RNN and FFN Networks with and without dropout regularization. The results show that TANNs achieve similar or slightly better performance in text classification. The primary advantage of TANNs is their structured decision-making process, which improves interpretability. We discuss implementation challenges and practical limitations. Future work will aim to refine the TANNs architecture for more complex classification tasks.
[ -0.29508817195892334, -0.31038978695869446, 0.32499563694000244, 0.17853473126888275, -0.029651518911123276, 0.24521449208259583, -0.22196201980113983, -0.5060622096061707, -0.16659006476402283, 0.44839656352996826, -0.1530391126871109, -0.722883939743042, -0.5930160284042358, 0.2720194458961487, -0.7305651307106018, 1.2033966779708862, 0.011142417788505554, -0.08562196046113968, 0.24378789961338043, -0.11366386711597443, -0.3629567623138428, -0.4430602490901947, -1.051766037940979, -0.4016146659851074, 0.9501329660415649, 0.2235485166311264, 0.6374029517173767, 0.538457453250885, 0.5153466463088989, 0.45840534567832947, -0.22314652800559998, 0.3654954433441162, -0.08007635921239853, 0.10061072558164597, -0.23732136189937592, -0.5446135997772217, 0.07200063019990921, 0.0641983300447464, 0.5130189061164856, 0.34054499864578247, 0.1456626057624817, -0.07276700437068939, 0.1794687658548355, 0.5661713480949402, -0.7105839848518372, 0.13364844024181366, 0.02829950675368309, 0.36364105343818665, -0.09393712878227234, -0.26935267448425293, -0.5781375765800476, -0.7008379101753235, 0.5676537156105042, -0.35477644205093384, 0.5134616494178772, 0.16576427221298218, 0.7558014392852783, 0.015011484734714031, -0.2753251791000366, -0.19416110217571259, -0.6866498589515686, 0.5879610180854797, -0.4748081862926483, 0.536399781703949, 0.2030744105577469, 0.12684334814548492, -0.009467440657317638, -0.9974858164787292, -0.2640092372894287, 0.07003897428512573, -0.2999633252620697, 0.0008721703197807074, 0.06871440261602402, 0.4457189738750458, 0.025140462443232536, 0.6181389689445496, -0.2987527549266815, 0.1059122309088707, -0.20616358518600464, -0.12593385577201843, 0.35847538709640503, -0.1110190823674202, 0.2832607328891754, -0.39631426334381104, -0.545454204082489, 0.065116748213768, 0.09964103996753693, -0.17486713826656342, -0.24952735006809235, 0.4401017129421234, 0.12584000825881958, 0.40640291571617126, 0.07356391102075577, 0.9175273180007935, -0.0793856531381607, -0.01002595480531454, 0.16766317188739777, -0.38967442512512207, -0.5556584596633911, 0.03931741788983345, 0.9552150964736938, 0.25509366393089294, 0.3558993637561798, -0.392313688993454, -0.2958611249923706, -0.13273312151432037, 0.2478262037038803, -0.6729459762573242, 0.0954868346452713, -0.011989603750407696, -0.48741474747657776, -0.6967933773994446, 0.164332315325737, -0.5495845079421997, -0.6644521951675415, -0.4381909668445587, 0.3436661958694458, -0.4270918667316437, -0.11272908002138138, 0.3512970209121704, -0.4921875, -0.1691332459449768, 0.4501180052757263, -0.5489532351493835, 0.5521795749664307, 0.6829659342765808, 1.3184573650360107, -0.18732932209968567, -0.3190520107746124, -0.19894786179065704, -0.09725335240364075, -0.20870642364025116, 0.5906103849411011, -0.26729878783226013, -0.2243814915418625, 0.16681432723999023, -0.14384141564369202, -0.2504623234272003, -0.1999513953924179, 0.38557299971580505, -0.8230746984481812, 0.6663538813591003, 0.14337265491485596, -0.3916829526424408, -0.5877089500427246, 0.4382147490978241, -0.9926654696464539, 1.0157859325408936, 0.4047105014324188, -0.9757121205329895, 0.2157595008611679, -0.5411468148231506, -0.5577095150947571, -0.10299026221036911, 0.1151304617524147, -0.5135364532470703, -0.009108362719416618, -0.1381043642759323, 0.8155348896980286, -0.4545604884624481, 0.19605667889118195, -0.019208509474992752, -0.33937034010887146, 0.36230239272117615, -0.5331446528434753, 0.6910926103591919, 0.3981436789035797, -0.37045472860336304, -0.12739057838916779, -0.6442158818244934, 0.015293055213987827, -0.47611895203590393, -0.6404799222946167, -0.4099808931350708, -0.46487388014793396, 0.27325236797332764, 0.11864784359931946, -0.09639661759138107, -0.591652512550354, -0.14228418469429016, -0.43986091017723083, 0.4961833357810974, 0.452100545167923, 0.1552262306213379, 0.6898517608642578, -0.7195096611976624, 0.04898819699883461, 0.05377325415611267, -0.04196155443787575, -0.04824535548686981, -0.31583115458488464, -0.7040238380432129, -0.0984211415052414, 0.7019073963165283, 0.7189264893531799, -1.010157823562622, 0.24916911125183105, -0.3622693419456482, -0.1560191959142685, -0.2670780122280121, -0.1544991284608841, 0.5286046862602234, 0.4133092761039734, 0.04951272904872894, 0.18497326970100403, -0.5757333636283875, -0.6140990853309631, -0.4428260326385498, -0.15431322157382965, 0.0017150341300293803, 0.24524956941604614, 0.20977599918842316, -0.06944386661052704, 0.849341630935669, 0.0426921471953392, -0.3076176047325134, -0.08124499022960663, 0.5892710089683533, -0.04899785667657852, 0.20233039557933807, 0.4157560169696808, -1.3523316383361816, -0.30296382308006287, 0.2666264474391937, -0.6429164409637451, 0.005177282728254795, -0.2604556679725647, 0.14769402146339417, 0.4746498167514801, 0.11787578463554382, -0.3529265820980072, 0.735292375087738, -0.005786905065178871, -0.24265512824058533, 0.06729789078235626, 0.15447278320789337, 0.43550464510917664, -1.2730120420455933, -0.17068520188331604, 0.48870769143104553, -0.5641902089118958, -0.799898087978363, -0.48033463954925537, 0.03578804060816765, -0.16325165331363678, -0.4356004595756531, 0.5656381845474243, -0.28469809889793396, -0.24092960357666016, -0.2786862254142761, 0.08125593513250351, 0.33450135588645935, 0.49607452750205994, 0.34316474199295044, 0.6607680320739746, 0.035221464931964874, -0.8278144001960754, 0.5090436339378357, 0.07102134823799133, -0.23205143213272095, 0.2894188165664673, -0.28134533762931824, -0.15883950889110565, -0.17254140973091125, 0.0484933964908123, -0.830777108669281, -0.086021289229393, 0.21829062700271606, -0.5722912549972534, 0.5235844850540161, 0.2943287193775177, -0.48825740814208984, -0.42987051606178284, -0.4628591537475586, 0.4024514853954315, -0.17458344995975494, -0.7513753175735474, 0.8227423429489136, -0.06819228082895279, 0.10061382502317429, -0.7991481423377991, -1.1429481506347656, 0.10718955099582672, 0.10241351276636124, -0.4705422520637512, 0.44366875290870667, 0.4345182478427887, -0.007286279462277889, 0.25114506483078003, -0.10898458957672119, -0.15245206654071808, 0.007519437465816736, 0.19484840333461761, 0.06742419302463531, -0.3046073019504547, 0.4896613359451294, -0.3722233176231384, -0.0726669430732727, -0.2530519664287567, -0.5924789905548096, 0.3835286498069763, -0.5121206641197205, 0.17762045562267303, -0.8074324131011963, 0.16665370762348175, 0.6325834393501282, -0.0856291800737381, 0.7372605204582214, 0.5290418863296509, -0.476260244846344, -0.3419892191886902, -0.7062196135520935, 0.09012410044670105, -0.3970092535018921, 0.23465466499328613, -0.1321966052055359, -0.777592658996582, 0.17514373362064362, -0.15958261489868164, 0.17293260991573334, 0.28613927960395813, 0.2705809772014618, -0.22197066247463226, 0.3299182951450348, 0.5433765053749084, -0.010803721845149994, 0.863079309463501, -0.4852070212364197, 0.0011216233251616359, -0.5941329002380371, -0.5070054531097412, -0.5228270292282104, -0.49361249804496765, -0.5941529273986816, -0.28461700677871704, -0.03277844935655594, -0.283591628074646, -0.542533814907074, 0.15481850504875183, -0.7839316129684448, 0.547903835773468, 0.5668978095054626, 0.4011118412017822, 0.3155040144920349, 0.08915092051029205, 0.17434369027614594, 0.309939444065094, -0.770073413848877, -0.3943841755390167, 0.6785741448402405, 0.46074897050857544, 0.6634289026260376, -0.24781686067581177, 0.6980790495872498, 0.6882498264312744, 0.6138712763786316, -0.8876831531524658, 0.31949812173843384, -0.5037416219711304, -0.5843424201011658, -0.23651981353759766, -0.6474542021751404, -0.6321471929550171, 0.10380230844020844, -0.13472020626068115, -0.4890384376049042, 0.6509929895401001, -0.5291073322296143, -0.560185968875885, 0.7962403893470764, -0.8803471922874451, 0.5058076977729797, -0.4076489806175232, -0.10502080619335175, 0.23083141446113586, -0.60785973072052, 0.16163264214992523, 0.18391303718090057, 0.003725453047081828, 0.3752644956111908, -0.5621282458305359, 1.0308738946914673, -0.1973518431186676, 0.9413530230522156, 0.1651332676410675, 0.27130016684532166, 0.384618878364563, -0.10845967382192612, 0.024192489683628082, -0.06272044032812119, -0.4656963646411896, 0.18933260440826416, -0.1704034060239792, -0.09346730262041092, -0.9033424854278564, 0.4752194881439209, -0.8458293676376343, -0.3306538760662079, -0.7616267800331116, -0.548239529132843, -0.11137570440769196, 0.7072060108184814, 0.5001683831214905, 0.7004126310348511, 0.05461638793349266, 0.4805358350276947, 0.7992590665817261, 0.20775862038135529, 0.6586145758628845, 0.21056130528450012, -0.32620298862457275, -0.9248310923576355, 0.5826502442359924, 0.27219557762145996, 0.1514109969139099, 0.8259209990501404, 0.12754938006401062, -0.3912602365016937, -0.5666255354881287, -0.1515440046787262, 0.0017045598942786455, -0.6273330450057983, -0.5797196626663208, -0.47834035754203796, -0.9293980002403259, -0.09528841823339462, -0.025241537019610405, 0.010324889793992043, -0.5415411591529846, -0.5826587080955505, -0.11324415355920792, 0.36479446291923523, 0.9958553910255432, 0.11005668342113495, 0.792780876159668, -0.9133507013320923, 0.5653552412986755, 0.09602130949497223, 0.7889360189437866, 0.08101986348628998, -0.20238515734672546, -0.3694933354854584, -0.031289778649806976, -0.10151920467615128, -0.9404459595680237, -0.0775865763425827, 0.13417242467403412, 0.28045544028282166, 0.171965092420578, 0.08579856902360916, 0.06941919028759003, -0.0928099974989891, 0.405304491519928, 0.26440614461898804, -0.7471820712089539, 0.33852243423461914, -0.341413289308548, -0.06700872629880905, 0.5034887194633484, 0.4514637589454651, -0.6114461421966553, 0.09846047312021255, -0.5966145992279053, -0.16948451101779938, 1.1815173625946045, 0.5028321146965027, -0.2812212407588959, 0.08268661051988602, 0.8614168167114258, -0.09439697861671448, 0.4057907462120056, -0.6521806716918945, -0.2647910416126251, -0.276105672121048, -0.5084076523780823, 0.22820252180099487, -0.26063090562820435, 0.09508610516786575, 0.09176052361726761, 0.5615339279174805, 0.260891854763031, 0.1395697444677353, 0.43146827816963196, 0.08044684678316116, 0.21452084183692932, 0.2359861433506012, 0.244291290640831, 0.16532959043979645, -0.20703789591789246, 0.1283133327960968, 0.10025149583816528, -0.5874598026275635, 0.3474465310573578, 0.06137474626302719, -0.2692689597606659, 0.24716238677501678, 0.340028315782547, 0.801311194896698, 0.44904130697250366, 0.24977803230285645, 0.3705506920814514, -0.41859301924705505, -0.28432685136795044, 0.1020558550953865, 0.041710030287504196, -0.20732033252716064, 0.2734033465385437, 0.19260133802890778, 0.5974720120429993, 0.20713981986045837, -0.33300116658210754, 0.26240965723991394, 0.02887868322432041, -0.16518600285053253, 0.19452479481697083, 0.07507230341434479, 0.3663310408592224, -0.8355503678321838, 0.4129903018474579, 0.2134702354669571, -0.7008576989173889, 0.5823589563369751, 0.5906229615211487, 1.1289602518081665, -0.15017209947109222, 0.498162180185318, 0.015588400885462761, 0.2756255865097046, -0.4008888006210327, 0.10714162886142731, -0.2683008313179016, -0.7129063606262207, -0.10700756311416626, -0.5652785897254944, -0.32020506262779236, 0.1364143192768097, -0.4491046071052551, 0.4011150896549225, -0.8344778418540955, -0.5555701851844788, 0.24880197644233704, 0.15869024395942688, -0.4784550070762634, 0.5552988648414612, 0.16623333096504211, 1.1947879791259766, -0.398493230342865, 0.35973820090293884, 0.6225549578666687, -0.4100760519504547, -0.5461726188659668, -0.14918072521686554, -0.1949329674243927, -0.2954358756542206, 0.5928890705108643, 0.3740135431289673, -0.396580308675766, -0.040683645755052567, -0.2767963707447052, -0.701219916343689, 0.9805998206138611, 0.014217070303857327, -0.4227977395057678, -0.5358777046203613, 0.33973428606987, 0.6274259090423584, -0.47049596905708313, 0.1659490168094635, 0.4226072430610657, 0.5287070870399475, 0.129365473985672, -0.7189813256263733, -0.20559467375278473, -0.2876817584037781, 0.47375819087028503, 0.29563093185424805, -0.6568049192428589, 0.6765740513801575, 0.12473677843809128, -0.5178796052932739, 0.2776504158973694, 0.4626742899417877, -0.19629411399364471, 0.7440361380577087, 0.3741287589073181, 0.6518948078155518, 0.8079070448875427, -0.4614405333995819, 1.093224287033081, 0.18280471861362457, 0.2076525241136551, 0.8757277727127075, 0.2266896367073059, 0.5539806485176086, -0.19034810364246368, 0.08019569516181946, 0.8179842233657837, 0.8165542483329773, 0.04555848240852356, 0.19329321384429932, -0.0030477256514132023, -0.4647071361541748, -0.016131915152072906, -0.20824871957302094, -0.10863941162824631, 0.09607850760221481, 0.3782547414302826, -0.49262329936027527, -0.30996277928352356, 0.46133357286453247, -0.060415856540203094, 0.12463001906871796, -0.5400130748748779, 0.9542536735534668, 0.24631556868553162, -0.3178618252277374, 0.37251782417297363, 0.07385962456464767, 0.6000214219093323, -0.15679655969142914, 0.19650259613990784, 0.0875091627240181, 0.467479407787323, -0.6791793704032898, -1.2966028451919556, 0.22803670167922974, 0.007126313634216785, -0.6788198947906494, -0.2595444321632385, 1.1199997663497925, -0.3629203736782074, -0.44405901432037354, 0.24001599848270416, 0.2815287709236145, -0.23403611779212952, -0.048336129635572433, -0.5256021618843079, -0.27469193935394287, -0.14218400418758392, -0.2241489589214325, -0.08743594586849213, 0.984857439994812, -0.1465674489736557, 0.6123136281967163, 0.49418577551841736, 0.11476903408765793, -0.003947846125811338, 0.18913662433624268, 0.6871312856674194, -0.7916809916496277, -0.6425299644470215, -0.8591325879096985, 0.0922776535153389, -0.3758469521999359, -0.08454762399196625, 0.5363152027130127, 0.5037842392921448, 0.6600208282470703, 0.27746254205703735, 0.7791768908500671, 0.16892403364181519, 0.6544435024261475, -0.36839041113853455, 0.75230473279953, -0.426839679479599, 0.3615906238555908, 0.07225866615772247, -0.6620172262191772, -0.70875483751297, 0.24866986274719238, -0.3478522300720215, 0.35801181197166443, 0.683621346950531, 0.39065098762512207, -0.041572850197553635, 0.7047147750854492, 0.014465246349573135, -0.12184811383485794, 0.13171574473381042, 0.56414395570755, 1.0095266103744507, -0.8087936043739319, 0.6637858152389526, -0.4390565752983093, -0.18436039984226227, -0.049182940274477005, -0.6699403524398804, -1.214630126953125, -0.5210403203964233, -0.0924893245100975, -0.4404924809932709, 0.1689438372850418, 0.6375560760498047, 0.7850976586341858, -0.7987828254699707, -0.03982636332511902, -0.2952300012111664, 0.7638651728630066, 0.2054082155227661, -0.24221357703208923, 0.3618956208229065, -0.568975567817688, -0.4927774667739868, -0.3149559199810028, 0.24150948226451874, 0.2751460373401642, 0.15935848653316498, 0.10683248192071915, -0.6075153350830078, -0.2079363614320755, 0.544401228427887, 0.44562408328056335, -0.4567241668701172, -0.04677349328994751, 0.037974778562784195, -0.40861353278160095, 0.01511839684098959, 0.9962705969810486, -0.9758552312850952, 0.33266183733940125, 0.6767574548721313, 1.1290738582611084, 0.28523775935173035, 0.2286209762096405, 0.4455634355545044, -0.8893508315086365, -0.022532964125275612, 0.5609070658683777, 0.11029183864593506, 0.46188992261886597, -0.5725250840187073, 0.4713776111602783, 0.13109736144542694, -0.49417921900749207, -0.511945366859436, -0.17713198065757751, -0.5930872559547424, -0.29071512818336487, 1.1380447149276733, 0.022925160825252533, -0.5388253927230835, -0.363015353679657, -0.36806467175483704, 0.5323278307914734, -0.26692280173301697, 0.41470903158187866, 0.6465186476707458, 0.1237189844250679, -0.4557259678840637, -0.17600208520889282, 0.6645167469978333, 0.11431843787431717, -0.6797360181808472, -0.18416708707809448, 0.358126163482666, 0.0443892702460289, 0.5269379615783691, 0.29097577929496765, -0.0883450135588646, 0.5464572310447693, -0.3675101399421692, -0.197942852973938, -0.4863986670970917, -0.7902424931526184, -0.4010065197944641, 0.28302356600761414, -0.39516469836235046, -0.6197569370269775 ]
http://arxiv.org/abs/2406.07444v1
http://arxiv.org/pdf/2406.07444v1
On the Robustness of Document-Level Relation Extraction Models to Entity Name Variations
2024-06-11T16:51:14
2024-06-11T16:51:14
Shiao Meng, Xuming Hu, Aiwei Liu, Fukun Ma, Yawen Yang, Shuang Li, Lijie Wen
cs.CL
cs.CL, 68T50, I.2.7
Driven by the demand for cross-sentence and large-scale relation extraction, document-level relation extraction (DocRE) has attracted increasing research interest. Despite the continuous improvement in performance, we find that existing DocRE models which initially perform well may make more mistakes when merely changing the entity names in the document, hindering the generalization to novel entity names. To this end, we systematically investigate the robustness of DocRE models to entity name variations in this work. We first propose a principled pipeline to generate entity-renamed documents by replacing the original entity names with names from Wikidata. By applying the pipeline to DocRED and Re-DocRED datasets, we construct two novel benchmarks named Env-DocRED and Env-Re-DocRED for robustness evaluation. Experimental results show that both three representative DocRE models and two in-context learned large language models consistently lack sufficient robustness to entity name variations, particularly on cross-sentence relation instances and documents with more entities. Finally, we propose an entity variation robust training method which not only improves the robustness of DocRE models but also enhances their understanding and reasoning capabilities. We further verify that the basic idea of this method can be effectively transferred to in-context learning for DocRE as well.
[ -0.2901627719402313, -0.7592880129814148, 0.5907217264175415, -0.38563287258148193, 0.0032560396939516068, -0.044442929327487946, -0.18277963995933533, -0.6444660425186157, -0.3130461275577545, 0.3712003827095032, -0.3710450530052185, -0.42119061946868896, -0.9325964450836182, 0.3439137041568756, -0.5809749960899353, 0.8544015288352966, -0.24396328628063202, 0.03696397319436073, -0.14386044442653656, -0.12356293201446533, -0.1895531862974167, -0.15240927040576935, -0.582135796546936, -0.09434311836957932, 0.5989717245101929, 0.24573281407356262, 0.35502615571022034, 0.5705369710922241, 0.5955735445022583, 0.20656771957874298, -0.09214067459106445, 0.23376333713531494, -0.5012274384498596, 0.4846806228160858, -0.31851598620414734, -0.4268991947174072, -0.33563876152038574, -0.17265284061431885, 0.6337751150131226, 0.6712623238563538, -0.2909502685070038, -0.02401583082973957, -0.06139947474002838, 0.2797453701496124, -0.7997114062309265, 0.2706668972969055, -1.0707440376281738, -0.31243830919265747, -0.17748847603797913, 0.039487119764089584, -0.370402991771698, 0.0997529849410057, 0.3148856461048126, -0.879195511341095, 0.6210583448410034, -0.019903190433979034, 1.5866321325302124, 0.15932300686836243, -0.3314531445503235, -0.37415823340415955, -0.9057952761650085, 0.5182166695594788, -0.7646599411964417, 0.8728136420249939, 0.3599475026130676, 0.36059990525245667, -0.15770640969276428, -1.157419204711914, -0.39475157856941223, -0.1800967901945114, 0.08512463420629501, -0.01735331118106842, 0.037296608090400696, -0.1529465764760971, 0.6218034625053406, 0.5282620191574097, -0.10702798515558243, 0.27076655626296997, -0.18555526435375214, -0.0607977956533432, 0.29603010416030884, 0.20207782089710236, 0.34984058141708374, -0.16045862436294556, -0.3512116074562073, -0.06736225634813309, -0.6470291614532471, 0.1915052980184555, 0.4797857701778412, 0.2436448484659195, 0.14308325946331024, 0.3859626352787018, -0.0790577083826065, 0.4459129273891449, 0.3805778920650482, -0.6317558884620667, 0.1561209112405777, -0.28755414485931396, -0.3732794225215912, -0.4211118221282959, 0.7627012729644775, 0.08298657089471817, 0.11794440448284149, -0.6628744006156921, -0.3383612334728241, -0.166602224111557, 0.37878772616386414, -0.9706063270568848, -0.15066319704055786, 0.2704619765281677, -0.39722323417663574, -0.4046918451786041, 0.22542181611061096, -0.7627843618392944, -0.1576070487499237, -0.15157157182693481, 0.048843782395124435, -0.8928945660591125, -0.46077394485473633, -0.17798513174057007, -0.3174409866333008, 0.3269301652908325, 0.5619089007377625, -1.0524883270263672, 0.3448880910873413, 0.8353311419487, 0.4331573247909546, -0.25337573885917664, -0.48786482214927673, -0.6880295276641846, 0.3905925154685974, -0.22134985029697418, 0.7925636172294617, -0.6708487868309021, -0.5946494936943054, -0.12457358837127686, 0.2127765268087387, -0.33001554012298584, -0.5709106922149658, 0.5527895092964172, -0.4418092370033264, 0.2455349862575531, -0.2146078497171402, -0.826983630657196, 0.3447810709476471, 0.3310824930667877, -0.8096737265586853, 0.8949659466743469, 0.508240282535553, -1.4547873735427856, 0.7362729907035828, -0.06542602181434631, -0.4421533942222595, -0.1251690834760666, -0.2722126245498657, -0.5205236673355103, 0.06476541608572006, 0.3321169316768646, 0.17464447021484375, -0.4354591965675354, 0.04026509448885918, -0.3516120910644531, -0.010092544369399548, 0.0887407585978508, -0.22241318225860596, 0.8343908786773682, 0.2068699449300766, -0.1897050142288208, -0.43433424830436707, -1.0129456520080566, -0.33022597432136536, 0.09350097924470901, -0.3800937533378601, -0.642360270023346, -0.17316462099552155, -0.07870863378047943, 0.11170375347137451, -0.12241076678037643, -0.4786449372768402, 0.06689846515655518, -0.4003075957298279, 0.4242858588695526, 0.4514875113964081, 0.40930137038230896, 0.7183236479759216, -0.12531422078609467, 0.6791975498199463, 0.19758296012878418, -0.043263934552669525, -0.3297903537750244, -0.28743013739585876, -0.5072939395904541, -0.5330576300621033, 0.8314607739448547, 0.4783293306827545, -0.7190062999725342, 0.17108632624149323, -0.5346193313598633, -0.4890415072441101, -0.26750311255455017, 0.20201750099658966, 0.13172532618045807, 1.076503038406372, 0.12965072691440582, -0.44131794571876526, -0.2872031033039093, -0.6899827718734741, -0.492851197719574, -0.282116562128067, -0.14461031556129456, 0.2927849590778351, 0.46203282475471497, -0.19954177737236023, 0.837587296962738, -0.269083708524704, 0.13156114518642426, 0.028792189434170723, 0.18658097088336945, -0.01809726655483246, 0.33420655131340027, 0.4058694839477539, -1.0013569593429565, -0.5461907386779785, -0.12251380831003189, -0.6028132438659668, 0.18257282674312592, -0.28990766406059265, -0.14997240900993347, 0.04710223153233528, 0.39718008041381836, -1.0675382614135742, 0.31829753518104553, -0.03997085988521576, -0.011223984882235527, 0.5280017852783203, -0.1484871357679367, -0.15248185396194458, -1.2759997844696045, 0.0008804575190879405, 0.14990819990634918, -0.3216402232646942, -0.4846689701080322, 0.3365333676338196, 0.3369237184524536, -0.10827869176864624, -0.3519904613494873, 0.35205841064453125, -0.8857080340385437, 0.019236519932746887, 0.20093345642089844, 0.15419569611549377, 0.2570239007472992, 0.036842696368694305, -0.023392681032419205, 0.3683237135410309, 0.7546231746673584, -0.4869103729724884, 0.21950474381446838, 0.37849026918411255, -0.21870368719100952, 0.9919024109840393, -0.42412084341049194, 0.1279958337545395, -0.17950722575187683, 0.2709810733795166, -0.548462450504303, -0.2638099491596222, 0.1802596151828766, -0.40740808844566345, 1.037506341934204, -0.4348160922527313, -0.35926979780197144, -0.05195734649896622, -0.13560087978839874, -0.18889810144901276, 0.19361963868141174, -0.4145471453666687, 0.9417166113853455, 0.3504181504249573, -0.18787427246570587, -0.8099164366722107, -0.5387297868728638, 0.19427865743637085, -0.46809759736061096, -0.6550969481468201, 0.4492858350276947, 0.07405682653188705, -0.30799946188926697, 0.11502440273761749, -0.5189886689186096, -0.3461243510246277, 0.15967321395874023, 0.34947469830513, 0.25428512692451477, -0.039042845368385315, 0.09709057956933975, 0.019928621128201485, -0.11185986548662186, 0.07480023056268692, -0.07454104721546173, 0.18095608055591583, 0.19143208861351013, 0.0006822664872743189, 0.0629977211356163, 0.5064957141876221, 0.6071839332580566, -0.45571368932724, 0.8174283504486084, 0.4775795638561249, -0.6793222427368164, -0.2991185486316681, -0.36219170689582825, -0.003237358992919326, -0.3433687090873718, 0.4022674858570099, -0.9673327803611755, -0.5207479000091553, 0.6140939593315125, -0.2676101624965668, 0.2030283659696579, 0.6315658688545227, 0.32887622714042664, -0.1027107685804367, 0.38011428713798523, 0.7329973578453064, 0.09600942581892014, 0.4410898983478546, -0.33183345198631287, 0.21271035075187683, -0.90327388048172, -0.27431729435920715, -0.8561739325523376, 0.33284178376197815, -0.7169699668884277, -0.10038138180971146, -0.35392847657203674, 0.24925415217876434, -0.04180353134870529, 0.7322078943252563, -0.19950361549854279, 0.18955354392528534, 0.12193391472101212, -0.1415422260761261, 0.3953601121902466, 0.2807758152484894, -0.2524290382862091, -0.2760908305644989, -0.41944044828414917, -0.44047582149505615, 1.0529749393463135, 0.41639068722724915, 0.9223096966743469, -0.053513556718826294, 1.053961992263794, -0.02722259983420372, 0.34345635771751404, -0.5519012808799744, 0.04032353311777115, 0.03609877824783325, -0.477230966091156, -0.42645585536956787, -0.6435928344726562, -1.1022545099258423, 0.0670570358633995, -0.21345248818397522, -0.9735391736030579, 0.7226706743240356, -0.30159515142440796, 0.18512976169586182, 0.38673079013824463, -0.5634438991546631, 0.7179110646247864, -0.040757399052381516, -0.23730425536632538, 0.22654074430465698, -0.6636310815811157, 0.1066119447350502, -0.45668765902519226, 0.2017938494682312, 0.11503072082996368, -0.2684771716594696, 0.31189191341400146, -0.6445708870887756, 0.35567691922187805, 0.07587159425020218, -0.493265837430954, -0.08446910977363586, 0.18491533398628235, 0.7385599613189697, 0.3780578374862671, -0.2514832019805908, 0.13013845682144165, -0.10187272727489471, -0.23633429408073425, -0.6279134154319763, 0.8408592939376831, -0.5566803216934204, -0.610848069190979, -0.11092878878116608, -0.486988365650177, -0.450872004032135, 0.4903809726238251, 0.803551197052002, 0.5496640801429749, -0.4050270915031433, 0.0962250605225563, 0.8440385460853577, -0.025071172043681145, 0.3126109540462494, 0.48179399967193604, 0.06481271982192993, -0.42535102367401123, 0.6295870542526245, 0.3953973352909088, 0.3124353289604187, 0.5971125960350037, -0.3540569245815277, -0.23121656477451324, -0.5232706069946289, -0.5456745028495789, 0.13622339069843292, -0.859950065612793, -0.021067962050437927, -0.9531475305557251, -0.106835275888443, -0.4365684688091278, 0.13759277760982513, -0.37485477328300476, -0.5321641564369202, -0.25326600670814514, -0.22007893025875092, -0.1811974048614502, 0.37417837977409363, 0.2613530158996582, -0.3723323345184326, -0.6882227659225464, 0.5002111792564392, 0.38009798526763916, 0.20653358101844788, -0.21487869322299957, -0.5557668209075928, 0.017358457669615746, -0.22024020552635193, -0.21748608350753784, -1.2075341939926147, 0.053907159715890884, 0.31267204880714417, 0.699221670627594, 0.4098910987377167, 0.1510324627161026, 0.3308933973312378, -0.3922001123428345, 0.6061360239982605, 0.13644009828567505, -0.6123340129852295, 0.5013062953948975, -0.436928391456604, -0.045148301869630814, 0.5672202110290527, 0.41020357608795166, -0.07684576511383057, -0.7217904925346375, -1.1001272201538086, -0.9282732605934143, 0.39801454544067383, 0.35804322361946106, 0.17550329864025116, 0.08715996146202087, 0.46204936504364014, 0.4380691945552826, 0.05578857660293579, -0.4384888708591461, -0.23535165190696716, -0.21205595135688782, -0.015288128517568111, 0.19518941640853882, -0.1561889946460724, -0.09176388382911682, 0.030364012345671654, 0.6244717240333557, 0.08141562342643738, -0.050639305263757706, 0.3521585166454315, -0.27137836813926697, -0.1582162231206894, 0.39819902181625366, 0.004655357450246811, 0.9881401658058167, -0.25763416290283203, 0.06547009944915771, 0.21327443420886993, -0.4428503215312958, 0.0156671442091465, 0.6588954925537109, -0.4606470763683319, 0.35108551383018494, 0.41115137934684753, 0.6916171312332153, 0.2280389368534088, -0.2909529507160187, 0.517912745475769, -0.4999595582485199, -0.13026411831378937, -0.11943364143371582, 0.09897163510322571, 0.3210802972316742, 0.09760283678770065, 0.2884174585342407, 0.09590256959199905, 0.09219183027744293, -0.48519644141197205, 0.12034523487091064, 0.24086613953113556, -0.2183212786912918, 0.004865813534706831, 0.8161348700523376, -0.12098516523838043, -0.3790057897567749, 0.6178562045097351, 0.10761259496212006, -0.06132873147726059, 0.6416003108024597, 0.5592899322509766, 0.7569812536239624, -0.1857496052980423, 0.18421179056167603, 0.4153919219970703, 0.3530903458595276, -0.030030466616153717, -0.15497277677059174, -0.2016809731721878, -0.6428610682487488, -0.05982721969485283, -0.3624575734138489, -0.4824909269809723, 0.1390247792005539, -0.9155336618423462, 0.2997487783432007, -0.27086880803108215, -0.3592891991138458, 0.281898558139801, -0.037879690527915955, -0.7671282291412354, 0.31794971227645874, 0.026999181136488914, 1.1553616523742676, -0.4436405301094055, 1.1238596439361572, 0.8756327629089355, -0.6756255626678467, -1.1697481870651245, 0.3934426009654999, -0.4429208040237427, -0.025314070284366608, 0.3578900098800659, 0.07129490375518799, 0.09044346958398819, -0.1990358680486679, -0.2864161729812622, -0.7358792424201965, 1.2926671504974365, 0.681969940662384, -0.7641745805740356, -0.43328210711479187, -0.009636685252189636, 0.5642887353897095, -0.4900707006454468, 0.12919168174266815, 0.3260265290737152, 0.2855885326862335, -0.052933219820261, -0.7225794196128845, 0.08604097366333008, -0.2954922616481781, 0.27519097924232483, 0.16113249957561493, -0.4757821559906006, 0.7812513709068298, -0.19123177230358124, -0.4477561116218567, 0.04833028465509415, 0.6082779765129089, 0.08197677880525589, 0.20426064729690552, 0.7056592702865601, 0.7648866772651672, 1.1417808532714844, -0.0875358134508133, 1.3100996017456055, -0.20078931748867035, 0.5196935534477234, 1.3980566263198853, -0.35422399640083313, 0.6808370351791382, 0.5302197337150574, -0.09274190664291382, 0.7197315096855164, 0.663221538066864, -0.15421539545059204, 0.5368930101394653, -0.1663288176059723, 0.01763625629246235, -0.18625660240650177, 0.20128637552261353, -0.4913783371448517, 0.20329663157463074, 0.2449752688407898, -0.5713351964950562, -0.13650749623775482, -0.4503462612628937, 0.1671941876411438, -0.2089388072490692, 0.11235666275024414, 0.6344650387763977, 0.2646051347255707, -0.6861686110496521, 0.3903674781322479, 0.056074004620313644, 0.34319981932640076, -0.594492495059967, 0.10676439106464386, -0.36054661870002747, 0.07812508195638657, -0.2264229953289032, -0.29037922620773315, -0.013499448075890541, 0.08626778423786163, -0.37597718834877014, 0.15533922612667084, 1.1330186128616333, -0.3303014934062958, -0.45535150170326233, 0.40142956376075745, 0.657879650592804, -0.13953694701194763, 0.13964855670928955, -0.6272006630897522, -0.3028045892715454, -0.2109561413526535, -0.3720552325248718, 0.4535194933414459, 0.7773399949073792, -0.08019857108592987, 0.5077314972877502, 0.5029613971710205, 0.17038318514823914, 0.018647197633981705, 0.13487571477890015, 0.8328678607940674, -0.23924176394939423, -0.39730241894721985, -0.506486713886261, 0.4392176568508148, -0.4416947364807129, -0.29743078351020813, 0.7417563796043396, 0.39729857444763184, 0.8471253514289856, -0.050009846687316895, 0.7345433831214905, -0.2479599118232727, 0.40208110213279724, -0.29937925934791565, 0.5239505767822266, -0.4780372381210327, 0.44427254796028137, -0.6193058490753174, -1.132982611656189, -0.010945851914584637, 0.14686043560504913, -0.14805498719215393, 0.030791955068707466, 0.9157455563545227, 0.6951634287834167, -0.34134283661842346, -0.12956489622592926, 0.32126933336257935, 0.13089103996753693, 0.3981582522392273, 0.43209537863731384, 0.7330110669136047, -0.5726529955863953, 0.7991049885749817, -0.25141528248786926, -0.009129746817052364, 0.21131068468093872, -0.8680012226104736, -0.7198199033737183, -0.591866135597229, -0.5025233030319214, -0.5542841553688049, 0.18729905784130096, 0.2166808694601059, 0.7489259243011475, -0.5892448425292969, 0.4250454008579254, -0.11478205025196075, 0.1606442928314209, -0.1283956915140152, -0.23708239197731018, 0.41491249203681946, -0.31228727102279663, -0.8679693341255188, 0.3376525044441223, 0.10583145171403885, -0.032850172370672226, -0.0011806745314970613, -0.32922443747520447, -0.040881816297769547, 0.04001878947019577, -0.09344662725925446, 0.372159481048584, -0.6642534136772156, -0.13831312954425812, -0.10127393156290054, -0.48152604699134827, 0.1941763013601303, 0.8819632530212402, -0.3952498733997345, 0.5396856069564819, 0.5187718868255615, 0.6684661507606506, 0.7902072668075562, 0.03757382184267044, 0.6772229671478271, -0.5890282988548279, -0.06395874917507172, -0.20824860036373138, 0.7303985953330994, 0.7262004613876343, -0.5633564591407776, 0.7872145175933838, 0.3467435836791992, -0.35943934321403503, -0.799146831035614, 0.245741069316864, -0.8311301469802856, -0.20011071860790253, 1.1387308835983276, -0.6918969750404358, -0.02706574834883213, -0.1554228812456131, -0.01958349347114563, 0.463173508644104, -0.3181900978088379, 0.6808137893676758, 0.7572669982910156, 0.18057455122470856, -0.3771210014820099, -0.3834366500377655, 0.21726001799106598, 0.08676395565271378, -0.8052552342414856, -0.05545143038034439, 0.3620122969150543, 0.9230254292488098, 0.10020296275615692, 0.47307607531547546, -0.41196638345718384, 0.2680102288722992, 0.35263344645500183, -0.3042813837528229, -0.179087296128273, -0.15393556654453278, -0.09351417422294617, 0.32687827944755554, 0.28550148010253906, 0.16230446100234985 ]
http://arxiv.org/abs/2406.07440v2
http://arxiv.org/pdf/2406.07440v2
Textual Similarity as a Key Metric in Machine Translation Quality Estimation
2024-06-11T16:48:17
2024-07-01T09:30:34
Kun Sun, Rong Wang
cs.CL
cs.CL, cs.AI
Machine Translation (MT) Quality Estimation (QE) assesses translation reliability without reference texts. This study introduces "textual similarity" as a new metric for QE, using sentence transformers and cosine similarity to measure semantic closeness. Analyzing data from the MLQE-PE dataset, we found that textual similarity exhibits stronger correlations with human scores than traditional metrics (hter, model evaluation, sentence probability etc.). Employing GAMMs as a statistical tool, we demonstrated that textual similarity consistently outperforms other metrics across multiple language pairs in predicting human scores. We also found that "hter" actually failed to predict human scores in QE. Our findings highlight the effectiveness of textual similarity as a robust QE metric, recommending its integration with other metrics into QE frameworks and MT system training for improved accuracy and usability.
[ -0.23478232324123383, -0.44198060035705566, 0.7058300971984863, 0.10015249252319336, -0.40215417742729187, 0.024717098101973534, 0.05964323505759239, -0.30538424849510193, 0.17026937007904053, 0.5195959806442261, -0.4066087305545807, -0.8005721569061279, -0.5518662929534912, 0.24724842607975006, -0.6970743536949158, 0.8134569525718689, -0.10986285656690598, -0.11409682780504227, -0.5201775431632996, -0.4008205831050873, -0.5639931559562683, -0.592998206615448, -0.41194987297058105, -0.20985373854637146, 0.4995501935482025, -0.0031098260078579187, 1.1368142366409302, 0.6915727853775024, 1.0502010583877563, 0.34354934096336365, 0.2805836498737335, 0.07401016354560852, -0.3006012737751007, 0.2646697461605072, -0.29254841804504395, -0.6548829078674316, -0.5609499216079712, 0.1979639232158661, 0.5527694225311279, 0.582390546798706, 0.23401731252670288, 0.42816755175590515, 0.517605721950531, 0.8448382019996643, -0.41439783573150635, -0.12579452991485596, -0.48503464460372925, 0.22066518664360046, -0.17504921555519104, -0.40628939867019653, -0.3763836920261383, -0.6274718046188354, 0.2608110308647156, -0.7402468323707581, 0.29867663979530334, 0.34843090176582336, 1.335486888885498, 0.4222305417060852, -0.5337522625923157, -0.33754271268844604, -0.4289848208427429, 1.006773829460144, -0.6967834234237671, 0.4922146201133728, 0.5003158450126648, 0.31956803798675537, -0.11954358965158463, -0.5508349537849426, -0.5125347971916199, -0.29460182785987854, -0.23574630916118622, 0.20269359648227692, -0.11383108794689178, -0.27989479899406433, -0.07467922568321228, 0.4059847593307495, -0.8661431074142456, -0.24931740760803223, 0.022895529866218567, -0.2980862259864807, 0.3295653760433197, 0.3400031626224518, 0.5125872492790222, -0.37086790800094604, -0.6490445137023926, -0.24711522459983826, -0.39721259474754333, -0.009565469808876514, 0.19379021227359772, -0.1681481897830963, -0.06156099587678909, 0.5377185344696045, -0.06732723861932755, 0.31328001618385315, -0.2760114073753357, -0.2364353984594345, 0.46099337935447693, -0.6175960302352905, -0.3556678295135498, -0.39038780331611633, 1.3136003017425537, 0.7451730370521545, 0.22037117183208466, -0.5099232196807861, -0.13241735100746155, -0.042015139013528824, 0.28736481070518494, -0.5703174471855164, -0.14267703890800476, -0.18547897040843964, -0.7122212052345276, -0.20958352088928223, 0.6089464426040649, -0.5880752801895142, 0.018745308741927147, -0.29500752687454224, 0.48350846767425537, -0.6592965126037598, 0.14895379543304443, -0.29402780532836914, -0.347192645072937, 0.30294376611709595, -0.11371777951717377, -0.5537861585617065, 0.4107939302921295, 0.8610994219779968, 1.1309993267059326, -0.48900115489959717, -0.5877400636672974, -0.5817205905914307, -0.061464909464120865, -0.525093138217926, 0.7139739394187927, -0.24888058006763458, -0.42069438099861145, -0.36275985836982727, 0.027024677023291588, -0.16185928881168365, -0.679602861404419, 1.0553309917449951, -0.3193623721599579, 0.601678192615509, -0.14376169443130493, -0.6408931016921997, -0.3881687521934509, 0.2114901840686798, -0.7302869558334351, 1.3815484046936035, 0.3283911347389221, -0.766855001449585, 0.7074912190437317, -0.23493236303329468, -0.20314724743366241, -0.09841059893369675, 0.18924535810947418, -0.8741580843925476, 0.3028523325920105, -0.009553460404276848, 0.3883477747440338, -0.4265185594558716, 0.14845134317874908, -0.518858015537262, -0.5177651643753052, 0.5970110297203064, -0.6552004814147949, 0.5320557951927185, 0.16824854910373688, -0.01854904741048813, 0.16229811310768127, -0.43106964230537415, 0.4711955189704895, -0.24373774230480194, -0.19521167874336243, -0.7178741693496704, -0.0015704766847193241, 0.1544211208820343, 0.28242257237434387, 0.19006386399269104, -0.32298770546913147, -0.1507306545972824, -0.5842453241348267, 0.2238844484090805, 0.2621665298938751, 0.002431235508993268, 0.6306161284446716, -0.5622485280036926, 0.3415611684322357, -0.2805355489253998, 0.07752105593681335, 0.013644193299114704, -0.5937855243682861, -0.25752174854278564, -0.22076177597045898, 0.7419372200965881, 0.7603343725204468, -0.4722050726413727, 0.7073039412498474, -0.7594712972640991, -0.5834117531776428, -0.8335006237030029, 0.18444512784481049, 0.4438104033470154, 0.2520454525947571, 0.45267194509506226, -0.4273526668548584, -0.327055960893631, -0.8732038736343384, -0.7734818458557129, -0.240621417760849, -0.6531239151954651, -0.15939415991306305, 0.4948410391807556, 0.002329415176063776, 0.8595418930053711, -0.2551518380641937, -0.4330524802207947, 0.3860618472099304, 0.2862718105316162, 0.07527367770671844, 0.3045946955680847, 0.7156829237937927, -0.7037715911865234, -0.8741961121559143, 0.15216216444969177, -0.9849385023117065, -0.19364535808563232, 0.16341464221477509, -0.2539694011211395, 0.07732249051332474, 0.2822462320327759, -0.2773018777370453, 0.3019227981567383, 0.8372541666030884, -0.6018120646476746, 0.47855082154273987, -0.329915314912796, 0.8071542382240295, -1.3869647979736328, 0.028656071051955223, -0.07431728392839432, -0.17349670827388763, -0.31002190709114075, 0.11600098013877869, 0.19181019067764282, 0.05868607386946678, -0.40260326862335205, 0.5082353949546814, -0.12807565927505493, -0.20568667352199554, -0.22312836349010468, 0.4034576416015625, 0.392635315656662, 0.13682381808757782, -0.4513644278049469, 1.1148022413253784, 0.0921519547700882, -0.2933284342288971, 0.3786707818508148, 0.2611924409866333, -0.4579896330833435, 1.2045884132385254, -0.717967689037323, 0.11703594028949738, 0.27522867918014526, -0.19468285143375397, -0.8227848410606384, 0.1521785855293274, 0.013397235423326492, -0.8572925329208374, 0.029459940269589424, 0.1464560329914093, -0.5194947123527527, -0.1506631076335907, -0.4415605068206787, 0.4930485785007477, 0.5498456954956055, -0.05844168737530708, 0.2768104672431946, 0.05262923240661621, -0.31741687655448914, -0.30140119791030884, -0.683980405330658, 0.39434975385665894, -0.40798187255859375, -0.6111282110214233, 0.3937634229660034, 0.09348877519369125, -0.09088356047868729, 0.3406493067741394, -0.07159417122602463, -0.35868096351623535, 0.24285465478897095, 0.2814008593559265, 0.21370388567447662, -0.5867471098899841, 0.2240651696920395, 0.1352781504392624, -0.3777121603488922, 0.16602016985416412, -0.34983450174331665, 0.19098588824272156, 0.034387677907943726, -0.3522467613220215, -0.6745948791503906, 0.411051481962204, 0.672274649143219, -0.2078876793384552, 0.8290296196937561, 0.6300229430198669, -0.3352569043636322, 0.5159377455711365, -0.29865026473999023, -0.03313468396663666, -0.3680897355079651, 0.44574543833732605, -0.6332229971885681, -0.5747851133346558, 0.3206593692302704, 0.22661235928535461, -0.3217962086200714, 0.7267586588859558, 0.2701750695705414, -0.5842512249946594, 0.9317162036895752, 0.5156424045562744, -0.2238302230834961, 0.2189197689294815, 0.11949671059846878, -0.09229094535112381, -0.7097112536430359, -0.15615706145763397, -0.9518551230430603, -0.3063565492630005, -0.8216879963874817, -0.4918622672557831, 0.19483743607997894, 0.15303607285022736, -0.3127148747444153, 0.5286340117454529, -0.16921842098236084, 0.3994719386100769, 0.5559210181236267, -0.22163785994052887, 0.5012272596359253, 0.11321640014648438, -0.20874391496181488, -0.5209349989891052, -0.28103458881378174, -1.042565107345581, 0.8881951570510864, 0.27773481607437134, 0.2884608209133148, -0.06320533901453018, 0.5635517835617065, 0.47412291169166565, 0.24805358052253723, -0.6894662976264954, 0.30333462357521057, -0.36930492520332336, -0.27306118607521057, -0.48037388920783997, -0.7399256229400635, -0.9651666283607483, 0.3285265862941742, -0.5740740299224854, -0.3471654951572418, -0.26243865489959717, -0.2104659080505371, 0.09932856261730194, 0.15662796795368195, -0.5929756760597229, 0.9763369560241699, -0.027044076472520828, -0.031687501817941666, -0.10885456949472427, -0.46434348821640015, -0.1363188922405243, -0.25967922806739807, 0.2430744618177414, -0.4059349298477173, -0.38668277859687805, 0.9544479846954346, -0.38747403025627136, 0.2980957329273224, 0.32962489128112793, -0.041048333048820496, 0.17359143495559692, 0.19025471806526184, 0.2541821002960205, -0.23599275946617126, -0.3918493390083313, 0.32092946767807007, 0.4316277801990509, -0.8564780354499817, -0.836840033531189, 0.7976205945014954, -0.7536666989326477, -0.10020807385444641, -0.33944734930992126, -0.35341233015060425, -0.013453863561153412, 0.3448983132839203, 0.4490678906440735, 0.23947422206401825, -0.5862483382225037, 0.2803128659725189, 0.18849752843379974, -0.15133774280548096, 0.28023985028266907, 0.39595478773117065, 0.09129504859447479, -0.6401528120040894, 0.9557748436927795, 0.020849399268627167, 0.39057445526123047, 0.9213300943374634, 0.07508674263954163, -0.44979995489120483, -0.3520094156265259, -0.48133352398872375, 0.16119560599327087, -0.36118510365486145, -0.35357052087783813, -0.47293978929519653, -0.09710539877414703, 0.2135722041130066, -0.2728891670703888, -0.25564008951187134, -0.2580143213272095, -0.05143793299794197, -0.03438498079776764, 0.1684524118900299, 0.5536803603172302, 0.6541540026664734, 0.3450848162174225, -1.2665659189224243, 0.2866438925266266, 0.1177598088979721, 0.37426823377609253, -0.3992159068584442, -0.7768834233283997, -0.4744580090045929, 0.31018587946891785, -0.5653350949287415, -0.9400466084480286, 0.43473052978515625, 0.289009690284729, 0.36570218205451965, 0.04287761077284813, 0.07012014836072922, 0.4217582643032074, -0.5530204772949219, 0.813689112663269, 0.27879825234413147, -1.156099557876587, 0.2796582281589508, -0.11755648255348206, 0.2749902606010437, 0.7529946565628052, 0.2743675112724304, -0.506798505783081, -0.7972694635391235, -0.34561681747436523, -0.48951980471611023, -0.07812511175870895, 0.564320981502533, 0.12201399356126785, 0.03665157034993172, 0.31393930315971375, 0.2666536271572113, 0.16779741644859314, -0.441221684217453, -0.16977128386497498, -0.06352889537811279, -0.6236886382102966, -0.24691323935985565, -0.049936722964048386, 0.4590842127799988, 0.044570889323949814, 0.4613661468029022, 0.02065652422606945, 0.33800816535949707, 0.1163933128118515, -0.2244420200586319, -0.21770882606506348, 0.5615593194961548, 0.3890082836151123, 0.4467501640319824, -0.2429225891828537, 0.1821233183145523, 0.5336347818374634, -0.7327844500541687, 0.3643631637096405, -0.40280789136886597, -0.14414221048355103, 0.2507389783859253, 0.6782383918762207, 0.5084391832351685, 0.16335204243659973, -0.2569859027862549, 0.5060042142868042, 0.0575503446161747, -0.2519320547580719, 0.05191861838102341, -0.18353472650051117, -0.014210093766450882, -0.058949217200279236, 0.27669790387153625, 0.28238561749458313, 0.32632291316986084, -0.476012647151947, 0.3327881097793579, 0.23318766057491302, -1.171994924545288, -0.44901126623153687, 0.5986803770065308, 0.27160847187042236, -0.6048979759216309, 0.6247708201408386, -0.10725197196006775, -0.40188083052635193, 0.5341283679008484, 0.253612220287323, 0.8142533302307129, -0.316333532333374, 0.17005442082881927, 0.3142852783203125, 0.4589548408985138, -0.14087043702602386, 0.05649008974432945, 0.4960208833217621, -0.3111780881881714, -0.7673820853233337, -0.5643123388290405, -0.27203312516212463, -0.42559897899627686, -0.7292435169219971, 0.33940646052360535, 0.3142542839050293, -0.3996073305606842, -0.36495280265808105, 0.2764313220977783, -0.7536266446113586, 0.38778814673423767, -0.35651636123657227, 0.5786266922950745, -0.9463812708854675, 0.8906971216201782, 0.6529586315155029, -0.4113497734069824, -0.656460165977478, 0.14027604460716248, -0.1355566531419754, -0.36290043592453003, 0.3082263767719269, 0.021765656769275665, -0.16345509886741638, -0.04201076552271843, 0.2623874843120575, -0.453370600938797, 1.4162884950637817, 0.388052374124527, -0.3500503897666931, -0.054893478751182556, 0.3894430100917816, 0.7550830245018005, -0.26379603147506714, 0.4594564735889435, 0.470098614692688, 0.3417132794857025, -0.508516252040863, -1.2215967178344727, 0.16937170922756195, -0.039184387773275375, -0.010533912107348442, 0.8175912499427795, -0.35858678817749023, 0.31553390622138977, 0.023265132680535316, -0.3132615387439728, 0.3808485269546509, 0.6023311614990234, -0.29016774892807007, 0.652722954750061, 0.3226068317890167, 0.6437572240829468, 0.7904884219169617, -0.16275188326835632, 0.890704333782196, -0.06658788025379181, 0.708634614944458, 0.9399652481079102, -0.11695742607116699, 1.1666450500488281, 0.37360242009162903, -0.37610411643981934, 0.5125535726547241, 0.2826753258705139, -0.033853933215141296, 0.3166767358779907, -0.1748342365026474, 0.1341809630393982, 0.04125376045703888, 0.09855766594409943, -0.3850293457508087, 0.26493364572525024, 0.045453693717718124, -0.6723909974098206, 0.07235055416822433, -0.019901707768440247, -0.1311490833759308, 0.6410499215126038, 0.09072946757078171, 0.9493916630744934, 0.371754914522171, -0.40760481357574463, 0.5759564638137817, -0.11592907458543777, 0.3725382089614868, -0.22776639461517334, 0.10836620628833771, -0.13425618410110474, -0.11172619462013245, -0.11963667720556259, -0.9728900790214539, 0.7511469125747681, -0.18626585602760315, -0.5983635187149048, -0.0026767330709844828, 0.28757596015930176, -0.22668111324310303, -0.35446256399154663, 0.3796454966068268, 0.823958694934845, 0.19970782101154327, -0.38607558608055115, -0.6731765270233154, -0.2857391834259033, -0.264168918132782, 0.09980881214141846, 0.43236806988716125, 0.8891956806182861, -0.08422145992517471, 0.7516151666641235, 0.484535813331604, -0.13596904277801514, 0.042986199259757996, -0.274880975484848, 0.1980859637260437, -1.0715816020965576, -0.28942054510116577, -1.0440727472305298, 0.2193838506937027, -0.20481885969638824, -0.3273659348487854, 0.9571348428726196, 0.8129600882530212, 0.6643068194389343, -0.20185725390911102, 0.6334056258201599, 0.41386091709136963, 0.6577161550521851, -0.48450639843940735, 0.739743173122406, -0.4508727192878723, 0.08739029616117477, -0.4402061402797699, -1.3973042964935303, -0.29013726115226746, 0.40365782380104065, -0.3112228512763977, -0.23110699653625488, 1.3256776332855225, 0.6472700238227844, -0.31364691257476807, -0.24674038589000702, 0.7477922439575195, -0.06410019844770432, -0.01635371521115303, 0.5346531867980957, 0.7407305836677551, -0.9801713228225708, 0.9270225167274475, 0.24771694839000702, 0.007147899828851223, -0.17488552629947662, -0.781974196434021, -0.8270083665847778, -0.7222449779510498, -0.2484978437423706, -0.3244938254356384, 0.17169012129306793, 0.7484434247016907, 0.4548262655735016, -0.8180145621299744, -0.12255498021841049, 0.16880202293395996, 0.29944413900375366, -0.579125702381134, -0.26775768399238586, 0.521111249923706, -0.21883255243301392, -0.7148853540420532, -0.11934207379817963, 0.526268720626831, 0.11696308106184006, 0.1507580727338791, -0.21758784353733063, 0.21269464492797852, 0.072734534740448, 0.6375097632408142, -0.19149309396743774, -0.8067260980606079, -0.46086886525154114, 0.3245815336704254, -0.6821442246437073, 0.11822851747274399, 0.6597066521644592, -0.5126280784606934, 0.2530239224433899, 0.7752717733383179, 0.593809187412262, 0.08038914203643799, 0.09167255461215973, 0.764900267124176, -0.47144362330436707, -0.11578024178743362, 0.06366246193647385, 0.20001350343227386, 0.4125203788280487, 0.018746916204690933, 0.47708722949028015, 0.19096750020980835, -0.818609356880188, -0.4837908446788788, 0.22069492936134338, -1.0330089330673218, 0.1694474220275879, 0.7180119156837463, -0.467427521944046, -0.19826340675354004, -0.38955923914909363, -0.38075289130210876, 0.18401044607162476, -0.2812616527080536, 0.713602602481842, 0.8610162734985352, 0.48704794049263, -0.009869382716715336, -0.8568452000617981, 0.23035402595996857, 0.4291495978832245, -0.7889280915260315, -0.533846914768219, 0.06007364019751549, 0.37787356972694397, 0.1545839011669159, 0.24535709619522095, -0.13857214152812958, 0.26043736934661865, 0.032080113887786865, 0.004656351637095213, 0.29492175579071045, 0.15508949756622314, 0.11705059558153152, 0.3521236181259155, 0.2747068703174591, -0.327350914478302 ]
http://arxiv.org/abs/2406.07430v1
http://arxiv.org/pdf/2406.07430v1
Learning Domain-Invariant Features for Out-of-Context News Detection
2024-06-11T16:34:02
2024-06-11T16:34:02
Yimeng Gu, Mengqi Zhang, Ignacio Castro, Shu Wu, Gareth Tyson
cs.CL
cs.CL, cs.MM
Multimodal out-of-context news is a common type of misinformation on online media platforms. This involves posting a caption, alongside an invalid out-of-context news image. Reflecting its importance, researchers have developed models to detect such misinformation. However, a common limitation of these models is that they only consider the scenario where pre-labeled data is available for each domain, failing to address the out-of-context news detection on unlabeled domains (e.g., unverified news on new topics or agencies). In this work, we therefore focus on domain adaptive out-of-context news detection. In order to effectively adapt the detection model to unlabeled news topics or agencies, we propose ConDA-TTA (Contrastive Domain Adaptation with Test-Time Adaptation) which applies contrastive learning and maximum mean discrepancy (MMD) to learn the domain-invariant feature. In addition, it leverages target domain statistics during test-time to further assist domain adaptation. Experimental results show that our approach outperforms baselines in 5 out of 7 domain adaptation settings on two public datasets, by as much as 2.93% in F1 and 2.08% in accuracy.
[ -0.6202461123466492, -0.6170135736465454, 0.3871244490146637, 0.15662115812301636, -0.7613874673843384, 0.2815190553665161, -0.2690374553203583, -0.5141976475715637, 0.11445320397615433, 0.10078252851963043, -0.3412371873855591, -0.4101993441581726, -0.7417342066764832, -0.04953967407345772, -0.26396942138671875, 1.0944979190826416, -0.105652816593647, -0.0657985731959343, -0.16887950897216797, -0.5614533424377441, -0.7407565116882324, -0.4145054519176483, -0.4539315104484558, 0.05043095350265503, -0.11152917891740799, 0.6140333414077759, 0.46746447682380676, -0.011565964668989182, 0.19757148623466492, 0.16938480734825134, 0.3732958436012268, 0.7618879675865173, -0.35337066650390625, -0.27053824067115784, -0.4072086811065674, -0.1476513296365738, -0.0368402935564518, -0.042223505675792694, 0.4964072108268738, 0.4444652497768402, 0.02872338518500328, 0.03579322621226311, 0.2124861180782318, 0.7201927900314331, -0.6690986752510071, 0.23872767388820648, -0.8225663304328918, -0.27444759011268616, -0.21324171125888824, -0.5401293635368347, -0.6127583384513855, -0.36620303988456726, 0.14955240488052368, -0.949562132358551, 0.2590008080005646, 0.10250898450613022, 0.8827763795852661, 0.19234974682331085, -0.6880658268928528, -0.47963470220565796, -0.4412677586078644, 0.7252991199493408, -0.4626466929912567, 0.5516132712364197, 0.18430344760417938, 0.3761247992515564, -0.5003776550292969, -0.4303954839706421, -0.74853515625, 0.20525667071342468, -0.16867487132549286, 0.2694132328033447, -0.46882161498069763, -0.48015233874320984, -0.19762152433395386, -0.10695528984069824, -0.6501821875572205, 0.18468980491161346, -0.23298048973083496, -0.025699779391288757, 0.2414221316576004, -0.43633997440338135, 0.11002660542726517, 0.035811927169561386, -0.7483760714530945, -0.0004258921544533223, -0.523596465587616, 0.06344377249479294, -0.014431045390665531, 0.42445021867752075, -0.5970823764801025, 0.03257889300584793, 0.05355996638536453, 0.5929785966873169, 0.48119449615478516, -0.028333870694041252, 0.491146445274353, -0.0713023990392685, -0.2537841200828552, 0.07816945016384125, 0.2679732143878937, 0.4994490146636963, 0.22495658695697784, -0.03971292823553085, -0.17611132562160492, 0.189489483833313, 0.1451900154352188, -0.6901025772094727, -0.08321209996938705, 0.04440855607390404, -0.5327224731445312, 0.14112752676010132, 0.23576153814792633, -1.1109668016433716, -0.6558539867401123, -0.19278275966644287, 0.8206995129585266, -0.30171382427215576, -0.24145947396755219, 0.3072863519191742, -0.21474497020244598, -0.1509968787431717, 0.5169297456741333, -0.47675907611846924, 0.05094197392463684, 0.06669721007347107, 0.6790164113044739, -0.4520757496356964, -0.23859120905399323, -0.7968341112136841, 0.018835755065083504, -0.16338877379894257, 0.9382498860359192, -0.500079333782196, -0.15381166338920593, 0.07246841490268707, 0.3103458881378174, -0.3369411826133728, -0.6949968934059143, 0.5416805148124695, -0.9432805180549622, 0.27697238326072693, -0.07745005190372467, -0.5497790575027466, -0.571707010269165, 0.0908716470003128, -0.6985867619514465, 0.7363401055335999, 0.6712870001792908, -0.7647345662117004, 0.7397312521934509, -0.8294916152954102, -0.43617701530456543, -0.1388734132051468, 0.0805211067199707, -0.817632794380188, 0.15572264790534973, 0.5823067426681519, 0.36534127593040466, -0.1651531457901001, 0.3586815297603607, -0.29186856746673584, -0.3356427252292633, 0.64808589220047, -0.37905803322792053, 0.6435313820838928, 0.24131566286087036, -0.3004878759384155, 0.13890385627746582, -0.8612692356109619, -0.37887048721313477, -0.03631601855158806, -0.2884750962257385, -0.5639921426773071, -0.14694860577583313, 0.07386275380849838, 0.2271396666765213, -0.23426905274391174, -0.49024778604507446, -0.04038569703698158, 0.006229414604604244, 0.28356149792671204, 0.5714845061302185, 0.364839643239975, 0.5119419097900391, -0.5055740475654602, 0.25056228041648865, 0.7726877331733704, 0.167891263961792, -0.09356994926929474, -0.44568613171577454, -0.5197802186012268, -0.45941975712776184, 0.5504115223884583, 0.16336853802204132, -1.2452188730239868, 0.4728400707244873, -0.1961773931980133, -0.03558606654405594, -0.1828889548778534, -0.013209231197834015, 0.29677051305770874, 0.6900715231895447, 0.6726832985877991, -0.5649007558822632, -0.6901164650917053, -0.2821553349494934, -0.2080719769001007, 0.25143134593963623, 0.2599288523197174, -0.01482863537967205, 0.6642357110977173, -0.2979818880558014, 0.980735719203949, -0.3189641237258911, -0.6867185235023499, 0.03997963294386864, 0.2559576630592346, 0.09582221508026123, 0.31891438364982605, 0.7706350088119507, -1.320294737815857, -0.5186214447021484, 0.05603976920247078, -0.5951740741729736, 0.006754286587238312, -0.3052253723144531, -0.021954521536827087, 0.5022358298301697, 0.3531915843486786, -0.5593570470809937, 0.3324480354785919, 0.6229662299156189, -0.3898858428001404, 0.1428842395544052, -0.2945614159107208, 0.3254547715187073, -1.0824434757232666, -0.2828699052333832, 0.36786559224128723, -0.3926791250705719, -0.618195116519928, -0.24139390885829926, 0.3286779224872589, -0.06250492483377457, -0.6842392683029175, 0.5545309782028198, -0.5646352767944336, -0.16291414201259613, -0.40109017491340637, 0.2977701425552368, 0.2645038366317749, 0.6065387725830078, 0.023766687139868736, 0.8686202764511108, 0.40899184346199036, -0.9132958054542542, 0.11427121609449387, 0.24004895985126495, -0.5019882321357727, 0.7548055648803711, 0.17575249075889587, 0.05659261718392372, -0.2145734578371048, 0.5031601190567017, -0.9300102591514587, -0.23783957958221436, 0.3802521228790283, -0.6500875949859619, 0.36152592301368713, -0.10824934393167496, -0.24184539914131165, 0.04931413754820824, -0.522942841053009, 0.5533435344696045, 0.19116666913032532, -1.116843581199646, 0.5615857839584351, 0.7010660767555237, 0.3294348418712616, -0.5245688557624817, -0.3712259829044342, -0.27809610962867737, -0.4242187738418579, -0.3436650335788727, 0.6272062063217163, -0.07397676259279251, 0.13552482426166534, 0.2436581701040268, -0.21205143630504608, -0.38939857482910156, -0.00035186580498702824, 0.10746754705905914, 0.10549956560134888, -0.30302882194519043, 0.2629176080226898, 0.10078626871109009, 0.12240184098482132, -0.2871968150138855, -0.18202520906925201, 0.35658925771713257, 0.16704151034355164, -0.06659749895334244, -0.5151442885398865, 0.3863973319530487, 0.7820696830749512, -0.3334239423274994, 0.49758878350257874, 0.503873884677887, -0.716140866279602, -0.4688100218772888, -0.12034004181623459, -0.09025467187166214, -0.39457646012306213, 0.31702372431755066, -0.16130958497524261, -0.6079114675521851, 0.402753621339798, -0.4333188831806183, -0.49370095133781433, 0.3343917727470398, 0.26168906688690186, -0.1037529781460762, 0.5610988140106201, 0.90675288438797, 0.03051639534533024, 0.4999937117099762, -0.21163123846054077, 0.14038695394992828, -0.5996057391166687, -0.15310169756412506, -0.208624467253685, -0.40751510858535767, -0.5211000442504883, -0.35972797870635986, 0.41128674149513245, 0.03139927238225937, -0.02846400998532772, 0.3057880401611328, -0.35557037591934204, 0.3424935042858124, 0.3842591941356659, 0.5110284090042114, 0.3201656639575958, -0.013570514507591724, 0.4843702018260956, -0.07373965531587601, -0.47441670298576355, 0.108768530189991, 1.0945109128952026, 0.27125638723373413, 0.7707204222679138, 0.2531869113445282, 0.09339217841625214, 0.8377201557159424, 0.5064345002174377, -0.5885493159294128, 0.048911046236753464, -0.7192646265029907, -0.4235006868839264, -0.09298679232597351, -0.1999262422323227, -0.7010326385498047, 0.16452555358409882, -0.3295632302761078, -0.28443875908851624, 0.9525391459465027, -0.0576670877635479, -0.4838656187057495, 0.20344306528568268, -0.9443885087966919, 0.8528095483779907, -0.05330144986510277, 0.2350822240114212, -0.08970773220062256, -0.4723169505596161, 0.3218134641647339, -0.611034095287323, 0.4241698384284973, -0.04580844193696976, 0.03411667421460152, 0.5567981600761414, 0.18654657900333405, 1.0964698791503906, -0.44353383779525757, 0.009711496531963348, 0.2569204270839691, -0.1964392513036728, 0.5045883059501648, 0.1922730654478073, 0.2794925570487976, 0.04999452829360962, -0.2996519207954407, -0.15854491293430328, -0.6060705184936523, 0.4713961184024811, -0.7817306518554688, -0.23183414340019226, -0.5095642805099487, -0.7264382839202881, -0.5036075711250305, 0.10500743240118027, 0.38085493445396423, 0.4600742757320404, -0.17399853467941284, 0.2692979574203491, 0.6378335952758789, -0.14721329510211945, 0.6985105872154236, 0.8804057240486145, -0.06119168549776077, -0.3586360216140747, 1.0308290719985962, 0.04064051806926727, 0.019681302830576897, 0.5955772399902344, -0.07255437225103378, -0.5562301278114319, -0.6718764305114746, -0.6350155472755432, 0.006773230154067278, -0.9661660194396973, -0.5744835734367371, -0.2717687785625458, -0.16006267070770264, -0.07197309285402298, -0.2485172301530838, -0.0812184140086174, -0.2715711295604706, -0.637382447719574, 0.15433722734451294, 0.33036157488822937, 0.17316539585590363, 0.13123612105846405, 0.5052903890609741, -0.6458609700202942, 0.6667327284812927, 0.16596467792987823, 0.08504854887723923, -0.5083776116371155, -1.11919367313385, -0.24915297329425812, 0.013883241452276707, -0.45816728472709656, -0.6637534499168396, 0.3850722908973694, 0.5573638677597046, 0.3325277864933014, 0.29843422770500183, 0.4341793358325958, 0.38289743661880493, -0.09274954348802567, 0.35940268635749817, 0.23527385294437408, -1.014502763748169, 0.3135926127433777, 0.02706158719956875, 0.04190309718251228, 0.3452032506465912, 0.6762180924415588, -0.3264465630054474, -0.2100025862455368, -0.2979956567287445, -0.19351403415203094, 0.6050215363502502, -0.27219119668006897, 0.13653287291526794, 0.17684417963027954, 0.20812907814979553, 0.6610168218612671, 0.15002813935279846, -0.7368617653846741, 0.025770114734768867, -0.36578214168548584, -0.24277490377426147, -0.02353580854833126, -0.17554734647274017, -0.20144973695278168, -0.050035130232572556, 0.5981446504592896, -0.5318732857704163, 0.12400035560131073, 0.013023843057453632, -0.6826453804969788, -0.19468873739242554, 0.39438551664352417, 0.8970188498497009, 1.0348190069198608, -0.33499985933303833, 0.26677271723747253, 0.11891339719295502, -0.4281046390533447, 0.3176279366016388, 0.44286593794822693, -0.11746930330991745, 0.2900064289569855, -0.05093328654766083, 0.5761833190917969, 0.29665407538414, -0.48205968737602234, 0.8694614768028259, -0.1131935715675354, -0.06166568771004677, -0.12353148311376572, -0.25934937596321106, -0.36961829662323, 0.5138189792633057, 0.5459422469139099, 0.6231948137283325, 0.03692667931318283, -0.6987636089324951, 0.5539150238037109, 0.27815309166908264, -0.3778662085533142, -0.40928447246551514, 0.7266699075698853, 0.35777875781059265, 0.19790107011795044, 0.12011826038360596, -0.34487584233283997, -0.38398477435112, 0.6225177049636841, 0.8004627823829651, 0.7734972238540649, -0.17602811753749847, 0.46385473012924194, -0.19584214687347412, 0.03899035230278969, 0.04634758085012436, 0.30773502588272095, 0.37760791182518005, -1.2186617851257324, -0.14378367364406586, -0.28419989347457886, -0.3467395305633545, 0.31910640001296997, -0.344009131193161, 0.44797366857528687, -0.3742161989212036, -0.229608952999115, 0.270402729511261, -0.1272876262664795, -0.4623064398765564, 0.6221691966056824, -0.030468937009572983, 0.8243526220321655, -1.012452244758606, 1.026048183441162, 0.6549330949783325, -0.3173147439956665, -0.09778404980897903, 0.33737581968307495, -0.013796740211546421, -0.7275648713111877, 0.4545031785964966, 0.25319528579711914, -0.16994629800319672, 0.05670565366744995, -0.23451168835163116, -0.5351587533950806, 0.985282301902771, 0.8176078796386719, -0.4156970977783203, 0.38999706506729126, -0.09326270967721939, 0.20317591726779938, -0.7904449701309204, -0.210904061794281, 0.3460922837257385, 0.39591923356056213, -0.162354975938797, -0.7749894261360168, 0.2485278844833374, 0.10977733880281448, -0.17263999581336975, 0.22878733277320862, -0.821761429309845, 0.9090765714645386, -0.1794283241033554, -0.3866328001022339, -0.3224658668041229, 0.7208857536315918, -0.07906132936477661, 0.7641072273254395, 0.6623879671096802, 0.26400214433670044, 0.7057943940162659, -0.11062878370285034, 0.6803996562957764, -0.056952908635139465, 0.3510272800922394, 1.0270007848739624, -0.2353937178850174, 0.5228924751281738, 0.3095712661743164, 0.21326413750648499, 0.4434678852558136, 0.7721074223518372, -0.03145245462656021, 1.157087802886963, -0.15350008010864258, -0.36817988753318787, 0.07034345716238022, -0.23118160665035248, -0.4239378571510315, 0.6149212121963501, 0.44635072350502014, -0.22456783056259155, -0.4265948534011841, 0.3491672873497009, -0.05457949638366699, 0.250988245010376, -0.4503226578235626, 0.32404962182044983, 0.09705379605293274, -0.4622650742530823, 0.6604588627815247, 0.15178903937339783, 0.795917809009552, -0.4047708511352539, -0.13662555813789368, -0.346880167722702, 0.5574488043785095, -0.29952818155288696, -0.7068864107131958, 0.23472483456134796, -0.1758255958557129, -0.49336525797843933, 0.12781672179698944, 0.7976812720298767, -0.5049133896827698, -0.11594642698764801, 0.5007907152175903, 0.6158300042152405, -0.2443671077489853, -0.28373444080352783, -0.43976664543151855, 0.1511070281267166, -0.17793279886245728, 0.08010172843933105, 0.4549611210823059, 0.7106993794441223, -0.5508663058280945, 0.359267920255661, 0.5781212449073792, -0.3152584135532379, 0.03775481879711151, 0.1681419461965561, 1.0826576948165894, -0.37543731927871704, -0.6517081260681152, -0.5163770318031311, 0.3185879588127136, 0.15682543814182281, -0.5843818783760071, 0.4337206184864044, 0.5630487203598022, 1.1715859174728394, -0.3118699789047241, 0.682488203048706, 0.2320849895477295, 0.4423833191394806, -0.8576187491416931, 0.627630889415741, -0.5982764959335327, 0.09240146726369858, 0.03616461157798767, -0.7194815278053284, -0.4805311858654022, -0.07931302487850189, 0.17682203650474548, -0.08934751898050308, 0.8974385261535645, 0.7069145441055298, -0.40330037474632263, -0.006173618603497744, 0.3992047607898712, -0.022039402276277542, 0.23644518852233887, 0.7980944514274597, 0.8661518096923828, -0.47334256768226624, 0.5492865443229675, -0.10723766684532166, -0.2744531035423279, -0.3297407627105713, -0.9794536232948303, -0.9097650647163391, -0.7592419385910034, -0.5357785224914551, -0.25001260638237, 0.19666007161140442, 0.6418195366859436, 0.8588646650314331, -1.1103355884552002, 0.11406436562538147, 0.3434056043624878, 0.19465556740760803, -0.529837429523468, -0.20649521052837372, 0.7485233545303345, -0.24996663630008698, -0.5542835593223572, 0.4617363214492798, 0.31247788667678833, 0.12371029704809189, 0.3724980652332306, -0.013872118666768074, -0.3369409143924713, 0.18526344001293182, 0.6026286482810974, 0.44277775287628174, -0.24395598471164703, -0.7038754224777222, -0.35872021317481995, 0.12888021767139435, 0.48954010009765625, 0.7893993854522705, -0.7113980650901794, 0.5188501477241516, 0.15827614068984985, 0.8198354244232178, 0.3004475235939026, 0.2175605595111847, 0.08933184295892715, -1.19329035282135, 0.3749449849128723, -0.14287976920604706, 0.3101913332939148, 0.4890298843383789, -0.47413039207458496, 0.2832348346710205, 0.6229501962661743, -0.2857258915901184, -0.5994275212287903, -0.020901747047901154, -1.0921690464019775, -0.5049030184745789, 0.8323885798454285, -0.11618712544441223, -0.07204827666282654, -0.5511025786399841, -0.1630619913339615, 0.3608558177947998, -0.6193619966506958, 1.0161899328231812, 0.4014880061149597, -0.12260982394218445, -0.2396049201488495, -0.4065448045730591, 0.6239175796508789, -0.20307791233062744, -1.0493899583816528, -0.0837930291891098, 0.3352052867412567, 0.32256364822387695, 0.1519095003604889, 0.609106719493866, -0.06198960915207863, 0.6850613951683044, -0.2768833041191101, -0.1871073842048645, -0.1459677666425705, -0.5439246296882629, -0.44002625346183777, 0.09784377366304398, -0.2651042342185974, -0.9052404165267944 ]
http://arxiv.org/abs/2406.07424v2
http://arxiv.org/pdf/2406.07424v2
MINERS: Multilingual Language Models as Semantic Retrievers
2024-06-11T16:26:18
2024-06-19T08:29:51
Genta Indra Winata, Ruochen Zhang, David Ifeoluwa Adelani
cs.CL
cs.CL
Words have been represented in a high-dimensional vector space that encodes their semantic similarities, enabling downstream applications such as retrieving synonyms, antonyms, and relevant contexts. However, despite recent advances in multilingual language models (LMs), the effectiveness of these models' representations in semantic retrieval contexts has not been comprehensively explored. To fill this gap, this paper introduces the MINERS, a benchmark designed to evaluate the ability of multilingual LMs in semantic retrieval tasks, including bitext mining and classification via retrieval-augmented contexts. We create a comprehensive framework to assess the robustness of LMs in retrieving samples across over 200 diverse languages, including extremely low-resource languages in challenging cross-lingual and code-switching settings. Our results demonstrate that by solely retrieving semantically similar embeddings yields performance competitive with state-of-the-art approaches, without requiring any fine-tuning.
[ -0.17782901227474213, -0.38647758960723877, 0.5223572850227356, -0.024322159588336945, -0.09603965282440186, 0.09043169021606445, -0.4911961555480957, -0.4821377694606781, 0.28204357624053955, 0.3212193250656128, -0.2915401756763458, -0.47947365045547485, -0.8025051355361938, 0.302521675825119, -0.704715371131897, 0.5013983249664307, -0.06878974288702011, -0.10296090692281723, -0.11578010022640228, -0.2790152132511139, -0.55158931016922, -0.6270020604133606, -0.13255275785923004, -0.3459186255931854, 0.7687271237373352, 0.051374200731515884, 0.8304218053817749, 0.7077482342720032, 0.13437478244304657, 0.3367440104484558, -0.1900220513343811, -0.04901852831244469, -0.29272961616516113, 0.18261493742465973, -0.4089241027832031, -0.4725080728530884, 0.2162199467420578, -0.11912353336811066, 0.7450758814811707, 0.7522453665733337, -0.2589506506919861, 0.09807371348142624, -0.040192730724811554, 0.0968593955039978, -1.0758529901504517, 0.01375925075262785, -1.1481916904449463, 0.05159326270222664, -0.5480577349662781, -0.024593444541096687, -0.6100003719329834, -0.13049107789993286, 0.04176662862300873, -0.1487971693277359, 0.17627887427806854, -0.07365518808364868, 0.76878422498703, -0.14751766622066498, -0.49415722489356995, -0.4006901979446411, -0.2471596896648407, 0.9447588324546814, -0.44105497002601624, 0.6975756883621216, 0.36676186323165894, 0.302977591753006, 0.17157699167728424, -0.9259547591209412, -0.3963189721107483, 0.02546011656522751, -0.22490324079990387, -0.1303509771823883, -0.06897372752428055, -0.40336814522743225, 0.08629880100488663, 0.33212730288505554, -0.28490450978279114, 0.1125703826546669, -0.12716518342494965, -0.44719502329826355, 0.2372806817293167, 0.08925958722829819, 0.43495866656303406, -0.47372332215309143, -0.4710957109928131, -0.22434863448143005, -0.6996765732765198, 0.13781142234802246, 0.27315816283226013, 0.8303037285804749, 0.1516115367412567, 0.5109692215919495, -0.05287427455186844, 0.7061283588409424, -0.6805931329727173, -0.010084444656968117, 0.5375577807426453, -0.24503827095031738, 0.17897701263427734, 0.1430589109659195, 0.5872861742973328, 0.3159150183200836, 0.009862584993243217, -0.7144088745117188, -0.4326997995376587, 0.29493603110313416, 0.14389702677726746, -0.7552087306976318, -0.03384082391858101, 0.19625970721244812, -0.4859229326248169, -0.03385448828339577, 0.020215624943375587, -0.7345833778381348, -0.36381635069847107, 0.11651912331581116, 0.5182642936706543, -0.48968401551246643, -0.7712206244468689, 0.09795042872428894, -0.5067504644393921, 0.2644287347793579, -0.39433151483535767, -0.9015464782714844, 0.2619379162788391, 0.7848835587501526, 0.896206259727478, -0.13971221446990967, -0.775526762008667, -0.9076129198074341, 0.045581746846437454, -0.3249340057373047, 0.8816103935241699, -0.8717576861381531, -0.3609817624092102, 0.44389668107032776, 0.23792700469493866, -0.37799087166786194, -0.797001838684082, 0.6186326742172241, -0.6554263830184937, -0.22466827929019928, -0.4797802269458771, -0.3815248906612396, -0.026333903893828392, 0.5416458249092102, -0.8494458198547363, 1.173188328742981, 0.040487732738256454, -0.8647434115409851, 0.45356541872024536, 0.013441160321235657, -0.26689431071281433, 0.13317492604255676, -0.17862901091575623, 0.08184454590082169, 0.2961682379245758, 0.0005344923702068627, 0.40287429094314575, -0.1866110861301422, 0.07504261285066605, -0.31120190024375916, -0.49306240677833557, 0.28631019592285156, -0.23986119031906128, 0.4514700174331665, 0.35451507568359375, -0.09651034325361252, -0.019263559952378273, -0.5976303219795227, 0.27837643027305603, 0.16775770485401154, -0.4538390338420868, -0.6919933557510376, 0.28226009011268616, 0.36394593119621277, 0.6188415884971619, 0.18152950704097748, -0.7561630010604858, -0.17590872943401337, -0.29666706919670105, 0.6460580229759216, 0.5907203555107117, -0.5290777087211609, 0.08480492979288101, -0.05331923067569733, 0.2724023461341858, 0.1575918197631836, -0.306807279586792, -0.4106103777885437, -0.028965706005692482, -0.39421892166137695, -0.16791221499443054, 0.4926459789276123, 0.48226314783096313, -0.8938372135162354, -0.11669409275054932, -0.5560145974159241, -0.4384370446205139, -0.8862591981887817, 0.31711429357528687, 0.49885642528533936, 0.09667044132947922, 0.3501870334148407, -0.48793062567710876, -0.3266485631465912, -0.8598098754882812, -0.8338653445243835, 0.13234645128250122, 0.24268490076065063, 0.451455682516098, 0.2780083119869232, -0.5707647800445557, 0.8622280359268188, -0.12106623500585556, 0.09065686166286469, -0.31868448853492737, -0.20949923992156982, 0.3176499605178833, 0.10774626582860947, 0.3122712969779968, -0.9113783240318298, -0.5341960191726685, 0.10805793106555939, -0.7038708925247192, 0.18252645432949066, 0.4642537832260132, -0.047349654138088226, 0.13548508286476135, 0.6389265656471252, -0.3830409348011017, 0.08311650902032852, 0.6362001299858093, -0.28100836277008057, 0.4313007891178131, -0.1894799768924713, 0.00584269966930151, -0.8999850749969482, 0.39767417311668396, -0.2224314659833908, -0.40185368061065674, -0.5339371562004089, 0.48995015025138855, 0.5417268872261047, -0.1999841332435608, -0.6875882148742676, 0.7730829119682312, -0.4873533844947815, -0.1282368302345276, -0.20572355389595032, 0.5974617600440979, -0.16678361594676971, 0.2719268500804901, 0.11638692766427994, 0.5572478175163269, 0.6753719449043274, -0.6651772260665894, 0.5042804479598999, 0.013897395692765713, -0.5527611374855042, 0.6067865490913391, -0.511951208114624, 0.06417671591043472, -0.27706044912338257, -0.3191082775592804, -0.6838973760604858, -0.07117529958486557, -0.4146582782268524, -0.2550531327724457, 0.30111947655677795, -0.40993937849998474, -0.8513741493225098, -0.2665092647075653, -0.2955421805381775, 0.34075474739074707, 0.2267409712076187, -0.8641237616539001, 0.5850844383239746, 0.5537741184234619, -0.09151224046945572, -0.8010755181312561, -0.6264737248420715, 0.16944141685962677, -0.27216818928718567, -0.42115354537963867, 0.42523857951164246, 0.19902530312538147, -0.19999921321868896, 0.20969904959201813, -0.023312071338295937, 0.06406425684690475, 0.19338393211364746, -0.160858616232872, -0.11022964119911194, 0.10608811676502228, 0.30928683280944824, -0.14715610444545746, -0.30447497963905334, -0.04263460263609886, -0.16018594801425934, 0.8894991874694824, -0.18454480171203613, -0.26612651348114014, 0.36483222246170044, 0.4466422498226166, 0.21881631016731262, -0.6137168407440186, 0.822393536567688, 0.8045907020568848, -0.5156137943267822, 0.042256541550159454, -0.5309895873069763, 0.028709284961223602, -0.42769062519073486, 0.5610074996948242, -0.8201839923858643, -0.9204987287521362, 0.7518448829650879, -0.1740361899137497, -0.02654491737484932, 0.6036654710769653, 0.6633996963500977, 0.5190494656562805, 1.0033432245254517, 0.6218637824058533, -0.2958774268627167, 0.30549558997154236, -0.030916040763258934, 0.05802277475595474, -0.8142219185829163, -0.2951253354549408, -0.7864341735839844, 0.025455569848418236, -0.932260274887085, -0.1554405391216278, 0.11274978518486023, 0.13790054619312286, -0.02372468262910843, 0.6994516849517822, -0.22952668368816376, 0.5465161204338074, 0.5711718201637268, -0.17603234946727753, 0.12014692276716232, 0.06667835265398026, -0.634512186050415, -0.08768024295568466, -0.746095597743988, -0.4285144507884979, 0.7448046803474426, 0.14956526458263397, 0.6175268292427063, 0.3996785581111908, 0.757533073425293, 0.07176083326339722, 0.01240649726241827, -0.5305012464523315, 0.25904878973960876, -0.3430962562561035, -0.8397762179374695, 0.21065083146095276, -0.3849617540836334, -1.2619664669036865, 0.850741446018219, -0.17716552317142487, -0.9602890610694885, 0.10269884020090103, -0.2205340564250946, -0.030861495062708855, 0.461417019367218, -0.8136922121047974, 1.2600958347320557, -0.10406497120857239, -0.5670939087867737, -0.36593082547187805, -0.5661365389823914, -0.0403900183737278, -0.0036015750374644995, 0.6524738073348999, -0.2565641403198242, -0.0698927566409111, 0.30249300599098206, -0.31334930658340454, 0.5326188802719116, -0.16415147483348846, -0.0399964265525341, 0.27302488684654236, 0.3211421072483063, 0.3629395663738251, -0.23128442466259003, -0.3899424076080322, 0.1429000049829483, 0.5882129073143005, -0.598315954208374, -0.09272641688585281, 1.1850547790527344, -0.5543836355209351, -0.1403522789478302, -0.4852164089679718, -0.27683526277542114, -0.03761083632707596, 0.5042275190353394, 0.2058752328157425, 0.7158158421516418, -0.17315101623535156, 0.10812275111675262, 0.3058196008205414, -0.28877514600753784, 0.6303801536560059, 0.30524587631225586, -0.30935943126678467, -0.17482990026474, 1.2981337308883667, 0.08758994936943054, 0.09889962524175644, 0.4245426058769226, 0.14113149046897888, -0.6320416927337646, -0.24158291518688202, -0.637829601764679, 0.16068775951862335, -0.878543496131897, -0.13037662208080292, -0.7821149826049805, -0.009399485774338245, -0.3303394615650177, 0.1769428849220276, -0.4705919623374939, 0.019533077254891396, 0.14828161895275116, 0.1037183478474617, 0.20259539783000946, 0.5872355699539185, 0.010192076675593853, 0.05483412370085716, -1.0860028266906738, 0.10035040974617004, 0.20345519483089447, 0.9201615452766418, 0.029115060344338417, -0.18215547502040863, -0.4959234297275543, -0.22417457401752472, -0.022376786917448044, -0.8926333785057068, 0.420912504196167, 0.1893496811389923, 0.9400015473365784, -0.05880600959062576, -0.11756540834903717, 0.5998117327690125, -0.7279836535453796, 0.711469292640686, 0.03814798220992088, -1.03916597366333, 0.3308616280555725, 0.05509176850318909, 0.17032833397388458, 0.5118012428283691, 0.3884654939174652, -1.0937790870666504, -0.014376983977854252, -0.43970581889152527, -1.0598540306091309, 0.7614911198616028, -0.11407063156366348, 0.3958132863044739, -0.642656683921814, 0.24171976745128632, 0.19806110858917236, 0.23340459167957306, -0.8122549057006836, -0.11122091114521027, -0.22777053713798523, -0.15793557465076447, -0.2724977135658264, -0.3960117697715759, 0.22883166372776031, 0.41704094409942627, 0.5178048014640808, -0.16481243073940277, 0.08905626088380814, -0.03248826786875725, -0.7855594158172607, 0.21270912885665894, 0.4923400580883026, -0.08674179017543793, 0.5415624976158142, -0.12481354922056198, 0.753144383430481, 0.2819248139858246, -0.23776192963123322, -0.2165621519088745, 0.3266591429710388, 0.14251096546649933, 0.12925302982330322, 0.2636559009552002, 0.6097606420516968, 0.4579143524169922, -1.14248788356781, 0.4510989487171173, -0.15268409252166748, 0.4205648899078369, -0.1434764266014099, -0.0864134132862091, 0.22629240155220032, 0.1881386935710907, 0.13865822553634644, -0.19892758131027222, 0.33846405148506165, -0.7466060519218445, 0.13206703960895538, 0.5407248735427856, -0.5778430104255676, -0.3297368586063385, 0.5077713131904602, 0.007877007126808167, -0.22884421050548553, 0.7413397431373596, -0.19617041945457458, -0.5351844429969788, 0.04675169661641121, 0.6247491836547852, 0.6196027398109436, -0.0787992849946022, -0.28729644417762756, 0.42475759983062744, 0.33156055212020874, -0.18177731335163116, 0.2240886241197586, -0.029018906876444817, -0.7967172265052795, -0.3653305172920227, -0.6400879621505737, -0.20689715445041656, -0.41261470317840576, -0.8613696098327637, 0.3673385679721832, 0.14095723628997803, -0.1736055463552475, -0.09193849563598633, 0.09127848595380783, -0.8770509362220764, -0.022678488865494728, 0.18427160382270813, 1.1252671480178833, -0.650390625, 0.8717823624610901, 0.7938573360443115, -0.2511105537414551, -0.37786513566970825, -0.37462106347084045, -0.1328647881746292, -0.8401237726211548, 0.1864626109600067, 0.478656530380249, -0.1508561372756958, -0.09975042194128036, -0.16474899649620056, -0.809827983379364, 0.9598218202590942, 0.2609904110431671, -0.369243860244751, 0.2798967957496643, 0.04671398922801018, 0.3351176679134369, -0.054851025342941284, 0.4438958168029785, 0.7126983404159546, 0.12968362867832184, -0.07981490343809128, -0.9871368408203125, -0.07358904182910919, -0.5322336554527283, 0.3313893675804138, 0.41723528504371643, -0.457594633102417, 0.9501946568489075, -0.04338805004954338, -0.34428077936172485, 0.04998345300555229, 0.38787317276000977, 0.26432114839553833, 0.0763293132185936, 0.5722455382347107, 0.6038066148757935, 0.7193673253059387, -0.2805815637111664, 1.4464569091796875, -0.6324682235717773, 0.42500823736190796, 0.7281819581985474, -0.39136311411857605, 1.2086443901062012, 0.43898439407348633, -0.16578732430934906, 0.6651927828788757, 0.6345449686050415, 0.3352574110031128, 0.6541289687156677, 0.16875293850898743, -0.21258404850959778, -0.5328673720359802, -0.27403169870376587, -0.4846932590007782, 0.3702760338783264, 0.37438586354255676, -0.1912168264389038, -0.4092714786529541, -0.1954038292169571, 0.061597950756549835, 0.3847825527191162, -0.3455861508846283, 0.6377851366996765, 0.010772649198770523, -0.7102641463279724, 0.41737979650497437, 0.5125174522399902, 1.0510066747665405, -0.6260923743247986, 0.24363137781620026, -0.1380254030227661, 0.525388777256012, -0.1243823915719986, -0.6483163237571716, 0.32057979702949524, 0.10068713873624802, -0.14887003600597382, -0.03374411538243294, 0.7934612035751343, -0.626864492893219, -0.39352577924728394, 0.7628881931304932, 0.543296217918396, 0.29750803112983704, -0.1738234907388687, -0.6251607537269592, 0.4909694492816925, -0.3865337073802948, 0.1682504415512085, 0.39853447675704956, 0.46068012714385986, -0.003016319125890732, 0.5271407961845398, 0.4028632938861847, -0.008484043180942535, 0.4106130301952362, 0.2126816362142563, 0.7672826051712036, -1.0206822156906128, -0.38273492455482483, -0.9713954329490662, 0.2586163878440857, 0.06722386181354523, -0.13593165576457977, 0.9096087217330933, 0.8484855890274048, 1.2510230541229248, 0.08008721470832825, 0.7352060675621033, -0.16193887591362, 0.870499312877655, -0.39193466305732727, 0.38419169187545776, -0.7352888584136963, 0.02169279009103775, -0.37887370586395264, -0.8091938495635986, -0.14780856668949127, 0.5978847146034241, -0.07028872519731522, 0.199804425239563, 0.44901740550994873, 0.6253501772880554, -0.30614209175109863, -0.20058229565620422, 0.32895269989967346, 0.02205500192940235, 0.3222315311431885, 0.6194294691085815, 0.9897105693817139, -0.5893455743789673, 0.6480348110198975, -0.2579060196876526, 0.06169227510690689, -0.05117982625961304, -0.8935115933418274, -0.6687988042831421, -0.45371320843696594, -0.06249630078673363, -0.5687543749809265, -0.08540574461221695, 1.0204395055770874, 0.5360509157180786, -0.6864363551139832, -0.48545634746551514, 0.43251949548721313, 0.26738303899765015, -0.3357633352279663, -0.09533872455358505, 0.3232356011867523, -0.6282732486724854, -0.9814165830612183, 0.3705604076385498, 0.12623386085033417, -0.4745837450027466, -0.21315352618694305, -0.21539205312728882, -0.36214765906333923, -0.24066278338432312, 0.8242951035499573, 0.0841318741440773, -0.7299764752388, -0.1951461285352707, 0.2907959222793579, -0.18545547127723694, -0.155595600605011, 0.7085052728652954, -0.9848418235778809, 0.8045806288719177, 0.36509090662002563, 0.6431216597557068, 0.5715889930725098, -0.5145341157913208, 0.13739293813705444, -0.8759545683860779, 0.23682734370231628, -0.14093878865242004, 0.7353214025497437, 0.6029900312423706, 0.3034107983112335, 0.31434687972068787, 0.22992479801177979, -0.23161762952804565, -0.9537094235420227, 0.18966704607009888, -0.48828214406967163, -0.3969343900680542, 1.068973183631897, -0.1356460005044937, -0.2249162495136261, 0.03022059239447117, 0.13678303360939026, -0.04837384447455406, 0.015618013218045235, 0.4480282962322235, 0.7228416800498962, 0.48010605573654175, -0.21424804627895355, -0.5814014673233032, 0.1624184250831604, 0.34644219279289246, -0.20898759365081787, 0.09730914235115051, 0.29039931297302246, 0.502992570400238, 0.3013160824775696, 0.4834580421447754, -0.5126568078994751, -0.024774672463536263, 0.13874012231826782, 0.17719370126724243, 0.24839238822460175, -0.21817784011363983, -0.3835981786251068, 0.2013222575187683, 0.45466703176498413, 0.039518337696790695 ]
http://arxiv.org/abs/2406.07411v1
http://arxiv.org/pdf/2406.07411v1
VersiCode: Towards Version-controllable Code Generation
2024-06-11T16:15:06
2024-06-11T16:15:06
Tongtong Wu, Weigang Wu, Xingyu Wang, Kang Xu, Suyu Ma, Bo Jiang, Ping Yang, Zhenchang Xing, Yuan-Fang Li, Gholamreza Haffari
cs.SE
cs.SE, cs.CL
Significant research has focused on improving the performance of large language model on code-related tasks due to their practical importance. Although performance is typically evaluated using public benchmark datasets, the existing datasets do not account for the concept of \emph{version}, which is crucial in professional software development. In this paper, we introduce VersiCode, the first comprehensive dataset designed to assess the ability of large language models to generate verifiable code for specific library versions. VersiCode encompasses 300 libraries across more than 2,000 versions spanning 9 years. We design two dedicated evaluation tasks: version-specific code completion (VSCC) and version-aware code editing (VACE). Comprehensive experiments are conducted to benchmark the performance of LLMs, revealing the challenging nature of these tasks and VersiCode, that even state-of-the-art LLMs struggle to generate version-correct code. This dataset, together with the proposed tasks, sheds light on LLMs' capabilities and limitations in handling version-specific code generation, and opens up an important new area of research for further investigation. The resources can be found at https://github.com/wutong8023/VersiCode.
[ -0.2713961601257324, -0.28256532549858093, 0.26851803064346313, 0.23494267463684082, -0.17816105484962463, 0.2878250181674957, -0.4796316921710968, -0.3873659372329712, 0.20036739110946655, 0.8886721730232239, -0.6221755743026733, -0.7556043863296509, -0.34415796399116516, 0.3495492935180664, -0.5755926966667175, 0.9581685662269592, -0.36276671290397644, -0.060108039528131485, -0.2830807566642761, -0.16199228167533875, -0.3859674632549286, -0.4792218804359436, -0.37606877088546753, -0.14687973260879517, 0.5111020803451538, 0.5011469125747681, 0.5208067297935486, 0.8516810536384583, 0.5645748376846313, 0.23087814450263977, -0.06281054764986038, 0.27346473932266235, -0.38918688893318176, 0.3726319372653961, -0.32071682810783386, -0.5514381527900696, -0.34960854053497314, -0.5268158912658691, 0.30819791555404663, -0.04837022349238396, -0.2759220004081726, 0.338272362947464, -0.05856841802597046, 0.7147659063339233, -0.5110334753990173, -0.09611669927835464, -0.6411963105201721, 0.19678904116153717, -0.564018726348877, -0.22667574882507324, -0.13655564188957214, -0.5503854155540466, -0.375586599111557, -0.2811366319656372, 0.11487861722707748, -0.2145780622959137, 0.7576045989990234, 0.3260735869407654, -0.12464245408773422, -0.4676743149757385, -0.7913196086883545, 0.5751926898956299, -0.7118902802467346, 0.3930457532405853, 0.19799061119556427, 0.38270097970962524, -0.1846199929714203, -1.0649148225784302, -0.3742341995239258, -0.3393378257751465, 0.35497424006462097, 0.03511353209614754, -0.13906806707382202, -0.36649981141090393, 0.3472130298614502, 0.6361014246940613, -0.5590882301330566, 0.2400559037923813, -0.6959266662597656, -0.07511167973279953, 0.3897325396537781, 0.2751583755016327, 0.11535240709781647, -0.30248337984085083, -0.18118606507778168, 0.01593964919447899, -1.1273691654205322, -0.05451282858848572, 0.43137794733047485, 0.14689311385154724, -0.06100355461239815, 0.6787073016166687, -0.24751566350460052, 0.5675289034843445, -0.3121868669986725, 0.19560542702674866, 0.3699747323989868, -0.4155457615852356, -0.26985275745391846, -0.2338017374277115, 0.6685407757759094, -0.05380963906645775, 0.36197611689567566, -0.05668660253286362, -0.31930437684059143, -0.014264129102230072, 0.8348221778869629, -0.6115387082099915, -0.05673833191394806, 0.4714323580265045, 0.052284613251686096, -0.6219501495361328, -0.20667164027690887, -0.4365142583847046, -0.508080780506134, -0.5856143236160278, 0.07385002076625824, -0.12754209339618683, -0.211504727602005, 0.027288982644677162, 0.19114741683006287, -0.01966615952551365, 0.2815025746822357, -0.5417006015777588, 0.40975090861320496, 1.020660638809204, 0.7126327157020569, -0.37100958824157715, -0.41362738609313965, -0.3812190890312195, 0.10736650973558426, -0.45963406562805176, 0.7251120209693909, -0.44329503178596497, -0.48856350779533386, 0.2125808745622635, 0.02956828474998474, 0.6058210730552673, -0.6601293087005615, 0.5252872705459595, -0.23983901739120483, -0.3106471002101898, -0.24349021911621094, -0.4204617440700531, 0.3477986752986908, 0.3534280061721802, -0.5780845284461975, 1.0242801904678345, 0.34683239459991455, -0.8287768959999084, 0.4923289120197296, -0.12659940123558044, -0.38150081038475037, 0.06409543007612228, -0.7105107307434082, -0.6798936128616333, 0.215890571475029, -0.08580105006694794, 0.16446013748645782, -0.5384513735771179, 0.2870457172393799, -0.1718454658985138, -0.13814808428287506, 0.23229098320007324, -0.1571124792098999, 0.5111204385757446, 0.48116472363471985, -0.20854291319847107, 0.07053670287132263, -0.48152032494544983, 0.1630011349916458, -0.03467319533228874, -0.33646827936172485, -0.1529579758644104, 0.15142770111560822, -0.1356843262910843, 0.06860029697418213, 0.4705061614513397, -0.37627118825912476, 0.3194277584552765, 0.092821404337883, 0.4074609875679016, 0.7037878632545471, -0.16819819808006287, 0.12954986095428467, -0.5661268830299377, 0.7147195339202881, -0.3044041693210602, 0.6985787749290466, -0.2168128341436386, -0.14948347210884094, -0.4917488992214203, -0.30215197801589966, 0.31065985560417175, 0.5284548401832581, -0.7465142011642456, 0.24015048146247864, -0.30875644087791443, -0.7845412492752075, -0.21912428736686707, 0.596610426902771, 0.5420670509338379, 0.06317421048879623, -0.0339185893535614, -0.5016874670982361, -0.6264714598655701, -0.8999826908111572, -0.1340227574110031, 0.05077342689037323, -0.029499396681785583, 0.15999360382556915, 0.4402906894683838, -0.1299072951078415, 0.7344434857368469, -0.21096861362457275, -0.3094308376312256, -0.10229729115962982, -0.21290980279445648, 0.35042446851730347, 0.4790724813938141, 0.4138551950454712, -0.6768575310707092, -0.2826598882675171, 0.400924414396286, -0.7646616101264954, -0.3858768343925476, 0.04103275388479233, 0.011522668413817883, 0.08518945425748825, 0.6260380744934082, 0.0026451153680682182, 0.1394146829843521, 0.7643531560897827, 0.0007543228566646576, 0.5801712870597839, -0.7289489507675171, 0.3504565954208374, -0.8982222080230713, 0.11507371068000793, 0.035934071987867355, -0.4348408579826355, -0.3435696065425873, 0.26068493723869324, 0.46916449069976807, -0.11651904881000519, -0.4800375998020172, 0.05716555938124657, -0.44735628366470337, -0.40502408146858215, -0.0025406861677765846, 0.010886477306485176, -0.18267957866191864, 0.2605866491794586, -0.06414138525724411, 0.7799595594406128, 0.6491934657096863, -0.3685949444770813, 0.2344316840171814, -0.06928309053182602, -0.5585692524909973, 0.6385182738304138, -0.8070666193962097, 0.1193460151553154, -0.017263639718294144, -0.13713230192661285, -0.6137862205505371, -0.21863813698291779, 0.15978752076625824, -0.3015018701553345, 0.39085879921913147, -0.29614850878715515, -0.6183774471282959, -0.5256553888320923, -0.3322116732597351, 0.019837280735373497, 0.5635544061660767, -0.37171074748039246, 0.3382638990879059, 0.4542054235935211, -0.4232022166252136, -0.4635339677333832, -0.913994550704956, 0.13561180233955383, -0.10175907611846924, -0.5451645255088806, 0.13851997256278992, -0.21576519310474396, -0.17273567616939545, -0.17936395108699799, -0.37602129578590393, -0.09922167658805847, 0.081691674888134, 0.39866751432418823, 0.07613582164049149, 0.09146688133478165, -0.09783729165792465, 0.40529048442840576, -0.1591631919145584, -0.08940178155899048, 0.017298175022006035, 0.40755361318588257, 0.09865536540746689, -0.5420077443122864, -0.05221947655081749, 0.02024824544787407, 0.5927788615226746, -0.6653617024421692, 0.17181378602981567, -0.06480544060468674, -0.1423434466123581, -0.7325341105461121, -0.3372868001461029, 0.40923213958740234, -0.4818173348903656, 0.2702791392803192, -0.35892021656036377, -1.0613148212432861, 0.6643681526184082, -0.09287534654140472, 0.3796418309211731, 0.02240113355219364, 0.5398420691490173, 0.41148024797439575, 0.4898431897163391, 0.43945035338401794, 0.056636516004800797, 0.6962605118751526, -0.1451975405216217, -0.1884801983833313, -0.5018550157546997, -0.1467975229024887, -1.0634022951126099, 0.2065867930650711, -0.6266994476318359, -0.5331107378005981, 0.33937716484069824, 0.0191945917904377, -0.2893970012664795, 0.7430804967880249, -0.7827420830726624, 0.6229835748672485, 0.11230535805225372, 0.1358754187822342, 0.4648606777191162, 0.12682850658893585, 0.2942749857902527, -0.1291910707950592, -0.44161686301231384, -0.5708912014961243, 1.3270381689071655, 0.32335561513900757, 0.6206539273262024, 0.15925464034080505, 0.9361693859100342, 0.7843341827392578, 0.5912100672721863, -0.09215875715017319, 0.2425093948841095, -0.48787423968315125, -0.6309522986412048, -0.02485775202512741, -0.5718918442726135, -0.7969768643379211, 0.043774522840976715, -0.049470312893390656, -0.6954229474067688, -0.0354793481528759, 0.05546906962990761, 0.07632268220186234, 0.0012422131840139627, -0.3728962540626526, 0.9670094847679138, -0.3268356919288635, -0.5275330543518066, -0.2907024621963501, -0.16947607696056366, 0.48194682598114014, -0.5964970588684082, 0.4082179665565491, 0.1051362082362175, -0.09269267320632935, 0.38820961117744446, -0.7098772525787354, 0.45710012316703796, 0.036394666880369186, -0.3242064118385315, 0.24812258780002594, 0.43678560853004456, 0.6851377487182617, 0.20817643404006958, -0.2523505985736847, 0.17800743877887726, 0.17188681662082672, -0.3026420474052429, -0.2856217920780182, 1.1358643770217896, -0.46363532543182373, -0.29725220799446106, -0.12893004715442657, -0.054399680346250534, 0.06111405789852142, 0.2767353951931, 0.21546433866024017, 0.6777833104133606, -0.16783758997917175, -0.006873165722936392, 0.7844178676605225, -0.32548725605010986, -0.032451897859573364, 0.58463454246521, -0.7914003729820251, -0.5593740344047546, 0.9216907024383545, 0.3488186001777649, 0.26562896370887756, 0.07048768550157547, -0.07908912748098373, 0.08485307544469833, -0.9127358794212341, -0.4843672215938568, 0.0022136580664664507, -0.5618605017662048, -0.2510473430156708, -0.2075044959783554, 0.013639162294566631, -0.12350891530513763, -0.3120673894882202, -0.6070076823234558, -0.03575989603996277, 0.11937485635280609, -0.052884455770254135, 0.4858766198158264, 1.0688135623931885, -0.27597740292549133, 0.07933388650417328, -0.5795612335205078, 0.372010737657547, 0.03327152505517006, 0.4215455949306488, -0.48005178570747375, -0.23987911641597748, -0.23720209300518036, -0.1152535155415535, -0.10599172860383987, -0.8155137896537781, 0.25094375014305115, -0.27644237875938416, 0.6072016358375549, -0.10631066560745239, 0.06882721185684204, 0.12628421187400818, -0.2556496560573578, 0.6922888159751892, 0.11164865642786026, -0.9657702445983887, 0.6244202852249146, -0.37635338306427, 0.1762864887714386, 0.7981885671615601, 0.028623688966035843, -0.39865973591804504, -0.8038560152053833, -0.6329713463783264, -0.913209855556488, 0.48398932814598083, 0.4832160174846649, 0.0703933909535408, 0.04233371838927269, 0.3522995114326477, 0.31182414293289185, 0.4518764615058899, -0.2538358271121979, -0.2696473002433777, 0.03587945178151131, -0.008636155165731907, 0.0866730660200119, 0.014979931525886059, 0.1278952658176422, 0.10019587725400925, 0.40312352776527405, 0.19540253281593323, -0.06405086815357208, 0.25049886107444763, 0.0978967696428299, -0.1286160796880722, 0.1417977660894394, 0.5732390284538269, 0.9413073062896729, -0.09200961142778397, 0.04803318530321121, 0.11567028611898422, -0.3431760370731354, -0.11951093375682831, -0.10895811766386032, -0.18495604395866394, 0.1071767508983612, 0.13927708566188812, 0.3532780408859253, -0.18967732787132263, -0.7698913216590881, 0.6040599942207336, -0.28704896569252014, -0.06773132085800171, -0.7147269248962402, 0.3815101683139801, -0.15098723769187927, 0.2666603922843933, 0.19561432301998138, 0.09754198789596558, -0.10420571267604828, -0.3288816809654236, 0.462696373462677, -0.15568026900291443, -0.49917763471603394, -0.12304778397083282, 0.6960949301719666, 0.03858277201652527, -0.45507121086120605, 0.30823400616645813, -0.13694505393505096, -0.18274986743927002, 1.0534238815307617, 0.026554135605692863, 0.8547343015670776, -0.10147795081138611, 0.21402215957641602, 0.375457763671875, 0.4016587436199188, -0.21831688284873962, 0.5768371820449829, -0.28610852360725403, -0.2579118311405182, -0.6385012865066528, -0.4530232846736908, -0.45380017161369324, -0.14275822043418884, -0.670444905757904, 0.3742467164993286, -0.7369977235794067, -0.19582772254943848, -0.16937530040740967, -0.07453310489654541, -0.6066855192184448, -0.09563758224248886, 0.09893862903118134, 1.1973990201950073, -0.7616332173347473, 0.9801703095436096, 0.49241167306900024, -0.41615375876426697, -0.5837351083755493, -0.40333858132362366, -0.09116622805595398, -0.4504215121269226, 0.1878499686717987, -0.2276698350906372, -0.006973851006478071, -0.2424904704093933, -0.7022210955619812, -0.4975336194038391, 0.9925996661186218, 0.35093557834625244, -0.890632688999176, 0.4772492051124573, 0.23109805583953857, 0.5986084938049316, -0.25630488991737366, 0.163923442363739, 0.5842655301094055, 0.601639449596405, -0.22817903757095337, -1.0567939281463623, -0.16734686493873596, -0.4127848446369171, 0.19033539295196533, 0.4578248858451843, -0.4747583866119385, 0.7217392325401306, 0.007602943107485771, -0.01852179504930973, 0.2721141576766968, 0.5530214309692383, 0.35526663064956665, 0.19269771873950958, 0.13841675221920013, 0.3931061029434204, 0.8811299800872803, -0.18194839358329773, 1.2582927942276, -0.4195800721645355, 0.41379114985466003, 1.2859066724777222, -0.4221145808696747, 0.6744107604026794, 0.4788283407688141, -0.28880685567855835, 0.08554358780384064, 0.3070688843727112, -0.07346739619970322, 0.406259149312973, 0.6964246034622192, -0.17640632390975952, -0.2262980043888092, -0.009249506518244743, -0.4469142258167267, -0.048175908625125885, 0.18023553490638733, -0.3942481577396393, -0.23737293481826782, -0.07682276517152786, 0.346266508102417, 0.4356686472892761, -0.30821770429611206, 0.5157887935638428, -0.08340304344892502, -0.4543437063694, 0.3668895661830902, -0.05253470316529274, 0.5464007258415222, -0.928393542766571, 0.15586714446544647, -0.5962099432945251, 0.3325737416744232, -0.2828773856163025, -1.0618363618850708, 0.5411403775215149, 0.4778776168823242, -0.012079075910151005, -0.1570107787847519, 0.43453681468963623, -0.11261773854494095, -0.36336320638656616, 0.19754791259765625, 0.33642998337745667, 0.17178231477737427, 0.21704474091529846, -0.5361710786819458, 0.6859704256057739, 0.4484494924545288, -0.2670924961566925, 0.3275719881057739, 0.7344595193862915, -0.06053754687309265, 0.7476246953010559, 0.43590253591537476, 0.4184858798980713, 0.22029578685760498, -0.061891019344329834, 0.8372117877006531, -0.479838490486145, -0.2593105435371399, -0.43087953329086304, 0.36154934763908386, -0.13307495415210724, -0.7976595759391785, 0.6329656839370728, 0.7522267699241638, 1.1808018684387207, -0.05193917080760002, 0.9752295613288879, -0.4835011661052704, 0.42088770866394043, -0.3865402340888977, 0.4331454634666443, -0.6019364595413208, 0.5574049353599548, -0.3184382915496826, -0.7773774266242981, -0.33500704169273376, 0.1520511507987976, -0.19678732752799988, -0.22613300383090973, 0.4190840721130371, 1.2791509628295898, 0.08074038475751877, -0.15428093075752258, 0.30116626620292664, 0.0457870177924633, 0.5448213815689087, 0.5192097425460815, 0.9406978487968445, -0.2941344380378723, 0.5557984113693237, -0.4433552324771881, -0.03334702178835869, 0.16279417276382446, -0.9129061102867126, -0.5477861762046814, -0.43016523122787476, -0.4226313531398773, -0.38813069462776184, 0.33848369121551514, 0.7117211818695068, 0.3177025020122528, -0.593591570854187, -0.40524086356163025, -0.4139518737792969, 0.1069723516702652, -0.19659064710140228, -0.034029241651296616, 0.08107196539640427, -0.26418185234069824, -0.6416940093040466, 0.19674061238765717, 0.1707489937543869, -0.20144301652908325, -0.48403802514076233, -0.3814300000667572, 0.4520774185657501, -0.10051974654197693, 0.045405905693769455, 0.5563437938690186, -0.15524937212467194, -0.015946192666888237, -0.20693013072013855, -0.47364678978919983, 0.09440293908119202, 1.106162667274475, -0.569194495677948, 0.4389870762825012, 0.6142535209655762, 0.37117141485214233, 0.7197265028953552, -0.3417253792285919, 0.4639618694782257, -0.4399362802505493, -0.128535196185112, -0.014140642248094082, 0.3035022020339966, 0.15091358125209808, -0.0591665543615818, 0.6751718521118164, -0.2632875442504883, -0.7247946262359619, -0.7726477384567261, 0.29296794533729553, -1.106563687324524, -0.340224027633667, 0.933293879032135, -0.1751914769411087, -0.4905574917793274, -0.10237584263086319, -0.41287025809288025, 0.10010359436273575, -0.34227555990219116, 0.46158552169799805, 0.2024737000465393, 0.3740038573741913, -0.00644490122795105, -0.7269517183303833, 0.35444533824920654, 0.08714372664690018, -0.882537841796875, 0.4443381428718567, 0.7467001676559448, 0.4889869689941406, -0.08904457837343216, 0.5334580540657043, -0.46532830595970154, 0.3938652276992798, 0.026425767689943314, 0.51764315366745, -0.4738832116127014, -0.39124131202697754, -0.31013160943984985, 0.2020326852798462, 0.48674485087394714, 0.2919493317604065 ]
http://arxiv.org/abs/2406.10269v1
http://arxiv.org/pdf/2406.10269v1
Markov Constraint as Large Language Model Surrogate
2024-06-11T16:09:53
2024-06-11T16:09:53
Alexandre Bonlarron, Jean-Charles Régin
cs.CL
cs.CL, cs.AI, cs.LG
This paper presents NgramMarkov, a variant of the Markov constraints. It is dedicated to text generation in constraint programming (CP). It involves a set of n-grams (i.e., sequence of n words) associated with probabilities given by a large language model (LLM). It limits the product of the probabilities of the n-gram of a sentence. The propagator of this constraint can be seen as an extension of the ElementaryMarkov constraint propagator, incorporating the LLM distribution instead of the maximum likelihood estimation of n-grams. It uses a gliding threshold, i.e., it rejects n-grams whose local probabilities are too low, to guarantee balanced solutions. It can also be combined with a "look-ahead" approach to remove n-grams that are very unlikely to lead to acceptable sentences for a fixed-length horizon. This idea is based on the MDDMarkovProcess constraint propagator, but without explicitly using an MDD (Multi-Valued Decision Diagram). The experimental results show that the generated text is valued in a similar way to the LLM perplexity function. Using this new constraint dramatically reduces the number of candidate sentences produced, improves computation times, and allows larger corpora or smaller n-grams to be used. A real-world problem has been solved for the first time using 4-grams instead of 5-grams.
[ -0.42862656712532043, -0.8614756464958191, 0.7133088111877441, -0.021666111424565315, -0.3299250304698944, -0.23573903739452362, -0.3024660646915436, -0.07330824434757233, 0.012892224825918674, 0.6615232229232788, -0.803033173084259, -0.7730979919433594, -0.7163738012313843, 0.28976210951805115, -0.1840740293264389, 1.3163000345230103, -0.11610294133424759, -0.18542499840259552, -0.15117153525352478, 0.17204518616199493, -0.34594643115997314, -0.609258770942688, 0.03780388459563255, -0.1915874481201172, 0.5135282874107361, 0.3988228738307953, 0.6571911573410034, 0.8616722822189331, 0.5241134762763977, 0.22733177244663239, -0.17609256505966187, 0.2856317162513733, -0.28448671102523804, 0.19341284036636353, 0.05269927531480789, -0.49801430106163025, -0.11896852403879166, -0.034806206822395325, 0.9687861800193787, 0.6091464757919312, -0.32622063159942627, 0.001099823391996324, -0.17890483140945435, 0.6150310635566711, -0.807926595211029, 0.151980459690094, -0.5565952658653259, 0.20184747874736786, -0.3332100808620453, -0.1965395212173462, -0.37142205238342285, -0.3689512014389038, -0.049681369215250015, -0.5885827541351318, -0.2327592670917511, 0.03821207582950592, 0.7274292707443237, 0.17749635875225067, -0.5691028237342834, -0.4756231904029846, -0.7282302975654602, 0.9892988801002502, -0.7205681800842285, -0.0013077679323032498, 0.27945244312286377, 0.16619238257408142, -0.5146639943122864, -0.2818275988101959, -0.6801893711090088, -0.25841987133026123, 0.24051421880722046, -0.054030999541282654, -0.2193802446126938, 0.05280023440718651, 0.33756935596466064, 0.23750872910022736, -0.5873680114746094, 0.1978558897972107, -0.530296802520752, -0.26606327295303345, 0.31963691115379333, 0.4397062063217163, 0.16859669983386993, -0.4458141028881073, -0.14828215539455414, 0.10538993775844574, -0.8906487226486206, -0.3711390197277069, 0.686782956123352, 0.22287960350513458, 0.17364245653152466, 0.896892786026001, -0.38113513588905334, 1.0994375944137573, -0.0020451326854526997, -0.5000184774398804, 0.2256355583667755, -0.19016362726688385, -0.17522016167640686, -0.0334467813372612, 0.6920415163040161, 0.4467271864414215, 0.21152633428573608, 0.3219624161720276, 0.03295852616429329, 0.3628435432910919, -0.014882156625390053, -0.8453229665756226, -0.12420191615819931, 0.08206132799386978, -0.2912488579750061, -0.3197239637374878, -0.16073641180992126, -0.8285805583000183, -0.2929646968841553, -0.08399476855993271, 0.3786231279373169, -0.5877010226249695, 0.08520431816577911, 0.29317793250083923, 0.19021201133728027, -0.030752506107091904, 0.0032025007531046867, -0.7920745611190796, 0.2681669294834137, 0.6810173988342285, 0.7358171343803406, -0.14646434783935547, -0.2536507546901703, -0.7528785467147827, 0.26344650983810425, -0.3326338231563568, 0.5968992114067078, -0.7860527634620667, -0.4837088882923126, 0.20397420227527618, -0.4625808000564575, 0.1535111963748932, -0.49881380796432495, 0.773565411567688, -0.2270929366350174, 0.46051841974258423, 0.07711632549762726, -0.7249168157577515, 0.046432144939899445, 0.36801841855049133, -0.275132417678833, 0.8101349472999573, 0.04093659296631813, -0.7408555746078491, 0.5697599649429321, -0.13365459442138672, -0.4873044490814209, 0.08122916519641876, -0.30771902203559875, -0.5858769416809082, 0.08809944987297058, 0.25450873374938965, 0.5640770196914673, -0.5014164447784424, 0.5743229985237122, -0.1575961858034134, -0.04793578386306763, 0.31444892287254333, -0.16943834722042084, 0.3250591456890106, 0.3992457687854767, 0.13104575872421265, 0.1146438717842102, -1.2613892555236816, 0.17369526624679565, -0.21414469182491302, -0.9218504428863525, -0.03818295896053314, 0.11409144848585129, -0.05677761882543564, 0.20322825014591217, 0.0065573942847549915, -0.5708470940589905, 0.3821849226951599, -0.24384544789791107, 0.5722854137420654, 0.5380972623825073, 0.42990854382514954, 0.29771125316619873, -0.24750956892967224, 0.7762784957885742, -0.011978911235928535, 0.11661840230226517, -0.3237130045890808, -0.6216591596603394, -0.5583335161209106, -0.42269089818000793, 0.11148162186145782, 0.47522854804992676, -0.8709238171577454, 0.5088768005371094, -0.09269586205482483, -0.36350634694099426, -0.17622320353984833, 0.01217050664126873, 0.6253123879432678, 0.38664543628692627, 0.10328670591115952, 0.010411428287625313, -0.7752901315689087, -1.194059133529663, -0.21780911087989807, -0.09251059591770172, 0.12442586570978165, -0.02382669225335121, 0.5209470987319946, -0.061525557190179825, 0.654716968536377, -0.9649458527565002, -0.4948796331882477, -0.3839055597782135, 0.25840476155281067, 0.4647098481655121, 0.7750416398048401, 0.2088633030653, -0.735319972038269, -0.39239081740379333, -0.11827237159013748, -0.23253805935382843, -0.3751890957355499, -0.11902227252721786, 0.19812417030334473, 0.5575364828109741, 0.5777558088302612, -0.9113569259643555, 0.3419981896877289, 0.9067262411117554, -0.1681424230337143, 0.8576942682266235, -0.5308459401130676, 0.026211608201265335, -1.1962515115737915, 0.015622122213244438, 0.18046686053276062, -0.08408229798078537, -0.8946048617362976, 0.17462405562400818, -0.11835744231939316, -0.26448455452919006, -0.25578853487968445, 0.049642208963632584, -0.6687936782836914, 0.11769157648086548, -0.19243839383125305, 0.26095640659332275, -0.2564239203929901, 0.3889467716217041, -0.11003986746072769, 0.6542494297027588, 0.5164093971252441, -0.7395802140235901, 0.10206975042819977, 0.389946311712265, -0.7988231778144836, 0.7215214967727661, -0.39098381996154785, -0.16512857377529144, -0.3030533492565155, 0.2695980966091156, -0.8021198511123657, -0.10725456476211548, 0.37670281529426575, -0.4635676443576813, 0.32756367325782776, -0.26580438017845154, -0.7155172824859619, -0.2191256582736969, -0.019667698070406914, 0.334146112203598, 0.6674318909645081, -0.1954822540283203, 0.22483377158641815, 0.46937012672424316, 0.03700600564479828, -0.43729162216186523, -0.9085060358047485, 0.3278653025627136, -0.327274352312088, -0.35608071088790894, 0.12630368769168854, -0.19521231949329376, -0.15918873250484467, -0.0011423787800595164, 0.006777001544833183, 0.046623580157756805, -0.2118268758058548, 0.16087235510349274, 0.20990823209285736, -0.007818634621798992, 0.16782693564891815, -0.04482070356607437, -0.3707400858402252, -0.17376808822155, -0.5730600357055664, 0.6439523100852966, 0.16270719468593597, -0.16932407021522522, -0.487217515707016, 0.570156991481781, 0.3004627227783203, -0.13721106946468353, 0.8756940364837646, 0.28948774933815, -0.2540104389190674, -0.2985796332359314, -0.4505208730697632, 0.15342490375041962, -0.4456064999103546, 0.6041616201400757, -0.6708230972290039, -1.1313259601593018, 0.20947006344795227, 0.08639180660247803, -0.4156096875667572, 0.5183984637260437, 0.7718494534492493, 0.4596034586429596, 1.1064547300338745, 0.6106117963790894, 0.013833337463438511, 0.2710046172142029, 0.08922060579061508, 0.2322125881910324, -1.089402675628662, -0.3424461781978607, -0.5937046408653259, -0.18130239844322205, -0.8398334980010986, -0.5492236018180847, 0.4021676182746887, 0.05316101014614105, -0.13049331307411194, 0.47449877858161926, -0.5425591468811035, 0.41512826085090637, 0.6539229154586792, -0.2138146609067917, 0.1869388222694397, -0.2563484013080597, -0.4369634985923767, -0.4157842695713043, -0.7307856678962708, -0.4975912570953369, 1.0551183223724365, -0.08111502230167389, 0.6198750734329224, 0.2947641611099243, 0.8375014662742615, -0.04325784742832184, 0.09095918387174606, -0.5087551474571228, 0.8319399952888489, -0.12631551921367645, -0.8454717397689819, -0.04512227326631546, -0.8408955335617065, -0.8751716613769531, 0.276894748210907, -0.4844808280467987, -1.2629399299621582, 0.03811682388186455, 0.16318154335021973, -0.12471586465835571, 0.3172265887260437, -0.45451223850250244, 0.6885842084884644, 0.2684487998485565, -0.20759674906730652, -0.2464039921760559, -0.4052034616470337, 0.5707486867904663, -0.046891503036022186, 0.1820182502269745, -0.2982390522956848, -0.2027827799320221, 0.5214430093765259, -0.44616734981536865, 0.7863102555274963, 0.0002555348619353026, -0.2813558280467987, 0.36758309602737427, 0.43707823753356934, 0.7007980346679688, -0.10916730016469955, -0.08347170799970627, -0.4588620960712433, -0.05304844677448273, -0.09916505962610245, -0.4698069393634796, 0.9107135534286499, -0.5010414123535156, -0.9913727045059204, -0.49921491742134094, -0.7014469504356384, -0.07075026631355286, 0.3890993893146515, 0.34902530908584595, 0.5695311427116394, -0.14355197548866272, 0.27693799138069153, 0.24640999734401703, -0.4208890199661255, 0.29492729902267456, 0.3146917223930359, -0.5762950778007507, -0.6864233016967773, 0.8090056777000427, 0.29344168305397034, 0.5743717551231384, 0.7041506767272949, 0.3759095370769501, 0.08576226979494095, -0.9987779259681702, -0.08858204632997513, 0.12475402653217316, -0.8755941987037659, -0.18717019259929657, -0.6026283502578735, -0.11678314208984375, -0.2109624296426773, -0.10166005045175552, -0.05204711854457855, -0.7536103129386902, -0.4620554447174072, 0.00866811815649271, 0.23002201318740845, 0.6388571858406067, -0.3163718581199646, 0.3155841827392578, -0.6939773559570312, 0.18098333477973938, 0.013358565047383308, 0.27410438656806946, -0.40832504630088806, -0.45599445700645447, -0.19477331638336182, -0.34999290108680725, -0.22844745218753815, -0.7172892689704895, 0.6048377752304077, 0.2481224238872528, 0.4008537530899048, 0.5493572950363159, 0.14611732959747314, 0.5540652871131897, -0.7419579029083252, 0.5979745984077454, 0.37786152958869934, -1.0281996726989746, 0.3555639684200287, -0.6929150223731995, 0.5953306555747986, 0.30987265706062317, 0.23010486364364624, -0.7008426189422607, -0.7068184018135071, -0.44807565212249756, -0.6476659774780273, 0.4135541617870331, 0.46751198172569275, 0.04807639867067337, -0.3365442454814911, 0.612076997756958, 0.1472923308610916, 0.5243026614189148, -0.5592319965362549, -0.19028130173683167, 0.23307037353515625, -0.20382389426231384, -0.5748896598815918, -0.6995795369148254, 0.004707802552729845, -0.01799299567937851, 0.7711068987846375, -0.12307902425527573, -0.10584329068660736, 0.3092246353626251, -0.015323230996727943, -0.01987137459218502, 0.4348020851612091, 1.1092461347579956, 0.6989431977272034, -0.16874922811985016, 0.35767287015914917, -0.06408074498176575, -0.41000640392303467, 0.15483835339546204, -0.17537342011928558, -0.3643362522125244, -0.20213477313518524, 0.20803672075271606, 0.6575146913528442, 0.08472812175750732, -0.6462660431861877, 0.19010211527347565, 0.37183448672294617, -0.5203440189361572, -0.22423219680786133, -0.0020549336913973093, 0.0969761461019516, 0.21768373250961304, 0.30973994731903076, -0.058782149106264114, 0.04528244957327843, -0.5823331475257874, 0.25768232345581055, 0.4502132534980774, -0.2279299795627594, -0.3085085153579712, 0.8034818172454834, -0.014801464974880219, -0.42566731572151184, 0.28652456402778625, -0.24472838640213013, -0.6817927956581116, 0.5266431570053101, 0.7819861173629761, 0.7162101864814758, -0.007168115582317114, 0.4502161145210266, 0.3801194131374359, 0.39220553636550903, -0.09636025130748749, 0.33571135997772217, 0.22480247914791107, -0.8328604102134705, -0.6304718255996704, -0.4651707708835602, -0.33731406927108765, 0.014417613856494427, -0.5276392102241516, 0.2478603720664978, -0.7353798151016235, -0.25876420736312866, 0.10810121893882751, 0.14539751410484314, -0.17949405312538147, 0.12047439813613892, 0.14590024948120117, 0.5961468815803528, -0.5966971516609192, 0.9987825155258179, 0.41076532006263733, -0.21818356215953827, -0.32869666814804077, -0.05425790324807167, 0.34175950288772583, -0.7499087452888489, 0.8272334933280945, 0.21766647696495056, -0.06409498304128647, 0.07244294881820679, -0.4052315652370453, -0.8885871171951294, 0.7014655470848083, 0.3447888493537903, -0.4521434009075165, 0.4109152555465698, 0.15065732598304749, 0.62416672706604, -0.6033355593681335, -0.5087361931800842, 0.49642929434776306, 0.6269382834434509, 0.16979223489761353, -0.5377233624458313, 0.19440734386444092, -0.10787400603294373, 0.35356929898262024, 0.7434367537498474, -0.5013294816017151, 1.182347297668457, -0.22545315325260162, -0.3837181031703949, 0.4361230134963989, 0.49566519260406494, 0.3694019615650177, -0.3262242376804352, 0.15851618349552155, 0.7029432654380798, 0.6386160850524902, 0.04640058055520058, 1.1975146532058716, -0.2195126712322235, 0.4033355116844177, 1.062790870666504, -0.3422968089580536, 0.7848070859909058, 0.9551621079444885, -0.25058117508888245, 0.39379844069480896, 0.236738920211792, -0.19751909375190735, 0.5468533039093018, 0.8354516625404358, -0.2750367820262909, -0.3093050718307495, -0.15628091990947723, -0.09855534136295319, 0.34998664259910583, 0.1973252147436142, -0.08044088631868362, -0.13035643100738525, -0.06417623162269592, 0.3265753388404846, 0.4878106117248535, -0.21632029116153717, 0.47400641441345215, -0.00009927757491823286, -0.7749510407447815, 0.538067102432251, 0.39154085516929626, 0.48937684297561646, -0.605976402759552, 0.0859452486038208, 0.13680706918239594, 0.5623756051063538, -0.02450268343091011, -0.8190630078315735, 0.333261638879776, -0.0967613086104393, -0.16762912273406982, -0.10965915769338608, 0.5454592108726501, -0.5799060463905334, -0.7829040884971619, -0.14923657476902008, 0.17200158536434174, 0.1102370098233223, 0.17298701405525208, -0.11079572886228561, 0.2217598408460617, 0.039474163204431534, -0.34376487135887146, 0.4121755361557007, 0.512606143951416, 0.28271329402923584, 1.1098506450653076, 0.6315360069274902, 0.3843424916267395, 0.1357802152633667, -0.40280166268348694, 0.7645800709724426, -0.5911598205566406, -0.6608269214630127, -1.0123242139816284, 0.2962864637374878, 0.0902353823184967, -0.5864055156707764, 0.8287909030914307, 0.5618528723716736, 0.47907784581184387, -0.165347620844841, 0.7472729682922363, -0.09039012342691422, 0.4038845896720886, -0.908169686794281, 0.394713431596756, -0.3128642141819, 0.2257518321275711, -0.3580632209777832, -1.0228973627090454, -0.9607735276222229, 0.5407339930534363, -0.41359150409698486, -0.17051708698272705, 0.9667941927909851, 0.6402443051338196, 0.3372521996498108, -0.3732495903968811, 0.6406280994415283, 0.043570660054683685, 0.28143301606178284, 1.0182242393493652, 0.797541618347168, -0.05548153072595596, 0.8129399418830872, -0.03036213293671608, 0.04286259412765503, -0.15507405996322632, -1.2559491395950317, -1.0888816118240356, -0.8260488510131836, -0.48506659269332886, -0.24918998777866364, -0.0022453933488577604, 0.8003446459770203, 0.4086466133594513, -0.5781373977661133, -0.2793152630329132, -0.29234179854393005, 0.09241795539855957, 0.0530921146273613, -0.1622658520936966, 0.22979022562503815, -0.1108362153172493, -0.6964797973632812, 0.2341410368680954, 0.36422157287597656, 0.1516401320695877, -0.34633997082710266, -0.09009207785129547, -0.5401664972305298, 0.1155267208814621, 0.3120499551296234, 0.2816173732280731, -0.46766209602355957, -0.6279392838478088, -0.42798250913619995, 0.1549108773469925, 0.23183707892894745, 0.9697813391685486, -0.5740846395492554, 0.33015114068984985, 0.3298282027244568, 0.4252777099609375, 0.6807109117507935, -0.24463112652301788, 0.9015899896621704, -0.8384786248207092, 0.538219153881073, 0.056533750146627426, 0.2583238482475281, 0.18543294072151184, -0.21349863708019257, 0.03295077756047249, 0.14291469752788544, -0.5366289019584656, -0.9105909466743469, 0.7961764335632324, -0.6287943720817566, -0.3173464238643646, 1.3379560708999634, 0.024514030665159225, -0.14952383935451508, 0.27769410610198975, -0.20551319420337677, -0.020283732563257217, -0.37736746668815613, 0.5607107281684875, 0.9612758755683899, 0.1687750667333603, -0.5083936452865601, -0.6756321787834167, 0.49844789505004883, 0.28501877188682556, -0.7146070599555969, 0.0010414746357128024, 0.7095553278923035, 0.16714000701904297, 0.1576027274131775, 0.41993603110313416, -0.014306563884019852, -0.11419807374477386, 0.12925247848033905, 0.14903147518634796, -0.2832314372062683, -0.2918168604373932, -0.43700283765792847, 0.3828425109386444, -0.030908288434147835, -0.21977123618125916 ]
http://arxiv.org/abs/2406.07393v2
http://arxiv.org/pdf/2406.07393v2
Limited Out-of-Context Knowledge Reasoning in Large Language Models
2024-06-11T15:58:59
2024-06-24T14:59:54
Peng Hu, Changjiang Gao, Ruiqi Gao, Jiajun Chen, Shujian Huang
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated strong capabilities as knowledge bases and significant in-context reasoning capabilities. However, previous work challenges their out-of-context reasoning ability, i.e., the ability to infer information from their training data, instead of from the context or prompt. This paper focuses on a significant facet of out-of-context reasoning: Out-of-Context Knowledge Reasoning (OCKR), which is to combine multiple knowledge to infer new knowledge. We designed a synthetic dataset with seven representative OCKR tasks to systematically assess the OCKR capabilities of LLMs. Using this dataset, we evaluated the LLaMA2-13B-chat model and discovered that its proficiency in this aspect is limited, regardless of whether the knowledge is trained in a separate or adjacent training settings. Moreover, training the model to reason with complete reasoning data did not result in significant improvement. Training the model to perform explicit knowledge retrieval helps in only one of the tasks, indicating that the model's limited OCKR capabilities are due to difficulties in retrieving relevant knowledge. Furthermore, we treat cross-lingual knowledge transfer as a distinct form of OCKR, and evaluate this ability. Our results show that the evaluated model also exhibits limited ability in transferring knowledge across languages. The dataset used in this study is available at https://github.com/NJUNLP/ID-OCKR.
[ -0.3214420676231384, -0.8226438760757446, 0.8112488985061646, -0.1347503513097763, -0.09973274916410446, 0.029420165345072746, -0.40122517943382263, -0.7183771133422852, -0.42677178978919983, 0.6869256496429443, -0.2908766567707062, -0.07248365879058838, -0.597317636013031, -0.07162042707204819, -0.3484135568141937, 0.7115352749824524, -0.2568594515323639, 0.0296536386013031, -0.5237575769424438, -0.2086089849472046, -0.6327618956565857, -0.6859906315803528, -0.3264070451259613, -0.5794687271118164, 0.3576471209526062, 0.7073354721069336, 0.41827884316444397, 0.22222574055194855, 0.34724271297454834, 0.17743538320064545, -0.2157926857471466, 0.457462877035141, -0.7345293760299683, 0.029378853738307953, -0.3064992427825928, -0.44689834117889404, -0.16809648275375366, -0.5197362303733826, 0.7899221181869507, 0.8315297961235046, 0.16803835332393646, 0.06819571554660797, 0.12823085486888885, 0.5496950745582581, -0.6703231334686279, 0.22289550304412842, -0.8090217113494873, -0.3207245469093323, -0.12163054198026657, 0.10807325690984726, -0.5569339394569397, -0.13162672519683838, 0.37419918179512024, -0.5398477911949158, -0.32130855321884155, 0.08906808495521545, 0.5608932971954346, 0.18982231616973877, -0.7490220069885254, -0.4436323642730713, -0.6426953673362732, 0.7641986012458801, -0.8642285466194153, 0.5691068768501282, 0.5475562214851379, 0.5167185068130493, -0.3469405770301819, -0.3842345178127289, -0.7173181176185608, -0.2735254168510437, -0.3677436113357544, -0.2354179471731186, -0.015530785545706749, -0.2846432030200958, 0.37071096897125244, 0.003282896475866437, -0.3807578384876251, 0.2026759535074234, -0.49119436740875244, 0.13475088775157928, 0.6257696151733398, -0.0452781543135643, 0.045419465750455856, -0.131464883685112, -0.5518656373023987, 0.05836595967411995, -0.8104216456413269, 0.3155936300754547, 0.14191597700119019, 0.21892642974853516, 0.02066759392619133, 0.7515001893043518, -0.3240910470485687, 0.7348661422729492, -0.024646790698170662, -0.42345714569091797, -0.01065251138061285, -0.2266288548707962, -0.15405043959617615, -0.0077331336215138435, 0.5336452722549438, -0.002255242085084319, 0.027185820043087006, -0.2530674934387207, -0.17349401116371155, -0.301179438829422, -0.18377168476581573, -0.4960819184780121, 0.18462686240673065, 0.04265977069735527, -0.3426341116428375, 0.1945507675409317, -0.08175390213727951, -0.55678391456604, -0.6334342360496521, -0.1472516655921936, 0.588998556137085, -0.5652350783348083, -0.17257888615131378, 0.2241377979516983, -0.14335468411445618, 0.2449120283126831, 0.3379696011543274, -0.4952346086502075, 0.16605637967586517, 0.5381735563278198, 0.4073610305786133, -0.22060269117355347, -0.3236410617828369, -0.33771398663520813, 0.20617246627807617, -0.21519705653190613, 0.7320781350135803, -0.6029794812202454, -0.1799849569797516, -0.09500519186258316, -0.10418713092803955, -0.2696065604686737, -0.6344991326332092, 0.24249203503131866, -0.6902905702590942, 0.09278389066457748, -0.47796013951301575, -0.674431562423706, -0.4216570556163788, 0.029495883733034134, -0.40310847759246826, 1.1799702644348145, 0.21448737382888794, -0.7036185264587402, 0.48575329780578613, -0.4963013827800751, -0.45054301619529724, 0.06641697883605957, -0.3406113088130951, 0.10411033779382706, 0.08126190304756165, 0.14897334575653076, 0.3845313489437103, -0.5130882859230042, 0.4334469139575958, -0.5791225433349609, -0.39545688033103943, 0.5606738924980164, -0.0852423682808876, 0.705608606338501, 0.10592826455831528, -0.2953437268733978, -0.17651882767677307, -0.9033569097518921, -0.03454345837235451, 0.1855383813381195, -0.4681229591369629, -0.6700305342674255, -0.0031818929128348827, -0.41864749789237976, 0.4317570924758911, 0.16594438254833221, -0.570949375629425, 0.2828545868396759, -0.2510124146938324, 0.6677627563476562, 0.29666242003440857, -0.066681407392025, 0.7329174876213074, -0.3371008038520813, 0.2216297835111618, 0.01900494284927845, -0.03911067545413971, -0.1557559072971344, -0.588290810585022, -0.8541563749313354, -0.24589192867279053, -0.04281170666217804, 0.514474630355835, -1.0213326215744019, 0.4542678892612457, -0.40041428804397583, -0.304135799407959, -0.3134448528289795, 0.22209137678146362, 0.40931427478790283, 0.6633794903755188, 0.48481786251068115, -0.10159580409526825, -0.42844662070274353, -0.7211236953735352, -0.12826469540596008, -0.16015037894248962, 0.09566151350736618, 0.43601253628730774, 0.8135843276977539, -0.1064264327287674, 1.1388400793075562, -0.1676931083202362, -0.3775336444377899, -0.5475317239761353, -0.11811240017414093, 0.1856960654258728, 0.27526265382766724, 0.20072831213474274, -0.4824464023113251, -0.3781028687953949, 0.2410566806793213, -0.8676250576972961, 0.012490025721490383, -0.12370659410953522, -0.2227945327758789, 0.31030675768852234, 0.7963399887084961, -0.5976329445838928, 0.47117188572883606, 0.5236096382141113, -0.24285079538822174, 0.29479897022247314, -0.2948066294193268, -0.06880039721727371, -0.5887923836708069, 0.214707151055336, -0.48371657729148865, -0.13679686188697815, -0.6072529554367065, 0.011747605167329311, 0.1548110395669937, 0.07333225756883621, -0.41648271679878235, 1.128417730331421, -0.5513105392456055, 0.007716341409832239, -0.23970578610897064, 0.25540852546691895, 0.0661509707570076, 0.5273494124412537, 0.2719723582267761, 0.4372459948062897, 0.3780832588672638, -0.5186888575553894, 0.4061795473098755, 0.44366076588630676, -0.8998379707336426, 0.6019884347915649, -0.409821480512619, 0.3400493860244751, -0.19062060117721558, 0.5227112770080566, -1.171028971672058, -0.3955802321434021, 0.0873199999332428, -0.2826490104198456, 0.23286229372024536, -0.18729010224342346, -0.6199145913124084, -0.3270129859447479, 0.18549396097660065, 0.6316418647766113, 0.5215744972229004, -0.8134305477142334, 0.6970373392105103, 0.3106383681297302, -0.0047033317387104034, -0.42278385162353516, -0.8286835551261902, -0.3182618319988251, -0.31946250796318054, -0.8134525418281555, 0.16163334250450134, 0.15547430515289307, -0.40428397059440613, 0.04326951503753662, -0.16110087931156158, -0.3379116356372833, -0.22453361749649048, 0.09410978108644485, 0.06533292680978775, -0.13724450767040253, 0.30397137999534607, 0.1059427410364151, 0.2859733998775482, 0.0733451321721077, -0.19660724699497223, 0.22783270478248596, 0.016935864463448524, -0.82136070728302, 0.04345604404807091, 0.3783726692199707, 0.44427192211151123, -0.051906246691942215, 1.0313735008239746, 0.2203863263130188, -0.2725016474723816, -0.35209617018699646, -0.8023176193237305, -0.23643171787261963, -0.37503039836883545, 0.40085649490356445, -0.4467097222805023, -1.1249140501022339, 0.6142506003379822, 0.1453947275876999, -0.13318876922130585, 0.21253462135791779, 0.48257309198379517, -0.009266954846680164, 0.9352529048919678, 0.3559477627277374, 0.11361093074083328, 0.2953011989593506, -0.15911997854709625, 0.2902921736240387, -0.9737245440483093, -0.5868883728981018, -0.336269348859787, -0.05920033156871796, -0.25430530309677124, -0.5554590821266174, 0.47079363465309143, 0.28966349363327026, -0.3681288957595825, 0.21842382848262787, 0.02847277745604515, 0.4837866425514221, 0.48354867100715637, 0.23031802475452423, 0.5528826117515564, -0.21991004049777985, -0.24125994741916656, 0.3388509154319763, -1.074184775352478, -0.29139459133148193, 0.7920634746551514, 0.4531254768371582, 0.7369562983512878, 0.1765064299106598, 0.3224310576915741, -0.12236490100622177, 0.19550716876983643, -0.7893735766410828, 0.5951403379440308, 0.10281454026699066, -0.8946322202682495, -0.4837913513183594, -0.6379308700561523, -0.8317625522613525, 0.42924535274505615, -0.1270945817232132, -0.932662308216095, 0.3147966265678406, -0.07523291558027267, -0.30886101722717285, 0.35482269525527954, -0.7183805704116821, 0.6688443422317505, -0.36061689257621765, -0.22228361666202545, 0.004125745967030525, -0.7967848777770996, 0.7005032300949097, -0.41157153248786926, 0.6267845630645752, -0.1309310793876648, 0.15895073115825653, 0.42125388979911804, -0.3446096181869507, 0.996353030204773, 0.005410329904407263, -0.4393137991428375, 0.35341978073120117, 0.1057044267654419, 0.7341612577438354, -0.06495144218206406, -0.053815051913261414, 0.2816384434700012, -0.022818109020590782, -0.25888752937316895, -0.5654933452606201, 0.5209611654281616, -0.6622560620307922, -0.5582867860794067, -0.17486180365085602, -0.6671537756919861, -0.5567928552627563, 0.13967777788639069, 0.3551676869392395, 0.2568945586681366, 0.09388154745101929, 0.5014341473579407, 0.545681357383728, -0.3952014446258545, 0.16754312813282013, 0.5018324851989746, -0.34992337226867676, -0.30010703206062317, 0.676493227481842, 0.27447816729545593, 0.5675256252288818, 0.5942171812057495, 0.28013575077056885, -0.6622931957244873, -0.28523358702659607, -0.45034053921699524, 0.3169970214366913, -1.1922863721847534, -0.09251086413860321, -0.3442034125328064, -0.25938186049461365, -0.29811424016952515, -0.05955744534730911, -0.2404191941022873, -0.29711776971817017, -0.14362984895706177, 0.26371604204177856, 0.21866679191589355, 0.6770550608634949, 0.17531277239322662, 0.1628762185573578, -0.8189073801040649, 0.08290185779333115, 0.3928205072879791, 0.25087693333625793, 0.25760748982429504, -1.0512142181396484, -0.276406466960907, 0.05739542096853256, 0.020408714190125465, -0.8090408444404602, 0.12234411388635635, 0.09774651378393173, 0.8063225746154785, 0.3304915130138397, 0.33111870288848877, 0.7005494236946106, -0.26672428846359253, 0.5641276240348816, 0.0813533142209053, -0.8371702432632446, 0.23750023543834686, -0.3576740026473999, 0.410941481590271, 0.3282657265663147, 0.3736180067062378, -0.245154470205307, -0.422931432723999, -0.4285711646080017, -0.8717570900917053, 0.8482356071472168, 0.11977589875459671, -0.12833172082901, 0.12712392210960388, 0.2132512480020523, 0.3229493796825409, 0.032706134021282196, -0.633708119392395, 0.10961022228002548, 0.037538789212703705, 0.18815115094184875, -0.02765362709760666, -0.33446988463401794, -0.034807126969099045, -0.30428966879844666, 0.6388935446739197, -0.2612836956977844, 0.035452891141176224, 0.1044396311044693, -0.3763767182826996, -0.13030651211738586, 0.440232515335083, 0.5234193801879883, 0.8755877017974854, -0.034536369144916534, 0.22349783778190613, 0.70597243309021, -0.04771135747432709, 0.06529464572668076, 0.09827941656112671, 0.030506711453199387, -0.32433417439460754, 0.5494497418403625, 0.9267901182174683, 0.3959137797355652, -0.9046436548233032, 0.4752327799797058, 0.21003708243370056, -0.1323784440755844, -0.23127244412899017, -0.04487853869795799, 0.09911219775676727, 0.5938488841056824, 0.3448069393634796, -0.24210865795612335, -0.13989412784576416, -0.5832780599594116, -0.24675340950489044, 0.4073422849178314, -0.18032591044902802, -0.10762164741754532, 0.44681334495544434, -0.019554678350687027, 0.25168803334236145, 0.6045884490013123, -0.10017862170934677, -0.33254656195640564, 0.3126736581325531, 0.49588021636009216, 0.31075918674468994, 0.11871838569641113, -0.23233680427074432, 0.23948608338832855, 0.24211807548999786, -0.2599327564239502, 0.22853714227676392, -0.2165473848581314, -0.8915718197822571, -0.6711887121200562, -0.4469664394855499, -0.4710753560066223, 0.5473979115486145, -0.5818176865577698, 0.3987131714820862, -0.07052014023065567, -0.026817966252565384, -0.2061760425567627, -0.3572523891925812, -0.6699286699295044, 0.015437071211636066, 0.1429339349269867, 0.9358296990394592, -0.52006596326828, 1.0508373975753784, 0.7062463760375977, -0.28859052062034607, -0.6852586269378662, -0.15582430362701416, -0.05735403299331665, -0.9749158024787903, 0.8978762030601501, 0.0510798804461956, -0.07175415009260178, -0.15843984484672546, -0.34866994619369507, -1.0533967018127441, 0.9366061687469482, 0.5362128615379333, -0.5699830055236816, -0.06953299790620804, 0.3175342082977295, 0.3911527395248413, -0.37443092465400696, 0.2757066488265991, 0.7170723676681519, 0.49146610498428345, 0.5196033716201782, -1.2934658527374268, 0.18173669278621674, 0.057689275592565536, -0.001148805022239685, 0.010832997038960457, -0.5069317817687988, 0.8409021496772766, -0.44631075859069824, -0.1124076098203659, 0.08169704675674438, 0.44819602370262146, 0.4105871319770813, 0.1260925531387329, 0.48324570059776306, 0.40337496995925903, 0.6643156409263611, 0.09562608599662781, 0.9727974534034729, 0.08306955546140671, 0.146875262260437, 1.34767484664917, -0.5722001791000366, 1.038217306137085, 0.5827193856239319, 0.1347302496433258, 0.5650695562362671, 0.33059531450271606, 0.33874887228012085, 0.537451446056366, 0.03892439976334572, -0.18211372196674347, -0.4394274652004242, -0.16933968663215637, -0.4845646321773529, 0.7272679805755615, 0.2720041573047638, -0.22506049275398254, -0.1975090354681015, 0.08342558890581131, 0.12039966136217117, -0.1773153692483902, -0.1699996143579483, 0.9457563161849976, 0.20401589572429657, -0.7557694911956787, 0.7908669710159302, -0.1856091022491455, 0.38820481300354004, -0.5798898935317993, -0.032587841153144836, -0.1959245651960373, 0.5018342733383179, -0.07912479341030121, -0.8301383852958679, 0.3415432274341583, -0.12045209854841232, -0.018034111708402634, -0.2296537607908249, 0.9525980353355408, -0.5454036593437195, -0.2015148550271988, 0.5491786599159241, 0.7738680243492126, 0.08452125638723373, -0.17919398844242096, -0.14278851449489594, -0.050297584384679794, -0.300201952457428, -0.2618642747402191, 0.6552082896232605, 0.8398721814155579, -0.37206876277923584, 0.6730575561523438, 0.6628785729408264, 0.10720358788967133, -0.017569467425346375, -0.04976382851600647, 0.9898912310600281, -0.5005716681480408, -0.43381360173225403, -0.8143972754478455, 0.372236430644989, 0.1571846306324005, -0.1668255627155304, 0.7987188696861267, 0.32029932737350464, 1.189038634300232, -0.09574992209672928, 1.030360221862793, -0.05080895498394966, 0.6382353901863098, -0.6062474846839905, 0.6651673316955566, -0.683424711227417, 0.32863444089889526, 0.08390410244464874, -0.5755574107170105, 0.045139577239751816, 0.6987181305885315, -0.5966070294380188, 0.0575859509408474, 0.8034947514533997, 0.5274193286895752, -0.13349251449108124, -0.041652947664260864, 0.6170371174812317, 0.3561037480831146, 0.046069465577602386, 0.9246926307678223, 1.353487491607666, -0.030003519728779793, 0.750980019569397, -0.10759513080120087, -0.23037783801555634, -0.3739272356033325, -1.0224623680114746, -1.2609789371490479, -0.5876209139823914, 0.08504467457532883, -0.2790909707546234, -0.18069621920585632, 0.8408188223838806, 0.7892120480537415, -0.7275643944740295, -0.35747742652893066, -0.0480150543153286, 0.18468981981277466, -0.08890003710985184, -0.17561006546020508, 0.05879183113574982, -0.22871145606040955, -0.17301246523857117, 0.7097253799438477, -0.0016480013728141785, -0.2171882838010788, -0.24073389172554016, -0.14505167305469513, -0.12607677280902863, 0.15426330268383026, 0.7254043817520142, 0.2727176547050476, -0.7685568332672119, -0.4167805314064026, 0.09683888405561447, 0.05156678333878517, -0.14374122023582458, 0.8069685697555542, -0.6916496753692627, 0.37528401613235474, 0.7225306034088135, 0.5161939263343811, 0.5796321630477905, -0.2924722731113434, 0.35390591621398926, -0.7490974068641663, 0.0339813195168972, 0.027279093861579895, 0.4639793932437897, 0.305277556180954, -0.17106746137142181, 0.23245936632156372, 0.15766800940036774, -0.47394996881484985, -0.8571903705596924, 0.2353566586971283, -0.656287670135498, -0.4411550462245941, 1.7088552713394165, -0.2823231518268585, -0.06443271785974503, -0.5140544772148132, -0.3404119908809662, 0.15925532579421997, -0.42245519161224365, 0.7116679549217224, 0.8157183527946472, -0.35426852107048035, -0.18682807683944702, -0.593787431716919, 0.32852110266685486, 0.17015065252780914, -1.0036933422088623, 0.13463439047336578, 0.41033199429512024, 0.299414724111557, 0.030897732824087143, 0.5926014184951782, -0.02608252316713333, 0.035923756659030914, -0.13226132094860077, -0.228360116481781, -0.20124316215515137, -0.4428011178970337, -0.20691165328025818, 0.10297608375549316, 0.008778611198067665, 0.20361101627349854 ]
http://arxiv.org/abs/2406.07378v1
http://arxiv.org/pdf/2406.07378v1
Large Language Models for Constrained-Based Causal Discovery
2024-06-11T15:45:24
2024-06-11T15:45:24
Kai-Hendrik Cohrs, Gherardo Varando, Emiliano Diaz, Vasileios Sitokonstantinou, Gustau Camps-Valls
cs.AI
cs.AI, cs.CL
Causality is essential for understanding complex systems, such as the economy, the brain, and the climate. Constructing causal graphs often relies on either data-driven or expert-driven approaches, both fraught with challenges. The former methods, like the celebrated PC algorithm, face issues with data requirements and assumptions of causal sufficiency, while the latter demand substantial time and domain knowledge. This work explores the capabilities of Large Language Models (LLMs) as an alternative to domain experts for causal graph generation. We frame conditional independence queries as prompts to LLMs and employ the PC algorithm with the answers. The performance of the LLM-based conditional independence oracle on systems with known causal graphs shows a high degree of variability. We improve the performance through a proposed statistical-inspired voting schema that allows some control over false-positive and false-negative rates. Inspecting the chain-of-thought argumentation, we find causal reasoning to justify its answer to a probabilistic query. We show evidence that knowledge-based CIT could eventually become a complementary tool for data-driven causal discovery.
[ -0.07921265065670013, -0.9018993973731995, 1.2427939176559448, 0.3218192756175995, 0.018708502873778343, -0.1310865879058838, -0.4722367227077484, -0.518985390663147, 0.26011160016059875, 0.6296579837799072, -0.499508798122406, -0.5709633231163025, -0.592104434967041, 0.1005307137966156, -0.19537977874279022, 0.5276380777359009, -0.02291901409626007, -0.09438848495483398, -0.12872754037380219, 0.1768912822008133, -0.48883384466171265, -0.41584813594818115, -0.8836848139762878, -0.36104169487953186, 0.8865445852279663, 0.3607848882675171, 0.5830230116844177, 0.6520476341247559, 0.29228174686431885, 0.2987702488899231, 0.19220329821109772, 0.21708664298057556, -0.4822060465812683, 0.20266582071781158, -0.7499592304229736, -0.4229743182659149, -0.11952414363622665, -0.09516841173171997, 0.32609355449676514, 0.9239753484725952, -0.0186289232224226, -0.23847459256649017, -0.04089078679680824, 0.593300998210907, -0.5716087818145752, 0.8082993030548096, -0.7532812356948853, -0.2811000943183899, -0.3091922998428345, -0.24069559574127197, -0.5775470733642578, -0.3448829650878906, 0.03019602783024311, -0.5714176297187805, 0.2734847366809845, 0.14316940307617188, 0.5242063403129578, 0.47014567255973816, -0.9577726125717163, -0.2751184105873108, -0.9303649663925171, 0.6442590951919556, -0.5879992246627808, 0.40534061193466187, 0.3876095712184906, 0.24577131867408752, -0.4853678047657013, -0.7425838112831116, -0.7328789234161377, -0.33904239535331726, -0.059625495225191116, 0.025802109390497208, -0.053460922092199326, 0.140249103307724, 0.17330878973007202, -0.10537112504243851, -0.3605763018131256, 0.4154593348503113, -0.086592897772789, -0.3060300350189209, 0.697320282459259, 0.32546406984329224, 0.2495688945055008, -0.16806970536708832, -0.20226269960403442, 0.18107382953166962, -1.1462069749832153, -0.2701336741447449, 0.24121026694774628, 0.645704448223114, 0.048032645136117935, 0.7032583951950073, -0.35676121711730957, 0.7748355269432068, -0.0555526502430439, -0.08215451240539551, -0.4776642322540283, 0.04176003485918045, -0.05303506925702095, 0.0021418302785605192, 0.7290257811546326, 0.048674099147319794, -0.01017056219279766, -0.2897506356239319, -0.056629449129104614, 0.15381638705730438, -0.35221362113952637, -0.670851469039917, -0.43236878514289856, 0.043483443558216095, -0.12288712710142136, 0.16946589946746826, -0.002470033010467887, -0.4405694305896759, -0.7223212718963623, -0.7132243514060974, 0.27187106013298035, -0.17652489244937897, -0.26184624433517456, 0.2638292610645294, -0.07862775027751923, -0.02110487036406994, 0.4916330575942993, -0.601649820804596, 0.10298933833837509, 0.6299915909767151, 0.37416407465934753, -0.06571085005998611, -0.1133425161242485, -0.5206490755081177, 0.4173315167427063, -0.47195467352867126, 0.7343149781227112, -0.578219473361969, 0.01901315338909626, -0.051800891757011414, 0.0326523631811142, -0.09654016047716141, -0.23138415813446045, 0.46321621537208557, -0.752944827079773, 0.05261663720011711, -0.8398177623748779, -0.7005549073219299, -0.20064498484134674, -0.047790080308914185, -0.5958438515663147, 0.5043891668319702, -0.18511994183063507, -0.8527992367744446, 0.667013943195343, -0.24694226682186127, -0.5358384251594543, 0.16371159255504608, -0.45947331190109253, -0.0155553063377738, -0.12413594126701355, -0.008817997761070728, 0.43049144744873047, -0.9631936550140381, 1.0410958528518677, -0.6766124367713928, 0.1232018917798996, -0.009397007524967194, -0.5148453116416931, 0.9629740118980408, 0.11875440180301666, -0.6807240843772888, -0.09784659743309021, -0.863885760307312, -0.28860166668891907, -0.00794613640755415, -0.2617914378643036, -0.5222461819648743, 0.7870449423789978, -0.30486273765563965, 0.13865090906620026, 0.2912268340587616, -0.6136854887008667, 0.23589497804641724, -0.042843326926231384, 0.21055015921592712, 0.9100394248962402, 0.10865595936775208, -0.03977636620402336, 0.10277494788169861, 0.15583616495132446, -0.07879291474819183, 0.05530213564634323, 0.3805065453052521, -0.4900088906288147, -0.812654435634613, -0.2552368640899658, -0.01623123325407505, 0.6437004804611206, -1.0082987546920776, 0.4732339084148407, -0.15958547592163086, -0.33292192220687866, 0.26646512746810913, -0.07816816121339798, 0.24230889976024628, 0.7302598357200623, 0.1805388331413269, 0.03963147848844528, -0.5842005014419556, -0.935128927230835, -0.20586930215358734, -0.49816039204597473, 0.06491903960704803, 0.489767462015152, 0.3841349184513092, -0.26295462250709534, 1.0729421377182007, -0.8831565976142883, -0.03484245762228966, -0.06144590675830841, 0.010536820627748966, 0.4252960681915283, 0.3143433928489685, 0.2223902940750122, -0.742948591709137, -0.22176872193813324, 0.019300376996397972, -0.8660008907318115, -0.45650675892829895, -0.17208999395370483, -0.025062179192900658, 0.002085114363580942, 0.8636540174484253, -0.6976043581962585, 0.3372887969017029, 0.27339088916778564, -0.5033946633338928, 0.7197163701057434, -0.2621058523654938, -0.0796816498041153, -0.701134979724884, 0.20368751883506775, 0.04869302362203598, -0.17838363349437714, -0.4241717755794525, 0.011438333429396152, -0.10620061308145523, -0.021658653393387794, -0.08562599122524261, 0.46800392866134644, -0.44730451703071594, 0.1408899575471878, -0.27104735374450684, 0.1499706357717514, -0.33769160509109497, 0.4262448251247406, 0.31910985708236694, 0.21871520578861237, 0.5037094354629517, -0.7045484781265259, 0.2148756980895996, 0.08328225463628769, -0.3072895407676697, 0.43590790033340454, -0.708499550819397, -0.029168613255023956, -0.19841831922531128, 0.3601432144641876, -0.8431637287139893, -0.42501476407051086, -0.11128006130456924, 0.023601988330483437, 0.22525595128536224, -0.12136299908161163, -0.7935085892677307, -0.32044780254364014, 0.31908607482910156, 0.2691120207309723, 0.056650348007678986, -0.8309940099716187, 0.3581475019454956, 0.5521659255027771, -0.14157402515411377, -0.44804295897483826, -0.31734710931777954, 0.3730001747608185, -0.06386701762676239, -0.721444845199585, 0.21523423492908478, -0.05118990316987038, -0.4535048007965088, -0.10703373700380325, 0.07532176375389099, 0.11183760315179825, 0.1016029566526413, 0.2979891300201416, 0.07821012288331985, -0.11725948005914688, 0.3928300738334656, -0.0020859374199062586, -0.17017020285129547, 0.2777006924152374, -0.573063313961029, 0.3656085729598999, 0.10550723969936371, -0.5481221675872803, -0.08976107090711594, 0.5229308605194092, 0.5591527223587036, 0.020470933988690376, 0.7105790972709656, 0.1024133712053299, -0.40528494119644165, -0.2610226273536682, -0.7230842113494873, -0.13503070175647736, -0.427150160074234, 0.09497647732496262, -0.1024714782834053, -1.0870083570480347, 0.5286803841590881, -0.2785363793373108, -0.27321815490722656, 0.6060078144073486, 0.6543954610824585, 0.35353487730026245, 1.0653258562088013, 0.6398789882659912, -0.02580423466861248, 0.16800431907176971, 0.2150067239999771, 0.5751133561134338, -0.20918484032154083, -0.2652987241744995, -0.6413127183914185, 0.11780424416065216, -0.8766136765480042, -0.34305089712142944, 0.5670800805091858, 0.052610382437705994, -0.7319554686546326, 0.018789036199450493, -0.1706276386976242, 0.3531530201435089, 0.5632023215293884, 0.38030102849006653, 0.2929454445838928, -0.38061296939849854, -0.12806487083435059, 0.23152875900268555, -0.7749034762382507, -0.19953596591949463, 0.7731978297233582, -0.12798866629600525, 0.7790903449058533, 0.2619531452655792, 0.4762134253978729, 0.15549935400485992, 0.3672569990158081, -0.3637252748012543, 0.6571948528289795, -0.16973906755447388, -0.7629861235618591, -0.3230423033237457, -0.5863369107246399, -0.9296652674674988, -0.05294822156429291, -0.2914310693740845, -0.8611236810684204, 0.7161254286766052, 0.16616782546043396, 0.005676314700394869, 0.3964077830314636, -0.6866043210029602, 0.5624622702598572, -0.04321417957544327, -0.7704303860664368, -0.1851833462715149, -0.7296319007873535, 0.6759347319602966, -0.10520463436841965, 0.15682649612426758, 0.05417323857545853, 0.3090994656085968, 0.590000331401825, -0.7853602766990662, 1.4055840969085693, -0.3180595338344574, -0.006006679497659206, 0.41842296719551086, 0.08578192442655563, 0.9240691661834717, 0.24607250094413757, -0.05679596960544586, -0.11749919503927231, -0.2437252700328827, -0.33344176411628723, -0.4059329330921173, 0.8399797677993774, -0.5889135003089905, -1.1343870162963867, -0.22638052701950073, -0.3861994445323944, -0.35807934403419495, 0.48962804675102234, 0.04433843120932579, 0.31164464354515076, -0.1410103738307953, 0.09054406732320786, 0.5792457461357117, -0.4132678210735321, 0.28964999318122864, 0.896060585975647, -0.05203969404101372, -0.21608838438987732, 0.7933699488639832, 0.09112390130758286, 0.12605473399162292, 0.5854052901268005, 0.5356218218803406, -0.17699585855007172, -0.35296255350112915, 0.07765775918960571, 0.36218035221099854, -0.6546475887298584, -0.35271257162094116, -0.5741812586784363, 0.11055310070514679, -0.3982866108417511, -0.08460162580013275, -0.2984505295753479, -0.5657886266708374, -0.2837222218513489, -0.3484211266040802, 0.37011101841926575, 0.8040481805801392, -0.43698233366012573, 0.08418864011764526, -0.2946726679801941, 0.168650284409523, 0.6091488599777222, 0.2674839198589325, 0.08158738911151886, 0.24753345549106598, -0.23591767251491547, -0.2701667845249176, -0.1016772910952568, -1.044230580329895, 0.3786693215370178, -0.026883568614721298, 0.3988494575023651, 0.5874022245407104, 0.33183586597442627, 0.5378790497779846, -0.5034037828445435, 0.6670263409614563, 0.17699860036373138, -0.9474608898162842, 0.39137905836105347, -0.6289678812026978, -0.1373150497674942, 0.22384393215179443, 0.3867078125476837, -0.31961193680763245, -0.5791797637939453, -0.6325981616973877, -0.886939287185669, 0.22300638258457184, -0.04029487073421478, -0.38827288150787354, -0.4021197557449341, 0.506543755531311, 0.15327925980091095, 0.022138191387057304, -0.616278350353241, -0.12454819679260254, 0.206585094332695, 0.17452849447727203, -0.1624140590429306, -0.1953042596578598, -0.22252987325191498, -0.2151683270931244, 0.5405099391937256, -0.23272989690303802, 0.024915752932429314, 0.5348177552223206, 0.05162506550550461, -0.1309155970811844, 0.23710408806800842, 0.39867690205574036, 0.8072802424430847, -0.10913578420877457, 0.45520809292793274, -0.20484624803066254, -0.03317555412650108, 0.01052919588983059, 0.23899608850479126, -0.3079783022403717, -0.31446778774261475, 0.4852830767631531, 0.7612065076828003, -0.04786844551563263, -0.5670884251594543, 0.40327730774879456, 0.031013963744044304, -0.005871351808309555, -0.4038048982620239, -0.016138920560479164, 0.2311035692691803, 0.36672237515449524, 0.3839373290538788, -0.08848651498556137, 0.07390525192022324, -0.5021265745162964, 0.09925196319818497, 0.5248234868049622, -0.21102501451969147, -0.40071797370910645, 0.984927237033844, 0.04797971621155739, -0.04784112423658371, 0.5448417067527771, -0.1456672102212906, -0.551334023475647, 0.7076213955879211, 0.5688053369522095, 0.7207930088043213, -0.19802211225032806, 0.1344521939754486, 0.24429857730865479, 0.5038336515426636, -0.19889412820339203, 0.38365408778190613, 0.09744587540626526, -0.8051623106002808, -0.6671925783157349, -0.17494083940982819, -0.3532469570636749, 0.002046256558969617, -0.4066925644874573, 0.3542860150337219, -0.4430728554725647, -0.07672375440597534, -0.04057302325963974, -0.0369986817240715, -0.8804358839988708, 0.3223262131214142, -0.11986710131168365, 0.6888309717178345, -1.1792340278625488, 0.776387095451355, 0.07857047766447067, -0.3096470534801483, -1.0295016765594482, -0.3513772785663605, -0.039047155529260635, -0.5753905177116394, 0.8951553106307983, -0.18568818271160126, -0.04019390791654587, -0.23651203513145447, -0.8299258947372437, -0.8693089485168457, 1.0579253435134888, 0.6461905241012573, -0.8015811443328857, 0.17640568315982819, -0.029260126873850822, 0.5912976264953613, -0.2482559233903885, 0.09623632580041885, 0.6090918779373169, 0.7377241849899292, -0.24507659673690796, -0.6080743670463562, 0.448406457901001, 0.12215714156627655, -0.33868980407714844, 0.22370590269565582, -0.7282593846321106, 0.8929861187934875, -0.3800522983074188, -0.20139271020889282, -0.36393362283706665, 0.8224755525588989, 0.3129125237464905, 0.5543113350868225, 0.5846746563911438, 0.36383524537086487, 1.081865668296814, 0.14018948376178741, 1.2405697107315063, -0.30777013301849365, 0.36039498448371887, 1.1437292098999023, -0.5429063439369202, 0.6088491082191467, 0.5292955040931702, -0.16239911317825317, 0.5921764969825745, 0.5909292697906494, 0.4026629328727722, 0.39574679732322693, 0.3348733186721802, -0.41121652722358704, -0.7601110935211182, -0.14516198635101318, 0.028621139004826546, 0.22903846204280853, 0.5862494707107544, -0.2917154133319855, -0.1476300209760666, -0.28145530819892883, 0.26491880416870117, -0.013702454045414925, -0.09473156929016113, 0.5355110168457031, 0.19734355807304382, -0.8926079869270325, 0.3655380308628082, 0.016132820397615433, 0.07999444752931595, -0.49962499737739563, -0.007824989967048168, -0.24329620599746704, 0.1161026656627655, -0.15532885491847992, -0.4252724349498749, 0.12348897010087967, -0.16937074065208435, -0.3581111431121826, -0.0334065780043602, 0.6815038323402405, -0.381233811378479, -0.5501836538314819, 0.36450091004371643, 0.5966934561729431, -0.11387576162815094, 0.08432015776634216, -0.08718615770339966, -0.26718416810035706, 0.11145097017288208, -0.22753065824508667, 0.17400220036506653, 0.697870135307312, -0.45221146941185, 0.6936048865318298, 0.6344611644744873, 0.2553328573703766, -0.0760660320520401, 0.0380113422870636, 0.9214898943901062, -0.6422040462493896, -0.4596188962459564, -0.8406447768211365, 0.09245377779006958, -0.03309294953942299, -0.01216734480112791, 0.684207558631897, 0.4281856417655945, 0.2687727212905884, -0.006417242810130119, 0.9090321660041809, -0.21221226453781128, 0.40753811597824097, -0.7489155530929565, 0.4268801808357239, -0.36868909001350403, 0.570833146572113, -0.3615897297859192, -0.535506546497345, -0.6250872015953064, -0.006041585933417082, -0.6463817954063416, -0.2111007273197174, 0.8200823068618774, 0.9459876418113708, 0.12596338987350464, 0.008834609761834145, 0.1536504030227661, 0.5820237398147583, 0.9315022230148315, 0.7391530275344849, 0.6929751634597778, 0.2455219030380249, 0.30782845616340637, 0.015031630173325539, -0.571585476398468, -0.0028265102300792933, -1.2551651000976562, -0.7955622673034668, -0.7699545621871948, -0.3822243809700012, -0.23171214759349823, 0.08885826170444489, 0.7052035927772522, 0.50870680809021, -0.5918945670127869, -0.2101525366306305, -0.44721102714538574, 0.5337436199188232, -0.06271019577980042, -0.21030309796333313, 0.9210366606712341, -0.21427325904369354, -0.41457298398017883, 0.5952717065811157, 0.24112845957279205, -0.4642395079135895, -0.18512767553329468, 0.21296723186969757, -0.06948741525411606, 0.2841323912143707, 0.703625500202179, 0.5644015073776245, -0.46727392077445984, -0.6681870818138123, -0.2654170095920563, 0.1394348442554474, -0.41799455881118774, 1.2170636653900146, -0.6626545190811157, 0.3321066200733185, 0.6983147859573364, 0.39485037326812744, 0.599962055683136, -0.3358142375946045, 0.7831388711929321, -0.4607941508293152, 0.11813492327928543, 0.08470182865858078, 0.7031658291816711, 0.28760623931884766, -0.5250805616378784, 0.38493698835372925, 0.4927365779876709, -0.843946635723114, -0.5730924010276794, 0.5064558386802673, -0.990436315536499, -0.40457409620285034, 1.1480799913406372, -0.02700573205947876, -0.12166032940149307, -0.39786115288734436, 0.016533924266695976, 0.15240339934825897, -0.15349628031253815, 0.8052955269813538, 0.45456916093826294, -0.37601491808891296, 0.18136323988437653, -0.294657438993454, 0.3356793224811554, 0.16426591575145721, -0.6689572930335999, 0.33330434560775757, 0.8125427961349487, 0.25298792123794556, -0.0016083404188975692, 0.6973798871040344, 0.06148635223507881, -0.04128086194396019, -0.09812624007463455, 0.0007334300316870213, 0.18650569021701813, -0.37022680044174194, 0.2809993624687195, 0.2991220951080322, 0.12967541813850403, 0.4337107241153717 ]
http://arxiv.org/abs/2406.07368v1
http://arxiv.org/pdf/2406.07368v1
When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models
2024-06-11T15:34:43
2024-06-11T15:34:43
Haoran You, Yichao Fu, Zheng Wang, Amir Yazdanbakhsh, Yingyan, Lin
cs.CL
cs.CL, cs.AI, cs.LG
Autoregressive Large Language Models (LLMs) have achieved impressive performance in language tasks but face two significant bottlenecks: (1) quadratic complexity in the attention module as the number of tokens increases, and (2) limited efficiency due to the sequential processing nature of autoregressive LLMs during generation. While linear attention and speculative decoding offer potential solutions, their applicability and synergistic potential for enhancing autoregressive LLMs remain uncertain. We conduct the first comprehensive study on the efficacy of existing linear attention methods for autoregressive LLMs, integrating them with speculative decoding. We introduce an augmentation technique for linear attention that ensures compatibility with speculative decoding, enabling more efficient training and serving of LLMs. Extensive experiments and ablation studies involving seven existing linear attention models and five encoder/decoder-based LLMs consistently validate the effectiveness of our augmented linearized LLMs. Notably, our approach achieves up to a 6.67 reduction in perplexity on the LLaMA model and up to a 2$\times$ speedup during generation compared to prior linear attention methods. Codes and models are available at https://github.com/GATECH-EIC/Linearized-LLM.
[ -0.22091232240200043, -0.6712877750396729, 0.4781244993209839, 0.32949575781822205, -0.11527886986732483, 0.3794742524623871, -0.25960054993629456, -0.7965129017829895, 0.3184114396572113, 0.326774924993515, -0.536020815372467, -0.04527527093887329, -0.6635227203369141, 0.10879586637020111, -0.6325247287750244, 0.657229483127594, -0.09827834367752075, -0.16395026445388794, -0.2327786535024643, -0.023192880675196648, -0.1873885542154312, -0.7950621247291565, -0.6367199420928955, -0.2220173478126526, 0.6543961763381958, -0.09590789675712585, 0.6609442234039307, 0.9023208022117615, 0.7127416729927063, 0.2931582033634186, -0.025547094643115997, 0.3614574372768402, -0.8288071751594543, 0.1672472059726715, -0.11856026947498322, -0.45738446712493896, -0.5677230954170227, -0.050922803580760956, 0.690238893032074, 0.9344840049743652, -0.0032050732988864183, 0.14077959954738617, -0.027663804590702057, 0.4891618490219116, -0.7434718012809753, -0.011738656088709831, -0.6589691042900085, 0.042335111647844315, 0.0385466068983078, -0.33826321363449097, -0.3635930120944977, -0.3753107488155365, -0.029631735756993294, -0.4190751016139984, 0.09215635806322098, 0.29427990317344666, 0.46324384212493896, 0.6623831391334534, -0.24988023936748505, -0.36307239532470703, -1.0016429424285889, 0.7221010327339172, -0.8147376179695129, 0.5607587099075317, 0.15745608508586884, -0.23586653172969818, -0.09563110768795013, -0.8165897727012634, -0.43329542875289917, -0.23740258812904358, 0.07963414490222931, -0.0747665986418724, -0.47052353620529175, 0.24767400324344635, 0.42744964361190796, 0.6473249793052673, -0.44154122471809387, 0.1516374796628952, -0.23516717553138733, -0.32878386974334717, 0.456251323223114, 0.43351683020591736, -0.11261838674545288, 0.2561381161212921, -0.394894003868103, 0.21579128503799438, -0.5170673727989197, 0.03859289735555649, 0.33279430866241455, -0.18842943012714386, 0.17857316136360168, 0.461703896522522, -0.1845182329416275, 0.6585022807121277, 0.353539377450943, 0.04722419008612633, 0.06398095190525055, -0.5361299514770508, -0.0773012712597847, -0.29082679748535156, 0.6492506861686707, 0.10443643480539322, -0.046407658606767654, -0.48087167739868164, -0.3353591859340668, 0.3262781798839569, 0.1343642622232437, -0.5307251811027527, -0.36286553740501404, 0.30824944376945496, -0.3624069094657898, -0.19165712594985962, -0.41597092151641846, -0.4931660592556, -0.06377654522657394, -0.34670060873031616, 0.23403368890285492, -0.23664066195487976, -0.11172452569007874, 0.557922899723053, 0.43973270058631897, 0.2441575825214386, 0.27677085995674133, -1.149080514907837, 0.21603618562221527, 0.7095925211906433, 0.5781500935554504, -0.10943487286567688, 0.03452732414007187, -0.5543961524963379, 0.014858411625027657, -0.4897973835468292, 0.7931160926818848, -0.5602977275848389, 0.03540593013167381, -0.006097698584198952, -0.36653709411621094, -0.03049759939312935, -0.19388924539089203, 0.6229304671287537, -0.7815506458282471, -0.046306464821100235, -0.3201088309288025, -0.6061316132545471, 0.0853036418557167, 0.1370793879032135, -0.5495806932449341, 0.9790886640548706, -0.1800842583179474, -0.6686809062957764, 0.05724310502409935, -0.22706186771392822, -0.3693275451660156, 0.02133558690547943, 0.0015952234389260411, -0.09970317780971527, 0.3405759334564209, 0.3397980034351349, 0.20240618288516998, -0.341535747051239, -0.018773404881358147, -0.3743847608566284, -0.23010492324829102, 0.3301512598991394, -0.5338340997695923, 0.2945932149887085, 0.38104167580604553, -0.10474281758069992, -0.1453939974308014, -0.523874819278717, 0.08145803213119507, 0.10616439580917358, -0.3004699647426605, -0.1287716180086136, -0.016043392941355705, -0.03193821385502815, 0.18493635952472687, 0.6890136003494263, -0.33072134852409363, 0.2672109007835388, -0.7564264535903931, 0.34145060181617737, 0.6357545256614685, -0.08587925881147385, 0.45427805185317993, 0.029860543087124825, 0.6467928886413574, -0.21801576018333435, 0.06869152933359146, -0.4892181158065796, 0.02491304650902748, -1.259231448173523, -0.044664207845926285, 0.36127451062202454, 0.35289090871810913, -0.7071657776832581, 0.4895605742931366, 0.07754446566104889, -0.027369149029254913, -0.5928971767425537, 0.23887769877910614, 0.5771825313568115, 0.29261305928230286, 0.06210930645465851, -0.4299141764640808, -0.6050984263420105, -0.8081441521644592, -0.2989162504673004, -0.09968926012516022, 0.28205209970474243, 0.20528900623321533, 0.112002894282341, -0.3875453472137451, 0.6001034379005432, -0.42749926447868347, 0.059998489916324615, -0.21941395103931427, 0.08772684633731842, 0.2319440096616745, 0.27260470390319824, 0.4423028528690338, -0.2667882442474365, -0.39510637521743774, -0.02006869576871395, -0.6434929966926575, -0.16209878027439117, -0.051913097500801086, 0.06470215320587158, 0.4144977033138275, 0.7487291693687439, -0.5491318106651306, 0.20392058789730072, 0.38586941361427307, -0.15458305180072784, 0.24723994731903076, -0.29208874702453613, -0.13146354258060455, -0.691638708114624, 0.17437346279621124, -0.17140737175941467, -0.5274254679679871, -0.9170098900794983, 0.07175827026367188, 0.1076623946428299, 0.05676873028278351, 0.05505075305700302, 0.23387350142002106, -0.7583311796188354, -0.21747271716594696, -0.6803810000419617, 0.1720961034297943, -0.019310934469103813, 0.4685628116130829, -0.08643447607755661, 0.5977226495742798, 0.49922627210617065, -0.34305238723754883, 0.5522026419639587, -0.12200818955898285, -0.0492447093129158, 0.004356239456683397, -0.715112030506134, 0.5232148170471191, -0.383667528629303, 0.20128512382507324, -1.210721731185913, -0.11963724344968796, 0.29613909125328064, -0.38100960850715637, 0.4262006878852844, 0.2773423194885254, -0.49661877751350403, -0.5529090166091919, -0.20449960231781006, 0.6995955109596252, 0.4514603316783905, -0.4976450502872467, 0.5427370071411133, 0.2471202313899994, -0.17999424040317535, -0.9550390243530273, -0.5204684734344482, 0.2808648943901062, 0.06674673408269882, -0.499634325504303, -0.08005885034799576, -0.2232152670621872, -0.1958925724029541, 0.05699889361858368, -0.1463938057422638, 0.2970176339149475, 0.009911168366670609, -0.2791101634502411, 0.2494281679391861, -0.24635331332683563, 0.04737040773034096, -0.25669899582862854, -0.3386000692844391, 0.2788875997066498, -0.7642008662223816, 0.6852205991744995, -0.10435844957828522, -0.2516648471355438, -0.42341795563697815, 0.4092899262905121, 0.5140116214752197, -0.3081882894039154, 0.4167058765888214, 0.6175355315208435, -0.41256046295166016, -0.18484854698181152, -1.0665757656097412, -0.29708802700042725, -0.4804988503456116, 0.4343756139278412, -0.16177023947238922, -0.8874068260192871, 0.6665678024291992, 0.11403755843639374, 0.10172873735427856, 0.16508696973323822, 0.6329251527786255, -0.0341491736471653, 0.9624886512756348, 0.8462416529655457, -0.5491734743118286, 0.412491112947464, -0.10865239799022675, 0.32761964201927185, -0.7357380390167236, -0.08041168004274368, -0.18375074863433838, -0.3240374028682709, -0.22038617730140686, -0.5708370804786682, 0.17729423940181732, -0.009965491481125355, 0.39611268043518066, 0.12168766558170319, -0.3501059412956238, 0.5626774430274963, 0.17453262209892273, -0.00017887046851683408, 0.4346765875816345, 0.09488200396299362, 0.09751671552658081, -0.1841338574886322, -0.9582982063293457, -0.10305923968553543, 1.17898428440094, 0.7345221042633057, 1.000548005104065, -0.11436177790164948, 0.4035050868988037, 0.24466629326343536, 0.051011018455028534, -0.7542405724525452, 0.3532538115978241, -0.08704680949449539, -0.4155043661594391, -0.10407476872205734, -0.29792240262031555, -0.7952380776405334, 0.29609307646751404, -0.17899242043495178, -0.5616949796676636, 0.47548532485961914, 0.44618141651153564, -0.6302418112754822, 0.057431917637586594, -0.4777171313762665, 0.4580242335796356, -0.3136015832424164, -0.742236316204071, -0.3231026232242584, -0.5396002531051636, 0.5310572981834412, -0.15346935391426086, 0.08481777459383011, 0.12251672148704529, -0.37015506625175476, 0.3548487424850464, -0.23448513448238373, 0.7661569118499756, 0.07734088599681854, -0.5424544215202332, -0.13371562957763672, -0.1716172993183136, 0.9660406708717346, 0.14892256259918213, 0.14527064561843872, -0.1436741054058075, -0.3985050618648529, -0.38990238308906555, -0.5885249972343445, 0.8249008059501648, -0.6893692016601562, -0.6497713327407837, -0.46243029832839966, -0.9768962264060974, -0.32282599806785583, -0.04123659431934357, 0.1744597852230072, 0.5167580246925354, 0.04478883743286133, -0.03622563183307648, 1.2487071752548218, -0.012701893225312233, 0.4494780898094177, 0.479439914226532, -0.2982249855995178, -0.31954193115234375, 0.8220471143722534, -0.15389104187488556, 0.4215908646583557, 0.35678112506866455, -0.27032384276390076, -0.3750092685222626, -0.9823980927467346, 0.056981563568115234, 0.3674940764904022, -0.7288053631782532, -0.16601945459842682, -1.0244287252426147, -0.3461361229419708, -0.4029974937438965, -0.05975276231765747, -0.5062942504882812, -0.41145792603492737, -0.35755521059036255, 0.11919290572404861, 0.2781088054180145, 0.8853091597557068, -0.27332770824432373, -0.01955707184970379, -0.471042275428772, 0.43244031071662903, 0.25025516748428345, 0.10880346596240997, 0.1782642900943756, -0.6791496276855469, -0.49490392208099365, -0.1937437206506729, 0.15606507658958435, -0.3858565092086792, 0.6509506702423096, 0.0124352490529418, 0.6651688814163208, 0.4628787636756897, -0.013730661012232304, 0.5147855281829834, -0.43818458914756775, 0.32896682620048523, 0.23160681128501892, -0.7856341004371643, 0.24482154846191406, -0.47959956526756287, 0.39243313670158386, 0.33421850204467773, 0.2814309000968933, -0.3899475634098053, -0.64619380235672, -0.3781796991825104, -1.0739777088165283, 0.8777417540550232, 0.11946497857570648, 0.1424427628517151, 0.17147855460643768, 0.7037041783332825, -0.026675725355744362, 0.13012626767158508, -0.7777450680732727, -0.29578733444213867, 0.1388658583164215, -0.160150408744812, -0.30909937620162964, -0.7000776529312134, 0.06383981555700302, -0.09792975336313248, 0.416945219039917, 0.15835979580879211, 0.34632807970046997, 0.3121476471424103, -0.21385525166988373, -0.3919329345226288, 0.012447885237634182, 0.6569974422454834, 0.3638685345649719, -0.1865510195493698, 0.1506318897008896, 0.20366016030311584, -0.4677986204624176, 0.14720207452774048, 0.30583855509757996, -0.06786443293094635, -0.10767635703086853, 0.36679649353027344, 0.9280645251274109, 0.31147313117980957, -0.33949339389801025, 0.15785713493824005, -0.17162057757377625, -0.18078550696372986, -0.49407118558883667, -0.022671882063150406, 0.1624174863100052, 0.4374282658100128, 0.5349541306495667, 0.07933220267295837, 0.342353492975235, -0.4079338312149048, 0.07141618430614471, 0.6262193918228149, -0.12772820889949799, -0.2124352604150772, 0.8454345464706421, 0.4192451536655426, -0.083872489631176, 0.15777407586574554, -0.19104960560798645, -0.45230358839035034, 0.4286005198955536, 0.4780455529689789, 0.7261942625045776, -0.2782348096370697, -0.40970996022224426, 0.27351072430610657, 0.5535426735877991, 0.051427211612463, 0.18958239257335663, -0.05188298225402832, -0.5604597330093384, -0.789677083492279, -0.5869755744934082, -0.30801868438720703, 0.2306326925754547, -0.5203218460083008, -0.13957415521144867, -0.5110043883323669, -0.12380269914865494, -0.01596573367714882, 0.09702008962631226, -0.38653358817100525, -0.0625089555978775, 0.551057755947113, 0.5327109694480896, -0.5311160683631897, 0.8509979248046875, 0.459290087223053, 0.01426755078136921, -0.5458632111549377, 0.18371838331222534, -0.25244230031967163, -0.6510457396507263, 0.7114500999450684, -0.1034260168671608, -0.4442574977874756, 0.22116638720035553, -0.3772211968898773, -1.4343029260635376, 0.8065512180328369, 0.3969203233718872, -0.9989778995513916, -0.1382858157157898, 0.27659928798675537, 0.6495946049690247, -0.45532605051994324, 0.3609287440776825, 0.6326243281364441, 0.11638098955154419, 0.1309729516506195, -0.7645916938781738, -0.05572505667805672, -0.2800418436527252, 0.13110975921154022, 0.2683603763580322, -0.8635465502738953, 0.7853285074234009, -0.26339685916900635, -0.2551642060279846, 0.20193229615688324, 1.0195330381393433, -0.10672032833099365, 0.08391688764095306, 0.4145801067352295, 0.5145443081855774, 0.6626231670379639, -0.03987201303243637, 0.9997223019599915, -0.670548677444458, 0.2872805893421173, 0.8167321681976318, -0.29840975999832153, 0.6693161129951477, 0.4684697389602661, -0.18471196293830872, 0.09383165836334229, 0.3692653477191925, 0.24186979234218597, 0.44717296957969666, 0.05465206503868103, -0.3947451710700989, -0.3984384834766388, -0.13759122788906097, -0.4465363621711731, 0.1798413097858429, 0.7459222674369812, -0.40918266773223877, -0.11592880636453629, 0.14543454349040985, -0.19457797706127167, 0.14039644598960876, -0.3967672884464264, 0.6530346870422363, 0.1796104609966278, -0.590224027633667, 1.005867600440979, -0.08449822664260864, 0.8474518656730652, -0.5344797968864441, 0.32515814900398254, -0.3353334069252014, 0.4995579719543457, -0.09251528978347778, -0.31994640827178955, 0.1361876279115677, -0.08143436908721924, -0.4578132629394531, -0.18542437255382538, 0.9068448543548584, -0.7920007109642029, -0.6156843304634094, 0.39758577942848206, 0.19765996932983398, -0.07319501042366028, 0.30027633905410767, -0.5013843774795532, 0.4223781228065491, 0.2165796011686325, -0.18119704723358154, 0.24125470221042633, 0.3263729214668274, 0.39110445976257324, 0.7601015567779541, 0.7171919345855713, 0.0642075389623642, 0.21440215408802032, -0.012371848337352276, 1.2381258010864258, -0.5235145688056946, -0.4348529875278473, -0.7118222713470459, 0.2440861165523529, 0.10503610223531723, -0.01978720724582672, 0.8340230584144592, 0.44709068536758423, 0.4935099184513092, -0.024380814284086227, 0.7999463677406311, 0.25316929817199707, 0.48334044218063354, -0.6656286120414734, 0.32972580194473267, -0.41038936376571655, 0.5353386402130127, -0.08425101637840271, -0.8864708542823792, -0.1728849858045578, 0.47515958547592163, -0.44264981150627136, 0.016942469403147697, 0.7094833850860596, 0.7576823830604553, 0.09686693549156189, -0.2255481630563736, 0.41357648372650146, 0.3900057375431061, -0.0030790988821536303, 1.0185954570770264, 1.0627772808074951, -0.5209226608276367, 0.6154327392578125, -0.21535594761371613, -0.24486644566059113, -0.33214274048805237, -0.6735332012176514, -1.0508311986923218, -0.18676412105560303, -0.24001052975654602, -0.18365921080112457, 0.4044327735900879, 0.9334508180618286, 0.447913259267807, -0.6898282766342163, -0.1055426076054573, -0.11883429437875748, -0.31140241026878357, 0.22836542129516602, -0.1479007452726364, 0.22433681786060333, -0.8633954524993896, -0.8591169714927673, 0.42839086055755615, 0.4541875422000885, 0.003157178871333599, -0.6899145841598511, 0.05991745740175247, -0.16920064389705658, 0.23883391916751862, 0.6350106000900269, 0.4884065091609955, -0.817199170589447, 0.00567115843296051, 0.3435766100883484, -0.22098448872566223, -0.1253943294286728, 0.9073749780654907, -0.6740010380744934, 0.37433502078056335, 0.504536509513855, 0.7270690202713013, 0.5816572904586792, 0.09114128351211548, 0.7919526696205139, -0.5355520248413086, 0.5486822128295898, 0.4367416799068451, 0.3133671283721924, 0.18092375993728638, -0.6559482216835022, 0.14560961723327637, 0.19436129927635193, -0.7689990401268005, -0.8382856845855713, 0.2389473170042038, -0.8967524170875549, 0.009870927780866623, 1.2442480325698853, -0.08436889946460724, -0.18436138331890106, -0.369034081697464, -0.03807896375656128, -0.1549208164215088, -0.44388216733932495, 0.6970736980438232, 0.587203323841095, -0.1144024133682251, -0.42833831906318665, -0.4901404082775116, 0.5214366316795349, 0.7840264439582825, -0.6260026693344116, 0.5133344531059265, 0.6482090353965759, -0.09357327967882156, 0.12927529215812683, 0.5177116394042969, -0.03201321139931679, 0.39692920446395874, 0.022987110540270805, 0.0468154214322567, -0.022563239559531212, -0.18093372881412506, -0.6429533362388611, 0.008445690385997295, 0.2667942941188812, 0.17340518534183502 ]
http://arxiv.org/abs/2406.07365v1
http://arxiv.org/pdf/2406.07365v1
BvSP: Broad-view Soft Prompting for Few-Shot Aspect Sentiment Quad Prediction
2024-06-11T15:32:32
2024-06-11T15:32:32
Yinhao Bai, Yalan Xie, Xiaoyi Liu, Yuhua Zhao, Zhixin Han, Mengting Hu, Hang Gao, Renhong Cheng
cs.CL
cs.CL, cs.AI
Aspect sentiment quad prediction (ASQP) aims to predict four aspect-based elements, including aspect term, opinion term, aspect category, and sentiment polarity. In practice, unseen aspects, due to distinct data distribution, impose many challenges for a trained neural model. Motivated by this, this work formulates ASQP into the few-shot scenario, which aims for fast adaptation in real applications. Therefore, we first construct a few-shot ASQP dataset (FSQP) that contains richer categories and is more balanced for the few-shot study. Moreover, recent methods extract quads through a generation paradigm, which involves converting the input sentence into a templated target sequence. However, they primarily focus on the utilization of a single template or the consideration of different template orders, thereby overlooking the correlations among various templates. To tackle this issue, we further propose a Broadview Soft Prompting (BvSP) method that aggregates multiple templates with a broader view by taking into account the correlation between the different templates. Specifically, BvSP uses the pre-trained language model to select the most relevant k templates with Jensen-Shannon divergence. BvSP further introduces soft prompts to guide the pre-trained language model using the selected templates. Then, we aggregate the results of multi-templates by voting mechanism. Empirical results demonstrate that BvSP significantly outperforms the stateof-the-art methods under four few-shot settings and other public datasets. Our code and dataset are available at https://github.com/byinhao/BvSP.
[ -0.5233110785484314, -0.2863398492336273, 0.42011210322380066, 0.3821938931941986, -0.5262192487716675, 0.0032520703971385956, -0.2817424237728119, 0.0049276286736130714, 0.026195509359240532, 0.3864501416683197, -0.7731465101242065, -0.6999785900115967, -0.39768391847610474, 0.12270325422286987, -0.0811467096209526, 1.1082053184509277, 0.3863939344882965, 0.15348897874355316, -0.1438179612159729, -0.32437747716903687, -0.43920594453811646, -0.21338823437690735, -0.35763269662857056, -0.0945366844534874, 0.4467974901199341, 0.6502253413200378, 0.3638085722923279, -0.058125559240579605, 0.13300074636936188, 0.2534429430961609, -0.33036524057388306, 0.16811907291412354, -0.3203141689300537, 0.2699512839317322, -0.07098007947206497, -0.5543537139892578, -0.343767374753952, -0.2911866009235382, 0.6512720584869385, 0.6256238222122192, 0.02205093763768673, 0.29426610469818115, 0.3541838228702545, 0.8118017911911011, -0.923465371131897, 0.007371365092694759, -0.7643580436706543, 0.13257507979869843, -0.20187634229660034, 0.1618538498878479, -0.21604250371456146, -0.24134355783462524, 0.12910810112953186, -0.08515966683626175, 0.29587170481681824, -0.03846701607108116, 0.4838602840900421, -0.09444423019886017, -0.5675574541091919, 0.35114213824272156, -0.7156345248222351, 0.7108063101768494, -0.6173006892204285, 0.34024778008461, 0.08385790884494781, 0.2862437069416046, 0.03423807770013809, -0.4970772862434387, -0.6653409600257874, 0.2329251766204834, 0.3757856488227844, 0.4651191830635071, -0.13874834775924683, 0.2899821400642395, 0.29905593395233154, 0.3297385275363922, -0.5079392790794373, 0.07971712201833725, -0.3463471531867981, -0.13318274915218353, 0.48568499088287354, 0.3611083924770355, -0.3310632109642029, -0.6269960403442383, -0.4016682803630829, 0.08507169038057327, -0.691848874092102, 0.5470728874206543, 0.19368977844715118, 0.4909313917160034, -0.42453858256340027, 0.7094853520393372, -0.38080793619155884, 0.6846773624420166, 0.1896863877773285, 0.1804380565881729, 0.3397647440433502, -0.5227102637290955, -0.32830801606178284, -0.2974209785461426, 0.9700736999511719, 0.4697459042072296, 0.08629772812128067, 0.3850371837615967, -0.13785596191883087, -0.17354659736156464, 0.30443674325942993, -0.5912033915519714, 0.09965819120407104, 0.4739842712879181, -0.4567070007324219, -0.22670979797840118, -0.1369818150997162, -0.9004386067390442, -0.546617865562439, -0.12231658399105072, 0.07032391428947449, -0.5297068953514099, -0.09715747088193893, -0.0412532202899456, -0.28542429208755493, 0.28654560446739197, 0.3942676782608032, -0.9681665301322937, 0.14416749775409698, 0.7781721949577332, 0.9642801880836487, -0.09817259758710861, -0.2401750534772873, -0.7042115926742554, -0.20526716113090515, -0.2248184233903885, 1.0718451738357544, -0.5923224687576294, -0.5210155844688416, 0.3743366003036499, -0.3566073179244995, 0.3386426270008087, -0.10486426204442978, 0.48519256711006165, -0.21163643896579742, 0.2702544033527374, -0.35405105352401733, -0.2512247860431671, -0.3265111446380615, 0.7699408531188965, -0.36402055621147156, 0.6992207169532776, 0.1349911242723465, -0.9632086753845215, 0.6083486080169678, -0.2609844505786896, -0.16284890472888947, 0.16152501106262207, -0.47318828105926514, -0.6121100783348083, 0.529918909072876, 0.5606890916824341, 0.6931984424591064, -0.17321516573429108, -0.23503072559833527, -0.6080830693244934, -0.04638142138719559, 0.1627258062362671, -0.31062227487564087, 0.4851973354816437, -0.2239443063735962, 0.09986157715320587, 0.25804728269577026, -0.7166509628295898, 0.11821435391902924, -0.35201120376586914, -0.17003494501113892, -0.2757893204689026, -0.11216115951538086, 0.04240092635154724, 0.35558003187179565, -0.15963847935199738, -0.5102111101150513, 0.5941388010978699, -0.9609287977218628, -0.09106848388910294, 0.8154981732368469, 0.32835593819618225, 0.5448027849197388, 0.030403299257159233, 0.8672863841056824, 0.4747738242149353, 0.31492137908935547, -0.1164545938372612, -0.655238926410675, -0.4218698740005493, -0.2938183546066284, 0.27999165654182434, 0.31229937076568604, -1.0748722553253174, 0.019668735563755035, -0.15790192782878876, -0.3224284052848816, -0.5463851094245911, 0.2411053329706192, 0.5558263063430786, 0.2614201605319977, 0.3785924017429352, -0.6344323754310608, -0.5245577692985535, -0.7663780450820923, -0.39716804027557373, -0.270762175321579, 0.016441861167550087, 0.33949291706085205, 0.14588074386119843, -0.07032682001590729, 0.9166579842567444, -0.7488905191421509, -0.4334133565425873, -0.6083605885505676, 0.31003889441490173, 0.5321423411369324, 0.07192381471395493, 0.5169687867164612, -0.5811454057693481, -0.5296972393989563, -0.2892240285873413, -0.2525721490383148, 0.16774871945381165, 0.04311450198292732, 0.04405384883284569, 0.2545657157897949, 0.11771094799041748, -0.4844905436038971, 0.30068641901016235, 0.5658493041992188, -0.3542400300502777, 0.6948743462562561, 0.31088191270828247, -0.048843275755643845, -1.2793937921524048, -0.31368356943130493, 0.3213450610637665, -0.15347003936767578, -0.40163812041282654, -0.3258460760116577, -0.1143866777420044, 0.01973331905901432, -0.7758550047874451, 0.36836838722229004, -0.2704009711742401, -0.10100562125444412, -0.16695214807987213, -0.4460117816925049, 0.21966607868671417, 0.4697950780391693, 0.1818968802690506, 0.2508775591850281, 0.8526520133018494, -0.39534491300582886, 0.3404259979724884, 0.4199979603290558, 0.003681655740365386, 0.4363729953765869, -0.37114301323890686, 0.19688639044761658, -0.4598247706890106, 0.3318716883659363, -1.0154273509979248, 0.12838619947433472, 0.20017500221729279, -0.5743795037269592, 0.2937387526035309, -0.7328391671180725, -0.11449217796325684, -0.32953977584838867, -0.789208710193634, 0.31898778676986694, 0.263999879360199, -0.1313289850950241, 0.67970871925354, -0.0672769770026207, -0.3297172784805298, -0.8129972815513611, -0.46951767802238464, -0.12566636502742767, -0.007295998279005289, -0.41087105870246887, 0.08015857636928558, 0.08685372769832611, 0.024610299617052078, -0.344526469707489, 0.019789764657616615, 0.06591401249170303, -0.2108449786901474, 0.5368596315383911, 0.3160860240459442, -0.5118486285209656, 0.03901619836688042, 0.19960017502307892, -0.12159130722284317, 0.08411426842212677, -0.23362873494625092, 0.4320400059223175, -0.4214074909687042, -0.157802551984787, -0.18382993340492249, 0.43465712666511536, 0.24174854159355164, -0.09470879286527634, 0.39009004831314087, 0.6563314199447632, -0.17195332050323486, -0.29337531328201294, -0.3555540442466736, -0.16501350700855255, -0.4613325893878937, 0.23787833750247955, -0.4574822187423706, -0.5898131728172302, 0.22891290485858917, -0.01247932855039835, 0.24984416365623474, 0.2009640485048294, 0.7252918481826782, -0.0334642268717289, 1.2122807502746582, 0.8118973970413208, -0.35735654830932617, 0.6573631167411804, -0.6027668118476868, 0.013235962949693203, -0.7850860953330994, -0.24936099350452423, -0.4147217273712158, -0.21749474108219147, -0.6987201571464539, -0.3133919835090637, 0.5639601945877075, -0.07936888933181763, -0.039987076073884964, -0.157504603266716, -0.3763973116874695, 0.18294359743595123, 0.42326539754867554, -0.044227756559848785, 0.15156428515911102, 0.09442780166864395, -0.21702846884727478, -0.246074840426445, -0.590809166431427, -0.04354444518685341, 1.203436017036438, 0.3682754635810852, 0.6104760766029358, 0.12632237374782562, 0.8922685384750366, 0.028967948630452156, 0.14616677165031433, -1.147778868675232, 0.4755706489086151, -0.33455991744995117, -0.35438573360443115, -0.005305956583470106, -0.21085016429424286, -0.8445265293121338, 0.20406486093997955, -0.7253409624099731, -0.6832876801490784, 0.35103312134742737, 0.28088802099227905, -0.8587263822555542, -0.2644287645816803, -0.45736128091812134, 0.5328521132469177, 0.003943104762583971, -0.5366218090057373, -0.19035029411315918, -0.6759283542633057, 0.3834537863731384, 0.37736356258392334, 0.07671721279621124, -0.034824617207050323, -0.04577966779470444, 0.5115810632705688, -0.2034800797700882, 0.9253216981887817, -0.2596011757850647, 0.4407637119293213, 0.30048227310180664, 0.03049190156161785, 0.2588786482810974, 0.4142078161239624, -0.05511289834976196, 0.18017125129699707, -0.11780161410570145, -0.3211888372898102, -0.517072319984436, 0.41366061568260193, -0.7548987865447998, -0.4920938313007355, -0.5891458988189697, -0.11341772228479385, -0.609324038028717, 0.20674769580364227, 0.6763100028038025, 0.5596507787704468, -0.030285870656371117, 0.11152379959821701, 0.2652820348739624, 0.038281239569187164, 0.5068606734275818, 0.39410966634750366, -0.31221628189086914, -0.46007630228996277, 0.7939391136169434, -0.06087706238031387, 0.05845518410205841, 0.09825807064771652, 0.5390731692314148, -0.23822085559368134, -0.8347315192222595, -0.5131087303161621, 0.10212524980306625, -0.5780736207962036, -0.6229104995727539, -0.532975971698761, -0.15730655193328857, -0.725884735584259, -0.27219992876052856, -0.5213136672973633, -0.3518386483192444, -0.08597914129495621, -0.07930660247802734, 0.3878464698791504, 0.6687813997268677, 0.04953324794769287, 0.246406689286232, -0.9499714374542236, 0.49158579111099243, 0.37642702460289, 0.3078075051307678, -0.2566487193107605, -0.45555996894836426, -0.07750223577022552, 0.023678008466959, -0.5810455083847046, -0.866818368434906, 0.5825338959693909, 0.29893311858177185, 0.1047193706035614, 0.6430143713951111, -0.03596305474638939, 0.5871263742446899, -0.3701501190662384, 1.1438661813735962, 0.5154624581336975, -0.8705816268920898, 0.7261514067649841, -0.2965969145298004, 0.4819028079509735, 0.8901665210723877, 0.5275349020957947, -0.4604530334472656, -0.49846819043159485, -0.6382548809051514, -1.028235912322998, 0.6792744398117065, -0.012981484644114971, 0.24907849729061127, 0.18858766555786133, 0.27808788418769836, 0.2842634320259094, 0.429263174533844, -0.6244112849235535, -0.22892485558986664, -0.6044179797172546, -0.2889157235622406, 0.07993270456790924, -0.2161659300327301, 0.041961804032325745, -0.30616241693496704, 0.5049126744270325, -0.6468366384506226, 0.19137904047966003, -0.03332448750734329, 0.22797495126724243, -0.08108469843864441, 0.38445597887039185, 0.25838494300842285, 0.23772920668125153, -0.14401812851428986, -0.0032346537336707115, 0.31797701120376587, -0.4984567165374756, -0.12521317601203918, -0.11585215479135513, -0.16950751841068268, 0.08032301068305969, 0.3864114284515381, 0.795853316783905, 0.02486666850745678, -0.21724118292331696, 1.0414698123931885, -0.2521718442440033, -0.004648381378501654, -0.3077754080295563, 0.0815131887793541, -0.23229162395000458, 0.5267503261566162, 0.2839955985546112, 0.12037663161754608, 0.5239071846008301, -0.680955708026886, -0.10063827037811279, 0.4989986717700958, -0.6863352060317993, -0.5525680184364319, 0.2714410424232483, 0.4257652461528778, -0.04129454866051674, 0.6369407773017883, -0.3714008927345276, -0.7404361963272095, 0.29666781425476074, 0.1657276749610901, 0.9615978598594666, -0.07963062077760696, 0.40088367462158203, 0.3011871874332428, -0.09385751932859421, -0.06311815232038498, 0.7047713994979858, -0.05746801197528839, -0.8676276206970215, -0.571334183216095, -0.7155173420906067, -0.5139875411987305, 0.20451195538043976, -0.7302213311195374, 0.7556025385856628, -0.704306960105896, -0.2334887683391571, 0.2366594523191452, 0.17402951419353485, -0.8132551312446594, 0.33960840106010437, 0.7509932518005371, 0.7788200378417969, -1.1762100458145142, 0.6535959243774414, 0.944058895111084, -0.4573037922382355, -0.7544384002685547, 0.31050458550453186, 0.3804433047771454, -0.7252970933914185, 0.2990703582763672, 0.31759557127952576, -0.19375446438789368, -0.08252011984586716, -0.7450312972068787, -0.4605475664138794, 0.6643628478050232, -0.0019355613039806485, -0.5475834608078003, -0.009319700300693512, -0.13221091032028198, 0.47958076000213623, -0.35843998193740845, 0.24320445954799652, 0.3128272294998169, 0.228764608502388, 0.2958691120147705, -0.48165813088417053, 0.0915113091468811, -0.0925072580575943, 0.02011113055050373, 0.04241441935300827, -0.6111896634101868, 0.4742458164691925, -0.3363615572452545, 0.18030257523059845, -0.39611881971359253, 1.1888493299484253, 0.4162379801273346, 0.5785228610038757, 0.6537408828735352, 0.03114745393395424, 0.247172012925148, 0.279311865568161, 0.8378514051437378, -0.0033677732571959496, 0.1281074583530426, 0.8018680810928345, -0.24269017577171326, 1.0066877603530884, 0.5488500595092773, -0.18253599107265472, 0.7710238695144653, 0.40160927176475525, -0.005373931955546141, 0.6384073495864868, -0.08635146915912628, -0.4032050371170044, -0.2676692306995392, 0.007055975496768951, -0.23153875768184662, 0.892322838306427, 0.6061468124389648, -0.12461025267839432, -0.0691615417599678, 0.08377578109502792, -0.17550678551197052, -0.24072124063968658, -0.5841080546379089, 1.0129868984222412, 0.45877426862716675, -0.8900935053825378, 0.35695451498031616, -0.041439276188611984, 0.7810875177383423, -0.4509967267513275, 0.0728335827589035, -0.11647116392850876, 0.10171914845705032, -0.5303977131843567, -1.064408779144287, 0.2805190086364746, -0.046847544610500336, -0.16212865710258484, -0.26594096422195435, 0.8868062496185303, -0.33528605103492737, -0.5361009836196899, 0.0725918859243393, 0.5318248271942139, -0.13176771998405457, -0.26570776104927063, -0.8473010659217834, -0.21084147691726685, 0.001646725577302277, -0.5710548162460327, 0.3228992223739624, 0.610636293888092, -0.10406443476676941, 0.3529605567455292, 0.4423248767852783, 0.31785041093826294, -0.2844828963279724, 0.3757131099700928, 1.1631706953048706, -0.8472888469696045, -0.6316923499107361, -0.8395426273345947, 0.7773973345756531, 0.058627959340810776, -0.6820246577262878, 0.4573889970779419, 0.4091545343399048, 0.2840102016925812, 0.06681934744119644, 0.9629976749420166, 0.18481354415416718, 0.35035672783851624, -0.6526914834976196, 0.32740893959999084, -0.46860939264297485, 0.15935631096363068, -0.29423797130584717, -0.7093862891197205, -0.25314879417419434, 0.28533485531806946, -0.3644726872444153, -0.0418219193816185, 0.661923348903656, 0.5959805250167847, -0.10270727425813675, 0.011765886098146439, 0.2827165126800537, 0.32366085052490234, 0.024099472910165787, 0.4594338834285736, 0.731216311454773, 0.015613039955496788, 0.5768460035324097, -0.3577626049518585, -0.1183074340224266, -0.5268082022666931, -0.977349579334259, -0.9086090326309204, -0.6158673167228699, -0.39382681250572205, -0.7260041832923889, -0.1423109769821167, 1.0776132345199585, 0.47962406277656555, -0.6892713308334351, 0.14953447878360748, -0.012972087599337101, 0.2528553605079651, -0.275048166513443, -0.1952846497297287, 0.032482363283634186, -0.25320717692375183, -0.4283134639263153, 0.22587120532989502, 0.4141162633895874, -0.06807155162096024, -0.37620994448661804, 0.2682745158672333, 0.038823630660772324, 0.11132310330867767, 0.7882362008094788, 0.2535039484500885, -0.31954118609428406, -0.30611950159072876, -0.0988970473408699, -0.03355277329683304, 0.20195744931697845, 0.8535957336425781, -0.9458207488059998, 0.46959155797958374, 0.8327850103378296, 0.1632603406906128, 0.769180178642273, 0.06572841852903366, 0.7800202965736389, -1.3579245805740356, 0.18648222088813782, 0.6826688647270203, 0.298990398645401, 0.3875487744808197, -0.3507706820964813, 0.03181556239724159, 0.20326854288578033, -0.16347821056842804, -0.7059836983680725, 0.4998696744441986, -1.1982239484786987, -0.14386016130447388, 1.4565740823745728, -0.06863728165626526, -0.5042634010314941, -0.3612842261791229, -0.20847150683403015, 0.0339956060051918, -0.6412290930747986, 0.6194297075271606, 0.37220335006713867, -0.32294750213623047, -0.3189181685447693, -0.19992567598819733, 0.5558789968490601, 0.4696270227432251, -0.48185381293296814, -0.1309850811958313, 0.5619246363639832, 0.240351602435112, -0.05200430005788803, 0.7554041147232056, 0.28868523240089417, 0.3900224566459656, -0.039533499628305435, 0.16957919299602509, -0.029941381886601448, -0.3318561911582947, -0.7557700276374817, 0.39167842268943787, 0.290751576423645, -0.286022424697876 ]
http://arxiv.org/abs/2406.10268v1
http://arxiv.org/pdf/2406.10268v1
Autograding Mathematical Induction Proofs with Natural Language Processing
2024-06-11T15:30:26
2024-06-11T15:30:26
Chenyan Zhao, Mariana Silva, Seth Poulsen
cs.AI
cs.AI, cs.CL, cs.HC
In mathematical proof education, there remains a need for interventions that help students learn to write mathematical proofs. Research has shown that timely feedback can be very helpful to students learning new skills. While for many years natural language processing models have struggled to perform well on tasks related to mathematical texts, recent developments in natural language processing have created the opportunity to complete the task of giving students instant feedback on their mathematical proofs. In this paper, we present a set of training methods and models capable of autograding freeform mathematical proofs by leveraging existing large language models and other machine learning techniques. The models are trained using proof data collected from four different proof by induction problems. We use four different robust large language models to compare their performances, and all achieve satisfactory performances to various degrees. Additionally, we recruit human graders to grade the same proofs as the training data, and find that the best grading model is also more accurate than most human graders. With the development of these grading models, we create and deploy an autograder for proof by induction problems and perform a user study with students. Results from the study shows that students are able to make significant improvements to their proofs using the feedback from the autograder, but students still do not trust the AI autograders as much as they trust human graders. Future work can improve on the autograder feedback and figure out ways to help students trust AI autograders.
[ -0.18213972449302673, -0.5796587467193604, 0.31985700130462646, 0.2871450185775757, 0.04388706758618355, 0.17255333065986633, -0.2271149754524231, -0.49243825674057007, -0.33563441038131714, 0.3497847616672516, -0.2189842015504837, -0.20814788341522217, -0.5646165013313293, 0.32496756315231323, -0.5060808062553406, 0.8600832223892212, -0.44942647218704224, 0.49833598732948303, -0.7449150681495667, -0.009364668279886246, -0.3852720856666565, -0.6734194755554199, -0.8848451972007751, -0.7411023378372192, -0.25665804743766785, 0.392309308052063, 0.5733758807182312, 0.8026832938194275, 0.383650004863739, 0.4772930443286896, 0.2076486051082611, -0.029914915561676025, -0.055150069296360016, 0.19768281280994415, -0.2354615479707718, -0.6222332119941711, -0.3066265285015106, 0.2281569391489029, 0.4582459032535553, 0.6632220149040222, -0.19740737974643707, 0.11925346404314041, 0.11362934112548828, 0.6674345135688782, -0.5127773284912109, 0.7013509273529053, -0.3809361755847931, 0.12210136651992798, 0.1268673539161682, 0.039416760206222534, -0.636239230632782, -0.7044637799263, -0.03186468407511711, -0.6838293075561523, 0.36666858196258545, -0.35019651055336, 0.6501681804656982, 0.317719429731369, -0.17219209671020508, -0.5956239700317383, -0.8340556621551514, 0.8225151300430298, -0.6600688099861145, 0.2124994993209839, 0.6020300388336182, 0.5924648642539978, 0.097256600856781, -0.5166327357292175, -0.50704425573349, -0.5159844756126404, 0.006866765208542347, 0.07375108450651169, -0.019659604877233505, -0.11590749025344849, 0.40922534465789795, 0.6496249437332153, -0.37464481592178345, 0.20247432589530945, -0.1488044559955597, -0.3729349970817566, 0.8830878734588623, 0.21130302548408508, 0.3550851047039032, -0.11066436767578125, 0.10544776916503906, -0.4552503526210785, -0.5363031625747681, 0.28696537017822266, 0.4012143909931183, 0.045096248388290405, 0.04313303157687187, 0.6658440828323364, -0.33923348784446716, 0.7085682153701782, 0.33353519439697266, 0.03445488587021828, 0.15640398859977722, -0.20298318564891815, -0.06133085861802101, -0.03957530856132507, 0.6565826535224915, 0.08196713775396347, 0.43081846833229065, -0.1896507292985916, -0.6208237409591675, 0.5159515142440796, -0.17463211715221405, -0.9066162109375, -0.6455700993537903, -0.18222938477993011, -0.464606374502182, -0.46727269887924194, -0.2819066345691681, -0.613616406917572, -0.16131068766117096, -0.9229748249053955, 0.6810150146484375, -0.47717049717903137, 0.09378109127283096, 0.39126214385032654, -0.04172096401453018, -0.04178518429398537, 0.5026971101760864, -1.0574012994766235, 0.42968499660491943, 0.45250457525253296, 0.5090785026550293, 0.14358974993228912, -0.329432874917984, -0.7334000468254089, -0.12988914549350739, -0.11076628416776657, 1.0370419025421143, -0.5176369547843933, -0.06087469682097435, 0.024513334035873413, -0.17284241318702698, -0.3065757155418396, -0.7396842241287231, 0.7176679968833923, -0.5872399806976318, 0.6700094938278198, 0.08154290914535522, -0.8220873475074768, -0.023605667054653168, 0.2042417824268341, -0.40572038292884827, 0.9909510016441345, 0.059859223663806915, -0.40568915009498596, 0.22655414044857025, -1.004799723625183, -0.4798175096511841, 0.044060032814741135, 0.203075110912323, -0.5275099873542786, 0.09175457060337067, 0.6555238366127014, 0.4234139323234558, -0.04830766096711159, 0.0858825147151947, -0.26358562707901, 0.16911457479000092, 0.19059082865715027, -0.3926229476928711, 0.9461775422096252, 0.19834956526756287, -0.4139779806137085, 0.09429425746202469, -0.8592947125434875, 0.15170025825500488, 0.3508043587207794, -0.25889432430267334, -0.4003133773803711, -0.011612478643655777, -0.27319270372390747, 0.373267263174057, 0.09865987300872803, -0.6336774826049805, 0.310754656791687, -0.6897848844528198, 0.6242454051971436, 0.5974841117858887, -0.053775712847709656, 0.5335401296615601, -0.4733317196369171, 0.4275721609592438, 0.13512150943279266, 0.09353413432836533, -0.2442261278629303, -0.3676428198814392, -0.9098640084266663, -0.020713509991765022, 0.4441537857055664, 0.6286918520927429, -0.8480026721954346, 0.4821620583534241, -0.01266733929514885, -0.410696417093277, -0.6060171723365784, 0.5174192190170288, 0.20093666017055511, 0.6454545855522156, 0.6480579376220703, -0.262129545211792, -0.42555367946624756, -0.5431278944015503, -0.5818966031074524, -0.17968307435512543, -0.1749373823404312, -0.24426567554473877, 0.3817119300365448, -0.20988893508911133, 1.0654098987579346, -0.5000755190849304, -0.34065115451812744, -0.025613421574234962, 0.5691138505935669, 0.027341756969690323, 0.626736044883728, 0.3607608675956726, -0.10504184663295746, -0.5891739726066589, -0.4311927855014801, -0.8251134753227234, -0.10314490646123886, 0.04796265438199043, -0.08093275874853134, 0.25656449794769287, 0.34687647223472595, -0.25649601221084595, 0.569778561592102, 0.1667100340127945, -0.3292384445667267, 0.6494951248168945, -0.3544272482395172, -0.1422782838344574, -0.7266203165054321, -0.4113811254501343, 0.15877747535705566, -0.6639196872711182, -0.2510626018047333, 0.07581556588411331, 0.08284711837768555, -0.2315090447664261, -0.10455314815044403, 0.5097036957740784, -0.5364533066749573, 0.26484474539756775, -0.3264162838459015, -0.11995992064476013, 0.0024492964148521423, 0.054185230284929276, 0.09935196489095688, 0.5746645927429199, 0.7919766306877136, -0.6935843825340271, 0.5849407911300659, 0.25555455684661865, -0.25163817405700684, 0.4927738308906555, -0.8022500872612, 0.11087629944086075, -0.15136384963989258, 0.2427404224872589, -0.966076672077179, -0.005494330544024706, -0.018572073429822922, -0.6256847977638245, 0.2121557593345642, -0.39927393198013306, -0.6654881238937378, -0.5150129199028015, -0.15061721205711365, 0.33369094133377075, 0.37390458583831787, -0.8594824075698853, 0.546190619468689, 0.10487032681703568, -0.26058048009872437, -0.25913646817207336, -0.3234723210334778, 0.05243575945496559, 0.15973302721977234, -0.7655161619186401, 0.18677513301372528, -0.32192912697792053, -0.34281545877456665, 0.13288350403308868, 0.3158872425556183, -0.155594140291214, 0.12849965691566467, 0.19218891859054565, 0.3535608947277069, -0.1032269150018692, 0.1286403387784958, 0.2067699134349823, -0.572271466255188, 0.4841344654560089, -0.5087596774101257, 0.4395485818386078, -0.22720034420490265, -0.29784318804740906, -0.650303840637207, 0.18264983594417572, 0.6707916259765625, -0.5007157921791077, 0.5974113941192627, 0.3505019247531891, -0.7055304646492004, -0.2953777313232422, -0.6188787817955017, -0.5471727252006531, -0.4512909948825836, -0.058114420622587204, -0.1263672560453415, -0.47516611218452454, 0.3043256103992462, 0.03862178698182106, 0.4544316530227661, 0.7568468451499939, 0.8761889934539795, 0.01717785745859146, 1.3655812740325928, 0.6080761551856995, -0.11600989103317261, 0.42492789030075073, -0.5873315334320068, 0.23728780448436737, -0.2993743419647217, -0.1543762981891632, -0.7635329961776733, 0.07668150216341019, 0.005438046529889107, -0.16683804988861084, -0.061422381550073624, 0.12219918519258499, -0.030573170632123947, 0.3246341943740845, -0.5835525989532471, 0.7842550277709961, 0.5553250908851624, -0.09677574038505554, 0.6246250867843628, 0.34526798129081726, -0.4857758581638336, -0.18266889452934265, -0.5071097016334534, -0.5474452972412109, 1.1530088186264038, 0.33050763607025146, 0.6745024919509888, -0.13602067530155182, 0.7266976833343506, 0.42228609323501587, 0.9280837178230286, -0.9017587304115295, 0.34928572177886963, -0.12308235466480255, -0.5296711921691895, -0.353096067905426, -0.7374168038368225, -0.6393610835075378, -0.028654299676418304, -0.33643990755081177, -0.17106732726097107, -0.08849722892045975, 0.1556209772825241, -0.29053163528442383, 0.15544238686561584, -0.6971747875213623, 0.6690654158592224, -0.20122601091861725, -0.5003580451011658, -0.3600502908229828, -0.21559791266918182, 0.14666937291622162, 0.14671917259693146, 0.2691730856895447, 0.035618916153907776, 0.7044305801391602, 0.8842818140983582, -1.0373822450637817, 0.7148212790489197, -0.4558311998844147, -0.41150274872779846, 0.47039398550987244, 0.282949298620224, 0.39093831181526184, 0.44644612073898315, -0.2759377658367157, -0.23636388778686523, 0.04051722213625908, -0.26526960730552673, -0.6269145607948303, 0.6116583347320557, -1.1480426788330078, -0.2789002060890198, -0.5234213471412659, -0.49172332882881165, -0.15714740753173828, 0.14187254011631012, 0.36314061284065247, 0.6046848297119141, 0.20982198417186737, -0.2485792338848114, 0.5887563824653625, 0.2277747541666031, 0.7894518971443176, 0.44923165440559387, -0.3243354260921478, -0.7102503776550293, 0.9683247804641724, 0.2017044872045517, 0.023643461987376213, 0.17912201583385468, 0.31451037526130676, -0.7655094265937805, -0.3393445909023285, -0.6457889080047607, 0.30462637543678284, -0.8590049147605896, -0.47229233384132385, -0.5499399900436401, -0.3185940086841583, -0.7637481093406677, -0.13088975846767426, -0.42252862453460693, -0.9182681441307068, -0.11715761572122574, -0.05942708998918533, 0.19290009140968323, 0.6628133654594421, -0.2887008488178253, 0.12227312475442886, -0.6998870968818665, 0.38153624534606934, 0.694187343120575, 0.5419602394104004, 0.16548475623130798, -0.745043158531189, -0.2564416825771332, 0.23984982073307037, -0.610774576663971, -0.48322734236717224, 0.5614935159683228, 0.2565807104110718, 0.4968118369579315, 0.45136311650276184, 0.09369228035211563, 0.6671748161315918, -0.32658690214157104, 0.4805125892162323, 0.1703343391418457, -1.2845392227172852, 0.4977208375930786, 0.010064344853162766, 0.022102119401097298, 0.6382229328155518, 0.34027162194252014, -0.4183393716812134, -0.3236231207847595, -0.4609161913394928, -0.4850535988807678, 0.41115647554397583, 0.12793241441249847, -0.0578775517642498, 0.17743483185768127, 0.581596314907074, 0.3117712736129761, -0.10564456880092621, -0.8322052955627441, -0.10733804106712341, -0.7070425152778625, -0.47406062483787537, -0.22568944096565247, -0.060606975108385086, -0.02929508127272129, -0.6437048316001892, 0.7501872777938843, -0.1574353724718094, 0.24013842642307281, 0.1656782180070877, -0.6604968309402466, -0.35336509346961975, 0.26514288783073425, 0.40316176414489746, 0.7286491990089417, -0.0019125223625451326, 0.011730041354894638, 0.04771463945508003, -0.44305354356765747, 0.4775117039680481, 0.5176948308944702, -0.41218459606170654, 0.10880675911903381, 0.2530517280101776, 0.3745611906051636, -0.2490502893924713, -0.35683026909828186, 0.4311094284057617, -0.48710310459136963, -0.4108524024486542, -0.6233203411102295, 0.00650679599493742, -0.22538398206233978, -0.180728018283844, 0.41977909207344055, 0.24929992854595184, 0.18740354478359222, -0.29914236068725586, 0.16126751899719238, 0.2682434916496277, -0.1675446629524231, -0.4898175001144409, 0.7549731135368347, 0.1471404880285263, -0.2914024293422699, 0.8159914612770081, -0.22838038206100464, -0.7082226276397705, 0.4933401048183441, 0.8747267723083496, 0.9556145071983337, -0.3373076617717743, 0.2762587070465088, 0.5539925694465637, 0.045809268951416016, -0.2812982201576233, -0.03988497331738472, -0.17558221518993378, -0.5663979053497314, -0.7096701860427856, -0.5730164051055908, -0.6149090528488159, -0.15584135055541992, -0.6853867769241333, 0.21890197694301605, -0.6750574707984924, -0.10283420234918594, -0.04193402826786041, 0.21803227066993713, -0.7856263518333435, 0.25331389904022217, 0.16442309319972992, 0.5834901332855225, -0.9641469120979309, 0.5746006369590759, 1.063360571861267, -0.2370234876871109, -0.7193529009819031, -0.33536648750305176, -0.12346743047237396, -0.5628175139427185, 0.8044506907463074, 0.30586808919906616, -0.048983123153448105, 0.032080475240945816, -0.5802122950553894, -0.5717687606811523, 0.6092431545257568, 0.28219857811927795, -0.2794458866119385, -0.06057017669081688, 0.28998348116874695, 0.656136691570282, -0.2462935596704483, 0.6357666254043579, 0.09667155891656876, 0.17212438583374023, 0.07545764744281769, -0.6190251708030701, -0.11222544312477112, -0.4341316819190979, -0.26475170254707336, 0.18705745041370392, -0.31769657135009766, 0.7712103724479675, -0.1013173907995224, -0.038004420697689056, 0.002277120016515255, 1.0284838676452637, 0.12895692884922028, 0.5337916612625122, 0.689766526222229, 0.9319509863853455, 0.8157719969749451, -0.04751594364643097, 0.7119007110595703, -0.501515805721283, 0.4437532126903534, 0.9650478959083557, -0.1799476146697998, 0.761634111404419, -0.03165346756577492, -0.08286647498607635, 0.8405707478523254, 0.39826807379722595, -0.035506848245859146, 0.14467668533325195, 0.5019692182540894, -0.34142979979515076, -0.6482350826263428, 0.11076311767101288, -0.4490607678890228, 0.2647969424724579, 0.3580748438835144, -0.16473449766635895, -0.4372994601726532, 0.2030264288187027, 0.01804533414542675, 0.3069326877593994, -0.5332357287406921, 0.7268370389938354, -0.07281536608934402, -0.8846948146820068, 0.6998961567878723, 0.283308744430542, 0.586978554725647, -0.22202804684638977, -0.10122808068990707, -0.36008360981941223, 0.5905314087867737, -0.3790762722492218, -0.3977935314178467, 0.31088119745254517, 0.1851143091917038, -0.383760005235672, -0.4340062439441681, 0.6624292135238647, -0.30907562375068665, -0.9823134541511536, 0.06509920954704285, 0.3860120177268982, -0.20535621047019958, 0.010924629867076874, -0.5689826011657715, -0.5319298505783081, -0.27018898725509644, 0.1865612268447876, 0.14274515211582184, 0.3731808066368103, -0.07670959830284119, 0.8978362083435059, 1.0446922779083252, 0.0868796706199646, 0.317095547914505, 0.10262005776166916, 0.7507109045982361, -0.4412776827812195, -0.41040468215942383, -0.9441432952880859, 0.1781512200832367, -0.13056932389736176, -0.054593734443187714, 1.0278900861740112, 0.6486884355545044, 0.8821504712104797, -0.14363956451416016, 0.7632721066474915, 0.4390031397342682, 0.6825891137123108, -0.4590865969657898, 0.5719559788703918, -0.0084006879478693, 0.23742805421352386, -0.3049876391887665, -0.8866090178489685, -0.5949105024337769, 0.8864045143127441, -0.44542044401168823, -0.07692674547433853, 0.5560083985328674, 0.3784729242324829, 0.11906208097934723, 0.231471985578537, -0.14624576270580292, 0.12559938430786133, 0.7057482600212097, 0.5268352627754211, 1.058395266532898, -0.5094995498657227, 0.4141954183578491, -0.7480548620223999, -0.3953116238117218, -0.13114133477210999, -0.8017725348472595, -1.1898000240325928, -0.28981733322143555, -0.7200628519058228, -0.5828172564506531, -0.08716751635074615, 1.1495052576065063, 0.5839798450469971, -0.9834123849868774, -0.27391552925109863, -0.15844488143920898, 0.12741877138614655, -0.227085679769516, -0.2948544919490814, 0.4347062110900879, -0.6761299967765808, -0.6078199744224548, 0.3464062511920929, 0.11989278346300125, 0.21767649054527283, -0.19386370480060577, 0.07137877494096756, 0.22501327097415924, 0.04378269985318184, 0.7314437031745911, 0.426559716463089, -0.10049611330032349, -0.02237863838672638, 0.07430243492126465, 0.04107747972011566, 0.15815497934818268, 0.8526604175567627, -1.1239067316055298, 0.346316397190094, 0.5212442874908447, 0.6475736498832703, 0.40228092670440674, -0.025056349113583565, 0.5897743701934814, -0.12062104791402817, -0.10505624115467072, 0.27456995844841003, 0.4692218005657196, 0.4782247543334961, -0.29441577196121216, 0.15061798691749573, 0.5141004920005798, -0.7869344353675842, -0.7676615118980408, -0.00804252177476883, -0.28881219029426575, 0.14519929885864258, 0.6144365668296814, -0.1288919299840927, -0.10334718972444534, -0.29941415786743164, -0.0340258963406086, 0.3034936487674713, -0.3974180221557617, 1.2183743715286255, 0.823807954788208, 0.0014784367522224784, 0.012599353678524494, -0.26841071248054504, 0.4488402307033539, 0.7744941115379333, -0.8867917060852051, 0.2336079180240631, 0.43325430154800415, 0.39857128262519836, 0.24289411306381226, 0.10396895557641983, -0.5006296038627625, 0.2931980788707733, -0.43614068627357483, 0.06457552313804626, -0.3117954134941101, -0.2931567430496216, -0.6512256860733032, 0.24597667157649994, 0.23719701170921326, 0.055217500776052475 ]
http://arxiv.org/abs/2406.07359v1
http://arxiv.org/pdf/2406.07359v1
GLIMPSE: Pragmatically Informative Multi-Document Summarization for Scholarly Reviews
2024-06-11T15:27:01
2024-06-11T15:27:01
Maxime Darrin, Ines Arous, Pablo Piantanida, Jackie CK Cheung
cs.CL
cs.CL
Scientific peer review is essential for the quality of academic publications. However, the increasing number of paper submissions to conferences has strained the reviewing process. This surge poses a burden on area chairs who have to carefully read an ever-growing volume of reviews and discern each reviewer's main arguments as part of their decision process. In this paper, we introduce \sys, a summarization method designed to offer a concise yet comprehensive overview of scholarly reviews. Unlike traditional consensus-based methods, \sys extracts both common and unique opinions from the reviews. We introduce novel uniqueness scores based on the Rational Speech Act framework to identify relevant sentences in the reviews. Our method aims to provide a pragmatic glimpse into all reviews, offering a balanced perspective on their opinions. Our experimental results with both automatic metrics and human evaluation show that \sys generates more discriminative summaries than baseline methods in terms of human evaluation while achieving comparable performance with these methods in terms of automatic metrics.
[ -0.2908165752887726, -0.20942863821983337, 0.562487781047821, 0.4462391138076782, -0.671875, 0.16381877660751343, 0.022252395749092102, -0.078118696808815, 0.7826806306838989, 0.1885516494512558, -0.33643168210983276, -0.6983945965766907, -0.3539457321166992, 0.29099398851394653, -0.48998504877090454, 1.3531702756881714, 0.32788026332855225, 0.38481560349464417, -0.11110759526491165, -0.2455795407295227, 0.1363263875246048, -0.07168428599834442, 0.04922814294695854, -0.04341984540224075, 0.4655354917049408, 0.09127411246299744, 0.2219807207584381, 0.27029839158058167, 0.8114749789237976, 0.31125953793525696, -0.40292081236839294, 0.3592977523803711, -0.3802371621131897, 0.3739683926105499, -0.20760957896709442, -0.2802877426147461, -0.47160011529922485, -0.0427435077726841, 1.1112208366394043, 0.8978040814399719, -0.1249224841594696, 0.279267817735672, 0.3488689064979553, 0.5778491497039795, -0.5976252555847168, 0.04864627867937088, -0.49124476313591003, 0.1754874736070633, -0.27869713306427, -0.34645822644233704, -0.3716139793395996, -0.4313547611236572, 0.03985537216067314, -0.810088038444519, 0.5418179631233215, -0.27015599608421326, 0.618095338344574, 0.12396106123924255, -0.4598810076713562, 0.019100314006209373, -0.42470788955688477, 0.7566084861755371, -0.6535102128982544, 0.035112861543893814, -0.37414196133613586, 0.18053387105464935, -0.00214777491055429, -0.9205402135848999, -0.5203120112419128, -0.08130314201116562, -0.3433583378791809, 0.5571290850639343, 0.011954575777053833, 0.19063667953014374, 0.004811540246009827, 0.5085890293121338, -0.6410331130027771, -0.5668214559555054, -0.49003204703330994, -0.2559414505958557, 0.6268249154090881, 0.24646204710006714, -0.03588539734482765, -0.20042932033538818, -0.18243978917598724, 0.012053974904119968, -0.3663713037967682, -0.0954832211136818, 0.22477126121520996, 0.007177294697612524, 0.04180687293410301, 0.430136114358902, -0.4029957950115204, 0.6851793527603149, -0.11393851786851883, -0.25341659784317017, 0.37095269560813904, -0.7472139000892639, -0.03010931983590126, -0.2602376937866211, 0.9720442295074463, 0.6598532199859619, -0.16813336312770844, 0.08294044435024261, -0.05249194800853729, 0.13647867739200592, 0.18228811025619507, -0.73012375831604, -0.20035436749458313, 0.06797926872968674, -0.7585291862487793, -0.40187081694602966, 0.5221934914588928, -1.1470881700515747, -0.5133360028266907, -0.3137626349925995, -0.252511203289032, -0.07104069739580154, -0.1440311074256897, 0.01463701669126749, -0.5988729000091553, -0.02391008846461773, 0.771896243095398, -0.38431689143180847, 0.33636659383773804, 0.7315559983253479, 1.0711179971694946, -0.32568228244781494, -0.3751198649406433, -0.544098436832428, 0.055145151913166046, -0.1259085237979889, 1.0886027812957764, -0.5600522756576538, -0.6639938354492188, -0.3197699785232544, -0.19432200491428375, 0.08463554829359055, -0.24465233087539673, 0.5709621906280518, -0.19002507627010345, 0.13981404900550842, -0.2382092922925949, -0.0861799418926239, -0.13568909466266632, 0.12672293186187744, -0.31317591667175293, 0.5651950240135193, -0.14126214385032654, -0.998569667339325, 0.5277212262153625, -0.5996686220169067, -0.4943562150001526, 0.30893123149871826, -0.2801053524017334, -0.16489391028881073, 0.5220597982406616, 0.32815098762512207, 0.13944321870803833, 0.058966293931007385, 0.2986357808113098, -0.4430179297924042, -0.04792625457048416, 0.2721825838088989, -0.12228075414896011, 0.5691729187965393, 0.39349564909935, -0.27017197012901306, 0.6720075011253357, -0.6519309282302856, 0.1485549807548523, -0.2329593449831009, 0.03261352702975273, -0.30523696541786194, -0.11026199162006378, 0.03201806917786598, -0.06543534249067307, 0.0839192345738411, -0.4202539324760437, 0.12778043746948242, -0.34144172072410583, 0.42035815119743347, 0.5742231607437134, 0.4609258472919464, 0.6447306871414185, -0.22930458188056946, 0.5417406558990479, -0.19774886965751648, 0.4320761263370514, -0.6963657736778259, -0.34017783403396606, -0.4570898711681366, -0.5011399388313293, 0.20816375315189362, 0.22148948907852173, -0.2700560390949249, 0.16408616304397583, -0.0022464764770120382, -0.7154935598373413, -0.6405555009841919, -0.03346642479300499, 0.6288151741027832, 0.414978951215744, 0.09970767050981522, -0.5352194905281067, -0.34262824058532715, -0.7930208444595337, -0.6000744104385376, -0.47959738969802856, -0.08478809893131256, 0.08694619685411453, 0.5065656900405884, 0.16712473332881927, 0.7716131806373596, -0.6910409927368164, -0.32025423645973206, -0.11545093357563019, 0.24447700381278992, 0.20264242589473724, 0.04919549077749252, 0.18063846230506897, -0.613225519657135, -0.1977883279323578, -0.15472401678562164, -0.7572658658027649, -0.2739916145801544, -0.4100905656814575, -0.03671155497431755, -0.34742891788482666, 0.2948281168937683, -0.5173166394233704, 0.28988760709762573, -0.04374408349394798, -0.3407445251941681, 0.6926456093788147, -0.24632805585861206, 0.18681347370147705, -0.5687494874000549, 0.12008896470069885, 0.2033734768629074, 0.03621131554245949, -0.05738130211830139, 0.3672119677066803, -0.1584065854549408, -0.03782588988542557, -0.22844034433364868, 0.46216389536857605, -0.6399195790290833, -0.08622300624847412, -0.02865239605307579, 0.5805736184120178, 0.3957587480545044, 0.11422315984964371, 0.024304894730448723, 0.3735197186470032, 0.4531015157699585, -0.5219641923904419, 0.3049261271953583, 0.41899755597114563, -0.23968061804771423, 0.6249438524246216, -0.8304516077041626, -0.18998868763446808, -0.3717893064022064, 0.6060355305671692, -0.9444450736045837, -0.27883148193359375, 0.04881639406085014, -0.5020751357078552, 0.10984763503074646, 0.08695866167545319, -0.09049335867166519, -0.07971933484077454, -0.7342380881309509, 0.05325708165764809, -0.05246200039982796, -0.320028156042099, 0.6390585899353027, 0.9068419933319092, -0.6151882410049438, -0.6616357564926147, -0.48692384362220764, 0.3727816343307495, -0.1014382466673851, -0.4765371084213257, 0.4962620437145233, 0.012296734377741814, -0.784709095954895, -0.1483755260705948, -0.21360881626605988, 0.09261058270931244, -0.04310879856348038, 0.19744661450386047, 0.3646564781665802, 0.19147320091724396, -0.13606490194797516, 0.2924560010433197, -0.06585249304771423, 0.036690853536129, -0.21944384276866913, 0.1663467288017273, -0.5009652972221375, -0.31623709201812744, -0.5365688800811768, 0.6640512347221375, 0.7869707345962524, -0.40289488434791565, -0.09126030653715134, 0.35936492681503296, 0.12676595151424408, -0.27627313137054443, -0.3723788559436798, -0.4929295480251312, -0.34636804461479187, 0.5783748626708984, -0.24889852106571198, -0.4732057452201843, 0.42253413796424866, 0.13241200149059296, 0.44618675112724304, 0.4449857175350189, 0.38107481598854065, -0.24925975501537323, 0.8878717422485352, 0.33967092633247375, 0.250026673078537, 0.40452122688293457, -0.01065952517092228, 0.20753225684165955, -0.7070645689964294, -0.5673064589500427, -0.7588451504707336, -0.21227386593818665, -0.28276529908180237, -0.11494125425815582, 0.5916762351989746, 0.10434531420469284, 0.1962728053331375, 0.004038109444081783, -1.0048067569732666, 0.513600766658783, 0.36974668502807617, -0.19584770500659943, 0.5581081509590149, -0.1288754940032959, -0.16613082587718964, -0.2877860963344574, -0.5487766265869141, -0.7807977795600891, 0.8659138083457947, 0.2240125834941864, 0.7884339094161987, -0.02118983492255211, 0.9175328016281128, 0.24556918442249298, 0.4910062253475189, -0.6227753162384033, 0.8582178950309753, -0.02308580093085766, -0.25658702850341797, -0.2594122588634491, -0.40709036588668823, -0.5560122728347778, 0.6948438882827759, -0.14352227747440338, -0.19717933237552643, 0.35831862688064575, 0.009344099089503288, -0.498052179813385, 0.005196788348257542, -0.6015688180923462, 0.5648409128189087, -0.3178320825099945, -0.2381545454263687, -0.5382751226425171, -0.8370761871337891, 0.458138644695282, 0.15483209490776062, 0.3263268768787384, -0.0045786104165017605, -0.18639114499092102, 0.8836132884025574, -0.3505213260650635, 0.7230513095855713, -0.2456522136926651, 0.2772451937198639, 0.24816051125526428, 0.1285993456840515, 0.05499480292201042, 0.4918114244937897, 0.40207841992378235, 0.20850832760334015, 0.29944470524787903, -0.03659718856215477, -0.49256157875061035, 0.6174046397209167, -0.3710452914237976, -0.5263232588768005, -0.7725031971931458, -0.23032592236995697, -0.08946938812732697, 0.44852015376091003, 0.2839703857898712, 0.6122890710830688, -0.3765227496623993, -0.10803332924842834, 0.532028317451477, -0.07795185595750809, 0.4156306982040405, 0.5277464985847473, -0.28121110796928406, -0.8537032008171082, 0.746344268321991, -0.020198438316583633, -0.2227112501859665, 0.39889654517173767, 0.19797387719154358, -0.3372300863265991, -0.7079620361328125, -0.38368943333625793, 0.5516932606697083, -0.6191216707229614, -0.18161439895629883, -0.9261102080345154, 0.25428688526153564, -0.6494994759559631, -0.041130200028419495, 0.01390908844769001, -0.8892046809196472, -0.07197961211204529, -0.03699759021401405, -0.21391037106513977, 0.9115596413612366, -0.09627528488636017, 0.3786931335926056, -0.8202510476112366, 0.37204068899154663, 0.2872331440448761, 0.20129196345806122, -0.07372201234102249, -0.4019768536090851, 0.15171033143997192, -0.3340287506580353, -0.5790314674377441, -1.048165202140808, 0.4290549159049988, 0.4837648570537567, 0.647147536277771, 0.6871082186698914, 0.24525536596775055, 0.720766544342041, -0.29099348187446594, 0.9055549502372742, 0.45250725746154785, -0.8692106604576111, 0.6746911406517029, -0.38771894574165344, 0.35998886823654175, 0.805539608001709, 0.028615623712539673, -0.40653932094573975, -0.558934211730957, -0.6591255068778992, -0.9312452673912048, 0.43638333678245544, -0.159025177359581, -0.06184326484799385, -0.08056899160146713, 0.0014334943844005466, 0.09731623530387878, 0.40239977836608887, -0.4621659219264984, -0.08407975733280182, -0.3668748736381531, -0.008611400611698627, 0.23715217411518097, -0.27011439204216003, -0.620857298374176, 0.04800543934106827, 0.7159283757209778, -0.17864640057086945, -0.026126297190785408, 0.4679931402206421, -0.07805009186267853, 0.30947890877723694, 0.46572020649909973, 0.7455751299858093, 0.9546324014663696, -0.09369862079620361, 0.21237239241600037, -0.09103824198246002, -0.7201104164123535, -0.3537656366825104, -0.025106510147452354, -0.39280417561531067, 0.7129020094871521, 0.5468109846115112, 0.3725830912590027, 0.0848630964756012, -0.40701183676719666, 0.6330686211585999, -0.38097867369651794, -0.14356662333011627, -0.15812334418296814, -0.2651066184043884, -0.234810471534729, -0.010655703954398632, 0.5537585020065308, 0.36699387431144714, 0.507910966873169, -0.34850791096687317, 0.3545592427253723, 0.5331321358680725, -0.2207079827785492, -0.46837279200553894, 0.4872322976589203, 0.5407214760780334, 0.00380206317640841, 0.14718306064605713, -0.29451116919517517, -0.3651284873485565, 0.34737494587898254, 0.2809666395187378, 1.0457683801651, -0.12085831165313721, 0.5407456159591675, 0.4686104655265808, 0.28733137249946594, 0.043244730681180954, 0.05417506769299507, -0.37580540776252747, 0.04778498411178589, -0.5616925358772278, -0.66499924659729, -0.6148114800453186, -0.3998689651489258, -0.7818481922149658, 0.3139002025127411, -0.5921751260757446, -0.39164799451828003, 0.4373525083065033, -0.20861198008060455, 0.08001416176557541, -0.12031055241823196, -0.1338043212890625, 0.8607172966003418, -0.786688506603241, 0.16423767805099487, 0.5311013460159302, -0.42724287509918213, -0.3132610023021698, 0.07281055301427841, 0.24969933927059174, -0.16549088060855865, 0.32267671823501587, -0.06492689251899719, -0.491655558347702, -0.4417368173599243, -0.4207720458507538, -0.39791086316108704, 0.7117639780044556, 0.3848257064819336, -0.7084208726882935, -0.20471101999282837, -0.5833583474159241, 0.6012091636657715, -0.2188565880060196, 0.5973420143127441, 0.28098559379577637, 0.5340416431427002, 0.05114656686782837, -0.7888022065162659, -0.20826567709445953, -0.6159121990203857, -0.48950210213661194, 0.16498573124408722, -0.6862820982933044, 0.5040844678878784, -0.5203455090522766, -0.5014387965202332, -0.1074686273932457, 0.6676372289657593, 0.5153855085372925, 0.6663063168525696, 0.30862894654273987, 0.24524006247520447, 0.9810233116149902, -0.16653551161289215, 0.7917707562446594, -0.32096782326698303, 0.17193815112113953, 1.210921049118042, -0.32333219051361084, 0.45631736516952515, 0.5522305965423584, -0.3985126316547394, 0.31401485204696655, 0.3347713351249695, -0.030150065198540688, 0.4372594356536865, 0.3241393566131592, -0.39141929149627686, -0.08644243329763412, -0.35039472579956055, -0.3830961287021637, 0.32151758670806885, 0.3338586986064911, -0.12430588155984879, -0.4869897961616516, -0.1986696571111679, 0.039417680352926254, 0.36184415221214294, -0.44911104440689087, 0.9924766421318054, 0.276731014251709, -0.9756421446800232, 0.11329583078622818, -0.06484119594097137, 0.7049608826637268, -0.8119525909423828, -0.2378864735364914, -0.2850764989852905, 0.07450655102729797, -0.5817536115646362, -0.9203522205352783, 0.49741601943969727, 0.2119390070438385, -0.26632019877433777, -0.448900043964386, 0.3868401050567627, -0.15659144520759583, -0.3904434144496918, -0.03886865824460983, 0.2270481139421463, 0.310781866312027, 0.09338417649269104, -0.5416796207427979, -0.12759146094322205, 0.024715187028050423, 0.022003062069416046, 0.11430742591619492, 0.45373451709747314, -0.24180543422698975, 0.43414413928985596, 0.6507378220558167, 0.5297525525093079, -0.12241308391094208, 0.39949560165405273, 0.8127365112304688, -0.5210464000701904, -0.9793462157249451, -0.6787397861480713, 0.45927760004997253, -0.5505315065383911, -0.6157335042953491, 0.8690528273582458, 0.7487402558326721, 0.4796542227268219, -0.05335479974746704, 0.7574353814125061, 0.12353102117776871, 0.6308906674385071, -0.10409760475158691, 0.8027547597885132, -0.21575546264648438, 0.3091863691806793, -0.5075010061264038, -0.8262577056884766, -0.7141187787055969, 0.6443701982498169, -0.15697477757930756, -0.22816045582294464, 0.9928660988807678, 0.6753441095352173, 0.37812307476997375, 0.11946982890367508, -0.09274899214506149, 0.0504399910569191, 0.2614862322807312, 0.052720777690410614, 0.8808803558349609, -0.01763748750090599, 0.5230175256729126, 0.013613092713057995, -0.5461513996124268, -0.1308525800704956, -0.8683929443359375, -0.5272247791290283, -0.5949587225914001, -0.5527845621109009, -0.4184291958808899, -0.12675070762634277, 0.34487417340278625, 0.5593575239181519, -0.9207435250282288, -0.048512086272239685, -0.06010771915316582, 0.12422721087932587, -0.3220856785774231, -0.2036653459072113, 0.46783289313316345, -0.4536201059818268, -0.5158885717391968, 0.33809101581573486, 0.6553546190261841, -0.23085537552833557, -0.29330065846443176, 0.06189301609992981, 0.2186504602432251, -0.010177039541304111, 0.22796384990215302, 0.20000801980495453, -0.6905449628829956, 0.37456610798835754, 0.08852706849575043, -0.05018772929906845, -0.28636881709098816, 1.216696858406067, -0.6517083644866943, 0.6905152797698975, 0.7886977195739746, 0.2613348066806793, 0.4543318748474121, -0.04312099888920784, 0.3144958019256592, -0.5439974665641785, 0.01802673004567623, 0.6932199001312256, 0.5529096722602844, 0.30005794763565063, -0.16247713565826416, 0.3553083539009094, 0.4239538013935089, -0.42000332474708557, -1.1763113737106323, 0.10219517350196838, -1.220047950744629, -0.11359953135251999, 0.9162278771400452, -0.24010604619979858, -0.03857044130563736, -0.11740818619728088, -0.32300522923469543, -0.04860912635922432, -0.5270823836326599, 0.8715410828590393, 0.446051687002182, -0.15651586651802063, 0.040758438408374786, -0.04875009134411812, 0.2979837656021118, 0.4489077627658844, -0.8778547644615173, 0.17966362833976746, 0.8588346838951111, 0.03731672465801239, 0.4316571354866028, 0.7235350608825684, -0.6095159649848938, 0.3524448871612549, 0.021897099912166595, -0.05500347539782524, -0.08368398249149323, -0.5782543420791626, -0.6304365992546082, 0.5532801747322083, -0.15006043016910553, -0.07275673002004623 ]