id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2404.08888v1
http://arxiv.org/pdf/2404.08888v1
Towards Enhancing Health Coaching Dialogue in Low-Resource Settings
2024-04-13T03:23:15
2024-04-13T03:23:15
Yue Zhou, Barbara Di Eugenio, Brian Ziebart, Lisa Sharp, Bing Liu, Ben Gerber, Nikolaos Agadakos, Shweta Yadav
cs.CL
cs.CL, cs.LG
Health coaching helps patients identify and accomplish lifestyle-related goals, effectively improving the control of chronic diseases and mitigating mental health conditions. However, health coaching is cost-prohibitive due to its highly personalized and labor-intensive nature. In this paper, we propose to build a dialogue system that converses with the patients, helps them create and accomplish specific goals, and can address their emotions with empathy. However, building such a system is challenging since real-world health coaching datasets are limited and empathy is subtle. Thus, we propose a modularized health coaching dialogue system with simplified NLU and NLG frameworks combined with mechanism-conditioned empathetic response generation. Through automatic and human evaluation, we show that our system generates more empathetic, fluent, and coherent responses and outperforms the state-of-the-art in NLU tasks while requiring less annotation. We view our approach as a key step towards building automated and more accessible health coaching systems.
[ -0.24045869708061218, -0.6791651248931885, 0.5245810747146606, 0.15793903172016144, -0.1611413061618805, -0.0011996454559266567, -0.23536288738250732, -0.44292983412742615, 0.7814965844154358, 0.07590842992067337, -0.9712176322937012, -0.40277254581451416, -0.4971313178539276, 0.3199268877506256, 0.625368058681488, 0.7881184816360474, 0.2789875566959381, 0.4124222993850708, 0.10244777798652649, -0.4392053782939911, -0.5278289914131165, -0.1716168373823166, -1.0245485305786133, -0.43153277039527893, 0.5327883958816528, 0.5279843807220459, 0.6033425331115723, 0.2887541949748993, 0.4639692008495331, 0.2966884970664978, -0.02921305038034916, 0.5307623744010925, -0.29610052704811096, 0.47695696353912354, -0.013449229300022125, -0.36734917759895325, -1.0937845706939697, -0.21385876834392548, -0.1062973365187645, 0.6290130019187927, -0.3493266999721527, 0.20244170725345612, 0.18495766818523407, 0.6305985450744629, -0.3939928114414215, 0.3018031716346741, -0.31824204325675964, 0.5605802536010742, 0.34494340419769287, -0.27261921763420105, -0.027569416910409927, -0.1348295658826828, 0.06348961591720581, -0.7404636740684509, -0.13864286243915558, 0.13810884952545166, 0.2511821389198303, 0.6933902502059937, -0.22854019701480865, -0.035539496690034866, -0.5684736967086792, 0.6293995976448059, -1.071218490600586, -0.10050095617771149, 0.7071520090103149, 0.29124853014945984, -0.09443840384483337, -0.1310630738735199, -0.18324074149131775, 0.24371212720870972, -0.3938356637954712, 0.6592223048210144, -0.17904283106327057, 0.4366786777973175, 0.35489603877067566, 0.2056412547826767, -0.41925403475761414, 0.10024750977754593, 0.05893116444349289, 0.2392834573984146, 0.6807109117507935, 0.6593295335769653, 0.2259775996208191, -0.6158145070075989, 0.4075063169002533, 0.4102586507797241, -0.05946214869618416, -0.09285322576761246, -0.0293887946754694, 0.3717653751373291, -0.3264020085334778, 0.4032333195209503, -0.4910995364189148, 0.4927395284175873, 0.27315643429756165, -0.6280041337013245, -0.04194642975926399, -0.12436368316411972, -0.31607770919799805, 0.2281634509563446, 0.5750179290771484, 0.8212324976921082, -0.26538708806037903, -0.2971334457397461, 0.16703684628009796, -0.08228584378957748, 0.6348280906677246, -1.0640647411346436, -0.15477856993675232, 0.5765680074691772, -0.8080196380615234, -0.27345016598701477, -0.4206539988517761, -0.7856424450874329, -0.2856450378894806, -0.28914105892181396, 0.08856644481420517, -0.43369045853614807, -0.18243347108364105, 0.044950220733881, 0.00023213350505102426, 0.13459612429141998, 0.3811987340450287, -0.8703588247299194, 0.3161730468273163, 0.5051756501197815, 0.8835643529891968, 0.18121863901615143, 0.44116654992103577, -0.5936648845672607, 0.30642223358154297, 0.05377662926912308, 0.6287893652915955, -0.5244711637496948, -0.7137737274169922, 0.12791341543197632, -0.07299088686704636, 0.2202685922384262, -0.4283910095691681, 0.6464706659317017, 0.30102258920669556, 0.16134217381477356, -0.3791499137878418, -0.462947279214859, 0.5103803277015686, 0.6105316877365112, -0.28922179341316223, 0.5616743564605713, 0.3508547246456146, -0.7679821848869324, 0.2799065113067627, -0.8921809196472168, -0.6721382737159729, 0.45973050594329834, -0.2630282938480377, -0.28791528940200806, 0.33149096369743347, 0.3187330663204193, 0.3565302789211273, -0.5812556743621826, 0.003836953081190586, -0.4539051949977875, -0.22991393506526947, -0.13441932201385498, -0.12197970598936081, 0.40181416273117065, 0.22309836745262146, -0.4582754969596863, 0.04628261178731918, -0.6831783056259155, 0.36184918880462646, -0.27469202876091003, -0.36287549138069153, -0.32049819827079773, 0.04577955976128578, -0.22812794148921967, -0.006439963821321726, -0.31294378638267517, -0.5268594026565552, 0.26818370819091797, -0.5562794208526611, 0.6048336625099182, 0.5272824764251709, 0.0036639515310525894, 0.6979858875274658, -0.33104759454727173, 0.7003463506698608, -0.24775418639183044, 0.5453287363052368, -0.2562623918056488, -0.674589991569519, -0.3776768743991852, -0.6155129075050354, -0.35023677349090576, 0.5473814606666565, -0.6872761249542236, 0.8678706884384155, -0.12726882100105286, -0.43476295471191406, -1.0420639514923096, -0.03673502802848816, 0.4341557025909424, 0.9009789824485779, 0.5506337881088257, -0.41695669293403625, -0.2280658781528473, -0.7266910672187805, -0.24575205147266388, -0.09537618607282639, -0.14971895515918732, 0.9673468470573425, 0.21846503019332886, -0.2583096921443939, 0.6686381101608276, -0.5568690299987793, -0.49667254090309143, -0.3422870635986328, -0.0032047838903963566, 0.031173918396234512, 0.6237714290618896, 0.27961358428001404, -0.5183950066566467, -0.6332194805145264, -0.02410559356212616, -0.8310279846191406, -0.13278315961360931, 0.10899052768945694, -0.4261089265346527, -0.1352596879005432, 0.11983156949281693, -0.5504580736160278, 0.7228794097900391, 0.43980175256729126, -0.33042991161346436, 0.1886264681816101, -0.03792596980929375, 0.41619929671287537, -1.3135435581207275, 0.21021883189678192, -0.20807503163814545, -0.18809494376182556, -0.46615564823150635, -0.5594907999038696, -0.5393856763839722, -0.2936749756336212, -0.19139957427978516, 0.5666543841362, -0.02528923936188221, 0.2669818103313446, -0.16859367489814758, -0.3024485409259796, 0.06395497918128967, 0.5881425142288208, -0.0010115221375599504, 0.06425993144512177, 0.41853490471839905, -0.2305884212255478, 0.6396942138671875, 0.7304368615150452, -0.1283208429813385, 1.4330239295959473, -0.7392920255661011, 0.04767715558409691, 0.00642589433118701, 0.8768863081932068, -0.3889646530151367, -0.6652379035949707, 0.5516898036003113, -0.2833636999130249, 0.12924911081790924, -0.24479974806308746, -0.08437179774045944, -0.4154629707336426, -0.042831968516111374, 0.49507957696914673, 0.6451558470726013, -0.12088948488235474, 0.6321784257888794, 0.33142033219337463, -0.31309112906455994, -0.3607732951641083, -0.7072063088417053, -0.0000260202959907474, -0.24465268850326538, -0.5592978000640869, 0.2280234694480896, -0.15109537541866302, -0.24973836541175842, 0.3107824921607971, -0.21536342799663544, -0.19043351709842682, 0.06790594756603241, 0.507604718208313, -0.057958316057920456, -0.02868732064962387, 0.3618503510951996, 0.5553942918777466, -0.174897238612175, 0.07006645202636719, -0.4848465919494629, 0.23162877559661865, -0.05140241980552673, -0.4236597716808319, -0.8370730876922607, 0.9591171741485596, 0.2775530219078064, -0.1143668070435524, 0.8860680460929871, 0.7334248423576355, -0.36370107531547546, -0.22181953489780426, -0.3339827358722687, -0.6220215559005737, -0.40530505776405334, 0.15004906058311462, 0.0073427134193480015, -0.8782609105110168, 0.2273765653371811, -0.18084529042243958, 0.005639806389808655, -0.17444731295108795, 0.7862189412117004, -0.19835080206394196, 1.2255719900131226, 0.17085565626621246, 0.22495344281196594, 0.32926711440086365, -0.14518672227859497, 0.33540573716163635, -0.9150532484054565, -0.3113745450973511, -0.19255253672599792, -0.6799486875534058, -0.5238762497901917, -0.22657646238803864, 0.6647884249687195, -0.18378129601478577, -0.3431154489517212, 0.017938939854502678, -0.8765791058540344, -0.020457526668906212, 0.41606056690216064, 0.7484577894210815, 0.02198866568505764, -0.6645947694778442, -0.1383516490459442, -0.3057730197906494, -0.8431001305580139, -0.2523600161075592, 0.38370245695114136, 0.013223248533904552, 0.8069359064102173, 0.1993933618068695, 0.8792855739593506, 0.1086169108748436, 0.6950386166572571, -1.3199596405029297, 0.17337769269943237, -0.01279456540942192, -0.5755751729011536, -0.2755691707134247, -0.47855356335639954, -0.6735190749168396, 0.1232970654964447, -0.4436686635017395, -0.5778206586837769, 0.12163473665714264, 0.5064364075660706, -1.0007445812225342, 0.2881371080875397, -0.6036569476127625, 0.8501506447792053, -0.07102064788341522, -0.5022727847099304, -0.20602825284004211, -0.7957236170768738, 0.1602245420217514, 0.052502572536468506, 0.17465174198150635, -0.5463446378707886, 0.37024039030075073, 0.4130685329437256, -0.7391051054000854, 0.9781097173690796, -0.2957054674625397, 0.19547119736671448, 0.0704115480184555, 0.12267908453941345, 0.14432965219020844, 0.5420669317245483, -0.15533095598220825, -0.5541048645973206, -0.1393563598394394, -0.6550040245056152, -0.9311268329620361, 0.5258446931838989, -0.3824392557144165, -0.66715008020401, 0.04540054500102997, -0.42824044823646545, -0.632545530796051, -0.002239171415567398, 0.007298563607037067, 0.5426956415176392, -0.4615360200405121, 0.15811066329479218, 0.3208982050418854, -0.6449052095413208, 0.24184367060661316, 0.32108554244041443, 0.4041013717651367, -0.34438833594322205, 0.3941701352596283, -0.16942301392555237, 0.18335974216461182, 0.18373359739780426, 0.47905147075653076, 0.26300492882728577, 0.2723817229270935, -0.11099346727132797, 0.08978403359651566, -0.2954450845718384, -0.6926732063293457, -0.5513560175895691, 0.11869389563798904, -0.6390056610107422, -0.40888547897338867, -0.32727134227752686, -0.20148098468780518, -0.10824905335903168, -0.20272865891456604, 0.44912970066070557, 0.5167075395584106, -0.4035986363887787, 0.3885320723056793, -1.1475880146026611, -0.010880669578909874, 0.5434216856956482, 0.22637978196144104, 0.2964540123939514, -0.19172348082065582, -0.48489686846733093, -0.04724303260445595, -0.31927812099456787, -0.8690260052680969, 0.6524405479431152, 0.1222643181681633, 0.16826224327087402, 0.6419432163238525, 0.3210219740867615, 0.8125598430633545, -0.9097368121147156, 0.7236310839653015, 0.5201346278190613, -0.843471884727478, 0.8463578224182129, -0.28429925441741943, 0.2721695601940155, 0.6744633316993713, 0.27778416872024536, -0.5795735120773315, -0.26819363236427307, -0.6092793345451355, -0.7232149243354797, 0.7378097176551819, -0.0055246357806026936, 0.46555984020233154, -0.2929706871509552, 0.5153937339782715, -0.1619604080915451, 0.18713931739330292, -0.011486083269119263, -0.06852884590625763, -0.4508524537086487, -0.47161242365837097, 0.34080368280410767, 0.09470859169960022, -0.6608304381370544, -0.34943050146102905, 0.4324977397918701, -0.4857329726219177, 0.4901748299598694, 0.45232516527175903, 0.38928455114364624, -0.2286360263824463, 0.48003971576690674, 0.20237956941127777, -0.12676170468330383, -0.12583713233470917, -0.017578521743416786, 0.3769424855709076, 0.02901330776512623, -0.04387221112847328, -0.26601797342300415, 0.41219180822372437, 0.013085086829960346, 0.42457321286201477, 0.8385099768638611, 0.6505460739135742, -0.4979454278945923, 0.38835445046424866, -0.16091857850551605, -0.08895328640937805, 0.15425775945186615, 0.2487242966890335, 0.35919633507728577, 0.3907664120197296, -0.13813534379005432, 0.02040356583893299, 0.3354630172252655, -0.45465412735939026, 0.118128702044487, 0.3991444408893585, -0.7601776719093323, -0.49933701753616333, 0.6678217053413391, 0.8026824593544006, -0.7862602472305298, 0.49470219016075134, -0.0025246411096304655, -0.48014035820961, 0.21882565319538116, 0.33830025792121887, 0.7548974752426147, -0.16660647094249725, 0.5327199697494507, 0.35706114768981934, -0.09586019068956375, -0.03821926936507225, 0.17215020954608917, -0.43977779150009155, -0.5323693156242371, -0.433006227016449, -0.5803572535514832, -0.8294048309326172, -0.35485419631004333, -1.1775861978530884, -0.21855321526527405, -0.2912985384464264, -0.5650244951248169, -0.00576367974281311, -0.1303573101758957, -0.8534788489341736, 0.3110024631023407, 0.1075400859117508, 0.5246281623840332, -0.6754169464111328, 0.5589003562927246, 0.5439854264259338, -0.43153271079063416, -0.8723911046981812, -0.09739481657743454, 0.16008637845516205, -0.9074132442474365, 0.6149619221687317, 0.09295029193162918, -0.19931280612945557, -0.13586707413196564, -0.5727354884147644, -0.0929812416434288, 1.2456775903701782, 0.3667667508125305, -0.12463397532701492, -0.48326003551483154, -0.12216690927743912, 0.705852210521698, -0.4816282391548157, 0.2906874418258667, 0.3930266201496124, 0.5242367386817932, 0.06491103768348694, -1.0252362489700317, 0.09811906516551971, -0.14856846630573273, -0.08530522882938385, -0.30138853192329407, -0.9137864708900452, 0.3027959167957306, -0.38534069061279297, 0.001706332666799426, 0.14435143768787384, 0.19824199378490448, -0.0643538236618042, -0.006743553560227156, 0.32563015818595886, 0.5925717353820801, 0.8179980516433716, -0.023409415036439896, 1.1167967319488525, -0.5034452080726624, 0.24723117053508759, 1.1625021696090698, -0.43291497230529785, 0.48236480355262756, 0.4204971194267273, 0.08927042782306671, 0.2334454208612442, 0.3829227387905121, 0.1230073794722557, 0.3255559504032135, 0.1386367380619049, -0.7740851044654846, -0.46811598539352417, -0.7264844179153442, 0.054743967950344086, 0.27246466279029846, 0.20635145902633667, -0.3683193027973175, -0.07897584140300751, 0.0782570093870163, 0.26737073063850403, -0.050623081624507904, -0.22488538920879364, 1.0064549446105957, 0.6058070063591003, -0.6107040047645569, 0.13798809051513672, -0.22385099530220032, 0.5691928863525391, -0.4553637206554413, -0.07183810323476791, -0.3846287727355957, 0.054974183440208435, -0.5098395347595215, -0.2715408205986023, 0.4126887321472168, 0.15398919582366943, -0.09747562557458878, -0.5983151197433472, 0.46958041191101074, -0.4980502128601074, -0.2031569629907608, 0.4522234797477722, 0.8501224517822266, 0.014721290208399296, 0.28842681646347046, -0.8729151487350464, -0.21516567468643188, -0.29486754536628723, -0.26224663853645325, 0.27502837777137756, 0.6012873649597168, 0.5241856575012207, 0.3610854744911194, 0.3429800868034363, 0.24766987562179565, -0.40070927143096924, 0.24463047087192535, 0.6751053333282471, -0.48170503973960876, -0.37725192308425903, -0.6182297468185425, 0.5809510946273804, -0.29533326625823975, -0.1745063215494156, 0.48403987288475037, 0.025242403149604797, 0.15399843454360962, 0.03718193992972374, 0.9176244139671326, -0.261456698179245, 0.46961331367492676, -0.19212882220745087, 0.7484709024429321, -0.7047520279884338, -0.2650388479232788, -0.20590321719646454, -0.380720853805542, -0.5562931895256042, 0.8791497945785522, -0.04758588969707489, -0.07884035259485245, 0.6119306683540344, 0.6141982674598694, 0.18150515854358673, -0.043336886912584305, 0.5669728517532349, 0.12157577276229858, 0.5487455129623413, 0.6030151844024658, 0.512748122215271, -0.02542884647846222, 0.31287917494773865, 0.013333555310964584, -0.30717048048973083, -0.12579433619976044, -0.6467772126197815, -0.8110048770904541, -0.18764886260032654, -0.2255491316318512, -0.6328307390213013, 0.06613318622112274, 1.3832979202270508, 0.8373808264732361, -0.5832208395004272, 0.09569577127695084, 0.23338070511817932, -0.11796694993972778, -0.09930547326803207, -0.17630839347839355, 0.2413039356470108, -0.44688382744789124, -0.8277785181999207, 0.2835013270378113, 0.5670152902603149, -0.3097578287124634, -0.01625020243227482, -0.2488594949245453, 0.4636732041835785, 0.3317841589450836, 0.5400075316429138, 0.27353134751319885, -0.41940730810165405, -0.28008851408958435, 0.014496497809886932, -0.1441512256860733, 0.3336925208568573, 0.995405375957489, -0.4064466059207916, 0.41234129667282104, -0.035951390862464905, 0.7497588396072388, 0.21792937815189362, 0.11087194085121155, 0.5350512862205505, -0.42869219183921814, 0.16622330248355865, 0.5735715627670288, 0.3559609651565552, 0.2822032868862152, -0.35443633794784546, 0.4976682960987091, 0.15115654468536377, -0.5804359912872314, -0.7239336967468262, 0.4297156035900116, -0.9552057385444641, -0.004537553992122412, 1.1501948833465576, -0.5370427966117859, -0.23527805507183075, -0.15576694905757904, -0.5020937919616699, 0.41089317202568054, -0.5175778269767761, 0.7648805975914001, 0.369781494140625, -0.8643612861633301, 0.37054550647735596, -0.18308566510677338, 0.7714741230010986, 0.501190185546875, -1.1675188541412354, -0.1078038290143013, 0.34864118695259094, 0.11038345843553543, -0.16242572665214539, 0.9198509454727173, 0.1797771006822586, -0.03389119356870651, 0.019711805507540703, -0.0953357145190239, 0.21371744573116302, 0.27386075258255005, 0.08525338023900986, -0.22261127829551697, -0.438824325799942, 0.13087667524814606 ]
http://arxiv.org/abs/2404.08886v1
http://arxiv.org/pdf/2404.08886v1
EIVEN: Efficient Implicit Attribute Value Extraction using Multimodal LLM
2024-04-13T03:15:56
2024-04-13T03:15:56
Henry Peng Zou, Gavin Heqing Yu, Ziwei Fan, Dan Bu, Han Liu, Peng Dai, Dongmei Jia, Cornelia Caragea
cs.CV
cs.CV, cs.AI, cs.CL, cs.IR, cs.LG
In e-commerce, accurately extracting product attribute values from multimodal data is crucial for improving user experience and operational efficiency of retailers. However, previous approaches to multimodal attribute value extraction often struggle with implicit attribute values embedded in images or text, rely heavily on extensive labeled data, and can easily confuse similar attribute values. To address these issues, we introduce EIVEN, a data- and parameter-efficient generative framework that pioneers the use of multimodal LLM for implicit attribute value extraction. EIVEN leverages the rich inherent knowledge of a pre-trained LLM and vision encoder to reduce reliance on labeled data. We also introduce a novel Learning-by-Comparison technique to reduce model confusion by enforcing attribute value comparison and difference identification. Additionally, we construct initial open-source datasets for multimodal implicit attribute value extraction. Our extensive experiments reveal that EIVEN significantly outperforms existing methods in extracting implicit attribute values while requiring less labeled data.
[ -0.19420021772384644, -0.5984236001968384, 0.41529354453086853, 0.263575941324234, -0.275570273399353, -0.09006094187498093, 0.023363640531897545, -0.8042789697647095, -0.09004592895507812, -0.16498005390167236, -0.8752683997154236, -0.5395040512084961, -0.6283593773841858, 0.08762280642986298, -0.28296858072280884, 0.9015923142433167, 0.2242993861436844, -0.04561784490942955, -0.5185980796813965, -0.3702499568462372, 0.26290449500083923, -0.3191671371459961, -0.7685357928276062, 0.023296717554330826, 0.9532509446144104, 0.02567279152572155, 0.4632114768028259, 0.4897820055484772, 0.48154503107070923, 0.34009966254234314, 0.057815227657556534, 0.5559738278388977, -0.4458577334880829, 0.28002625703811646, 0.2336081862449646, -0.18524029850959778, -0.7798519730567932, 0.1499139964580536, 0.08980313688516617, 0.1952492594718933, -0.1506628394126892, 0.30240094661712646, -0.14957523345947266, 0.6214268803596497, -1.0078474283218384, 0.5874728560447693, -0.369638592004776, 0.2126268893480301, -0.1417444944381714, 0.05604429543018341, -0.32800740003585815, -0.46337124705314636, 0.038509294390678406, -1.02333664894104, 0.35040679574012756, 0.14149916172027588, 1.1200319528579712, 0.37135791778564453, -0.551196813583374, -0.18637053668498993, -0.6927726864814758, 0.9062079191207886, -0.2701663672924042, 0.8543232083320618, 0.17334847152233124, -0.0013934073504060507, 0.17536701261997223, -0.957790732383728, -0.878092348575592, -0.06705860793590546, -0.1579543799161911, 0.49200335144996643, -0.2799696624279022, 0.007753914687782526, 0.28725776076316833, 0.2580311894416809, -0.40564873814582825, 0.01912841387093067, -0.21908073127269745, 0.1122172623872757, 0.5769817233085632, 0.05560745671391487, 0.13801032304763794, -0.26352164149284363, -0.5699866414070129, -0.42647117376327515, -0.8003666400909424, 0.11632779240608215, 0.2789120674133301, -0.18877267837524414, 0.010275698266923428, 0.4384410083293915, -0.23908697068691254, 0.5661205053329468, 0.13414694368839264, -0.6566576957702637, 0.5525509119033813, -0.2922514081001282, -0.34903380274772644, -0.0834178552031517, 0.58777916431427, 0.35584506392478943, -0.11144202947616577, -0.1419355422258377, -0.23335908353328705, -0.1778600513935089, 0.02765914611518383, -0.7205408811569214, -0.3052578568458557, 0.07409767806529999, -0.6290510892868042, -0.21481862664222717, 0.16697348654270172, -0.9187809228897095, -0.23871807754039764, -0.42262002825737, 0.28547561168670654, 0.10009632259607315, -0.2667843997478485, -0.27167126536369324, -0.22354748845100403, 0.6498528122901917, 0.7142096161842346, -0.8252399563789368, -0.06292599439620972, 0.7337189316749573, 0.8166126012802124, -0.41837278008461, 0.10906367748975754, -0.2505037188529968, 0.4696284532546997, -0.05896390601992607, 0.63686603307724, -0.5258827209472656, -0.07511596381664276, -0.2356940656900406, 0.1793745756149292, 0.21233686804771423, -0.4610178470611572, 0.24203790724277496, -0.7995288968086243, -0.20551691949367523, 0.052165836095809937, -0.2989957630634308, -0.1826520562171936, 0.5107473134994507, -1.2407410144805908, 1.0452135801315308, -0.03818383812904358, -0.24376390874385834, 0.8147986531257629, -0.4995504319667816, -0.41701412200927734, 0.12076278775930405, -0.25587454438209534, -0.7858473062515259, 0.3101227879524231, 0.39282119274139404, 0.6130343675613403, -0.5135261416435242, -0.15790145099163055, -0.4536340832710266, 0.14197103679180145, 0.41108664870262146, -0.8894723057746887, 0.48845893144607544, 0.4091135263442993, -0.2801717221736908, -0.13317053020000458, -0.8493064045906067, 0.13505898416042328, 0.16465333104133606, -0.3496813178062439, -0.3319481313228607, -0.09663639962673187, 0.28998836874961853, 0.3288414180278778, 0.2771109640598297, -0.6726897358894348, 0.01647837646305561, 0.12712977826595306, -0.03426244482398033, 1.1855559349060059, -0.4422590732574463, 0.39720404148101807, -0.15340958535671234, 0.5307859778404236, -0.03659624233841896, 0.409111350774765, -0.05199320986866951, -0.4265507161617279, -0.9794431328773499, -0.6999252438545227, 0.2096271961927414, 0.304964154958725, -0.7744201421737671, 0.07799596339464188, -0.4284704923629761, -0.24056436121463776, -0.5396706461906433, 0.26293298602104187, 0.2887316048145294, 0.4727439284324646, 0.2930580973625183, -0.0011962995631620288, -0.18359167873859406, -0.9926363229751587, -0.05413341894745827, -0.12492761015892029, -0.11962178349494934, 0.6667636036872864, 0.4320869743824005, -0.1354728490114212, 0.7875306010246277, -0.8244588971138, -0.39925339818000793, -0.20263221859931946, 0.5348565578460693, 0.04283980280160904, 0.4507119953632355, 0.007746183779090643, -1.2148488759994507, -0.44795510172843933, 0.16733406484127045, -0.7983250021934509, -0.12518419325351715, -0.34883812069892883, -0.14890146255493164, 0.24635502696037292, 0.22138608992099762, -0.6110196709632874, 0.5433635711669922, 0.4804643392562866, -0.13208627700805664, 0.19393661618232727, -0.325343519449234, 0.3805069625377655, -0.9076531529426575, -0.15970595180988312, 0.3137744665145874, -0.2636106014251709, -0.39890310168266296, -0.013364874757826328, 0.37148517370224, 0.13334143161773682, -0.8678460717201233, 0.36647912859916687, -0.5765542387962341, -0.05240999162197113, 0.19494444131851196, -0.09668970108032227, 0.4438167214393616, 0.5207998156547546, 0.19293631613254547, 0.6235076189041138, 0.062162354588508606, -0.716781735420227, 0.9003375172615051, 0.23704975843429565, -0.32829388976097107, 0.9924830198287964, -0.49215438961982727, 0.2952759265899658, -0.4879274368286133, -0.02559472806751728, -0.790371835231781, -0.02559754252433777, 0.2993149757385254, 0.030711932107806206, 0.45549097657203674, -0.26337340474128723, -0.49717745184898376, 0.0698639526963234, -0.36765214800834656, 0.7413066029548645, 0.3550291955471039, -0.8757234811782837, 1.0798730850219727, 0.1630280613899231, -0.21536928415298462, -0.5548564195632935, -0.540519654750824, -0.18534107506275177, -0.25255638360977173, -0.6561264395713806, 0.5870883464813232, -0.21307681500911713, 0.04174397885799408, 0.009743654169142246, -0.08077092468738556, -0.11227349191904068, 0.06521309167146683, 0.2286561280488968, 0.3719804584980011, 0.09523668140172958, 0.43233972787857056, 0.04465079680085182, -0.41841641068458557, -0.059833209961652756, 0.011524947360157967, -0.08234062045812607, -0.16106650233268738, -0.6100592017173767, -0.18071231245994568, 0.4312199056148529, 0.3421974778175354, -0.11804184317588806, 0.7747942805290222, 0.7585431337356567, -0.29160910844802856, -0.18993662297725677, -0.6644938588142395, -0.016199875622987747, -0.48354727029800415, 0.5881094336509705, -0.46623143553733826, -0.47016477584838867, 0.14604555070400238, -0.3373982608318329, -0.1152368038892746, 0.37732985615730286, 0.21726372838020325, -0.40892383456230164, 1.4516812562942505, 0.6808056235313416, 0.6000052094459534, 0.34237831830978394, -0.14612913131713867, 0.09744232147932053, -0.784996747970581, -1.0138424634933472, -0.2351154386997223, -0.5260166525840759, -0.36311790347099304, -0.284869521856308, 0.5800482034683228, -0.11341379582881927, -0.21466298401355743, -0.064829520881176, -0.2823047935962677, 0.43716058135032654, 0.4365620017051697, 0.6804439425468445, 0.3405971825122833, 0.1758326292037964, 0.27925223112106323, -0.19708603620529175, -0.34195882081985474, -0.06807687133550644, 1.1203486919403076, 0.23306894302368164, 1.2441222667694092, 0.5549729466438293, 0.1100560799241066, 0.2085382640361786, 0.5779573917388916, -0.9168446660041809, 0.3270529806613922, -0.3395995795726776, -0.4825964868068695, 0.014068982563912868, -0.41298121213912964, -0.7181146144866943, 0.30303066968917847, -0.40011799335479736, -0.3191847801208496, 0.45408645272254944, 0.16815213859081268, -0.4120137393474579, 0.20308129489421844, -0.7112604975700378, 0.7939372062683105, -0.8769295811653137, -0.7471280694007874, 0.14024297893047333, -0.4481082856655121, -0.03479450196027756, -0.0628792941570282, -0.05099982023239136, -0.27888190746307373, -0.37926629185676575, 0.768957257270813, -0.2921454608440399, 0.5551337003707886, 0.1264248490333557, -0.16174112260341644, -0.17612095177173615, -0.2068953514099121, 0.5499814748764038, 0.06532292068004608, 0.18704229593276978, 0.21532925963401794, -0.2614401876926422, -0.25817281007766724, -0.8487692475318909, 0.6325322389602661, -0.7143009901046753, -0.39142853021621704, -0.5008059144020081, -0.36689117550849915, -0.006654237397015095, -0.1410195678472519, 0.111688032746315, 0.361952006816864, -0.14006134867668152, 0.38136011362075806, 0.9770819544792175, -0.3246877193450928, 0.6476300954818726, 0.33468106389045715, 0.09844858944416046, -0.5010966062545776, 1.022328495979309, -0.15731550753116608, 0.36542803049087524, 0.47702404856681824, 0.001235263654962182, -0.6918515563011169, 0.11369678378105164, -0.6592403650283813, -0.08710617572069168, -1.1117348670959473, -0.39522290229797363, -0.6309070587158203, -0.04174518212676048, -0.1746031641960144, -0.10278046131134033, -0.40739354491233826, -0.32525041699409485, -0.3460133969783783, -0.3491784334182739, 0.6320701241493225, 0.8338057398796082, -0.13966728746891022, 0.20333924889564514, -0.6908237934112549, 0.45764660835266113, 0.9456726312637329, 0.18457648158073425, 0.003172258846461773, 0.1111835241317749, -0.11142020672559738, -0.04263241961598396, -0.2264707088470459, -0.876180112361908, 0.5084205269813538, 0.5356413125991821, 0.7425652742385864, 0.8547176718711853, -0.14164790511131287, 0.9276111125946045, -0.13152407109737396, 0.6918829083442688, 0.46975335478782654, -0.7442352175712585, 0.30675047636032104, 0.26582032442092896, 0.22112759947776794, 0.24269749224185944, 0.6076475381851196, -0.3305613696575165, 0.2942764163017273, -0.32213470339775085, -1.2195844650268555, 0.7067995667457581, 0.16686533391475677, 0.138805091381073, 0.10024607181549072, 0.21912717819213867, 0.37057408690452576, 0.411954790353775, -1.1365766525268555, -0.6515164971351624, -0.35714012384414673, -0.4670560359954834, 0.002866415772587061, -0.327005535364151, -0.15736551582813263, -0.5836562514305115, 0.32631418108940125, -0.20233702659606934, 0.4386431574821472, 0.08467557281255722, -0.682711660861969, 0.439874529838562, 0.27455586194992065, 0.43486472964286804, 0.46845754981040955, -0.07463279366493225, 0.4037195146083832, 0.22477364540100098, -0.42389529943466187, 0.35476258397102356, 0.14946630597114563, -0.14539644122123718, -0.3717222213745117, 0.03656110540032387, 0.7743419408798218, 0.033892542123794556, -0.4982340633869171, 0.7177832126617432, -0.19110603630542755, -0.0003189754788763821, -0.5535027384757996, -0.3033101558685303, -0.13549359142780304, 0.2139841914176941, 0.3686191737651825, 0.015637751668691635, 0.24685342609882355, -0.17868909239768982, 0.16140873730182648, 0.3055974543094635, -0.42042091488838196, -0.19392645359039307, 0.6976096630096436, 0.35510319471359253, 0.19401657581329346, 0.9575456380844116, -0.20618388056755066, -0.21891553699970245, 0.6866481304168701, 0.6243449449539185, 0.946647047996521, 0.05344270542263985, 0.38236305117607117, 0.13785628974437714, 0.24488519132137299, 0.18317051231861115, 0.21673505008220673, -0.27896445989608765, -0.7536059617996216, -0.333241730928421, -0.5568902492523193, -0.026802247390151024, 0.018926041200757027, -0.593725323677063, 0.09307597577571869, -0.4086250364780426, -0.13740293681621552, -0.23561759293079376, -0.6054925322532654, -1.0746053457260132, 0.39683958888053894, 0.34488335251808167, 0.23638790845870972, -0.6541628241539001, 0.34055933356285095, 0.39712923765182495, -0.6717818379402161, -0.566638708114624, -0.5852717161178589, 0.14528577029705048, -0.6079203486442566, 1.3797352313995361, 0.3785218596458435, -0.3837338387966156, -0.09032515436410904, -0.6954751014709473, -0.6227135062217712, 1.4504342079162598, 0.31859347224235535, -0.4103739857673645, 0.153988778591156, 0.2889094650745392, 0.05836864933371544, -0.559526801109314, 0.8932642936706543, 0.3886021077632904, 0.7296907901763916, 0.44768214225769043, -0.2841091752052307, 0.00543894711881876, -0.5214194655418396, 0.23928965628147125, 0.06265311688184738, -0.4361748993396759, 1.0160789489746094, -0.06912550330162048, -0.3374207317829132, -0.15031369030475616, 0.619878351688385, -0.07997674494981766, 0.34549447894096375, 0.5330687761306763, 0.8178724050521851, 0.7741712331771851, -0.37100133299827576, 0.8915842175483704, 0.16250792145729065, 0.26319649815559387, 0.7209178805351257, -0.24431879818439484, 0.7818085551261902, 0.4318535625934601, -0.07218409329652786, 0.6172897815704346, 0.5758439898490906, -0.1487618088722229, 0.7341139912605286, -0.19318464398384094, -0.7295880317687988, -0.5426819324493408, -0.034093067049980164, -0.2773439288139343, 0.3775533139705658, 0.36449405550956726, -0.36900079250335693, -0.007101007737219334, 0.07799287885427475, -0.11240871250629425, -0.4951413571834564, -0.38870546221733093, 1.1230852603912354, 0.004147858824580908, -0.011594881303608418, 0.173666849732399, -0.013324430212378502, 0.7292456030845642, -0.5494682788848877, -0.4580432176589966, -0.1424470841884613, 0.24880379438400269, -0.38483259081840515, -0.39186832308769226, -0.1812165528535843, -0.10621658712625504, -0.24677617847919464, -0.5838656425476074, 0.6353247165679932, -0.48955631256103516, -0.7599382996559143, 0.2123207300901413, 0.5906545519828796, -0.11240784078836441, 0.004635675810277462, -0.7628041505813599, -0.15110257267951965, -0.31808432936668396, -0.3365919888019562, 0.15084221959114075, 0.25787147879600525, 0.28345218300819397, 0.8148341178894043, 0.8901541829109192, -0.06302350014448166, 0.23522256314754486, -0.015788426622748375, 0.7280819416046143, -0.7201945781707764, -0.26279759407043457, -0.9031232595443726, 0.7727814316749573, -0.48244428634643555, -0.28129562735557556, 0.6343637108802795, 0.4854302704334259, 0.9516251683235168, -0.16955432295799255, 0.561286449432373, -0.08317039906978607, -0.09082747250795364, -0.7413720488548279, 0.8367840051651001, -0.8565962910652161, 0.3604430556297302, -0.25709718465805054, -0.9316656589508057, -0.3219035565853119, 0.7942909598350525, 0.11191429197788239, 0.2924869954586029, 0.7118839621543884, 0.9930906295776367, -0.21265217661857605, -0.06624658405780792, 0.36441531777381897, -0.06865891814231873, 0.3814876973628998, 0.5877677202224731, 0.9481744766235352, -0.5046402812004089, 0.6865097284317017, -0.4376888871192932, -0.32538315653800964, 0.0940394476056099, -1.3164876699447632, -0.4252186715602875, -0.5566025972366333, -0.5128133296966553, -0.17955078184604645, 0.06516421586275101, 1.0654685497283936, 0.9650861620903015, -0.7424526810646057, 0.10237065702676773, 0.24671098589897156, 0.3311035931110382, -0.4322570264339447, -0.21272264420986176, 0.37576866149902344, 0.17993372678756714, -0.9643301963806152, 0.15517912805080414, 0.4210594892501831, 0.25885629653930664, -0.1678803265094757, -0.3203217685222626, -0.06923189014196396, -0.08738826215267181, 0.8674699664115906, 0.0817139744758606, -0.5961114168167114, -0.15475770831108093, 0.03492618352174759, -0.052615877240896225, 0.15956462919712067, 0.6394835710525513, -0.7504338026046753, 0.5520524382591248, 0.45767784118652344, 0.5827606320381165, 0.648617148399353, -0.0452905111014843, 0.5225565433502197, -0.8323819637298584, 0.15686888992786407, -0.08419883251190186, 0.17968374490737915, 0.3222845494747162, -0.31853485107421875, 0.2769175171852112, 0.3291606605052948, -0.14790694415569305, -0.2862105965614319, 0.5179175734519958, -1.0087473392486572, -0.10748378932476044, 1.1518378257751465, -0.46106794476509094, -0.4087173044681549, -0.17491759359836578, -0.020176665857434273, 0.048141323029994965, -0.4399615526199341, 0.6374420523643494, 0.21174316108226776, -0.07797462493181229, -0.6894808411598206, -0.14536744356155396, 0.4802760183811188, 0.17870035767555237, -1.0363717079162598, -0.5029330849647522, 0.6111283898353577, 0.03315811976790428, -0.140238955616951, 0.20341737568378448, -0.08565615862607956, 0.24638335406780243, -0.11803069710731506, 0.2845253646373749, -0.41874006390571594, -0.45716795325279236, -0.26991721987724304, 0.30112358927726746, -0.047751061618328094, -0.15399768948554993 ]
http://arxiv.org/abs/2404.08885v1
http://arxiv.org/pdf/2404.08885v1
Is Next Token Prediction Sufficient for GPT? Exploration on Code Logic Comprehension
2024-04-13T03:11:07
2024-04-13T03:11:07
Mengnan Qi, Yufan Huang, Yongqiang Yao, Maoquan Wang, Bin Gu, Neel Sundaresan
cs.PL
cs.PL, cs.CL, cs.LG
Large language models (LLMs) has experienced exponential growth, they demonstrate remarkable performance across various tasks. Notwithstanding, contemporary research primarily centers on enhancing the size and quality of pretraining data, still utilizing the next token prediction task on autoregressive transformer model structure. The efficacy of this task in truly facilitating the model's comprehension of code logic remains questionable, we speculate that it still interprets code as mere text, while human emphasizes the underlying logical knowledge. In order to prove it, we introduce a new task, "Logically Equivalent Code Selection," which necessitates the selection of logically equivalent code from a candidate set, given a query code. Our experimental findings indicate that current LLMs underperform in this task, since they understand code by unordered bag of keywords. To ameliorate their performance, we propose an advanced pretraining task, "Next Token Prediction+". This task aims to modify the sentence embedding distribution of the LLM without sacrificing its generative capabilities. Our experimental results reveal that following this pretraining, both Code Llama and StarCoder, the prevalent code domain pretraining models, display significant improvements on our logically equivalent code selection task and the code completion task.
[ -0.15281230211257935, -0.4863446354866028, 0.6773508191108704, -0.11344828456640244, -0.45704561471939087, 0.3328673541545868, -0.22375181317329407, -0.4341108202934265, -0.010145965963602066, 0.3837288022041321, -0.5178478360176086, -0.35623395442962646, -0.7552761435508728, 0.170965313911438, -0.42975127696990967, 1.063034176826477, -0.06529474258422852, 0.09857475757598877, -0.4400738775730133, 0.20480026304721832, -0.7726675868034363, -0.884515643119812, -0.5543176531791687, -0.5064214468002319, 0.2106408327817917, -0.0032936299685388803, 0.5950263142585754, 0.5398064255714417, 0.5245103240013123, 0.25167444348335266, 0.02040940150618553, -0.24611641466617584, -0.2647719085216522, -0.16697007417678833, -0.005112772807478905, -0.923086941242218, -0.3602423667907715, 0.07076720148324966, 0.23079447448253632, 0.4797755181789398, 0.07492583990097046, 0.16965217888355255, -0.06815507262945175, 0.5131110548973083, -0.3465002179145813, 0.4208764135837555, -1.2465455532073975, 0.25605931878089905, 0.03657124191522598, -0.360093891620636, -0.4492509663105011, -0.22768983244895935, -0.04625937342643738, -0.5591784119606018, 0.18282611668109894, 0.2168223112821579, 0.6519587635993958, 0.4827237129211426, -0.37467098236083984, -0.17950940132141113, -0.43170931935310364, 0.41720935702323914, -0.536861777305603, 0.3307906687259674, 0.43655186891555786, 0.19200235605239868, 0.09207203984260559, -1.0089130401611328, -0.8924175500869751, -0.4730728566646576, -0.1509484499692917, 0.11254952847957611, -0.19069573283195496, 0.17192919552326202, 0.35590454936027527, 0.15204252302646637, -0.6251857876777649, 0.02121429145336151, -0.36337801814079285, -0.4566754400730133, 0.10699240863323212, 0.09823254495859146, 0.2503872215747833, -0.05931946262717247, -0.4273633360862732, 0.02376423589885235, -0.9835713505744934, -0.0004296304832678288, 0.1297616958618164, -0.09017910808324814, 0.26792678236961365, 0.619056761264801, 0.0010522800730541348, 0.6491202712059021, -0.11128595471382141, 0.15062111616134644, 0.46155235171318054, -0.38294848799705505, -0.46250224113464355, -0.03876340389251709, 0.4288090765476227, 0.23533709347248077, 0.6001546382904053, -0.19965916872024536, -0.37224945425987244, 0.4963098466396332, 0.4507846534252167, -0.7782019972801208, -0.5559051632881165, -0.03952805697917938, -0.49777650833129883, -0.2660275101661682, 0.18477362394332886, -0.2700258195400238, -0.1747513711452484, -0.5987921953201294, 0.3336212635040283, -0.30470719933509827, -0.2106003761291504, 0.1842493712902069, -0.10306809097528458, 0.2510075569152832, 0.07000946253538132, -0.7654064297676086, 0.16080358624458313, 0.7926355600357056, 0.7695645093917847, -0.10220473259687424, -0.42519256472587585, -0.6309687495231628, -0.0256270170211792, -0.39766988158226013, 0.7976009249687195, -0.8416231274604797, -0.43250179290771484, -0.13888975977897644, -0.09969119727611542, -0.318904310464859, -0.491694837808609, 0.5340073704719543, -0.9161151647567749, -0.04543796554207802, -0.3545401096343994, -0.6569256782531738, 0.017763037234544754, 0.17309273779392242, -0.43112418055534363, 0.48567211627960205, 0.27649492025375366, -0.8188835978507996, 0.6491556763648987, -0.5349030494689941, -0.4838869869709015, -0.008604503236711025, -0.4237560033798218, -0.2546096444129944, 0.1925925314426422, 0.4043267071247101, 0.49808645248413086, 0.012812823057174683, 0.38551390171051025, -0.18575464189052582, -0.7390716075897217, 0.2810722589492798, -0.39910104870796204, 0.34845778346061707, 0.2633007764816284, -0.5423970222473145, 0.28778302669525146, -0.30215126276016235, 0.1880992203950882, 0.009544572792947292, -0.0939650908112526, 0.16443319618701935, -0.016589505597949028, -0.20516696572303772, 0.43940863013267517, 0.11449722945690155, -0.25980255007743835, 0.3310472369194031, -0.4090113341808319, 0.613282322883606, 1.1440051794052124, -0.30282679200172424, 0.5078247785568237, -0.18298082053661346, 0.9013208746910095, -0.15150758624076843, 0.11259275674819946, -0.25266900658607483, -0.5218870043754578, -0.5345888733863831, -0.02933833934366703, 0.28630393743515015, 0.6266933679580688, -0.9793756008148193, 0.44812291860580444, -0.5430302619934082, -0.11479295045137405, -0.05946531146764755, 0.1733984649181366, 0.5006477236747742, 0.4222714900970459, 0.48308706283569336, -0.25855740904808044, -0.7848895788192749, -0.5093634128570557, -0.48358017206192017, -0.49251019954681396, -0.034670647233724594, 0.025641923770308495, 0.4965381324291229, -0.4794245660305023, 0.8861852288246155, -0.605207622051239, -0.337012380361557, -0.5151325464248657, -0.1798916757106781, 0.3968024253845215, 0.37485048174858093, 0.3825085759162903, -0.7721713781356812, -0.32832247018814087, -0.06563667207956314, -0.4387621581554413, 0.09533803164958954, -0.038630347698926926, 0.03132327273488045, 0.2312774360179901, 0.9653800129890442, -0.5536076426506042, 0.3749571442604065, 0.6051455736160278, -0.5237164497375488, 0.5974106192588806, -0.20748262107372284, -0.16657595336437225, -0.7905772924423218, 0.021381953731179237, -0.3829977512359619, -0.2843933701515198, -0.44349372386932373, -0.026661107316613197, 0.18155425786972046, -0.03948674723505974, -0.20903271436691284, 0.5472815632820129, -0.39280879497528076, -0.26002201437950134, -0.4750783443450928, -0.14334380626678467, -0.1853209137916565, 0.5193726420402527, 0.14317509531974792, 1.1382755041122437, 0.6193573474884033, -0.3664056956768036, 0.12679052352905273, 0.2846527695655823, -0.5600962042808533, -0.11951321363449097, -0.8004198670387268, 0.31980279088020325, -0.08368153125047684, 0.5172286033630371, -0.8954320549964905, 0.07430531829595566, 0.10353545099496841, -0.6199038028717041, 0.2661963403224945, -0.1186099424958229, -0.575441300868988, -0.60443514585495, -0.08333229273557663, 0.4683597981929779, 0.945686936378479, -0.5759459733963013, 0.3495977222919464, 0.19210770726203918, -0.13018053770065308, -0.6360532641410828, -0.7053087949752808, 0.09344158321619034, -0.16066628694534302, -0.23399542272090912, 0.1827637106180191, -0.027816908434033394, 0.07682736963033676, 0.011719748377799988, -0.3357149660587311, 0.15118753910064697, -0.021048318594694138, 0.14871171116828918, 0.603893518447876, -0.11657846719026566, 0.22818733751773834, -0.16701026260852814, -0.40428903698921204, 0.33430567383766174, -0.9757835268974304, 0.6688509583473206, -0.12106732279062271, -0.5068009495735168, -0.1707005649805069, -0.24297653138637543, 0.19941696524620056, -0.4543715715408325, 0.48290544748306274, 0.818152129650116, -0.12888337671756744, -0.07926009595394135, -0.5202236175537109, -0.11819202452898026, -0.503740131855011, 0.6066221594810486, -0.5606935024261475, -1.1555534601211548, 0.3724331557750702, -0.03241272270679474, -0.24356982111930847, 0.3895378112792969, 0.39499005675315857, 0.20146504044532776, 1.0256247520446777, 0.8052880167961121, -0.4429330825805664, 0.5314795970916748, -0.22450870275497437, 0.3109387457370758, -0.6327297687530518, -0.29326510429382324, -0.4209215044975281, -0.016888665035367012, -0.29634883999824524, -0.5940749645233154, 0.24384063482284546, 0.176887646317482, -0.4127650558948517, 0.3579336106777191, -0.5011953115463257, 0.7343857288360596, 0.3439640402793884, -0.03227262943983078, 0.27641940116882324, 0.10407183319330215, -0.08748471736907959, 0.12007977068424225, -0.5939374566078186, -0.2998706102371216, 1.5351108312606812, 0.15377072989940643, 0.48419952392578125, -0.3704351484775543, 0.6245533227920532, 0.14945633709430695, 0.5745993852615356, -0.4955729842185974, 0.3838229179382324, -0.11341975629329681, -0.3636801838874817, -0.09539385885000229, -0.5242586135864258, -0.785979151725769, 0.2105584442615509, 0.026690244674682617, -0.81297367811203, -0.1374010592699051, 0.22335396707057953, -0.2612836956977844, 0.33810368180274963, -0.7482760548591614, 0.9340683221817017, -0.21244952082633972, 0.2240186631679535, -0.1499452441930771, -0.6138517260551453, 0.29755422472953796, -0.34627121686935425, 0.2897079885005951, 0.02815096825361252, -0.24307814240455627, 0.6282743215560913, -0.4025801122188568, 0.627257764339447, -0.27300167083740234, 0.034209106117486954, 0.2321586310863495, 0.01828308217227459, 0.8111746907234192, 0.14877210557460785, -0.022054769098758698, -0.14319159090518951, -0.13998791575431824, -0.4589346945285797, -0.8367499709129333, 0.4429595172405243, -0.692709743976593, -0.8574946522712708, -0.16940215229988098, -0.2750147581100464, -0.442506343126297, 0.1872515082359314, 0.45150527358055115, 0.41807007789611816, 0.16605938971042633, -0.09448985010385513, 0.6306037902832031, 0.00585041381418705, 0.36947986483573914, -0.09478782117366791, -0.3205145299434662, -0.39939701557159424, 0.8914810419082642, -0.3346502482891083, 0.22828000783920288, 0.5062037110328674, 0.0562334805727005, -0.6116076111793518, -0.9430411458015442, -0.2378186583518982, -0.027707261964678764, -0.8355181813240051, -0.43469446897506714, -0.8455584049224854, -0.09627814590930939, -0.28704920411109924, -0.14651115238666534, 0.04464617744088173, -0.20390082895755768, -0.222324937582016, -0.44405215978622437, 0.24240438640117645, 0.7984437346458435, 0.32200542092323303, 0.17190374433994293, -0.8231668472290039, 0.24595680832862854, 0.14930500090122223, 0.3726326823234558, -0.10889994353055954, -0.7940114140510559, -0.27285534143447876, -0.14195843040943146, -0.050181031227111816, -0.43011078238487244, 0.27298295497894287, 0.10004141926765442, 0.6708315014839172, 0.243397057056427, -0.14649192988872528, 0.7839941382408142, -0.7258538603782654, 0.7094812989234924, 0.43415898084640503, -1.1380488872528076, 0.4832996428012848, -0.12599694728851318, 0.1593160331249237, 0.667029082775116, 0.19231687486171722, -0.2724098563194275, -0.3957117199897766, -0.7015401721000671, -0.5850000381469727, 0.38445091247558594, 0.24821826815605164, 0.4954298138618469, -0.06259963661432266, 0.5333460569381714, 0.17476516962051392, 0.4403355121612549, -0.9184370636940002, -0.04273654893040657, -0.41444826126098633, -0.07617910951375961, -0.5511581301689148, -0.08702532202005386, 0.41988083720207214, -0.5471676588058472, 0.3258837163448334, -0.3137037754058838, 0.6078640818595886, 0.10323775559663773, -0.1603718101978302, 0.029728835448622704, 0.0293241236358881, 0.22853410243988037, 0.9970387816429138, 0.11345065385103226, -0.004189063794910908, 0.34201088547706604, -0.6247819066047668, 0.15555398166179657, 0.07092518359422684, 0.22616071999073029, -0.17622947692871094, 0.7003499865531921, 0.8228311538696289, -0.006440001539885998, -0.8420981764793396, 0.8057196140289307, -0.06977172195911407, -0.3735654950141907, -0.4714263379573822, 0.18563151359558105, -0.05989616736769676, 0.27547240257263184, 0.45608073472976685, 0.42674121260643005, 0.030299736186861992, -0.6778005957603455, 0.36263608932495117, 0.43918493390083313, -0.3330764174461365, -0.25875937938690186, 0.9454517960548401, -0.030912982299923897, 0.03198965638875961, 0.6724537014961243, -0.3344070017337799, -1.0013799667358398, 0.7286784052848816, 0.6265968680381775, 0.9001049995422363, 0.22060555219650269, 0.03360102325677872, 0.09196452796459198, 0.3029472827911377, -0.14887169003486633, 0.20532912015914917, -0.04031047597527504, -0.7933900952339172, -0.9090284109115601, -0.6648774147033691, 0.05838944390416145, -0.08988570421934128, -0.3403533101081848, 0.19706587493419647, -0.38859593868255615, 0.0029472799506038427, -0.5667650103569031, 0.0700530931353569, -0.8591416478157043, 0.35697492957115173, 0.13261699676513672, 1.0571866035461426, -0.5817093253135681, 1.2482446432113647, 0.7413819432258606, -0.28332293033599854, -1.0872822999954224, 0.3668612241744995, -0.3703160583972931, -1.0980421304702759, 0.8809899687767029, 0.320060670375824, 0.12116435170173645, 0.06757785379886627, -0.3723915219306946, -0.8057910203933716, 1.1762633323669434, 0.4884372353553772, -0.5873679518699646, -0.2882171869277954, 0.022626014426350594, 0.5181438326835632, -0.38869598507881165, 0.3554694354534149, 0.6450687050819397, 0.4237760007381439, 0.1532953679561615, -0.8015517592430115, 0.23022493720054626, -0.3298266530036926, 0.1929709017276764, 0.08909046649932861, -0.24987474083900452, 0.9188793301582336, -0.5017638206481934, -0.057995740324258804, 0.14666426181793213, 0.7027150392532349, 0.17312021553516388, 0.09944935888051987, 0.7496458888053894, 0.33436599373817444, 0.7844190001487732, -0.0024197548627853394, 1.255232810974121, -0.384942889213562, 0.24625879526138306, 0.9734042882919312, -0.2331654131412506, 0.8407409191131592, 0.37451496720314026, -0.49228718876838684, 0.4646405577659607, 0.7060276865959167, 0.03390518203377724, 0.5977498888969421, 0.5053954124450684, -0.0885891392827034, -0.3505833148956299, 0.36108797788619995, -0.6330857872962952, 0.3396860957145691, 0.14304219186306, -0.29510700702667236, 0.20685067772865295, 0.06428799033164978, -0.22235964238643646, 0.012161142192780972, -0.4111957550048828, 0.7514139413833618, 0.1542801409959793, -0.6948451399803162, 0.6037399768829346, -0.1848859339952469, 0.812463641166687, -0.5326076745986938, 0.08185579627752304, -0.24554994702339172, 0.18263007700443268, -0.1471630334854126, -0.5143401622772217, 0.36648961901664734, -0.07262974232435226, 0.12439195066690445, -0.23633131384849548, 0.8852592706680298, -0.07350347191095352, -0.4399510324001312, 0.28766265511512756, 0.6099943518638611, -0.003596958238631487, -0.44333693385124207, -0.641409695148468, 0.03127339109778404, 0.18594393134117126, -0.17899803817272186, 0.367730975151062, 0.47108498215675354, 0.06906622648239136, 0.7189551591873169, 0.899634599685669, 0.14246781170368195, 0.1308167576789856, 0.18519838154315948, 1.1866117715835571, -0.6449995040893555, -0.6865437626838684, -0.9663360118865967, 0.24422839283943176, 0.1863574981689453, -0.17112427949905396, 0.4920414388179779, 0.4159330427646637, 1.1463871002197266, -0.17920038104057312, 0.9612277746200562, 0.18811844289302826, 0.057175032794475555, -0.882145345211029, 0.5205824375152588, -0.3610016107559204, 0.47116193175315857, -0.4204600155353546, -1.1542307138442993, -0.2896696627140045, 0.4290946125984192, -0.46412745118141174, 0.13314899802207947, 1.0657824277877808, 0.6153087019920349, 0.07484158873558044, 0.1809493899345398, 0.3329872786998749, -0.0878152847290039, 0.35616371035575867, 0.7338614463806152, 0.9783957600593567, -0.2026047557592392, 0.8837119340896606, 0.17592443525791168, -0.06643858551979065, 0.09767620265483856, -0.8119836449623108, -1.1576834917068481, -0.5540072917938232, 0.05913914367556572, -0.25141313672065735, 0.21080778539180756, 0.9407063126564026, 0.5089945793151855, -0.6148831844329834, 0.12267539650201797, -0.7015846967697144, 0.05276850610971451, -0.05122930556535721, -0.09583864361047745, 0.423887699842453, -0.7449279427528381, -0.41994497179985046, 0.12254641205072403, -0.025942960754036903, -0.011438002809882164, 0.1130957156419754, -0.23038825392723083, 0.42123010754585266, -0.30468809604644775, 0.6980310082435608, -0.09357451647520065, -0.7133728265762329, -0.3896331787109375, 0.11756401509046555, 0.0907832458615303, 0.02931378409266472, 1.2893269062042236, -1.1752536296844482, 0.11510802060365677, 0.3276561498641968, 0.9688835740089417, 0.3866358995437622, -0.025612808763980865, 0.6799415349960327, -0.41448086500167847, 0.1708069145679474, 0.2637680470943451, 0.5570299625396729, -0.02088066004216671, -0.38005679845809937, 0.47524508833885193, 0.3130461275577545, -0.44883406162261963, -0.5893519520759583, 0.31526118516921997, -0.5604546666145325, -0.43573513627052307, 1.213026523590088, -0.2328004688024521, -0.07414288818836212, -0.1520976573228836, -0.22747181355953217, 0.09949582815170288, -0.22845050692558289, 0.47683969140052795, 0.4493768811225891, -0.044556573033332825, -0.09137248992919922, -0.5920677185058594, 0.6582317352294922, 0.6206549406051636, -0.7594283223152161, 0.003096925327554345, 0.26701146364212036, 0.1704992651939392, -0.13433843851089478, 0.9678258895874023, -0.10023022443056107, 0.28144705295562744, -0.016307884827256203, -0.2632211446762085, -0.2799648940563202, -0.38856419920921326, -0.2717791497707367, -0.07385488599538803, 0.2806432843208313, 0.0051710959523916245 ]
http://arxiv.org/abs/2404.08877v1
http://arxiv.org/pdf/2404.08877v1
Aligning LLMs for FL-free Program Repair
2024-04-13T02:36:40
2024-04-13T02:36:40
Junjielong Xu, Ying Fu, Shin Hwei Tan, Pinjia He
cs.SE
cs.SE, cs.CL, cs.LG
Large language models (LLMs) have achieved decent results on automated program repair (APR). However, the next token prediction training objective of decoder-only LLMs (e.g., GPT-4) is misaligned with the masked span prediction objective of current infilling-style methods, which impedes LLMs from fully leveraging pre-trained knowledge for program repair. In addition, while some LLMs are capable of locating and repairing bugs end-to-end when using the related artifacts (e.g., test cases) as input, existing methods regard them as separate tasks and ask LLMs to generate patches at fixed locations. This restriction hinders LLMs from exploring potential patches beyond the given locations. In this paper, we investigate a new approach to adapt LLMs to program repair. Our core insight is that LLM's APR capability can be greatly improved by simply aligning the output to their training objective and allowing them to refine the whole program without first performing fault localization. Based on this insight, we designed D4C, a straightforward prompting framework for APR. D4C can repair 180 bugs correctly in Defects4J, with each patch being sampled only 10 times. This surpasses the SOTA APR methods with perfect fault localization by 10% and reduces the patch sampling number by 90%. Our findings reveal that (1) objective alignment is crucial for fully exploiting LLM's pre-trained capability, and (2) replacing the traditional localize-then-repair workflow with direct debugging is more effective for LLM-based APR methods. Thus, we believe this paper introduces a new mindset for harnessing LLMs in APR.
[ -0.1789238005876541, -0.346537709236145, 0.7118115425109863, 0.23671671748161316, -0.030685318633913994, 0.37716278433799744, -0.171463280916214, -0.5066779255867004, 0.14966857433319092, 0.37315234541893005, -0.8423303365707397, -0.4632347524166107, -0.3056927025318146, 0.18135519325733185, 0.04340875893831253, 1.1174899339675903, -0.4977649748325348, -0.16410128772258759, -0.25960081815719604, 0.018486876040697098, -0.7882477045059204, -0.26251891255378723, -0.8414255976676941, -0.11125151813030243, 0.3427642583847046, 0.7156793475151062, 0.39650973677635193, 0.8197566866874695, 0.6204336881637573, 0.3277655839920044, 0.4089958965778351, 0.16339616477489471, -0.3323568105697632, -0.041937753558158875, 0.2490091323852539, -0.7685709595680237, -0.6330170035362244, -0.10913447290658951, 0.3856428861618042, 0.23840346932411194, 0.05185406655073166, -0.15042921900749207, 0.12703664600849152, 0.7937713861465454, -0.40207451581954956, 0.07482995837926865, -0.6630610823631287, -0.007125814910978079, -0.17142198979854584, -0.3236536979675293, -0.10947217047214508, -0.2996961176395416, -0.42455726861953735, -0.7537752985954285, 0.20267175137996674, 0.12040695548057556, 0.7426849007606506, 0.6624603271484375, -0.22050118446350098, 0.015610380098223686, -0.4543702304363251, 0.7933982610702515, -0.9014332890510559, 0.0394921712577343, 0.11369690299034119, 0.27938199043273926, -0.4163321852684021, -0.08408097922801971, -0.358294814825058, 0.1381240338087082, 0.18083760142326355, 0.1070421040058136, 0.005363740958273411, 0.16808776557445526, 0.24385975301265717, 0.4798473119735718, -0.3819064497947693, 0.4254695773124695, -0.14227940142154694, -0.579943835735321, 0.6094995141029358, 0.09673565626144409, 0.2192532867193222, 0.44341742992401123, -0.7333288192749023, 0.28397950530052185, -1.0067520141601562, 0.034571003168821335, 0.443783700466156, 0.20008736848831177, -0.0925295427441597, 0.28291013836860657, 0.05314618721604347, 0.8563344478607178, 0.2167641669511795, -0.34462353587150574, 0.26983848214149475, -0.39346539974212646, -0.07951168715953827, 0.3133580684661865, 0.5282868146896362, 0.3608332574367523, 0.15992671251296997, -0.04161577299237251, -0.5754793286323547, -0.05096748471260071, 0.19938276708126068, -0.3882998526096344, -0.07889379560947418, 0.2734317183494568, 0.024760428816080093, -0.3726542890071869, 0.14919058978557587, -0.44157642126083374, -0.46342480182647705, -0.4179275333881378, 0.2800680696964264, -0.33795830607414246, -0.2390691637992859, 0.02127743884921074, 0.19605879485607147, 0.2118157297372818, 0.19382870197296143, -0.9272483587265015, -0.06170002371072769, 0.8782039880752563, 0.8047655820846558, -0.1546906977891922, -0.30283495783805847, -0.8050847053527832, 0.2121109962463379, -0.5272092819213867, 0.945504903793335, -0.3592519164085388, -0.0667773187160492, 0.10154474526643753, -0.005914187524467707, -0.023128515109419823, -0.40163302421569824, 0.2675972282886505, -0.38666990399360657, -0.06223640590906143, -0.6139863729476929, -0.404981791973114, 0.2285199612379074, 0.4623611569404602, -0.47968342900276184, 1.0117911100387573, 0.2602446377277374, -0.7855104804039001, 0.2162228524684906, -0.5704847574234009, -0.1327468454837799, -0.4012923240661621, -0.15026047825813293, -0.5476953983306885, -0.057899169623851776, 0.6159500479698181, 0.1681402176618576, 0.09533515572547913, 0.10090586543083191, -0.29397711157798767, -0.6846839785575867, 0.21117563545703888, -0.26243746280670166, 0.5041288733482361, 0.13187551498413086, -0.6973845958709717, 0.3596206307411194, -0.5446193218231201, -0.14985741674900055, -0.22169709205627441, -0.3347433805465698, -0.16391555964946747, -0.17530162632465363, -0.6678951382637024, 0.22892597317695618, 0.4310343563556671, -0.8607274889945984, 0.45914262533187866, -0.9412855505943298, 0.20427709817886353, 1.16305410861969, -0.07126219570636749, 0.6338492035865784, -0.4612976014614105, 0.8389589190483093, 0.15988758206367493, 0.0807609111070633, -0.2764892876148224, -0.19896259903907776, -0.7323449850082397, -0.5159643888473511, -0.0903393030166626, 0.41934770345687866, -0.6020584106445312, 0.3483971357345581, -0.12500707805156708, -0.0988074466586113, -0.43122485280036926, 0.2632327377796173, 0.4167743921279907, 0.8261735439300537, 0.26494431495666504, -0.08998356759548187, -0.8013275265693665, -0.5701091885566711, -0.2259780466556549, -0.10147130489349365, 0.06358002871274948, -0.1473202407360077, 0.025910086929798126, -0.16152207553386688, 0.9217579960823059, -0.43407124280929565, -0.7249312400817871, -0.2549494504928589, -0.3253377079963684, 0.37929606437683105, 0.32599514722824097, 0.2270239293575287, -0.21399597823619843, -0.6213452219963074, -0.12706789374351501, -0.3961613178253174, -0.45154663920402527, -0.11308345198631287, -0.1061190813779831, 0.7391617298126221, 0.7094506621360779, -0.41537922620773315, 0.34634143114089966, 0.6716763377189636, -0.3306170105934143, 0.34751349687576294, -0.16518500447273254, 0.22187328338623047, -0.9355031251907349, -0.05195263773202896, -0.23231270909309387, -0.2818954288959503, -0.38750964403152466, -0.19548924267292023, 0.20695669949054718, -0.0479484386742115, -0.297488272190094, 0.5311146974563599, -0.8262059092521667, -0.24760589003562927, -0.5101504325866699, 0.14995281398296356, 0.01718715764582157, 0.41712167859077454, -0.2638501524925232, 0.8598299026489258, 0.46756812930107117, -0.2338547706604004, 0.15888188779354095, 0.06460686773061752, -0.026231102645397186, 0.45206785202026367, -0.3509558439254761, 0.194203183054924, -0.09233535081148148, 0.37113505601882935, -1.1795885562896729, -0.08346530050039291, 0.33567124605178833, -0.2754833698272705, 0.5111920833587646, -0.026901474222540855, -0.11481130123138428, -0.32453978061676025, -0.6147229671478271, 0.4239230453968048, 0.2717638313770294, -0.6052459478378296, 0.36372458934783936, 0.11947697401046753, -0.07706838101148605, -0.8410431146621704, -0.526415228843689, -0.10687108337879181, -0.44092103838920593, -0.635223388671875, 0.5133506059646606, -0.1729927659034729, -0.07077100872993469, -0.1841965764760971, -0.7235054969787598, 0.026334932073950768, 0.21572580933570862, 0.39029496908187866, 0.4557499289512634, -0.3554970324039459, -0.0029851363506168127, -0.1753951907157898, -0.44318249821662903, -0.18401482701301575, -0.3419055938720703, 0.43099087476730347, -0.1994175761938095, -0.674885630607605, -0.09448391944169998, 0.06534130871295929, 0.44284921884536743, -0.5539670586585999, 0.38016772270202637, 0.5618195533752441, -0.11555375903844833, -0.03358133137226105, -0.750173807144165, -0.19993814826011658, -0.4828639626502991, 0.21803532540798187, -0.22680465877056122, -0.9008901119232178, 0.4781344532966614, 0.08318490535020828, 0.3436757028102875, 0.21070562303066254, 0.2805517315864563, -0.06036553904414177, 0.9705472588539124, 0.9063476324081421, -0.4676678478717804, 0.41438397765159607, 0.07776281237602234, 0.6388200521469116, -0.8723124265670776, -0.10948079824447632, -0.4267675578594208, -0.47945037484169006, 0.14829187095165253, -0.3055758476257324, 0.2729288935661316, 0.29086652398109436, -0.3288775384426117, 0.18521462380886078, -0.6439746618270874, 0.6529829502105713, 0.2893291115760803, -0.004053589887917042, 0.29679954051971436, 0.020078768953680992, -0.16562533378601074, -0.05786624550819397, -0.5111724138259888, -0.35422974824905396, 0.9760280847549438, 0.49643200635910034, 0.5240586400032043, 0.01558785792440176, 1.1977900266647339, -0.16647201776504517, 0.4186333119869232, -0.6478179693222046, 0.37002652883529663, 0.08894143998622894, -0.19619612395763397, -0.3867485821247101, -0.13365614414215088, -0.9321913123130798, -0.26930028200149536, 0.17722082138061523, -0.5142144560813904, -0.03973383828997612, 0.5506154298782349, -0.4776548147201538, 0.37665849924087524, -0.37381622195243835, 0.8379469513893127, -0.435437947511673, -0.051816683262586594, -0.031061219051480293, -0.5151544809341431, 0.40536928176879883, -0.25463172793388367, 0.40980640053749084, -0.31682074069976807, -0.2555617392063141, 0.43299400806427, -0.7707542181015015, 0.8169410824775696, -0.49813660979270935, -0.49926984310150146, 0.0780780091881752, -0.002001738641411066, 0.749116837978363, -0.024990731850266457, -0.06219187006354332, 0.02540610544383526, -0.03905511274933815, -0.2795826494693756, -0.5106198787689209, 0.9509125351905823, -0.6356364488601685, -0.7525970935821533, -0.6181975603103638, -0.7849876284599304, -0.4154868721961975, 0.1774563044309616, 0.020713768899440765, 0.2282349169254303, 0.2413131147623062, -0.3838677704334259, 0.6032735705375671, -0.02480345219373703, 0.6632495522499084, 0.7539685368537903, -0.183696448802948, -0.2192850261926651, 0.8725172281265259, -0.2306496649980545, 0.029640134423971176, 0.4223264455795288, 0.058207981288433075, -0.18818233907222748, -0.6266528964042664, -0.23907466232776642, 0.2939271926879883, -0.6228068470954895, -0.7341388463973999, -0.23902282118797302, 0.0006603799411095679, -0.27504950761795044, -0.38010090589523315, -0.31170564889907837, -0.21165786683559418, -0.37349507212638855, -0.2070218324661255, 0.48147687315940857, 0.36177584528923035, -0.1399059146642685, 0.22326773405075073, -0.8444147109985352, 0.16514383256435394, -0.18118126690387726, 0.6053431630134583, -0.29538556933403015, -0.31754517555236816, -0.2728031277656555, 0.23723168671131134, -0.3502502143383026, -0.7503833174705505, 0.23229040205478668, 0.23559078574180603, 0.5365944504737854, 0.243020161986351, 0.08333051204681396, 0.9481660723686218, -0.5507908463478088, 0.7656726241111755, 0.18981227278709412, -0.8492511510848999, 0.5404174327850342, -0.2487463355064392, 0.1614125370979309, 0.5943812727928162, 0.12701572477817535, -0.32031065225601196, -0.5806213617324829, -0.32004159688949585, -0.7522413730621338, 0.6258256435394287, -0.2850887179374695, -0.14697663486003876, -0.2203795313835144, 0.5159132480621338, 0.046200864017009735, -0.06420156359672546, -0.4515549838542938, 0.08331283926963806, -0.29975253343582153, -0.6892843246459961, -0.07471171766519547, -0.07739601284265518, -0.15687806904315948, -0.0805123895406723, 0.8791475892066956, -0.4704056680202484, 0.43123817443847656, 0.290680855512619, -0.13195383548736572, -0.4729541838169098, 0.053953077644109726, 0.7719002366065979, 0.697856605052948, 0.03155627101659775, 0.08719172328710556, 0.11511942744255066, -0.10149630159139633, 0.2920929789543152, -0.09830764681100845, 0.1931532919406891, -0.21825358271598816, 0.35150662064552307, 0.6299718022346497, 0.31555646657943726, -0.6926674246788025, 0.7312986850738525, 0.14308136701583862, -0.1408434957265854, -0.29182109236717224, 0.18981018662452698, 0.061702463775873184, 0.37833723425865173, 0.33799630403518677, 0.2545709013938904, -0.34145739674568176, -0.32643723487854004, 0.30392101407051086, 0.7053542733192444, -0.5245886445045471, -0.3380086421966553, 0.7236254215240479, 0.16984745860099792, -0.14558227360248566, 0.7111226320266724, 0.15892401337623596, -0.5259717106819153, 0.7097127437591553, 0.6978835463523865, 0.7159169316291809, -0.2811976969242096, 0.09844730794429779, 0.34539079666137695, 0.2368481457233429, -0.19040659070014954, 0.3029135465621948, 0.1724623441696167, -0.6671995520591736, -0.6362683773040771, -0.6176698207855225, -0.00668939296156168, 0.055034611374139786, -0.1333218812942505, 0.5106927752494812, -0.4633443057537079, 0.12318090349435806, -0.5386616587638855, 0.019310958683490753, -0.39652732014656067, 0.03519411385059357, 0.007666253484785557, 0.9592257142066956, -0.8572968244552612, 0.8031212687492371, 0.5063794255256653, -0.4041197597980499, -1.246469497680664, 0.19199880957603455, 0.2431275099515915, -1.0454984903335571, 0.36298394203186035, 0.43652182817459106, 0.2573651969432831, 0.14278769493103027, -0.2878433167934418, -1.1994956731796265, 1.1491557359695435, 0.5759425163269043, -0.7612512707710266, -0.0825638696551323, 0.11126051098108292, 0.309314101934433, -0.3864921033382416, 0.00023442473320756108, 0.4763782024383545, 0.555511474609375, -0.00046193928574211895, -0.9165389537811279, 0.3310491740703583, -0.05474301427602768, -0.19993256032466888, 0.5302948355674744, -0.46090617775917053, 0.5448630452156067, -0.38927093148231506, -0.022361308336257935, 0.07520289719104767, 0.5110251903533936, 0.4216749966144562, 0.1427554488182068, 0.5712546706199646, 0.6070008873939514, 0.6725646257400513, -0.25235050916671753, 0.931178629398346, -0.42788389325141907, -0.0011481475085020065, 0.9610204696655273, -0.2130068838596344, 0.41179338097572327, 0.7596882581710815, -0.15495596826076508, 0.4812448024749756, 0.8315612077713013, -0.05774467810988426, 0.5758179426193237, 0.24434080719947815, -0.1554381251335144, 0.029645422473549843, 0.31728169322013855, -0.26424914598464966, 0.19272328913211823, -0.0011568359332159162, -0.030206959694623947, -0.19424962997436523, 0.006409902125597, 0.0918935164809227, -0.008867056109011173, -0.37180960178375244, 0.7943894267082214, 0.09000586718320847, -0.9238051772117615, 0.7252238392829895, -0.007403842639178038, 0.6634124517440796, -0.6087148189544678, -0.010708189569413662, -0.5361091494560242, 0.34485766291618347, -0.6749080419540405, -0.5156754851341248, 0.7507747411727905, -0.06580884754657745, -0.168025940656662, -0.1346706598997116, 0.6454242467880249, -0.5038841962814331, -0.2682800590991974, -0.05188465490937233, 0.01523390132933855, 0.035072799772024155, -0.26036933064460754, -0.451421320438385, 0.3937676250934601, 0.39436841011047363, -0.11853493005037308, 0.571354329586029, 0.35873931646347046, -0.38407695293426514, 0.4598100483417511, 0.6132704019546509, 0.26059770584106445, 0.14834599196910858, -0.04342928156256676, 0.755255401134491, -0.38095539808273315, -0.2941674590110779, -0.9168952107429504, 0.7927938103675842, 0.13423684239387512, 0.04901423305273056, 0.7168306112289429, 0.43611451983451843, 0.5301181077957153, 0.06780318170785904, 0.7524979710578918, 0.14541614055633545, 0.3421771228313446, -0.5755449533462524, 0.23885329067707062, -0.41488125920295715, 0.7713407278060913, -0.24852171540260315, -1.1642533540725708, -0.4549795687198639, 0.5712506175041199, -0.21253657341003418, -0.15642395615577698, 0.6178776025772095, 1.0766375064849854, 0.0448964461684227, -0.3236706256866455, 0.06801105290651321, 0.15705080330371857, 0.5690378546714783, 0.6423649787902832, 0.6320599317550659, -0.18803808093070984, 0.6177479028701782, -0.16618561744689941, -0.5022605657577515, -0.02130870893597603, -1.1435128450393677, -0.5896265506744385, -0.2593213617801666, -0.4754353165626526, -0.12328209728002548, -0.05906837433576584, 0.8065765500068665, 0.2557161748409271, -0.6933895349502563, 0.144427090883255, -0.5128330588340759, 0.0794626921415329, -0.42726999521255493, -0.19625873863697052, 0.29300713539123535, -0.8380088806152344, -0.45812439918518066, 0.7959985733032227, 0.39253899455070496, -0.04088728874921799, -0.14274805784225464, -0.36962655186653137, 0.14539922773838043, -0.20096871256828308, 0.205706387758255, 0.42658519744873047, -0.7563403844833374, -0.6505388617515564, 0.2180432677268982, 0.08502297103404999, 0.32462912797927856, 0.8665207624435425, -0.7489166855812073, 0.23955820500850677, 0.2709011137485504, 0.8240221738815308, 0.18483030796051025, 0.06814208626747131, 0.9121354818344116, -1.0786752700805664, 0.05298386886715889, 0.12335333973169327, 0.4554205536842346, 0.41133156418800354, -0.6349318623542786, 0.3359173834323883, -0.11218632757663727, -0.7431530356407166, -0.8085660934448242, 0.2992536127567291, -0.6401450037956238, -0.152491956949234, 1.0516836643218994, -0.22663278877735138, -0.03933874890208244, -0.15348508954048157, -0.5109450817108154, 0.38618266582489014, -0.15722614526748657, 0.7637413144111633, 0.4560483992099762, -0.2558082938194275, -0.20953123271465302, -0.14101657271385193, 0.5775808691978455, 0.3996222913265228, -0.5848091244697571, 0.040559422224760056, 0.5252768397331238, 0.6572468280792236, -0.06497808545827866, 0.987575113773346, -0.3294540345668793, 0.09474384784698486, -0.3875531852245331, 0.1513577103614807, -0.4882563352584839, -0.27752235531806946, -0.5745627284049988, -0.21469171345233917, 0.36474281549453735, -0.18412001430988312 ]
http://arxiv.org/abs/2404.08865v1
http://arxiv.org/pdf/2404.08865v1
LLM In-Context Recall is Prompt Dependent
2024-04-13T01:13:59
2024-04-13T01:13:59
Daniel Machlab, Rick Battle
cs.CL
cs.CL, cs.LG
The proliferation of Large Language Models (LLMs) highlights the critical importance of conducting thorough evaluations to discern their comparative advantages, limitations, and optimal use cases. Particularly important is assessing their capacity to accurately retrieve information included in a given prompt. A model's ability to do this significantly influences how effectively it can utilize contextual details, thus impacting its practical efficacy and dependability in real-world applications. Our research analyzes the in-context recall performance of various LLMs using the needle-in-a-haystack method. In this approach, a factoid (the "needle") is embedded within a block of filler text (the "haystack"), which the model is asked to retrieve. We assess the recall performance of each model across various haystack lengths and with varying needle placements to identify performance patterns. This study demonstrates that an LLM's recall capability is not only contingent upon the prompt's content but also may be compromised by biases in its training data. Conversely, adjustments to model architecture, training strategy, or fine-tuning can improve performance. Our analysis provides insight into LLM behavior, offering direction for the development of more effective applications of LLMs.
[ -0.07664372026920319, -0.8025575876235962, 0.7313441038131714, 0.04866693168878555, -0.13197913765907288, -0.23429155349731445, -0.07540973275899887, -0.5922679901123047, 0.0999099612236023, 0.31182369589805603, -0.30228206515312195, -0.3741263449192047, -0.49054214358329773, 0.4332769811153412, -0.5943926572799683, 0.5522850751876831, -0.009001544676721096, 0.040438514202833176, -0.4623575508594513, 0.05185173824429512, -1.0371934175491333, -0.8348885178565979, -0.4192970395088196, -0.20710664987564087, 0.5189904570579529, 0.5768020153045654, 0.16362272202968597, 0.7064928412437439, 0.3692943751811981, 0.25422531366348267, -0.4257661998271942, 0.02256511151790619, -0.6503803730010986, 0.2624746263027191, -0.1769554764032364, -0.5379357933998108, -0.20255917310714722, 0.031206687912344933, 0.978431761264801, 0.5867401957511902, -0.2387891709804535, -0.049105871468782425, 0.16051889955997467, 0.44858577847480774, -0.698506772518158, -0.2006026655435562, -0.9203598499298096, -0.24568487703800201, -0.026545802131295204, -0.3058544397354126, -0.5610215067863464, -0.3338024318218231, 0.4252167344093323, -0.47670048475265503, 0.03012499399483204, 0.08614898473024368, 0.7734773755073547, 0.07445402443408966, -0.4106822609901428, -0.5572095513343811, -0.5464579463005066, 0.5667241215705872, -0.7315502762794495, 0.06676442921161652, 0.5154645442962646, 0.13988976180553436, -0.299217164516449, -0.49681994318962097, -0.21653102338314056, -0.295566201210022, -0.2526334524154663, -0.11890026181936264, 0.2332056760787964, -0.13722681999206543, 0.5549297332763672, 0.22935931384563446, -0.19741714000701904, 0.3156788647174835, -0.224554181098938, -0.1319991946220398, 0.18072375655174255, 0.6056309938430786, 0.24844418466091156, -0.3254067599773407, -0.49800339341163635, 0.17997710406780243, -1.0554921627044678, 0.2910735309123993, -0.14720159769058228, 0.45112934708595276, -0.019536737352609634, 0.4356447458267212, -0.1490619033575058, 0.6901859641075134, 0.03383190929889679, -0.2779920697212219, 0.0038230116479098797, -0.39592212438583374, -0.11112609505653381, 0.050703126937150955, 0.4128890633583069, 0.15732990205287933, 0.13060224056243896, -0.10664253681898117, -0.6004290580749512, -0.430019348859787, 0.4516291320323944, -0.7739417552947998, 0.3220652639865875, 0.04115935042500496, -0.33164066076278687, 0.12392883002758026, 0.17899447679519653, -0.27076807618141174, -0.5565215945243835, -0.2899031639099121, 0.6654772758483887, -0.5794565677642822, 0.053487472236156464, 0.03784264251589775, -0.177776038646698, 0.17033697664737701, 0.3256791830062866, -0.9030351042747498, 0.07118526101112366, 0.8957444429397583, 1.1139594316482544, -0.36640968918800354, -0.3397032618522644, -0.7107334136962891, 0.26258885860443115, -0.33246514201164246, 0.7538899779319763, -0.6156609058380127, -0.5998937487602234, 0.3320035934448242, 0.13831622898578644, -0.24683837592601776, -0.8369393348693848, 0.3756895363330841, -0.49711281061172485, 0.008021140471100807, -0.7887018918991089, -1.0379031896591187, -0.2803753614425659, 0.24167346954345703, -0.8163419961929321, 0.9513835906982422, -0.03828897699713707, -0.6866534948348999, 0.5144810676574707, -0.026040751487016678, -0.3959702253341675, 0.01945181004703045, -0.23149719834327698, -0.23599348962306976, 0.3481525480747223, -0.04321766644716263, 0.6985886096954346, -0.29238250851631165, 0.27272382378578186, -0.05785501003265381, -1.1385829448699951, 0.6033912301063538, -0.3407030999660492, 0.5046898126602173, -0.27006861567497253, 0.030790749937295914, 0.051763035356998444, -0.7788863778114319, -0.5251926779747009, -0.012656631879508495, -0.6401795148849487, -0.608526885509491, -0.07976238429546356, -0.2500858008861542, 0.10838337987661362, 0.1656431257724762, -0.3750069737434387, 0.08671168237924576, -0.3342466354370117, 0.27937307953834534, 0.8144236207008362, 0.1987977772951126, 0.3072616159915924, -0.5547585487365723, 0.499704509973526, -0.1439896672964096, -0.11817732453346252, -0.7737182974815369, -0.02933957427740097, -0.7277314066886902, -0.48344895243644714, 0.16330116987228394, 0.5140054225921631, -0.4918287694454193, 0.2558313310146332, 0.011061728931963444, -0.26113253831863403, -0.028400786221027374, 0.016887642443180084, 0.4185229539871216, 0.7541828155517578, 0.002482810290530324, -0.2761753797531128, -0.4571945071220398, -0.7906975150108337, -0.36590245366096497, -0.05063328519463539, -0.030048662796616554, 0.5572769045829773, 0.3856143057346344, -0.10260117053985596, 0.9153677225112915, -0.06817091256380081, -0.17539165914058685, -0.24996663630008698, -0.19618621468544006, 0.6241264343261719, 0.18469293415546417, 0.31905728578567505, -0.3139731287956238, -0.27358874678611755, -0.34205520153045654, -0.8608891367912292, -0.10789525508880615, -0.29027557373046875, -0.020405393093824387, 0.4060786962509155, 0.6269372701644897, -0.5473048686981201, 0.3363175690174103, 0.22546587884426117, -0.4553941786289215, 0.7247985005378723, -0.3626590073108673, 0.026164811104536057, -0.6452142596244812, 0.4495463967323303, -0.27903228998184204, -0.0762324407696724, -0.6387883424758911, -0.2762560248374939, 0.4642763137817383, 0.2923577129840851, -0.6060585975646973, 0.7595691084861755, -0.4634374976158142, -0.15034788846969604, -0.1722928136587143, 0.14334338903427124, -0.04177052155137062, 0.1488839089870453, 0.07147036492824554, 1.2594269514083862, 0.4136599898338318, -1.0702252388000488, -0.11492995172739029, 0.06420794874429703, -0.7397342920303345, 0.5697101354598999, -0.6101163029670715, 0.18783782422542572, -0.0017972694477066398, 0.13345210254192352, -1.0682296752929688, -0.2727998197078705, -0.06980159878730774, -0.05919588729739189, 0.39940696954727173, 0.14547684788703918, -0.555935800075531, -0.05458735674619675, -0.19026117026805878, 0.24111922085285187, 0.3985264301300049, -0.6093001365661621, 0.5820474028587341, 0.33234480023384094, -0.04302733391523361, -0.531832218170166, -0.24111871421337128, -0.01363569125533104, -0.585626482963562, -0.16281315684318542, 0.06600742787122726, 0.09816648066043854, -0.10140173882246017, -0.5230771899223328, -0.16672755777835846, 0.19911067187786102, 0.43334531784057617, 0.3112887740135193, 0.4574069380760193, 0.10196862369775772, 0.5419695973396301, -0.36580929160118103, -0.1495940238237381, 0.25873467326164246, 0.07462020218372345, 0.4737779200077057, 0.009725487791001797, -0.14589166641235352, -0.4136406481266022, 0.1853601336479187, 0.3931827247142792, 0.17492623627185822, 0.735358476638794, 0.005565683823078871, -0.35576701164245605, -0.11190174520015717, -0.7005848288536072, -0.3955042064189911, -0.4424378573894501, 0.49582770466804504, -0.4499872028827667, -0.9080080986022949, 0.6218953728675842, -0.033995840698480606, -0.06080072000622749, 0.08963906019926071, 0.5542919635772705, -0.3572375178337097, 0.527511477470398, 0.61310213804245, -0.09149966388940811, 0.751314640045166, -0.026067351922392845, -0.3000693619251251, -1.0435566902160645, -0.341220498085022, -0.3604874312877655, -0.13734494149684906, -0.016635870561003685, -0.2056959569454193, 0.5192010998725891, 0.13764776289463043, -0.2100505530834198, 0.14878764748573303, -0.0704871341586113, 0.552175760269165, 0.5736297369003296, 0.0027429694309830666, 0.49091410636901855, -0.07834780961275101, -0.38869979977607727, 0.048442114144563675, -0.8620581030845642, -0.8384667634963989, 1.0275025367736816, 0.38458287715911865, 0.6332902908325195, -0.05125664919614792, 0.472302109003067, -0.1154346689581871, 0.13970933854579926, -0.8072699308395386, 0.6011603474617004, 0.030464135110378265, -0.5805001258850098, -0.31688445806503296, -0.13462328910827637, -1.1019476652145386, 0.2998163104057312, -0.1846006214618683, -0.7652801871299744, -0.04891832917928696, 0.1955171525478363, -0.49251121282577515, 0.0523805133998394, -0.6239108443260193, 0.5279443860054016, -0.17468798160552979, -0.38347530364990234, -0.16723144054412842, -0.42387932538986206, 0.363308846950531, -0.31289395689964294, 0.030250925570726395, -0.16133049130439758, -0.2117220163345337, 0.5754048824310303, -0.15147525072097778, 1.0205397605895996, 0.07083465903997421, -0.19253501296043396, 0.28495994210243225, 0.24856558442115784, 0.6030866503715515, -0.010232415981590748, -0.18937139213085175, 0.23944716155529022, 0.08068526536226273, -0.08345469832420349, -0.49593546986579895, 0.5300131440162659, -0.47725164890289307, -0.7809305787086487, -0.3293909728527069, -0.45814889669418335, -0.3170393705368042, -0.005041708238422871, 0.11693334579467773, 0.5758680701255798, -0.5042933225631714, 0.21149694919586182, 0.8551193475723267, -0.4458773136138916, 0.6040102243423462, 0.7006343603134155, -0.232587993144989, 0.008640177547931671, 0.7408897876739502, 0.2889528274536133, 0.3661193549633026, 0.46221697330474854, 0.20661230385303497, -0.1642911434173584, -0.39258521795272827, -0.3291376829147339, 0.39466622471809387, -0.8255911469459534, -0.22176989912986755, -0.5362051129341125, -0.05540341138839722, 0.11896874755620956, -0.08337143808603287, -0.12778013944625854, -0.2053123116493225, -0.6142526268959045, 0.010139093734323978, 0.5871288180351257, 0.9449542760848999, 0.17596599459648132, 0.3312965929508209, -0.6707442998886108, -0.021408656612038612, 0.3036189377307892, 0.4998469352722168, 0.31695541739463806, -0.7214844822883606, -0.44769471883773804, -0.2834722697734833, -0.044148802757263184, -0.7794837951660156, 0.11075177788734436, 0.08286929130554199, 0.7011190056800842, 0.2051807940006256, -0.26797786355018616, 0.5241204500198364, -0.5978220105171204, 0.6594551205635071, -0.0976346954703331, -0.8779301047325134, 0.4715476334095001, -0.39838069677352905, 0.6259234547615051, 0.41794079542160034, 0.24534225463867188, -0.8367293477058411, -0.2809920012950897, -0.3420651853084564, -0.9370364546775818, 0.8580107688903809, -0.1103777214884758, 0.07030315697193146, -0.2893349826335907, 0.6945764422416687, 0.26506733894348145, 0.06201975792646408, -0.29515451192855835, 0.12291724979877472, 0.23777911067008972, 0.03902628645300865, -0.0033483589068055153, -0.6391343474388123, 0.010576377622783184, -0.10535886883735657, 0.4290370047092438, 0.0008353057783097029, 0.11210983246564865, 0.12794385850429535, -0.31715282797813416, 0.29493534564971924, 0.039560843259096146, 0.5866386890411377, 0.89650559425354, -0.3544517755508423, 0.06706126779317856, 0.502178430557251, -0.4448970854282379, -0.02331722341477871, -0.5452225804328918, -0.3074335753917694, -0.05133640766143799, 0.6077867150306702, 0.6572745442390442, 0.5084399580955505, -1.064451813697815, 0.5028679966926575, -0.060977403074502945, 0.29655998945236206, -0.3325716257095337, 0.3172641396522522, 0.11623406410217285, 0.21731294691562653, 0.35586628317832947, -0.4302781820297241, 0.24611835181713104, -0.6287864446640015, 0.19750399887561798, 0.6009300947189331, -0.3191342353820801, -0.15345926582813263, 0.23473243415355682, 0.096548892557621, -0.4289281964302063, 0.6156488060951233, 0.23378781974315643, -0.3711448609828949, 0.791361927986145, 0.7139772176742554, 0.7161874175071716, -0.18608656525611877, -0.1343454271554947, 0.6122987866401672, 0.058683376759290695, -0.27279773354530334, 0.1804577112197876, 0.16671167314052582, -0.45297303795814514, -0.183528333902359, -0.2391822785139084, -0.2285357564687729, 0.03920559957623482, -0.6664128303527832, 0.30636027455329895, -0.5519390106201172, -0.30376872420310974, -0.6053184866905212, -0.15355148911476135, -0.6975347995758057, 0.1079440638422966, -0.0017598271369934082, 1.0404345989227295, -0.5755726099014282, 0.7874153852462769, 0.33546125888824463, -0.20786108076572418, -0.7221813201904297, -0.05309336259961128, 0.1492432802915573, -0.9033527374267578, 0.508322536945343, 0.5130074620246887, -0.23658078908920288, -0.3194097876548767, -0.4358067214488983, -1.2094814777374268, 1.329132080078125, 0.18282251060009003, -0.7192806601524353, 0.19595126807689667, -0.2350660264492035, 0.47707656025886536, -0.5977310538291931, 0.5230493545532227, 0.8763251900672913, 0.06504783034324646, 0.23075732588768005, -1.0645698308944702, 0.24757608771324158, 0.13098064064979553, 0.39936521649360657, -0.046442802995443344, -0.5884556770324707, 0.8288682699203491, -0.3357407748699188, -0.5084661245346069, 0.26836490631103516, 0.39271417260169983, 0.7604301571846008, 0.05235866457223892, 0.2912754714488983, -0.014333571307361126, 1.0782735347747803, 0.17559954524040222, 1.139446496963501, -0.04228336736559868, 0.071188785135746, 1.1334291696548462, -0.27886247634887695, 1.1860134601593018, 0.6525993347167969, 0.1604049950838089, 0.4062371551990509, 0.5761876106262207, 0.22822585701942444, 0.39629775285720825, 0.217611163854599, 0.016914600506424904, -0.21620997786521912, -0.22060048580169678, -0.21048498153686523, 0.41444942355155945, 0.5482375621795654, -0.5021930932998657, 0.11550422012805939, -0.1043182834982872, 0.03258639946579933, 0.09419212490320206, -0.2613646984100342, 0.9414633512496948, 0.12730303406715393, -0.6505894660949707, 0.80472332239151, -0.22356602549552917, 0.6444504857063293, -0.4711563289165497, -0.14427340030670166, -0.40981408953666687, 0.07347765564918518, 0.17214076220989227, -0.5657663345336914, 0.07677119225263596, -0.10212274640798569, -0.3717481791973114, -0.04594835638999939, 0.5495221018791199, -0.25703951716423035, -0.27695268392562866, 0.31270772218704224, 0.398983895778656, 0.16825370490550995, 0.09273486584424973, -0.3046361804008484, 0.3732880651950836, -0.2996887266635895, -0.2508411705493927, 0.37382808327674866, 0.47778376936912537, -0.15809862315654755, 0.8878828883171082, 0.2598404884338379, 0.12421344220638275, -0.03539152443408966, 0.00983976386487484, 0.6771050691604614, -0.9855033159255981, -0.3746531307697296, -1.0056486129760742, 0.3462735116481781, -0.016610726714134216, -0.39481112360954285, 0.840305745601654, 0.561296284198761, 0.729652464389801, -0.0196473877876997, 0.5829442143440247, 0.36704057455062866, 0.9249599575996399, -0.9286215305328369, 0.5339029431343079, -0.47075796127319336, 0.6601204872131348, -0.2006067931652069, -0.719932496547699, -0.11632867902517319, 0.6792633533477783, -0.2393185943365097, 0.13495412468910217, 0.8282096982002258, 0.7669656276702881, 0.25671228766441345, -0.047636862844228745, 0.4036852717399597, 0.35667431354522705, 0.19296306371688843, 0.8610369563102722, 1.2305879592895508, -0.29575592279434204, 0.16228407621383667, 0.18926475942134857, -0.17097707092761993, -0.555334746837616, -1.0280145406723022, -1.086304783821106, -0.5328922867774963, 0.07046923041343689, -0.22522245347499847, -0.03565078228712082, 0.8622686862945557, 0.4651239812374115, -0.5185273885726929, -0.6608538031578064, 0.34506070613861084, 0.3010933995246887, -0.06455105543136597, -0.13183416426181793, 0.3625900149345398, -0.5759308934211731, -0.5067639946937561, 0.3631453216075897, 0.43520891666412354, 0.13918842375278473, -0.1268654614686966, -0.05830283835530281, -0.22954580187797546, 0.2034778594970703, 0.5988803505897522, 0.16955862939357758, -0.920993447303772, -0.30952534079551697, 0.14131465554237366, -0.3443615138530731, 0.06101124733686447, 0.9478346109390259, -1.1081877946853638, 0.5208772420883179, 0.4019815921783447, 0.5588877201080322, 0.23556260764598846, 0.13460999727249146, 0.6682366728782654, -0.6095669269561768, 0.09188136458396912, 0.02397412247955799, 0.3329041004180908, 0.36235955357551575, -0.36815372109413147, 0.24845147132873535, 0.0930626392364502, -0.5046643614768982, -0.7210221886634827, 0.02861880138516426, -0.547374427318573, -0.5591722130775452, 1.5619165897369385, -0.012554064393043518, -0.09695947170257568, -0.20897044241428375, -0.355912983417511, -0.06259182095527649, -0.3769405484199524, 0.9294087886810303, 0.9642381072044373, 0.0023970259353518486, -0.05482804775238037, -0.6545445919036865, 0.5078563690185547, 0.4079412519931793, -0.47111910581588745, 0.14885160326957703, 0.6378215551376343, 0.4372723698616028, -0.24352547526359558, 0.8044050335884094, 0.14039331674575806, 0.15793536603450775, -0.2937626540660858, -0.2587381601333618, 0.07173583656549454, -0.5109792351722717, -0.7263213992118835, 0.09382688999176025, 0.21815042197704315, 0.05518914759159088 ]
http://arxiv.org/abs/2404.08856v1
http://arxiv.org/pdf/2404.08856v1
On Speculative Decoding for Multimodal Large Language Models
2024-04-13T00:02:36
2024-04-13T00:02:36
Mukul Gagrani, Raghavv Goel, Wonseok Jeon, Junyoung Park, Mingu Lee, Christopher Lott
cs.CL
cs.CL, cs.AI, cs.LG
Inference with Multimodal Large Language Models (MLLMs) is slow due to their large-language-model backbone which suffers from memory bandwidth bottleneck and generates tokens auto-regressively. In this paper, we explore the application of speculative decoding to enhance the inference efficiency of MLLMs, specifically the LLaVA 7B model. We show that a language-only model can serve as a good draft model for speculative decoding with LLaVA 7B, bypassing the need for image tokens and their associated processing components from the draft model. Our experiments across three different tasks show that speculative decoding can achieve a memory-bound speedup of up to 2.37$\times$ using a 115M parameter language model that we trained from scratch. Additionally, we introduce a compact LLaVA draft model incorporating an image adapter, which shows marginal performance gains in image captioning while maintaining comparable results in other tasks.
[ -0.17252139747142792, -0.616998016834259, 0.6659000515937805, 0.3544895350933075, -0.5313059687614441, 0.20561547577381134, -0.1637837290763855, -0.6855530738830566, 0.39634644985198975, 0.7091256976127625, -0.32563769817352295, -0.09645835310220718, -0.474336713552475, 0.02021840773522854, -0.3455370366573334, 0.3959704339504242, 0.051876142621040344, -0.040664345026016235, -0.15133333206176758, 0.1922423541545868, -0.1988174170255661, -0.5243525505065918, -0.540038526058197, 0.2709744870662689, 0.6513375639915466, 0.1317928284406662, 0.5401864647865295, 0.6301445960998535, 0.3407153785228729, 0.3303825259208679, -0.06631235778331757, 0.516652524471283, -0.6904129981994629, 0.37343689799308777, 0.034702118486166, -0.8419929146766663, -0.33914878964424133, -0.3829568922519684, 0.850774347782135, 0.2615973949432373, 0.07594551891088486, 0.07307540625333786, -0.5226964354515076, 0.5553998351097107, -0.9809632897377014, 0.3925476372241974, -0.8396803140640259, -0.2381083369255066, -0.4424138069152832, -0.43792977929115295, -0.9804660677909851, 0.014805072918534279, -0.37227174639701843, -0.694075882434845, 0.25166991353034973, 0.6789584159851074, 0.707300066947937, 0.1278049796819687, -0.2954503297805786, -0.020080022513866425, -0.6339431405067444, 0.7798271179199219, -0.846655011177063, 0.573889970779419, 0.43809568881988525, 0.38131213188171387, -0.2778468728065491, -0.715803861618042, -0.8751220703125, -0.24836452305316925, 0.0488465242087841, 0.026406865566968918, -0.06284533441066742, 0.2048136442899704, 0.38059473037719727, 0.1331084668636322, -0.323839008808136, 0.05216926708817482, -0.5134930610656738, -0.5488951206207275, 0.5073410272598267, 0.324207067489624, -0.0558183528482914, -0.20948463678359985, -0.21937620639801025, -0.08852825313806534, -0.5696670413017273, 0.006494847591966391, 0.49598219990730286, 0.06447584182024002, -0.05599411949515343, 0.5785989165306091, -0.2163863629102707, 0.6974731683731079, 0.0015803686110302806, -0.5187948346138, 0.24436233937740326, -0.16348797082901, -0.107672318816185, -0.21957337856292725, 0.42458611726760864, 0.6327080726623535, -0.10928843170404434, -0.3762357831001282, -0.2457900196313858, 0.5565069317817688, 0.09817078709602356, -0.8328137397766113, -0.24243977665901184, 0.254911869764328, -0.7573279738426208, -0.05568521097302437, -0.42054399847984314, -0.6978898644447327, -0.49046722054481506, 0.018361495807766914, -0.03862579166889191, -0.5237469673156738, -0.3402218222618103, 0.37424731254577637, -0.3795228600502014, 0.26619523763656616, 0.6070678234100342, -0.9742070436477661, -0.06434948742389679, 0.23361168801784515, 0.6500126123428345, -0.17420850694179535, -0.3630174994468689, -0.5246917009353638, 0.34345248341560364, -0.5727952718734741, 1.3467462062835693, -0.8111942410469055, -0.28721433877944946, -0.22333282232284546, -0.09929460287094116, -0.1969437152147293, -0.07954337447881699, 0.6576562523841858, -0.9849290251731873, -0.41715338826179504, -0.25206679105758667, -0.6252678632736206, -0.15188904106616974, 0.21926191449165344, -0.9015367031097412, 0.5065906047821045, -0.29645800590515137, -0.8683921694755554, 0.514376163482666, -0.29153352975845337, -0.19996321201324463, -0.09421056509017944, -0.021897390484809875, 0.04919663444161415, 0.3094245195388794, 0.5769524574279785, 0.5505509376525879, -0.34839552640914917, 0.20390291512012482, -0.6004483699798584, -0.7730615735054016, 0.32702040672302246, -0.8869873285293579, 0.22534030675888062, 0.5884845852851868, 0.1983523964881897, 0.011305974796414375, -0.5928886532783508, -0.08546341210603714, 0.012740548700094223, -0.46791765093803406, -0.244393989443779, -0.045200783759355545, 0.23451051115989685, -0.13517703115940094, 0.01067275833338499, -0.489635705947876, 0.4211823344230652, -0.2882901728153229, 0.1513882875442505, 0.6436256170272827, -0.14212580025196075, 0.4008219242095947, -0.27331075072288513, 0.5253779888153076, 0.20857061445713043, 0.08134870231151581, -0.6338005661964417, -0.40572214126586914, -0.9105826616287231, -0.585258960723877, 0.3626253008842468, 0.2429817020893097, -1.4337586164474487, -0.375605046749115, -0.26158714294433594, -0.36659327149391174, -0.8093668818473816, 0.020670779049396515, 0.28908243775367737, 0.18026681244373322, 0.12551066279411316, 0.019538484513759613, -0.6288263201713562, -1.024611473083496, -0.3029497563838959, -0.16720770299434662, 0.35772567987442017, 0.24581772089004517, 0.08445549011230469, -0.17403514683246613, 0.32463181018829346, -0.33300384879112244, 0.3066074252128601, -0.5358633995056152, -0.06932085752487183, 0.2884308695793152, 0.34234821796417236, 0.7692689895629883, -0.6886405348777771, -0.24875342845916748, -0.22977660596370697, -0.709544837474823, 0.24712100625038147, -0.25367608666419983, -0.3207378089427948, 0.48691999912261963, 0.6731842160224915, -0.9600321650505066, 0.332093745470047, 0.6600028276443481, -0.37759849429130554, 0.6479516625404358, -0.28894737362861633, 0.45676010847091675, -0.9325337409973145, -0.030219068750739098, -0.3349322974681854, -0.13904200494289398, -0.5818802118301392, 0.3439200520515442, 0.32700952887535095, 0.20705561339855194, -0.6204727292060852, 0.6601400375366211, -0.7671965956687927, 0.09028303623199463, -0.4324592053890228, -0.17801643908023834, 0.19593657553195953, 0.3172979950904846, 0.2218366116285324, 0.8839136958122253, 0.7628698348999023, -0.38242077827453613, 0.13276362419128418, -0.22253136336803436, -0.41769611835479736, -0.09016184508800507, -0.23061026632785797, 0.16170816123485565, -0.5124363899230957, 0.5247475504875183, -0.9202220439910889, -0.40084320306777954, 0.11140430718660355, -0.0769762173295021, 0.42902714014053345, -0.2528552711009979, -0.6952069401741028, -0.49135148525238037, -0.31439071893692017, 0.7158963084220886, 0.4653145372867584, -0.4428439140319824, 0.9107603430747986, 0.20169486105442047, 0.2721838057041168, -0.8821679949760437, -0.7251892685890198, 0.2665070593357086, -0.04643655940890312, -0.5716580152511597, 0.07244045287370682, -0.0626215785741806, -0.08031690120697021, -0.0533779039978981, 0.1631757915019989, -0.002554146572947502, -0.1418159008026123, 0.23317952454090118, 0.4060762822628021, -0.3478091359138489, 0.10116932541131973, 0.29247990250587463, -0.04768124222755432, -0.08427418768405914, -0.3215484917163849, 0.4950401186943054, -0.24533674120903015, -0.3298262059688568, -0.3232875168323517, 0.44809383153915405, 0.7860172986984253, 0.07357277721166611, 0.7356743812561035, 0.5945833921432495, -0.0551333986222744, -0.12668748199939728, -1.1474190950393677, -0.07617145031690598, -0.4954075217247009, 0.30117735266685486, -0.6430845260620117, -0.8186982870101929, 0.6671865582466125, -0.117119200527668, -0.05379481986165047, 0.40923115611076355, 0.6260302066802979, 0.026466330513358116, 0.5671223402023315, 0.6310638189315796, 0.04216194525361061, 0.279961496591568, -0.25105026364326477, 0.029440805315971375, -0.6471304893493652, -0.2713015079498291, -0.1237703412771225, -0.17056457698345184, -0.30328038334846497, -1.0560990571975708, -0.057217225432395935, 0.09516781568527222, 0.28898850083351135, -0.05521944910287857, -0.00033517443807795644, 0.7136785984039307, 0.456646591424942, 0.25805366039276123, 0.3852480947971344, 0.21862594783306122, -0.24787768721580505, -0.028706485405564308, -0.9743970036506653, -0.28544068336486816, 1.1547677516937256, 0.26744595170021057, 1.2341722249984741, 0.08332657068967819, 0.373838871717453, 0.2708558738231659, 0.43283262848854065, -0.5476737022399902, 0.4876112937927246, -0.23492562770843506, -0.7281618118286133, 0.04626253619790077, -0.1705472767353058, -0.7192718386650085, 0.5314540266990662, -0.3942320644855499, -0.6629744172096252, 0.4512593150138855, 0.5903603434562683, -0.24830904603004456, 0.659970760345459, -1.0093756914138794, 0.4161660671234131, 0.02683051861822605, -0.5784270167350769, -0.3813301622867584, -0.3759063184261322, 0.8571859002113342, -0.03339790925383568, 0.19821682572364807, -0.12768980860710144, 0.033443041145801544, 0.530832827091217, 0.05895985662937164, 0.9965221285820007, -0.21687141060829163, 0.02510738931596279, 0.4474491775035858, 0.2330971658229828, 0.6377043128013611, 0.12239980697631836, -0.3955157399177551, 0.08956064283847809, 0.13539259135723114, -0.6621568202972412, -0.6770772933959961, 0.624983012676239, -0.6376800537109375, -0.7333077788352966, -0.14229479432106018, -1.0010367631912231, -0.320835143327713, 0.04852813854813576, 0.1642991304397583, 0.4071028232574463, 0.2305569052696228, 0.00045408375444822013, 0.538763701915741, -0.18832747638225555, 0.6139338612556458, 0.3662284016609192, -0.30220749974250793, -0.14271873235702515, 0.9678385257720947, -0.19214947521686554, 0.3710891604423523, 0.5041528940200806, -0.10293663293123245, -0.5103079676628113, -0.8041172623634338, -0.6499611139297485, 0.29032033681869507, -0.9623317122459412, -0.23590759932994843, -0.8650568723678589, 0.054803989827632904, -0.3176254332065582, -0.15821139514446259, -0.4210549592971802, -0.5322034358978271, -0.13878042995929718, -0.009711350314319134, 0.5416654944419861, 0.5491576194763184, 0.1445804089307785, 0.3247300684452057, -0.8591859936714172, 0.39700183272361755, -0.19462360441684723, 0.21075637638568878, 0.4352644383907318, -0.6618120670318604, -0.2740944027900696, -0.17241740226745605, 0.15570086240768433, -0.5649727582931519, 0.5081993341445923, 0.02953501231968403, 0.6688607931137085, 0.5532389879226685, 0.08840316534042358, 0.9452379941940308, -0.4721980094909668, 0.6219562888145447, 0.20281168818473816, -0.6639172434806824, 0.037194933742284775, -0.3342190086841583, 0.3682781159877777, 0.304828017950058, 0.12826114892959595, -0.1241212710738182, -0.53415447473526, -0.22654186189174652, -0.778075098991394, 0.44955146312713623, 0.05636593699455261, 0.3722269535064697, -0.16137012839317322, 0.38500773906707764, 0.3402472138404846, 0.16920627653598785, -0.6213706731796265, -0.1490786373615265, -0.22225511074066162, 0.18309447169303894, -0.11690381169319153, -0.7889769077301025, 0.13207800686359406, -0.2255544811487198, 0.24460376799106598, -0.28313982486724854, 0.4499189853668213, 0.10018835961818695, -0.19774536788463593, 0.014048703946173191, 0.3528403341770172, 0.7374615669250488, 0.39864102005958557, -0.20906522870063782, 0.33647620677948, 0.15085986256599426, -0.4771823585033417, 0.13873495161533356, -0.03740502893924713, -0.041472356766462326, -0.027990715578198433, 0.681933581829071, 1.1463496685028076, 0.1719360500574112, -0.8559455871582031, 0.17027468979358673, -0.3370436728000641, -0.21472784876823425, 0.08250641077756882, 0.0018279540818184614, 0.30794909596443176, 0.5181663632392883, 0.389843225479126, 0.418104350566864, 0.30115270614624023, -0.400372713804245, 0.04181857779622078, 0.30481311678886414, 0.31258076429367065, -0.2148410528898239, 0.6943631172180176, 0.0869329646229744, 0.3182946741580963, 0.47844797372817993, -0.22675080597400665, -0.11179227381944656, 0.4937211573123932, 0.9102609157562256, 0.5011435151100159, 0.20099236071109772, -0.02696070447564125, 0.14070503413677216, 0.36922720074653625, -0.12127688527107239, 0.5529176592826843, 0.031158611178398132, -0.7224733829498291, -0.9125521779060364, -0.9085943698883057, -0.20024777948856354, -0.15754146873950958, -0.3421904146671295, -0.11319725215435028, -0.43332183361053467, -0.2273523360490799, -0.16237932443618774, -0.49567121267318726, -0.7387140393257141, -0.0674603134393692, 0.33323317766189575, 1.0957554578781128, -0.4855804443359375, 1.0869135856628418, 0.44297391176223755, 0.01457307394593954, -0.934281587600708, -0.06887071579694748, -0.29192304611206055, -0.7970530986785889, 0.8579769730567932, 0.11599522083997726, -0.3486673831939697, -0.21987232565879822, -0.34335440397262573, -1.1746538877487183, 0.9184896349906921, 0.73215651512146, -0.8265938758850098, -0.1411508470773697, -0.2990022301673889, 0.4500104486942291, -0.4572087228298187, 0.4262349307537079, 0.2979550063610077, 0.42299985885620117, 0.3984944820404053, -0.6927986741065979, 0.2263929843902588, -0.46145978569984436, 0.17501315474510193, -0.15875594317913055, -0.723908543586731, 0.982877254486084, -0.6505426168441772, -0.15399205684661865, 0.251996248960495, 0.8935351371765137, 0.36441710591316223, 0.19935789704322815, 0.44130584597587585, 0.32146039605140686, 0.6774196028709412, 0.3188137114048004, 1.4484930038452148, -0.42855140566825867, 0.024184521287679672, 0.7322546243667603, -0.2033478170633316, 1.0466583967208862, 0.689365565776825, 0.018352782353758812, 0.3930891752243042, 0.532120406627655, 0.16756664216518402, 0.5773025155067444, -0.024235984310507774, -0.2652575969696045, -0.659902811050415, -0.0964810773730278, -0.3210006356239319, 0.3720347583293915, 0.6501778364181519, -0.4202944040298462, -0.1540469527244568, 0.15101498365402222, -0.22147443890571594, -0.13875308632850647, -0.404255747795105, 0.2647680640220642, 0.10294411331415176, -0.5269073843955994, 0.8883070349693298, 0.08936569094657898, 0.7926325798034668, -0.5214540958404541, 0.0013979849172756076, -0.12936218082904816, 0.14437511563301086, 0.1347055733203888, -0.5419497489929199, 0.1750425100326538, -0.26669517159461975, -0.3325607180595398, -0.007926363497972488, 0.8508696556091309, -0.32216981053352356, -0.8460508584976196, 0.22891360521316528, 0.47553375363349915, 0.2230611890554428, 0.04336170107126236, -0.4000469744205475, 0.644005298614502, -0.08584164828062057, -0.2645801305770874, 0.19593502581119537, 0.4492414593696594, -0.189814954996109, 0.9775799512863159, 1.011915922164917, 0.06651809811592102, 0.22623422741889954, 0.1308545470237732, 1.2639319896697998, -0.6864122748374939, -0.5365012884140015, -0.8212543725967407, 0.3841801881790161, 0.12652286887168884, 0.04098965600132942, 0.7389169335365295, 0.3750283122062683, 0.41807320713996887, -0.5578441023826599, 0.7361374497413635, 0.1004372239112854, 0.02547558769583702, -1.1110395193099976, 0.6607111096382141, -0.4348912239074707, 0.37861084938049316, -0.10111499577760696, -0.5449590682983398, -0.2016197144985199, 0.1361009031534195, -0.2525024116039276, -0.207188218832016, 0.7374921441078186, 0.9755969047546387, -0.058393508195877075, -0.1423400193452835, 0.7280848622322083, 0.43177470564842224, 0.19339370727539062, 0.43080297112464905, 0.99715256690979, -0.26454994082450867, 0.45396849513053894, -0.18866980075836182, 0.06309546530246735, -0.2675996720790863, -0.917747974395752, -1.271558403968811, -0.3204403817653656, 0.2614220380783081, -0.3960522711277008, 0.3318289816379547, 0.6083462238311768, 0.7488042712211609, -0.5129968523979187, -0.12659411132335663, 0.3581526279449463, -0.043975166976451874, -0.04166289046406746, -0.19871437549591064, 0.3729613125324249, -0.34629660844802856, -0.5944792032241821, 0.5141216516494751, 0.271519273519516, 0.09619995951652527, -0.2917283773422241, 0.05642296001315117, -0.18287834525108337, 0.2947269380092621, 0.8637083172798157, 0.06916523724794388, -1.172191858291626, 0.03011283278465271, 0.14490100741386414, 0.14928768575191498, -0.221256822347641, 1.001802682876587, -0.8812416195869446, 0.5026792287826538, 0.338716596364975, 0.6741834878921509, 0.8158220648765564, -0.04178917780518532, 0.5896684527397156, -0.26431819796562195, 0.8703247308731079, 0.07783633470535278, 0.6055540442466736, 0.16216447949409485, -0.5556887984275818, -0.15492692589759827, 0.33479467034339905, -0.16869290173053741, -0.7721953988075256, 0.07176472246646881, -1.1084575653076172, -0.484957218170166, 1.163919448852539, -0.12460780888795853, -0.6548553705215454, -0.09085223078727722, -0.41344037652015686, -0.27679556608200073, -0.7113768458366394, 0.6963775753974915, 0.4840572476387024, -0.09344404935836792, -0.6194499731063843, -0.5167656540870667, 0.34834638237953186, 0.2155601978302002, -0.5440456867218018, 0.17370523512363434, 0.5791271924972534, 0.001680078450590372, 0.054183851927518845, 0.8317487239837646, 0.13120616972446442, 0.4057327210903168, 0.7560551762580872, -0.056948546320199966, -0.2238602340221405, -0.3576051592826843, 0.22746393084526062, 0.243670254945755, 0.3243950605392456, 0.20440073311328888 ]
http://arxiv.org/abs/2404.08846v2
http://arxiv.org/pdf/2404.08846v2
Experimental Design for Active Transductive Inference in Large Language Models
2024-04-12T23:27:46
2024-05-31T02:37:10
Subhojyoti Mukherjee, Anusha Lalitha, Aniket Deshmukh, Ge Liu, Yifei Ma, Branislav Kveton
cs.LG
cs.LG, cs.CL
One emergent ability of large language models (LLMs) is that query-specific examples can be included in the prompt at inference time. In this work, we use active learning for adaptive prompt design and call it Active In-context Prompt Design (AIPD). We design the LLM prompt by adaptively choosing few-shot examples from a training set to optimize performance on a test set. The training examples are initially unlabeled and we obtain the label of the most informative ones, which maximally reduces uncertainty in the LLM prediction. We propose two algorithms, GO and SAL, which differ in how the few-shot examples are chosen. We analyze these algorithms in linear models: first GO and then use its equivalence with SAL. We experiment with many different tasks in small, medium-sized, and large language models; and show that GO and SAL outperform other methods for choosing few-shot examples in the LLM prompt at inference time.
[ 0.0349418930709362, -1.1247159242630005, 0.7169790267944336, 0.3518356680870056, -0.2932211458683014, -0.1924065798521042, -0.3354272246360779, -0.3329979479312897, -0.14900518953800201, 0.09288448840379715, -0.5882641673088074, -0.23502638936042786, -0.17620055377483368, 0.11350386589765549, -0.15566964447498322, 0.5479224920272827, -0.18233893811702728, 0.04031598940491676, 0.2589341700077057, -0.22731992602348328, -0.4315040111541748, 0.04627477005124092, -1.106101632118225, 0.07919429242610931, 0.49504196643829346, 0.3568006455898285, 0.6062494516372681, 0.512827455997467, 0.10332050919532776, 0.24844704568386078, -0.305376797914505, 0.2667139768600464, -0.06781068444252014, 0.41897308826446533, -0.22518038749694824, -0.6195054054260254, -0.16162541508674622, 0.02235998399555683, 0.8261017799377441, 0.849258542060852, 0.11472296714782715, -0.06633652001619339, -0.0905393660068512, 0.025103455409407616, -0.6904432773590088, -0.01673138327896595, -0.5850533843040466, 0.09199775010347366, 0.20503529906272888, -0.02380005642771721, -0.715937077999115, -0.36687174439430237, 0.10210029780864716, -0.528972327709198, 0.09712816029787064, 0.33273231983184814, 0.4137667715549469, 0.23855344951152802, -0.31151244044303894, -0.2985855042934418, -0.8558640480041504, 0.8497871160507202, -0.8759101033210754, 0.3327694237232208, 0.2887399196624756, 0.27265679836273193, -0.3442234694957733, -0.7872534990310669, -0.48926082253456116, -0.29673123359680176, -0.04483909532427788, 0.09345564246177673, -0.3459627628326416, 0.04178449884057045, 0.3642300069332123, -0.11680366098880768, -0.6077890396118164, 0.41755443811416626, -0.17552414536476135, -0.07637158781290054, 0.45514988899230957, 0.012595436535775661, 0.16440677642822266, 0.013137317262589931, -0.24709229171276093, 0.016340183094143867, -0.808556318283081, 0.2664092779159546, 0.0307320524007082, 0.5586503744125366, -0.08940302580595016, 0.5113753080368042, -0.0036749301943928003, 1.0863368511199951, 0.20144574344158173, 0.0451824888586998, 0.09054688364267349, -0.31898802518844604, -0.2859845757484436, -0.05282263457775116, 0.8777105808258057, -0.17725075781345367, 0.1665458083152771, -0.10546291619539261, -0.3807717263698578, -0.3281899690628052, 0.08611474931240082, -0.46580830216407776, -0.05194038897752762, 0.22757449746131897, -0.340362012386322, -0.016576256603002548, -0.26318925619125366, -0.5578802227973938, -0.2939825654029846, -0.15155386924743652, 0.6447715759277344, -0.39263099431991577, -0.03268195316195488, -0.15406924486160278, -0.048129964619874954, 0.22737263143062592, 0.49035048484802246, -0.7720479965209961, 0.18341758847236633, 0.3462221622467041, 0.8926789164543152, -0.5252469182014465, -0.35223808884620667, -1.0703237056732178, 0.18634635210037231, -0.5185033082962036, 0.9101668000221252, -0.909678041934967, -0.3923936188220978, 0.008316205814480782, 0.14152444899082184, -0.10111173987388611, -0.35666751861572266, 0.6430685520172119, -0.6680548191070557, 0.4284384548664093, -0.08550054579973221, -0.4673699736595154, -0.18955077230930328, 0.03223053365945816, -0.609413743019104, 1.0320101976394653, 0.14734162390232086, -0.5561517477035522, 0.4432981014251709, -0.8665806651115417, -0.3645266890525818, 0.07432220131158829, -0.1586538553237915, -0.39391618967056274, 0.40786558389663696, 0.2358541190624237, 0.36921942234039307, -0.06492096185684204, 0.022423837333917618, -0.3641829192638397, -0.4595254063606262, 0.43434786796569824, -0.4657019078731537, 0.9629074931144714, 0.22212515771389008, -0.4328267276287079, 0.4228391647338867, -0.6640231013298035, 0.16894593834877014, 0.0937155932188034, -0.4203574061393738, -0.5647580623626709, 0.04830550774931908, -0.35238751769065857, -0.042331404983997345, -0.23303139209747314, -0.29354920983314514, 0.4027714729309082, -0.4056966304779053, 0.2347579002380371, 0.9630316495895386, 0.31946295499801636, 0.6809142231941223, -0.08325176686048508, 0.7191739082336426, -0.06404931098222733, 0.08471812307834625, -0.14548607170581818, -0.4796251058578491, -0.8169664740562439, -0.46411198377609253, 0.5504630208015442, 0.5009264945983887, -0.7913306355476379, 0.2303229719400406, 0.14872366189956665, -0.2392396628856659, -0.43113255500793457, 0.032152097672224045, 0.18458639085292816, 0.41720274090766907, 0.20539350807666779, 0.11878732591867447, -0.3088380694389343, -0.785071074962616, -0.3949752748012543, -0.5411766171455383, -0.21969588100910187, 0.38698330521583557, 0.2934314012527466, 0.1551707535982132, 0.9051048755645752, -0.4444523751735687, 0.47653520107269287, -0.3779229521751404, 0.24714607000350952, 0.40651601552963257, 0.21764466166496277, 0.6903489232063293, -0.6092647910118103, -0.5397538542747498, -0.4697243273258209, -0.43978366255760193, -0.4690040946006775, -0.27396711707115173, -0.3083603084087372, -0.005424112547188997, 0.41237980127334595, -0.4803351163864136, 0.3260785639286041, 0.1770962029695511, -0.6077369451522827, 0.32979804277420044, -0.08211232721805573, -0.06699070334434509, -0.879285454750061, -0.21338163316249847, -0.061848681420087814, -0.2805948257446289, -0.7475039958953857, 0.0980498418211937, 0.27668213844299316, -0.23434126377105713, -0.6459398865699768, 1.1936960220336914, -0.7294986248016357, -0.15405134856700897, -0.4332500398159027, -0.11165615916252136, -0.07632821798324585, 0.5475358366966248, 0.26634660363197327, 0.952813982963562, 0.7212589383125305, -1.092262625694275, 0.3939017653465271, 0.10673727840185165, -0.5749574899673462, 0.1384241282939911, -0.7954615950584412, 0.2293580025434494, -0.27038636803627014, 0.28708574175834656, -1.4575793743133545, -0.10827959328889847, 0.3438442647457123, -0.21300911903381348, 0.3563450574874878, 0.016129696741700172, -0.26850804686546326, -0.30369260907173157, -0.22835330665111542, 0.4234713017940521, 0.5720260739326477, -0.7548285722732544, 0.6744533181190491, 0.026692846789956093, -0.43516942858695984, -0.4003432095050812, -0.6513451337814331, -0.14478088915348053, -0.3275294601917267, -0.30008354783058167, 0.0916355699300766, -0.31680694222450256, -0.45205533504486084, -0.12224472314119339, 0.07269185036420822, -0.04868505522608757, 0.36428770422935486, 0.06797349452972412, 0.19807878136634827, -0.16827332973480225, 0.3663499355316162, 0.15962634980678558, 0.09252001345157623, -0.0941542461514473, -0.15818682312965393, 0.3848084509372711, 0.1924411505460739, -0.530215859413147, -0.35015255212783813, 0.4307115375995636, 0.3450351059436798, -0.13634970784187317, 0.5371659398078918, 0.2742420732975006, -0.37332814931869507, -0.8199588656425476, -0.28894978761672974, -0.23591390252113342, -0.4435899555683136, 0.1548946648836136, -0.43160828948020935, -0.5312041640281677, 0.42199093103408813, -0.06314583867788315, 0.6598202586174011, 0.041758012026548386, 0.7314344644546509, 0.07197501510381699, 0.909509539604187, 0.4994467496871948, 0.2102077305316925, 0.9166264533996582, -0.09906700253486633, 0.07189767807722092, -0.6646050214767456, 0.11031743139028549, -0.5785835981369019, -0.4120902419090271, -0.08871030807495117, -0.6075752377510071, 0.5198604464530945, 0.03094564750790596, -0.25340232253074646, 0.07762862741947174, -0.18576616048812866, 0.29930171370506287, 0.7083359956741333, 0.17017820477485657, 0.26355037093162537, 0.07587440311908722, -0.3790780007839203, 0.1743464171886444, -0.8627014756202698, -0.2946509122848511, 0.8666579127311707, 0.28388965129852295, 1.1012955904006958, 0.4300861954689026, 0.2470777928829193, 0.2606874704360962, 0.275320827960968, -0.9957017302513123, 0.6137824058532715, 0.1779453158378601, -0.7175388932228088, -0.3801161050796509, -0.1617923080921173, -0.9648877382278442, 0.16643457114696503, 0.008088899776339531, -0.5213028192520142, 0.3930395841598511, 0.1847873330116272, -0.6100105047225952, -0.005188374314457178, -0.8450935482978821, 0.4855140149593353, -0.3196384608745575, -0.6822594404220581, 0.12743999063968658, -0.4604438543319702, 0.3161594271659851, -0.12239930778741837, -0.003027821658179164, 0.13460594415664673, -0.39272332191467285, 0.6772016286849976, -0.11747618764638901, 0.9466759562492371, -0.3517698049545288, -0.09286246448755264, 0.5744497179985046, 0.20980392396450043, 0.8242465853691101, 0.13571181893348694, -0.5985198020935059, -0.5615979433059692, -0.6590704917907715, -0.40493300557136536, -0.6499496102333069, 0.42530596256256104, -0.6059731841087341, -0.6734591722488403, -0.24975807964801788, -0.5427547097206116, -0.46357813477516174, 0.047404177486896515, 0.11601429432630539, 0.4798622727394104, -0.11950430274009705, -0.010221794247627258, 0.7165646553039551, -0.3000890016555786, 1.005321979522705, 0.9380814433097839, -0.0059438226744532585, -0.036345649510622025, 0.3484158217906952, -0.039189718663692474, 0.4842406213283539, 0.3469848334789276, 0.3561028838157654, -0.48527607321739197, -0.7709696888923645, -0.6179578900337219, 0.2415742129087448, -0.7799274325370789, -0.12902145087718964, -0.6360835433006287, -0.06133216992020607, -0.4471413195133209, -0.13440576195716858, -0.1252538114786148, -0.4080655872821808, -0.38670215010643005, -0.11522428691387177, 0.41301190853118896, 0.2624112665653229, 0.01957910694181919, 0.3767419159412384, -0.5039821267127991, 0.40775609016418457, 0.6010530591011047, 0.15695713460445404, 0.021931741386651993, -0.9763897061347961, 0.12426505237817764, -0.0854681208729744, -0.043623413890600204, -0.8685208559036255, 0.20194685459136963, 0.3783513903617859, 0.924891471862793, 0.5993754267692566, 0.2642263174057007, 0.39053988456726074, -0.5723523497581482, 0.8601192831993103, -0.0987938642501831, -0.6079899072647095, 0.7244377136230469, -0.14935915172100067, 0.5248408913612366, 0.5837821364402771, 0.5383674502372742, -0.35498353838920593, -0.3034571707248688, -0.43015775084495544, -0.43459078669548035, 0.7012653350830078, 0.004330903757363558, 0.08840374648571014, -0.0918208584189415, 0.3529554307460785, 0.4033750891685486, -0.11093032360076904, -0.8562957644462585, -0.09119829535484314, 0.22293812036514282, -0.19044560194015503, 0.16263900697231293, -0.34839925169944763, -0.2387053668498993, -0.08633098006248474, 0.8131851553916931, -0.41392260789871216, 0.4876304268836975, 0.05059622973203659, -0.13155917823314667, -0.2093985378742218, 0.32122889161109924, 0.4946317970752716, 0.9194167256355286, -0.06757276505231857, 0.3469553291797638, 0.3553667962551117, -0.2133469581604004, 0.4574006497859955, -0.021541832014918327, -0.5217412710189819, 0.2519262731075287, 0.5987746715545654, 1.2821389436721802, 0.04492652043700218, -0.6649228930473328, 0.42770108580589294, -0.2700507640838623, -0.01642410084605217, -0.16690100729465485, 0.4749472141265869, -0.03700084611773491, 0.4575095772743225, 0.4920557737350464, -0.4209126830101013, -0.0022904658690094948, -0.8083910346031189, -0.014368331991136074, 0.6101930737495422, -0.2936074137687683, -0.32337528467178345, 0.7450647354125977, 0.20148013532161713, -0.6444223523139954, 0.4345460832118988, -0.3319946527481079, -0.3217695951461792, 0.4303051233291626, 0.7823815941810608, 0.8624215722084045, -0.4843757152557373, 0.1983027160167694, 0.24490836262702942, 0.005102373193949461, -0.15777407586574554, 0.4420711398124695, -0.0209023617208004, -0.6595013737678528, -0.5381512641906738, -0.546696662902832, -0.5210550427436829, 0.2863977253437042, -0.2144903987646103, 0.515458881855011, -0.39830282330513, 0.0680031105875969, -0.0008816696354188025, -0.028990469872951508, -0.32880908250808716, 0.17714832723140717, 0.08591926097869873, 1.069556474685669, -0.9933515787124634, 0.6585968732833862, 0.9554915428161621, 0.03288041055202484, -0.6788124442100525, 0.10088860988616943, -0.13646680116653442, -0.9523741602897644, 0.5404310822486877, -0.2758540213108063, 0.2502445578575134, 0.012185871601104736, -0.7308042049407959, -0.7804837822914124, 0.8695979714393616, 0.2030586153268814, -0.4492310881614685, -0.20332008600234985, -0.37293192744255066, 0.18293245136737823, -0.3619001507759094, 0.4935002326965332, 0.37750044465065, 0.47860822081565857, 0.35625654458999634, -0.6376736164093018, 0.10725528746843338, -0.08400697261095047, -0.09677913039922714, 0.1760510951280594, -0.700955331325531, 0.8210821747779846, -0.35712364315986633, -0.22818788886070251, 0.08441263437271118, 0.8411495089530945, 0.7051873803138733, 0.23678883910179138, 1.003920316696167, 0.11858715116977692, 0.7273231148719788, 0.10804778337478638, 0.9048140645027161, -0.0029840818606317043, -0.05822518840432167, 1.1782951354980469, -0.20072074234485626, 0.5490496754646301, 0.507361888885498, -0.272150456905365, 0.17824769020080566, 1.018450140953064, 0.08357644081115723, 0.7691968679428101, 0.1659710854291916, -0.6079075336456299, -0.22375774383544922, -0.0849849283695221, -0.11909568309783936, 0.380097895860672, 0.3031698763370514, -0.46415019035339355, -0.27657172083854675, 0.18384797871112823, 0.02198236621916294, -0.36863890290260315, -0.38038092851638794, 0.7718902230262756, -0.05944612994790077, -1.0202341079711914, 0.5972489714622498, 0.10924050956964493, 0.426472932100296, -0.710896909236908, -0.039525363594293594, -0.47482073307037354, 0.01891838014125824, 0.17483608424663544, -0.6200425624847412, -0.13137920200824738, 0.011307732202112675, -0.005851190071552992, -0.2402334362268448, 0.7609517574310303, -0.39349624514579773, -0.6874131560325623, 0.008235715329647064, 0.6588131189346313, 0.2611454427242279, 0.2100990116596222, -0.7449322938919067, -0.036596138030290604, 0.061175767332315445, -0.7308157086372375, 0.08648013323545456, 0.6763913035392761, -0.34163710474967957, 0.6318548917770386, 0.4220031499862671, 0.34642645716667175, 0.3102477788925171, 0.07676484435796738, 0.9274654388427734, -0.6738191843032837, -0.5571126937866211, -0.8394798040390015, 0.4259222447872162, 0.06259734183549881, -0.2516588568687439, 0.5593016743659973, 0.4299096167087555, 0.27106574177742004, -0.03267889469861984, 0.8723655343055725, -0.036341264843940735, 0.6427507996559143, -0.7980601191520691, 0.08693289756774902, -0.5686171650886536, 0.357200562953949, -0.06301094591617584, -1.0856715440750122, -0.14567559957504272, 0.6939103603363037, -0.1414674073457718, 0.05220554396510124, 0.8277400732040405, 0.7756014466285706, -0.3204127550125122, -0.132446750998497, 0.09465844184160233, 0.31654244661331177, 0.4880271553993225, 0.6579500436782837, 0.8429898619651794, -0.10478672385215759, 0.40638405084609985, -0.12931489944458008, -0.3485253155231476, -0.2264387458562851, -1.0315660238265991, -0.9895192384719849, -0.3983810842037201, -0.21122047305107117, -0.2313387542963028, 0.0004027370014227927, 0.9151744842529297, 0.5914871096611023, -0.7001436352729797, -0.01998128555715084, -0.07468948513269424, 0.3358929753303528, -0.26708176732063293, -0.18612347543239594, 0.4833318591117859, -0.4389607608318329, -1.076820731163025, 0.8310112357139587, 0.049674779176712036, 0.26365286111831665, -0.20581580698490143, 0.11865246295928955, -0.5553164482116699, 0.11666680127382278, 0.4367721378803253, 0.3332987427711487, -0.4808283746242523, -0.46558770537376404, 0.08356396853923798, 0.028867298737168312, -0.14585866034030914, 0.9154382944107056, -0.9309270977973938, 0.3340437412261963, 0.7100481390953064, 0.73973548412323, 0.3520592153072357, 0.20157629251480103, 0.7322500348091125, -0.6864314079284668, 0.470304399728775, 0.36225053668022156, 0.3580875098705292, 0.0012649907730519772, -0.1495283842086792, 0.7419565916061401, 0.15092940628528595, -0.31336167454719543, -1.0317655801773071, 0.2800692915916443, -0.916412353515625, -0.6931070685386658, 1.6027296781539917, -0.30751752853393555, -0.41822341084480286, -0.13371038436889648, -0.10777955502271652, 0.24942705035209656, -0.3689114451408386, 0.5367146134376526, 0.6536882519721985, -0.4288245141506195, -0.30921897292137146, -0.6374146342277527, 0.3592645227909088, 0.47100257873535156, -0.787447452545166, 0.22438880801200867, 0.49085965752601624, 0.16100434958934784, -0.06704417616128922, 0.5805536508560181, 0.3459034562110901, 0.325591504573822, -0.23145370185375214, -0.31743431091308594, -0.08278333395719528, -0.4165783226490021, -0.4725385308265686, 0.24861621856689453, 0.28351104259490967, -0.23625338077545166 ]
http://arxiv.org/abs/2404.08836v1
http://arxiv.org/pdf/2404.08836v1
BERT-LSH: Reducing Absolute Compute For Attention
2024-04-12T22:35:00
2024-04-12T22:35:00
Zezheng Li, Kingston Yip
cs.CL
cs.CL, cs.AI, cs.LG
This study introduces a novel BERT-LSH model that incorporates Locality Sensitive Hashing (LSH) to approximate the attention mechanism in the BERT architecture. We examine the computational efficiency and performance of this model compared to a standard baseline BERT model. Our findings reveal that BERT-LSH significantly reduces computational demand for the self-attention layer while unexpectedly outperforming the baseline model in pretraining and fine-tuning tasks. These results suggest that the LSH-based attention mechanism not only offers computational advantages but also may enhance the model's ability to generalize from its training data. For more information, visit our GitHub repository: https://github.com/leo4life2/algoml-final
[ -0.41932857036590576, -1.0023738145828247, 0.7689353823661804, -0.25746020674705505, -0.10262493789196014, -0.3692900240421295, -0.1614132970571518, -0.8127227425575256, 0.14514805376529694, 0.41179347038269043, -0.8820393681526184, -0.3476356863975525, -0.14923445880413055, -0.3164115250110626, -0.5868465900421143, 0.9699985980987549, 0.11160044372081757, -0.14471888542175293, -0.16893962025642395, 0.21744030714035034, 0.05241616070270538, -0.49420854449272156, -0.644982635974884, -0.2525227963924408, 0.8788971304893494, 0.2886662781238556, 0.6143489480018616, 0.8135496377944946, 1.1091197729110718, 0.1927371472120285, 0.07548799365758896, -0.30660510063171387, -0.7836295962333679, 0.11621294915676117, -0.0011925899889320135, -0.3477470874786377, -0.6331428289413452, -0.32537025213241577, 0.8559544086456299, 0.6241860389709473, -0.082426056265831, 0.545124888420105, -0.16328726708889008, 0.999679684638977, -1.0578256845474243, -0.027082296088337898, -0.8027077317237854, 0.11251673102378845, -0.31305384635925293, 0.1236170083284378, -0.38214537501335144, -0.14783218502998352, 0.25695523619651794, -0.6654977202415466, 0.6515922546386719, -0.059273019433021545, 0.8764750957489014, 0.6865447759628296, 0.09890627861022949, 0.10528848320245743, -0.3897257149219513, 0.8552009463310242, -0.7569065093994141, 0.36809009313583374, 0.6341145634651184, 0.014935336075723171, 0.2428325116634369, -0.9049386978149414, -0.2989186942577362, -0.05756533518433571, 0.04109783470630646, 0.1687808632850647, -0.037097856402397156, 0.4989543855190277, 0.29980894923210144, 0.5529289841651917, -0.2567494213581085, 0.020471401512622833, -0.2807076573371887, -0.1847403347492218, 0.2144818902015686, 0.13121068477630615, -0.0316351018846035, -0.21495652198791504, -0.3559226393699646, 0.1226499080657959, -0.8979784846305847, 0.15380366146564484, 0.11921839416027069, 0.5232701897621155, -0.00044085949775762856, 0.19680626690387726, -0.1589650958776474, 0.8227458000183105, 0.33295994997024536, 0.34042179584503174, 0.0019499262562021613, -0.0609419122338295, -0.4848652184009552, 0.13955539464950562, 0.40873634815216064, 0.23069633543491364, -0.10088559240102768, -0.05036615580320358, -0.09937187284231186, -0.15292827785015106, 0.7832121849060059, -0.9136665463447571, -0.37924832105636597, 0.5312907695770264, -0.7953894138336182, -0.5195984244346619, -0.22249984741210938, -0.24379876255989075, -0.021675147116184235, -0.13671168684959412, 0.6598978638648987, -0.513093888759613, 0.19703280925750732, -0.33488667011260986, 0.23560000956058502, 0.40365153551101685, 0.2706865966320038, -1.1480265855789185, 0.39031144976615906, 0.6944855451583862, 0.8736205101013184, -0.22780044376850128, -0.19629499316215515, -0.4395759105682373, 0.3605094254016876, -0.3643098771572113, 0.5455788373947144, -0.11813119053840637, -0.18266436457633972, -0.10371366143226624, -0.27751630544662476, 0.2229868769645691, -0.5423315763473511, 0.6390652656555176, -0.6576464772224426, -0.1006944477558136, -0.8359853625297546, -0.6467514634132385, -0.15539886057376862, 0.18080610036849976, -0.9797998070716858, 1.0094610452651978, 0.234731987118721, -0.8342621326446533, 0.08674748986959457, -1.1129941940307617, -0.47363701462745667, 0.20338863134384155, 0.08034251630306244, -0.5375834107398987, 0.2858239710330963, 0.15054801106452942, 0.44957783818244934, -0.082537442445755, -0.10445282608270645, -0.49265989661216736, -0.8474798202514648, -0.0926118865609169, -0.05131829157471657, 0.6813316941261292, 0.47399234771728516, -0.4505860507488251, 0.4318011701107025, -0.44002726674079895, 0.4809858500957489, 0.12605924904346466, -0.1688389629125595, -0.27017220854759216, 0.07183278352022171, 0.17251752316951752, -0.13785400986671448, 0.6540409922599792, -0.4052642583847046, 0.0747496709227562, -0.5314680337905884, 0.43043726682662964, 1.1455296277999878, -0.24625606834888458, 0.4514044225215912, -0.3243212401866913, 0.044742170721292496, -0.509924590587616, 0.5180237889289856, -0.10696391016244888, -0.2080068290233612, -0.8345975279808044, -0.5314041376113892, 0.7507560849189758, 0.33626097440719604, -0.23417529463768005, 0.5656949281692505, -0.08054666221141815, -0.1687011420726776, -1.2014635801315308, 0.02583486959338188, 0.5325292348861694, 0.5061127543449402, 0.25662025809288025, -0.5684236884117126, -0.40576067566871643, -1.353714942932129, 0.10475452989339828, -0.17338381707668304, 0.08162149041891098, 0.3855755031108856, 0.16043636202812195, -0.18156227469444275, 0.8370493054389954, -0.2997637093067169, -0.22659030556678772, -0.02710190787911415, 0.08076422661542892, 0.2299107015132904, 0.3388504385948181, 0.6902067065238953, -0.5649446249008179, -0.8536977767944336, -0.02445848658680916, -0.6676573753356934, -0.00427670031785965, -0.0041295732371509075, -0.30291691422462463, 0.2781955301761627, 0.3738763928413391, -0.7547294497489929, 0.6817243695259094, 0.3426175117492676, 0.029858050867915154, 0.5976601243019104, -0.19469158351421356, 0.31100723147392273, -0.6259865760803223, 0.5396139621734619, -0.5601927042007446, -0.33151015639305115, -0.791244626045227, 0.8364476561546326, 0.4256241023540497, -0.06368057429790497, -0.4669298231601715, 0.4813639223575592, -0.49230220913887024, -0.3643880784511566, -0.2612264156341553, -0.25867798924446106, -0.2921660244464874, 0.7385597229003906, -0.05418197065591812, 0.9742823243141174, 0.5959646105766296, -0.5340293049812317, 0.3150622546672821, 0.11053550243377686, -0.5560861825942993, 0.276413232088089, -0.8422962427139282, 0.3934266269207001, 0.09194327890872955, -0.0762307196855545, -0.8608160018920898, -0.33830320835113525, 0.05055992677807808, -0.5928531885147095, 0.390421062707901, 0.28130030632019043, -0.5809774398803711, -0.4653390347957611, -0.8642711043357849, 0.4732951819896698, 0.7186890244483948, -0.5783329010009766, 0.45206207036972046, 0.03889695554971695, -0.170416459441185, -0.6532604694366455, -0.8442316055297852, -0.12739454209804535, 0.013931280001997948, -0.3747187852859497, 0.7935265302658081, -0.3769616186618805, -0.3594900071620941, 0.27757424116134644, -0.14983882009983063, -0.3152240812778473, 0.1584320366382599, 0.09715614467859268, 0.12938183546066284, -0.06640179455280304, 0.35346370935440063, -0.05976521596312523, 0.10587598383426666, 0.15679636597633362, 0.045802388340234756, 0.5365577936172485, -0.044778451323509216, -0.5053382515907288, -0.721429705619812, 0.6519723534584045, 0.5935627818107605, 0.003039659233763814, 0.7180473208427429, 0.6541762351989746, -0.3601921498775482, -0.0775425136089325, -0.6415122747421265, -0.47825396060943604, -0.5349814891815186, 0.6141781806945801, -0.29404041171073914, -0.7069766521453857, 0.8583500981330872, 0.4357392191886902, 0.17484299838542938, 0.4515393078327179, 0.872667670249939, -0.6209208369255066, 0.7895799875259399, 0.6888095736503601, -0.4505521059036255, 0.9208294153213501, -0.044387150555849075, 0.15973857045173645, -0.9364174604415894, 0.35107800364494324, -0.20839987695217133, -0.5613114833831787, -0.28346875309944153, -0.33370110392570496, 0.45370417833328247, -0.22250738739967346, -0.5943741798400879, -0.1759444773197174, -0.8280780911445618, 0.6476263999938965, 0.9669605493545532, 0.5133316516876221, -0.19627130031585693, 0.08946241438388824, 0.21594323217868805, -0.17113998532295227, -0.7501938939094543, 0.12098222970962524, 1.3199328184127808, 0.2222219705581665, 0.5647186040878296, 0.0985841453075409, 0.9164636731147766, 0.7988146543502808, 0.1636059433221817, -0.8439290523529053, 0.5784199833869934, -0.09118888527154922, -0.9979660511016846, -0.5554247498512268, -0.5340681076049805, -0.9396371841430664, -0.06497835367918015, 0.1319338083267212, -0.5288820266723633, -0.2113015502691269, 0.24066311120986938, -0.6595190763473511, 0.42076873779296875, -0.9344196319580078, 0.7407884001731873, -0.20553117990493774, -0.7193662524223328, -0.5656062364578247, -0.9097299575805664, 0.13301129639148712, -0.3095995783805847, 0.21523551642894745, -0.031000176444649696, 0.02384910173714161, 0.5857512354850769, -0.5976324081420898, 0.9295315146446228, -0.2813883125782013, -0.15447580814361572, 0.3344630002975464, -0.013274535536766052, 0.776283860206604, -0.4440590739250183, -0.012659337371587753, 0.029908733442425728, -0.40841788053512573, -0.8708763718605042, -0.30231258273124695, 0.9658691883087158, -0.9551766514778137, -0.39450252056121826, -0.08126379549503326, -0.7598639130592346, -0.12278863042593002, 0.35839203000068665, 0.31355419754981995, 0.11455591022968292, -0.1533305048942566, 0.12820827960968018, 0.9919212460517883, 0.1034654825925827, 0.42546817660331726, 0.37564581632614136, -0.03685475140810013, -0.26567959785461426, 0.5888329148292542, 0.14980705082416534, 0.5761667490005493, 0.4918045699596405, -0.14175337553024292, -0.11698590964078903, -0.554830014705658, -0.10449396818876266, 0.21341632306575775, -0.7943503260612488, -0.19209426641464233, -0.24405373632907867, -0.40595901012420654, -0.4574061632156372, -0.387368768453598, -0.5271593928337097, -0.3388597369194031, -0.221086785197258, 0.005453511606901884, 0.3143455982208252, 0.5519181489944458, -0.20772868394851685, 0.4045332372188568, -0.47888806462287903, 0.5715172290802002, 0.7763135433197021, 0.7168493270874023, 0.30830898880958557, -0.6311635971069336, -0.6375975608825684, -0.129760280251503, -0.1356097161769867, -0.646277904510498, 0.022025618702173233, 0.2616721987724304, 0.7106398344039917, 0.32092270255088806, 0.09600593894720078, 0.8682325482368469, -0.5306124091148376, 0.6317978501319885, 0.2560209333896637, -1.2666893005371094, 0.6262145042419434, -0.6832563877105713, 0.7528319358825684, 0.7927153706550598, 0.03673039376735687, -0.13609328866004944, -0.16528145968914032, -0.6602184772491455, -1.0445226430892944, 0.8364806175231934, 0.48032280802726746, -0.06724309921264648, 0.11629228293895721, 0.6573868989944458, 0.01087589468806982, 0.18690700829029083, -0.9228932857513428, -0.47368448972702026, 0.2125028669834137, -0.38833722472190857, 0.31916090846061707, -0.608962893486023, -0.12470565736293793, -0.5056237578392029, 0.736627459526062, 0.15600502490997314, 0.9651656746864319, 0.33499935269355774, -0.0767010971903801, -0.45353081822395325, -0.06492270529270172, 0.37732040882110596, 0.3520166873931885, -0.7825697660446167, -0.02135433442890644, 0.3583144545555115, -0.6279083490371704, -0.2810676097869873, -0.024973995983600616, -0.39157089591026306, -0.07057911902666092, 0.5842646956443787, 0.6369789242744446, 0.3112667500972748, -0.4570479094982147, 0.2215161770582199, 0.17409725487232208, -0.3377557396888733, -0.022949937731027603, -0.04360220581293106, 0.015738366171717644, -0.04550258442759514, 0.3373572528362274, -0.07157731056213379, 0.574087381362915, -0.571682333946228, 0.18805409967899323, 0.43681439757347107, -0.5162754654884338, -0.07551730424165726, 0.5796839594841003, 0.3493325412273407, -0.2076939195394516, 0.5808133482933044, 0.030409742146730423, -0.42898857593536377, 0.8499983549118042, 0.3847149610519409, 0.9214929938316345, -0.477826863527298, -0.3251667618751526, 0.32763686776161194, 0.39873892068862915, 0.20314998924732208, 0.3659249246120453, -0.7057417035102844, -0.3691422641277313, -0.5780941247940063, -0.24643553793430328, -0.62166827917099, 0.15508604049682617, -1.0018600225448608, 0.0769096091389656, -0.6623013615608215, -0.396224707365036, 0.018376080319285393, 0.09076789766550064, -0.6175062656402588, 0.14848902821540833, 0.35723716020584106, 0.4777073264122009, -0.2243833690881729, 1.1120675802230835, 0.6929774284362793, 0.10465817153453827, -0.35433661937713623, 0.19994796812534332, -0.26490071415901184, -0.9614750146865845, 0.2640824317932129, 0.2525758743286133, -0.2673402726650238, 0.07193155586719513, -0.8384112119674683, -1.1488831043243408, 1.0032817125320435, 0.40114665031433105, -0.9045152068138123, -0.05575501546263695, -0.2812436521053314, 0.45845550298690796, 0.22789005935192108, 0.03452424332499504, 0.3417065441608429, 0.41681933403015137, -0.20789794623851776, -1.0620262622833252, -0.1569116711616516, -0.4128468334674835, -0.21772587299346924, 0.6219953298568726, -0.8434857130050659, 1.097730040550232, -0.4560714066028595, -0.1469782441854477, 0.16185395419597626, 0.4321193993091583, 0.23021210730075836, 0.0927668958902359, 0.3144274950027466, 0.7635684609413147, 0.8125714063644409, 0.026407698169350624, 1.065819501876831, -0.5484450459480286, 0.7185087203979492, 1.198543906211853, -0.3851558566093445, 0.9096564650535583, 0.607638955116272, -0.5016574859619141, 0.40494194626808167, 0.7002241611480713, 0.2395353615283966, 1.0958404541015625, 0.16545885801315308, -0.20881149172782898, -0.34829527139663696, -0.011329378932714462, -0.7719302773475647, 0.01277875155210495, 0.16269844770431519, -0.4332086145877838, 0.05052837356925011, -0.4258689284324646, -0.35697099566459656, -0.24518272280693054, -0.7518825531005859, 0.7394081950187683, -0.18103377521038055, -0.3059858977794647, 0.7193621397018433, -0.13737574219703674, 0.7654759287834167, -1.0606391429901123, 0.10256937146186829, 0.00664613489061594, 0.2727440297603607, -0.024243498221039772, -0.5014042258262634, 0.28192761540412903, -0.06946328282356262, -0.7487934827804565, -0.11875349283218384, 0.8954693675041199, -0.11081521213054657, -0.41740140318870544, 0.3661308288574219, 0.24193626642227173, 0.11137484014034271, -0.2357308715581894, -0.8662884831428528, 0.15147508680820465, 0.26193130016326904, -0.3887998163700104, 0.5520972013473511, 0.31304505467414856, 0.1545531004667282, 0.6553152799606323, 0.7543043494224548, 0.0014713561395183206, -0.06849995255470276, 0.09666959941387177, 0.747696042060852, -0.9333760738372803, -0.7866626381874084, -0.851751446723938, 0.15182794630527496, -0.11183091998100281, 0.1105731949210167, 0.5037030577659607, 0.42573466897010803, 0.6109263300895691, -0.2926315367221832, 0.9161229133605957, -0.17130552232265472, 0.7040865421295166, -0.37340158224105835, 0.9760253429412842, -0.6927886009216309, 0.019058028236031532, -0.18974469602108002, -0.7920827269554138, -0.16393519937992096, 0.7955389022827148, -0.05632706731557846, 0.31031277775764465, 0.6940353512763977, 0.30699682235717773, -0.028948357328772545, -0.2492310106754303, 0.4633823037147522, 0.3348592519760132, -0.009780279360711575, 0.8657577633857727, 0.44315794110298157, -0.3485168218612671, 0.17703332006931305, -0.517333447933197, -0.09683402627706528, -0.42967289686203003, -0.6926948428153992, -0.9105563759803772, -0.4487836956977844, -0.016972623765468597, 0.10070236772298813, 0.4026224911212921, 0.7825934290885925, 1.0077450275421143, -0.9621022343635559, -0.07725195586681366, -0.08615873008966446, -0.15529493987560272, -0.3310699462890625, -0.2062484622001648, 0.6857317090034485, -0.5744884610176086, -0.44967570900917053, 0.07634646445512772, 0.17572903633117676, -0.043247371912002563, -0.3259525001049042, 0.058340247720479965, -0.1634901463985443, 0.19515225291252136, 0.5731775760650635, 0.08764971047639847, -0.9412617683410645, -0.2592937648296356, 0.011760154739022255, -0.39224615693092346, 0.05678902566432953, 0.6758849620819092, -0.7946736812591553, 0.5056182742118835, 0.22279180586338043, 0.5289386510848999, 0.7666938900947571, 0.13087794184684753, 0.26781511306762695, -0.8546132445335388, 0.2339266985654831, 0.27803975343704224, 0.13388581573963165, 0.2090413123369217, -0.7761180400848389, 0.5797086954116821, -0.029547056183218956, -0.8346666693687439, -0.9319891333580017, 0.23406559228897095, -1.129652976989746, -0.5016250610351562, 0.8579643964767456, 0.023691415786743164, -0.6166742444038391, 0.0700637474656105, -0.22262834012508392, 0.03100324235856533, -0.610030472278595, 1.2035988569259644, 0.8964207768440247, -0.1662825495004654, -0.19971977174282074, -0.6310425996780396, 0.5643255710601807, 0.9696252346038818, -0.7557193636894226, 0.36336749792099, 0.3804999887943268, 0.10860411077737808, 0.0904056653380394, 0.8849701285362244, 0.19794438779354095, 0.845085620880127, -0.03857972472906113, 0.6724866032600403, 0.034628815948963165, -0.31254082918167114, -0.1686287671327591, 0.1934148520231247, 0.12430032342672348, -0.2890913188457489 ]
http://arxiv.org/abs/2404.08821v1
http://arxiv.org/pdf/2404.08821v1
Constrained C-Test Generation via Mixed-Integer Programming
2024-04-12T21:35:21
2024-04-12T21:35:21
Ji-Ung Lee, Marc E. Pfetsch, Iryna Gurevych
cs.CL
cs.CL
This work proposes a novel method to generate C-Tests; a deviated form of cloze tests (a gap filling exercise) where only the last part of a word is turned into a gap. In contrast to previous works that only consider varying the gap size or gap placement to achieve locally optimal solutions, we propose a mixed-integer programming (MIP) approach. This allows us to consider gap size and placement simultaneously, achieving globally optimal solutions, and to directly integrate state-of-the-art models for gap difficulty prediction into the optimization problem. A user study with 40 participants across four C-Test generation strategies (including GPT-4) shows that our approach (MIP) significantly outperforms two of the baseline strategies (based on gap placement and GPT-4); and performs on-par with the third (based on gap size). Our analysis shows that GPT-4 still struggles to fulfill explicit constraints during generation and that MIP produces C-Tests that correlate best with the perceived difficulty. We publish our code, model, and collected data consisting of 32 English C-Tests with 20 gaps each (totaling 3,200 individual gap responses) under an open source license.
[ -0.8030426502227783, -0.5648727416992188, 0.5737162828445435, 0.3750840723514557, -0.13526257872581482, 0.11509955674409866, -0.21333853900432587, -0.49698883295059204, -0.17156165838241577, 0.11356106400489807, -0.7832989692687988, -0.31828680634498596, -0.0776536837220192, 0.30950894951820374, 0.2073270082473755, 0.8006576299667358, -0.46550098061561584, 0.12824690341949463, -0.25456705689430237, 0.18122071027755737, -0.6192265152931213, -0.2702845633029938, 0.01931149512529373, -0.03578060492873192, 0.2803492546081543, 0.8035346865653992, 0.5799094438552856, 0.3376672565937042, 0.4822516441345215, 0.13927145302295685, 0.04786593094468117, 0.11622780561447144, -0.318951278924942, -0.0716414526104927, 0.10506124049425125, -0.14349058270454407, 0.173142209649086, -0.033355940133333206, 0.48256322741508484, 0.8159385919570923, -0.38006287813186646, -0.03487900644540787, -0.01702161133289337, 0.20794111490249634, -0.8686221241950989, -0.2263268381357193, -0.8535874485969543, 0.15027280151844025, -0.3483729958534241, 0.06719397753477097, -0.22670739889144897, -0.5582746267318726, -0.11886836588382721, -0.5230973362922668, 0.512969434261322, 0.18067897856235504, 0.7590697407722473, 0.45284807682037354, -0.310712605714798, -0.6188589930534363, -0.43372097611427307, 0.6695592999458313, -0.7411966323852539, 0.41856756806373596, 0.03377227857708931, -0.027037085965275764, -0.4667396545410156, -0.4882488250732422, -0.7071859836578369, -0.6426666378974915, 0.2657473087310791, 0.2693188786506653, 0.41398540139198303, 0.27503907680511475, 0.48474475741386414, 0.6824277639389038, -0.9408940672874451, -0.011876414529979229, -0.807468593120575, -0.3229842483997345, 0.7386506199836731, 0.14917461574077606, 0.5727681517601013, 0.23582495748996735, -0.3726504445075989, 0.10769824683666229, -0.8322234153747559, 0.2564057409763336, 0.5543904900550842, -0.010941712185740471, 0.10552187263965607, 0.827697217464447, -0.16175909340381622, 0.7019144892692566, 0.1226554811000824, -0.03727004677057266, 0.19371351599693298, -0.21645838022232056, 0.02022748999297619, -0.14410912990570068, 0.5222761631011963, 0.21832974255084991, 0.16975775361061096, 0.1239769384264946, -0.2143920212984085, 0.35262832045555115, 0.016987396404147148, -0.8693431615829468, -0.21510103344917297, 0.05281013622879982, 0.09202119708061218, -0.021226441487669945, -0.03298123553395271, -0.7344740033149719, 0.011747369542717934, -0.12701351940631866, 0.04270213842391968, -0.42444536089897156, 0.025037188082933426, 0.33134910464286804, -0.14262987673282623, 0.08249609917402267, -0.21441225707530975, -0.9081230163574219, 0.38414737582206726, 0.2477881759405136, 0.8760286569595337, -0.4458518922328949, -0.3525615930557251, -0.38585329055786133, -0.016834495589137077, -0.3208962678909302, 0.5817418098449707, -0.41217875480651855, -0.7731444835662842, -0.14433787763118744, -0.6217206716537476, -0.39408543705940247, -0.5310189723968506, 0.3835899233818054, -0.19957208633422852, 0.4460797905921936, -0.01713304966688156, -0.5619893074035645, 0.357715368270874, 0.21900321543216705, -0.36065930128097534, 1.2474268674850464, 0.524286687374115, -0.7935450077056885, 0.2907545864582062, -0.7034949660301208, -0.13625675439834595, 0.3126714825630188, -0.5736594796180725, -0.3793431222438812, 0.14566989243030548, 0.13331718742847443, -0.012609346769750118, -0.1068151444196701, 0.04313706234097481, -0.5043252110481262, -0.5800924301147461, 0.24474850296974182, 0.004021910950541496, 0.5780622363090515, 0.242399662733078, -0.5289769172668457, -0.21011650562286377, -0.4635772705078125, 0.43974581360816956, -0.03751220926642418, -0.5743722319602966, 0.06252121925354004, -0.0876399353146553, -0.421713262796402, 0.2330498993396759, 0.2356022149324417, -0.8917038440704346, 0.4522686004638672, -0.5439857244491577, 0.1865614950656891, 0.767760694026947, 0.4463765323162079, 0.27398863434791565, -0.19465047121047974, 0.9931175112724304, -0.22617992758750916, 0.4140336215496063, 0.2985592484474182, -0.7083390355110168, -0.511946976184845, -0.15398433804512024, 0.19148659706115723, 0.7834357619285583, -0.7038548588752747, 0.06647317856550217, 0.2058659940958023, -0.4205682575702667, -0.2500193417072296, 0.2546258866786957, 0.20367567241191864, 0.20885232090950012, 0.16637039184570312, -0.3213025629520416, -0.07627814263105392, -0.8816030621528625, -0.09810992330312729, -0.043024223297834396, -0.040332961827516556, 0.43678203225135803, 0.5582557320594788, -0.06713356822729111, 0.632826030254364, -1.1201963424682617, 0.17165276408195496, -0.17421607673168182, -0.004613738972693682, 0.2231971025466919, 0.47238069772720337, 0.3080271780490875, -0.8321162462234497, -0.6838456392288208, -0.1259908378124237, -0.09986015409231186, -0.4388381838798523, -0.3095964193344116, 0.1070803701877594, -0.04174184799194336, 0.3173695504665375, -0.5474311113357544, 0.6518632173538208, 0.6626132130622864, -0.21670129895210266, 1.049033284187317, -0.10342121124267578, -0.017383141443133354, -0.55352383852005, -0.23688733577728271, -0.18033084273338318, 0.10799884796142578, -0.23730222880840302, 0.3090772032737732, -0.01375391986221075, -0.6914565563201904, -0.4218008518218994, 0.31907543540000916, -0.8084262609481812, 0.2256017029285431, 0.015795135870575905, -0.15599922835826874, -0.35834306478500366, 0.6945463418960571, -0.09960957616567612, 1.001068115234375, 0.3859006464481354, -0.6068171262741089, -0.20510002970695496, 0.02891385927796364, -0.3416629135608673, 0.1539359837770462, -0.6764340400695801, 0.45959562063217163, 0.1869223564863205, 0.026050567626953125, -0.8397254347801208, -0.47080549597740173, 0.20425496995449066, -0.4933302700519562, 0.18534818291664124, 0.1526084691286087, 0.017619000747799873, -0.6890080571174622, -0.44237014651298523, 0.8129740357398987, 0.44378700852394104, -0.24245962500572205, 0.019245672971010208, 0.12585611641407013, -0.4019710421562195, -0.43680205941200256, -0.5491358041763306, -0.28540903329849243, -0.1755039244890213, -1.0281898975372314, 0.6069563031196594, -0.8494313359260559, 0.13142351806163788, -0.4463377892971039, -0.1762266755104065, -0.37102386355400085, -0.0013947786064818501, 0.24408173561096191, 0.07434024661779404, -0.10707001388072968, -0.3596191108226776, -0.01314646564424038, 0.13686513900756836, -0.21294066309928894, -0.10750924795866013, 0.46613559126853943, -0.3005068898200989, -0.5487945675849915, -0.09216262400150299, 0.8493438959121704, 0.3070410490036011, -0.3593599498271942, -0.024062443524599075, 0.28388598561286926, -0.4249822199344635, -0.5659176707267761, -0.25665807723999023, 0.06797133386135101, -0.5170645117759705, 0.08528570085763931, -0.5065851211547852, -1.044696569442749, 0.29203692078590393, -0.16759470105171204, 0.11599184572696686, -0.01842094399034977, 0.7490948438644409, 0.2158184051513672, 1.216288447380066, 0.4990374445915222, 0.3592577278614044, 0.3848852515220642, -0.18859325349330902, 0.5621823072433472, -0.6597819924354553, 0.023750755935907364, -0.4392305016517639, -0.17661403119564056, -0.7111680507659912, -0.41348138451576233, 0.7859678268432617, 0.3077840209007263, -0.321729838848114, 0.07610692828893661, -0.8574286699295044, 0.6997672319412231, 0.6392031908035278, 0.03522420674562454, -0.16584648191928864, -0.3816521167755127, -0.6829633116722107, -0.27898386120796204, -0.6388356685638428, -0.04043549671769142, 0.8140180110931396, -0.0822061151266098, 0.4125981330871582, 0.19307738542556763, 1.0738482475280762, 0.06338467448949814, 0.4271009564399719, -0.6062037348747253, 0.40580275654792786, 0.3853333592414856, -0.7432937622070312, -0.21508266031742096, -0.45678022503852844, -0.8642277717590332, 0.124668650329113, -0.08124557137489319, -1.0710277557373047, 0.15800964832305908, 0.3498801290988922, -0.4525377154350281, -0.0032849356066435575, -0.8197661638259888, 0.674730658531189, -0.33582305908203125, -0.3678688108921051, 0.12996883690357208, -0.548364520072937, 0.8150518536567688, 0.05205714702606201, 0.25776395201683044, -0.025096891447901726, 0.12461243569850922, 0.26633691787719727, -0.604611337184906, 0.42792582511901855, -0.3637281358242035, 0.31385642290115356, 0.5963821411132812, 0.2416488528251648, 0.3735652565956116, 0.1999559998512268, 0.13363850116729736, -0.2724217474460602, 0.005331373307853937, -0.5700219869613647, -0.3820050060749054, 0.7085668444633484, -0.47547513246536255, -0.5544561147689819, -0.7160422801971436, -0.7517799735069275, -0.30453255772590637, 0.3817233145236969, 0.6036615371704102, 0.17130988836288452, -0.2336593121290207, -0.1586778461933136, 0.5333836674690247, -0.3461594581604004, 0.45629048347473145, 0.24683065712451935, 0.12242502719163895, -0.6351302266120911, 0.7687733173370361, 0.02702832780778408, 0.4557150602340698, 0.038500960916280746, 0.40764740109443665, -0.3565658628940582, -1.0962820053100586, -0.5064516067504883, 0.12666159868240356, -0.16125188767910004, -0.15318156778812408, 0.023194629698991776, -0.1331358551979065, -0.4509812593460083, -0.6200516223907471, -0.24556699395179749, -0.3755131959915161, 0.0657593384385109, 0.01255782600492239, -0.4413558542728424, 0.5361456274986267, -0.4543043076992035, 0.46242833137512207, -0.47207364439964294, 0.33676594495773315, 0.1571429967880249, 0.2550486922264099, -0.36948370933532715, 0.20157647132873535, -0.13890062272548676, -0.08754114806652069, -0.9366225004196167, -1.2488913536071777, 0.2510022819042206, -0.05183407664299011, 0.3556746244430542, 0.19678054749965668, 0.10170173645019531, 0.6365735530853271, -0.4429863393306732, 1.1188002824783325, 0.4936797022819519, -0.9695205688476562, 0.2461099773645401, -0.5573347210884094, 0.21226774156093597, 0.776022732257843, 0.18268777430057526, -0.4414891004562378, -0.49712279438972473, -0.7768136262893677, -1.0225036144256592, 0.11932552605867386, 0.5804281830787659, -0.27195268869400024, -0.17691798508167267, 0.41743749380111694, -0.0740107074379921, 0.08051884919404984, -0.9800477623939514, 0.13664846122264862, -0.030658384785056114, -0.2995993494987488, 0.31844112277030945, 0.04503551125526428, 0.16505594551563263, -0.0330030582845211, 0.6428078413009644, -0.11240204423666, 0.1603459119796753, 0.6302214860916138, -0.1492886245250702, 0.10560977458953857, 0.31860312819480896, 0.8346011638641357, 0.9066590666770935, -0.3716990351676941, -0.17820079624652863, 0.254621684551239, -0.626321017742157, 0.11997148394584656, 0.1863991618156433, -0.5887755155563354, -0.07666245847940445, 0.010035330429673195, 0.2948150932788849, -0.10742835700511932, -0.638187050819397, 0.5317579507827759, 0.04576751962304115, -0.3983422517776489, -0.5618600249290466, 0.3252537250518799, 0.10326526314020157, -0.1102331131696701, 0.14154233038425446, -0.2144714891910553, 0.28456246852874756, -0.21190997958183289, 0.5216089487075806, 0.29624179005622864, -0.17400047183036804, -0.07719302177429199, 0.7618998289108276, 0.20425698161125183, -0.463925838470459, 0.5748315453529358, -0.6388688683509827, -0.6383640170097351, 0.6900458335876465, 0.7658666372299194, 0.4031977653503418, -0.4089547395706177, 0.22435584664344788, 0.56499183177948, 0.4497394263744354, 0.019676629453897476, 0.7266093492507935, -0.06771738827228546, -0.6461461186408997, -0.4041462242603302, -0.2573002278804779, -0.574120283126831, 0.13851308822631836, -0.6146379709243774, 0.24773980677127838, -0.5795636177062988, 0.01958581991493702, -0.19174648821353912, 0.31707313656806946, -0.8955170512199402, 0.364441841840744, 0.4126388728618622, 0.8660150766372681, -0.5500215888023376, 0.20926633477210999, 0.383259117603302, -0.4308267831802368, -0.9192017912864685, -0.05766463279724121, -0.06215285509824753, -0.8912593722343445, -0.2114720642566681, 0.39186444878578186, 0.037122197449207306, 0.07331674546003342, -0.7064533829689026, -0.6775942444801331, 1.0311046838760376, 0.21056172251701355, -0.5719380974769592, -0.023908991366624832, 0.32136401534080505, 0.048907652497291565, -0.3873036503791809, 0.23451107740402222, 0.4494949281215668, 0.5380809307098389, -0.017510976642370224, -0.6214373111724854, 0.010910735465586185, -0.2445157915353775, 0.02535668946802616, 0.6867258548736572, -0.7472409009933472, 0.710547924041748, -0.5205423831939697, -0.36711984872817993, 0.26728829741477966, 0.6083910465240479, 0.8134168982505798, 0.7008821964263916, 0.8003777265548706, 0.7059059143066406, 1.0655460357666016, 0.1617840975522995, 0.9808497428894043, -0.2458520531654358, 0.3286396861076355, 1.0021909475326538, -0.388251930475235, 0.566825807094574, 0.569352388381958, -0.11525506526231766, 0.5209153890609741, 1.1946148872375488, 0.06941071897745132, 0.5374118685722351, 1.109475016593933, -0.4493425190448761, -0.06036200001835823, -0.08967236429452896, -0.3466017544269562, 0.1459766924381256, 0.34088045358657837, 0.13720230758190155, -0.18141892552375793, -0.41078028082847595, 0.038443468511104584, -0.0022474981378763914, -0.11828961223363876, 0.1892363578081131, 0.07172586023807526, -0.970637857913971, 0.585705578327179, 0.06970752030611038, 0.43640127778053284, -0.5810256600379944, -0.02942623943090439, -0.3730379343032837, 0.049759697169065475, -0.18085022270679474, -0.5107184052467346, 0.25051966309547424, 0.06232073903083801, -0.02723216824233532, -0.1016732007265091, 0.5726037621498108, -0.5231112241744995, -0.6026749014854431, -0.005016665440052748, 0.45569878816604614, 0.34707531332969666, -0.11472950875759125, -0.6872376203536987, -0.20362305641174316, 0.5935998558998108, -0.2533348500728607, 0.10668427497148514, 0.28224050998687744, -0.07659853994846344, 0.30515965819358826, 0.8436844944953918, 0.19004091620445251, 0.47175291180610657, -0.03213290870189667, 0.742597758769989, -0.7291746735572815, -0.7105899453163147, -0.6812540292739868, 0.7198599576950073, -0.03154166042804718, -0.7488239407539368, 0.11806963384151459, 0.9041686654090881, 0.8889995217323303, 0.08000382035970688, 1.1197642087936401, -0.18080605566501617, 0.25391826033592224, -0.6042283177375793, -0.0986010804772377, -0.4231645166873932, 0.004569211043417454, -0.05068516358733177, -0.8036347031593323, -0.2179485559463501, 0.1829967498779297, -0.08654715120792389, -0.21364451944828033, 1.1287962198257446, 1.036948323249817, -0.22679206728935242, -0.22755776345729828, 0.1161644458770752, -0.2934899628162384, 0.4603862464427948, 1.3819997310638428, 1.0522520542144775, 0.05887546017765999, 0.6322263479232788, -0.46721136569976807, -0.6013302803039551, 0.1694413125514984, -0.667389988899231, -0.730839729309082, -0.3817596435546875, -0.20606501400470734, -0.23827265202999115, -0.300673246383667, 0.5302000045776367, 0.47905582189559937, -0.44732311367988586, -0.19562606513500214, -0.3569261431694031, 0.2721436023712158, -0.09277947247028351, -0.30636173486709595, 0.1626538336277008, -0.23786872625350952, -0.5994454622268677, 0.4791838824748993, 0.0016066896496340632, 0.26678767800331116, -0.17298001050949097, -0.1493687927722931, -0.03164244443178177, 0.12071748822927475, -0.07737690955400467, 0.47480955719947815, -0.3267941474914551, -0.38560160994529724, 0.38735297322273254, 0.2710438370704651, 0.06514659523963928, 1.2733604907989502, -0.1714032143354416, 0.24924778938293457, 0.5442503094673157, 0.5257183313369751, 0.7977064847946167, 0.3217400908470154, 0.8565680980682373, -0.7622717618942261, 0.18162497878074646, 0.699553370475769, 0.33016133308410645, 0.2921234667301178, -0.6391626596450806, 0.6587803959846497, 0.3417503833770752, -0.8574941754341125, -0.8654470443725586, 0.6413390040397644, -0.962787389755249, -0.34882262349128723, 1.1916359663009644, 0.014117463491857052, -0.0395062193274498, -0.028531597927212715, -0.06631281226873398, 0.1503007560968399, -0.32468611001968384, 0.7576062679290771, 0.9517344832420349, -0.8387091755867004, 0.17197805643081665, -0.690906286239624, 0.42662352323532104, 0.4241788387298584, -0.6898176074028015, -0.4031810462474823, 0.7635983824729919, 0.3431992828845978, 0.19259445369243622, 0.9620228409767151, 0.22121450304985046, 0.38410311937332153, 0.12471528351306915, 0.4382532238960266, 0.024667520076036453, -0.15333852171897888, 0.11783209443092346, 0.13669078052043915, 0.12032992392778397, -0.39835864305496216 ]
http://arxiv.org/abs/2404.08819v2
http://arxiv.org/pdf/2404.08819v2
The Illusion of State in State-Space Models
2024-04-12T21:30:06
2024-06-04T22:05:45
William Merrill, Jackson Petty, Ashish Sabharwal
cs.LG
cs.LG, cs.CC, cs.CL, cs.FL
State-space models (SSMs) have emerged as a potential alternative architecture for building large language models (LLMs) compared to the previously ubiquitous transformer architecture. One theoretical weakness of transformers is that they cannot express certain kinds of sequential computation and state tracking (Merrill & Sabharwal, 2023), which SSMs are explicitly designed to address via their close architectural similarity to recurrent neural networks (RNNs). But do SSMs truly have an advantage (over transformers) in expressive power for state tracking? Surprisingly, the answer is no. Our analysis reveals that the expressive power of SSMs is limited very similarly to transformers: SSMs cannot express computation outside the complexity class $\mathsf{TC}^0$. In particular, this means they cannot solve simple state-tracking problems like permutation composition. It follows that SSMs are provably unable to accurately track chess moves with certain notation, evaluate code, or track entities in a long narrative. To supplement our formal analysis, we report experiments showing that Mamba-style SSMs indeed struggle with state tracking. Thus, despite its recurrent formulation, the "state" in an SSM is an illusion: SSMs have similar expressiveness limitations to non-recurrent models like transformers, which may fundamentally limit their ability to solve real-world state-tracking problems.
[ -0.07710328698158264, -0.5136438608169556, 0.9202709794044495, -0.07293806970119476, -0.34851837158203125, 0.5918830037117004, -0.08030858635902405, -0.1965174823999405, 0.598960280418396, 0.3442543148994446, -0.8030495643615723, -0.11900053173303604, -0.5572665929794312, 0.014651344157755375, -0.7384973168373108, 0.6825138926506042, -0.16009537875652313, -0.03088674321770668, -0.17231348156929016, -0.003196723759174347, -0.2989416718482971, -0.6408249735832214, -0.050458874553442, -0.39219164848327637, 0.11757799237966537, -0.17914387583732605, 0.8256973624229431, 0.3452836573123932, 0.4393436312675476, 0.3747229278087616, -0.07763014733791351, 0.186928391456604, -0.6832504272460938, 0.17640766501426697, -0.12333053350448608, -1.0276777744293213, -0.22165657579898834, 0.03157023340463638, 0.92335444688797, 0.5815392136573792, -0.2780069410800934, 0.11456990242004395, -0.10124392062425613, 0.8768205046653748, -0.6847608089447021, 0.15431925654411316, -0.5931156873703003, 0.31453922390937805, -0.3042922616004944, -0.03693065419793129, -0.35005176067352295, -0.19094814360141754, -0.0014758530305698514, -0.6550239324569702, -0.022314531728625298, 0.17912860214710236, 1.1701480150222778, 0.46700888872146606, -0.19208955764770508, -0.00794399343430996, -1.2765363454818726, 0.7312434911727905, -0.47998782992362976, 0.36679142713546753, -0.10827042907476425, 0.43062183260917664, -0.3297082483768463, -0.46147382259368896, -0.906614363193512, -0.30564114451408386, -0.03635818511247635, 0.34809741377830505, -0.5952625274658203, -0.07587633281946182, 0.5059171915054321, 0.5135732293128967, -0.1777079850435257, 0.031431831419467926, -0.379694402217865, -0.2822224795818329, 0.25126197934150696, 0.5794593095779419, 0.2581346929073334, -0.5188173055648804, -0.7441381812095642, 0.01974351704120636, -0.6059537529945374, 0.21827416121959686, 0.2426106333732605, 0.15185439586639404, -0.03748764842748642, 0.6739078164100647, 0.10379569977521896, 0.7079852223396301, 0.22343581914901733, 0.13318239152431488, -0.19491270184516907, -0.057155050337314606, -0.18484918773174286, -0.1483914852142334, 0.8264473080635071, -0.00485231401398778, -0.03729523345828056, -0.3623711168766022, -0.19265955686569214, 0.5491533875465393, 0.7778083086013794, -0.3673804700374603, 0.067270427942276, 0.04471899941563606, -0.38884949684143066, -0.08596213907003403, 0.3375753164291382, -0.5023078918457031, -0.5381035804748535, -0.23076309263706207, 0.7587616443634033, -0.40768083930015564, -0.49273160099983215, 0.11213236302137375, -0.11008652299642563, 0.39772742986679077, 0.13604678213596344, -0.6447663903236389, 0.5292200446128845, 0.9169335961341858, 1.0134491920471191, -0.2793327867984772, -0.015397951938211918, 0.2106742262840271, -0.11069559305906296, -0.7992125749588013, 0.5740495324134827, -0.7490825653076172, -0.4943690896034241, -0.28817397356033325, 0.03507449850440025, -0.20345398783683777, -0.4268076717853546, -0.08686474710702896, -0.4536023736000061, -0.08596983551979065, -0.17991891503334045, -0.7278286814689636, 0.04192221909761429, -0.08979786932468414, -0.8177610039710999, 0.8967958688735962, 0.12940235435962677, -0.15645630657672882, 0.29801705479621887, -0.41970711946487427, -0.4685525894165039, -0.02791595831513405, -0.4786577820777893, -0.33018288016319275, 0.7386090755462646, -0.3405238091945648, 0.4122942388057709, -0.04138551279902458, 0.19581420719623566, -0.3125983476638794, -0.7598492503166199, 0.545120120048523, -0.26497799158096313, 0.360446959733963, 0.4096139967441559, -0.315400093793869, -0.047603052109479904, -0.6840096712112427, -0.20617540180683136, 0.1980847418308258, -0.30877700448036194, -0.372867614030838, 0.4648413360118866, -0.6574224829673767, 0.38635215163230896, 0.26767051219940186, -0.7324619293212891, 0.19998830556869507, -0.5482630729675293, 0.5787225365638733, 0.8879439830780029, -0.2626120150089264, 0.7782853245735168, -0.2563728094100952, 0.9660770297050476, 0.09844654053449631, -0.06788608431816101, -0.14372964203357697, -0.1864425241947174, -0.7528318166732788, -0.349435955286026, 0.1080930083990097, 0.4951772689819336, -0.7841658592224121, 0.36469894647598267, -0.5269913673400879, -0.6333901882171631, -0.7177784442901611, -0.2784402072429657, 0.29667115211486816, 0.21824005246162415, 0.2014344334602356, -0.09724166989326477, -0.43532079458236694, -1.0843803882598877, -0.5562270879745483, 0.16400116682052612, 0.0622854083776474, 0.16937439143657684, 0.5305061340332031, 0.623462438583374, 0.9089748859405518, -0.33577850461006165, -0.24458667635917664, -0.23702183365821838, -0.35001927614212036, 0.2473890334367752, 0.45722806453704834, 0.18772892653942108, -0.6333643198013306, -0.002019721083343029, -0.3006132245063782, -0.7138608694076538, 0.33618831634521484, -0.20019209384918213, 0.011919648386538029, 0.20150959491729736, 0.34744876623153687, -0.9517420530319214, 0.6710247993469238, 0.4779656231403351, -0.21145494282245636, 0.3219048082828522, -0.006316178943961859, 0.1130591407418251, -0.9566113948822021, -0.0012640063650906086, -0.012277752161026001, -0.0038616624660789967, -0.7379158139228821, 0.13006693124771118, 0.07663127779960632, -0.39785605669021606, -0.42076030373573303, 0.3191460072994232, -0.4772505462169647, -0.34700703620910645, -0.35934212803840637, 0.3191165030002594, -0.2331569343805313, 0.6564801931381226, 0.12098344415426254, 0.44342970848083496, 0.5054354667663574, -0.748576819896698, 0.17288270592689514, -0.1319746971130371, -0.7988908290863037, 0.7149099707603455, -0.2611220180988312, -0.09649821370840073, -0.2785791754722595, 0.644923746585846, -1.1110469102859497, 0.07219508290290833, 0.13019894063472748, -0.3159323036670685, 0.5555433034896851, 0.03288508951663971, -0.3793686032295227, -0.4342977702617645, -0.09688811749219894, 0.021255603060126305, 0.6977595090866089, -0.41275808215141296, 1.041965365409851, 0.2701251208782196, 0.45977702736854553, -0.5723394155502319, -0.9361414313316345, 0.03373941406607628, -0.1081516444683075, -0.27728378772735596, 0.12606842815876007, 0.36564090847969055, -0.19400276243686676, 0.1805746853351593, -0.6702399253845215, 0.20359152555465698, 0.46026891469955444, 0.47505849599838257, 0.5030937790870667, -0.18314237892627716, 0.09768739342689514, 0.05455925315618515, -0.08358314633369446, 0.10945430397987366, -0.25853872299194336, 0.4787391424179077, -0.2519070506095886, -0.5701490044593811, -0.7768939137458801, 0.14752653241157532, 0.6299120783805847, -0.11148396879434586, 0.8059958815574646, 0.06718531996011734, -0.4957530200481415, -0.32901227474212646, -0.23198489844799042, -0.1115817278623581, -0.5006858110427856, 0.4383227527141571, -0.6084265112876892, -1.0135525465011597, 0.3590797185897827, -0.16153912246227264, 0.11780215054750443, 0.645336925983429, 0.3133184313774109, -0.527072012424469, 1.1647292375564575, 0.3965578079223633, -0.06179982051253319, 0.42121201753616333, -0.290873646736145, 0.14810000360012054, -1.0853638648986816, -0.3523160219192505, -0.5172122716903687, -1.012856125831604, -0.8456178307533264, -0.31514236330986023, 0.2398887425661087, -0.008326547220349312, -0.2549377977848053, 0.5128191709518433, -0.46816447377204895, 0.38285505771636963, 0.23932881653308868, 0.15149030089378357, 0.1035616397857666, 0.05144666135311127, -0.03171812370419502, -0.3575303852558136, -0.991627037525177, -0.4500735104084015, 0.9308855533599854, 0.2532738149166107, 1.2290403842926025, 0.2379210889339447, 0.5031670928001404, 0.063348188996315, 0.10081817954778671, -0.8962196111679077, 0.8199425339698792, -0.40738603472709656, -0.8068855404853821, -0.26469549536705017, -0.4553925395011902, -0.8181901574134827, 0.4188980758190155, -0.3928682506084442, -0.911557674407959, 0.32403117418289185, 0.2607062757015228, -0.38358381390571594, 0.6549641489982605, -0.3650737404823303, 0.5818272233009338, -0.09143001586198807, -0.2115367352962494, -0.44888514280319214, -0.5266072154045105, 0.48165592551231384, 0.029505034908652306, 0.09562209248542786, -0.22544696927070618, -0.2088610678911209, 0.5217068791389465, -0.6112286448478699, 0.914974570274353, -0.3461674451828003, -0.06300812214612961, 0.2763773500919342, 0.6247746348381042, 0.4885747730731964, -0.5753406286239624, 0.16114389896392822, 0.1558545082807541, -0.1351020336151123, -0.3271208703517914, -0.8046182990074158, 0.7882809638977051, -0.5065349340438843, -0.8228428959846497, -0.524323046207428, -0.38257071375846863, -0.24704046547412872, -0.1065305545926094, 0.2239091545343399, 0.4384456276893616, -0.18346132338047028, 0.12408967316150665, 0.56483393907547, -0.08286122977733612, 0.3481125235557556, 0.6179599165916443, -0.4349426031112671, 0.15001344680786133, 1.0337241888046265, 0.34608736634254456, 0.4584679901599884, 0.5646637678146362, 0.044039785861968994, -0.41560623049736023, -0.02955453470349312, -0.4623454511165619, 0.19415563344955444, -0.514822244644165, 0.21520721912384033, -0.12644949555397034, -0.1865941435098648, 0.22260814905166626, -0.006275203078985214, -0.5819867849349976, -0.9418365955352783, -0.22151802480220795, -0.11676342040300369, -0.01644899882376194, 0.9039255976676941, 0.18253649771213531, 0.21936407685279846, -0.320060670375824, 0.4251128137111664, 0.07847678661346436, 0.6272128224372864, 0.13077402114868164, -0.806660532951355, -0.20673061907291412, -0.1872342824935913, -0.18913601338863373, -0.7543390393257141, -0.12152755260467529, -0.029044536873698235, 0.4049750566482544, 0.3171404004096985, -0.19381476938724518, 0.9633980393409729, -0.8110800981521606, 1.1423453092575073, 0.26984715461730957, -1.0225436687469482, 0.3120328485965729, 0.07953878492116928, 0.5422508120536804, 0.014908958226442337, 0.3555627465248108, -0.3899087905883789, -0.8801994919776917, -0.6912675499916077, -0.4528518319129944, 0.9136180877685547, 0.04203369840979576, 0.3295297920703888, 0.055398836731910706, 0.514132559299469, -0.12047257274389267, 0.3435315489768982, -0.502282977104187, -0.612011730670929, -0.5290591716766357, -0.008071246556937695, -0.127899631857872, -0.01524537056684494, 0.08930307626724243, 0.021615197882056236, 0.6433073282241821, 0.3166561424732208, 0.4709678292274475, 0.2868604063987732, -0.18000298738479614, -0.27754074335098267, 0.35325372219085693, 0.8556146621704102, 0.6018286347389221, 0.22198200225830078, 0.21302612125873566, 0.14779044687747955, -0.11427351087331772, 0.3861835300922394, -0.11312893033027649, -0.3342114984989166, 0.09210822731256485, 0.13542623817920685, 1.1360353231430054, 0.49114173650741577, -0.21485547721385956, 0.3871719539165497, 0.2815578281879425, -0.24761836230754852, -0.364923894405365, 0.3951091170310974, 0.23216986656188965, 0.3161526918411255, 0.3752768933773041, 0.39014238119125366, -0.17946834862232208, -0.5218801498413086, -0.23687644302845, 0.8005263805389404, -0.7779920101165771, -0.5314379334449768, 0.9747369289398193, -0.22290492057800293, -0.6812219023704529, 0.4016971290111542, 0.16708312928676605, -0.48366278409957886, 0.6127151846885681, 0.5443194508552551, 0.8323240876197815, -0.31969520449638367, -0.029079847037792206, 0.26458418369293213, 0.5476512908935547, -0.17136536538600922, 0.27753859758377075, -0.13266615569591522, -0.7545787692070007, -0.5638150572776794, -0.6167035698890686, -0.3173215687274933, 0.1644987016916275, -0.8860125541687012, -0.04521428421139717, -0.6529572010040283, -0.4446706771850586, -0.036852091550827026, -0.2944655418395996, -0.46100616455078125, -0.125047504901886, 0.25790396332740784, 0.9433686137199402, -0.6612956523895264, 0.6359903216362, 0.540379524230957, -0.08786416053771973, -0.817822277545929, -0.2593309283256531, 0.15377305448055267, -0.6841346025466919, 0.35533785820007324, 0.03846415504813194, -0.5030640363693237, -0.16389970481395721, -0.8003727793693542, -0.8762333393096924, 0.9868283271789551, 0.36040565371513367, -0.7544480562210083, -0.011152293533086777, 0.1359460949897766, 0.7827911376953125, -0.03847570717334747, -0.3132036328315735, 0.563652515411377, 0.4435417056083679, -0.25257042050361633, -0.8666220903396606, 0.10221581906080246, 0.09348847717046738, 0.1779749095439911, 0.7243521213531494, -1.0633779764175415, 0.6606509685516357, -0.13412104547023773, -0.6438096761703491, 0.33462560176849365, 0.8875423669815063, 0.05371221527457237, -0.1909695267677307, 0.5235032439231873, 0.7157161235809326, 0.45654264092445374, -0.36393943428993225, 1.1991983652114868, -0.22980964183807373, 0.25107696652412415, 1.0104849338531494, -0.5346998572349548, 0.7649961113929749, 0.42619237303733826, -0.45063695311546326, 0.8139652609825134, 0.04327375441789627, -0.25552332401275635, 0.2720108926296234, 0.528446614742279, -0.07085346430540085, -0.5161296725273132, 0.3228181302547455, 0.0014165849424898624, 0.5016258955001831, 0.5244441032409668, -0.22707904875278473, -0.043507277965545654, -0.018514949828386307, 0.10048933327198029, 0.43821585178375244, -0.42665600776672363, 0.5091782808303833, 0.24454954266548157, -0.6411290168762207, 0.21464647352695465, -0.2961733639240265, 0.4383372366428375, -0.9751018285751343, -0.028927335515618324, -0.0907965749502182, 0.04643136262893677, -0.13835783302783966, -0.6435445547103882, 0.18473504483699799, 0.047827575355768204, -0.08310801535844803, -0.06575490534305573, 0.5339192152023315, -0.17554453015327454, -0.355112224817276, -0.03851448744535446, 0.34780728816986084, 0.34842801094055176, 0.2155533730983734, -0.5856954455375671, -0.060614533722400665, -0.3161540925502777, -0.4772550165653229, 0.26898685097694397, 0.11898157745599747, -0.04235563799738884, 1.0150829553604126, 0.3477276563644409, 0.3065919280052185, 0.21552808582782745, -0.27957671880722046, 0.4174775779247284, -0.791303277015686, -0.4902551770210266, -0.9572175741195679, 0.1932242512702942, 0.20584498345851898, -0.04796785116195679, 0.7468342185020447, 0.6683863401412964, 0.7091811299324036, -0.09511017054319382, 0.6384778618812561, -0.07334767282009125, 0.6230645179748535, -0.6553812026977539, 0.8632712960243225, -0.7003596425056458, 0.3369610607624054, -0.13316088914871216, -0.7602678537368774, 0.07990733534097672, 0.5153839588165283, -0.259040892124176, 0.0031522870995104313, 0.8059621453285217, 0.612248420715332, 0.023975752294063568, 0.0913100615143776, 0.5019711852073669, 0.5908329486846924, -0.03639078140258789, 0.5935571193695068, 1.4214357137680054, -0.18384601175785065, 0.5715237259864807, -0.23169973492622375, 0.07099368423223495, 0.14290648698806763, -0.5813023447990417, -0.5406642556190491, -0.7320890426635742, -0.08749809116125107, -0.38130733370780945, -0.27909258008003235, 0.5473023056983948, 0.7012611627578735, -0.6468867063522339, -0.2849745452404022, 0.15238536894321442, 0.14526470005512238, -0.3863794505596161, -0.2789599597454071, 0.33017459511756897, -0.07859080284833908, -0.7930153012275696, 0.7749175429344177, 0.39338040351867676, 0.08288268744945526, -0.7297953367233276, 0.14577549695968628, -0.05875953659415245, 0.2825637459754944, 0.5146674513816833, 0.4100949466228485, -1.0275616645812988, -0.3030276298522949, 0.06800252199172974, -0.20985078811645508, 0.0937594324350357, 0.8680372834205627, -1.049761176109314, 0.6260867118835449, 0.10868089646100998, 0.4364805221557617, 0.6283962726593018, 0.03653252497315407, 0.4048413634300232, -0.5099380016326904, -0.0610298290848732, 0.16429975628852844, 0.4130089581012726, -0.008914768695831299, -0.17152035236358643, 0.14272060990333557, 0.29195281863212585, -0.21641193330287933, -0.592112123966217, 0.4550211727619171, -0.859545111656189, -0.4911956787109375, 0.7557000517845154, 0.08112659305334091, -0.45290467143058777, 0.2435896098613739, 0.18892940878868103, 0.11064843833446503, -0.22283810377120972, 0.7613669037818909, 0.943532407283783, -0.2845141589641571, 0.29530465602874756, -0.5990810990333557, 0.49809545278549194, 0.50669264793396, -0.3334198296070099, -0.11316441744565964, 0.49946847558021545, 0.29073289036750793, 0.42084813117980957, 0.3995145857334137, -0.1857287883758545, 0.24158866703510284, 0.021767884492874146, -0.15622961521148682, -0.1522834599018097, -0.3502981960773468, -0.7803894877433777, 0.2035403549671173, -0.30371925234794617, -0.32627394795417786 ]
http://arxiv.org/abs/2404.08817v2
http://arxiv.org/pdf/2404.08817v2
Revisiting Code Similarity Evaluation with Abstract Syntax Tree Edit Distance
2024-04-12T21:28:18
2024-06-03T11:56:38
Yewei Song, Cedric Lothritz, Daniel Tang, Tegawendé F. Bissyandé, Jacques Klein
cs.CL
cs.CL, cs.PL, cs.SE
This paper revisits recent code similarity evaluation metrics, particularly focusing on the application of Abstract Syntax Tree (AST) editing distance in diverse programming languages. In particular, we explore the usefulness of these metrics and compare them to traditional sequence similarity metrics. Our experiments showcase the effectiveness of AST editing distance in capturing intricate code structures, revealing a high correlation with established metrics. Furthermore, we explore the strengths and weaknesses of AST editing distance and prompt-based GPT similarity scores in comparison to BLEU score, execution match, and Jaccard Similarity. We propose, optimize, and publish an adaptable metric that demonstrates effectiveness across all tested languages, representing an enhanced version of Tree Similarity of Edit Distance (TSED).
[ -0.058405712246894836, -0.5566495060920715, 0.42871397733688354, 0.26697802543640137, -0.18099363148212433, 0.5291270613670349, -0.4026811718940735, -0.7127934694290161, 0.15336692333221436, -0.12519697844982147, 0.0365847572684288, -0.8021027445793152, -0.6071417927742004, 0.26424622535705566, -0.6817363500595093, 0.6684892177581787, -0.3097456395626068, -0.40315261483192444, -0.18768467009067535, -0.30377066135406494, -0.22530417144298553, -0.23293031752109528, -0.3983185589313507, 0.3012194037437439, 0.32292842864990234, 0.16403095424175262, 0.8844831585884094, 0.9015830755233765, 0.5669199824333191, 0.31387457251548767, -0.094232939183712, -0.18745438754558563, 0.03932519629597664, -0.12956534326076508, -0.1281253546476364, -0.3467003405094147, -0.5620763897895813, -0.33070534467697144, 0.9350272417068481, 0.7301463484764099, 0.26915156841278076, 0.3068278729915619, 0.05235973373055458, 1.0212453603744507, -0.4273046851158142, 0.09682367742061615, -0.6079397797584534, 0.11283227056264877, -0.34923699498176575, -0.3177502751350403, -0.0023300207685679197, -0.8814054131507874, -0.009119478985667229, -0.3831675946712494, 0.2746151387691498, -0.18185003101825714, 0.7918602228164673, 0.27686017751693726, -0.14314323663711548, -0.5655861496925354, -0.4755236804485321, 0.307748943567276, -0.7228555679321289, 0.4538489282131195, -0.14682963490486145, 0.2566230297088623, 0.15649178624153137, -0.6815476417541504, -0.3894152343273163, -0.31323373317718506, 0.01046580821275711, -0.009143284521996975, -0.48736685514450073, 0.33190813660621643, 0.5623779892921448, 0.6444858312606812, -0.5613362193107605, -0.04496961086988449, -0.5624167323112488, -0.09668445587158203, 0.5118134617805481, 0.017594950273633003, 0.4559376537799835, -0.006871084216982126, 0.04339181259274483, 0.10031159967184067, -0.7292866706848145, 0.2919292747974396, 0.5516272783279419, 0.024057308211922646, 0.06133509427309036, 0.4503783583641052, -0.3643478751182556, 0.7516223192214966, -0.29521456360816956, 0.33919844031333923, 0.4703178405761719, -0.39540284872055054, -0.2034195512533188, -0.19586412608623505, 0.7453726530075073, 0.7173802256584167, 0.28700071573257446, -0.21808896958827972, -0.2404865026473999, 0.19444267451763153, 0.2821292579174042, -0.6328431963920593, -0.7057350873947144, -0.16991588473320007, -0.7337540984153748, -0.14077261090278625, 0.31714317202568054, -0.560368537902832, -0.07941598445177078, -0.2123129963874817, 0.07557517290115356, -0.4756384491920471, -0.10106121748685837, 0.05870960280299187, -0.32732290029525757, 0.2704768776893616, 0.5345150828361511, -0.4465882480144501, 0.2850619852542877, 0.9630702137947083, 1.200165033340454, -0.26073917746543884, -0.47684887051582336, -0.2379121035337448, -0.36208757758140564, -0.2768116593360901, 0.580774188041687, -0.9769375324249268, -0.5609192252159119, -0.30432531237602234, -0.37299567461013794, -0.004538902081549168, -0.5507932901382446, 0.16824176907539368, -0.44774749875068665, -0.2819693982601166, -0.04077364131808281, -0.5055104494094849, -0.35526952147483826, 0.2839373052120209, -0.41093599796295166, 1.0761176347732544, 0.503722071647644, -0.7791845202445984, 0.2827818989753723, -0.8619214296340942, -0.44097837805747986, -0.24805007874965668, -0.14638812839984894, -0.4621894955635071, 0.3301079273223877, -0.11116991937160492, -0.1304207146167755, 0.14287225902080536, -0.20175497233867645, -0.24017547070980072, -0.5755961537361145, 0.11532245576381683, -0.3427881896495819, 0.8136852979660034, 0.2342635840177536, -0.23123203217983246, 0.541719913482666, -0.6943072080612183, 0.3987223207950592, -0.3960379660129547, -0.5142604112625122, -0.4702737331390381, -0.16560634970664978, -0.17422635853290558, 0.07788866013288498, 0.2585931718349457, -0.5512501001358032, 0.5804322361946106, -0.29758453369140625, 0.48265156149864197, 0.6853731870651245, -0.01864333637058735, 0.05614297837018967, -0.2535821199417114, 0.9052779674530029, -0.36562246084213257, -0.0596943125128746, -0.07269435375928879, -0.46373963356018066, -0.3030157685279846, -0.13062234222888947, 0.6908068060874939, 0.63288813829422, -0.46712392568588257, 0.3478463590145111, -0.38095709681510925, -0.6841726899147034, -0.5173695087432861, -0.04981333762407303, 0.7389580607414246, 0.08499070256948471, 0.20254923403263092, -0.9271010160446167, -0.5607947707176208, -0.5929669737815857, -0.941874086856842, -0.2632738947868347, -0.010859743691980839, 0.2555285096168518, 0.3637290894985199, -0.3821874260902405, 0.7971056699752808, -0.6619508266448975, 0.43556398153305054, 0.18329545855522156, -0.18642538785934448, 0.12880483269691467, 0.6202489137649536, 0.7330337762832642, -0.20847947895526886, -0.9490048289299011, 0.309324711561203, -0.35369861125946045, -0.3574616014957428, 0.0836537554860115, 0.2565895915031433, 0.11056797951459885, 0.7167239189147949, -0.4235531985759735, 0.6375336647033691, 0.4728097915649414, -0.632796585559845, 0.9704911112785339, -0.16384819149971008, 0.808849036693573, -0.7442252039909363, 0.30109938979148865, -0.30943435430526733, -0.3740719258785248, -0.07523981481790543, 0.5513123273849487, 0.2568991780281067, -0.013302702456712723, -0.29656392335891724, 0.12428320944309235, -0.392352432012558, -0.7705721259117126, 0.11847022920846939, -0.05927549675107002, -0.21390442550182343, 0.2648337781429291, -0.27632197737693787, 0.9009177088737488, 0.5667892694473267, -0.1520208865404129, 0.39276254177093506, 0.022411685436964035, -0.5401318669319153, 0.33547285199165344, -0.632313072681427, 0.5603812336921692, 0.33641618490219116, 0.12896019220352173, -1.0527998208999634, 0.424544095993042, -0.06672514230012894, -0.7358084321022034, 0.18415331840515137, -0.2291024923324585, -0.45651957392692566, -0.1908838003873825, -0.7913649678230286, 0.7566304206848145, 0.5373150706291199, -0.3699548840522766, -0.05740823596715927, -0.21426387131214142, -0.23449018597602844, -0.5883653163909912, -0.42912620306015015, 0.20674002170562744, -0.2739097476005554, -0.45835527777671814, 0.2872637212276459, -0.03941356763243675, -0.42243248224258423, 0.19514746963977814, -0.5268418192863464, 0.095600426197052, 0.23731456696987152, 0.26670005917549133, -0.20869264006614685, -0.6115356683731079, -0.1454440802335739, 0.2228819727897644, -0.16632209718227386, 0.047649189829826355, -0.2979394197463989, 0.18770867586135864, -0.5019656419754028, -0.6548739075660706, -0.22964927554130554, 0.236526757478714, 0.40757662057876587, -0.3493618071079254, 0.15001019835472107, 0.14819911122322083, -0.3300832211971283, 0.19602437317371368, -0.20153695344924927, 0.24306844174861908, -0.4330863058567047, 0.4797514081001282, -0.6432591676712036, -1.1607553958892822, 0.4992842376232147, -0.13187628984451294, 0.25520092248916626, 0.2811861038208008, 0.08107772469520569, 0.15538249909877777, 0.474311500787735, 0.47009512782096863, -0.19587641954421997, 0.6140713095664978, -0.14560040831565857, 0.11287084966897964, -0.7957686185836792, 0.11712037771940231, -0.9562579393386841, -0.522061824798584, -0.6245951056480408, -0.6696738600730896, 0.06650479882955551, 0.4277959167957306, -0.15867206454277039, 0.5942761301994324, -0.48037296533584595, 0.9514182209968567, 0.39992254972457886, -0.20770613849163055, 0.6602305173873901, -0.27521222829818726, 0.12061264365911484, -0.041312187910079956, -0.32651278376579285, -0.41597938537597656, 0.9561138153076172, 0.31214654445648193, 0.41655707359313965, 0.21283990144729614, 0.8127056956291199, 0.40533387660980225, 0.10704495012760162, -0.46855875849723816, 0.391310453414917, -0.27324482798576355, -0.019513282924890518, -0.37157726287841797, -0.36968308687210083, -0.735298752784729, 0.0682470053434372, 0.4469153583049774, -0.8551495671272278, -0.03706410527229309, 0.32499322295188904, -0.4129306375980377, 0.3579990863800049, -0.952969491481781, 1.146500587463379, 0.04917408153414726, 0.1740076243877411, -0.44441741704940796, -0.6603829264640808, 0.01861000433564186, 0.13631878793239594, -0.03782539814710617, 0.27208036184310913, -0.23363594710826874, 0.610226035118103, -0.6433588266372681, 0.4656250774860382, -0.06448768079280853, 0.11844001710414886, 0.26930302381515503, 0.515602707862854, 0.08855494111776352, 0.1616775244474411, -0.173982173204422, 0.37579959630966187, 0.2696115970611572, -0.3718630373477936, -0.7587666511535645, 0.8938891291618347, -0.43422502279281616, -0.40957874059677124, -0.28040218353271484, -0.42941179871559143, -0.005529459100216627, 0.28017207980155945, 0.06922513246536255, 0.5689324140548706, -0.20127369463443756, 0.012418226338922977, 0.059641607105731964, -0.3892371356487274, 0.6168162226676941, 0.34353888034820557, -0.2519710063934326, -0.22603467106819153, 0.6803581118583679, -0.07062093913555145, 0.4579147696495056, 0.5485419631004333, 0.055897559970617294, -0.2935548722743988, -0.8406593799591064, -0.6482632160186768, -0.2889748215675354, -0.6330643892288208, -0.4160669445991516, -0.5189629793167114, -0.1521216481924057, -0.09645167738199234, -0.7681456804275513, -0.3575548231601715, -0.8126578330993652, 0.390838086605072, -0.21488043665885925, 0.8871215581893921, 0.9054539203643799, -0.05922861397266388, -0.04863128811120987, -0.7476121187210083, 0.015412656590342522, -0.06031179428100586, 0.787632167339325, 0.19553788006305695, -0.17109735310077667, -0.11476012319326401, -0.16871210932731628, -0.44218212366104126, -0.845592200756073, -0.03467893227934837, 0.32230058312416077, 0.07280832529067993, -0.18516004085540771, -0.16804362833499908, 0.9940350651741028, -0.4814644753932953, 0.8170409202575684, -0.05488278716802597, -1.2889286279678345, 0.6445266008377075, -0.29455676674842834, 0.5573428869247437, 0.864234447479248, -0.06807158887386322, -0.6676948666572571, -0.7015114426612854, -0.7328826189041138, -0.667914092540741, 0.4911454916000366, 0.35697823762893677, -0.21123811602592468, 0.04786287620663643, 0.2882520854473114, 0.11365780234336853, 0.16566021740436554, -0.5107114315032959, -0.3155384361743927, -0.10738008469343185, -0.13120515644550323, 0.14002101123332977, 0.17886802554130554, 0.5236380100250244, -0.5626047849655151, 0.1812395602464676, 0.08548998087644577, 0.37953948974609375, 0.07524003088474274, -0.1345246285200119, -0.15417639911174774, 0.426856130361557, 0.43472662568092346, 0.8775917291641235, -0.09230698645114899, 0.22805222868919373, 0.40843459963798523, -0.6144016981124878, -0.165532186627388, -0.012244584038853645, 0.0406595878303051, 0.1784234344959259, 0.6806256175041199, 0.3118429183959961, 0.1783864051103592, -0.7277796268463135, 0.45317694544792175, 0.08172588795423508, 0.11473299562931061, 0.04573804512619972, 0.04744667187333107, 0.04821659252047539, 0.10273855924606323, -0.3652923107147217, 0.5012540221214294, 0.5401166677474976, -0.67820805311203, 0.5492830276489258, 0.25826162099838257, -0.6169759035110474, -0.42721953988075256, 0.2928667366504669, 0.27239736914634705, -0.9206460118293762, 0.6471560597419739, -0.5062859058380127, -0.8479886054992676, 0.9439279437065125, 0.45977360010147095, 0.963507354259491, -0.2751065492630005, -0.22239455580711365, 0.4715057909488678, 0.2141537368297577, 0.24530372023582458, 0.15124790370464325, -0.4001940190792084, -0.14502966403961182, -0.5794808268547058, -0.4576006531715393, -0.10113059729337692, -0.36274296045303345, -0.4583503305912018, 0.36558476090431213, -0.7964486479759216, 0.5282582640647888, -0.09867943078279495, 0.11083148419857025, -0.4133404791355133, -0.16311697661876678, -0.4265289306640625, 1.0802843570709229, -0.7043992280960083, 0.9822809100151062, 0.8649885058403015, -0.14898976683616638, -0.8610960841178894, 0.16801176965236664, 0.1600305289030075, -0.5086270570755005, 0.09164474904537201, 0.28456026315689087, -0.08121541142463684, -0.07344997674226761, 0.12131699919700623, -0.5283442735671997, 0.8705350160598755, 0.20084521174430847, -0.5821896195411682, -0.0048755863681435585, -0.09430292993783951, 0.8077758550643921, -0.11898759752511978, 0.6229004263877869, 1.1510132551193237, 0.12787888944149017, -0.2833319306373596, -1.3675709962844849, 0.1351243257522583, -0.6093568801879883, 0.12255112081766129, 0.7239037752151489, -0.4219011068344116, 0.5471175312995911, -0.3433617055416107, -0.24960987269878387, 0.2418108880519867, 0.2841973304748535, 0.17461130023002625, 0.3909779191017151, 0.49939244985580444, 0.6025984287261963, 0.46454665064811707, 0.10567318648099899, 0.9332430958747864, -0.22492702305316925, 0.500999391078949, 1.1897488832473755, 0.09694994986057281, 0.6906905770301819, 0.10696391016244888, -0.7109997272491455, 0.5866437554359436, 0.4917328357696533, 0.11963088065385818, 0.24741633236408234, 0.4030276834964752, 0.03808845952153206, 0.3444576859474182, 0.36814016103744507, -0.6407288312911987, 0.07772966474294662, 0.2627537250518799, -0.38452163338661194, -0.2931646704673767, -0.5335612297058105, 0.10782493650913239, 0.6017829775810242, -0.16685625910758972, 0.6826790571212769, 0.217708021402359, -0.31402871012687683, 0.45733216404914856, 0.1717856079339981, 0.6051425933837891, -0.2669511139392853, -0.1635131537914276, -0.14967091381549835, -0.03742212429642677, -0.4676210284233093, -1.1370222568511963, 1.0143760442733765, 0.38583311438560486, -0.026641186326742172, -0.14294610917568207, 0.28940078616142273, -0.2675589919090271, -0.17317377030849457, 0.14494408667087555, 0.24930763244628906, 0.15009649097919464, -0.19509407877922058, -0.9705666303634644, 0.1062847226858139, 0.3952435553073883, 0.1751186102628708, 0.10035711526870728, 0.7191907167434692, -0.11373648047447205, 0.3189518451690674, 0.346171110868454, 0.15441006422042847, 0.05019954964518547, 0.05417703837156296, 0.6170811653137207, -0.9391528367996216, -0.7717827558517456, -1.1321783065795898, 0.25293630361557007, -0.04359082877635956, -0.6410434246063232, 0.9598672986030579, 1.1104151010513306, 1.1629643440246582, -0.3659367263317108, 0.5998358726501465, -0.4508611559867859, 0.40415823459625244, -0.4702976644039154, 0.44875144958496094, -0.26751625537872314, 0.5445266366004944, -1.0616956949234009, -1.4359911680221558, -0.41368260979652405, 0.5598351359367371, -0.26719921827316284, -0.08086156100034714, 1.0325325727462769, 0.9013628959655762, -0.1113809272646904, 0.05510946735739708, 0.1368124634027481, 0.13028188049793243, 0.36501544713974, 1.015161395072937, 0.9335812926292419, -0.4268799424171448, 0.2848103940486908, -0.03357407823204994, -0.21478894352912903, -0.028220226988196373, -0.8324607610702515, -0.6796179413795471, -0.6401875615119934, -0.711295485496521, -0.23564369976520538, 0.3703043460845947, 1.134896993637085, 0.23664939403533936, -0.7598429918289185, -0.17909152805805206, -0.18458962440490723, 0.3287273943424225, -0.6246533393859863, -0.20961911976337433, 0.6603675484657288, 0.03670298680663109, -0.3486669063568115, 0.03984273225069046, 0.46258044242858887, -0.10326927900314331, 0.328742653131485, -0.05918426066637039, 0.18847520649433136, -0.31719300150871277, 0.6705840229988098, 0.5422583818435669, -0.7453936338424683, -0.767863929271698, -0.19502630829811096, -0.0037682943511754274, 0.2745034098625183, 1.0486119985580444, -0.7049400210380554, 0.5266565680503845, 0.7688924670219421, 0.7829487323760986, -0.05319882556796074, 0.2250957190990448, 0.5498355031013489, -0.8830068707466125, -0.06748691201210022, 0.1563349962234497, 0.24735857546329498, 0.27155330777168274, -0.12927183508872986, 0.8016974329948425, 0.13690048456192017, -0.40934112668037415, -0.7955460548400879, 0.31163546442985535, -1.0546071529388428, 0.023501960560679436, 1.1737569570541382, -0.36078840494155884, 0.17337734997272491, -0.24821068346500397, -0.5457567572593689, 0.014950434677302837, -0.4759165346622467, 0.8045817017555237, 0.5163465142250061, -0.23918694257736206, -0.006063664332032204, -0.35161083936691284, 0.7783480882644653, 0.09362856298685074, -0.8368101716041565, 0.1409500390291214, 0.47642749547958374, 0.4663146734237671, 0.12114422768354416, 0.6265199780464172, -0.5037146210670471, 0.6008898019790649, 0.11737559735774994, -0.005034370813518763, -0.07086049020290375, -0.10113193839788437, -0.6294722557067871, -0.13378269970417023, 0.7114994525909424, -0.14218764007091522 ]
http://arxiv.org/abs/2404.08816v1
http://arxiv.org/pdf/2404.08816v1
Evaluating the Quality of Answers in Political Q&A Sessions with Large Language Models
2024-04-12T21:16:53
2024-04-12T21:16:53
R. Michael Alvarez, Jacob Morrier
cs.CL
cs.CL, econ.EM
This paper presents a new approach to evaluating the quality of answers in political question-and-answer sessions. We propose to measure an answer's quality based on the degree to which it allows us to infer the initial question accurately. This conception of answer quality inherently reflects their relevance to initial questions. Drawing parallels with semantic search, we argue that this measurement approach can be operationalized by fine-tuning a large language model on the observed corpus of questions and answers without additional labeled data. We showcase our measurement approach within the context of the Question Period in the Canadian House of Commons. Our approach yields valuable insights into the correlates of the quality of answers in the Question Period. We find that answer quality varies significantly based on the party affiliation of the members of Parliament asking the questions and uncover a meaningful correlation between answer quality and the topics of the questions.
[ -0.5828015208244324, -0.9511565566062927, 0.954096257686615, -0.24955062568187714, -0.37033286690711975, 0.057453230023384094, -0.11495883017778397, -0.10838070511817932, 0.3920612335205078, 0.5781291127204895, -0.466630756855011, -0.3157445192337036, -0.7041832804679871, -0.1546945571899414, -0.5921196341514587, 0.4391382336616516, 0.36048388481140137, 0.1175471618771553, -0.25887829065322876, -0.3066663146018982, -0.35364091396331787, -0.6020258069038391, -0.5876989364624023, -0.2079053819179535, 0.6418587565422058, 0.3520475924015045, 1.0956312417984009, 0.7486066222190857, 0.585540235042572, 0.2834065556526184, -0.2530011236667633, 0.24320854246616364, -0.6439201831817627, -0.013337871991097927, -0.3763068914413452, -0.5484907031059265, -0.1530017852783203, 0.2241416871547699, 0.6010749936103821, 0.8120495676994324, -0.1816444844007492, 0.24712690711021423, -0.01492499839514494, 0.49077823758125305, -0.5282066464424133, 0.08318662643432617, -0.9616571664810181, -0.28814682364463806, 0.015862109139561653, -0.5386311411857605, -0.29069527983665466, -0.4719468057155609, 0.07153458148241043, -0.4290972054004669, 0.06024795025587082, 0.02469208650290966, 1.0535331964492798, -0.11166180670261383, -0.5025686621665955, -0.5247429609298706, -0.5038378834724426, 0.5798692107200623, -0.7613391280174255, 0.23649726808071136, 0.3787713348865509, 0.28821122646331787, -0.12293531745672226, -0.6184701919555664, -0.7670855522155762, -0.2028970718383789, -0.44444939494132996, 0.07873157411813736, -0.009080257266759872, -0.08551596850156784, -0.06246885284781456, 0.46903401613235474, -0.6998833417892456, -0.1790810227394104, -0.22894832491874695, -0.18265090882778168, 0.7545093297958374, 0.5235305428504944, 0.4141559600830078, -0.2647615969181061, 0.046132318675518036, -0.32767271995544434, -0.2174891084432602, 0.3151903748512268, 0.5953835844993591, 0.45508021116256714, 0.22127021849155426, 0.7651055455207825, -0.2211575210094452, 0.6973091959953308, 0.02417406439781189, 0.3481786847114563, -0.532929003238678, -0.9024440050125122, 0.22974541783332825, -0.3226947486400604, 0.6420127153396606, 0.2641989290714264, 0.07652034610509872, 0.00200070277787745, -0.23524919152259827, 0.036914754658937454, 0.08797144144773483, -0.8855388760566711, -0.21724927425384521, 0.4747043550014496, -0.5483371615409851, 0.2077418714761734, 0.39678955078125, -0.6123960614204407, -0.23284968733787537, -0.616279661655426, 0.44683757424354553, -0.23599842190742493, -0.5564153790473938, 0.18847844004631042, -0.1174796000123024, 0.469457745552063, 0.34642893075942993, -0.6867559552192688, 0.32613858580589294, 1.1227402687072754, 0.5902100801467896, -0.09463857114315033, 0.06346168369054794, -0.9658868312835693, -0.49340036511421204, -0.6870017051696777, 0.8792399764060974, -0.6208042502403259, -0.21425077319145203, 0.16520148515701294, -0.00922516081482172, 0.10453922301530838, -0.5879520773887634, 0.11547794193029404, -1.1003371477127075, 0.49555569887161255, -0.6599542498588562, -0.8114312291145325, 0.05082913115620613, 0.38922008872032166, -0.5085026621818542, 0.7872717976570129, 0.17945493757724762, -0.7236683368682861, 0.5282629728317261, -0.6497066617012024, 0.08622611314058304, -0.02402687631547451, 0.08051255345344543, 0.07154850661754608, 0.16587881743907928, 0.3197258710861206, 0.2596937417984009, -0.17994831502437592, 0.32032883167266846, -0.41687214374542236, -0.23378226161003113, 0.8727279901504517, -0.15847066044807434, 0.8534618616104126, 0.03062456101179123, 0.21271441876888275, 0.41764283180236816, -0.7358654141426086, 0.43066540360450745, -0.2793673276901245, -0.12525825202465057, -0.40918734669685364, -0.011997109279036522, -0.14721529185771942, 0.2708265781402588, 0.2684177756309509, -0.8040283918380737, -0.17061421275138855, -0.7416141033172607, 0.48679110407829285, 0.5972965955734253, 0.36215949058532715, 0.47008877992630005, -0.33275318145751953, 0.2441711574792862, -0.2890130579471588, 0.23883001506328583, 0.11494998633861542, -0.3020038306713104, -0.5773637294769287, 0.02421334944665432, 0.6467617154121399, 0.3679177165031433, -0.5151877999305725, 0.3152396082878113, -0.3143863379955292, -0.4976663887500763, -0.6139928102493286, -0.02463102526962757, -0.01819920353591442, 0.09811928123235703, 0.21773910522460938, -0.49666446447372437, -0.14224179089069366, -0.7252886891365051, -0.37420323491096497, -0.7475056052207947, -0.18912233412265778, 0.5848903656005859, 0.6662141680717468, 0.3552091121673584, 1.0551891326904297, -0.4699004292488098, 0.44797825813293457, 0.04158509895205498, 0.3404451906681061, 0.38058969378471375, 0.13043339550495148, 0.3310902714729309, -0.7693927884101868, -0.29487356543540955, -0.053360287100076675, -0.3351432681083679, -0.02358756586909294, 0.19063729047775269, -0.6076834201812744, -0.0944778174161911, 0.3592873513698578, -0.3102153241634369, 0.08788006752729416, 0.5131223797798157, -0.7057632207870483, 0.24785465002059937, -0.10680867731571198, 0.5692983269691467, -1.030754804611206, 0.28871339559555054, -0.5560994744300842, -0.08887049555778503, -0.49242082238197327, 0.26099175214767456, 0.07973788678646088, -0.17529644072055817, -0.5957496166229248, 0.731395423412323, -0.08646219968795776, -0.1182267963886261, -0.3266204595565796, 0.434536874294281, 0.12811297178268433, 0.11994972079992294, -0.20757822692394257, 0.8876382112503052, 0.07809939980506897, -0.5411381125450134, 0.40525519847869873, 0.43655404448509216, -0.5370267033576965, 0.6984443664550781, -0.8474711775779724, 0.49401968717575073, -0.4260847270488739, -0.22884032130241394, -1.6370607614517212, -0.49101147055625916, -0.11058183014392853, -0.8099954724311829, 0.015220734290778637, -0.07684852182865143, -0.692330002784729, -0.10261418670415878, -0.036280110478401184, 0.29458534717559814, 0.21587133407592773, -0.3653581738471985, 0.19099922478199005, 0.535720705986023, -0.20273981988430023, -0.3862084746360779, -0.1596895307302475, -0.02545800246298313, -0.04462713003158569, -0.8643545508384705, 0.0021050223149359226, -0.13841155171394348, -0.5592107176780701, 0.2359359711408615, -0.1923997849225998, -0.5017759799957275, -0.006662146653980017, -0.2658275067806244, 0.09685518592596054, -0.5246478915214539, 0.27632251381874084, -0.2549630105495453, 0.0026760122273117304, 0.18721741437911987, 0.010485555976629257, 0.8679630160331726, 0.06785450130701065, -0.29846611618995667, -0.5036690831184387, 0.6402180194854736, 0.8358482718467712, -0.7590867280960083, 0.9011867642402649, 0.18834367394447327, -0.18440985679626465, 0.37947478890419006, -0.6178669929504395, -0.5084376931190491, -0.45540571212768555, 0.37250301241874695, 0.03130320459604263, -1.1000251770019531, 0.974872887134552, 0.32903948426246643, 0.19172661006450653, 0.6509660482406616, 0.45899835228919983, -0.2583467960357666, 1.1239076852798462, 0.5392130613327026, 0.18965041637420654, 0.31853893399238586, 0.03898550570011139, 0.3925583064556122, -0.35732612013816833, -0.27632632851600647, -1.0001567602157593, -0.28268128633499146, -0.5894845724105835, -0.27071407437324524, 0.323373019695282, -0.015158184804022312, -0.6473361253738403, 0.1856006681919098, -0.5129961371421814, 0.26296430826187134, 0.4855106472969055, 0.19404761493206024, 0.002440487267449498, -0.44014081358909607, 0.45455431938171387, -0.11779762804508209, -0.4895242750644684, -0.5769104957580566, 0.7437907457351685, 0.23810502886772156, 0.5639913082122803, 0.15580742061138153, 0.49808013439178467, -0.05609509348869324, 0.38260385394096375, -0.692150354385376, 0.5546697974205017, 0.07194332033395767, -0.7768640518188477, -0.9576493501663208, -0.7008998990058899, -0.940345048904419, 0.362807959318161, -0.18040990829467773, -0.5683460831642151, 0.1913909912109375, -0.09607497602701187, -0.5390899181365967, 0.18699444830417633, -0.05721231549978256, 0.9854035377502441, -0.28749367594718933, -0.17512385547161102, -0.14783675968647003, -0.4816201329231262, 0.21629340946674347, 0.2271493822336197, 0.029896337538957596, -0.44153308868408203, -0.19350849092006683, 0.9923399090766907, -0.21960484981536865, 0.3197624385356903, -0.07419037073850632, -0.08825017511844635, 0.6263952255249023, -0.03285262733697891, 0.13188506662845612, 0.47462350130081177, -0.296060711145401, -0.22903846204280853, 0.6824731826782227, -0.5253833532333374, -0.9063007831573486, 0.6616714596748352, -0.7851476073265076, -0.684076189994812, -0.18352708220481873, -0.5215532779693604, -0.047111667692661285, 0.08916882425546646, 0.12281571328639984, 0.5471966862678528, -0.27798962593078613, 0.5574074387550354, 0.5658748149871826, -0.28617963194847107, 0.28748705983161926, 0.6049279570579529, -0.12889720499515533, -0.4225062131881714, 0.2730918824672699, 0.36547496914863586, 0.3342586159706116, 0.6131376028060913, 0.3714767396450043, -0.77461177110672, -0.23051095008850098, -0.25967586040496826, 0.3220851421356201, -0.6635395288467407, -0.26719844341278076, -0.6303123831748962, -0.12997904419898987, -0.15662185847759247, 0.19508036971092224, -0.45900723338127136, -0.27381789684295654, -0.2619437575340271, 0.12765948474407196, 0.25561439990997314, 0.37423428893089294, 0.1554999202489853, 0.2536373436450958, -0.6386057138442993, 0.2084774374961853, 0.660267174243927, 0.5261984467506409, -0.36666667461395264, -0.7408550381660461, 0.06094830483198166, 0.2554830014705658, -0.23842285573482513, -1.2380832433700562, 0.17046451568603516, 0.24235300719738007, 0.35090285539627075, 0.04048024117946625, 0.4145139753818512, 0.5589257478713989, -0.2541755735874176, 1.2899069786071777, -0.06336648017168045, -0.7421405911445618, 0.7985021471977234, -0.26602208614349365, 0.3261038362979889, 0.8628612160682678, 0.17049430310726166, -0.5335798263549805, -0.7247918248176575, -0.477725088596344, -0.8125807046890259, 0.25249961018562317, 0.04548628255724907, 0.752587080001831, -0.23926158249378204, 0.5635326504707336, -0.11830028146505356, 0.23907984793186188, -0.3120776414871216, -0.05106660723686218, 0.022301405668258667, 0.33118778467178345, -0.1454378068447113, -0.47342053055763245, -0.19329065084457397, -0.23724645376205444, 0.41495999693870544, -0.0910196527838707, 0.19795027375221252, 0.16259467601776123, 0.2826283872127533, -0.273685485124588, 0.5432682037353516, 0.33023592829704285, 1.3444292545318604, -0.2329731285572052, -0.0030027180910110474, 0.11600212752819061, 0.11994323879480362, 0.1958911269903183, -0.39762935042381287, 0.1383124589920044, 0.4636358320713043, 0.1777176856994629, 0.2960357069969177, -0.12080682814121246, -0.4079248607158661, 0.645171582698822, -0.2204878330230713, -0.24206973612308502, -0.20386454463005066, 0.08435466140508652, 0.09405193477869034, -0.10205421596765518, 0.16567668318748474, -0.4228253662586212, 0.06799130141735077, -1.1305994987487793, 0.5247328281402588, 0.8227089643478394, -0.5834848880767822, -0.14443989098072052, 0.6007838845252991, -0.033036794513463974, -0.6200434565544128, 0.736163854598999, 0.029839439317584038, -0.39625129103660583, 0.6517431735992432, 0.13838835060596466, 0.4248151481151581, -0.35834962129592896, 0.24936898052692413, 0.6547954082489014, 0.3654750883579254, 0.21397073566913605, 0.5412264466285706, 0.30123549699783325, -0.6069530248641968, -0.772599458694458, -0.6369512677192688, -0.6892894506454468, 0.37887436151504517, -0.883084237575531, -0.05004620924592018, -0.29228389263153076, -0.36916717886924744, 0.05618204548954964, 0.38103118538856506, -0.7296785116195679, 0.24731867015361786, -0.25824853777885437, 0.9541268348693848, -0.8990206718444824, 0.3029569089412689, 0.4529808759689331, -0.20288562774658203, -0.7614532113075256, 0.022350803017616272, -0.4284626841545105, -0.4975005090236664, 0.4297935366630554, -0.12452168762683868, 0.01518880482763052, -0.25315165519714355, -0.7520699501037598, -0.8356438875198364, 0.7108545303344727, 0.603794515132904, -0.21488940715789795, 0.23411469161510468, 0.2872447669506073, 0.6963759064674377, -0.029728883877396584, 0.4405977725982666, 0.7819954752922058, 0.46448814868927, -0.13843193650245667, -0.9118728041648865, -0.2505148947238922, -0.1398102343082428, -0.10331104695796967, 0.44140589237213135, -0.470285028219223, 0.7313262820243835, 0.2783691883087158, -0.37001046538352966, 0.15911370515823364, 0.933588981628418, -0.1496843844652176, 0.3724774420261383, 0.5441817045211792, -0.006993662100285292, 0.8308205008506775, -0.4276123344898224, 1.085517406463623, -0.6949648857116699, 0.41469690203666687, 0.6704011559486389, -0.05723024904727936, 1.1014066934585571, 0.6982519030570984, -0.07310221344232559, 0.020261192694306374, 0.602815568447113, 0.5390257239341736, 0.5258151888847351, 0.7375567555427551, -0.1946418732404709, -0.6292750239372253, -0.19115017354488373, -0.11153212189674377, 0.6580573320388794, 0.3415524959564209, 0.04110521078109741, -0.2620895206928253, -0.10586624592542648, -0.14467863738536835, 0.7311925888061523, -0.23461571335792542, 1.0287082195281982, -0.11810915172100067, -1.0106122493743896, 0.4912801682949066, -0.033539898693561554, 0.21635743975639343, -0.3743434548377991, -0.06963366270065308, -0.5465734004974365, -0.26373809576034546, 0.09236779063940048, -1.3725101947784424, 0.5955917239189148, -0.0660615935921669, -0.1668858677148819, -0.01595640927553177, 0.07616325467824936, -0.44671720266342163, -0.4032478928565979, 0.20946981012821198, 0.8105330467224121, 0.1533723622560501, -0.02342902310192585, -0.4300413131713867, 0.017171964049339294, -0.5257087349891663, -0.2524433434009552, 0.31079524755477905, 0.6143659353256226, 0.43881475925445557, 0.35240182280540466, 0.4965205490589142, 0.023291688412427902, -0.06366731971502304, -0.3237175941467285, 0.8945583701133728, -0.09388696402311325, -0.5155273675918579, -0.768157422542572, 0.5769363641738892, -0.32152727246284485, -0.5531640648841858, 0.40156054496765137, 0.5376546382904053, 0.872966468334198, 0.3761662542819977, 0.3275473117828369, -0.009373237378895283, 0.7825536727905273, -0.4720443785190582, 0.816138505935669, -0.6825408339500427, 0.12254154682159424, -0.001325329765677452, -0.966194212436676, -0.23148617148399353, 0.6309199929237366, -0.4611418843269348, -0.32464227080345154, 0.5406776666641235, 1.1960808038711548, -0.32672592997550964, -0.0872751995921135, 0.5425448417663574, -0.0734364241361618, 0.4206288158893585, 0.17476165294647217, 1.1121405363082886, -0.2787710428237915, 0.6177214980125427, -0.1222475916147232, -0.11255326867103577, 0.03940294682979584, -0.562171995639801, -0.6019432544708252, -0.8630138635635376, -0.37827426195144653, -0.5741479396820068, 0.2917904257774353, 0.7004556655883789, 0.6125896573066711, -0.7923625111579895, -0.41029927134513855, 0.4073258638381958, -0.15004463493824005, -0.054069772362709045, -0.22194980084896088, 0.676796019077301, -0.5644357800483704, -0.4659503698348999, 0.06038322672247887, 0.06691236793994904, -0.5716302990913391, -0.19105291366577148, 0.27191367745399475, -0.10277155786752701, 0.5953163504600525, 0.5832585096359253, 0.03765745460987091, -0.8248193264007568, -0.9900193810462952, 0.49873512983322144, -0.28984421491622925, 0.15391944348812103, 0.8676122426986694, -0.148188054561615, 0.5915854573249817, 0.7472516298294067, 0.7731660604476929, 0.1761123687028885, 0.3109554350376129, 0.37602177262306213, -0.6953787207603455, -0.2078355997800827, 0.589863657951355, 0.0350869819521904, 0.31376293301582336, -0.17263032495975494, 0.2748366594314575, -0.34662801027297974, -0.7610235214233398, -0.7352781891822815, 0.23917527496814728, -0.8981395363807678, -0.10195333510637283, 1.1115065813064575, -0.15185514092445374, -0.0860699713230133, -0.11157237738370895, -0.36369839310646057, 0.15317942202091217, -0.19330419600009918, 0.7958410978317261, 1.0148911476135254, -0.015059457160532475, -0.3954373002052307, -0.87176513671875, 0.22172535955905914, 0.21526449918746948, -0.68025803565979, 0.15897643566131592, 0.28522220253944397, 0.24152006208896637, 0.12684841454029083, 0.8483781814575195, -0.3863898813724518, 0.461169570684433, -0.2666272819042206, -0.44946110248565674, 0.43999290466308594, -0.18827232718467712, -0.08510797470808029, 0.5332657098770142, 0.2752886116504669, -0.32228878140449524 ]
http://arxiv.org/abs/2404.08806v1
http://arxiv.org/pdf/2404.08806v1
CreativEval: Evaluating Creativity of LLM-Based Hardware Code Generation
2024-04-12T20:41:47
2024-04-12T20:41:47
Matthew DeLorenzo, Vasudev Gohil, Jeyavijayan Rajendran
cs.CL
cs.CL
Large Language Models (LLMs) have proved effective and efficient in generating code, leading to their utilization within the hardware design process. Prior works evaluating LLMs' abilities for register transfer level code generation solely focus on functional correctness. However, the creativity associated with these LLMs, or the ability to generate novel and unique solutions, is a metric not as well understood, in part due to the challenge of quantifying this quality. To address this research gap, we present CreativeEval, a framework for evaluating the creativity of LLMs within the context of generating hardware designs. We quantify four creative sub-components, fluency, flexibility, originality, and elaboration, through various prompting and post-processing techniques. We then evaluate multiple popular LLMs (including GPT models, CodeLlama, and VeriGen) upon this creativity metric, with results indicating GPT-3.5 as the most creative model in generating hardware designs.
[ -0.4553244411945343, -0.764378011226654, 0.6925148367881775, 0.4167011082172394, -0.5210255980491638, 0.4262768626213074, -0.16008874773979187, -0.30474889278411865, -0.03598873317241669, 0.13795502483844757, -0.6384881138801575, -0.42225340008735657, -0.26319456100463867, 0.029663210734725, -0.16336661577224731, 0.7692688703536987, -0.2682899832725525, -0.3385765850543976, -0.30876895785331726, 0.13549762964248657, -0.651407778263092, -0.31665515899658203, -0.020679466426372528, -0.13855908811092377, 0.38611096143722534, 0.284257173538208, 0.3472210168838501, 0.2289605438709259, 0.749982476234436, 0.3983991742134094, -0.15195542573928833, 0.22738251090049744, -0.44491299986839294, 0.3306959867477417, -0.19337715208530426, -0.4552968442440033, -0.5630568265914917, -0.09246771782636642, 0.33054444193840027, 0.2338889241218567, -0.118809774518013, 0.5058525204658508, -0.055888831615448, 0.5258498787879944, -0.23101545870304108, -0.08666755259037018, -0.8524649143218994, 0.2458716630935669, -0.4656066596508026, -0.5328043699264526, -0.29863521456718445, -0.9472200870513916, -0.4226490259170532, -0.5954433083534241, 0.23887617886066437, -0.23429784178733826, 0.32950901985168457, 0.3869321048259735, 0.05203445255756378, -0.6623931527137756, -0.911766529083252, 0.6332626938819885, -0.7289596796035767, 0.22869257628917694, -0.23574501276016235, 0.4221896231174469, -0.17924214899539948, -0.9060056209564209, -0.6942996382713318, -0.037771355360746384, 0.723823070526123, 0.04958714544773102, -0.17458513379096985, -0.19673378765583038, 0.3447730541229248, 0.7905682325363159, -0.6512147188186646, 0.12273756414651871, -0.2180866301059723, 0.14562617242336273, 0.6562807559967041, 0.2175276130437851, 0.3435980975627899, 0.09304632246494293, -0.42579299211502075, 0.19401682913303375, -0.9299780130386353, 0.11593169718980789, 0.4822094440460205, -0.07989607006311417, 0.1909133642911911, 0.60059654712677, -0.06485769897699356, 0.6191438436508179, 0.010580950416624546, -0.4009139835834503, 0.35962823033332825, -0.5053464770317078, -0.24430449306964874, -0.2561874985694885, 0.480021208524704, 0.17369234561920166, -0.022313693538308144, -0.20468156039714813, -0.709376335144043, 0.017908306792378426, 0.43099841475486755, -0.829018235206604, -0.1675010621547699, 0.24113762378692627, -0.5011059045791626, -0.6234855055809021, 0.01687750220298767, -0.2912234663963318, -0.3588099479675293, -0.3336350619792938, 0.4165972173213959, -0.0798012763261795, -0.30515074729919434, 0.13473014533519745, -0.39821988344192505, 0.004661877173930407, 0.14235588908195496, -0.5798549652099609, -0.2754038870334625, 0.7891906499862671, 0.49416399002075195, -0.3416960835456848, 0.05606274679303169, -0.41122424602508545, -0.19482776522636414, -0.5963161587715149, 0.7784462571144104, -0.24873784184455872, -0.42019084095954895, -0.2350538671016693, -0.30222398042678833, 0.4158231317996979, -0.6743887066841125, 0.37390515208244324, -1.002721905708313, -0.13353897631168365, -0.5382582545280457, -0.5207808017730713, 0.07705650478601456, 0.07676608860492706, -0.5334617495536804, 0.7204280495643616, 0.22547557950019836, -0.47620153427124023, 0.6511850357055664, -0.43791088461875916, -0.418021559715271, 0.7755494713783264, -0.39210009574890137, -0.29160451889038086, 0.7263559699058533, -0.13411231338977814, 0.0999266728758812, -0.4352436363697052, 0.39127352833747864, -0.36630430817604065, -0.4166809916496277, 0.8201702237129211, -0.5563951134681702, 0.6694719195365906, 0.5192795395851135, -0.43070241808891296, 0.21282507479190826, -0.8847101926803589, 0.28915297985076904, 0.08176016062498093, -0.45981016755104065, 0.07063837349414825, -0.22497138381004333, -0.06299871951341629, 0.3829505145549774, 0.4400772154331207, -0.7688226103782654, 0.27428653836250305, -0.2897852063179016, 0.47467952966690063, 0.733742356300354, 0.17374056577682495, 0.01193100307136774, -0.49547916650772095, 0.9286729097366333, -0.4811570644378662, 0.03393644466996193, -0.04410427063703537, -0.6632334589958191, -0.4311361312866211, -0.31222018599510193, 0.07121513783931732, 0.502924382686615, -0.8907120823860168, 0.21458369493484497, 0.14929704368114471, -0.7404073476791382, -0.44145330786705017, 0.477058082818985, 0.2183440774679184, 0.4095688462257385, -0.010609530843794346, -0.27147412300109863, -0.4034268260002136, -0.7190647125244141, -0.25760120153427124, -0.11738717555999756, -0.16746826469898224, 0.22812692821025848, 0.1997537910938263, -0.2555026412010193, 0.6822230815887451, -0.16657881438732147, 0.18703307211399078, -0.26080626249313354, 0.477130651473999, 0.5190197825431824, 0.3467438519001007, 0.5595351457595825, -0.3887239396572113, -0.31335678696632385, 0.06178461015224457, -0.799505352973938, -0.49890780448913574, -0.22768759727478027, 0.019734498113393784, 0.2575465440750122, 0.16986553370952606, -0.6801625490188599, 0.4727230668067932, 0.2379729002714157, -0.004777584690600634, 0.7693341374397278, -0.10632223635911942, 0.41819143295288086, -0.837395966053009, 0.18321473896503448, -0.5007503628730774, 0.05553388223052025, -0.2558894455432892, 0.335393488407135, -0.1543801724910736, -0.018056081607937813, -0.6126310229301453, 0.39401087164878845, -0.4031611979007721, -0.2767694592475891, -0.4573252201080322, 0.09563067555427551, -0.048368655145168304, 0.13466748595237732, -0.17309892177581787, 1.0231668949127197, 0.3499376177787781, -0.35900717973709106, 0.8276386260986328, -0.14881490170955658, -0.6079086065292358, 0.4963913559913635, -0.9648394584655762, 0.41833531856536865, 0.11040028929710388, -0.31058165431022644, -1.219360589981079, -0.12936989963054657, -0.48502057790756226, -0.39377886056900024, 0.1832812875509262, 0.13107769191265106, -0.7116222381591797, -0.7665495276451111, -0.09370072185993195, 0.6919997930526733, 0.7794391512870789, -0.47075948119163513, 0.19642409682273865, 0.4206591546535492, -0.459314227104187, -0.1216077208518982, -0.971157968044281, 0.05421195551753044, -0.332414835691452, -0.9372867941856384, 0.6911168694496155, -0.5837950706481934, -0.29455438256263733, -0.01642894372344017, 0.01763894036412239, 0.13733355700969696, 0.16524530947208405, 0.07434047758579254, 0.2908160090446472, -0.5017516016960144, -0.032316453754901886, -0.10810771584510803, 0.009467124938964844, 0.11479242891073227, -0.3493249714374542, 0.4090721011161804, -0.6043778657913208, -0.5260450839996338, -0.2656746506690979, 0.14734108746051788, 0.5262449383735657, -0.21212777495384216, 0.2138092964887619, 0.5999704599380493, -0.1668022722005844, -0.7297704219818115, -0.5422795414924622, 0.24892279505729675, -0.6183558702468872, 0.242671936750412, -0.499674916267395, -0.9385508298873901, 0.7612915635108948, 0.1358197182416916, 0.23732100427150726, 0.28036895394325256, 1.0699173212051392, 0.12357962876558304, 0.8496695160865784, 0.5384593605995178, 0.47608569264411926, 0.2557257115840912, -0.07430961728096008, 0.43960443139076233, -0.5817959308624268, -0.36386778950691223, -0.13279937207698822, -0.46028125286102295, -0.5748007297515869, -0.5040767788887024, 0.18916864693164825, 0.07789237797260284, -0.20058588683605194, 0.1506337672472, -0.7175738215446472, 0.6477256417274475, 0.43173930048942566, -0.3056466281414032, 0.21305027604103088, 0.173186257481575, -0.40320849418640137, -0.15075838565826416, -0.7792107462882996, -0.5095812678337097, 0.8161718845367432, 0.45371299982070923, 0.909895122051239, 0.2914380133152008, 0.7805302143096924, 0.2384364902973175, 0.505971372127533, -0.7768015265464783, 0.5302344560623169, -0.1544499695301056, -0.28743836283683777, 0.007070892956107855, -0.5824427008628845, -0.5734614133834839, -0.35709813237190247, 0.24188102781772614, -0.43454277515411377, 0.0966431275010109, -0.005384134128689766, -0.6896448731422424, 0.407254159450531, -0.3348446786403656, 0.5711402297019958, -0.6066758632659912, -0.6270198822021484, -0.15641430020332336, -0.0008856749627739191, 0.6341743469238281, -0.3885243833065033, 0.16012874245643616, 0.10446137189865112, -0.045014914125204086, 0.5264967679977417, -0.41236546635627747, 0.4120665192604065, 0.02046509087085724, -0.33850541710853577, 0.737920880317688, 0.4036549925804138, 0.06288129091262817, 0.13738849759101868, -0.2652859389781952, -0.2705215811729431, -0.2420201599597931, -0.023682300001382828, -0.5642493367195129, 0.9245507121086121, -0.5654430985450745, -0.5211478471755981, -0.022092999890446663, -0.6803471446037292, -0.25719720125198364, 0.30743080377578735, 0.46981745958328247, 0.533205509185791, -0.25782766938209534, 0.3701324760913849, 0.61114901304245, -0.5740826725959778, 0.5823850631713867, 0.2568156123161316, -0.22587211430072784, -0.6514570116996765, 1.1026978492736816, 0.11758466809988022, 0.105707548558712, -0.07023270428180695, 0.08590604364871979, -0.47158846259117126, -0.5913224816322327, -0.5576999187469482, -0.009718980640172958, -0.7339473962783813, -0.33134162425994873, 0.02085013873875141, -0.5131649971008301, -0.19662165641784668, -0.4528052806854248, -0.41938549280166626, -0.6550386548042297, -0.43926090002059937, -0.0034562337677925825, 0.23196397721767426, 1.092530369758606, -0.037231381982564926, -0.0046176789328455925, -0.6869546175003052, 0.3056592643260956, 0.6005641222000122, 0.5599188208580017, 0.10418767482042313, -0.6912028193473816, 0.06552482396364212, -0.1995106339454651, -0.6463624238967896, -0.8270891308784485, 0.47017619013786316, -0.027729308232665062, 0.8463588953018188, 0.1832636594772339, -0.1887148767709732, 0.5506919622421265, -0.20097936689853668, 0.9778818488121033, 0.3445611596107483, -0.8566021919250488, 0.6955074071884155, -0.26497411727905273, 0.42371633648872375, 0.33090904355049133, 0.04672976955771446, -0.04461479187011719, -0.10086239129304886, -0.7484617829322815, -0.6183299422264099, 0.056352242827415466, 0.14388388395309448, 0.004405814688652754, -0.12553547322750092, 0.19566741585731506, 0.19404058158397675, 0.4821512997150421, -0.5963804125785828, 0.324640154838562, -0.16667374968528748, -0.29446032643318176, 0.5395461916923523, -0.08333014696836472, -0.024233374744653702, -0.07730856537818909, 0.4458397626876831, 0.10091478377580643, 0.34730449318885803, 0.05124974623322487, 0.05316789075732231, -0.13394582271575928, 0.346276193857193, 0.8208628296852112, 0.7979362607002258, 0.10051147639751434, 0.23654510080814362, -0.010647201910614967, -0.1292736530303955, 0.23273581266403198, -0.1331903636455536, -0.040147241204977036, -0.12181756645441055, 0.20785580575466156, 0.6592283844947815, -0.2218928039073944, -0.6588491201400757, 0.5244860053062439, -0.22485896944999695, -0.22061394155025482, -0.12095876783132553, 0.34205642342567444, 0.17240531742572784, 0.3515221178531647, 0.23525728285312653, 0.2388084977865219, 0.11506939679384232, -0.39526501297950745, 0.369655579328537, 0.5540280938148499, -0.04410459101200104, -0.516411304473877, 0.7361999154090881, 0.1026257574558258, -0.6492422819137573, 0.5997474789619446, -0.7183843851089478, -0.39650169014930725, 0.7917441129684448, 0.8296260833740234, 1.1697187423706055, 0.0037021522875875235, 0.09863698482513428, 0.2193824201822281, 0.3241099715232849, 0.3032141923904419, 0.8256186842918396, -0.0928213968873024, -0.42861607670783997, -0.5998310446739197, -0.8516135215759277, -0.0986708477139473, 0.20279750227928162, -0.32159093022346497, 0.25393086671829224, -0.5753920078277588, -0.5496428608894348, -0.1654592603445053, -0.11946910619735718, -0.9025079011917114, -0.07216016203165054, 0.2963732182979584, 0.8006072640419006, -0.48469334840774536, 0.5934224128723145, 0.6456130146980286, -0.3736260235309601, -0.7616037130355835, -0.5828782320022583, 0.05437524616718292, -0.7901419997215271, 0.7054756283760071, -0.13982422649860382, -0.1197659820318222, -0.13753020763397217, -0.48944661021232605, -0.6722458600997925, 0.9461976289749146, 0.2230551689863205, -0.5330291986465454, 0.2274048775434494, 0.3316862881183624, 0.6013385653495789, -0.5828694701194763, -0.010095901787281036, 0.3598291277885437, 0.13442888855934143, 0.5244800448417664, -0.6916494369506836, -0.08370991051197052, -0.665084719657898, 0.24378880858421326, -0.12039177864789963, -0.3804730474948883, 0.6705029010772705, -0.5092706084251404, -0.1266363561153412, 0.39504483342170715, 0.5135568380355835, 0.9694244265556335, 0.260387122631073, 0.04807880520820618, 0.5752317309379578, 1.003497838973999, -0.02209368161857128, 0.8295944333076477, -0.4859444797039032, -0.0463525615632534, 0.8112137317657471, -0.21578770875930786, 0.8004754185676575, 0.27942782640457153, 0.08110875636339188, 0.4503050446510315, 0.5268033742904663, -0.19323812425136566, 0.489493191242218, 0.4909288287162781, -0.31686800718307495, -0.18517935276031494, 0.09714645147323608, -0.43488597869873047, 0.12286897748708725, 0.38683974742889404, -0.36299362778663635, 0.10343585163354874, 0.12884780764579773, -0.3680518865585327, -0.22156226634979248, -0.19183415174484253, 0.6647322177886963, 0.19242596626281738, -0.7162729501724243, 0.7365798354148865, -0.09390579909086227, 0.45803573727607727, -0.14272285997867584, -0.002557385014370084, -0.33287954330444336, 0.2663596272468567, -0.21006065607070923, -1.2203726768493652, 0.517723023891449, 0.302335262298584, -0.1163257285952568, -0.38515323400497437, 0.6845294237136841, -0.20336639881134033, -0.657157301902771, -0.3603808283805847, 0.31923964619636536, 0.2041848599910736, 0.21562886238098145, -0.5538697838783264, 0.445820689201355, 0.04566744714975357, -0.046590398997068405, -0.012243338860571384, 0.9614273309707642, 0.19955313205718994, 0.5176805257797241, 0.7084978222846985, 0.4007629454135895, 0.19644081592559814, 0.19146494567394257, 0.8055170178413391, -0.5706086158752441, -0.5274959802627563, -0.6030431985855103, 0.6934967041015625, 0.1538955271244049, -0.7811477184295654, 0.9141926765441895, 0.524986982345581, 0.5687211751937866, -0.25088226795196533, 0.8499758243560791, 0.09883974492549896, -0.013307559303939342, -0.36000290513038635, 0.5042290091514587, -0.5484816431999207, 0.7998052835464478, -0.41689586639404297, -0.973709225654602, -0.24269428849220276, 0.657230794429779, -0.2694869041442871, 0.0781090036034584, 0.3004539906978607, 0.8662201166152954, -0.09572646766901016, 0.27471235394477844, 0.20402932167053223, 0.08514667302370071, 0.46235084533691406, 0.6805574893951416, 1.3792767524719238, -0.12230086326599121, 0.11512499302625656, -0.018096717074513435, -0.5732330679893494, -0.04535387083888054, -1.1921641826629639, -0.5405938625335693, -0.32920584082603455, -0.434951514005661, -0.17782999575138092, -0.37177661061286926, 0.5483298301696777, 0.605333685874939, -0.5254666805267334, -0.22134926915168762, -0.5769779086112976, 0.008436870761215687, -0.03785852715373039, -0.20629017055034637, 0.004239308647811413, -0.545186460018158, -0.05538354068994522, 0.5687069892883301, 0.40510979294776917, 0.10741950571537018, -0.4986453652381897, -0.012749343179166317, 0.7357216477394104, 0.4011255204677582, 1.0086430311203003, 0.21165668964385986, -0.7834733128547668, 0.22338639199733734, 0.5020887851715088, -0.0985848531126976, -0.21347962319850922, 0.8309342861175537, -0.6687484979629517, 0.4977635145187378, 1.1550310850143433, 0.8132889270782471, 0.3048234283924103, 0.02848149463534355, 0.4271680414676666, -0.4973047375679016, -0.13877007365226746, 0.49648866057395935, 0.06118273735046387, 0.3852351903915405, -0.19251243770122528, 0.08774610608816147, 0.3928340673446655, -1.0630545616149902, -0.7554824352264404, 0.1642989069223404, -0.8493385910987854, -0.3505849242210388, 1.1486486196517944, 0.03392057865858078, -0.2911217510700226, 0.16565687954425812, -0.07831810414791107, -0.08204907923936844, 0.09148012101650238, 0.724407434463501, 0.5081562995910645, -0.4250486195087433, -0.023688754066824913, -0.5247307419776917, 0.4921976625919342, 0.1538631170988083, -0.6213797330856323, -0.00030653522117063403, 0.357358455657959, 0.34431326389312744, 0.24676281213760376, 0.614534854888916, -0.2638055384159088, 0.5348789095878601, 0.1756565272808075, 0.12543076276779175, -0.21463023126125336, -0.4092443287372589, -0.1296291947364807, 0.5232327580451965, 0.5158341526985168, 0.14564992487430573 ]
http://arxiv.org/abs/2404.08801v2
http://arxiv.org/pdf/2404.08801v2
Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Length
2024-04-12T20:28:14
2024-04-16T07:27:58
Xuezhe Ma, Xiaomeng Yang, Wenhan Xiong, Beidi Chen, Lili Yu, Hao Zhang, Jonathan May, Luke Zettlemoyer, Omer Levy, Chunting Zhou
cs.LG
cs.LG, cs.CL
The quadratic complexity and weak length extrapolation of Transformers limits their ability to scale to long sequences, and while sub-quadratic solutions like linear attention and state space models exist, they empirically underperform Transformers in pretraining efficiency and downstream task accuracy. We introduce Megalodon, a neural architecture for efficient sequence modeling with unlimited context length. Megalodon inherits the architecture of Mega (exponential moving average with gated attention), and further introduces multiple technical components to improve its capability and stability, including complex exponential moving average (CEMA), timestep normalization layer, normalized attention mechanism and pre-norm with two-hop residual configuration. In a controlled head-to-head comparison with Llama2, Megalodon achieves better efficiency than Transformer in the scale of 7 billion parameters and 2 trillion training tokens. Megalodon reaches a training loss of 1.70, landing mid-way between Llama2-7B (1.75) and 13B (1.67). Code: https://github.com/XuezheMax/megalodon
[ -0.4464765191078186, -0.28858932852745056, 0.6005918979644775, 0.4198325276374817, -0.3419947028160095, -0.16530868411064148, -0.13835299015045166, -0.4064752757549286, 0.31554123759269714, 0.36763787269592285, -0.550136148929596, -0.11775951087474823, -0.6989864706993103, 0.027115561068058014, -0.408203125, 0.9528154730796814, 0.4656139612197876, 0.073178231716156, -0.1087518036365509, -0.23981522023677826, -0.16676363348960876, -0.4691910445690155, -0.5446441173553467, -0.4449115991592407, 1.0343724489212036, 0.249372199177742, 0.7055816650390625, 0.9367985725402832, 0.3421057164669037, 0.3566047251224518, -0.1994958370923996, 0.2129267007112503, -0.4895705580711365, -0.20619894564151764, -0.18572363257408142, -0.45322418212890625, -0.8713799118995667, -0.2006763517856598, 0.5272042155265808, 0.7906221747398376, 0.05701456591486931, 0.33640167117118835, -0.07497058808803558, 0.5680593252182007, -0.7276421785354614, -0.007034717593342066, -0.4977875351905823, 0.23009438812732697, 0.07142018526792526, -0.18994365632534027, -0.4299713969230652, -0.30350950360298157, 0.4539278447628021, -0.608415961265564, -0.07356660068035126, 0.01343627367168665, 0.4535232484340668, 0.6961762309074402, -0.5502766370773315, -0.3270522356033325, -0.6489995718002319, 0.7248709797859192, -0.5346900820732117, 0.5427658557891846, -0.03769145905971527, 0.12251117825508118, 0.17749518156051636, -1.0408453941345215, -0.5736531615257263, -0.18028762936592102, 0.040517259389162064, 0.23690347373485565, -0.1164359301328659, 0.2931593358516693, 0.5754311084747314, 0.09970880299806595, -0.46469783782958984, 0.32525479793548584, -0.30094385147094727, -0.09566662460565567, 0.423355370759964, 0.1874651461839676, -0.28556275367736816, -0.17118039727210999, -0.564680814743042, -0.07634947448968887, -0.7388351559638977, -0.13606727123260498, 0.5167180299758911, -0.26862993836402893, 0.14159131050109863, 0.23807936906814575, -0.024684373289346695, 0.5745155215263367, -0.017014993354678154, -0.2274419069290161, 0.19710956513881683, 0.06635551899671555, -0.3226354420185089, 0.0708906278014183, 0.6780109405517578, 0.18931008875370026, 0.1944805234670639, -0.178360715508461, -0.06900393217802048, -0.25815215706825256, 0.4545779526233673, -0.8180387616157532, -0.11971212178468704, 0.26110586524009705, -0.19236956536769867, 0.11182918399572372, -0.1685844212770462, -0.9818089604377747, -0.22358740866184235, -0.45663997530937195, 0.6743084192276001, -0.3387053906917572, 0.13731802999973297, 0.07066401094198227, 0.24345645308494568, 0.33308836817741394, 0.11487919092178345, -1.1274313926696777, 0.09193708002567291, 0.6444183588027954, 0.8571847081184387, -0.1299336552619934, -0.4777889847755432, -0.3607197701931, 0.05881780385971069, -0.3748589754104614, 0.6819146871566772, -0.03618322312831879, -0.3423548936843872, -0.27362555265426636, -0.17968137562274933, -0.1610884815454483, -0.6691113710403442, 0.33082056045532227, -0.7995831370353699, -0.273463636636734, 0.2839454114437103, -0.29562658071517944, -0.3946669101715088, 0.058223020285367966, -0.7064865231513977, 0.6293044686317444, 0.14676259458065033, -0.3374684751033783, 0.1928827315568924, -0.7342466115951538, -0.45684221386909485, -0.07707367837429047, 0.08549004048109055, -0.23071089386940002, 0.1901162564754486, 0.14892229437828064, 0.38823238015174866, -0.4114939570426941, 0.1697930544614792, -0.2110695242881775, -0.4650256931781769, 0.02422599121928215, -0.4137924015522003, 0.5731278657913208, 0.126437246799469, -0.5058220624923706, 0.3484646677970886, -0.6400912404060364, 0.1586240828037262, -0.0889110118150711, -0.34381189942359924, -0.026596803218126297, -0.04427366331219673, -0.2072651982307434, 0.20092174410820007, 0.2263602912425995, -0.1880144625902176, 0.2870170474052429, -0.4750067889690399, 0.6404905319213867, 0.8562108874320984, -0.3655340373516083, 0.49619394540786743, -0.153326153755188, 0.44258788228034973, 0.010552004911005497, 0.41095903515815735, -0.31896623969078064, -0.13468894362449646, -0.9327734708786011, -0.41607996821403503, 0.669535756111145, 0.5990753769874573, -0.6265665292739868, 0.6632263660430908, -0.7581073641777039, -0.3780100643634796, -0.14022250473499298, 0.2033098042011261, 0.37520015239715576, 0.3128446936607361, 0.416829913854599, -0.22852203249931335, -0.7544915676116943, -0.9776686429977417, 0.3064901828765869, 0.3282988965511322, -0.268417090177536, 0.33374935388565063, 0.6047201752662659, -0.5832967758178711, 0.7043003439903259, -0.3562077283859253, -0.05903051793575287, -0.37956884503364563, -0.05606422573328018, 0.5546959638595581, 0.3415605425834656, 0.3887217342853546, -0.737924337387085, -0.18797428905963898, -0.1248433068394661, -0.6148027777671814, 0.004160972777754068, -0.22679643332958221, -0.10262240469455719, -0.10800015926361084, 0.2836155891418457, -0.9734631180763245, 0.23710079491138458, 0.7155462503433228, 0.12036893516778946, 0.439773291349411, -0.1612216681241989, -0.31526827812194824, -1.1188006401062012, 0.17739421129226685, -0.2868267893791199, -0.035285960882902145, -0.6574680805206299, -0.04356839880347252, 0.35951924324035645, -0.029029004275798798, -0.5410362482070923, 0.3401544988155365, -0.18378859758377075, -0.4919489920139313, -0.32809150218963623, 0.13508100807666779, -0.15700995922088623, 0.7730989456176758, -0.2190607190132141, 0.8225289583206177, 0.3379042446613312, -0.75460284948349, 0.5036274194717407, 0.1384686678647995, -0.4109176993370056, 0.14857153594493866, -0.8417716026306152, 0.36583074927330017, -0.03290935233235359, 0.5481239557266235, -0.6858011484146118, -0.29147136211395264, -0.09725743532180786, -0.3942417502403259, 0.3264665901660919, 0.014541340060532093, -0.45343369245529175, -0.6272100806236267, -0.35066384077072144, 0.6655141711235046, 0.6114303469657898, -0.8456775546073914, 0.8675869107246399, 0.1082744374871254, 0.08441475033760071, -0.9397531747817993, -0.48421424627304077, 0.027862921357154846, -0.23685014247894287, -0.4390680193901062, 0.2944084405899048, -0.14349280297756195, 0.13398496806621552, -0.2585943043231964, -0.339613676071167, -0.03561236709356308, -0.00901059340685606, 0.47899872064590454, 0.30594247579574585, -0.19738231599330902, 0.1298893839120865, -0.029151996597647667, -0.34147629141807556, 0.22497040033340454, -0.6512507796287537, 0.9085457921028137, 0.04660392552614212, -0.1709224432706833, -0.4556400775909424, 0.22507937252521515, 0.9401639699935913, 0.02109389938414097, 0.4010835289955139, 0.4479595124721527, -0.12898798286914825, -0.4803014397621155, -0.39011260867118835, -0.11051227152347565, -0.4994847774505615, 0.62159264087677, -0.21401284635066986, -0.7306398749351501, 0.34383538365364075, -0.35647332668304443, -0.09750363975763321, 0.4308827817440033, 0.6147302985191345, 0.09402766823768616, 1.0940240621566772, 0.5994192957878113, -0.26649239659309387, 0.3322613835334778, -0.7108129858970642, 0.34020230174064636, -1.2021929025650024, -0.30030012130737305, -0.0686514601111412, -0.7067238688468933, -0.32575079798698425, -0.4002557694911957, 0.36880120635032654, 0.1849634349346161, -0.3766920566558838, 0.529444694519043, -0.22615903615951538, 0.5900892615318298, 0.6893953680992126, 0.2655983567237854, -0.06891258805990219, -0.27753812074661255, -0.10489168018102646, 0.1718786060810089, -0.9467271566390991, -0.3824683129787445, 1.2538598775863647, 0.27281373739242554, 0.6955310106277466, 0.0419987216591835, 0.3408300280570984, 0.21121782064437866, 0.5093801617622375, -1.1345552206039429, 0.7291659712791443, 0.027166249230504036, -0.576551616191864, -0.27583175897598267, -0.4633572995662689, -0.8074143528938293, 0.2162460833787918, -0.01340169832110405, -0.689479649066925, 0.058541130274534225, 0.3753562867641449, -0.8518317341804504, 0.42794090509414673, -0.6162239909172058, 0.6397337317466736, -0.4537111222743988, -0.4036383330821991, -0.34387168288230896, -0.7316386103630066, 0.37061232328414917, -0.47173255681991577, -0.2074897140264511, 0.03309714049100876, -0.41290783882141113, 0.5769190788269043, -0.3134344220161438, 0.5730744004249573, 0.07366105169057846, 0.12874877452850342, 0.18709050118923187, -0.248328298330307, 0.3486456871032715, 0.2480015754699707, -0.0429244339466095, 0.3641318380832672, -0.46050548553466797, -0.46892574429512024, -0.7790818810462952, 0.6573747396469116, -0.8421969413757324, -0.6271587610244751, -0.16511815786361694, -0.9650782942771912, -0.2994476854801178, 0.1875585913658142, 0.4360353350639343, 0.49253135919570923, 0.2821978032588959, 0.555933952331543, 0.922459602355957, -0.22317419946193695, 0.7452414035797119, 0.06096850708127022, 0.0606205128133297, -0.6825376749038696, 0.484468013048172, 0.19224902987480164, 0.18370932340621948, 0.38502249121665955, 0.04474940523505211, -0.48483431339263916, -0.641248345375061, -0.5501981973648071, 0.09646505862474442, -0.7706698179244995, -0.34785929322242737, -0.778451144695282, -0.34636634588241577, -0.2925052046775818, -0.0833607092499733, -0.36066684126853943, -0.21500299870967865, -0.06611409038305283, -0.17476701736450195, -0.08273225277662277, 0.6500372290611267, -0.204195037484169, 0.5645716786384583, -0.7666963934898376, 0.31613925099372864, 0.8502093553543091, 0.1503487229347229, 0.3542296290397644, -0.7838767170906067, -0.3745497465133667, -0.22030676901340485, -0.3156481385231018, -0.4761815071105957, 0.362046480178833, 0.15914468467235565, 0.46252310276031494, 0.5730841159820557, -0.31278368830680847, 0.8331843614578247, -0.7675458788871765, 0.603828489780426, 0.35794076323509216, -0.9274168014526367, 0.23466607928276062, -0.10769712924957275, 0.41735589504241943, 0.1395045518875122, 0.7817913293838501, -0.07642021030187607, 0.38329631090164185, -0.5543572902679443, -1.1190730333328247, 0.528907060623169, -0.06811627000570297, 0.36024489998817444, -0.05332044139504433, 0.4162594974040985, -0.09377805143594742, 0.1865367293357849, -0.6974682211875916, -0.032866593450307846, -0.22322914004325867, -0.18946333229541779, -0.31763818860054016, -0.488922119140625, -0.20664812624454498, -0.5003976821899414, 0.43496426939964294, -0.2315024435520172, 0.47566312551498413, 0.28367021679878235, -0.35696613788604736, 0.333038330078125, -0.015807675197720528, 0.9825941920280457, 0.8754571676254272, 0.06474512070417404, 0.3307778835296631, 0.8791187405586243, -0.5610666871070862, 0.3264472186565399, 0.05757448077201843, 0.16330486536026, -0.19331718981266022, 0.5875223278999329, 0.7275750637054443, 0.48549023270606995, -0.7705392241477966, 0.37675774097442627, 0.23772095143795013, -0.31539154052734375, -0.3786575496196747, 0.2373838722705841, 0.23865248262882233, 0.5667004585266113, 0.5079659223556519, 0.03184168040752411, -0.009854906238615513, -0.38422855734825134, 0.16623392701148987, -0.032982777804136276, -0.24949848651885986, -0.3388410210609436, 0.8298172354698181, 0.1341797262430191, -0.3241654336452484, 0.5465481281280518, 0.006250725127756596, -0.5172945261001587, 0.966216504573822, 0.5003347992897034, 0.7427960634231567, -0.23239247500896454, -0.3313254415988922, 0.34471896290779114, 0.19327649474143982, -0.060955505818128586, -0.13719722628593445, -0.26089295744895935, -0.4573289155960083, -0.7835142612457275, -0.7369376420974731, -0.36081957817077637, 0.2735922932624817, -0.4490698575973511, -0.1600736826658249, -0.851696789264679, -0.2722899317741394, 0.12887202203273773, -0.17049959301948547, -0.4938749074935913, 0.27218377590179443, 0.36641085147857666, 0.9709467887878418, -0.30698421597480774, 1.0701137781143188, 0.4895360767841339, 0.1268356442451477, -0.8406203389167786, -0.03952450305223465, -0.004162753000855446, -0.7339453101158142, 0.9768840074539185, 0.589475691318512, -0.29155874252319336, 0.3701055347919464, -0.4364944398403168, -0.9296993613243103, 1.4573553800582886, 0.33140695095062256, -0.7760381698608398, -0.10809947550296783, 0.16786915063858032, 0.423286497592926, -0.3541700541973114, 0.33717110753059387, 0.6978468298912048, 0.23539096117019653, 0.08585850894451141, -0.6104913353919983, -0.2771547734737396, -0.02721858210861683, 0.2534930408000946, 0.3648735284805298, -0.8385331034660339, 0.8128024339675903, -0.44805535674095154, 0.11441560834646225, 0.39377090334892273, 0.6393051743507385, 0.09558580070734024, 0.16298606991767883, 0.7446805834770203, 0.9644346237182617, 0.42399582266807556, -0.16220977902412415, 1.0748404264450073, -0.4674093723297119, 0.3793116807937622, 1.0830566883087158, -0.27739065885543823, 0.4986741840839386, 0.2108275294303894, -0.0460602343082428, 0.3848787248134613, 0.6269901990890503, 0.038251664489507675, 0.46400368213653564, 0.23721416294574738, -0.4183763563632965, -0.17294348776340485, 0.05358743295073509, -0.1930975317955017, 0.4687020778656006, 0.3644726276397705, -0.5422047972679138, 0.030532682314515114, 0.08429834991693497, -0.0679367184638977, -0.47379544377326965, -0.5191860198974609, 0.5700066685676575, 0.08720877021551132, -0.6597900390625, 0.5024494528770447, -0.4461992383003235, 0.6130722165107727, -0.8152527213096619, 0.13166290521621704, -0.43155884742736816, 0.39883285760879517, -0.2056613266468048, -0.3658841550350189, 0.06999761611223221, -0.24891012907028198, -0.2475641518831253, -0.09628462046384811, 0.34044066071510315, 0.03734879940748215, 0.022600505501031876, 0.5648959279060364, 0.13085636496543884, -0.03691796585917473, -0.05112487077713013, -0.4469984769821167, -0.06285848468542099, -0.21408188343048096, -0.5600413680076599, 0.2656639814376831, 0.2832155227661133, 0.2179899960756302, 0.8043779730796814, 0.6837484836578369, -0.08164212852716446, 0.34654203057289124, 0.010874733328819275, 0.8006650805473328, -0.7239307165145874, -0.29670393466949463, -0.8419674038887024, 0.30069372057914734, -0.14577828347682953, -0.5223541259765625, 0.6016536951065063, 0.420727014541626, 0.8708388805389404, -0.17149601876735687, 0.2677898705005646, -0.10741622745990753, 0.027635501697659492, -0.5243162512779236, 0.4304072856903076, -0.3732084333896637, 0.0888359546661377, 0.2878611385822296, -1.2984510660171509, -0.3895401060581207, 0.41955476999282837, -0.39183592796325684, 0.12081590294837952, 0.7737147212028503, 0.6740203499794006, -0.21255584061145782, -0.18358778953552246, 0.651046097278595, 0.3248116672039032, 0.011007329449057579, 1.0281673669815063, 0.8478599190711975, -0.25902214646339417, 0.833463728427887, -0.2612561583518982, -0.15641699731349945, -0.3305683732032776, -0.7004510164260864, -0.7855985164642334, -0.13117940723896027, 0.2190428078174591, -0.0028769474010914564, 0.009009920060634613, 0.9307321310043335, 1.2351595163345337, -0.5802389979362488, -0.12149960547685623, 0.09104419499635696, -0.01921333558857441, -0.061040543019771576, -0.12355156242847443, 0.25466787815093994, -0.39674264192581177, -0.8632916808128357, 0.42165660858154297, 0.4976603388786316, -0.08564237505197525, -0.35462966561317444, -0.09443087130784988, -0.14338839054107666, 0.11360848695039749, 1.0159716606140137, 0.2693776786327362, -0.5279585719108582, -0.495701402425766, -0.1116659864783287, -0.1673041433095932, 0.13208667933940887, 0.8420868515968323, -0.6644241809844971, 0.16739247739315033, 0.32883113622665405, 0.8701446056365967, 0.5219366550445557, 0.005350039340555668, 0.32659268379211426, -0.464629590511322, 0.4856887459754944, 0.4086015820503235, 0.441596120595932, 0.007146493066102266, -0.13687025010585785, 0.7604672312736511, 0.2552196979522705, -0.8806307315826416, -0.39538222551345825, 0.28471097350120544, -0.9846665263175964, -0.2412368804216385, 0.9240999221801758, -0.24047189950942993, -0.46533381938934326, 0.20335520803928375, -0.03707844391465187, 0.2563379406929016, 0.08465316146612167, 0.7313204407691956, 0.30912306904792786, -0.1937539130449295, -0.1637403964996338, -0.9094876050949097, 0.18910275399684906, 0.6263566613197327, -0.7690525054931641, -0.3355626165866852, 0.268482506275177, 0.195622056722641, 0.4988761842250824, 0.1252214014530182, 0.09711284190416336, 0.5313949584960938, 0.04145202785730362, 0.018992044031620026, -0.10776954889297485, -0.8492764234542847, -0.43809184432029724, 0.2127576321363449, -0.34467408061027527, -0.16185341775417328 ]
http://arxiv.org/abs/2404.08793v1
http://arxiv.org/pdf/2404.08793v1
JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Models
2024-04-12T19:54:42
2024-04-12T19:54:42
Yingchaojie Feng, Zhizhang Chen, Zhining Kang, Sijia Wang, Minfeng Zhu, Wei Zhang, Wei Chen
cs.CR
cs.CR, cs.CL, cs.HC
The proliferation of large language models (LLMs) has underscored concerns regarding their security vulnerabilities, notably against jailbreak attacks, where adversaries design jailbreak prompts to circumvent safety mechanisms for potential misuse. Addressing these concerns necessitates a comprehensive analysis of jailbreak prompts to evaluate LLMs' defensive capabilities and identify potential weaknesses. However, the complexity of evaluating jailbreak performance and understanding prompt characteristics makes this analysis laborious. We collaborate with domain experts to characterize problems and propose an LLM-assisted framework to streamline the analysis process. It provides automatic jailbreak assessment to facilitate performance evaluation and support analysis of components and keywords in prompts. Based on the framework, we design JailbreakLens, a visual analysis system that enables users to explore the jailbreak performance against the target model, conduct multi-level analysis of prompt characteristics, and refine prompt instances to verify findings. Through a case study, technical evaluations, and expert interviews, we demonstrate our system's effectiveness in helping users evaluate model security and identify model weaknesses.
[ -0.3455618917942047, -1.0842459201812744, 0.6386089324951172, 0.522987961769104, -0.19720610976219177, 0.30362018942832947, -0.15468037128448486, -0.45915600657463074, 0.23267985880374908, 0.7265787124633789, -0.6461775898933411, -0.5930284261703491, -0.6397338509559631, 0.18056222796440125, -0.47755587100982666, 0.5798464417457581, -0.0696135088801384, -0.0033020623959600925, -0.25148582458496094, 0.04536919668316841, -0.9688993096351624, -0.3467561602592468, -0.4962461292743683, 0.40480634570121765, 0.3867645263671875, 0.4776149094104767, 0.48924893140792847, 0.34054258465766907, 0.6718540787696838, 0.42941808700561523, -0.17150545120239258, -0.24083212018013, -0.37599977850914, 0.562538206577301, -0.051294151693582535, -0.2646840214729309, -0.4139349162578583, -0.14590497314929962, 0.20574410259723663, 0.3194044530391693, 0.10754511505365372, 0.3123413026332855, -0.20293761789798737, 0.6803674697875977, -0.6335784792900085, -0.056472569704055786, -0.6208072304725647, 0.0624929741024971, -0.4911939203739166, 0.17433126270771027, -0.4379841685295105, -0.3216327130794525, 0.03440544381737709, -0.19052396714687347, 0.01579633355140686, 0.29035574197769165, 0.4432237446308136, 0.22408568859100342, -0.10668337345123291, -0.14429323375225067, -0.1845976859331131, 0.493798166513443, -0.7940781116485596, 0.19412517547607422, 0.1355295181274414, 0.5953307151794434, -0.2830977141857147, -0.3995550274848938, -0.18746034801006317, -0.7805115580558777, 0.09075720608234406, -0.38211363554000854, -0.5484604835510254, 0.10245232284069061, 0.506757915019989, 0.10126354545354843, -0.8356855511665344, 0.3800303637981415, -0.4523099958896637, -0.2899402678012848, 0.6529756784439087, 0.43334200978279114, 0.7697669267654419, -0.27902165055274963, -0.47344866394996643, 0.1242864727973938, -0.7607507705688477, 0.006361231207847595, 0.38480326533317566, 0.36776041984558105, -0.3010156750679016, 0.6427101492881775, -0.06335894763469696, 1.0129303932189941, -0.26156866550445557, -0.18258710205554962, 0.11257363855838776, -0.12593069672584534, -0.23380471765995026, -0.06078284978866577, 0.9531322717666626, 0.5225393176078796, 0.3620251417160034, -0.1965520977973938, -0.2997035086154938, -0.22069787979125977, 0.21217294037342072, -1.0452276468276978, -0.23595714569091797, 0.34175339341163635, -0.5578505396842957, -0.540156900882721, -0.004260448273271322, -1.1934155225753784, -1.1664862632751465, 0.01813547872006893, 0.048753656446933746, -0.41643136739730835, -0.10268477350473404, -0.2025831639766693, -0.2799684405326843, -0.09696339815855026, 0.3030717372894287, -0.687542200088501, 0.2986212968826294, 0.44568803906440735, 1.023111343383789, -0.2442491054534912, -0.2541191577911377, -0.662405252456665, -0.037370551377534866, -0.06740222126245499, 0.8627501130104065, -0.5027807950973511, -0.559887170791626, -0.13513608276844025, -0.13777793943881989, -0.12497519701719284, -0.6434921026229858, 0.22605080902576447, -0.5395753383636475, -0.5294831395149231, -0.20592144131660461, -0.6572402715682983, 0.05970248207449913, 0.3918573260307312, -1.0580378770828247, 0.45140784978866577, -0.10254593193531036, -0.8912521600723267, 0.0777759775519371, -0.5133565664291382, -0.2648813724517822, 0.2597489655017853, -0.2699267864227295, -0.3295934200286865, 0.31277960538864136, 0.37192249298095703, 0.4870159924030304, -0.1992935687303543, 0.22327262163162231, -0.5545161366462708, -0.2886558473110199, 0.31383997201919556, -0.24142807722091675, 0.9204015731811523, 0.37260058522224426, -0.3064645528793335, 0.556364119052887, -0.8469707369804382, -0.21955257654190063, 0.4427292048931122, 0.015619844198226929, -0.3962128162384033, 0.09033112227916718, 0.0834258422255516, -0.16183212399482727, 0.4355331063270569, -0.42452794313430786, 0.4644920825958252, -0.2368306964635849, 0.5019934177398682, 0.7781304121017456, 0.02586737833917141, 0.18501345813274384, 0.3211769163608551, 0.945161759853363, -0.1631343513727188, 0.42222917079925537, -0.4275541603565216, -0.3609825670719147, -0.3374710977077484, -0.41024351119995117, 0.17780674993991852, 0.8193759322166443, -0.476669579744339, 0.1582884043455124, 0.09103856235742569, -0.6357406973838806, -0.16687124967575073, 0.49123692512512207, 0.4258791208267212, 0.44181132316589355, 0.22043609619140625, -0.16694872081279755, -0.6931270956993103, -0.9704008102416992, -0.5650508999824524, -0.24630127847194672, 0.17758427560329437, 0.1418108344078064, 0.5010783672332764, -0.2616821527481079, 0.8878800272941589, -0.44087937474250793, 0.007163678295910358, -0.5694236755371094, -0.07894410938024521, 0.0015366855077445507, 0.3622737526893616, 0.9103562831878662, -0.45195674896240234, -0.2377966046333313, -0.29790782928466797, -0.858405590057373, -0.5974602699279785, -0.02373649738729, 0.1660155951976776, -0.06929440796375275, 0.9291893839836121, -0.4845197796821594, 0.5243570804595947, 0.5040766000747681, -0.8575088381767273, 1.02769935131073, 0.09941807389259338, -0.017745282500982285, -0.6254057288169861, -0.00522817624732852, 0.16874511539936066, -0.16149283945560455, -0.5715457201004028, 0.23401501774787903, 0.13746467232704163, -0.3873794972896576, -0.47858726978302, 0.7378076910972595, -0.4620100259780884, -0.1975124478340149, -0.08305179327726364, 0.20239289104938507, -0.061153020709753036, -0.05038031190633774, -0.39589250087738037, 0.8912562727928162, 0.4990330636501312, 0.01767277531325817, 0.8121804594993591, 0.019404467195272446, -0.5219079852104187, 0.31087926030158997, -0.8074982166290283, -0.0030878307297825813, 0.11558523774147034, -0.25107046961784363, -1.1092380285263062, -0.349179744720459, 0.2610085606575012, -0.2591494619846344, 0.27488037943840027, -0.3250477910041809, -0.536247193813324, -0.42258894443511963, -0.43852072954177856, 0.18050424754619598, 0.1558411568403244, -0.4888700246810913, 0.46233129501342773, 0.28326699137687683, -0.43493127822875977, -0.4612296521663666, -0.38200435042381287, 0.5261134505271912, -0.4896495044231415, -1.0305564403533936, -0.020225154235959053, 0.014316266402602196, -0.8700512647628784, -0.12971986830234528, 0.16499637067317963, -0.03051953762769699, 0.5592137575149536, 0.5031273365020752, 0.5930460691452026, 0.04928458109498024, -0.28343406319618225, -0.06932166963815689, 0.039734482765197754, 0.3216988146305084, 0.047047920525074005, 0.44606199860572815, -0.2765749394893646, -0.220114603638649, -0.45758137106895447, 0.2840946614742279, 0.9021582007408142, -0.3856070339679718, 0.6770469546318054, 0.12187176942825317, -0.01982799358665943, -0.23927029967308044, -0.6564489006996155, 0.17127232253551483, -0.48838725686073303, 0.38744837045669556, -0.42763084173202515, -0.9948213696479797, 0.7470920085906982, -0.1108245924115181, -0.21772384643554688, 0.058181922882795334, 0.42529916763305664, 0.03641194850206375, 0.908600926399231, 0.9083406925201416, -0.31192541122436523, 0.7362033128738403, 0.026737011969089508, -0.027259433642029762, -0.4990074634552002, -0.40897583961486816, -0.4372706711292267, -0.12904712557792664, -0.17523649334907532, -0.02319491095840931, 0.18304932117462158, 0.37673214077949524, -0.24568715691566467, 0.376619815826416, -0.21632108092308044, 0.5670046806335449, 0.178217351436615, -0.12909814715385437, 0.1705913096666336, -0.09032891690731049, -0.26392099261283875, -0.038060013204813004, -0.3486582338809967, -0.624015748500824, 0.8619603514671326, 0.5580546259880066, 1.0257749557495117, 0.1753775030374527, 0.6047664880752563, 0.534636914730072, 0.1732853502035141, -0.803554892539978, 0.8011147975921631, 0.0858297199010849, -0.37641027569770813, -0.08612386882305145, -0.4933699071407318, -0.6276759505271912, 0.10704806447029114, 0.0009250176954083145, -1.1254826784133911, 0.009501785039901733, 0.22614626586437225, -0.5388153791427612, 0.2600608468055725, -0.9795828461647034, 1.2704910039901733, -0.5666512846946716, -0.26935577392578125, -0.032708149403333664, -0.6186261177062988, 0.818696141242981, -0.03850475698709488, 0.4206222593784332, -0.19796694815158844, 0.12543943524360657, 0.7628780603408813, -0.9269868731498718, 1.107140302658081, -0.4763399362564087, -0.12030011415481567, 0.37493228912353516, 0.5345073938369751, 0.449308305978775, 0.08550510555505753, 0.16967375576496124, 0.0514400452375412, -0.17595413327217102, -0.13457965850830078, -0.7113493084907532, 0.7598711252212524, -0.433275043964386, -0.8313952088356018, -0.07512149214744568, -0.44307708740234375, -0.15694040060043335, 0.12805350124835968, 0.09234160929918289, 0.27020907402038574, -0.2497500479221344, -0.35770726203918457, 0.527955174446106, -0.43628209829330444, 0.5133461952209473, 0.18775391578674316, -0.6727123856544495, -0.4610588550567627, 0.6473953723907471, -0.021343598142266273, -0.01620335690677166, -0.1131187155842781, 0.1073794811964035, -0.07695981115102768, -0.9777041673660278, -0.6955609321594238, 0.069282665848732, -0.6081402897834778, -0.35450342297554016, -0.09887949377298355, -0.02026841603219509, -0.3693467974662781, -0.15741939842700958, -0.12812276184558868, -0.35448306798934937, -0.15183939039707184, -0.17906609177589417, 0.7309427261352539, 0.749338686466217, 0.1501190960407257, 0.5090523958206177, -1.03915536403656, 0.3377184569835663, 0.3164290487766266, 0.2982378900051117, 0.063926100730896, -0.3619077503681183, -0.11311419308185577, -0.6289303302764893, -0.22172744572162628, -1.447180151939392, 0.46847039461135864, -0.22304920852184296, 0.5404419302940369, 0.5887641310691833, -0.11065425723791122, 0.5949110984802246, -0.8027472496032715, 0.8053159117698669, 0.3646119236946106, -1.160512924194336, 1.005426049232483, -0.30818966031074524, -0.16072531044483185, 0.7421290874481201, -0.07469915598630905, -0.2667700946331024, -0.4294208884239197, -0.32784503698349, -0.9059931039810181, 0.4145580530166626, 0.06647530198097229, -0.059029471129179, 0.019081342965364456, 0.32913437485694885, -0.07069165259599686, 0.1552601456642151, -0.5124814510345459, -0.09959904104471207, -0.16624246537685394, -0.08662105351686478, 0.2440774291753769, -0.4203665554523468, -0.04002890735864639, -0.14475052058696747, 0.1618502289056778, 0.27309295535087585, -0.20273931324481964, -0.08022752404212952, -0.4561499059200287, 0.13995206356048584, 0.38804054260253906, 0.5839610695838928, 0.7395951151847839, -0.15875911712646484, 0.07232049107551575, 0.10449744015932083, -0.5834723711013794, 0.1621321737766266, 0.12896139919757843, -0.13045786321163177, -0.037779536098241806, 0.6681236624717712, 0.9376450181007385, -0.08127011358737946, -1.2116436958312988, 0.7992784976959229, -0.1697826087474823, 0.21822257339954376, -0.3175293207168579, 0.1882956176996231, -0.06427758932113647, 0.5770807266235352, 0.13029435276985168, -0.015592005103826523, 0.213176891207695, -0.3652331531047821, 0.10763796418905258, 0.5199611783027649, -0.3361562192440033, -0.29106271266937256, 0.6019394993782043, 0.3245031535625458, -0.4745946228504181, 0.6489270329475403, -0.006447458639740944, -0.654339075088501, 0.8600105047225952, 0.4882684350013733, 1.0513362884521484, -0.43039724230766296, 0.018879637122154236, 0.07961490005254745, 0.6458408832550049, 0.09252005815505981, 0.2554415166378021, 0.03873320668935776, -0.4340919852256775, -0.5468619465827942, -0.5064356923103333, -0.3392845094203949, 0.1370757520198822, -0.5526518225669861, 0.3572756052017212, -0.8658105134963989, -0.23133672773838043, -0.22861643135547638, -0.3586064279079437, -0.30171555280685425, -0.022887058556079865, 0.4245535135269165, 1.3470523357391357, -0.8191081285476685, 0.5262070298194885, 0.4722183346748352, -0.3049772381782532, -0.5366703271865845, -0.3408878743648529, 0.41282933950424194, -0.5853386521339417, 0.9941624402999878, 0.42901578545570374, -0.05415749549865723, -0.42994120717048645, -0.87857985496521, -0.5460205078125, 0.7973522543907166, 0.58758544921875, -1.0169233083724976, 0.061590611934661865, -0.13134416937828064, 0.17348966002464294, -0.3012522757053375, 0.11915378272533417, 0.9084729552268982, 0.6023421883583069, -0.23832692205905914, -0.8634922504425049, 0.23628026247024536, -0.4314036965370178, 0.050542064011096954, 0.19604985415935516, -0.36121296882629395, 0.71415114402771, -0.5605080723762512, -0.03234110400080681, 0.35535097122192383, 0.4682101309299469, 0.6532252430915833, 0.23561012744903564, 0.5186644792556763, 0.6674874424934387, 0.6053199768066406, 0.09340132027864456, 1.010135531425476, -0.23625348508358002, 0.08429208397865295, 1.1734364032745361, -0.21014070510864258, 0.7954596877098083, 0.632472574710846, -0.07058919966220856, 0.5073562860488892, 0.4512266516685486, -0.41027554869651794, 0.4922192394733429, 0.6254850625991821, -0.14063942432403564, -0.1989588439464569, 0.25160789489746094, -0.2124246209859848, 0.26744338870048523, 0.47134968638420105, -0.39507749676704407, -0.30049121379852295, 0.4096166491508484, 0.24231065809726715, 0.011889535933732986, -0.5136793255805969, 0.6274670958518982, 0.08585646748542786, -0.05103752762079239, 0.3539617955684662, 0.12664707005023956, 0.5076566934585571, -0.5629786252975464, 0.10295586287975311, -0.2132703810930252, -0.07401654869318008, -0.21569953858852386, -0.6464866995811462, 0.17666377127170563, 0.6919563412666321, -0.002538457978516817, 0.0930328369140625, 0.8436566591262817, 0.15328966081142426, -0.44681471586227417, 0.5319919586181641, 0.5495978593826294, 0.0731109082698822, -0.1967693567276001, -0.8457627296447754, 0.7041318416595459, -0.034312792122364044, -0.4835554361343384, 0.28225797414779663, 0.2198881059885025, -0.16575860977172852, 0.8522233963012695, 0.37375956773757935, 0.2296573668718338, 0.22497813403606415, 0.29700136184692383, 1.013092041015625, -0.8440313339233398, -0.2626291811466217, -1.489503264427185, 0.5881062746047974, -0.36286184191703796, -0.1751856505870819, 1.0185824632644653, 0.41688403487205505, 0.42310118675231934, -0.0976848229765892, 0.839921236038208, -0.03787446767091751, 0.22379884123802185, -0.6909806132316589, 0.8960483074188232, -0.2943597435951233, 0.796031653881073, -0.5076112747192383, -0.7303318381309509, -0.43106988072395325, 0.41198277473449707, -0.5440478920936584, -0.2397695779800415, 0.3706210255622864, 0.6876944899559021, 0.15947146713733673, -0.0977688580751419, 0.18462267518043518, 0.41319355368614197, 0.43932852149009705, 0.36359578371047974, 1.3109809160232544, -0.02267005294561386, 0.4527992010116577, -0.06100606545805931, -0.35794585943222046, -0.2349550426006317, -0.8882268667221069, -1.34867262840271, -0.07761088758707047, -0.2796541750431061, -0.2515369653701782, 0.11701302230358124, 0.7774803042411804, 0.4529421925544739, -0.7548122406005859, -0.3720873296260834, -0.05128614231944084, 0.17156116664409637, 0.24822457134723663, -0.22879832983016968, 0.23407739400863647, -0.5058788061141968, -0.23348265886306763, 0.8792015314102173, 0.3855745196342468, 0.05468297004699707, -0.4121057987213135, 0.25391602516174316, 0.4318554401397705, -0.032669901847839355, 0.6340924501419067, 0.3688656985759735, -0.6832237839698792, -0.0953625962138176, -0.10849767178297043, -0.04368312656879425, -0.1955072432756424, 0.9201593399047852, -0.7814751863479614, 0.4861283004283905, 0.5492446422576904, 0.6088951826095581, 0.05982683226466179, -0.0025021780747920275, 0.4164072871208191, -0.6687461733818054, 0.3202153146266937, -0.015331597067415714, 0.636549711227417, 0.3063560724258423, -0.28809279203414917, 0.11296903342008591, 0.265767365694046, -0.26848095655441284, -1.000322699546814, 0.33310914039611816, -0.8753634095191956, -0.7020117044448853, 1.0397224426269531, -0.26892316341400146, -0.4438228905200958, -0.10598310083150864, -0.3639499247074127, -0.3071262538433075, -0.4448372721672058, 0.5780569314956665, 0.6587838530540466, -0.04946976900100708, -0.23828768730163574, -0.77443927526474, 0.4468368589878082, -0.057569220662117004, -0.8632432222366333, 0.37104061245918274, 0.7130774855613708, 0.3840600550174713, 0.12449927628040314, 0.235920712351799, -0.23410886526107788, 0.14140693843364716, -0.08013352006673813, 0.0008208664366975427, -0.45469769835472107, -0.5401396751403809, -0.6951725482940674, 0.3877162039279938, 0.1991272270679474, 0.054728131741285324 ]
http://arxiv.org/abs/2404.08763v2
http://arxiv.org/pdf/2404.08763v2
CATS: Contextually-Aware Thresholding for Sparsity in Large Language Models
2024-04-12T18:42:18
2024-04-27T00:01:02
Je-Yong Lee, Donghyun Lee, Genghan Zhang, Mo Tiwari, Azalia Mirhoseini
cs.LG
cs.LG, cs.CL
Large Language Models (LLMs) have dramatically advanced AI applications, yet their deployment remains challenging due to their immense inference costs. Recent studies ameliorate the computational costs of LLMs by increasing their activation sparsity but suffer from significant performance degradation on downstream tasks. In this work, we introduce a new framework for sparsifying the activations of base LLMs and reducing inference costs, dubbed Contextually Aware Thresholding for Sparsity (CATS). CATS is relatively simple, easy to implement, and highly effective. At the heart of our framework is a new non-linear activation function. We demonstrate that CATS can be applied to various base models, including Mistral-7B and Llama2-7B, and outperforms existing sparsification techniques in downstream task performance. More precisely, CATS-based models often achieve downstream task performance within 1-2% of their base models without any fine-tuning and even at activation sparsity levels of 50%. Furthermore, CATS-based models converge faster and display better task performance than competing techniques when fine-tuning is applied. Finally, we develop a custom GPU kernel for efficient implementation of CATS that translates the activation of sparsity of CATS to real wall-clock time speedups. Our custom kernel implementation of CATS results in a ~15% improvement in wall-clock inference latency of token generation on both Llama-7B and Mistral-7B.
[ -0.4800737798213959, -1.0271539688110352, 0.4153439998626709, 0.6287288665771484, -0.4516650140285492, -0.2095702737569809, -0.20959173142910004, -0.574744701385498, 0.28979960083961487, 0.5562998056411743, -0.3783635199069977, -0.19809980690479279, -0.5829606056213379, 0.07997138053178787, -0.18337009847164154, 0.618529736995697, 0.20791994035243988, -0.13020023703575134, -0.07953401654958725, -0.035703256726264954, -0.5879499912261963, -0.4245915114879608, -0.622334897518158, -0.3673466145992279, 0.26327231526374817, 0.08991636335849762, 0.4054943323135376, 0.8400755524635315, 0.49038591980934143, 0.20455318689346313, -0.4464167356491089, 0.07109380513429642, -0.46877920627593994, 0.253279447555542, 0.08174625039100647, -0.1368686407804489, -0.4766516387462616, -0.5724120736122131, 0.8063386678695679, 0.5676590204238892, -0.1294058859348297, 0.03294508531689644, 0.24878692626953125, 0.576044499874115, -0.9317329525947571, -0.06454141438007355, -0.8549220561981201, 0.12071385979652405, -0.07690904289484024, -0.44338685274124146, -0.7146803736686707, 0.1695161610841751, -0.2178066074848175, -0.8067215085029602, 0.08225874602794647, -0.3255915343761444, 0.8185651302337646, 0.741913914680481, -0.4645681083202362, 0.07692889124155045, -0.34596291184425354, 0.8253993988037109, -0.5461418628692627, 0.8030605316162109, 0.31057578325271606, -0.09137823432683945, -0.47739535570144653, -0.6343068480491638, -0.3690336048603058, -0.41607779264450073, -0.03725205361843109, -0.14826352894306183, -0.3835543990135193, 0.11174751073122025, 0.4470463693141937, 0.31405308842658997, -0.5313557982444763, -0.03424333408474922, 0.17204627394676208, -0.12224727123975754, 0.1569599211215973, 0.17318414151668549, 0.16570143401622772, 0.10152239352464676, -0.6507679224014282, 0.03054237924516201, -0.6535500884056091, 0.38854098320007324, -0.20187188684940338, 0.43232423067092896, -0.13579760491847992, 0.20571275055408478, -0.38210177421569824, 0.702237606048584, 0.43503013253211975, 0.08590228855609894, 0.24000318348407745, -0.09746961295604706, -0.3260210156440735, -0.15439824759960175, 0.341291218996048, 0.13294459879398346, -0.07111898064613342, -0.1906629204750061, -0.3509036898612976, 0.21044185757637024, 0.06521932035684586, -0.9541979432106018, 0.04170515388250351, 0.04691646993160248, -0.19089527428150177, -0.2678573727607727, -0.5104842185974121, -0.48931685090065, -0.368302583694458, -0.24258127808570862, 0.2797505259513855, -0.15646634995937347, -0.5162134170532227, 0.3092731237411499, 0.03812083601951599, 0.3083024024963379, 0.22849030792713165, -0.8727571964263916, 0.49707192182540894, 0.6806601285934448, 0.8400906324386597, -0.21431037783622742, -0.11898522824048996, -1.141249179840088, 0.14524173736572266, -0.5506995320320129, 0.749221682548523, -0.7298603653907776, -0.43150559067726135, -0.3989412486553192, -0.008738852106034756, -0.0015119126765057445, -0.4915471076965332, 0.3059388995170593, -0.6920349597930908, -0.5300310254096985, -0.24929091334342957, -0.17769037187099457, -0.12291193753480911, 0.41192755103111267, -0.7694509625434875, 1.5453948974609375, -0.37519606947898865, -0.6017215251922607, 0.5448050498962402, -0.715786337852478, -0.619117796421051, 0.25177061557769775, 0.35374805331230164, -0.3804779052734375, 0.23529194295406342, 0.3391668498516083, 0.6554222702980042, -0.022979775443673134, 0.7121981382369995, -0.39623337984085083, -0.46247273683547974, 0.16484756767749786, -0.3338235020637512, 0.5923026204109192, 0.09643419831991196, -0.5059394240379333, 0.20424440503120422, -0.6644195914268494, -0.036765798926353455, -0.24984335899353027, -0.315986305475235, -0.6121866106987, 0.0031471666879951954, 0.2172725945711136, 0.10943842679262161, 0.29996928572654724, -0.2085086554288864, -0.022859370335936546, -0.3639621436595917, 0.4651062786579132, 0.6740608215332031, 0.08649735152721405, 0.33299997448921204, -0.08441411703824997, 0.3351925313472748, 0.061063479632139206, 0.08622393012046814, 0.0031504493672400713, -0.5514172911643982, -0.7165535092353821, -0.6432030200958252, -0.10074467211961746, 0.3611665964126587, -0.6149103045463562, 0.5014286637306213, -0.2972315847873688, -0.43075889348983765, 0.26025938987731934, 0.2569655478000641, 0.5676159858703613, 0.5291280150413513, 0.4404064416885376, -0.4869319498538971, -0.5516841411590576, -0.7902066707611084, -0.15392334759235382, -0.051609721034765244, 0.1924336850643158, 0.27542468905448914, 0.45165857672691345, -0.22149407863616943, 0.8785073757171631, -0.23289808630943298, -0.1905427873134613, -0.24221119284629822, 0.10687386244535446, 0.09395352751016617, 0.668232262134552, 0.2585511803627014, -0.6495071053504944, -0.344791442155838, 0.09391078352928162, -0.2828240692615509, -0.31087130308151245, -0.11707897484302521, -0.3212815821170807, 0.08760006725788116, 0.5516366958618164, -0.5606532692909241, 0.3743849992752075, 0.5491310358047485, -0.28702232241630554, 0.238366961479187, 0.028511250391602516, -0.08398397266864777, -1.0350955724716187, 0.4726181626319885, 0.25601881742477417, -0.3745264708995819, -0.9255493879318237, -0.10565153509378433, 0.03845255821943283, 0.05271172523498535, -0.4105609953403473, 0.8445220589637756, -0.5051741600036621, -0.16381657123565674, -0.22565653920173645, -0.23104000091552734, -0.02491605281829834, 0.8728405833244324, 0.44583457708358765, 0.7974963188171387, 0.5332593321800232, -0.8481905460357666, -0.43974098563194275, 0.04496188461780548, -0.11220766603946686, 0.2543624937534332, -0.5411343574523926, -0.06725430488586426, 0.13346831500530243, 0.5202504992485046, -0.8190038204193115, -0.15002696216106415, 0.1537269800901413, -0.4197903871536255, 0.1117512509226799, -0.1738862842321396, -0.15839345753192902, 0.17387713491916656, -0.22049732506275177, 0.7080819606781006, 0.3554729223251343, -0.6258840560913086, 0.7648184299468994, 0.6820818185806274, 0.1675676554441452, -1.0890690088272095, -0.561277449131012, 0.29864218831062317, -0.23047496378421783, -0.2937224507331848, 0.2855072021484375, 0.07773774117231369, 0.003145006252452731, -0.013436770997941494, -0.07215390354394913, -0.3222847878932953, 0.47291961312294006, 0.45016342401504517, 0.06605455279350281, -0.3426074981689453, 0.09148970246315002, 0.15542738139629364, -0.25642648339271545, -0.21383601427078247, -0.22373917698860168, 0.5322996377944946, -0.20810197293758392, -0.10380531847476959, -0.5172392129898071, 0.0656585767865181, 0.5610582828521729, -0.38769811391830444, 0.38074830174446106, 0.6818670034408569, -0.7201205492019653, -0.4718468487262726, -0.7603034377098083, -0.3362092673778534, -0.4819023907184601, 0.5636873841285706, -0.57993084192276, -1.2072172164916992, 0.4556490182876587, 0.06446703523397446, 0.07004503905773163, 0.25476348400115967, 0.8473972678184509, 0.5615121722221375, 1.0883753299713135, 0.8265301585197449, -0.10260958969593048, 0.7911287546157837, -0.012704490683972836, 0.21266265213489532, -0.9682475924491882, 0.01157662644982338, -0.25422194600105286, -0.0849720761179924, -0.14993691444396973, -0.6783438324928284, 0.4480878412723541, 0.06622796505689621, -0.17723356187343597, 0.26520106196403503, -0.5706012845039368, 0.6182634830474854, 0.1562713384628296, 0.1716998666524887, 0.33676573634147644, 0.314532995223999, 0.025454452261328697, 0.02606167085468769, -0.7123461961746216, -0.3871925473213196, 0.7414649128913879, 0.49605390429496765, 0.6109306216239929, -0.11679775267839432, 0.11077945679426193, 0.552467942237854, 0.7356112003326416, -0.7492988109588623, 0.6913828253746033, -0.18075211346149445, -0.7407152056694031, -0.4737757444381714, -0.33898699283599854, -0.9306290149688721, 0.44869866967201233, -0.23391921818256378, -0.8655712604522705, 0.3916395902633667, 0.44023868441581726, -0.34339359402656555, 0.3978535532951355, -0.5505630373954773, 0.7302064299583435, 0.07929614186286926, -0.852067768573761, -0.27730125188827515, -0.2616461217403412, 0.544171929359436, 0.13889886438846588, -0.014323455281555653, -0.36504891514778137, -0.24055279791355133, 0.5835263729095459, -0.2189939171075821, 1.2078311443328857, -0.3363368809223175, -0.020043497905135155, 0.23449338972568512, 0.2553502023220062, 0.5475142598152161, 0.132077157497406, -0.06673845648765564, 0.2268790602684021, -0.14976420998573303, -0.24295172095298767, -0.3542611598968506, 0.7342763543128967, -0.3742658793926239, -0.6213193535804749, -0.20765617489814758, -0.5823729038238525, -0.395484983921051, 0.19093307852745056, -0.056587979197502136, 0.5554124712944031, -0.1863943189382553, 0.33230695128440857, 0.6113010048866272, 0.07605233788490295, 0.34308379888534546, 0.4022345244884491, 0.05894405022263527, -0.49891752004623413, 0.9435351490974426, -0.33352407813072205, 0.09290121495723724, 0.5634638667106628, 0.05232676491141319, -0.5106738209724426, -0.37933802604675293, -0.7381407022476196, 0.13407395780086517, -0.612429678440094, -0.24085162580013275, -0.7015567421913147, -0.1035928875207901, -0.1860290914773941, -0.41430217027664185, -0.3990294635295868, -0.1929933875799179, -0.29680541157722473, 0.04739134758710861, 0.3735277056694031, 0.4395482540130615, -0.2507975399494171, 0.43669357895851135, -0.4816029965877533, 0.24102312326431274, 0.1854175627231598, 0.612669825553894, 0.27046486735343933, -0.4908056855201721, -0.3057984709739685, -0.17300507426261902, -0.1557711958885193, -0.5940244793891907, 0.42200708389282227, 0.20602580904960632, 0.44207262992858887, 0.4759467542171478, -0.07388141006231308, 1.0018390417099, -0.29845356941223145, 0.6654509902000427, 0.29943007230758667, -1.400104284286499, 0.053403258323669434, -0.14507651329040527, 0.04355819895863533, 0.3757796287536621, -0.08887512236833572, -0.5541110038757324, -0.2725546658039093, -0.02349134162068367, -0.8926719427108765, 0.5915286540985107, 0.10151205956935883, 0.2540033459663391, -0.06823939085006714, 0.2438887357711792, 0.07261674106121063, -0.16361941397190094, -1.0670151710510254, 0.25353866815567017, 0.012735969386994839, 0.09659931808710098, -0.11806274950504303, -0.4099465608596802, 0.13236699998378754, -0.08872691541910172, 0.7855060696601868, -0.21751494705677032, -0.05138546973466873, 0.40327155590057373, -0.4433087408542633, -0.3236013650894165, 0.2097521275281906, 0.7397174835205078, 0.37178200483322144, -0.032151561230421066, 0.1778281331062317, 0.633145809173584, -0.6016172766685486, 0.2610529661178589, -0.2581601142883301, -0.06944547593593597, -0.044022154062986374, 0.3075762391090393, 0.9566120505332947, 0.3495517373085022, -0.7805536389350891, 0.4337034523487091, -0.060922734439373016, -0.148870050907135, -0.10209934413433075, 0.04596751928329468, -0.15263092517852783, 0.14841672778129578, 0.23960401117801666, -0.12677817046642303, 0.2929598093032837, 0.11949063092470169, 0.2945046126842499, 0.7652624249458313, -0.5928664207458496, -0.28066661953926086, 0.7164704203605652, 0.3105817437171936, 0.0694044828414917, 0.05305493250489235, -0.10670603811740875, -0.5727680325508118, 0.7593916654586792, 0.6607671976089478, 1.0912961959838867, -0.20193123817443848, -0.12485798448324203, 0.5597940683364868, 0.343744158744812, -0.1193653866648674, 0.04180994629859924, -0.65288245677948, -0.6920299530029297, -0.6878496408462524, -0.796042799949646, -0.35929322242736816, 0.3102671504020691, -0.5060396194458008, 0.2829814851284027, -0.45871502161026, -0.5214158892631531, -0.17532451450824738, -0.2829362154006958, -0.15592385828495026, 0.29802411794662476, 0.18549484014511108, 0.850374698638916, -0.8516219854354858, 0.6361944675445557, 0.7025212049484253, 0.207015261054039, -0.4997067451477051, -0.10726049542427063, -0.3668060898780823, -0.7078163623809814, 0.8529936075210571, 0.3724166750907898, -0.6922229528427124, 0.08425451070070267, -0.39425626397132874, -0.8345715403556824, 0.7122144103050232, 0.1542038768529892, -0.4926418662071228, 0.2617376148700714, 0.14430131018161774, 0.44367435574531555, -0.30038899183273315, 0.07894498109817505, 0.4338115453720093, 0.43636053800582886, 0.07247727364301682, -0.7992209792137146, 0.34387850761413574, -0.653118908405304, 0.30062440037727356, 0.3783460855484009, -0.41734352707862854, 0.7066218852996826, -0.04487962648272514, -0.34765294194221497, 0.08851984143257141, 0.4833099842071533, 0.33686792850494385, 0.4251936674118042, 0.9022355079650879, 0.6942912936210632, 0.4126245379447937, -0.016320163384079933, 0.6370700001716614, -0.7703434824943542, 0.13219177722930908, 0.6241157054901123, -0.28554242849349976, 1.030996561050415, 0.6773043870925903, 0.26344308257102966, 0.12173985689878464, 0.650758683681488, 0.17635713517665863, 0.36291345953941345, 0.23194679617881775, -0.36831265687942505, -0.7988594174385071, -0.39639872312545776, -0.4471963346004486, 0.11797536164522171, 0.6206013560295105, -0.07766998559236526, -0.14203791320323944, -0.0006307482253760099, -0.06843984872102737, -0.23018118739128113, -0.28833791613578796, 0.760361909866333, -0.023539278656244278, -0.7923957109451294, 1.0474029779434204, 0.08393076807260513, 0.6808693408966064, -0.5195838809013367, -0.08509504050016403, -0.2438705861568451, 0.27960696816444397, -0.15030302107334137, -0.5099670886993408, 0.22146248817443848, 0.29847434163093567, -0.1718577891588211, -0.17836986482143402, 0.7415995001792908, -0.28337156772613525, -0.3482760787010193, 0.33039647340774536, 0.34237268567085266, 0.0027586868964135647, -0.12485849112272263, -0.47365063428878784, 0.3106445372104645, -0.19567963480949402, -0.4012945294380188, 0.08668635785579681, 0.24427206814289093, -0.5036720037460327, 0.8393350839614868, 1.030165672302246, -0.028993980959057808, 0.17913204431533813, -0.13256330788135529, 1.0055004358291626, -0.5409082770347595, -0.7916228771209717, -0.7519053220748901, 0.6034685373306274, 0.16590794920921326, -0.5026825666427612, 0.3680497109889984, 0.6952309012413025, 0.4769171178340912, -0.01866523176431656, 0.4866640269756317, 0.1988697201013565, 0.15539957582950592, -0.6266698837280273, 0.5902683734893799, -0.9162980318069458, 0.3051571547985077, -0.17860092222690582, -0.661245584487915, -0.7189633846282959, 0.49124154448509216, -0.4870389699935913, -0.12909799814224243, 0.3805062770843506, 1.27654230594635, -0.18637646734714508, -0.2449130266904831, 0.5221465826034546, 0.10860247164964676, 0.2533986270427704, 0.7422605156898499, 0.9665015935897827, -0.03138680011034012, 0.4434213936328888, -0.2573031783103943, -0.28743526339530945, -0.4258453845977783, -0.8571500778198242, -1.0067352056503296, -0.6931500434875488, -0.2047864943742752, -0.32644563913345337, 0.26777881383895874, 0.7649300694465637, 1.0190861225128174, -0.7169798612594604, -0.4067397117614746, -0.25055521726608276, 0.05918602645397186, -0.1595854014158249, -0.24177178740501404, 0.2502463459968567, -0.6067863702774048, -0.5211374759674072, 0.3040679693222046, 0.5115162134170532, -0.1904406100511551, -0.1147022396326065, -0.21028007566928864, 0.028352979570627213, 0.1918811798095703, 0.6871281266212463, 0.4827671945095062, -0.8544522523880005, -0.06390660256147385, 0.11558549851179123, -0.25958120822906494, 0.3198111057281494, 0.9076901078224182, -0.7206230163574219, 0.2710011601448059, 0.4091714322566986, 0.8600265383720398, 0.49523985385894775, 0.05523652955889702, 0.20221221446990967, -0.5066743493080139, 0.4552993178367615, 0.12396041303873062, 0.2770814895629883, 0.2881673574447632, -0.43373996019363403, 0.26243001222610474, 0.2820248603820801, -0.23321077227592468, -1.1862266063690186, 0.13712383806705475, -1.1419533491134644, -0.13822481036186218, 1.039167881011963, 0.1386404186487198, -0.47117021679878235, -0.18408064544200897, -0.07666230946779251, 0.14831984043121338, -0.581948459148407, 0.6989415287971497, 0.4736819863319397, 0.006387707311660051, -0.029664086177945137, -0.3865742087364197, 0.6553462743759155, 0.8048920631408691, -0.7083248496055603, 0.31314030289649963, 0.47960522770881653, 0.28431159257888794, -0.14361423254013062, 0.641589879989624, 0.07224401831626892, 0.4173237085342407, 0.09425864368677139, 0.3685665428638458, -0.12004952877759933, -0.26346808671951294, -0.4195946156978607, 0.1025572195649147, -0.03817778453230858, -0.11488484591245651 ]
http://arxiv.org/abs/2404.08760v2
http://arxiv.org/pdf/2404.08760v2
The Generation Gap:Exploring Age Bias in the Underlying Value Systems of Large Language Models
2024-04-12T18:36:20
2024-05-13T22:11:02
Siyang Liu, Trish Maturi, Bowen Yi, Siqi Shen, Rada Mihalcea
cs.CL
cs.CL, cs.AI
In this paper, we explore the alignment of values in Large Language Models (LLMs) with specific age groups, leveraging data from the World Value Survey across thirteen categories. Through a diverse set of prompts tailored to ensure response robustness, we find a general inclination of LLM values towards younger demographics. Additionally, we explore the impact of incorporating age identity information in prompts and observe challenges in mitigating value discrepancies with different age cohorts. Our findings highlight the age bias in LLMs and provide insights for future work.
[ -0.38564857840538025, -0.5054035186767578, 0.43901166319847107, 0.06545614451169968, 0.26084813475608826, 0.3129514157772064, 0.1990710347890854, -0.6690709590911865, -0.21190284192562103, 0.14321033656597137, -0.8429892063140869, -0.08521435409784317, -0.6007749438285828, -0.10956607013940811, 0.17605289816856384, 0.5746748447418213, 0.30601128935813904, 0.07434453070163727, -0.440449982881546, -0.060177676379680634, -0.36465439200401306, -0.4609682559967041, -0.5924344062805176, -0.5476445555686951, 0.47880712151527405, 0.5844235420227051, 0.6847365498542786, 0.5047393441200256, 0.22437003254890442, 0.1678646355867386, -0.5118428468704224, 0.06318160891532898, -0.4851209819316864, 0.5833936333656311, -0.31606200337409973, -0.2824408710002899, -0.5519388318061829, -0.026890965178608894, 0.39330583810806274, 1.0440318584442139, 0.3376125991344452, 0.23522329330444336, -0.08161640912294388, 0.9091339111328125, -0.5891680717468262, 0.07690192759037018, -0.6634131669998169, -0.00045026378938928246, -0.5142544507980347, -0.14602920413017273, -0.3476826250553131, -0.5751568078994751, 0.18004748225212097, -0.23729263246059418, 0.19254688918590546, 0.16165395081043243, 1.044851541519165, -0.004856242798268795, -0.6776345372200012, -0.15918880701065063, -0.5033782720565796, 1.0860792398452759, -0.7636646032333374, 0.27890515327453613, 0.28404563665390015, 0.16691674292087555, -0.2095947563648224, -0.06511162966489792, -0.4431734085083008, 0.16604793071746826, 0.4005413055419922, -0.14144647121429443, -0.15009233355522156, -0.2688654363155365, 0.06495316326618195, 0.6359639167785645, -0.4725054204463959, 0.8389503359794617, -0.5146200060844421, -0.03551476076245308, 0.5818166136741638, 0.4798135757446289, 0.4421249330043793, -0.08142245560884476, -0.30317971110343933, -0.15976983308792114, -1.372394323348999, 0.4651775360107422, 0.9127246141433716, 0.5998644828796387, -0.21412324905395508, 0.8836368322372437, -0.29055851697921753, 0.7562189698219299, 0.3057805299758911, -0.2492416948080063, 0.3258378207683563, -0.2332528978586197, 0.07256977260112762, 0.14341174066066742, 0.695441484451294, 0.7286416888237, 0.7646507620811462, 0.143315851688385, -0.1349640041589737, -0.040913332253694534, -0.19973720610141754, -0.6513624787330627, 0.36180731654167175, 0.08627806603908539, -0.5859778523445129, -0.28671562671661377, -0.13599371910095215, -1.209690809249878, -0.7106528282165527, -0.19758115708827972, -0.08886164426803589, -0.015856312587857246, -0.2443239539861679, 0.11740458756685257, -0.22001172602176666, 0.3249047100543976, 0.312799870967865, -1.432395339012146, 0.061275068670511246, 0.3509516716003418, 0.5647676587104797, -0.14513060450553894, 0.09787459671497345, -0.44137153029441833, 0.15604719519615173, -0.3630402386188507, 0.7450955510139465, -0.8576686978340149, -0.5407896637916565, 0.13426853716373444, 0.06130804494023323, 0.19727817177772522, -0.7359179854393005, 0.24111436307430267, -0.7788798809051514, 0.5069370269775391, -0.2475326508283615, -0.40234071016311646, 0.33407479524612427, 0.026914609596133232, -0.6701831221580505, 1.2074991464614868, 0.22587822377681732, -0.72523033618927, 0.770523726940155, -0.32755428552627563, -0.08442142605781555, 0.2704038918018341, -0.2416657656431198, -0.26654818654060364, 0.07707502692937851, 0.3788517415523529, 0.326259970664978, -0.480898380279541, 0.4058859944343567, -0.6268725991249084, -0.1997198909521103, 0.36541682481765747, -0.8280122876167297, 0.8526089787483215, 0.5570144653320312, -0.2693960964679718, 0.11308272927999496, -0.693305492401123, 0.04603985324501991, 0.29127946496009827, -0.25636571645736694, -0.5480326414108276, -0.09583042562007904, -0.18557944893836975, 0.33563071489334106, 0.5059556365013123, -0.44069766998291016, 0.6300056576728821, -0.08206579834222794, 0.5375688672065735, 0.8289363980293274, -0.16183185577392578, 0.4938850402832031, -0.425100713968277, 0.8008373379707336, 0.10311482846736908, 0.0015677883056923747, -0.18438664078712463, -0.45729491114616394, -0.4320377707481384, 0.2377987951040268, 0.18110521137714386, 0.5295049548149109, -0.3291909396648407, 0.5361303687095642, -0.4704112708568573, -0.19058512151241302, -0.47338056564331055, 0.26944249868392944, -0.215683251619339, 0.12054373323917389, 0.037308722734451294, -0.05817171931266785, -0.6227372288703918, -0.9835635423660278, -0.10541760176420212, -0.6578689813613892, -0.3045639395713806, 0.18600018322467804, 0.06630218774080276, -0.1694267988204956, 0.886508584022522, -0.4488270878791809, 0.21519605815410614, -0.18964242935180664, 0.04037274420261383, 0.0849880799651146, 0.47650718688964844, -0.004105349536985159, -0.6722585558891296, -0.1067829430103302, -0.11387454718351364, -0.4133557379245758, -0.756632924079895, 0.03031257912516594, 0.19302049279212952, 0.1201712116599083, 0.7101423740386963, -0.36571112275123596, 0.19125951826572418, 0.8609063029289246, -0.618073582649231, 0.31444230675697327, 0.16023656725883484, 0.16036716103553772, -1.0090311765670776, 0.02638239413499832, 0.4587723910808563, 0.11138932406902313, -0.41075584292411804, -0.44098442792892456, 0.02866516076028347, 0.0783124789595604, -0.31404179334640503, 0.6493804454803467, -0.7030038833618164, 0.11867091804742813, -0.06544814258813858, 0.14512492716312408, 0.15463502705097198, -0.30821508169174194, -0.16756583750247955, 1.0027652978897095, -0.04115919768810272, -0.4302522540092468, 0.2520541250705719, 0.19138288497924805, -0.3652121126651764, 0.9471181035041809, -0.47649890184402466, 0.11022162437438965, -0.3993167579174042, 0.40303897857666016, -1.04426908493042, -0.09556802362203598, 0.03636781871318817, -0.5982755422592163, 0.25367212295532227, -0.2914978861808777, -0.1117190569639206, -0.31579142808914185, -0.3469734191894531, 0.7569658756256104, 0.5751442909240723, -0.21773239970207214, 0.2672353982925415, 0.5153563618659973, -0.8088210821151733, -0.7670623660087585, -0.5847698450088501, 0.19030624628067017, -0.6585561633110046, -0.8692072629928589, 0.37675991654396057, -0.16021732985973358, -0.6608695983886719, -0.026544027030467987, -0.06607947498559952, 0.07913072407245636, -0.1680169403553009, 0.2749119997024536, 0.5001387596130371, -0.34081020951271057, 0.23918527364730835, -0.009334263391792774, -0.026977071538567543, -0.12663257122039795, -0.23851150274276733, 0.871966540813446, -0.09056311845779419, -0.10924158245325089, 0.2703796923160553, 0.15886230766773224, 0.8310835361480713, -0.11453478038311005, 0.8833804726600647, 0.12319699674844742, -0.250501424074173, -0.16496630012989044, -0.7493671178817749, 0.2220199853181839, -0.5105016827583313, -0.14180000126361847, -0.27123263478279114, -1.3941266536712646, 0.7200191020965576, 0.17557469010353088, -0.2873231768608093, 0.6760892271995544, 0.833477795124054, 0.28158679604530334, 1.0761332511901855, 0.6039961576461792, -0.01666150614619255, 0.4972629249095917, 0.11677655577659607, 0.3387500047683716, -1.0206806659698486, -0.582640528678894, -0.6968417167663574, -0.21273908019065857, -0.6324081420898438, -0.2142592817544937, 0.07504687458276749, 0.22422772645950317, -0.5816476941108704, -0.2540837526321411, -0.38595208525657654, 0.48187026381492615, 0.43449893593788147, -0.23150667548179626, 0.29767218232154846, -0.43029749393463135, -0.04131055995821953, -0.2752602696418762, -0.7546547651290894, -0.7495409250259399, 0.9111281633377075, 0.6539893746376038, 1.2852654457092285, 0.07945609837770462, 0.3050893545150757, 0.3226325511932373, 0.2677859365940094, -0.6942993402481079, 0.3927270770072937, -0.009217762388288975, -0.890533447265625, -0.5892356634140015, -0.5598759651184082, -1.3711684942245483, 0.08991759270429611, 0.07746678590774536, -0.9593380093574524, 0.4622686505317688, -0.21436138451099396, -0.4833030700683594, 0.31919533014297485, -0.5393290519714355, 0.7699412703514099, -0.18411147594451904, -0.5785694718360901, 0.32597920298576355, -0.8083708882331848, 0.6232351064682007, 0.10471463203430176, 0.4048583507537842, -0.7524930834770203, -0.06757767498493195, 0.5274071097373962, -0.268146812915802, 0.8869061470031738, -0.05138170346617699, -0.591829240322113, 0.23311519622802734, -0.03815176337957382, 0.08675678074359894, -0.1371733397245407, -0.022741062566637993, -0.19439606368541718, 0.08770507574081421, -0.5813955664634705, 0.005491106305271387, 1.0919032096862793, -0.6798324584960938, -0.7692739963531494, -0.6456719040870667, -0.8672274351119995, -0.36307525634765625, 0.09390495717525482, 0.14955396950244904, 0.24578475952148438, -0.2558874487876892, 0.24270352721214294, 0.9816511869430542, -0.7337759733200073, 0.437994122505188, 0.3382573127746582, -0.2756901979446411, -0.20699980854988098, 0.33973026275634766, 0.2952384650707245, 0.832551896572113, 0.3386751115322113, 0.2022036910057068, -0.6261075735092163, -0.13776877522468567, -0.6679628491401672, 0.05491111800074577, -0.8049054145812988, -0.12431512773036957, -0.45472657680511475, -0.1343512088060379, -0.7581995129585266, -0.2406902015209198, 0.12670375406742096, -0.19268235564231873, 0.032697271555662155, -0.20211400091648102, 0.3587963581085205, 0.7409613728523254, -0.04070165380835533, -0.014499991200864315, -0.9188777804374695, 0.12123142182826996, 0.5204668641090393, 0.40698546171188354, 0.15426714718341827, -0.36075446009635925, 0.019743118435144424, 0.014131990261375904, -0.2893028259277344, -0.8738852143287659, 0.2598489820957184, -0.09362995624542236, 0.7222048044204712, 0.36330917477607727, -0.01909445971250534, 0.32906100153923035, -0.3195784389972687, 1.3189375400543213, 0.07098522037267685, -1.0652939081192017, 0.3249311149120331, -0.6588653922080994, 0.7265177965164185, 0.5179330706596375, 0.20613111555576324, -1.044384479522705, -0.03933459147810936, -0.63581383228302, -1.0473716259002686, 0.311499685049057, -0.3390059173107147, 0.2055179625749588, 0.07116158306598663, -0.0646614283323288, 0.1816592514514923, 0.09423046559095383, -0.854331910610199, -0.0988631546497345, 0.15746209025382996, -0.6826234459877014, 0.13989028334617615, -0.27178066968917847, -0.13223646581172943, 0.0356169119477272, 0.4043111503124237, -0.22984032332897186, 0.05650615692138672, -0.18853996694087982, 0.06397712230682373, -0.7950546741485596, 0.7723519802093506, 0.6842806935310364, 1.0004582405090332, -0.0777292475104332, 0.5247735977172852, 0.3624134063720703, -0.09512168914079666, 0.8319103717803955, -0.004839719273149967, 0.016748830676078796, -0.4115693271160126, 0.30940672755241394, 0.611465573310852, -0.0907917395234108, -0.8562042713165283, 0.4290699064731598, 0.12600688636302948, 0.11923853307962418, -0.10433828830718994, -0.1629171073436737, 0.3368588984012604, 0.10937386751174927, 0.6164950728416443, -0.46191301941871643, -0.35234999656677246, -0.7157186269760132, -0.12081041932106018, 0.5012885928153992, -0.2995264530181885, -0.08672863990068436, 0.8942247629165649, 0.08152680844068527, -0.28358790278434753, 0.4925127327442169, 0.0748935118317604, -0.37246906757354736, 0.6123472452163696, 0.469016969203949, 0.6716984510421753, -0.4262153208255768, 0.10534071177244186, -0.14235712587833405, 0.4268896281719208, -0.10211148113012314, 0.13526853919029236, 0.3941362798213959, -0.9207183122634888, -0.8426963686943054, -0.33760079741477966, -0.2750246226787567, 0.28995540738105774, -0.6106213927268982, 0.24878835678100586, -0.03275951370596886, -0.2193223536014557, -0.09588009119033813, -0.20381225645542145, -0.816217839717865, 0.41080835461616516, 0.4618149995803833, 0.7541098594665527, -1.1726807355880737, 0.603611171245575, 0.343814879655838, -0.35201001167297363, -0.5480194091796875, -0.03960949927568436, 0.38746172189712524, -1.0042909383773804, 1.0471194982528687, 0.2243007868528366, -0.06935649365186691, -0.315962553024292, -0.6029000282287598, -0.9495766162872314, 0.8465501070022583, 0.024671152234077454, -0.6339119672775269, -0.24885529279708862, 0.23993347585201263, 0.39880192279815674, -0.44637712836265564, 0.0730414092540741, 0.6126570105552673, 0.5029136538505554, 0.08582769334316254, -0.8441184759140015, -0.09089962393045425, -0.4139755964279175, 0.2306167632341385, 0.5642421841621399, -0.7784202694892883, 0.7401132583618164, 0.003995611798018217, -0.08850101381540298, 0.02308010123670101, 0.4918502867221832, 0.5214705467224121, 0.6329488754272461, 0.6231111288070679, 0.6391664147377014, 0.5116395950317383, -0.21532104909420013, 0.6656146049499512, -0.2766413986682892, 0.026827961206436157, 0.5523145794868469, -0.28599411249160767, 0.30458518862724304, 0.5914878845214844, -0.4782273471355438, 0.41664111614227295, 0.9918456077575684, 0.05525384098291397, 0.15257589519023895, 0.5177145600318909, -0.32964658737182617, -0.03390061855316162, -0.35899826884269714, -0.6676322221755981, -0.06367994844913483, 0.5683532953262329, -0.36258792877197266, 0.1316908746957779, -0.28439125418663025, 0.393710196018219, -0.027121301740407944, -0.32820194959640503, 0.5765905976295471, 0.33555492758750916, -0.604767918586731, 0.41998451948165894, -0.20276212692260742, 0.9104101061820984, -0.7693036794662476, 0.20007431507110596, -0.263013631105423, 0.004369067028164864, -0.18214334547519684, -0.9040207862854004, -0.16761305928230286, 0.0595199353992939, -0.36045628786087036, -0.329100102186203, 0.6458317637443542, -0.6800808906555176, -0.4298548698425293, 0.010710266418755054, 0.7675154805183411, -0.23469266295433044, 0.4605357050895691, -0.39417678117752075, 0.4068973958492279, -0.10240579396486282, -0.11995352059602737, 0.3958926498889923, 0.8127533793449402, -0.3114619851112366, 0.7894676327705383, 0.35791635513305664, 0.2509932518005371, 0.30959007143974304, 0.13873913884162903, 0.47966161370277405, -0.7868176698684692, -0.34285464882850647, -1.036814570426941, 0.7181872129440308, -0.15793772041797638, -0.8669376373291016, 0.9425320029258728, 0.49812808632850647, 0.8169701099395752, 0.2575245499610901, 0.9542092084884644, -0.0028434263076633215, 0.39668339490890503, -0.6683909893035889, 0.20780770480632782, -0.3168540894985199, 0.4405689835548401, -0.4586600959300995, -1.0841739177703857, -0.14090116322040558, 0.3320842981338501, -0.5199995040893555, 0.33120185136795044, 0.3467985987663269, 0.6781337261199951, 0.4020782709121704, -0.13559888303279877, 0.19755764305591583, -0.4169170558452606, 0.6655266880989075, 0.6835870146751404, 1.4019914865493774, -0.021646147593855858, 0.13024519383907318, 0.2940683960914612, -0.13876183331012726, -0.3335842192173004, -1.069173812866211, -0.44521981477737427, -0.26898419857025146, -0.06682373583316803, -0.6299934983253479, 0.037231843918561935, 1.0635085105895996, 0.41355982422828674, -0.8169548511505127, -0.37236493825912476, 0.3322203457355499, -0.11840888112783432, -0.04109157621860504, -0.2959529459476471, 0.04594874382019043, -0.20891481637954712, -0.9242793321609497, 0.35262104868888855, 0.15475015342235565, 0.5188502073287964, -0.6728981137275696, 0.04790719226002693, 0.0343007892370224, 0.24264061450958252, 0.26943105459213257, 0.2073443979024887, -0.687235414981842, -0.5523567199707031, 0.2504841685295105, -0.2687217891216278, 0.21392913162708282, 1.0050175189971924, -0.42719072103500366, 0.38191330432891846, 0.5675378441810608, 0.6780514717102051, 0.36187320947647095, 0.1744709312915802, 0.8687999844551086, -0.4422369599342346, 0.06768959015607834, 0.30922144651412964, 0.27810928225517273, 0.8300843238830566, -0.41445693373680115, 0.39442506432533264, 0.2612916827201843, -0.9303562045097351, -0.8171524405479431, 0.39179179072380066, -0.8603885769844055, -0.37111279368400574, 1.208534836769104, 0.326666921377182, 0.3277246952056885, -0.2640652060508728, -0.0842432826757431, 0.10604707896709442, -0.36922770738601685, 0.8876569271087646, 1.2099052667617798, 0.05449092388153076, -0.42054468393325806, -0.612250566482544, 0.25753360986709595, 0.5451443195343018, -0.8566694259643555, 0.07702837139368057, 0.7713316082954407, 0.20016790926456451, -0.1459018886089325, 0.35043275356292725, -0.3308078646659851, -0.3365512788295746, -0.031571511179208755, 0.06355097144842148, 0.30544355511665344, -0.03160601481795311, -0.6631925702095032, 0.2306661307811737, 0.5257613658905029, 0.19232702255249023 ]
http://arxiv.org/abs/2404.08634v1
http://arxiv.org/pdf/2404.08634v1
Pre-training Small Base LMs with Fewer Tokens
2024-04-12T17:53:34
2024-04-12T17:53:34
Sunny Sanyal, Sujay Sanghavi, Alexandros G. Dimakis
cs.CL
cs.CL, cs.AI, cs.LG
We study the effectiveness of a simple approach to develop a small base language model (LM) starting from an existing large base LM: first inherit a few transformer blocks from the larger LM, and then train this smaller model on a very small subset (0.1\%) of the raw pretraining data of the larger model. We call our simple recipe Inheritune and first demonstrate it for building a small base LM with 1.5B parameters using 1B tokens (and a starting few layers of larger LM of 3B parameters); we do this using a single A6000 GPU for less than half a day. Across 9 diverse evaluation datasets as well as the MMLU benchmark, the resulting model compares favorably to publicly available base models of 1B-2B size, some of which have been trained using 50-1000 times more tokens. We investigate Inheritune in a slightly different setting where we train small LMs utilizing larger LMs and their full pre-training dataset. Here we show that smaller LMs trained utilizing some of the layers of GPT2-medium (355M) and GPT-2-large (770M) can effectively match the val loss of their bigger counterparts when trained from scratch for the same number of training steps on OpenWebText dataset with 9B tokens. We analyze our recipe with extensive experiments and demonstrate it efficacy on diverse settings. Our code is available at https://github.com/sanyalsunny111/LLM-Inheritune.
[ -0.5052308440208435, -0.4923972189426422, 0.2766537070274353, -0.002129671396687627, -0.46673107147216797, -0.08724016696214676, -0.27445778250694275, -0.31886616349220276, 0.21162676811218262, 0.3331916332244873, -0.5124344229698181, -0.0911054015159607, -0.6137139797210693, -0.20129717886447906, -0.06822168081998825, 0.884423553943634, 0.02423793077468872, 0.27532774209976196, 0.10074537992477417, -0.1636628955602646, -0.43187427520751953, -0.2790474593639374, -0.9402080774307251, -0.5119112730026245, 0.5497757196426392, 0.6250609159469604, 0.3906925916671753, 0.8069056272506714, 0.24660035967826843, 0.10841100662946701, -0.2590787410736084, 0.12069056183099747, -0.725595235824585, -0.573226809501648, 0.19239354133605957, -0.6684198379516602, -0.30852484703063965, -0.19827239215373993, 0.7309868335723877, 0.8384789228439331, 0.09108588099479675, 0.3650747239589691, 0.2517389953136444, 0.845705509185791, -0.6241979002952576, -0.04238484799861908, -0.7081496715545654, 0.1505461484193802, -0.2530531585216522, 0.08842812478542328, -0.6753441691398621, -0.17552347481250763, -0.07586522400379181, -0.3459186255931854, 0.16002732515335083, 0.2626427710056305, 0.60257887840271, 0.05006510019302368, -0.38563409447669983, 0.04583894833922386, -0.7213476300239563, 0.6725691556930542, -0.615774929523468, 0.49748697876930237, 0.18256206810474396, 0.21615056693553925, -0.007802055217325687, -0.8000872731208801, -0.41718751192092896, -0.24893343448638916, -0.18525762856006622, -0.032516319304704666, -0.32241979241371155, -0.11681751161813736, 0.4857717454433441, 0.38074585795402527, -0.6652572154998779, 0.3746813237667084, -0.4103722870349884, -0.1230267882347107, -0.051944151520729065, 0.18365634977817535, 0.0691383108496666, -0.028177181258797646, -0.4072551131248474, -0.04744541272521019, -1.367859125137329, -0.10096937417984009, 0.2995387613773346, 0.5477226376533508, -0.3062635362148285, 0.360312819480896, -0.09232370555400848, 0.46585169434547424, 0.32291179895401, -0.12176220118999481, 0.21048757433891296, -0.5280212163925171, -0.4220912754535675, 0.14563007652759552, 0.5895415544509888, 0.02608637511730194, 0.22469696402549744, -0.10046407580375671, -0.09041326493024826, -0.058945491909980774, 0.07098378986120224, -1.198042392730713, -0.5039236545562744, -0.22008545696735382, -0.6269749999046326, -0.18836060166358948, -0.14022131264209747, -0.2661142647266388, -0.3781373202800751, -0.4604221284389496, 0.5245881080627441, -0.4669846296310425, -0.1729152351617813, -0.196676105260849, 0.045069750398397446, 0.5486459136009216, 0.3191731870174408, -1.2440192699432373, 0.6233368515968323, 0.678956925868988, 0.8956596851348877, -0.2510964572429657, -0.175186425447464, -0.8549027442932129, -0.08238264918327332, -0.35635775327682495, 0.43536049127578735, -0.1561848670244217, -0.5813062191009521, -0.35724639892578125, -0.05629158765077591, -0.13500790297985077, -0.7078360319137573, 0.36342480778694153, -0.36371245980262756, 0.09074859321117401, -0.3375590145587921, -0.4539700150489807, 0.22424748539924622, 0.022166768088936806, -0.8929715752601624, 0.9814969897270203, 0.168282613158226, -0.6309030652046204, 0.5466387867927551, -0.5256741046905518, -0.571264922618866, -0.050245169550180435, -0.17397160828113556, -0.4281698167324066, 0.45646461844444275, 0.2443816214799881, 0.09837473183870316, -0.2950851023197174, -0.6668659448623657, -0.18926416337490082, -0.5840063095092773, -0.4069080352783203, -0.42356276512145996, 0.639157772064209, 0.21689188480377197, -0.46209460496902466, 0.06977098435163498, -0.6838270425796509, 0.14413130283355713, 0.12435464560985565, -0.2951889634132385, -0.3857237994670868, -0.39599844813346863, 0.08747172355651855, 0.07018055021762848, -0.032860562205314636, -0.3218100368976593, 0.30694064497947693, -0.6497663259506226, 0.22526846826076508, 0.7608567476272583, -0.151632621884346, 0.9635549783706665, -0.33762848377227783, 0.39926210045814514, 0.1312597543001175, 0.14843270182609558, -0.1283942610025406, -0.43473511934280396, -1.0621974468231201, -0.3759947717189789, 0.5600683689117432, 0.21385730803012848, -0.49487295746803284, 0.4733411967754364, -0.49559125304222107, -0.4395082890987396, -0.6407337784767151, 0.3735300898551941, 0.3826504349708557, 0.3267108201980591, 0.30826690793037415, -0.3918399214744568, -0.8405161499977112, -1.0887879133224487, -0.07908781617879868, 0.11195892840623856, -0.010488188825547695, 0.21524576842784882, 0.5860430598258972, -0.34472256898880005, 1.021801471710205, -0.23151810467243195, -0.1219320073723793, -0.633729100227356, 0.06563602387905121, 0.17393232882022858, 0.7151607871055603, 0.742307722568512, -0.5589299201965332, -0.6974239349365234, 0.1177610233426094, -0.27461710572242737, 0.15510907769203186, 0.15975818037986755, -0.16585493087768555, 0.17718826234340668, 0.24158060550689697, -0.5956762433052063, 0.31176164746284485, 0.4829936921596527, -0.07104498147964478, 0.5078179836273193, -0.00643108831718564, -0.21915173530578613, -1.3309111595153809, 0.043859343975782394, -0.2899739444255829, -0.4691896438598633, -0.6617813110351562, -0.14369140565395355, 0.12822826206684113, -0.025293894112110138, -0.6255477666854858, 0.7162349820137024, -0.5630594491958618, -0.11573705077171326, -0.4449174702167511, -0.4131765365600586, -0.22734570503234863, 0.5163186192512512, -0.010900168679654598, 0.7043763995170593, 0.3283706307411194, -0.4561828672885895, 0.013665162026882172, -0.0469026193022728, -0.30501502752304077, 0.23360185325145721, -0.6744602918624878, 0.35112783312797546, -0.03343215957283974, 0.23321059346199036, -0.7837728261947632, 0.10400369763374329, 0.4023016691207886, -0.08317071944475174, 0.414234459400177, -0.5132383704185486, -0.48368316888809204, -0.28994545340538025, -0.39564067125320435, 0.2706746459007263, 0.9042546153068542, -0.919540524482727, 0.5978713631629944, -0.005667973775416613, -0.15854981541633606, -0.4699349105358124, -0.7700541615486145, -0.05970622971653938, -0.31058835983276367, -0.36752793192863464, 0.1542774736881256, -0.3306612968444824, -0.01438529696315527, 0.08046792447566986, -0.21713584661483765, 0.1415310949087143, 0.16754330694675446, 0.4039314389228821, 0.06168900057673454, -0.6401155591011047, -0.022170372307300568, 0.046736009418964386, -0.21127068996429443, -0.14406804740428925, -0.6260392665863037, 0.8161548376083374, -0.630719006061554, -0.46180808544158936, -0.20301444828510284, -0.04378918185830116, 0.3210682272911072, 0.07900815457105637, 0.9176061153411865, 0.538179337978363, -0.4790022671222687, -0.42231690883636475, -0.3301723301410675, -0.24365152418613434, -0.45819100737571716, 0.28365811705589294, -0.5172852277755737, -0.7408997416496277, 0.5013715028762817, -0.11173440515995026, -0.07818236947059631, 0.5366032123565674, 0.7058835029602051, 0.05076546221971512, 0.6897214651107788, 0.6613119840621948, -0.4772178530693054, 0.5930460691452026, -0.4654609262943268, -0.21269381046295166, -0.6494237780570984, 0.10239537060260773, -0.23967011272907257, -0.3698738217353821, -0.45936471223831177, -0.6237606406211853, 0.07553502917289734, 0.28425273299217224, -0.29617950320243835, 0.37948721647262573, -0.2077995240688324, 0.7628016471862793, 0.698062002658844, 0.2961418628692627, 0.3394160866737366, 0.19573232531547546, -0.1271667182445526, 0.0016094293678179383, -0.9968742728233337, -0.49751895666122437, 1.2971394062042236, 0.532783567905426, 0.9561395049095154, -0.03163285553455353, 0.9701203107833862, 0.22066563367843628, 0.7453705072402954, -0.7890974879264832, 0.28809526562690735, -0.22603899240493774, -0.4718761444091797, -0.32350587844848633, -0.6818206906318665, -0.7430077195167542, 0.4411223828792572, -0.2035726010799408, -0.32143208384513855, -0.09253906458616257, 0.4596640169620514, -0.25667116045951843, 0.48998787999153137, -0.9917905926704407, 1.0336546897888184, -0.4934878647327423, -0.2942935824394226, 0.02741275541484356, -0.7037138342857361, 0.29419830441474915, -0.24265949428081512, 0.15398402512073517, 0.16458596289157867, 0.21695372462272644, 0.7124091982841492, -0.6969809532165527, 0.8987014889717102, -0.3409937024116516, 0.10217192023992538, 0.17678256332874298, -0.18637415766716003, 0.6456321477890015, -0.05827314034104347, 0.1456187665462494, -0.06405758857727051, -0.25765591859817505, -0.5188760161399841, -0.5381426215171814, 0.6155345439910889, -0.8097088932991028, -0.2602819800376892, -0.04449760168790817, 0.06498005241155624, -0.1158667728304863, 0.5049965977668762, 0.615173876285553, 0.31352558732032776, -0.406739205121994, 0.5863617658615112, 0.6260131597518921, 0.22073061764240265, 0.3569988012313843, 0.29661762714385986, -0.0804409608244896, -0.30823662877082825, 0.6837209463119507, -0.11867637932300568, 0.38429155945777893, 0.44577568769454956, 0.5559709072113037, 0.0019290269119665027, -0.6444365978240967, -0.694318413734436, 0.09379807859659195, -0.6654215455055237, -0.17532417178153992, -0.23595035076141357, -0.15206380188465118, -0.15696591138839722, 0.17462781071662903, -0.7426156401634216, -0.3701917827129364, -0.18132804334163666, -0.16298887133598328, 0.13485564291477203, 0.6800097227096558, 0.04509998485445976, 0.7640013098716736, -0.6793685555458069, 0.13176146149635315, 0.22828570008277893, 0.4574088156223297, 0.18381567299365997, -0.7680574059486389, -0.46036767959594727, 0.2844398021697998, 0.025141561403870583, -0.3467566967010498, 0.09163269400596619, 0.2762598395347595, 0.7437071204185486, 0.4936313331127167, -0.2488861382007599, 0.612151026725769, -0.8332429528236389, 0.533755362033844, 0.4635756313800812, -0.8730361461639404, 0.5290714502334595, -0.04184374213218689, 0.3079344630241394, 0.8031166195869446, 0.411085844039917, -0.2852056920528412, 0.013281814754009247, -0.6190111041069031, -0.6009708642959595, 0.6289956569671631, 0.25592926144599915, 0.13261742889881134, 0.3114466369152069, 0.3596900701522827, 0.4781540632247925, -0.02099999040365219, -1.0358678102493286, -0.5399647951126099, -0.06863300502300262, -0.24582991003990173, -0.19459137320518494, -0.27271395921707153, -0.2297828495502472, -0.3039456307888031, 0.546151340007782, -0.09068700671195984, 0.31111615896224976, -0.3493535816669464, -0.4816415309906006, -0.11780806630849838, 0.16103722155094147, 0.5985129475593567, 0.5161200761795044, -0.23920182883739471, 0.32587891817092896, 0.5597237944602966, -0.5141087770462036, 0.15069933235645294, -0.073883056640625, -0.10101833194494247, -0.04241206496953964, 0.44345998764038086, 1.2589342594146729, 0.30791106820106506, -0.21853291988372803, 0.433102548122406, -0.10192485898733139, -0.23122954368591309, -0.12491361796855927, -0.014106766320765018, 0.3534240424633026, 0.08160240203142166, 0.31252554059028625, 0.047082796692848206, -0.19573919475078583, -0.5799445509910583, 0.32994988560676575, 0.35577377676963806, -0.2032337486743927, -0.32127615809440613, 0.5202579498291016, 0.17917358875274658, -0.1092320904135704, 0.5332470536231995, -0.16198977828025818, -0.3134560286998749, 0.5768066048622131, 0.7275322675704956, 0.7762214541435242, 0.11823375523090363, -0.17538441717624664, -0.02576659992337227, 0.6863412261009216, -0.27663281559944153, -0.10515318065881729, -0.03478359803557396, -0.7487056255340576, -0.21935109794139862, -0.6253530383110046, -0.5064610838890076, 0.29969510436058044, -0.45250818133354187, 0.2858465611934662, -0.6496847867965698, 0.04351652413606644, -0.05090542137622833, 0.012759174220263958, -0.9112973213195801, 0.22079581022262573, 0.4780881404876709, 0.9209212064743042, -0.980666995048523, 1.006187915802002, 0.6470717787742615, -0.42230361700057983, -0.8908489346504211, -0.10165493935346603, -0.2716454863548279, -0.9177117943763733, 1.0272451639175415, 0.1412280648946762, -0.16436561942100525, -0.02695087343454361, -0.39709463715553284, -0.6628199219703674, 1.0268440246582031, 0.39668720960617065, -0.6142305731773376, -0.06783221662044525, 0.24388979375362396, 0.46920692920684814, -0.48722028732299805, 0.1098485216498375, 0.5735167860984802, 0.25717654824256897, 0.18817155063152313, -0.8962511420249939, 0.07996934652328491, -0.13977058231830597, -0.12907107174396515, 0.2693741023540497, -0.4586917757987976, 0.8112537860870361, -0.23802249133586884, -0.180734321475029, 0.2753542959690094, 0.5636785626411438, 0.1793709695339203, 0.2738342583179474, 0.6761555075645447, 0.6772094368934631, 0.5586004853248596, -0.03336004540324211, 0.9154295325279236, -0.2830932140350342, 0.38666489720344543, 1.2754895687103271, -0.13418272137641907, 0.8424587845802307, 0.4300537705421448, -0.262989342212677, 0.3266861140727997, 0.5840493440628052, 0.07567136734724045, 0.6039389371871948, 0.4465590715408325, -0.15825894474983215, -0.03543046861886978, 0.4559640884399414, -0.6133673787117004, 0.19008587300777435, 0.1501331627368927, -0.4403814971446991, -0.1562209576368332, 0.17343847453594208, -0.019941560924053192, -0.47702792286872864, -0.5591551661491394, 0.7367293834686279, 0.3219898045063019, -0.23901872336864471, 0.5769968628883362, -0.00038125336868688464, 0.6528525948524475, -0.8226815462112427, 0.3132373094558716, -0.5872081518173218, 0.29806533455848694, -0.1314990073442459, -0.15163801610469818, 0.06095775216817856, -0.07585377991199493, -0.2332613319158554, -0.2630540430545807, 0.8636807203292847, -0.228244811296463, -0.5387035608291626, 0.03146497532725334, 0.6400234699249268, -0.016097407788038254, -0.09417937695980072, -0.34594011306762695, -0.07941969484090805, -0.1648174375295639, -0.4206911325454712, 0.5708450675010681, 0.2593350410461426, -0.11632852256298065, 0.3988865315914154, 0.5990781784057617, 0.3117578327655792, 0.27090564370155334, 0.26221778988838196, 1.0386520624160767, -0.5086456537246704, -0.49390026926994324, -0.9561945199966431, 0.15111510455608368, 0.026040805503726006, -0.24364614486694336, 0.8417598605155945, 0.9932151436805725, 0.8103731274604797, -0.4360389709472656, 0.7847538590431213, 0.1733350157737732, 0.3522857129573822, -0.639474630355835, 0.5617239475250244, -0.49901410937309265, 0.3384263217449188, -0.14908237755298615, -1.2207976579666138, -0.12645594775676727, 0.5827831029891968, -0.2211971879005432, 0.2755418121814728, 0.5943289995193481, 0.5274229049682617, -0.3699856698513031, -0.13879191875457764, 0.22046583890914917, -0.06177894398570061, 0.18298277258872986, 0.6343492865562439, 1.0165547132492065, -0.34898677468299866, 0.5868895053863525, -0.286628395318985, -0.31027257442474365, -0.48136386275291443, -0.8434293270111084, -0.9199856519699097, 0.11801056563854218, 0.0847291350364685, -0.1267736852169037, 0.16800935566425323, 1.1186975240707397, 0.9527803063392639, -0.7927130460739136, -0.20118971168994904, -0.15436550974845886, -0.023209286853671074, -0.17398308217525482, -0.11423001438379288, 0.3357231020927429, -0.06900472939014435, -0.5504879355430603, 0.38562512397766113, 0.029645757749676704, 0.21064309775829315, 0.04249203950166702, -0.3993043303489685, 0.1680627018213272, -0.23201972246170044, 0.8095030188560486, 0.3728961646556854, -0.4105202853679657, -0.4623299241065979, -0.036835700273513794, -0.3151848316192627, 0.09318646788597107, 0.9817646741867065, -0.6263256669044495, 0.15834251046180725, 0.43006008863449097, 0.8097215294837952, 0.8761603832244873, 0.057750850915908813, 0.49140337109565735, -1.1606438159942627, 0.17567892372608185, 0.08109186589717865, 0.4528804421424866, 0.13846942782402039, -0.05344061926007271, 0.5407541394233704, 0.4649459719657898, -0.13521741330623627, -0.7207075953483582, 0.29045891761779785, -1.0856250524520874, -0.24115398526191711, 1.0528665781021118, 0.23800991475582123, 0.10719820857048035, 0.44209179282188416, -0.267987459897995, 0.06724143028259277, -0.10063182562589645, 0.31882867217063904, 0.4497424364089966, -0.11134926229715347, -0.25378096103668213, -0.39132145047187805, 0.6196300983428955, 0.5522119402885437, -0.8317698836326599, 0.08720756322145462, 0.1799122840166092, 0.542494535446167, -0.004155039321631193, 0.8577666878700256, 0.05206616595387459, 0.32937759160995483, 0.3497636318206787, 0.019097188487648964, -0.25019678473472595, -0.32229822874069214, -0.3880617916584015, 0.014790862798690796, 0.43146803975105286, -0.31946197152137756 ]
http://arxiv.org/abs/2404.08627v1
http://arxiv.org/pdf/2404.08627v1
Is ChatGPT Transforming Academics' Writing Style?
2024-04-12T17:41:05
2024-04-12T17:41:05
Mingmeng Geng, Roberto Trotta
cs.CL
cs.CL, cs.AI, cs.DL, cs.LG
Based on one million arXiv papers submitted from May 2018 to January 2024, we assess the textual density of ChatGPT's writing style in their abstracts by means of a statistical analysis of word frequency changes. Our model is calibrated and validated on a mixture of real abstracts and ChatGPT-modified abstracts (simulated data) after a careful noise analysis. We find that ChatGPT is having an increasing impact on arXiv abstracts, especially in the field of computer science, where the fraction of ChatGPT-revised abstracts is estimated to be approximately 35%, if we take the output of one of the simplest prompts, "revise the following sentences", as a baseline. We conclude with an analysis of both positive and negative aspects of the penetration of ChatGPT into academics' writing style.
[ -0.36288148164749146, -0.8296476006507874, 0.3382445275783539, 0.23462530970573425, -0.24929040670394897, 0.18230818212032318, -0.1727503389120102, -0.4682396650314331, 0.37167707085609436, 0.34816738963127136, -0.35888680815696716, -0.3546094000339508, -0.8801495432853699, 0.3857526481151581, -0.7896700501441956, 1.6127841472625732, 0.040675677359104156, 0.03071882762014866, -0.10422959178686142, 0.041237667202949524, 0.001855239039286971, -0.40896889567375183, -0.8647252917289734, -0.25305160880088806, 0.723200261592865, 0.2643113434314728, 0.5199006795883179, 0.436440646648407, 0.7424298524856567, 0.20032313466072083, -0.07324408739805222, -0.3185572326183319, -0.551030695438385, 0.11570856720209122, 0.14356309175491333, -0.4243234395980835, -0.5836310982704163, 0.03583725169301033, 0.8783276677131653, 0.6789364218711853, -0.24569293856620789, 0.08124320954084396, 0.3382774889469147, 0.9236065745353699, -0.24774420261383057, 0.19334471225738525, -0.6185798645019531, -0.09806463122367859, -0.3433663249015808, -0.520855724811554, -0.5983216166496277, -0.3694763481616974, 0.35772809386253357, -0.39144712686538696, 0.37390148639678955, 0.36747387051582336, 0.5781898498535156, -0.08653531968593597, -0.25285351276397705, -0.13525617122650146, -0.6298884749412537, 0.4372537136077881, -0.48502570390701294, 0.22568482160568237, -0.2004484385251999, 0.04421701654791832, -0.4216527044773102, -0.9150604009628296, -0.6091347932815552, -0.06075180321931839, 0.03996216505765915, 0.22349241375923157, -0.4486589729785919, -0.037334758788347244, 0.07192743569612503, 0.2595917284488678, -0.5680513978004456, -0.4814985394477844, -0.8165151476860046, 0.14660349488258362, 0.5823870301246643, -0.01850072294473648, 0.6132378578186035, 0.3561374247074127, -0.07640711963176727, -0.31803661584854126, -0.6848176121711731, -0.14789073169231415, 0.45182564854621887, 0.19704601168632507, 0.14617712795734406, 0.4785861372947693, -0.05191252753138542, 0.4364398419857025, -0.21732962131500244, 0.016771569848060608, 0.021219585090875626, -0.32826271653175354, 0.06000960245728493, 0.40773144364356995, 0.8905128836631775, 0.5836033821105957, 0.38497069478034973, -0.0030892016366124153, -0.0372270792722702, -0.19180187582969666, 0.48640015721321106, -0.8536010980606079, -0.730165421962738, -0.08534843474626541, -0.5277361273765564, -0.49970510601997375, -0.0017341176280751824, -0.8621875047683716, -0.66303551197052, -0.0879727378487587, 0.2275044322013855, -0.7182309627532959, -0.2495262771844864, 0.10611078143119812, -0.22742781043052673, 0.3031848967075348, 0.4948744475841522, -0.8439847230911255, 0.3725099563598633, 0.7987788319587708, 1.1353617906570435, -0.3982102572917938, -0.28040727972984314, -0.15252315998077393, -0.3650377690792084, -0.27708590030670166, 1.4527530670166016, -0.5858173370361328, -0.8664367198944092, -0.07176383584737778, -0.2711915969848633, -0.30495738983154297, 0.06522589921951294, 0.6058058142662048, -0.3343521058559418, 0.38722190260887146, -0.1787552386522293, -0.15498994290828705, -0.07550139725208282, 0.14274685084819794, -0.3033224642276764, 0.8558048009872437, 0.09411577880382538, -0.6937460899353027, 0.4824689030647278, -0.9253369569778442, -0.39913520216941833, 0.014617916196584702, 0.29849907755851746, -0.6891725063323975, -0.3133990466594696, -0.00015729962615296245, 0.1540863960981369, 0.25032737851142883, -0.09401394426822662, -0.023741796612739563, -0.4724794328212738, 0.5822473764419556, -0.40163615345954895, 0.406771719455719, 0.31413063406944275, 0.08268934488296509, -0.12105400115251541, -0.881445586681366, -0.04912121221423149, -0.3532770872116089, -0.2881394922733307, -0.18994680047035217, 0.21608635783195496, 0.24682629108428955, -0.06573695689439774, 0.007140817120671272, -0.6669238209724426, 0.5911177396774292, -0.3460260033607483, 0.7025360465049744, 0.6309849619865417, 0.4842148721218109, 0.30371803045272827, -0.6515663266181946, 0.6179289221763611, -0.5263893008232117, 0.019401537254452705, -0.08971408009529114, -0.7986688017845154, -0.5396152138710022, -0.18475645780563354, 0.3499102294445038, 0.44470682740211487, 0.004037405364215374, -0.11748085916042328, -0.2224075198173523, -0.8502073287963867, -0.3034571707248688, -0.518459141254425, 0.026846174150705338, 0.5536991953849792, 0.5257174372673035, -0.4088982939720154, -0.48536887764930725, -0.5972417593002319, -0.721260130405426, -0.3137092590332031, 0.1780426949262619, -0.08904176950454712, 0.6742058992385864, -0.17815007269382477, 0.5748908519744873, -0.31510090827941895, -0.05855220556259155, -0.1316555142402649, 0.7828729152679443, -0.021554188802838326, 0.5135183334350586, 0.2708214819431305, -0.6186699271202087, -0.8819050788879395, -0.0063965655863285065, -0.09032128006219864, -0.4428688585758209, -0.4209069609642029, -0.04671908915042877, 0.1476881206035614, 0.7624964714050293, -0.2077893167734146, 0.50046306848526, 0.43813443183898926, -0.49858948588371277, 1.0098052024841309, 0.018658751621842384, 0.6326566934585571, -0.6818552017211914, 0.005128439515829086, 0.1573602706193924, 0.1889035701751709, -0.5825681686401367, -0.17479553818702698, -0.11029265820980072, -0.32180240750312805, -0.10977516323328018, 0.3929533064365387, -0.3812893331050873, 0.283580482006073, -0.2796095311641693, 0.18057166039943695, 0.016837887465953827, 0.13568587601184845, -0.13289152085781097, 1.3509522676467896, 0.3461170494556427, -0.3984294533729553, -0.09197253733873367, 0.40284737944602966, -0.47069546580314636, 0.5590763092041016, -0.822026789188385, 0.08601019531488419, -0.10986660420894623, 0.4314972162246704, -1.4349654912948608, -0.09332717955112457, 0.2124808132648468, -0.6313962340354919, 0.23526597023010254, -0.41827690601348877, -0.39298999309539795, 0.18449513614177704, -0.3492477834224701, 0.0802573561668396, 0.6456363201141357, 0.015340344980359077, 0.6077543497085571, 0.011963417753577232, -0.7802956104278564, -0.46845632791519165, -0.5808094143867493, 0.6228114366531372, -0.04270832985639572, -0.7481846809387207, 0.4940546452999115, -0.08850956708192825, -0.6893566846847534, -0.04896537587046623, 0.04636571556329727, -0.016804251819849014, -0.11957862228155136, 0.01871035061776638, 0.2990623712539673, -0.10521063953638077, 0.13363465666770935, 0.15549783408641815, 0.2097504734992981, 0.23725102841854095, -0.14746329188346863, 0.7988242506980896, -0.3616780638694763, -0.14024674892425537, -0.41673657298088074, 0.27408307790756226, 0.45367658138275146, -0.3691646456718445, 0.7868736386299133, 0.5562843680381775, 0.41648468375205994, 0.05095531418919563, -0.3901967704296112, -0.18610768020153046, -0.4629480242729187, 0.5014785528182983, -0.04371493309736252, -0.5005952715873718, 0.4825805723667145, 0.003649796824902296, 0.2794857621192932, 0.6039695739746094, 0.35283735394477844, -0.1748349964618683, 0.8389188647270203, 0.7393389940261841, 0.4200255572795868, 0.7964025735855103, -0.018846267834305763, 0.3030475676059723, -0.826819658279419, -0.25553056597709656, -0.6990600228309631, -0.32337674498558044, -0.7352518439292908, 0.12682215869426727, 0.5608399510383606, -0.4046168327331543, 0.0026183754671365023, 0.1549142599105835, -0.9911984801292419, 0.536675751209259, 0.3694055378437042, -0.05312618240714073, 0.2714630365371704, 0.1427304446697235, 0.44013312458992004, -0.15857096016407013, -0.46376070380210876, -0.6803892850875854, 1.2146289348602295, 0.14765910804271698, 0.6106926798820496, 0.11466103047132492, 0.6686640977859497, 0.5449443459510803, 0.3721597194671631, -0.7974292039871216, 0.5895615220069885, -0.05229873210191727, -0.09878779947757721, -0.2704950273036957, -0.008879439905285835, -1.0976365804672241, 0.17767752707004547, -0.3961327075958252, -0.6304511427879333, 0.2607389986515045, -0.005555172450840473, -0.14194345474243164, 0.40570148825645447, -0.7255905866622925, 0.43649548292160034, 0.4167994260787964, -0.26260513067245483, -0.1463388204574585, -0.46011078357696533, 0.09993133693933487, -0.0020706825889647007, 0.056113824248313904, -0.18469537794589996, -0.03598014637827873, 1.167393445968628, -0.36600440740585327, 0.7768387198448181, 0.229020893573761, -0.049636270850896835, 0.3691805303096771, 0.3900867700576782, 0.5791642665863037, 0.1185082197189331, -0.20538699626922607, 0.04416721686720848, 0.45633289217948914, -0.3783406615257263, -0.5127110481262207, 0.5541266798973083, -0.7122891545295715, -0.4458611309528351, -0.921070396900177, -0.4526907503604889, -0.13843144476413727, 0.21538272500038147, 0.44655174016952515, 0.7348684072494507, -0.4623492658138275, 0.1901017278432846, 0.7069752812385559, 0.0695694088935852, 0.28672707080841064, 0.28154996037483215, -0.09933796525001526, -0.1454572230577469, 0.7349020838737488, 0.38313284516334534, 0.3158414661884308, 0.20817190408706665, 0.20089758932590485, 0.010755212046205997, -0.8112872242927551, -0.29409825801849365, 0.0933101624250412, -0.4948931634426117, 0.3195856809616089, -1.1020283699035645, -0.12880466878414154, -0.8727103471755981, -0.5169050097465515, 0.003895226866006851, -0.7898015975952148, -0.18828998506069183, 0.3635404706001282, 0.7115665674209595, 0.6555809378623962, 0.10923339426517487, 0.7349877953529358, -0.45085176825523376, -0.37575945258140564, 0.15806251764297485, 0.3368309736251831, -0.3480239808559418, -0.8231469392776489, 0.07617440074682236, -0.11952951550483704, -0.4014042019844055, -0.7124438881874084, 0.6134520173072815, 0.3830980658531189, 0.03509329631924629, 0.06857026368379593, -0.30374348163604736, 0.2400706559419632, -0.7284972667694092, 1.0128345489501953, -0.055502645671367645, -0.48926684260368347, 0.2981378436088562, -0.700233519077301, 0.33474433422088623, 0.6387355327606201, 0.30408650636672974, -1.275317668914795, -0.4478069841861725, -0.8795392513275146, -0.7263683676719666, 0.3560393452644348, 0.08886773884296417, 0.3473984897136688, 0.02780003286898136, 0.3969229459762573, 0.11566292494535446, 0.18438775837421417, -0.5317386984825134, -0.31199201941490173, -0.4007592499256134, -0.026535511016845703, 0.2341967672109604, -0.5593416690826416, -0.16743150353431702, -0.22440648078918457, 0.7501015067100525, 0.21843455731868744, 0.7673608660697937, 0.22734935581684113, 0.4060996174812317, 0.24748070538043976, 0.7373297214508057, 0.9225640892982483, 0.9129664897918701, -0.3898250460624695, 0.05025187134742737, -0.03423948213458061, -1.0045017004013062, -0.26049667596817017, 0.069102942943573, -0.1802692711353302, 0.0963321253657341, 0.3997567594051361, 0.32735756039619446, 0.007366630248725414, -0.28201767802238464, 0.3999949097633362, -0.08857537060976028, -0.5589718222618103, -0.5244157910346985, 0.38146892189979553, -0.4188908040523529, -0.1764654517173767, 0.5475130081176758, 0.666917622089386, 0.5149987936019897, -0.6145578026771545, 0.22249868512153625, 0.28342536091804504, -0.5927530527114868, -0.43268758058547974, 0.6279933452606201, 0.1321779489517212, -0.3852667510509491, 0.29957520961761475, -0.22988547384738922, -0.3811691999435425, 0.4751220643520355, 0.6683501601219177, 0.8767597079277039, -0.04694362357258797, 0.27914777398109436, 0.40780138969421387, 0.25664740800857544, -0.21840780973434448, 0.08001123368740082, 0.2852157950401306, -0.5058478116989136, -0.42146536707878113, -0.4100531339645386, -0.7057069540023804, -0.08839785307645798, -0.3284338116645813, 0.6523267030715942, -0.5022938847541809, 0.016374621540308, 0.303498238325119, -0.22540882229804993, 0.04129528999328613, 0.030205629765987396, -0.348543256521225, 0.6882477402687073, -0.5555166602134705, 0.4252409040927887, 0.8287771940231323, -0.23312495648860931, -0.28454652428627014, 0.1152314767241478, 0.31781908869743347, -0.7247059941291809, 0.38052427768707275, -0.15130005776882172, -0.37215107679367065, 0.3220122754573822, -1.031242847442627, -0.7435528039932251, 0.7324116826057434, -0.3908970355987549, -0.23374047875404358, 0.21215637028217316, -0.0632857009768486, 0.8536273837089539, -0.1648099422454834, 0.2401239424943924, 0.41673123836517334, 0.4171062409877777, -0.15334393084049225, -0.743028998374939, -0.4311540424823761, -0.554658830165863, -0.3849301040172577, 0.6029639840126038, -0.6572372317314148, 0.9995518326759338, -0.02478731796145439, -0.4590839445590973, -0.2822057604789734, 0.5699872970581055, -0.029706383123993874, 0.11551224440336227, 0.0370800644159317, 0.04107997938990593, 0.6539797186851501, -0.16947494447231293, 1.0114928483963013, -0.47112444043159485, -0.010286656208336353, 0.6993687748908997, -0.013943558558821678, 0.8376874327659607, 0.5559196472167969, -0.4113801419734955, 1.0887067317962646, 0.21136535704135895, -0.31975626945495605, 0.2647360563278198, 0.06775065511465073, -0.6155030727386475, 0.13650895655155182, -0.06154561787843704, -0.6034330725669861, 0.3164598047733307, 0.48722362518310547, -0.30327728390693665, -0.1769963949918747, 0.13738083839416504, 0.81902015209198, 0.2653957009315491, -0.27894970774650574, 0.762719988822937, 0.012825850397348404, -0.6692937612533569, 0.4809540808200836, 0.10636861622333527, 0.6817902326583862, -0.5292399525642395, -0.16774392127990723, -0.05084223672747612, -0.06981918215751648, -0.2863287627696991, -1.1468467712402344, 0.326292484998703, -0.08620314300060272, -0.10073623806238174, -0.5276767015457153, 0.8694616556167603, -0.3651452362537384, -0.3966967761516571, -0.6455590128898621, 0.2334083616733551, 0.25283369421958923, -0.17387820780277252, -0.4922774136066437, -0.16326452791690826, 0.050873517990112305, -0.19787512719631195, 0.5409317016601562, 0.5586994886398315, 0.05137269198894501, 0.7465234994888306, 0.6081582307815552, 0.18487633764743805, -0.10437514632940292, -0.23582443594932556, 0.6177544593811035, -0.2384185642004013, -0.4606325328350067, -0.9212209582328796, 0.15821510553359985, -0.18210607767105103, -0.637072741985321, 0.7249837517738342, 0.42937710881233215, 0.38749605417251587, -0.025403887033462524, 0.9977177381515503, -0.18328119814395905, 0.4910025894641876, -0.4152025580406189, 1.1528695821762085, -0.12405288964509964, 0.12741851806640625, -0.43709617853164673, -0.7686264514923096, -0.3669285774230957, 0.43250560760498047, -0.7666022181510925, -0.11124806851148605, 0.7941464781761169, 0.6813145875930786, 0.12560315430164337, 0.35603758692741394, -0.04687255993485451, 0.03852974623441696, 0.35719525814056396, -0.09788466989994049, 0.4627768099308014, -0.482307106256485, 0.9010949730873108, -0.34802788496017456, -0.3028903007507324, -0.3103949725627899, -1.0306974649429321, -0.6434795260429382, -0.7899351119995117, -0.7779066562652588, -0.5503021478652954, 0.2503368556499481, 0.7104830145835876, -0.0065739038400352, -0.6563789248466492, -0.052812643349170685, -0.06206006184220314, -0.3178882598876953, -0.3705371916294098, -0.2960934042930603, 0.5278803706169128, -0.4626324474811554, -0.5974794626235962, 0.10358667373657227, 0.331277996301651, 0.2122817486524582, 0.11659394204616547, 0.5173052549362183, -0.1877303421497345, 0.3058279752731323, 0.80207759141922, 0.4339134991168976, -0.08622254431247711, -0.45931172370910645, 0.2225264012813568, -0.21832747757434845, 0.3969748914241791, 0.8175195455551147, -0.433228462934494, 0.3450626730918884, 0.6484140157699585, 0.22107046842575073, 0.28570255637168884, 0.16826340556144714, 0.4710851311683655, -0.6147865653038025, -0.2076559066772461, 0.1812938004732132, 0.3503091633319855, 0.062339235097169876, -0.35644641518592834, 0.563538670539856, 0.40012702345848083, -1.1808058023452759, -0.9202657341957092, -0.25813060998916626, -1.0484707355499268, -0.2060331106185913, 1.3387176990509033, 0.3623085618019104, -0.22912490367889404, -0.32660943269729614, -0.6896025538444519, -0.0827367827296257, -0.7106782793998718, 1.1302212476730347, 1.0221130847930908, -0.5376333594322205, -0.35685575008392334, -0.837291419506073, 0.8303235173225403, 0.21487243473529816, -0.560646116733551, 0.20999322831630707, 0.26572081446647644, 0.2746843695640564, 0.17671296000480652, 0.7898797988891602, -0.4500912129878998, 0.26221925020217896, 0.23986588418483734, 0.37156790494918823, -0.005117454566061497, 0.043605972081422806, 0.0779431164264679, -0.04563412070274353, 0.19490647315979004, 0.48534443974494934 ]
http://arxiv.org/abs/2404.08617v1
http://arxiv.org/pdf/2404.08617v1
Synthetic Dataset Creation and Fine-Tuning of Transformer Models for Question Answering in Serbian
2024-04-12T17:27:54
2024-04-12T17:27:54
Aleksa Cvetanović, Predrag Tadić
cs.CL
cs.CL
In this paper, we focus on generating a synthetic question answering (QA) dataset using an adapted Translate-Align-Retrieve method. Using this method, we created the largest Serbian QA dataset of more than 87K samples, which we name SQuAD-sr. To acknowledge the script duality in Serbian, we generated both Cyrillic and Latin versions of the dataset. We investigate the dataset quality and use it to fine-tune several pre-trained QA models. Best results were obtained by fine-tuning the BERTi\'c model on our Latin SQuAD-sr dataset, achieving 73.91% Exact Match and 82.97% F1 score on the benchmark XQuAD dataset, which we translated into Serbian for the purpose of evaluation. The results show that our model exceeds zero-shot baselines, but fails to go beyond human performance. We note the advantage of using a monolingual pre-trained model over multilingual, as well as the performance increase gained by using Latin over Cyrillic. By performing additional analysis, we show that questions about numeric values or dates are more likely to be answered correctly than other types of questions. Finally, we conclude that SQuAD-sr is of sufficient quality for fine-tuning a Serbian QA model, in the absence of a manually crafted and annotated dataset.
[ -0.46347254514694214, -0.6431989669799805, 0.2971995770931244, 0.11042796075344086, -0.20025557279586792, 0.591029167175293, 0.011702174320816994, -0.3906708061695099, 0.3324759304523468, 0.3738604485988617, -1.1861439943313599, -0.4356081783771515, -0.15686528384685516, 0.3411017060279846, -0.19303016364574432, 1.2168365716934204, -0.25261664390563965, 0.4733363389968872, -0.10378512740135193, -0.18384352326393127, -0.48606929183006287, -0.394127756357193, -0.35069820284843445, -0.13984200358390808, 0.40160951018333435, 0.6106202602386475, 0.6541824340820312, 0.18067273497581482, 0.5887657999992371, 0.2776939570903778, 0.23532547056674957, 0.13972987234592438, -0.5899068713188171, 0.32706359028816223, -0.19886507093906403, -0.6466513276100159, -0.11304491013288498, -0.07238876819610596, 0.6414382457733154, 0.22033485770225525, -0.010844995267689228, 0.7852320671081543, -0.5779110193252563, 0.4853985905647278, -0.17871037125587463, 0.2529050409793854, -0.7316269874572754, -0.10480997711420059, 0.15563321113586426, 0.013758931308984756, -0.33508238196372986, -0.52187579870224, 0.19450582563877106, -0.7120615839958191, 0.5051301717758179, 0.06381820142269135, 1.0949007272720337, 0.29985469579696655, -0.354470819234848, -0.14147622883319855, -0.9477875232696533, 0.7114366888999939, -0.5029060244560242, 0.16814294457435608, 0.0668693259358406, 0.7213124632835388, -0.12630987167358398, -0.5880533456802368, -0.6041010022163391, 0.17491576075553894, -0.08653970062732697, 0.40487998723983765, -0.2849404513835907, -0.14202794432640076, 0.23185186088085175, 0.15173500776290894, -0.9018930792808533, -0.24410727620124817, -0.7411271929740906, -0.13023626804351807, 0.7126094698905945, 0.21396413445472717, 0.546961784362793, -0.24293632805347443, -0.058731015771627426, -0.17172442376613617, -0.7483742237091064, 0.36096373200416565, 0.7580482959747314, 0.3904971480369568, 0.21217350661754608, 0.8892784714698792, -0.5343195796012878, 0.5374096632003784, 0.12665441632270813, 0.25432682037353516, 0.04939374327659607, -0.629289984703064, -0.13543324172496796, -0.01080490741878748, 0.5971991419792175, 0.1564761996269226, 0.5597600340843201, -0.3885078430175781, 0.08993569016456604, 0.4131283164024353, 0.6257545948028564, -0.8227114677429199, -0.3600143790245056, 0.21139675378799438, 0.0025686505250632763, -0.17479175329208374, 0.3048606514930725, -0.5020143389701843, 0.39798301458358765, -0.44709131121635437, 0.4014638066291809, -0.3756357431411743, -0.0633697509765625, 0.1745941936969757, 0.00392676517367363, 0.5648615956306458, -0.05873793363571167, -0.5622079968452454, 0.2927224636077881, 0.44361579418182373, 0.3725642263889313, -0.1438778042793274, 0.07706095278263092, -0.3897396922111511, -0.3139785826206207, -0.37393918633461, 1.0257225036621094, -0.4241296947002411, -0.07529811561107635, -0.02025943621993065, 0.3030639886856079, -0.20644864439964294, -0.4395752549171448, 0.5580726861953735, -0.9303464889526367, 0.41509512066841125, -0.2214929610490799, -0.3209461569786072, -0.06616632640361786, 0.36929893493652344, -0.5769471526145935, 1.1114118099212646, 0.5124748349189758, -0.5179775357246399, 0.29662656784057617, -0.42184892296791077, -0.40818339586257935, 0.12743356823921204, 0.12480779737234116, -0.3516070246696472, -0.012921655550599098, 0.34011781215667725, 0.037185512483119965, -0.24230071902275085, 0.4145676791667938, -0.014505506493151188, -0.24528157711029053, 0.439237117767334, -0.03870265558362007, 0.6343920826911926, 0.12488493323326111, 0.05935823917388916, 0.19154950976371765, -0.7550714612007141, 0.6488658785820007, -0.08464892953634262, -0.12338673323392868, 0.016105934977531433, -0.19031797349452972, 0.03497377783060074, 0.6631792783737183, 0.049612052738666534, -0.9422743916511536, 0.15179210901260376, -0.606806218624115, 0.35762736201286316, 0.3101837933063507, 0.036889296025037766, 0.37304574251174927, -0.5191376209259033, 1.2795331478118896, -0.05291739106178284, 0.15670563280582428, 0.00915069691836834, -0.5311990976333618, -0.4823095500469208, -0.17685838043689728, 0.5780917406082153, 0.8111845850944519, -1.1962887048721313, 0.2662980854511261, -0.25338950753211975, -0.6557237505912781, -1.0986524820327759, -0.09638306498527527, 0.48092973232269287, 0.5975232720375061, 0.3973578214645386, 0.17387129366397858, -0.9710459113121033, -1.1233571767807007, -0.0924568697810173, -0.33609578013420105, -0.08832468092441559, 0.28522637486457825, 0.5626583695411682, 0.09462356567382812, 1.1629761457443237, -0.6257126927375793, -0.09616527706384659, -0.6645276546478271, 0.024017129093408585, 0.30271396040916443, 0.505131721496582, 0.4892120361328125, -0.9372902512550354, -0.6082699298858643, -0.2698814868927002, -0.47772982716560364, -0.11755291372537613, -0.06636553257703781, -0.44168704748153687, 0.20803676545619965, 0.10700724273920059, -0.6270543932914734, 0.2020762711763382, 0.6557388305664062, -0.38498473167419434, 0.7696794867515564, -0.10449551790952682, 0.4433151185512543, -1.4438976049423218, 0.09636855125427246, 0.02520807273685932, -0.2162429541349411, -0.8951417803764343, 0.28753364086151123, 0.2142178863286972, -0.22832265496253967, -0.6940511465072632, 0.46243223547935486, -0.15979036688804626, 0.020139988511800766, 0.009040797129273415, -0.0001859290641732514, 0.18974453210830688, 0.42679253220558167, -0.06484575569629669, 1.191934585571289, 0.2635807991027832, -0.2089081108570099, 0.4418470859527588, 0.8341286778450012, -0.6033370494842529, 0.42599329352378845, -1.076994776725769, 0.03622610867023468, -0.3537719249725342, 0.23742128908634186, -1.3054003715515137, -0.27765408158302307, 0.28219982981681824, -0.569775402545929, 0.2959049940109253, -0.525967001914978, -0.624325156211853, -0.5734376311302185, 0.06110202893614769, 0.6268266439437866, 0.5682905912399292, -0.2829248607158661, 0.4121834635734558, 0.33269935846328735, -0.3981989026069641, -0.34469640254974365, -0.382900208234787, -0.17233583331108093, -0.08089692145586014, -0.9899334907531738, 0.33393824100494385, -0.33717969059944153, -0.04966185614466667, -0.3003969192504883, -0.2357596904039383, -0.34568119049072266, -0.13229818642139435, 0.16665081679821014, 0.7267938852310181, -0.37183454632759094, 0.12155438959598541, 0.23372389376163483, -0.05184386670589447, 0.06756334751844406, -0.11197644472122192, 0.6530112624168396, -0.17896172404289246, 0.03853912651538849, -0.45596542954444885, 0.4836500287055969, 0.47174516320228577, -0.365543007850647, 0.7952302098274231, 0.43094581365585327, -0.029611827805638313, 0.066305011510849, -0.4886138141155243, -0.1779741793870926, -0.414702445268631, 0.18599005043506622, -0.630516529083252, -0.7148545980453491, 0.907242476940155, 0.2759714722633362, -0.19124078750610352, 0.4385640621185303, 0.3860054612159729, -0.3606942296028137, 1.3377642631530762, 0.3695908486843109, 0.04339065030217171, 0.25247862935066223, -0.4737797677516937, 0.2710023522377014, -0.750235378742218, -0.4346221387386322, -0.7812008261680603, -0.4366315007209778, -0.8372273445129395, -0.15020695328712463, 0.4663386344909668, -0.25118017196655273, -0.10652302205562592, 0.5495900511741638, -0.36614328622817993, 0.583171010017395, 0.5570144653320312, 0.19495020806789398, 0.13883206248283386, -0.2985862195491791, 0.23899886012077332, -0.17074720561504364, -0.8632410168647766, -0.5308693051338196, 1.030275821685791, -0.13442102074623108, 0.7075743079185486, 0.03036436438560486, 0.460636705160141, -0.10255187004804611, 0.029695061966776848, -0.6844140887260437, 0.32633790373802185, 0.03512382507324219, -0.8720276355743408, -0.31030362844467163, -0.4528515338897705, -0.7143551111221313, 0.0308186337351799, -0.3366718888282776, -0.31200212240219116, 0.05407792702317238, -0.04079751670360565, -0.510513424873352, -0.1505083441734314, -0.8972057700157166, 1.0045171976089478, 0.0856686532497406, 0.06186862289905548, 0.15606428682804108, -0.8718971014022827, 0.4187034070491791, 0.00861041247844696, -0.22928853332996368, -0.1906605064868927, 0.33559679985046387, 0.6418723464012146, -0.08147142827510834, 0.34704282879829407, -0.03447301685810089, -0.08603202551603317, 0.261086642742157, 0.04522521793842316, 0.3978111743927002, 0.4472169876098633, -0.18271371722221375, -0.15590466558933258, 0.6588305830955505, -0.6533488631248474, -0.8447219729423523, 0.46923109889030457, -0.9291437268257141, -0.5253956317901611, -0.30651184916496277, -0.9380334615707397, -0.3103969991207123, 0.11527280509471893, 0.4737095832824707, 0.6058229804039001, -0.3977280557155609, 0.101580910384655, 0.7314444780349731, -0.2650652825832367, -0.04712706804275513, 0.7942818403244019, 0.03345062956213951, -0.2907484471797943, 0.6256237626075745, 0.2069997936487198, 0.4568018615245819, 0.2780977189540863, -0.19495312869548798, -0.4821914732456207, -0.3959682881832123, -0.8128965497016907, 0.330188125371933, -0.23777158558368683, -0.5580801963806152, -0.5723420977592468, -0.42911604046821594, -0.64837247133255, 0.11179078370332718, -0.24590668082237244, -0.6802565455436707, -0.2698811888694763, -0.1268993318080902, 0.27856582403182983, 0.37651002407073975, 0.5139884948730469, 0.30976244807243347, -0.7362085580825806, 0.7990599274635315, -0.023110559210181236, 0.26868945360183716, -0.7016473412513733, -0.650853157043457, -0.13690422475337982, 0.511863112449646, -0.16478602588176727, -0.8079941272735596, 0.6283426284790039, 0.17632107436656952, 0.3875906765460968, -0.16723600029945374, 0.5020143985748291, 0.6616232991218567, -0.5178062915802002, 0.6993666291236877, -0.29808223247528076, -0.6795952916145325, 0.7130390405654907, -0.4401722252368927, 0.6138678789138794, 0.9110749959945679, 0.5577096939086914, -0.32543709874153137, -0.6879611611366272, -0.708617091178894, -0.5220097303390503, 0.969427764415741, 0.42276090383529663, 0.3298666477203369, -0.10502565652132034, 0.49730774760246277, 0.18695349991321564, 0.15877476334571838, -0.3487367331981659, -0.19836804270744324, -0.19461749494075775, -0.4144613742828369, -0.02439630962908268, -0.053937822580337524, -0.04788142442703247, -0.5056266784667969, 0.9683470129966736, -0.35723182559013367, 0.20189283788204193, 0.11703315377235413, -0.28227293491363525, -0.22942115366458893, 0.40539199113845825, 0.721193253993988, 0.7775972485542297, -0.2952415645122528, -0.36096516251564026, 0.1546308994293213, -0.3424716591835022, 0.4161984920501709, 0.004383346531540155, -0.4922042787075043, 0.09733413904905319, -0.17466117441654205, 0.5863267183303833, 0.04150770977139473, -0.9014878869056702, 0.2149408459663391, -0.3871806263923645, -0.24529904127120972, -0.4715341329574585, 0.14452242851257324, -0.29786014556884766, 0.2565198540687561, 0.389691025018692, 0.0738537535071373, 0.01888996735215187, -0.7116420269012451, 0.27140167355537415, 0.5553678870201111, -0.3140511214733124, -0.5985403656959534, 0.3848353922367096, -0.20248715579509735, -0.3138909637928009, 0.7928789854049683, -0.028618600219488144, -0.7435583472251892, 0.789428174495697, 0.6262602210044861, 0.4134870171546936, -0.23931407928466797, 0.8391191959381104, 0.45784151554107666, 0.21190448105335236, -0.08272877335548401, 0.7552661895751953, 0.1244126632809639, -0.7981409430503845, -0.5213760733604431, -0.5439550280570984, -0.38158470392227173, -0.19926714897155762, -1.1347702741622925, 0.11079363524913788, -0.08166750520467758, -0.07976343482732773, -0.057790957391262054, 0.4195224344730377, -0.7201594114303589, 0.4016283452510834, -0.48961836099624634, 0.9481260776519775, -0.9160787463188171, 0.8488389253616333, 0.748092770576477, -0.4964534044265747, -0.827431321144104, -0.3160732388496399, -0.581916332244873, -0.7431343793869019, 0.7663081884384155, -0.04450370743870735, 0.10210829228162766, 0.32057270407676697, -0.5062423348426819, -0.9889483451843262, 0.9427562952041626, 0.4746324419975281, -0.20968294143676758, -0.2947077453136444, 0.4195180833339691, 0.9517019391059875, -0.4632143974304199, 0.25258126854896545, 0.8695738315582275, 0.38217929005622864, 0.31764519214630127, -0.5688593983650208, -0.12892527878284454, -0.5051180720329285, -0.07758903503417969, 0.23930425941944122, -0.49465125799179077, 0.35254967212677, -0.19059830904006958, -0.32835853099823, 0.5948386192321777, 0.5455032587051392, 0.16537722945213318, 0.009821600280702114, -0.054570768028497696, 0.33514195680618286, 0.4043790400028229, -0.44107764959335327, 0.990691602230072, -0.3284529149532318, 0.1307336837053299, 1.0846068859100342, -0.32599684596061707, 0.7044268846511841, 0.520188570022583, -0.09502110630273819, 0.570147693157196, 0.41522371768951416, -0.1735183596611023, 0.4793214201927185, 0.306230753660202, -0.028525592759251595, -0.4229297339916229, 0.018806610256433487, -0.08497334271669388, 0.5210705995559692, -0.04968320205807686, -0.10040466487407684, -0.23821352422237396, 0.2065296322107315, -0.4161596894264221, 0.10287299007177353, 0.006702987942844629, 1.0357027053833008, -0.372756689786911, -1.0872931480407715, 0.47580960392951965, -0.15598024427890778, 0.20609842240810394, -0.581466019153595, 0.18032604455947876, -0.36515867710113525, 0.019283119589090347, 0.011785568669438362, -0.8747295141220093, 0.5377551913261414, 0.09530533850193024, -0.6860780715942383, -0.3122596740722656, 0.40908411145210266, -0.7510080933570862, -1.0274841785430908, -0.29068368673324585, 0.523737907409668, 0.0009021726436913013, -0.09739342331886292, -0.5863767862319946, -0.21564804017543793, -0.12189387530088425, 0.2680538594722748, 0.3055521547794342, 0.2781856060028076, 0.01583241857588291, 0.7784944176673889, 0.6142980456352234, 0.26812833547592163, 0.2471109926700592, 0.07497751712799072, 0.8088647723197937, -0.37370914220809937, -0.36762505769729614, -0.4152749180793762, 0.5802433490753174, 0.13361921906471252, -0.3400242030620575, 0.6522676944732666, 0.6750721335411072, 0.8496173024177551, -0.40022990107536316, 0.5999718904495239, 0.1259600818157196, 0.8127105236053467, -0.414930135011673, 0.6403920650482178, -0.06248392164707184, -0.08943167328834534, -0.22337108850479126, -0.8381971716880798, -0.24938876926898956, 0.44110092520713806, -0.19050249457359314, -0.27957120537757874, 0.38847091794013977, 1.0462130308151245, -0.10887730121612549, 0.18693259358406067, 0.3023412823677063, 0.006101149134337902, 0.38288962841033936, 0.5016763806343079, 0.9265355467796326, -1.1041479110717773, 0.8168610334396362, -0.1764393448829651, 0.1663871705532074, 0.11446768790483475, -0.3507702350616455, -0.7928848266601562, -0.7015414237976074, -0.3587229549884796, -0.3319467306137085, 0.09943391382694244, 0.8274829983711243, 0.6413551568984985, -1.167906403541565, 0.008342204615473747, 0.08148296177387238, 0.03390325978398323, -0.12047383934259415, -0.2694169282913208, 0.07861748337745667, -0.5206679701805115, -0.7204782962799072, 0.38723552227020264, -0.1731538474559784, 0.16284878551959991, -0.08739854395389557, 0.15423212945461273, -0.33569279313087463, 0.19868993759155273, 0.47237613797187805, 0.3508191704750061, -0.5841063261032104, -0.35614749789237976, 0.7444440722465515, 0.111149862408638, 0.23540356755256653, 0.946236789226532, -1.0865387916564941, 0.4453607201576233, 0.6499763131141663, 0.5257946252822876, 0.43259772658348083, 0.4443681240081787, 1.024776577949524, -0.8288068771362305, -0.14031094312667847, 0.3665889501571655, 0.1921951323747635, 0.2068208009004593, -0.22506068646907806, 0.33541926741600037, -0.22319191694259644, -0.530600905418396, -0.7537238001823425, 0.22922177612781525, -1.061954140663147, -0.01828085258603096, 1.0659728050231934, -0.19224245846271515, -0.19786511361598969, -0.39603227376937866, -0.5919020771980286, 0.44711026549339294, -0.304007887840271, 1.050320029258728, 0.7333988547325134, 0.045036640018224716, -0.02492417022585869, -0.3552085757255554, 0.5656711459159851, 0.3413582146167755, -1.0281153917312622, -0.061540331691503525, 0.4692382216453552, 0.3945624530315399, -0.029351230710744858, 0.07452111691236496, -0.07575210183858871, 0.5685314536094666, -0.548272967338562, -0.20955535769462585, -0.0406130775809288, -0.5537651181221008, -0.18068401515483856, 0.06672443449497223, -0.43335795402526855, -0.1174490749835968 ]
http://arxiv.org/abs/2404.08727v1
http://arxiv.org/pdf/2404.08727v1
Can LLMs substitute SQL? Comparing Resource Utilization of Querying LLMs versus Traditional Relational Databases
2024-04-12T16:44:28
2024-04-12T16:44:28
Xiang Zhang, Khatoon Khedri, Reza Rawassizadeh
cs.DB
cs.DB, cs.AI, cs.CL, 68-04, H.2.m
Large Language Models (LLMs) can automate or substitute different types of tasks in the software engineering process. This study evaluates the resource utilization and accuracy of LLM in interpreting and executing natural language queries against traditional SQL within relational database management systems. We empirically examine the resource utilization and accuracy of nine LLMs varying from 7 to 34 Billion parameters, including Llama2 7B, Llama2 13B, Mistral, Mixtral, Optimus-7B, SUS-chat-34B, platypus-yi-34b, NeuralHermes-2.5-Mistral-7B and Starling-LM-7B-alpha, using a small transaction dataset. Our findings indicate that using LLMs for database queries incurs significant energy overhead (even small and quantized models), making it an environmentally unfriendly approach. Therefore, we advise against replacing relational databases with LLMs due to their substantial resource utilization.
[ -0.08576574921607971, -0.8138339519500732, 0.7906257510185242, 0.23934069275856018, -0.2072286754846573, 0.04691827669739723, -0.22713333368301392, -0.6311814188957214, 0.06062666326761246, 0.9659874439239502, -0.38317209482192993, -0.3840715289115906, 0.23532135784626007, 0.3674277663230896, -0.40937677025794983, 0.32989585399627686, -0.17474320530891418, 0.1783667802810669, -0.4285648763179779, -0.10773026198148727, -0.5748335719108582, -0.7074824571609497, -0.37050506472587585, -0.3405612111091614, 0.345731258392334, 0.10429524630308151, 0.9229735732078552, 0.5609540343284607, 0.6788200736045837, 0.3411272168159485, -0.11012432724237442, 0.15080371499061584, -0.35079747438430786, 0.22989337146282196, -0.2946248948574066, -0.47786739468574524, -0.450412780046463, -0.02705221436917782, 0.5816823244094849, 0.8398475646972656, -0.4717530906200409, 0.3557176887989044, 0.10482069849967957, 1.109745740890503, -0.6379619836807251, 0.4155253767967224, -0.9839842319488525, 0.19364425539970398, -0.36485081911087036, -0.11933496594429016, -0.5914832949638367, -0.3843959867954254, -0.13538572192192078, -0.5441605448722839, -0.09072885662317276, 0.43684160709381104, 0.5801482796669006, 0.4431654214859009, -0.34788599610328674, -0.3001638352870941, -1.0126757621765137, 1.0136734247207642, -0.8454089164733887, 0.33018332719802856, 0.26857224106788635, 0.27526023983955383, -0.3495334982872009, -0.3700668513774872, -0.6042888760566711, -0.4320753514766693, -0.4069001078605652, -0.10776758193969727, -0.07164507359266281, 0.4074242413043976, 0.526069700717926, 0.33501365780830383, -0.6257372498512268, 0.4506434202194214, -0.17803801596164703, -0.010662581771612167, 0.7047584056854248, 0.6384913921356201, 0.16036561131477356, -0.43486288189888, -0.27003079652786255, 0.19289711117744446, -0.931925892829895, -0.26929783821105957, 0.04821297898888588, 0.47598281502723694, 0.2539707124233246, 0.7875473499298096, -0.07174358516931534, 1.1404932737350464, -0.3981435298919678, -0.1586325764656067, -0.11304371803998947, -0.4814157485961914, -0.6963208317756653, -0.03794140741229057, 0.9119736552238464, 0.42928940057754517, 0.23205600678920746, -0.27083903551101685, -0.28541773557662964, -0.05086531862616539, 0.12977425754070282, -0.469870924949646, -0.08392073214054108, 0.2285054475069046, -0.38623321056365967, 0.005706624127924442, -0.20475205779075623, -0.5031530261039734, -0.6194273233413696, -0.41984227299690247, 0.24336543679237366, -0.36390599608421326, -0.19287744164466858, -0.04445322975516319, 0.25610387325286865, 0.33502084016799927, 0.2876393496990204, -0.6276010274887085, 0.5439081192016602, 0.46518123149871826, 0.8583233952522278, -0.22559191286563873, 0.06463319808244705, -0.0487636998295784, 0.2930549085140228, -0.489002525806427, 0.6364667415618896, -0.4798957109451294, -0.7642112374305725, -0.3228403627872467, -0.17745721340179443, -0.08689531683921814, -1.051491379737854, 0.24954211711883545, -0.7175436615943909, 0.03875107318162918, -0.49182066321372986, -0.7272260189056396, -0.04563096910715103, -0.2162589579820633, -1.0431650876998901, 1.1177479028701782, 0.1513717621564865, -0.2687559425830841, 0.24471911787986755, -0.5838293433189392, -0.3001514971256256, 0.028641624376177788, -0.1411575973033905, -0.30429843068122864, 0.028502896428108215, -0.01519276574254036, 0.35014036297798157, -0.8393742442131042, 0.026264827698469162, -0.31401294469833374, -0.6909818053245544, 0.5600031614303589, -0.23054257035255432, 0.6762648224830627, 0.40779873728752136, -0.04707491025328636, -0.4323720335960388, -0.6787102222442627, 0.21498411893844604, 0.13077925145626068, -0.44392043352127075, -0.37727636098861694, 0.3351321220397949, -0.02114197611808777, 0.04506793990731239, 0.14825253188610077, -0.38951626420021057, 0.18855807185173035, -0.4409085214138031, 0.32443010807037354, 0.5660315752029419, 0.019402695819735527, 0.6283772587776184, -0.24354295432567596, 0.4730921983718872, -0.23299261927604675, 0.0804520696401596, 0.17653433978557587, -0.09494458884000778, -0.4802478551864624, -0.05747569352388382, 0.14522723853588104, 0.6771057844161987, -0.6136776804924011, 0.23368020355701447, -0.161630779504776, -0.5427937507629395, -0.21244770288467407, 0.4377620220184326, 0.12145206332206726, 0.26763343811035156, 0.3671747148036957, 0.18603579699993134, -0.7817893028259277, -0.7667275667190552, -0.7444697618484497, -0.3509353697299957, -0.09503811597824097, 0.7642700672149658, 0.2420937865972519, 0.1081843376159668, 1.0027637481689453, -0.20003102719783783, -0.305247962474823, 0.054431162774562836, -0.36226174235343933, 0.5692349672317505, 0.3152829706668854, 0.5444727540016174, -0.5283991694450378, -0.6295343041419983, 0.014147097244858742, -1.129846453666687, -0.2159108966588974, -0.3661923408508301, -0.021178560331463814, 0.7113315463066101, 0.45349636673927307, -0.870535135269165, -0.013438397087156773, 0.43252867460250854, -0.09580434113740921, 0.5046312212944031, -0.021652568131685257, 0.1535044014453888, -0.6325960755348206, 0.06933615356683731, 0.04096322879195213, 0.02177480421960354, -0.46616050601005554, 0.07255280762910843, 0.10115569084882736, -0.20625263452529907, -0.5058982968330383, 0.35350489616394043, -1.0490702390670776, -0.48826271295547485, 0.03416532650589943, 0.10639407485723495, 0.04630779102444649, 0.021243270486593246, -0.14027102291584015, 1.0510542392730713, 0.3831706941127777, -0.7437172532081604, 0.5843949317932129, -0.050783656537532806, -0.5185310244560242, 0.5201630592346191, -0.5690890550613403, 0.2784506380558014, -0.04590236023068428, 0.0978798046708107, -0.668178915977478, -0.06400984525680542, -0.0019275646191090345, -0.005895022302865982, 0.2104199230670929, -0.20827196538448334, -0.8564301133155823, -0.2546655237674713, -0.28293702006340027, -0.14710713922977448, 0.5979650020599365, -0.4456455111503601, 0.6692617535591125, 0.26352787017822266, -0.04919613525271416, -0.37062254548072815, -0.9720216393470764, 0.42409053444862366, -0.26205092668533325, -0.5902718901634216, 0.33275464177131653, 0.36968597769737244, -0.5424696803092957, 0.13986143469810486, -0.21754208207130432, -0.005358797498047352, 0.19324007630348206, 0.13475485146045685, 0.4999353885650635, -0.4003668427467346, 0.24326737225055695, -0.30802568793296814, 0.18302853405475616, 0.28375333547592163, -0.03508273884654045, 0.3694082200527191, 0.14052465558052063, -0.5891979932785034, -0.4645446240901947, 0.15505822002887726, 0.6170064210891724, 0.09035416692495346, 1.1693781614303589, 0.03363537788391113, -0.393711656332016, 0.05390615016222, -0.7212968468666077, -0.15343043208122253, -0.49165764451026917, 0.22883617877960205, -0.15026389062404633, -0.5869988203048706, 0.45529481768608093, -0.003625705139711499, 0.13850753009319305, 0.4116343855857849, 0.2554566264152527, -0.4131689667701721, 0.716779887676239, 0.23751050233840942, -0.06135132163763046, 0.5190907716751099, -0.16051402688026428, 0.12101917713880539, -0.6963256597518921, -0.14620321989059448, -0.5668866038322449, -0.19618193805217743, -0.6591038107872009, -0.5882142782211304, 0.48655062913894653, 0.11985930800437927, -0.28687596321105957, 0.30884334444999695, -0.3790627419948578, 0.6702235341072083, 0.15662430226802826, 0.0189663078635931, 0.5250529050827026, 0.2987818717956543, 0.35244813561439514, -0.2697393596172333, -0.5916975736618042, -0.7106519937515259, 1.0414706468582153, -0.040866438299417496, 1.1996649503707886, 0.34463024139404297, 0.5500040054321289, 0.12694039940834045, 0.3795758783817291, -0.5275328755378723, 0.8423347473144531, -0.12831628322601318, -0.5607096552848816, -0.5221947431564331, -0.7325251698493958, -0.9255126118659973, 0.4327287971973419, -0.20967307686805725, -0.5772294402122498, -0.030226919800043106, 0.15023021399974823, -0.19345669448375702, 0.6023861765861511, -0.8342925906181335, 0.6824671626091003, -0.4367202818393707, -0.3609899878501892, -0.43282273411750793, -0.11907339841127396, 0.32468318939208984, -0.22169658541679382, 0.21113935112953186, -0.19983378052711487, -0.29225847125053406, 0.6154031753540039, -0.5075144171714783, 0.7242857217788696, -0.284097820520401, 0.0026170900091528893, 0.488796591758728, 0.29318758845329285, 0.7545833587646484, -0.2584068477153778, -0.701076865196228, 0.14222660660743713, 0.03393550217151642, -0.290650337934494, -0.6890001893043518, 0.8131872415542603, -0.44957053661346436, -0.7518085241317749, -0.6304662227630615, -0.37242963910102844, -0.3407169282436371, 0.028628705069422722, -0.15199816226959229, -0.03388349339365959, -0.2734600901603699, 0.19054551422595978, 0.4089227020740509, -0.346662700176239, 0.4257549047470093, 0.7522259950637817, -0.28888484835624695, 0.22785614430904388, 0.7999205589294434, 0.4962424635887146, 0.33246180415153503, 0.34939584136009216, 0.01987815834581852, -0.5236936211585999, -0.6144667863845825, -0.30103832483291626, 0.4483657479286194, -0.3476122319698334, -0.4482801854610443, -0.5800994038581848, -0.029214801266789436, -0.12642525136470795, 0.0032050420995801687, -0.3993181586265564, -0.24818576872348785, -0.48694783449172974, 0.035197123885154724, 0.6130853295326233, 0.7259294986724854, 0.37947240471839905, 0.16270551085472107, -0.9399288892745972, -0.033825065940618515, 0.0911567360162735, 0.5292527079582214, -0.020107796415686607, -0.2704256772994995, -0.14529834687709808, 0.05590025708079338, -0.0980677455663681, -1.0265045166015625, 0.25910821557044983, 0.25052469968795776, 0.8452788591384888, -0.2610153555870056, 0.1578686535358429, 0.5937542915344238, -0.36789947748184204, 0.7775618433952332, -0.004717247560620308, -0.8316347002983093, 0.4868682324886322, -0.2324983924627304, 0.10697346925735474, 0.28965118527412415, 0.39639461040496826, -0.4312419593334198, -0.1809873729944229, -0.3069038987159729, -0.712658703327179, 0.7036969661712646, 0.2390626221895218, -0.0013415840221568942, 0.19435036182403564, 0.5697035789489746, -0.27231091260910034, 0.31585124135017395, -0.6839917898178101, -0.27920177578926086, 0.318844199180603, 0.15753187239170074, 0.12044906616210938, -0.3274523615837097, 0.1889483481645584, -0.02001439407467842, 0.5364896059036255, -0.00006632783333770931, 0.15206559002399445, -0.16521494090557098, -0.2613978087902069, -0.126662015914917, 0.3449680209159851, 0.06948741525411606, 0.7483660578727722, -0.3283945918083191, -0.12509305775165558, 0.57545006275177, -0.13381993770599365, 0.031923506408929825, -0.09309317171573639, 0.03130049258470535, 0.1869419664144516, 0.04827312007546425, 0.47604379057884216, 0.052555520087480545, -0.749101459980011, -0.19848114252090454, 0.18221452832221985, 0.1888526976108551, -0.3413429856300354, 0.15874424576759338, 0.4300406873226166, 0.1443605273962021, 0.18523406982421875, -0.21118010580539703, 0.1500241905450821, -0.6281322240829468, -0.39130640029907227, 0.7376613020896912, 0.06053098663687706, 0.10653571039438248, 0.5692726373672485, 0.14870497584342957, -0.16289106011390686, 0.7330946326255798, -0.0037669807206839323, 0.10289232432842255, 0.440288782119751, 0.31095758080482483, 0.33966654539108276, -0.31206461787223816, -0.06577657163143158, 0.22368574142456055, 0.44576212763786316, -0.10974610596895218, 0.48049604892730713, 0.23870065808296204, -0.6226166486740112, -0.7848551273345947, -0.6822926998138428, -0.6972423791885376, 0.01290363073348999, -0.5670241117477417, 0.07713095098733902, -0.6304246187210083, -0.2646314799785614, 0.07216397672891617, 0.0015692090382799506, -0.541858971118927, -0.10328800976276398, -0.034727949649095535, 0.8552123308181763, -0.6409895420074463, 0.7795314788818359, 0.9435597658157349, -0.3743567168712616, -0.7184327244758606, -0.4689776301383972, 0.2482384443283081, -0.6463744044303894, 0.5966443419456482, -0.40258580446243286, -0.1607988327741623, -0.3085567355155945, -0.3493524193763733, -0.9568790197372437, 1.2852216958999634, 0.6565993428230286, -0.7434278130531311, -0.04722253605723381, 0.4450570344924927, 0.6572240591049194, 0.006509072612971067, 0.08317245543003082, 0.6831085085868835, 0.37760159373283386, -0.11495880037546158, -1.061879277229309, 0.18118974566459656, 0.264388769865036, 0.469165563583374, 0.3673432171344757, -0.5301743149757385, 0.8941742777824402, -0.24152329564094543, -0.5564101934432983, 0.009478815831243992, 0.5101783275604248, 0.38339585065841675, 0.019524715840816498, 0.5318764448165894, 0.12338979542255402, 0.8428505659103394, 0.03728804737329483, 1.1423022747039795, -0.4863501191139221, 0.4207543432712555, 0.7416271567344666, -0.9382790923118591, 0.7931286096572876, 0.7405429482460022, -0.9219633340835571, 0.2877039909362793, 0.5347626209259033, 0.1069943904876709, 0.008053343743085861, 0.263171911239624, -0.32867518067359924, -0.145171657204628, -0.016180582344532013, -0.3119436204433441, 0.219197615981102, 0.5514227747917175, -0.19349117577075958, -0.15874646604061127, -0.4057510197162628, -0.0034624957479536533, 0.22393035888671875, -0.11556173115968704, 0.6635845899581909, 0.3555169105529785, -0.3543218970298767, 0.7985356450080872, 0.06533046066761017, 0.4879070520401001, -0.35000988841056824, 0.014608779922127724, -0.27565664052963257, 0.0254829041659832, -0.4008937478065491, -0.8987946510314941, 0.47031012177467346, 0.031031159684062004, 0.01515233889222145, -0.30715471506118774, 0.7272199392318726, -0.03308465704321861, -0.4153607487678528, 0.21494600176811218, 0.6890337467193604, 0.17338134348392487, -0.37390458583831787, -0.8663405776023865, 0.06259394437074661, -0.1452116072177887, -0.3200070858001709, 0.5166115164756775, 0.35835006833076477, 0.10101717710494995, 0.7947415113449097, 0.6285387873649597, 0.32722538709640503, -0.15444020926952362, -0.021654969081282616, 0.7347018122673035, -0.8794913291931152, -0.22277763485908508, -0.9867337346076965, -0.042944733053445816, -0.12952056527137756, 0.3098587095737457, 0.9069897532463074, 0.6020824313163757, 0.5115175247192383, -0.013783256523311138, 0.6007668375968933, 0.13205480575561523, 0.6376370191574097, -1.0592167377471924, 0.46009090542793274, -0.3799746334552765, 0.9251776933670044, -0.36342111229896545, -1.3545938730239868, -0.0846930518746376, 0.5672023892402649, -0.3134913742542267, 0.13861411809921265, 0.6204060912132263, 1.0912649631500244, 0.18499508500099182, 0.11519104987382889, 0.3066313862800598, 0.4408617615699768, 0.19692353904247284, 0.3309548795223236, 0.867837131023407, -0.1317654848098755, 0.45230695605278015, -0.05696630850434303, 0.11641404777765274, -0.3591559827327728, -0.7681375741958618, -0.42680272459983826, -0.06800228357315063, -0.2276274412870407, -0.5244656801223755, 0.1346236765384674, 0.8997732996940613, 0.2784584164619446, -0.8119956254959106, -0.790974497795105, 0.1296127736568451, 0.2372308373451233, -0.1775340586900711, -0.2660703659057617, 0.18826302886009216, -0.2871858477592468, -0.48104625940322876, 0.43306517601013184, 0.28706425428390503, 0.09393348544836044, -0.5204569101333618, 0.0783499926328659, -0.15530414879322052, -0.09911122918128967, 0.70661461353302, 0.22712476551532745, -0.6502156853675842, -0.17243903875350952, 0.42199772596359253, -0.46989086270332336, 0.08339059352874756, 0.8163448572158813, -0.7931773066520691, -0.025699028745293617, 0.3290838897228241, 0.4486504793167114, 0.477405846118927, -0.131755992770195, 0.43514978885650635, -0.5823767185211182, 0.001540430006571114, 0.3086388409137726, 0.4906715750694275, 0.39790335297584534, -0.4817233681678772, 0.6232980489730835, 0.3488507568836212, -0.6358503699302673, -0.9057695865631104, 0.10185596346855164, -0.9727369546890259, -0.3148447573184967, 1.233946681022644, 0.23540808260440826, -0.3116043210029602, -0.20211932063102722, -0.13494551181793213, -0.23818805813789368, -0.236188143491745, 0.4112186133861542, 0.5321487188339233, -0.6732770800590515, -0.1516963094472885, -0.8030792474746704, 0.4655318558216095, 0.531854510307312, -0.7419921159744263, 0.22083497047424316, 0.74769127368927, 0.3060329258441925, -0.008921606466174126, 0.7954066395759583, -0.17807520925998688, 0.060141757130622864, -0.023270247504115105, 0.07969285547733307, 0.14042837917804718, 0.3363662660121918, -0.16334307193756104, -0.1013822928071022, 0.25817954540252686, 0.13088549673557281 ]
http://arxiv.org/abs/2404.08579v1
http://arxiv.org/pdf/2404.08579v1
Small Models Are (Still) Effective Cross-Domain Argument Extractors
2024-04-12T16:23:41
2024-04-12T16:23:41
William Gantt, Aaron Steven White
cs.CL
cs.CL, cs.AI, cs.LG
Effective ontology transfer has been a major goal of recent work on event argument extraction (EAE). Two methods in particular -- question answering (QA) and template infilling (TI) -- have emerged as promising approaches to this problem. However, detailed explorations of these techniques' ability to actually enable this transfer are lacking. In this work, we provide such a study, exploring zero-shot transfer using both techniques on six major EAE datasets at both the sentence and document levels. Further, we challenge the growing reliance on LLMs for zero-shot extraction, showing that vastly smaller models trained on an appropriate source ontology can yield zero-shot performance superior to that of GPT-3.5 or GPT-4.
[ -0.37767738103866577, -0.7000952363014221, 1.0104879140853882, -0.5391257405281067, -0.25351831316947937, -0.22877849638462067, 0.05656122788786888, -0.5866031646728516, -0.19415108859539032, 0.3690328001976013, -0.5227376818656921, -0.2145225554704666, -0.6775854825973511, 0.13419340550899506, -0.5573501586914062, 1.0369236469268799, -0.010688039474189281, -0.20821309089660645, -0.15910927951335907, -0.12517252564430237, -0.4043895900249481, -0.4138838052749634, -0.9448740482330322, -0.2529400885105133, 0.651445746421814, 0.6564164161682129, 0.28342387080192566, 0.6914283037185669, 0.327192485332489, 0.0123232901096344, 0.22885513305664062, -0.10470835864543915, -0.33563360571861267, -0.08965099602937698, -0.6178087592124939, -0.5610545873641968, -0.39048099517822266, 0.12186764925718307, 0.4014529883861542, 0.38089922070503235, 0.08614664524793625, 0.34095174074172974, -0.21042749285697937, 0.06892702728509903, -0.8608432412147522, -0.15057460963726044, -0.8331966400146484, 0.14385555684566498, -0.3572613298892975, -0.14334748685359955, -0.5408369302749634, 0.013622763566672802, 0.4291878342628479, -0.6133913993835449, 0.12831544876098633, -0.07570654153823853, 1.1108461618423462, -0.0177890807390213, -0.41891512274742126, -0.2697907090187073, -0.750311017036438, 0.8519876003265381, -0.9702951908111572, -0.09230705350637436, 0.08947756141424179, 0.1537565141916275, 0.1239786371588707, -1.0042970180511475, -0.7780265212059021, 0.2619466185569763, 0.11355626583099365, 0.17056477069854736, -0.735738217830658, -0.04493479058146477, 0.3558427393436432, -0.06312595307826996, -0.6044203639030457, 0.22525140643119812, -0.3011366128921509, -0.0028187576681375504, 0.6184354424476624, 0.17452800273895264, 0.3830418288707733, -0.491485059261322, -0.345983624458313, -0.03514869883656502, -0.8138546347618103, -0.16454985737800598, -0.055275265127420425, 0.3006322979927063, 0.03171267360448837, 0.5842936635017395, 0.0523233525454998, 0.7142577171325684, 0.21164609491825104, -0.042597074061632156, -0.6373050212860107, -0.5719729065895081, -0.48493361473083496, -0.12744462490081787, 0.6333516240119934, 0.2226255089044571, 0.2758302390575409, -0.49477419257164, 0.263132244348526, -0.16589586436748505, 0.23719047009944916, -0.9932634234428406, -0.060417041182518005, 0.2754669785499573, -0.4681699275970459, -0.21395207941532135, 0.06124230474233627, -0.9435603618621826, -0.23048263788223267, 0.05900353193283081, 0.6916840672492981, -0.31971651315689087, 0.13350427150726318, 0.12232350558042526, -0.5009564161300659, 0.6432585120201111, 0.47565957903862, -0.5831930637359619, 0.2254343330860138, 0.7057042121887207, 0.7780665755271912, -0.2630479335784912, 0.16818958520889282, -0.8130664825439453, 0.4619402587413788, -0.4602692425251007, 1.374521017074585, -0.595305323600769, -0.2837705612182617, 0.01961451582610607, -0.21502502262592316, -0.17866475880146027, -0.40275147557258606, 0.7706260085105896, -0.34067925810813904, 0.5464792847633362, -0.3542822301387787, -0.9677349328994751, -0.24163818359375, 0.2330608069896698, -0.314447820186615, 0.7212474942207336, 0.06146888807415962, -0.2581635117530823, 0.49894973635673523, -0.8049362897872925, -0.19583657383918762, 0.1071915552020073, -0.3908669948577881, -0.14937984943389893, 0.3613429665565491, 0.2332467883825302, 0.5747696161270142, -0.5950956344604492, -0.5451808571815491, -0.4648849070072174, -0.175999253988266, -0.028103189542889595, -0.30638769268989563, 0.6342136859893799, 0.16654235124588013, -0.3986648917198181, -0.29444336891174316, -0.8751310706138611, 0.05409223958849907, 0.29080766439437866, 0.10878389328718185, -0.33119386434555054, -0.27525708079338074, -0.38260960578918457, 0.5671529173851013, -0.2543281018733978, -0.9696146249771118, 0.5228571891784668, -0.43530938029289246, 0.41524043679237366, 0.3410334289073944, 0.25073692202568054, 0.751473605632782, -0.4205804765224457, 0.7638434171676636, 0.057514745742082596, -0.16747359931468964, -0.18147458136081696, -0.5850728154182434, -0.7283981442451477, -0.2576635181903839, 0.47944942116737366, 0.5455483794212341, -1.0054806470870972, -0.0815785825252533, -0.27557820081710815, -0.5186665058135986, -0.5496854186058044, -0.10795587301254272, 0.1488392949104309, 0.6086820960044861, 0.33613771200180054, -0.0022188895381987095, -0.25756141543388367, -0.6489116549491882, -0.3831850290298462, -0.35650140047073364, -0.15938465297222137, 0.32949328422546387, 0.34229353070259094, 0.4072827100753784, 1.1342977285385132, -0.4619239866733551, -0.4381404221057892, -0.49425390362739563, 0.4022766649723053, 0.010480925440788269, 0.13171152770519257, 1.0626410245895386, -0.2782197594642639, -0.7649251818656921, 0.11660190671682358, -0.8632633090019226, -0.2718490958213806, -0.5027227997779846, -0.18641790747642517, 0.1762986183166504, 0.3975342810153961, -0.87896728515625, 0.6806127429008484, 0.16192303597927094, -0.41655632853507996, 0.2612120807170868, 0.24886587262153625, 0.05857347697019577, -1.2168569564819336, -0.19204312562942505, 0.05911083146929741, -0.49118128418922424, -0.787499725818634, -0.0570259615778923, -0.024785125628113747, -0.021441882476210594, -0.8075196146965027, 0.9527168869972229, -0.4981469213962555, 0.2016756385564804, -0.5281386375427246, 0.6407681107521057, 0.3507241904735565, 0.1759221851825714, -0.0020393747836351395, 0.5193224549293518, 0.48457014560699463, -0.19757458567619324, 0.13877734541893005, 0.4603130519390106, 0.06540319323539734, 0.8659148216247559, -0.45242610573768616, 0.5127484202384949, -0.010507983155548573, 0.09941434115171432, -0.9258570671081543, 0.16110345721244812, 0.39689841866493225, -0.15271113812923431, 0.43358397483825684, -0.7020815014839172, -0.16113124787807465, -0.03223024681210518, -0.5155044794082642, 0.1515151411294937, 0.5982379913330078, -0.5003412961959839, 0.7026232481002808, 0.07286199182271957, -0.3537587523460388, -0.3016161024570465, -0.62367182970047, 0.25687044858932495, -0.45039448142051697, -0.5829834938049316, 0.3913757801055908, 0.15377658605575562, -0.24664472043514252, 0.2812459468841553, -0.06287043541669846, -0.02971074916422367, -0.2522165775299072, -0.07510122656822205, 0.3491814136505127, -0.5952284932136536, 0.11478739231824875, -0.0993545725941658, -0.006628548260778189, -0.10086913406848907, -0.362900972366333, 0.052630260586738586, 0.19591118395328522, -0.3905228078365326, -0.4575108289718628, 0.7570868730545044, 0.29021790623664856, 0.2322472333908081, 0.837230920791626, 0.30893945693969727, -0.39981809258461, -0.5052365660667419, -0.48474833369255066, -0.3527044951915741, -0.3235485553741455, 0.20709076523780823, -0.5436471104621887, -0.7892668843269348, 0.41914990544319153, 0.005304811988025904, 0.32028743624687195, 0.8046318292617798, 0.3876035213470459, -0.18948332965373993, 0.7106817960739136, 0.6220978498458862, 0.19131061434745789, 0.5257126092910767, -0.30287501215934753, 0.3189544379711151, -0.731497049331665, 0.20403455197811127, -0.7734472155570984, -0.05166971683502197, -0.19895978271961212, -0.536708652973175, 0.0647365003824234, 0.2546083331108093, 0.028456708416342735, 0.3850299119949341, -0.13728304207324982, 0.4223524332046509, 0.0036000392865389585, -0.514158308506012, 0.3216453790664673, 0.14700926840305328, 0.16100338101387024, -0.09071619808673859, -1.1965575218200684, -0.7235506772994995, 1.0750280618667603, 0.26475679874420166, 0.5569443106651306, 0.13738936185836792, 0.5880537629127502, 0.21105219423770905, 0.47815749049186707, -0.9482147097587585, 0.4046461582183838, -0.5393955707550049, -0.6451133489608765, -0.4206227958202362, -0.27290797233581543, -0.832129716873169, 0.5555317401885986, -0.34516966342926025, -1.1677418947219849, 0.6267018914222717, -0.16234983503818512, -0.8097321391105652, 0.6724396347999573, -0.6279586553573608, 0.8517409563064575, 0.24520771205425262, -0.2943069338798523, 0.1272611916065216, -0.31631311774253845, 0.11806485801935196, -0.2753140330314636, 0.002833121921867132, -0.2774777114391327, 0.08444112539291382, 0.8384090662002563, -0.3403615951538086, 0.592689037322998, 0.0906735360622406, -0.23224470019340515, 0.6353975534439087, 0.20837455987930298, 0.550321102142334, -0.06951729208230972, -0.290503591299057, 0.2650562822818756, 0.48557305335998535, -0.4848405718803406, -0.8924536108970642, 0.4197580814361572, -0.5191245079040527, -0.7571896910667419, -0.3465021848678589, -0.3200804591178894, -0.2671338617801666, 0.11002521216869354, 0.43656787276268005, 0.570933997631073, -0.2167593091726303, 0.3094635605812073, 0.4111822247505188, 0.08437002450227737, 0.762161374092102, 0.7676519155502319, 0.11315187811851501, -0.04497597739100456, 0.7525374889373779, 0.5076319575309753, 0.35687869787216187, 0.1927875280380249, 0.23272886872291565, -0.23257100582122803, -0.5540850758552551, -0.8002628087997437, 0.21996790170669556, -0.8178155422210693, -0.5163587927818298, -0.8565065264701843, -0.34043580293655396, -0.4633421003818512, -0.3838202655315399, -0.5056296586990356, -0.8660608530044556, -0.41905316710472107, -0.11061921715736389, 0.21041187644004822, 0.6648285984992981, -0.12009791284799576, 0.3204609453678131, -1.2429355382919312, 0.2570405602455139, 0.21827422082424164, -0.16481974720954895, -0.007135005667805672, -0.8379002213478088, -0.08420731872320175, -0.1465814858675003, -0.3769470155239105, -0.9670698046684265, 0.27104830741882324, 0.4719967544078827, 0.5266509652137756, 0.31646600365638733, 0.31041982769966125, 0.8391932845115662, -0.4262752830982208, 1.0894087553024292, 0.12829618155956268, -0.8827947378158569, 0.4120844304561615, -0.04102121666073799, 0.09673797339200974, 0.4191814064979553, 0.4031789004802704, -0.33112141489982605, -0.27975282073020935, -0.8417114019393921, -0.5736030340194702, 0.7570396661758423, 0.2071322202682495, -0.00007439448381774127, -0.08182661980390549, 0.782464325428009, 0.30106207728385925, -0.15459267795085907, -0.5219554901123047, 0.11976370215415955, 0.2519010901451111, -0.11873586475849152, 0.3039732575416565, -0.15878696739673615, -0.2652100920677185, 0.13110750913619995, 0.3992120623588562, -0.4479384422302246, 0.26657190918922424, 0.44317299127578735, -0.08761722594499588, -0.31554871797561646, 0.4498131573200226, 0.35595691204071045, 0.46584266424179077, -0.02709796093404293, 0.12165497988462448, 0.3976738750934601, -0.10462091863155365, 0.24875538051128387, -0.08341625332832336, -0.3771173357963562, -0.03674626350402832, 0.7115583419799805, 0.6647277474403381, -0.08747339248657227, -0.30731210112571716, 0.7195504307746887, -0.23453965783119202, -0.3405022919178009, 0.05795898288488388, 0.009274892508983612, -0.196905717253685, 0.44612425565719604, 0.17413800954818726, -0.27798235416412354, 0.12417522072792053, -0.7559709548950195, 0.20394062995910645, 0.5366277098655701, -0.5836180448532104, -0.464546263217926, 0.5872580409049988, 0.05703628063201904, -0.0539296492934227, 0.3777023255825043, 0.07134714722633362, -0.005830854643136263, 0.4544021189212799, 0.6173263192176819, 0.939274787902832, 0.43397852778434753, 0.3707631230354309, 0.08573329448699951, 0.15402546525001526, 0.22755546867847443, 0.15855816006660461, 0.018151873722672462, -0.8715044856071472, -0.582843005657196, -0.4825136661529541, -0.4746953547000885, 0.09121459722518921, -0.6919247508049011, 0.11490413546562195, -0.18539007008075714, -0.15316429734230042, 0.4141616225242615, 0.1484854370355606, -0.7296292185783386, -0.03321591392159462, 0.2707950472831726, 1.0690288543701172, -0.8589645624160767, 0.9794861674308777, 0.6876152157783508, -0.740527868270874, -0.8162707090377808, 0.14973750710487366, 0.0355185903608799, -0.28498780727386475, 0.49657920002937317, -0.39751923084259033, -0.15294767916202545, 0.028409183025360107, -0.5103133916854858, -0.6727933287620544, 0.962143063545227, 0.559307336807251, -0.3164364993572235, -0.10362149775028229, 0.15897749364376068, 0.49578726291656494, -0.6837524175643921, 0.20440354943275452, 0.677085280418396, 0.39666590094566345, 0.26899126172065735, -0.7586439847946167, 0.15890705585479736, 0.19271229207515717, -0.14506219327449799, -0.1211010217666626, -0.5968722105026245, 0.6998853087425232, -0.12816135585308075, -0.3833179771900177, 0.2452508807182312, 0.7010874152183533, 0.003775232005864382, 0.39179325103759766, 0.18671941757202148, 0.4631512463092804, 0.44511181116104126, 0.022089025005698204, 1.3649413585662842, 0.16012030839920044, 0.26350608468055725, 1.0569360256195068, -0.8025943636894226, 1.1289277076721191, 0.5804148316383362, 0.039554473012685776, 0.4501243531703949, 0.40562814474105835, 0.1522611528635025, 0.4744237959384918, -0.24530376493930817, -0.023869726806879044, -0.5190535187721252, -0.15065576136112213, -0.0695289596915245, 0.6449498534202576, 0.18682540953159332, -0.0016182261751964688, -0.5705057978630066, -0.020913157612085342, 0.1609940230846405, -0.21955028176307678, -0.12270840257406235, 1.1137537956237793, 0.3744933307170868, -0.48658832907676697, 0.20636425912380219, -0.04012610390782356, 0.4020110070705414, -0.4991081655025482, -0.23613686859607697, -0.3275837302207947, 0.10263250023126602, -0.0949358344078064, -0.8270666003227234, 0.532271683216095, 0.2296961545944214, -0.13089503347873688, -0.11949042975902557, 1.2038023471832275, -0.24563603103160858, -0.23058615624904633, 0.45396503806114197, 0.9459514021873474, 0.2190553992986679, -0.03778309375047684, -0.47546741366386414, -0.4111919701099396, -0.09373439848423004, -0.3237799108028412, 0.637514591217041, 0.7942609190940857, -0.21843312680721283, 0.2746680676937103, 0.5543704032897949, 0.4266532063484192, 0.2283639758825302, -0.26649606227874756, 0.7063978910446167, -0.6417885422706604, -0.10672277212142944, -1.0054901838302612, 0.42550569772720337, -0.21397964656352997, -0.29568222165107727, 0.8916872143745422, 0.17705947160720825, 0.6615484952926636, -0.05669908970594406, 0.8335464596748352, -0.012554388493299484, 0.4367910921573639, -0.45042240619659424, 0.519666850566864, -0.7022467255592346, 0.06888610869646072, -0.12151380628347397, -0.8285170793533325, -0.4185675084590912, 0.48912107944488525, -0.2897309362888336, -0.23636384308338165, 0.7203372120857239, 0.4867008328437805, -0.051307808607816696, 0.04929715767502785, 0.8316181898117065, 0.04251861572265625, 0.6586105227470398, 0.5718750953674316, 0.8243352770805359, -0.7296201586723328, 0.7560818195343018, -0.030674807727336884, -0.1805354505777359, -0.2581721246242523, -1.291170597076416, -0.8352048993110657, -0.105723075568676, -0.6657260060310364, -0.24914923310279846, 0.06376129388809204, 0.7591431736946106, 0.9281433820724487, -0.9508150219917297, 0.030906295403838158, 0.33254122734069824, -0.0946154072880745, -0.08553535491228104, -0.1576804369688034, 0.3666228652000427, -0.2050500363111496, -0.625316321849823, 0.49821701645851135, 0.6090810894966125, -0.08158761262893677, 0.14903421700000763, 0.3851771652698517, -0.36329805850982666, 0.914526641368866, 0.8872438073158264, 0.6023209095001221, -0.6290839910507202, -0.884502112865448, -0.15086165070533752, -0.08284313976764679, 0.12801332771778107, 0.9222896099090576, -0.6089963912963867, 0.2748122811317444, 0.6490914225578308, 0.6891075372695923, 0.593695878982544, 0.0805659145116806, 0.6651474237442017, -0.745518147945404, 0.11254982650279999, 0.0930650383234024, 0.37529584765434265, 0.07401071488857269, -0.2974047362804413, 0.6735371947288513, 0.27726516127586365, -0.42285820841789246, -0.7376827597618103, 0.0866854190826416, -1.026179552078247, -0.4638710618019104, 1.2367922067642212, -0.4493559002876282, -0.2906157076358795, -0.2547042965888977, -0.19334326684474945, 0.19213515520095825, -0.03828141838312149, 0.5847722887992859, 0.9453403949737549, -0.5832135081291199, -0.41100504994392395, -0.6154162287712097, 0.4715195298194885, 0.4481419324874878, -1.0886297225952148, -0.0399789921939373, 0.2941102087497711, 0.4257960021495819, 0.2877661883831024, 0.6661912202835083, -0.24461528658866882, 0.2447340339422226, 0.2332441508769989, -0.017965909093618393, 0.08555086702108383, -0.31382572650909424, -0.5356150269508362, 0.6445352435112, 0.07379896193742752, -0.10819225013256073 ]
http://arxiv.org/abs/2404.08559v1
http://arxiv.org/pdf/2404.08559v1
MoPE: Mixture of Prefix Experts for Zero-Shot Dialogue State Tracking
2024-04-12T15:57:41
2024-04-12T15:57:41
Tianwen Tang, Tong Zhu, Haodong Liu, Yin Bai, Jia Cheng, Wenliang Chen
cs.CL
cs.CL
Zero-shot dialogue state tracking (DST) transfers knowledge to unseen domains, reducing the cost of annotating new datasets. Previous zero-shot DST models mainly suffer from domain transferring and partial prediction problems. To address these challenges, we propose Mixture of Prefix Experts (MoPE) to establish connections between similar slots in different domains, which strengthens the model transfer performance in unseen domains. Empirical results demonstrate that MoPE-DST achieves the joint goal accuracy of 57.13% on MultiWOZ2.1 and 55.40% on SGD.
[ -0.5036216974258423, -0.6484972834587097, 0.8239115476608276, -0.1684383600950241, -0.28130170702934265, 0.5110258460044861, 0.19158244132995605, -0.4183414876461029, 0.44078153371810913, 0.49628472328186035, -0.8520631194114685, -0.22458955645561218, -0.7283522486686707, -0.43130436539649963, -0.15635070204734802, 0.8137989044189453, 0.19577328860759735, -0.10795039683580399, -0.07051769644021988, -0.027858536690473557, -0.7000739574432373, -0.6014251112937927, -0.3895704448223114, -0.2863162159919739, 0.03221490606665611, 0.22654876112937927, 0.4040914475917816, 0.15880730748176575, 0.18413898348808289, 0.15905353426933289, 0.05155660957098007, 0.320165753364563, -0.38821616768836975, 0.19788675010204315, -0.4218152165412903, -0.41432487964630127, -0.8915038704872131, -0.06266966462135315, 0.15006378293037415, 0.5112335085868835, -0.2688588798046112, -0.08997029066085815, -0.26609891653060913, 0.31450173258781433, -0.7391668558120728, -0.049796223640441895, -0.7191838622093201, 0.0036265661474317312, -0.12673752009868622, -0.5483692288398743, -0.14626888930797577, 0.0506124310195446, 0.26378291845321655, -0.5725303292274475, 0.38118016719818115, -0.19258736073970795, 0.5448772311210632, 0.3638608157634735, -0.9026829600334167, 0.21144767105579376, -0.7821170687675476, 0.8121524453163147, -0.8193416595458984, 0.16572242975234985, 0.3335137963294983, 0.22986863553524017, -0.30909571051597595, -0.34695297479629517, -0.7575584650039673, 0.11114179342985153, 0.3673652410507202, 0.3559408187866211, -0.044692642986774445, 0.17333126068115234, 0.2782610058784485, 0.4108852744102478, -0.13448117673397064, -0.13330355286598206, -0.4211367964744568, -0.29624906182289124, 0.7668920755386353, 0.28194722533226013, 0.2729029655456543, 0.07514932751655579, -0.7550438642501831, 0.2180296927690506, -0.4659155309200287, -0.11059217900037766, 0.13891631364822388, 0.3142651319503784, 0.04222094267606735, 0.4545997083187103, -0.4475754499435425, 0.9033797979354858, 0.2545093595981598, -0.4642830789089203, 0.08782442659139633, -0.4993014633655548, -0.24989916384220123, -0.0998770073056221, 0.6219260692596436, 0.5207967758178711, -0.033944662660360336, -0.11182621866464615, -0.24384768307209015, 0.005767658352851868, 0.09836407750844955, -0.6717162728309631, -0.2555882930755615, 0.0883527472615242, 0.1318514496088028, -0.08447105437517166, -0.019145894795656204, -0.7047107219696045, -0.34821605682373047, -0.4570766091346741, 0.7210249900817871, -0.7837602496147156, -0.6139402389526367, 0.3239908814430237, -0.4034961462020874, 0.07564391940832138, 0.8076207041740417, -0.9149802923202515, 0.45672401785850525, 0.6509972810745239, 1.0145708322525024, -0.4329710602760315, -0.03774145990610123, -0.4302438199520111, 0.34631168842315674, -0.16509993374347687, 1.1229629516601562, -0.42480722069740295, -0.6973533034324646, -0.3498721718788147, -0.26362133026123047, -0.6206761598587036, -0.029792293906211853, 0.3488071858882904, -0.2263340950012207, 0.2927601635456085, -0.05081414431333542, -0.9674163460731506, -0.31090307235717773, 0.39940524101257324, -0.12048493325710297, 1.0920207500457764, 0.2151205837726593, -0.15303094685077667, 0.29885396361351013, -0.7261048555374146, -0.31173741817474365, 0.3322034478187561, -0.2136376053094864, 0.2884413003921509, 0.2560568153858185, 0.1832202672958374, 0.391204833984375, -0.08947191387414932, 0.14104682207107544, -0.19960880279541016, -0.2440047264099121, 0.07199931889772415, -0.5117152333259583, 0.6581456065177917, -0.04672135040163994, -0.23507192730903625, -0.1937381625175476, -0.9418756365776062, 0.22693955898284912, -0.2537078857421875, 0.10862161964178085, -0.5905356407165527, -0.30507251620292664, -0.25172746181488037, 0.4451904892921448, -0.027042435482144356, -0.6060172319412231, 0.5175104141235352, 0.009186975657939911, 0.23457683622837067, 0.7557594776153564, 0.4764249622821808, 0.35683223605155945, -0.31444984674453735, 0.8797409534454346, 0.16333438456058502, -0.09422636777162552, -0.3233167827129364, -0.8760025501251221, -0.7456896305084229, -0.3815340995788574, 0.30383262038230896, 0.561970591545105, -1.0245413780212402, 0.48143211007118225, -0.10301841050386429, -0.675729513168335, -0.3900275230407715, -0.1682845503091812, 0.34782469272613525, 0.6832711100578308, 0.4029754102230072, -0.5817203521728516, 0.032383132725954056, -0.7666199803352356, 0.018684817478060722, -0.07284430414438248, -0.08357121795415878, 0.21697092056274414, 0.45588791370391846, 0.22792866826057434, 0.9975837469100952, -0.8166238069534302, -0.42580723762512207, -0.03222712129354477, 0.3342074155807495, -0.04815232753753662, 0.5028880834579468, 0.7822456359863281, -0.6672249436378479, -0.8431301116943359, -0.09403369575738907, -0.2895492613315582, -0.04089752957224846, -0.09798424690961838, -0.07945847511291504, 0.018764782696962357, 0.0632137581706047, -0.7736397385597229, 0.568668782711029, 0.6587445139884949, -0.43510669469833374, 0.5367063283920288, 0.17220288515090942, 0.5425142645835876, -1.3793727159500122, -0.1455434411764145, 0.034865301102399826, -0.47653287649154663, -0.9615740180015564, -0.21868877112865448, -0.08963131904602051, -0.24478642642498016, -0.7014923095703125, 0.6185206770896912, -0.45779386162757874, 0.017440738156437874, -0.276779443025589, 0.22824221849441528, -0.04237986356019974, 0.911808967590332, 0.06647706776857376, 1.219573974609375, 0.7949164509773254, -0.6924379467964172, 0.4461151361465454, 0.41155317425727844, -0.341452032327652, 1.0468995571136475, -0.37626180052757263, 0.4607389569282532, 0.5102986693382263, 0.17686118185520172, -0.9642255306243896, -0.02521221712231636, 0.12179958075284958, -0.620675802230835, 0.19062601029872894, -0.6176912188529968, -0.056838441640138626, 0.025149349123239517, -0.08898162096738815, 0.34634509682655334, 0.593551516532898, 0.11558917164802551, 0.5473070740699768, 0.5016464591026306, -0.18561610579490662, -0.4772031307220459, -0.4307771921157837, 0.14386966824531555, 0.1299053281545639, -0.6099135279655457, 0.514714241027832, -0.0342278778553009, 0.0720151886343956, 0.06128982454538345, -0.6584057211875916, -0.44329509139060974, -0.003882765769958496, 0.21138842403888702, 0.37613555788993835, -0.3274868428707123, -0.10087159276008606, -0.14302857220172882, -0.3505459427833557, -0.26156431436538696, -0.28918978571891785, 0.6864835023880005, 0.20500527322292328, -0.709460437297821, -0.6803100109100342, 0.5247840881347656, 0.7985802888870239, -0.005381503142416477, 0.7080456018447876, 0.23720376193523407, -0.1638089269399643, -0.3042767643928528, -0.613279402256012, -0.08797351270914078, -0.4303884506225586, 0.07629004865884781, -0.7460257411003113, -0.6787019968032837, 0.3602939546108246, -0.200227752327919, 0.025441789999604225, 0.5416851043701172, 0.23648743331432343, -0.0820443257689476, 0.9376035928726196, 1.0428431034088135, 0.04987609386444092, 0.5062596797943115, -0.14710135757923126, 0.23515774309635162, -0.9956082105636597, -0.2060004025697708, -0.23715734481811523, -0.23822949826717377, 0.058074504137039185, -0.6722639799118042, 0.4275972247123718, 0.2576836943626404, 0.11498664319515228, 0.684733510017395, -0.2848898768424988, 0.5400991439819336, 0.8792083263397217, 0.0782661959528923, 0.5167084336280823, -0.02714790590107441, 0.10159569978713989, -0.10896681249141693, -0.5931823253631592, -0.047452542930841446, 0.8438783884048462, -0.1462375670671463, 0.670698881149292, 0.1347777098417282, 0.4732986092567444, 0.617267370223999, -0.38893482089042664, -1.0313752889633179, 0.8136821985244751, 0.002088929293677211, -0.6580933928489685, -0.2046930342912674, -0.17484907805919647, -0.304926335811615, 0.27907687425613403, -0.23513352870941162, -1.0080727338790894, 0.369651198387146, -0.008823520503938198, -0.6546877026557922, 0.5303971767425537, -0.5520893931388855, 0.42962896823883057, 0.010952558368444443, -0.024548429995775223, -0.41245895624160767, -0.5132786631584167, 0.4448138475418091, -0.2535051107406616, -0.44529983401298523, -0.6695399284362793, -0.04415910691022873, 0.637008547782898, -0.4893531799316406, 0.7841629385948181, -0.23368719220161438, -0.131400927901268, 0.2792375087738037, 0.34388384222984314, 0.38341617584228516, -0.30393216013908386, -0.05802939459681511, 0.37222686409950256, 0.14755727350711823, -0.6032683253288269, -0.8091158270835876, 0.33716362714767456, -0.5565714836120605, -0.8368574976921082, -0.5300328731536865, -0.5957638025283813, -0.7197045087814331, 0.18088823556900024, 0.2193705439567566, 0.5958197116851807, -0.09642156213521957, 0.13367734849452972, 0.653693675994873, 0.17813467979431152, 0.19990228116512299, 1.0205594301223755, 0.18204021453857422, -0.3042502999305725, 0.7246634364128113, 0.14773105084896088, 0.8245978951454163, 0.2753753960132599, -0.2687573730945587, -0.10718927532434464, -0.4514037072658539, -0.5875949859619141, -0.044580958783626556, -0.44270992279052734, -0.50872802734375, -0.6451678276062012, -0.6499432325363159, -0.5459175705909729, -0.23801812529563904, -0.5982031226158142, -0.8772144317626953, 0.050147946923971176, -0.1176602691411972, 0.48596128821372986, 0.38458314538002014, -0.019526075571775436, 0.5115829110145569, -0.9286446571350098, 0.49509942531585693, 0.4557042717933655, 0.18822364509105682, -0.40959593653678894, -0.7441476583480835, 0.0010728498455137014, 0.3944389224052429, -0.3914894163608551, -0.8993313908576965, 0.23808319866657257, 0.270183801651001, 0.5877500176429749, 0.3391251266002655, 0.18500280380249023, 1.1997941732406616, -0.2799524664878845, 1.1459693908691406, 0.6322941184043884, -1.236035704612732, 0.7125284671783447, -0.6218733787536621, 0.18173553049564362, 0.43590083718299866, 0.29161423444747925, -0.7081547975540161, -0.37872642278671265, -0.7876605987548828, -0.41992393136024475, 1.0902884006500244, 0.22236333787441254, 0.055589668452739716, 0.2714007794857025, 0.022215932607650757, 0.29571738839149475, 0.34761276841163635, -0.10120777785778046, -0.2755979597568512, 0.17739851772785187, 0.19809816777706146, 0.23986925184726715, -0.22098173201084137, -0.39829888939857483, -0.14709576964378357, 0.8717117309570312, -0.2644502818584442, 0.3975512981414795, 0.19994695484638214, -0.009238909929990768, -0.16689461469650269, 0.2940960228443146, 0.8960626125335693, 0.8358516693115234, -0.3129951059818268, -0.14792202413082123, 0.15873855352401733, -0.4920102059841156, 0.42766132950782776, -0.23841388523578644, -0.3456595838069916, 0.03763945400714874, 0.24391384422779083, 1.0396267175674438, 0.0879826694726944, -0.3951958417892456, 0.7616643905639648, 0.21168337762355804, -0.5307604670524597, -0.0876728817820549, 0.5206655263900757, -0.30697140097618103, 0.18380703032016754, 0.5045355558395386, 0.7696488499641418, 0.10438244789838791, -0.5777149796485901, 0.31979653239250183, 0.32724639773368835, -0.5465752482414246, -0.6591374278068542, 0.5264570713043213, 0.6364175081253052, -0.423108845949173, 0.4627583920955658, -0.10463624447584152, -0.6421862244606018, 0.6709692478179932, 0.5778107047080994, 0.902059018611908, -0.38977953791618347, 0.45659124851226807, 0.06242189183831215, -0.0867014229297638, -0.2333967536687851, 0.15864717960357666, -0.18326973915100098, -0.987910807132721, -0.6174497604370117, -0.2606070935726166, -0.8493566513061523, 0.15585406124591827, -0.7923619747161865, 0.4809606671333313, -0.20179761946201324, -0.2686629295349121, -0.017783869057893753, 0.051421478390693665, -0.4898603558540344, 0.07693740725517273, 0.2592841684818268, 0.970506489276886, -0.9197744727134705, 1.1301954984664917, 0.6226186752319336, -0.32545238733291626, -0.6217707991600037, 0.05901912599802017, 0.3264281749725342, -1.0677319765090942, 0.3554590344429016, -0.16351649165153503, -0.4289594292640686, 0.16010119020938873, -0.30723249912261963, -0.8237625956535339, 1.057477355003357, 0.3345411419868469, -0.5155685544013977, 0.10973542928695679, -0.158646360039711, 0.40558093786239624, -0.20548872649669647, 0.27164342999458313, 0.5411785244941711, 0.15339314937591553, 0.5388522148132324, -1.2579621076583862, -0.178548201918602, -0.18735429644584656, -0.4327731728553772, 0.5506165623664856, -0.9252794981002808, 0.8212823867797852, -0.04385066404938698, -0.36767929792404175, -0.014534905552864075, 0.3965514302253723, 0.03330712765455246, 0.418236643075943, 0.6343836784362793, 0.5384983420372009, 0.7172095775604248, -0.007232361007481813, 0.589831531047821, -0.38743123412132263, 0.24879318475723267, 1.2668205499649048, -0.5256420373916626, 0.6447128653526306, 0.37272536754608154, -0.32420438528060913, 0.4404089152812958, 0.39040127396583557, -0.11157874763011932, 0.7542892694473267, -0.48368677496910095, -0.6750640869140625, -0.38726481795310974, -0.24601030349731445, -0.4878407418727875, 0.3549312949180603, 0.4719652831554413, 0.23750057816505432, -0.1853867918252945, -0.10864478349685669, -0.11465202271938324, -0.23365123569965363, -0.13677121698856354, 0.9036840796470642, 0.07018938660621643, -0.7710029482841492, 0.23602843284606934, -0.24850288033485413, 0.6760994791984558, -0.8739638328552246, -0.11830595135688782, -0.4138818681240082, 0.06276492029428482, -0.08494805544614792, -0.762175977230072, 0.1275182068347931, -0.17490431666374207, -0.10208818316459656, -0.26687148213386536, 0.8742295503616333, -0.6064149737358093, -0.2621186375617981, 0.08547080308198929, 0.9176566004753113, 0.22495336830615997, -0.24877594411373138, -0.6572331786155701, -0.6529400944709778, 0.2936322093009949, -0.1439119130373001, 0.44521617889404297, 0.5024593472480774, 0.0012188989203423262, 0.7421340942382812, 0.6807789206504822, 0.3526853919029236, 0.18947942554950714, -0.16648928821086884, 0.8553675413131714, -0.8431291580200195, -0.5411507487297058, -0.6852483749389648, 0.5302506685256958, -0.28320032358169556, -0.5169944763183594, 0.7902660369873047, 0.33243945240974426, 0.577118992805481, -0.06111031025648117, 0.8645005822181702, -0.4088805615901947, 0.5791010856628418, -0.5317150950431824, 0.36061131954193115, -0.5033506751060486, 0.03907979652285576, -0.0702754482626915, -1.1034932136535645, 0.13508513569831848, 0.146744966506958, -0.02794141136109829, -0.2936960756778717, 0.7138022780418396, 0.7293465733528137, -0.4262365698814392, 0.0974414050579071, 0.7887025475502014, -0.08637569844722748, 0.34487879276275635, 0.6845796704292297, 0.883069634437561, -0.5540285706520081, 0.3068035840988159, -0.456013023853302, -0.15099729597568512, -0.14778974652290344, -0.7530745267868042, -0.8761946558952332, -0.627471387386322, -0.6871742606163025, 0.13180358707904816, -0.07115762680768967, 0.8660554885864258, 1.1731548309326172, -0.8002052307128906, 0.03700725734233856, 0.11404456198215485, -0.2064153552055359, -0.3516649901866913, -0.30878615379333496, 0.19349093735218048, -0.22779376804828644, -0.9134565591812134, 0.8438761830329895, 0.5653409361839294, 0.17576634883880615, -0.16251443326473236, 0.18777036666870117, -0.21814540028572083, 0.2766602635383606, 0.4847141206264496, 0.30428358912467957, -0.6446061730384827, -0.2099500298500061, -0.1269153356552124, -0.04291379451751709, 0.010451599024236202, 1.0511701107025146, -0.7598245739936829, 0.41004398465156555, 0.5797144770622253, 0.52036452293396, 0.577055037021637, 0.40097686648368835, 1.0731467008590698, -0.8999313712120056, 0.4107889235019684, 0.2626326382160187, 0.3383975923061371, 0.03227453678846359, -0.3739370107650757, 0.9466255903244019, 0.7215863466262817, -0.41228240728378296, -0.7396975159645081, 0.21418388187885284, -1.2688041925430298, -0.14133526384830475, 1.100761890411377, -0.2909083664417267, 0.20154869556427002, -0.34873682260513306, -0.24184221029281616, -0.06179242208600044, -0.7292876243591309, 0.5284679532051086, 0.8035434484481812, -0.40649744868278503, -0.19676542282104492, -0.814399242401123, 0.4577445983886719, 0.442802369594574, -0.6669822931289673, -0.3290256857872009, 0.4218846261501312, 0.35606759786605835, 0.2437366098165512, 1.0913100242614746, 0.20945879817008972, 0.0699937492609024, 0.2577957808971405, 0.08319389075040817, -0.24214044213294983, -0.24827256798744202, -0.029484879225492477, 0.009042302146553993, -0.5123571753501892, -0.5075383186340332 ]
http://arxiv.org/abs/2404.08555v2
http://arxiv.org/pdf/2404.08555v2
RLHF Deciphered: A Critical Analysis of Reinforcement Learning from Human Feedback for LLMs
2024-04-12T15:54:15
2024-04-16T00:22:16
Shreyas Chaudhari, Pranjal Aggarwal, Vishvak Murahari, Tanmay Rajpurohit, Ashwin Kalyan, Karthik Narasimhan, Ameet Deshpande, Bruno Castro da Silva
cs.LG
cs.LG, cs.AI, cs.CL
State-of-the-art large language models (LLMs) have become indispensable tools for various tasks. However, training LLMs to serve as effective assistants for humans requires careful consideration. A promising approach is reinforcement learning from human feedback (RLHF), which leverages human feedback to update the model in accordance with human preferences and mitigate issues like toxicity and hallucinations. Yet, an understanding of RLHF for LLMs is largely entangled with initial design choices that popularized the method and current research focuses on augmenting those choices rather than fundamentally improving the framework. In this paper, we analyze RLHF through the lens of reinforcement learning principles to develop an understanding of its fundamentals, dedicating substantial focus to the core component of RLHF -- the reward model. Our study investigates modeling choices, caveats of function approximation, and their implications on RLHF training algorithms, highlighting the underlying assumptions made about the expressivity of reward. Our analysis improves the understanding of the role of reward models and methods for their training, concurrently revealing limitations of the current methodology. We characterize these limitations, including incorrect generalization, model misspecification, and the sparsity of feedback, along with their impact on the performance of a language model. The discussion and analysis are substantiated by a categorical review of current literature, serving as a reference for researchers and practitioners to understand the challenges of RLHF and build upon existing efforts.
[ -0.27116748690605164, -0.7145465016365051, 0.5241862535476685, 0.0888577401638031, -0.12473037838935852, 0.20684662461280823, -0.28422093391418457, -0.7277626395225525, -0.0653814971446991, 0.773033857345581, -0.8369380235671997, -0.23744498193264008, -0.658926248550415, 0.14384421706199646, -0.01491332333534956, 0.8978865146636963, -0.07795241475105286, 0.13254797458648682, -0.20353278517723083, -0.1339217722415924, -0.40397894382476807, -0.77659672498703, -0.5904186964035034, -0.7752543091773987, 0.7730979919433594, 0.49858948588371277, 0.5317890048027039, 0.6480604410171509, 0.40806740522384644, 0.21740803122520447, -0.20203568041324615, 0.06986799091100693, -0.7567175030708313, 0.19200536608695984, 0.15619038045406342, -0.4742637872695923, -0.0562622994184494, -0.002683128695935011, 0.5642299056053162, 0.7594797015190125, -0.4669176936149597, -0.002106432570144534, 0.08458098769187927, 0.9033259749412537, -0.6100439429283142, 0.3776813745498657, -0.22237664461135864, 0.4299986958503723, 0.12906499207019806, -0.24060694873332977, -0.7102565765380859, -0.24171872437000275, 0.26766830682754517, -0.6011271476745605, 0.008675415068864822, -0.007807042449712753, 0.5293321013450623, 0.37867501378059387, -0.258713036775589, -0.3229884207248688, -0.8130833506584167, 0.7763686776161194, -0.5996274948120117, 0.38951143622398376, 0.4861845076084137, 0.37512651085853577, -0.3825864791870117, -0.36855214834213257, -0.1958562433719635, -0.8507657051086426, -0.16136713325977325, -0.0715457946062088, 0.36346885561943054, 0.3978118300437927, 0.32225924730300903, 0.3026143014431, -0.25752872228622437, 0.23423929512500763, -0.314342200756073, -0.14428801834583282, 0.5234794020652771, 0.18343007564544678, 0.1931786686182022, -0.0711740255355835, -0.4767543077468872, -0.3813008964061737, -0.8169438242912292, 0.4820649027824402, 0.4228851795196533, 0.21895447373390198, -0.04345904663205147, 0.3230213224887848, -0.11021362245082855, 0.5418959856033325, -0.14360520243644714, -0.2393198013305664, 0.019899960607290268, 0.11831733584403992, -0.018343500792980194, -0.11998744308948517, 0.5463248491287231, 0.21901752054691315, 0.2944270372390747, -0.3804328143596649, -0.47533097863197327, -0.11053814738988876, 0.457294762134552, -0.7651364207267761, -0.07616157084703445, 0.08512578904628754, -0.6859399676322937, -0.5408372282981873, 0.10226277261972427, -0.4463518559932709, -0.6784902215003967, -0.2609071731567383, 0.12425429373979568, -0.159207284450531, -0.4715867340564728, 0.0877598375082016, -0.08809258043766022, 0.19159413874149323, 0.2968668043613434, -1.0701367855072021, 0.48614269495010376, 0.8738086819648743, 0.40276598930358887, -0.3376021087169647, -0.575259804725647, -0.5809210538864136, -0.2152857929468155, -0.26634734869003296, 0.7413549423217773, -0.5599281787872314, -0.6326408386230469, 0.17735429108142853, -0.007557851728051901, -0.07607651501893997, -0.716788113117218, 0.5391284227371216, -0.6880085468292236, -0.06846973299980164, -0.3524533212184906, -0.47718217968940735, -0.3040104806423187, 0.2977387309074402, -0.7884070873260498, 0.7309169173240662, 0.10364788770675659, -0.6784513592720032, 0.18517252802848816, -0.4957863986492157, -0.30915898084640503, -0.045716580003499985, -0.24308258295059204, -0.29669618606567383, 0.20622119307518005, -0.035239316523075104, 0.20389306545257568, -0.20290185511112213, 0.2523522973060608, -0.37692442536354065, -0.5447422862052917, 0.7155001759529114, -0.40624722838401794, 0.40625032782554626, 0.09476486593484879, -0.2774122953414917, 0.4873262345790863, -0.5312352776527405, -0.0974014550447464, 0.19128720462322235, -0.6497153639793396, -0.002936291042715311, 0.15473462641239166, 0.13237237930297852, 0.053720325231552124, 0.012116021476686, -0.34845054149627686, -0.0285466518253088, -0.5659446716308594, 0.5466006398200989, 0.8578844666481018, 0.11824379861354828, 0.4419832229614258, -0.34852826595306396, 0.8577904105186462, -0.330045223236084, 0.3511402904987335, -0.10075175017118454, 0.05033168941736221, -0.4814146161079407, -0.11816961318254471, 0.409714937210083, 0.40981578826904297, -0.44629913568496704, 0.12100403755903244, 0.05537591502070427, -0.11762179434299469, -0.5101940035820007, 0.15419429540634155, 0.5790905356407166, 0.2431287318468094, 0.2215992510318756, -0.32172828912734985, -0.5228299498558044, -0.8964585065841675, -0.2568081319332123, -0.3406968414783478, 0.23349937796592712, 0.23189440369606018, 0.4769606292247772, -0.20126916468143463, 0.7005308866500854, -0.2833101749420166, -0.13833829760551453, -0.5243497490882874, 0.14629381895065308, -0.045425087213516235, 0.26688775420188904, 0.014170149341225624, -0.4736923575401306, -0.05712784826755524, -0.1293734908103943, -0.5404772162437439, 0.13394606113433838, -0.12620888650417328, 0.0812353566288948, 0.12670184671878815, 0.5417307019233704, -0.37303411960601807, 0.3764807879924774, 0.33502650260925293, -0.22881904244422913, 0.7640359401702881, -0.326516717672348, -0.137450709939003, -0.26596423983573914, -0.01339044887572527, -0.24864889681339264, -0.31201496720314026, -0.42565345764160156, 0.29824793338775635, -0.0785590335726738, 0.0775613859295845, -0.31061026453971863, 0.5518272519111633, -0.35279518365859985, -0.09463891386985779, -0.7299811840057373, -0.0133278239518404, -0.38134101033210754, 0.8455830812454224, 0.3411109149456024, 0.5256584882736206, 0.005021261516958475, -0.5579342246055603, 0.32915574312210083, 0.04194408282637596, -0.24320770800113678, 0.24032998085021973, -0.7227385640144348, 0.07846379280090332, -0.0037196173798292875, 0.309857577085495, -0.6696619987487793, -0.1223519966006279, 0.4673217833042145, -0.505593478679657, 0.21380175650119781, -0.028821999207139015, -0.38405781984329224, -0.12496823072433472, -0.3491637110710144, 0.3433028757572174, 0.39836692810058594, -0.5598825812339783, 0.4568426311016083, 0.6694515943527222, 0.11851446330547333, -0.7587107419967651, -0.29248958826065063, -0.0935622900724411, -0.16078199446201324, -0.23150748014450073, 0.2614944577217102, -0.0390390120446682, -0.23824343085289001, -0.15809598565101624, -0.18125717341899872, 0.11137329041957855, 0.5005836486816406, 0.407949835062027, 0.26219502091407776, 0.2834569215774536, 0.09040874242782593, -0.4128120243549347, -0.3572564721107483, 0.5542008280754089, 0.08278687298297882, 0.3474840521812439, -0.2081233114004135, -0.3946095407009125, -0.19670608639717102, 0.06975340098142624, 0.46894922852516174, -0.14314068853855133, 0.4144476652145386, 0.5169817805290222, -0.15790028870105743, -0.4545258581638336, -0.24635130167007446, -0.6221463680267334, -0.4139672517776489, 0.5530976057052612, -0.1451287418603897, -0.9392708539962769, 0.36445483565330505, -0.14643718302249908, 0.12308934330940247, 0.020386284217238426, 0.4716785252094269, -0.04926999285817146, 0.940703809261322, 0.7649164199829102, -0.10109338164329529, 0.5470795631408691, -0.11409878730773926, -0.06888314336538315, -0.8097584843635559, -0.45315611362457275, -0.2728387117385864, -0.21898029744625092, -0.5485661625862122, -0.24501314759254456, 0.10984847694635391, -0.06683100759983063, -0.1907629370689392, -0.10127551853656769, -0.2654064893722534, 0.47613492608070374, 0.5586727261543274, 0.2819087505340576, 0.32109925150871277, -0.06470044702291489, -0.15084651112556458, -0.09880506247282028, -0.733379065990448, -0.2938854694366455, 0.9368495345115662, 0.8655113577842712, 1.018140435218811, -0.010565957054495811, 0.7370257377624512, 0.44329431653022766, 0.2883666455745697, -1.0582079887390137, 0.38644030690193176, 0.3446292281150818, -0.24683156609535217, -0.48013681173324585, -0.36720526218414307, -1.0097819566726685, 0.5364829897880554, -0.2075793594121933, -0.424258291721344, -0.0706435814499855, 0.16058197617530823, -0.29391053318977356, 0.08057714253664017, -0.4824342727661133, 0.8787904977798462, -0.3962234854698181, -0.357143759727478, -0.5691394209861755, -0.7840564846992493, 0.5349632501602173, 0.4275386929512024, 0.35760706663131714, 0.0274471715092659, 0.22298863530158997, 1.0146578550338745, -0.4021817147731781, 1.0751473903656006, -0.2764424979686737, -0.34026917815208435, 0.12265849113464355, 0.13270117342472076, 0.5340030789375305, 0.068827785551548, 0.3896915316581726, -0.28166821599006653, 0.2151677906513214, -0.32290899753570557, -0.6349931955337524, 0.3965001106262207, -0.8770416975021362, -0.5809521675109863, -0.4873363673686981, -0.443830281496048, -0.4973463714122772, -0.16449306905269623, -0.10297029465436935, 0.33625271916389465, -0.3669847846031189, 0.04036513343453407, 0.9554949998855591, -0.1924433559179306, 0.17448340356349945, 0.41964519023895264, -0.5361316204071045, -0.4991469979286194, 0.8930423855781555, -0.3752737045288086, 0.3043157756328583, 0.45056694746017456, 0.14465656876564026, -0.5208916664123535, -0.4755948483943939, -0.26773276925086975, 0.5631080865859985, -1.0021930932998657, 0.29880809783935547, -0.1807788908481598, -0.09838798642158508, 0.07295473664999008, 0.19532905519008636, -0.32375362515449524, -0.1572047621011734, -0.3438926935195923, -0.20414544641971588, 0.05322347581386566, 1.1487526893615723, -0.017856430262327194, 0.042018450796604156, -0.7314050793647766, 0.22304856777191162, 0.44505754113197327, 0.40521565079689026, 0.40839722752571106, -0.5755959749221802, -0.42487719655036926, -0.07676760852336884, -0.07123338431119919, -0.9383663535118103, 0.12353431433439255, -0.26223552227020264, 0.7736180424690247, 0.2450786530971527, 0.12108296155929565, 0.3958550989627838, -0.23919150233268738, 0.562947154045105, 0.21608324348926544, -0.7007655501365662, 0.19485709071159363, -0.055381890386343, 0.11713699251413345, 0.5515193343162537, -0.025162460282444954, -0.8588961362838745, -0.18759317696094513, -0.6474084854125977, -0.6443414688110352, 0.7330778241157532, -0.2775214612483978, -0.13362820446491241, 0.21632389724254608, 0.3631877899169922, 0.2507617175579071, 0.1451236605644226, -0.9534755945205688, -0.15448296070098877, -0.01060779020190239, -0.003412680933251977, 0.11921780556440353, -0.45618805289268494, -0.33929771184921265, -0.11641152203083038, 0.5082908272743225, -0.12979243695735931, 0.28168371319770813, 0.07272851467132568, -0.4250982999801636, -0.25882235169410706, 0.36886754631996155, 0.8064528703689575, 0.654390811920166, -0.31695356965065, 0.1975170224905014, 0.08080080151557922, -0.37154555320739746, 0.18849176168441772, -0.14696668088436127, 0.07077310979366302, -0.29335230588912964, 0.6835605502128601, 1.0605182647705078, 0.45431777834892273, -1.164202094078064, 0.37337592244148254, -0.2141263335943222, -0.3360477387905121, -0.31426626443862915, 0.19891251623630524, 0.03610233590006828, 0.29548728466033936, 0.3141288161277771, -0.10501875728368759, -0.030325008556246758, -0.5062334537506104, 0.14667803049087524, 0.5012937784194946, -0.8036235570907593, -0.33432161808013916, 0.27017834782600403, 0.3127009868621826, -0.36887267231941223, 0.5061940550804138, -0.055382341146469116, -0.7665554285049438, 0.5516964197158813, 0.29953891038894653, 0.9485651850700378, 0.07372277230024338, 0.5143213272094727, 0.16396600008010864, 0.3239361345767975, -0.2386993169784546, -0.023989032953977585, -0.38841959834098816, -0.6248315572738647, -0.5746533870697021, -0.50562584400177, -0.7876337170600891, 0.17025083303451538, -0.8019430637359619, -0.18473868072032928, -0.5585296154022217, 0.01609094813466072, -0.4763503074645996, 0.01814049296081066, -0.27750542759895325, -0.04112538322806358, 0.2491515427827835, 0.6988165378570557, -0.6059200763702393, 0.6666129231452942, 0.5200552940368652, -0.47111567854881287, -0.8377873301506042, -0.002609426388517022, -0.19019809365272522, -0.9949416518211365, 0.8976702094078064, 0.004444375168532133, -0.3576580584049225, -0.21027244627475739, -0.4224216938018799, -0.5338849425315857, 0.895920991897583, 0.17987088859081268, -0.4298494756221771, -0.17049725353717804, 0.08857709169387817, 0.4909410774707794, -0.40722304582595825, 0.34678515791893005, 0.8777897953987122, 0.4495363235473633, 0.10344834625720978, -0.8848920464515686, 0.20899690687656403, -0.04762943834066391, 0.13669678568840027, -0.037232398986816406, -0.35284584760665894, 0.4638165533542633, -0.4885985851287842, -0.2463756650686264, -0.068365678191185, 0.5942156910896301, 0.5393507480621338, -0.0805334523320198, 0.6215264797210693, 0.3149378001689911, 0.694930374622345, 0.20649388432502747, 0.9903739094734192, -0.04202195256948471, 0.4892195165157318, 0.9361414909362793, -0.1046697124838829, 0.9490681290626526, 0.6498402953147888, -0.4141322374343872, 0.4832595884799957, 0.8819400668144226, 0.30299198627471924, 0.7120975255966187, 0.6710845828056335, -0.05923145264387131, -0.2644519805908203, -0.03690095245838165, -0.38339856266975403, 0.0414203517138958, 0.3151816725730896, -0.2647821009159088, -0.2589645981788635, 0.08529914915561676, -0.14540855586528778, 0.1178589016199112, -0.2534065544605255, 0.871057391166687, 0.150913268327713, -0.8632475733757019, 0.8526269197463989, 0.026650341227650642, 0.606661319732666, -0.41066011786460876, -0.27582699060440063, -0.13236530125141144, 0.22283758223056793, -0.0688062459230423, -0.5934396982192993, 0.028968024998903275, -0.3066732883453369, -0.08771252632141113, -0.3429597318172455, 0.639910876750946, -0.35913294553756714, 0.05113980919122696, 0.47845056653022766, 0.38243117928504944, -0.05006732791662216, -0.02467186748981476, -0.8447076082229614, 0.358603835105896, 0.16358043253421783, -0.22565485537052155, 0.4873802363872528, -0.016479987651109695, 0.2307567000389099, 0.8475430607795715, 0.47780993580818176, 0.22481326758861542, -0.20343759655952454, 0.0501529797911644, 0.6070683598518372, -0.8954613208770752, -0.5806329250335693, -0.8149271011352539, 0.21874269843101501, 0.25087547302246094, -0.18257664144039154, 0.24111631512641907, 0.07048746198415756, 0.7850452065467834, -0.2753370702266693, 0.8162168264389038, 0.4738490581512451, 0.509125828742981, -0.7651189565658569, 0.5085922479629517, -0.29841217398643494, 0.48629724979400635, 0.1617775559425354, -0.5355960726737976, -0.13737748563289642, 0.7016512751579285, -0.3843308985233307, 0.0368967242538929, 0.8770761489868164, 0.7342304587364197, 0.36052677035331726, 0.16022907197475433, 0.3024532198905945, 0.04299776256084442, 0.3359015882015228, 0.586950421333313, 1.349626064300537, -0.016674978658556938, 0.6133434176445007, -0.23366999626159668, -0.1434490978717804, -0.4833410084247589, -0.5817390084266663, -0.9503401517868042, -0.49171534180641174, -0.10285801440477371, -0.4208007752895355, 0.07812130451202393, 1.1298688650131226, 0.6518155932426453, -0.6318473815917969, -0.6644302010536194, -0.2986973524093628, 0.6114934682846069, -0.3590104579925537, -0.21112152934074402, 0.2517523765563965, -0.4611999988555908, -0.38404130935668945, 0.3907560408115387, 0.12145058810710907, -0.07649781554937363, -0.7364976406097412, -0.7126722931861877, 0.13572421669960022, -0.14820970594882965, 0.48382410407066345, 0.6956771612167358, -1.0882302522659302, -0.19980311393737793, 0.03775159269571304, -0.10954112559556961, -0.012552816420793533, 1.0702744722366333, -0.8197917342185974, 0.21481071412563324, 0.38687583804130554, 0.8908161520957947, 0.39100712537765503, -0.04542610049247742, 0.5561879277229309, -0.47339338064193726, 0.007152899634093046, 0.2542761564254761, 0.13422071933746338, 0.2854726314544678, -0.2696421444416046, 0.36984673142433167, 0.3628624379634857, -0.5735563635826111, -1.0563405752182007, 0.5683650374412537, -0.7836706042289734, -0.5668969750404358, 1.0762405395507812, 0.06293867528438568, -0.39718863368034363, -0.1280258595943451, -0.3904929757118225, -0.0636383518576622, -0.4746168255805969, 0.9880696535110474, 0.7341834902763367, -0.25705960392951965, -0.5238121151924133, -0.5185220241546631, 0.8450986742973328, 0.5108721852302551, -0.6668992638587952, 0.4483993649482727, 0.45973658561706543, 0.23907648026943207, -0.18217024207115173, 0.7982372045516968, 0.02787543274462223, 0.5252131819725037, -0.250388503074646, 0.12334377318620682, -0.19559462368488312, -0.27969351410865784, -0.5436835885047913, 0.2941741347312927, 0.8024148941040039, -0.08598916977643967 ]
http://arxiv.org/abs/2404.08538v1
http://arxiv.org/pdf/2404.08538v1
VertAttack: Taking advantage of Text Classifiers' horizontal vision
2024-04-12T15:32:17
2024-04-12T15:32:17
Jonathan Rusert
cs.CL
cs.CL, I.2.7
Text classification systems have continuously improved in performance over the years. However, nearly all current SOTA classifiers have a similar shortcoming, they process text in a horizontal manner. Vertically written words will not be recognized by a classifier. In contrast, humans are easily able to recognize and read words written both horizontally and vertically. Hence, a human adversary could write problematic words vertically and the meaning would still be preserved to other humans. We simulate such an attack, VertAttack. VertAttack identifies which words a classifier is reliant on and then rewrites those words vertically. We find that VertAttack is able to greatly drop the accuracy of 4 different transformer models on 5 datasets. For example, on the SST2 dataset, VertAttack is able to drop RoBERTa's accuracy from 94 to 13%. Furthermore, since VertAttack does not replace the word, meaning is easily preserved. We verify this via a human study and find that crowdworkers are able to correctly label 77% perturbed texts perturbed, compared to 81% of the original texts. We believe VertAttack offers a look into how humans might circumvent classifiers in the future and thus inspire a look into more robust algorithms.
[ -0.11230070888996124, -0.7806110382080078, 0.4390351474285126, -0.013414931483566761, -0.21599125862121582, 0.18145987391471863, -0.1285628080368042, -0.781247079372406, 0.1843540072441101, 0.854304313659668, -0.6052590608596802, -0.48098716139793396, -0.7154625058174133, 0.18184489011764526, -0.613563060760498, 1.2243069410324097, -0.053900521248579025, -0.07174555957317352, -0.10726133733987808, 0.0016148720169439912, -0.6122362613677979, -0.7124554514884949, -0.42611658573150635, -0.4140084385871887, 0.7009499669075012, 0.6229903697967529, 0.6160928010940552, 0.5556653141975403, 0.6706575751304626, 0.41101688146591187, -0.11611247807741165, -0.19628632068634033, -0.7926750779151917, 0.3044012486934662, 0.11006050556898117, -0.7309237122535706, -0.015328094363212585, 0.11285526305437088, 0.7455220818519592, 0.25939658284187317, -0.1608455777168274, 0.21950294077396393, 0.26420217752456665, 0.8839627504348755, -0.5525885224342346, -0.13173148036003113, -0.7158322930335999, 0.29115450382232666, -0.6541737914085388, -0.1934022605419159, -0.45444899797439575, -0.4478897452354431, 0.2054804414510727, -0.48143649101257324, 0.14541293680667877, -0.005338935647159815, 1.230151653289795, 0.5132787227630615, -0.09799855947494507, -0.1272890865802765, -0.6389433145523071, 0.7311119437217712, 0.08451879024505615, 0.19950400292873383, 0.5103433132171631, 0.8047310709953308, 0.029496250674128532, -1.0685845613479614, -0.5678342580795288, -0.12078750133514404, 0.028130700811743736, 0.45244669914245605, -0.3601468801498413, -0.2766609787940979, 0.19647808372974396, 0.2143884301185608, -0.3687116205692291, 0.12750668823719025, -0.6925017237663269, -0.18825317919254303, 0.40168941020965576, 0.3328076899051666, 0.24199052155017853, -0.4049380123615265, -0.9634026885032654, -0.2816891670227051, -0.5292384624481201, 0.20980660617351532, 0.5242811441421509, -0.06150120869278908, 0.36943650245666504, 0.6476978659629822, 0.12029565870761871, 0.5709421634674072, -0.10286145657300949, 0.008837585337460041, 0.10338393598794937, -0.13372236490249634, -0.5576673150062561, 0.17068515717983246, 0.4711713492870331, 0.3091824948787689, 0.09399531036615372, 0.031404584646224976, 0.06615212559700012, 0.16870805621147156, 0.8270902633666992, -0.49411505460739136, -0.24770332872867584, -0.13457942008972168, -0.4871140718460083, -0.6026492714881897, -0.0060013532638549805, -0.8723956942558289, -0.9363468885421753, -0.30385279655456543, 0.6406410336494446, -0.3706374168395996, 0.18092389404773712, 0.21564140915870667, -0.4090961813926697, 0.21479208767414093, 0.46547970175743103, -0.5728745460510254, 0.11532550305128098, 0.7987183928489685, 0.7175551652908325, 0.09156553447246552, -0.5307365655899048, -0.31564533710479736, -0.06173808127641678, 0.046468596905469894, 0.9496098160743713, -0.4042171537876129, -0.4730326533317566, -0.08404826372861862, -0.0823083445429802, 0.15185001492500305, -0.26971709728240967, 0.6630288362503052, -0.23078066110610962, 0.41130831837654114, -0.38057243824005127, -0.3663399815559387, -0.1663389950990677, 0.35122206807136536, -0.5431228280067444, 0.9171792268753052, -0.07594593614339828, -1.2783002853393555, 0.5265749096870422, -0.20057201385498047, -0.38602545857429504, 0.20134252309799194, -0.19987399876117706, -0.7228530049324036, 0.179935485124588, -0.27816659212112427, 0.2549462914466858, -0.1916629523038864, -0.2317831814289093, -0.10035406798124313, -0.18151694536209106, 0.17212699353694916, -0.423324316740036, 1.107897162437439, 0.071706123650074, -0.3902173340320587, 0.024697717279195786, -0.4176896810531616, -0.038480255752801895, -0.013110753148794174, -0.4762820601463318, -0.668673038482666, 0.04479711875319481, 0.28126972913742065, -0.18894749879837036, 0.17396314442157745, -0.5940936207771301, 0.15822169184684753, -0.14888165891170502, 0.1679213047027588, 0.9066002368927002, -0.4597127139568329, 0.2825515866279602, -0.3834149241447449, 0.543490469455719, -0.5020748972892761, 0.2378951758146286, 0.26126420497894287, -0.6488021016120911, -0.6196995973587036, -0.6228730082511902, 0.24001161754131317, 0.7572455406188965, -0.7655481696128845, 0.12275653332471848, -0.30738118290901184, -0.8236416578292847, -0.33855485916137695, 0.2066330760717392, 0.5338668823242188, 0.7067064046859741, 0.16659922897815704, -0.2691284120082855, -0.9311946034431458, -0.8674800395965576, -0.6737370491027832, -0.2843686044216156, -0.1995726376771927, -0.025651471689343452, 0.3819557726383209, -0.418154776096344, 0.8167266249656677, -0.4968847632408142, -0.69289231300354, -0.26534053683280945, 0.21881502866744995, -0.03161599114537239, 0.21580180525779724, 0.33883944153785706, -0.8243534564971924, -0.33989500999450684, 0.10627531260251999, -0.7939671277999878, -0.04065258055925369, -0.02283349446952343, -0.23746484518051147, 0.39502668380737305, 0.5524287223815918, -0.16136743128299713, 0.8719884753227234, 0.5903206467628479, -0.4916573166847229, 0.5256412029266357, -0.523637592792511, -0.07197742164134979, -0.8694678544998169, -0.11742357164621353, 0.1459655612707138, -0.17624612152576447, -0.8336220383644104, -0.16190992295742035, 0.19909782707691193, 0.11802206188440323, -0.2817201316356659, 0.18522050976753235, -0.29404258728027344, 0.1166391521692276, -0.29570242762565613, 0.09251264482736588, -0.043174996972084045, 0.015121770091354847, 0.0823359414935112, 0.448387086391449, 0.14971444010734558, -0.2520538568496704, 0.12999719381332397, 0.20391526818275452, -0.5180382132530212, 0.8791714310646057, -0.5343931913375854, 0.029011541977524757, -0.34836575388908386, 0.4015694260597229, -1.0134449005126953, -0.2546951472759247, 0.030884644016623497, -0.5621527433395386, 0.34104225039482117, 0.14141899347305298, -0.49456530809402466, -0.4882146120071411, -0.5494041442871094, -0.005392122082412243, 0.5135295391082764, -0.7416226863861084, 0.7904532551765442, 0.8865221738815308, 0.07702898234128952, -0.7144253253936768, -1.0428402423858643, 0.47723034024238586, -0.5116281509399414, -0.6129825115203857, 0.11637740582227707, 0.4099195599555969, -0.11151491105556488, -0.3543078899383545, -0.01342987734824419, -0.1943386048078537, 0.2823537588119507, 0.6462236642837524, 0.2794322669506073, 0.20800964534282684, 0.26312723755836487, -0.14658115804195404, -0.33990833163261414, 0.09672579914331436, -0.21902458369731903, 0.33723604679107666, -0.4587287902832031, -0.059841401875019073, -0.6598491668701172, 0.07707905024290085, 0.34133589267730713, -0.021444259211421013, 0.5903621912002563, 0.5528513193130493, -0.45685380697250366, -0.0008531144703738391, -0.5506072640419006, -0.1770547479391098, -0.4927758276462555, 0.404381662607193, -0.4196324348449707, -0.7948382496833801, 0.3809039294719696, 0.2766686975955963, 0.023920558393001556, 0.3029594421386719, 0.5873806476593018, -0.5177152752876282, 0.6787023544311523, 0.8250954747200012, -0.2034807652235031, 0.5801319479942322, -0.1646970808506012, 0.13836047053337097, -0.42351484298706055, -0.4450017213821411, -1.0552175045013428, -0.40080946683883667, -0.7068881988525391, -0.19514018297195435, 0.23812051117420197, -0.22963087260723114, -0.0005380032234825194, 0.5765336751937866, -0.7767584323883057, 0.4835456907749176, 0.7511671185493469, 0.2913343906402588, 0.1628272831439972, 0.32342100143432617, 0.2192411720752716, -0.35030585527420044, -0.46168753504753113, -0.6343550682067871, 0.8737130165100098, 0.5915955901145935, 0.7493789196014404, -0.051776155829429626, 0.819467306137085, 0.30089351534843445, 0.5281819701194763, -0.5147880911827087, 0.4004751741886139, -0.3074512481689453, -0.8439590930938721, -0.48550736904144287, -0.2592726945877075, -1.0617964267730713, 0.08898215740919113, -0.2542775273323059, -0.920704185962677, 0.10008696466684341, 0.2645237445831299, 0.02663816325366497, 0.45095598697662354, -0.8300718069076538, 0.8644033074378967, -0.15245972573757172, -0.4343754053115845, -0.2246052622795105, -0.6546341776847839, 0.37332475185394287, -0.1261865496635437, 0.22223815321922302, 0.34487462043762207, 0.08548123389482498, 0.6117042303085327, -0.5781635642051697, 1.1614502668380737, -0.27335241436958313, -0.21782343089580536, 0.39981794357299805, -0.058870069682598114, 0.367167204618454, -0.056460075080394745, 0.13744394481182098, 0.4863654673099518, 0.013126392848789692, -0.43036818504333496, -0.3900373876094818, 0.4103630483150482, -0.7353529334068298, -0.6260076761245728, -0.46471482515335083, -0.09551990032196045, 0.274094820022583, 0.2325589805841446, 0.5436250567436218, 0.34447765350341797, -0.19696688652038574, 0.4564978778362274, 0.44458895921707153, -0.07459123432636261, 0.008682540617883205, -0.036269351840019226, -0.3467731475830078, -0.42888596653938293, 0.848888635635376, 0.3106970489025116, 0.033001892268657684, 0.4040611684322357, 0.5057039260864258, -0.409939169883728, -0.29899582266807556, -0.270291805267334, -0.15400606393814087, -0.6644870042800903, -0.279390811920166, -0.5844091176986694, 0.00040569304837845266, 0.09308675676584244, -0.35893765091896057, -0.11349562555551529, -0.33697429299354553, 0.025780094787478447, -0.1933472752571106, 0.4159151315689087, 0.6403749585151672, -0.14022225141525269, 0.3739670515060425, -0.5226844549179077, 0.07492641359567642, 0.6052732467651367, 0.07175151258707047, -0.45122915506362915, -0.4993166923522949, -0.13869087398052216, -0.15831977128982544, -0.18123939633369446, -0.8169578313827515, 0.27533504366874695, -0.2578912377357483, 0.3788134455680847, 0.24945814907550812, -0.057777151465415955, 0.6699475646018982, -0.5182973146438599, 0.44287437200546265, 0.3274465501308441, -1.093156099319458, 0.4788312613964081, -0.16821260750293732, 0.25552499294281006, 0.8654714822769165, 0.0714510902762413, -0.5175656676292419, -0.7531680464744568, -0.5589575171470642, -0.6605895757675171, 0.47724586725234985, 0.41581428050994873, 0.04448149725794792, 0.4106809198856354, 0.306187242269516, 0.3030715882778168, 0.033962346613407135, -0.4977759122848511, 0.00535584706813097, -0.6923766732215881, -0.32671454548835754, -0.16147474944591522, -0.33027762174606323, 0.01420226227492094, -0.21569983661174774, 0.27127060294151306, 0.13190117478370667, 0.14594747126102448, 0.34374427795410156, -0.0931181088089943, 0.09206750243902206, 0.05681926757097244, 0.6768471598625183, 0.3338955044746399, -0.07615911960601807, 0.5149772763252258, 0.4860225021839142, -1.0261814594268799, -0.01833539828658104, -0.06197574362158775, -0.28161293268203735, -0.0037040524184703827, 0.3705947995185852, 0.5418221950531006, 0.09046059846878052, -0.5633528232574463, 0.33313071727752686, -0.5288076400756836, -0.44728419184684753, -0.6123641133308411, -0.02873048186302185, -0.12428732216358185, 0.30931952595710754, 0.4185698628425598, 0.27715325355529785, 0.15260566771030426, -0.4408472180366516, 0.076234370470047, 0.3375014662742615, -0.64375239610672, -0.2214280664920807, 0.6098830699920654, -0.06401795148849487, -0.7141783833503723, 0.15695767104625702, 0.2733125686645508, -0.8208694458007812, 0.6414048075675964, 0.23497232794761658, 0.8904138803482056, -0.13652051985263824, 0.1706383228302002, 0.1104477196931839, 0.6018922328948975, -0.22517706453800201, 0.169460728764534, -0.20713575184345245, -0.48223620653152466, -0.2164781093597412, -0.29716968536376953, -0.5173942446708679, -0.1913035809993744, -0.646450400352478, 0.3635670840740204, -0.6484457850456238, -0.41372475028038025, 0.20141755044460297, 0.26145222783088684, -0.6480419635772705, 0.14260725677013397, 0.08061856776475906, 0.7942972183227539, -0.7197341918945312, 0.9313470125198364, 0.9855418801307678, -0.18254543840885162, -0.6452680826187134, 0.007046821061521769, 0.25850823521614075, -0.6658915877342224, 0.8758976459503174, 0.5127003192901611, -0.508776843547821, -0.07170887291431427, -0.6941934823989868, -0.4790991544723511, 0.9996337890625, 0.07344838976860046, -0.39807000756263733, 0.2174527794122696, -0.03175247833132744, 0.868472158908844, 0.1371518224477768, 0.12390363961458206, 0.48765188455581665, 0.8250787258148193, -0.26263079047203064, -0.7651844620704651, -0.10395371168851852, -0.11465249955654144, 0.08704719692468643, 0.09361803531646729, -0.5214002728462219, 0.7344737648963928, 0.09463492035865784, -0.5560311675071716, 0.05221543461084366, 0.6374737024307251, 0.1581813544034958, 0.4885755181312561, 0.6479437947273254, 0.5309260487556458, 1.0174839496612549, -0.12612363696098328, 1.2187113761901855, 0.28023529052734375, 0.3609776496887207, 0.8895549178123474, -0.28830811381340027, 0.9299090504646301, 0.5710752606391907, -0.06726770102977753, 0.6696081161499023, 0.10845034569501877, -0.009766736999154091, 0.4904252290725708, 0.3927207589149475, -0.09349652379751205, -0.30450302362442017, 0.23654690384864807, -0.19599027931690216, 0.8681997656822205, 0.1384718269109726, 0.07292232662439346, -0.209559828042984, 0.271494060754776, 0.25885409116744995, 0.5604948401451111, -0.07381641864776611, 0.5127031207084656, -0.06111804395914078, -0.44164958596229553, 0.5785265564918518, -0.11884859949350357, 0.5680977702140808, -0.22476676106452942, 0.30009064078330994, -0.14668779075145721, 0.7226889729499817, -0.16601639986038208, -0.7958292365074158, 0.3563709557056427, 0.2360718548297882, -0.16653549671173096, -0.5508355498313904, 1.0085766315460205, 0.0010588850127533078, -0.5642701387405396, 0.2053391933441162, 0.08530863374471664, 0.11925667524337769, 0.14459353685379028, -0.4526188373565674, 0.06954050064086914, 0.0969010517001152, -0.17467941343784332, 0.2242210954427719, 0.663220226764679, -0.03876715153455734, 0.7082971334457397, 0.4012887179851532, -0.09136848896741867, 0.17889243364334106, -0.14353032410144806, 0.7237673997879028, -0.7075262665748596, -0.5097258687019348, -0.8152735829353333, 0.4435253143310547, -0.4537798762321472, -0.4378058612346649, 1.1015660762786865, 0.4425504505634308, 0.7559158205986023, -0.03616941720247269, 0.6904407143592834, 0.153800368309021, 0.7725278735160828, -0.454472154378891, 0.9487083554267883, -0.630644679069519, 0.13011077046394348, -0.3293408155441284, -0.5198211669921875, -0.5848318934440613, 0.7220112681388855, -0.46929728984832764, -0.3667842745780945, 0.6868772506713867, 0.5169431567192078, 0.22527925670146942, 0.33165445923805237, 0.24046652019023895, 0.16981403529644012, 0.3034832775592804, 0.39949458837509155, 1.1291841268539429, -0.3423961400985718, 0.8341305255889893, -0.08016887307167053, -0.4368651509284973, -0.5823509693145752, -0.6577998399734497, -1.299142837524414, -0.5586044788360596, -0.13751398026943207, -0.44657236337661743, 0.3060010075569153, 0.138602614402771, 0.3875885605812073, -0.42848190665245056, -0.16990239918231964, -0.18772192299365997, 0.2720761001110077, -0.11892945319414139, -0.15155237913131714, 0.2428741753101349, -0.3287343382835388, -0.45102643966674805, 0.08659589290618896, 0.2779141962528229, -0.0289475005120039, -0.42020678520202637, 0.050010740756988525, 0.14283770322799683, -0.17983491718769073, 0.44161468744277954, 0.3268127739429474, -0.43832969665527344, -0.6070989966392517, -0.012896926142275333, -0.40580204129219055, 0.041985370218753815, 0.7652219533920288, -0.9095980525016785, 0.5158348679542542, 0.8225666880607605, 0.7612452507019043, 0.5967172384262085, 0.08908331394195557, 0.3496510088443756, -0.37131211161613464, 0.1051112487912178, 0.1544603556394577, 0.09047434478998184, 0.14281699061393738, -0.2754579782485962, 0.35046303272247314, 0.2187313586473465, -0.5595331192016602, -1.0144113302230835, 0.18455418944358826, -0.5845276117324829, -0.354078084230423, 0.803716242313385, -0.024128282442688942, -0.6717602014541626, -0.1986405849456787, -0.5741467475891113, 0.06979086250066757, -0.13855238258838654, 1.1108160018920898, 0.49716612696647644, 0.3434430658817291, -0.0010658582905307412, -0.6449692845344543, 0.4056711196899414, 0.562181830406189, -0.9073233008384705, -0.02473265491425991, 0.45795899629592896, 0.13210029900074005, 0.43837717175483704, 0.41977083683013916, 0.039138391613960266, 0.31711435317993164, 0.18430259823799133, 0.0895228236913681, 0.05871414393186569, -0.48624563217163086, -0.46173208951950073, 0.35993701219558716, -0.24045270681381226, -0.37346941232681274 ]
http://arxiv.org/abs/2404.08517v1
http://arxiv.org/pdf/2404.08517v1
Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forward
2024-04-12T14:55:16
2024-04-12T14:55:16
Xuan Xie, Jiayang Song, Zhehua Zhou, Yuheng Huang, Da Song, Lei Ma
cs.SE
cs.SE, cs.AI, cs.CL, cs.CR, cs.LG
While Large Language Models (LLMs) have seen widespread applications across numerous fields, their limited interpretability poses concerns regarding their safe operations from multiple aspects, e.g., truthfulness, robustness, and fairness. Recent research has started developing quality assurance methods for LLMs, introducing techniques such as offline detector-based or uncertainty estimation methods. However, these approaches predominantly concentrate on post-generation analysis, leaving the online safety analysis for LLMs during the generation phase an unexplored area. To bridge this gap, we conduct in this work a comprehensive evaluation of the effectiveness of existing online safety analysis methods on LLMs. We begin with a pilot study that validates the feasibility of detecting unsafe outputs in the early generation process. Following this, we establish the first publicly available benchmark of online safety analysis for LLMs, including a broad spectrum of methods, models, tasks, datasets, and evaluation metrics. Utilizing this benchmark, we extensively analyze the performance of state-of-the-art online safety analysis methods on both open-source and closed-source LLMs. This analysis reveals the strengths and weaknesses of individual methods and offers valuable insights into selecting the most appropriate method based on specific application scenarios and task requirements. Furthermore, we also explore the potential of using hybridization methods, i.e., combining multiple methods to derive a collective safety conclusion, to enhance the efficacy of online safety analysis for LLMs. Our findings indicate a promising direction for the development of innovative and trustworthy quality assurance methodologies for LLMs, facilitating their reliable deployments across diverse domains.
[ -0.2784174084663391, -0.8079470992088318, 0.6269223093986511, 0.13606765866279602, -0.23880396783351898, 0.31673935055732727, -0.10580810159444809, -0.6995781660079956, -0.1581350415945053, 0.16017475724220276, -0.31153956055641174, -0.5875481963157654, -0.6320125460624695, 0.11529990285634995, -0.467254638671875, 0.6742205619812012, -0.23203283548355103, 0.11968380957841873, -0.35852399468421936, 0.06109299510717392, -0.24193483591079712, -0.65908282995224, -0.6875084638595581, 0.1257646381855011, 0.32246553897857666, -0.0737551897764206, 0.40224531292915344, 0.5282644629478455, 0.7042303085327148, 0.3388412296772003, -0.33742836117744446, 0.21215079724788666, -0.6628910303115845, 0.11391031742095947, 0.03222713619470596, -0.26816368103027344, -0.7943427562713623, -0.06123357638716698, 0.5934302806854248, 0.5843035578727722, -0.3707313537597656, 0.14851975440979004, 0.1882079690694809, 0.3987374007701874, -0.8774367570877075, -0.06366369873285294, -0.6988083124160767, 0.18141479790210724, -0.1819412112236023, -0.1945917159318924, -0.3491799831390381, -1.0542666912078857, -0.03678613156080246, -0.35434290766716003, -0.13092578947544098, 0.08694761246442795, 0.6923296451568604, 0.051984068006277084, -0.3953985869884491, -0.38114455342292786, -0.7348964214324951, 0.8966428637504578, -0.8821344971656799, 0.4075303077697754, 0.3151467442512512, 0.5617225170135498, -0.3438172936439514, -0.6811382174491882, -0.4921388626098633, -0.18381768465042114, 0.23368647694587708, 0.07093631476163864, -0.15235979855060577, 0.030486661940813065, 0.09312932193279266, 0.3382570445537567, -0.6386322379112244, 0.4301303029060364, -0.11301285028457642, -0.4615500867366791, 0.6842353940010071, 0.1564113348722458, 0.38743653893470764, 0.09430773556232452, -0.49519070982933044, 0.08762870728969574, -0.9753302931785583, -0.159036785364151, 0.49332237243652344, 0.06496558338403702, -0.32998034358024597, 0.37813588976860046, -0.21592119336128235, 0.47477981448173523, -0.27916839718818665, -0.44518622756004333, 0.263461172580719, -0.6223810315132141, 0.03501756489276886, -0.09414472430944443, 0.9850979447364807, 0.7067962288856506, 0.25897762179374695, -0.24822917580604553, -0.2832576632499695, 0.07071082293987274, 0.1954246610403061, -0.6110962629318237, 0.2983642816543579, 0.4651425778865814, -0.6616877913475037, -0.5097030997276306, 0.08890566974878311, -1.00624680519104, -0.5898733735084534, 0.013201478868722916, 0.32525670528411865, -0.09427734464406967, -0.48375990986824036, -0.027293773368000984, 0.2863107919692993, 0.28646567463874817, 0.037595588713884354, -0.44915661215782166, 0.29394471645355225, 0.8007668852806091, 0.9228917360305786, -0.5539992451667786, -0.07903490960597992, -0.6553851962089539, 0.2002425193786621, -0.24644900858402252, 0.7868537902832031, -0.04706443473696709, -0.42414364218711853, 0.418134868144989, -0.2381751537322998, 0.052614111453294754, -0.45046666264533997, 0.6388841271400452, -0.6372608542442322, -0.03923940286040306, -0.034541063010692596, -0.7390394806861877, 0.07227032631635666, 0.471861869096756, -0.5526273250579834, 0.9192824363708496, -0.20113712549209595, -0.8878863453865051, 0.47515079379081726, -0.3786526620388031, -0.3222927451133728, -0.13209547102451324, -0.19469046592712402, -0.6399325728416443, 0.11117470264434814, 0.04144361987709999, 0.533804714679718, -0.2427719086408615, 0.3550748825073242, -0.6268408894538879, -0.30300119519233704, 0.593997061252594, -0.43524760007858276, 0.7422656416893005, 0.19573381543159485, -0.4121641516685486, 0.26612815260887146, -0.9117691516876221, 0.3417598307132721, 0.20942579209804535, -0.44349437952041626, 0.020563652738928795, 0.19717693328857422, 0.07304786890745163, 0.2787637412548065, 0.3460495173931122, -0.8140180110931396, -0.36307698488235474, -0.32246315479278564, 0.25861063599586487, 0.6325752139091492, 0.241775780916214, -0.0371880829334259, -0.25320321321487427, 0.5614417195320129, -0.2589896023273468, 0.5421808958053589, 0.10852472484111786, -0.46465519070625305, -0.5616732239723206, -0.024841582402586937, 0.28570160269737244, 0.5930137634277344, -0.5284776091575623, 0.7432920932769775, -0.24536459147930145, -0.47035273909568787, -0.3069751560688019, 0.2377205789089203, 0.647377073764801, -0.011164863593876362, 0.0768914744257927, -0.467876672744751, -0.5557250380516052, -0.6495668888092041, -0.2760378420352936, -0.21935459971427917, -0.0011628518113866448, -0.1697615385055542, 0.1309080719947815, -0.34743964672088623, 0.9718509912490845, -0.22064566612243652, 0.018844086676836014, -0.420944482088089, 0.18760685622692108, -0.1515694409608841, 0.3189442455768585, 0.3789144456386566, -0.4839508831501007, -0.32535141706466675, -0.09368191659450531, -0.9819819331169128, -0.15771889686584473, 0.06526552885770798, -0.03568987920880318, 0.1851804405450821, 0.5008217096328735, -0.35639485716819763, 0.21352557837963104, 0.7890526652336121, -0.09349475055932999, 0.388137549161911, -0.25427013635635376, 0.057545535266399384, -0.9116742610931396, -0.0035926634445786476, 0.06671751290559769, -0.342454731464386, -0.7837199568748474, 0.3539777994155884, 0.023071477189660072, 0.10187748819589615, -0.8419594764709473, 0.13735023140907288, -0.4632498621940613, -0.35372063517570496, -0.30185428261756897, 0.24565792083740234, -0.22171755135059357, -0.027404846623539925, -0.23753029108047485, 0.6283624768257141, 0.45990249514579773, -0.3538345396518707, 0.24654535949230194, -0.06216614320874214, -0.6005235910415649, 0.3384312093257904, -0.5618640780448914, 0.311171293258667, 0.06170681491494179, 0.07324285805225372, -0.7850707769393921, -0.20495830476284027, 0.21585096418857574, -0.28069400787353516, 0.15999865531921387, 0.05534922331571579, -0.7725161910057068, -0.020610548555850983, -0.4974954128265381, 0.14870434999465942, 0.5210873484611511, -0.31141600012779236, 0.5556700825691223, 0.7146885395050049, -0.30704835057258606, -0.22621823847293854, -0.3978373110294342, 0.012684393674135208, -0.33864691853523254, -0.6800351142883301, -0.022075915709137917, -0.1033158227801323, -0.7622723579406738, -0.2171948254108429, -0.10227587819099426, -0.33985090255737305, 0.5678104758262634, 0.33462586998939514, 0.4711669981479645, -0.1458752304315567, -0.3660838007926941, 0.14108966290950775, -0.32831764221191406, 0.1837320774793625, 0.2460174560546875, 0.3092690110206604, -0.1646009087562561, -0.5467672944068909, -0.49505892395973206, 0.19564254581928253, 0.4480855464935303, -0.1290389746427536, 0.7524033188819885, 0.502532958984375, -0.5443341732025146, -0.20035327970981598, -0.6762121319770813, 0.06753160059452057, -0.5439887642860413, 0.07313122600317001, -0.019624680280685425, -0.8394361138343811, 0.2920513451099396, -0.2131134420633316, 0.26238760352134705, 0.2580620050430298, 0.4640158414840698, -0.24845796823501587, 0.7391971945762634, 0.5980746746063232, 0.10910987108945847, 0.1301613450050354, 0.25573477149009705, 0.26989567279815674, -0.28450798988342285, -0.3887539803981781, -0.4696047902107239, 0.17658168077468872, -0.46098729968070984, -0.5186175107955933, 0.5282716155052185, 0.24405211210250854, 0.09966809302568436, 0.11930812895298004, -0.042265232652425766, 0.5477110743522644, 0.11866427958011627, -0.1507057100534439, 0.6328442692756653, 0.006924112793058157, -0.10712280124425888, -0.04605572298169136, -0.3202650249004364, -0.855983555316925, 1.2046526670455933, 0.6722645163536072, 0.5621829628944397, 0.30043140053749084, 0.648211658000946, 0.19949780404567719, 0.5084317922592163, -0.4700513780117035, 0.7177558541297913, 0.12232178449630737, -0.6207674145698547, -0.18772722780704498, -0.7181570529937744, -0.7842605113983154, 0.303768128156662, -0.4756961762905121, -0.8422876596450806, -0.31925225257873535, 0.09542931616306305, -0.533976137638092, 0.3492580056190491, -0.6051157712936401, 0.6627326011657715, -0.779609739780426, -0.36062416434288025, -0.29149240255355835, -0.5887562036514282, 0.6360107064247131, -0.5441539883613586, 0.5363893508911133, -0.31838008761405945, -0.1272744983434677, 0.531833827495575, -0.24385802447795868, 0.861447811126709, -0.011444350704550743, -0.32028281688690186, 0.3359322249889374, 0.19228573143482208, 0.5269825458526611, -0.3458428680896759, -0.19551296532154083, 0.5076128244400024, 0.04683133587241173, -0.056516729295253754, -0.3118620812892914, 0.9112363457679749, -0.6346561908721924, -0.27294349670410156, -0.4789136052131653, -0.2517680525779724, -0.662559449672699, 0.1907661408185959, 0.04421301558613777, 0.2801250219345093, -0.23302404582500458, 0.1554630547761917, 0.654927670955658, -0.5348933935165405, 0.6737177968025208, 0.5133291482925415, -0.28873997926712036, -0.4423398971557617, 1.047570824623108, 0.018893355503678322, 0.5422793626785278, 0.2742939293384552, 0.27732083201408386, -0.45619040727615356, -1.1941531896591187, -0.2784489393234253, 0.0456470362842083, -0.8960185050964355, 0.06984052807092667, -0.5275622606277466, -0.1911681592464447, -0.22662003338336945, 0.033424802124500275, -0.38254427909851074, -0.22232577204704285, -0.06860297173261642, -0.1775905042886734, -0.07120763510465622, 0.9487625956535339, 0.14151659607887268, 0.19755379855632782, -1.0904786586761475, 0.16681119799613953, 0.20363262295722961, 0.6331616640090942, 0.014348971657454967, -0.027697909623384476, -0.015245899558067322, -0.3434509038925171, -0.4444587528705597, -0.793204128742218, -0.0073144687339663506, -0.07359989732503891, 0.8657745718955994, 0.6183722615242004, 0.036096472293138504, 0.22932012379169464, -0.3923133611679077, 0.7047695517539978, 0.3375296890735626, -0.870513379573822, 0.27991369366645813, -0.4496600031852722, -0.28193339705467224, 0.6000065803527832, 0.42785215377807617, -0.22474326193332672, -0.358524352312088, -0.35485967993736267, -0.8881645202636719, 0.24434047937393188, 0.5802379250526428, -0.2298625409603119, 0.2617879807949066, 0.03904246911406517, 0.2912295460700989, 0.16058364510536194, -0.7967520356178284, -0.1574893295764923, 0.08975910395383835, -0.1573752760887146, 0.10844266414642334, -0.23641903698444366, -0.21802973747253418, 0.2015034705400467, 0.5360880494117737, 0.0013947661500424147, 0.06065978854894638, -0.35979387164115906, -0.11647697538137436, -0.2317768782377243, 0.44864413142204285, 0.48384514451026917, 1.0652670860290527, -0.2614138126373291, 0.23188427090644836, 0.397706538438797, -0.26753273606300354, 0.2219960242509842, 0.05498744919896126, -0.13607899844646454, -0.08445443958044052, 0.526766836643219, 0.38440948724746704, 0.23475298285484314, -0.9655730724334717, 0.7233843803405762, -0.17549535632133484, 0.15288059413433075, -0.35831648111343384, 0.0599428154528141, 0.11974312365055084, 0.002791839651763439, 0.262654185295105, -0.34659966826438904, 0.04090622439980507, -0.4415164589881897, 0.1562734693288803, 0.43016695976257324, -0.24147218465805054, -0.19790545105934143, 0.49175146222114563, 0.5089319348335266, -0.1012611836194992, -0.028471633791923523, -0.2478443682193756, -0.270696222782135, 0.5681409239768982, 0.31596696376800537, 1.073267936706543, -0.01758703403174877, 0.14792583882808685, 0.17648760974407196, 0.5774775743484497, -0.10173875838518143, 0.3106797933578491, 0.4239654541015625, -0.6266776919364929, -0.41338369250297546, -0.7964391112327576, -0.675112783908844, 0.22844839096069336, -0.5029789209365845, -0.03928009048104286, -0.7047393918037415, -0.2783031463623047, -0.41217491030693054, -0.24609248340129852, -0.2205362617969513, 0.18656796216964722, 0.3307039439678192, 0.694795548915863, -0.7856967449188232, 0.5237374901771545, 0.46026790142059326, -0.12803474068641663, -0.5510124564170837, 0.33481961488723755, 0.34581175446510315, -0.6628659963607788, 0.3169427514076233, 0.24050688743591309, -0.4035482108592987, -0.24868448078632355, -0.20401854813098907, -0.9541502594947815, 1.1060572862625122, 0.3197072148323059, -0.8733904957771301, 0.2200760692358017, 0.4210929274559021, 0.5071642994880676, -0.040469251573085785, 0.29494723677635193, 0.5627540946006775, 0.3320842683315277, -0.13312457501888275, -1.0556386709213257, 0.32323402166366577, 0.02615506947040558, 0.03897310048341751, 0.16099199652671814, -0.3602055609226227, 0.5302046537399292, 0.07418867945671082, -0.5005162954330444, 0.24455229938030243, 0.4795515239238739, 0.44912636280059814, 0.43116769194602966, 0.6198549270629883, 0.32736462354660034, 0.6271432638168335, -0.07792854309082031, 1.2254329919815063, -0.4164380133152008, 0.36549249291419983, 1.0202704668045044, -0.4832734167575836, 1.0840774774551392, 0.5389574766159058, -0.4667137861251831, 0.2336050570011139, 0.5632230639457703, 0.20856797695159912, 0.3916580379009247, 0.36494237184524536, -0.37384510040283203, -0.366347074508667, -0.15539510548114777, -0.43706756830215454, 0.006282210815697908, 0.13695284724235535, -0.2777809798717499, -0.2657069265842438, -0.1985698938369751, -0.07084524631500244, 0.005379364360123873, -0.2552213966846466, 0.7809541821479797, 0.16567566990852356, -0.3386492431163788, 0.26598674058914185, 0.14148439466953278, 0.626655638217926, -0.5476140975952148, 0.1514461785554886, -0.08684689551591873, 0.3552372455596924, -0.2219667285680771, -0.7488074898719788, 0.2515033781528473, 0.3173218071460724, 0.4944673180580139, -0.2390235960483551, 0.8438438773155212, -0.005481197033077478, -0.4213462471961975, 0.542227029800415, 0.7151188254356384, 0.13785704970359802, 0.15110504627227783, -0.39921391010284424, 0.5919265151023865, -0.30160677433013916, -0.06791919469833374, 0.557711660861969, -0.0012397500686347485, -0.03519507870078087, 0.6872777342796326, 0.6792197227478027, 0.26011884212493896, 0.48769262433052063, -0.012318327091634274, 0.7471124529838562, -0.41821879148483276, -0.4180331826210022, -0.7884082198143005, 0.7294273376464844, -0.20321577787399292, -0.3218744695186615, 0.8886542916297913, 0.46026021242141724, 0.8321723341941833, 0.12008988112211227, 1.0033717155456543, 0.058683350682258606, 0.5275737047195435, -0.7375105619430542, 0.9585078954696655, -0.32097479701042175, 0.3717101812362671, -0.37966176867485046, -0.9857364892959595, -0.32308441400527954, 0.29526618123054504, -0.20249077677726746, -0.12676571309566498, 0.7935655117034912, 0.7253307104110718, 0.018774952739477158, 0.2695271372795105, 0.38097524642944336, 0.03419964760541916, 0.36035817861557007, 0.2881251573562622, 1.3450485467910767, -0.2049034982919693, 0.7529900074005127, -0.2947675585746765, -0.3204832673072815, -0.10675752907991409, -1.223366141319275, -1.0982120037078857, -0.037341341376304626, -0.3592047095298767, -0.3586909770965576, 0.1626550555229187, 1.0078564882278442, 0.504356861114502, -0.9640612006187439, -0.3805675506591797, 0.013747496530413628, -0.13752955198287964, -0.05941149964928627, -0.12662504613399506, 0.05950384587049484, -0.018691428005695343, -0.43513479828834534, 0.764579713344574, 0.21647685766220093, 0.13933917880058289, -0.5194754600524902, -0.21658389270305634, 0.030141055583953857, 0.03749154135584831, 0.566373348236084, 0.17424742877483368, -0.8126665353775024, -0.329635888338089, -0.37613436579704285, -0.2711235582828522, -0.09946297854185104, 0.8322188854217529, 0.015759224072098732, 0.46211135387420654, 0.6456310749053955, 0.9219317436218262, 0.18189746141433716, -0.006530006881803274, 0.6046069264411926, -0.5045318603515625, -0.24469654262065887, 0.16167515516281128, 0.5179483294487, 0.49552470445632935, -0.17341169714927673, 0.35158592462539673, 0.15970830619335175, -0.38573211431503296, -0.981324315071106, 0.12359773367643356, -0.851460874080658, -0.07322914153337479, 1.398625135421753, -0.5420735478401184, 0.2102077603340149, -0.427272766828537, 0.11667405813932419, 0.38112351298332214, -0.16746090352535248, 0.8700092434883118, 0.5902318954467773, -0.06340552121400833, 0.07266025990247726, -0.6843482255935669, 0.2894198000431061, 0.18781325221061707, -1.5316283702850342, -0.15478669106960297, 0.4961208403110504, 0.4528771638870239, 0.11473175138235092, 0.3390009105205536, -0.23129384219646454, 0.07761214673519135, -0.20749475061893463, 0.05835844203829765, -0.029870308935642242, -0.27620771527290344, -0.5465545058250427, 0.5370801091194153, 0.22287094593048096, -0.20303519070148468 ]
http://arxiv.org/abs/2404.08511v1
http://arxiv.org/pdf/2404.08511v1
Leveraging Multi-AI Agents for Cross-Domain Knowledge Discovery
2024-04-12T14:50:41
2024-04-12T14:50:41
Shiva Aryal, Tuyen Do, Bisesh Heyojoo, Sandeep Chataut, Bichar Dip Shrestha Gurung, Venkataramana Gadhamshetty, Etienne Gnimpieba
cs.AI
cs.AI, cs.CL
In the rapidly evolving field of artificial intelligence, the ability to harness and integrate knowledge across various domains stands as a paramount challenge and opportunity. This study introduces a novel approach to cross-domain knowledge discovery through the deployment of multi-AI agents, each specialized in distinct knowledge domains. These AI agents, designed to function as domain-specific experts, collaborate in a unified framework to synthesize and provide comprehensive insights that transcend the limitations of single-domain expertise. By facilitating seamless interaction among these agents, our platform aims to leverage the unique strengths and perspectives of each, thereby enhancing the process of knowledge discovery and decision-making. We present a comparative analysis of the different multi-agent workflow scenarios evaluating their performance in terms of efficiency, accuracy, and the breadth of knowledge integration. Through a series of experiments involving complex, interdisciplinary queries, our findings demonstrate the superior capability of domain specific multi-AI agent system in identifying and bridging knowledge gaps. This research not only underscores the significance of collaborative AI in driving innovation but also sets the stage for future advancements in AI-driven, cross-disciplinary research and application. Our methods were evaluated on a small pilot data and it showed a trend we expected, if we increase the amount of data we custom train the agents, the trend is expected to be more smooth.
[ -0.7291162014007568, -0.525103747844696, 0.7142138481140137, -0.23356541991233826, 0.312335729598999, 0.747566819190979, -0.05434192344546318, -0.6434752345085144, 0.06730645149946213, 0.11047172546386719, -0.5129294395446777, -0.47828954458236694, -0.6548770070075989, -0.05982562527060509, -0.02656574919819832, 0.5538507699966431, -0.017063146457076073, -0.11045591533184052, -0.7287198901176453, -0.44082772731781006, -0.5777415633201599, -0.45355087518692017, -0.44041529297828674, -0.7427689433097839, 0.4860488772392273, 0.3058761656284332, 0.7570557594299316, 0.3350921869277954, 0.43848279118537903, 0.3820064663887024, 0.37708890438079834, 0.7208918333053589, -0.050686124712228775, 0.05568600445985794, -0.35037070512771606, -0.3245338201522827, -0.436271071434021, 0.009210644289851189, 0.01929815672338009, 0.6288067698478699, 0.05644077807664871, -0.08608870953321457, -0.12968026101589203, 0.4515323042869568, -0.5745895504951477, 0.34767428040504456, -0.4412107765674591, 0.26317253708839417, -0.26475653052330017, -0.26465660333633423, -0.1249793991446495, 0.10811717063188553, 0.6516008973121643, -0.812619686126709, 0.3692357540130615, 0.07839487493038177, 0.5121913552284241, 0.5471968650817871, -0.35666629672050476, 0.03649196773767471, -0.8788418173789978, 0.6199832558631897, -0.48276299238204956, 0.22042205929756165, -0.15158507227897644, 0.7579602003097534, 0.020724168047308922, -0.6593396067619324, -0.5897624492645264, 0.031640227884054184, -0.02912316471338272, -0.03681723773479462, -0.0967036634683609, -0.3028648793697357, -0.23809011280536652, 0.07191172242164612, -0.7557575702667236, 0.10112069547176361, -0.012762478552758694, -0.41191044449806213, 0.8504791855812073, 0.24522145092487335, 0.3257523477077484, 0.6885969638824463, -0.37954166531562805, -0.12687894701957703, -0.3529597520828247, 0.04936029762029648, -0.02299061231315136, 0.6193861365318298, 0.04446510225534439, 0.42599743604660034, -0.416025847196579, 0.2356276512145996, -0.1426428258419037, -0.14203718304634094, 0.5460344552993774, -0.6496456265449524, -0.0422670915722847, -0.2758617401123047, 0.638038694858551, -0.03808269277215004, -0.0402778722345829, -0.5330360531806946, -0.024568023160099983, -0.059860553592443466, 0.38027113676071167, -0.293731153011322, -0.030514409765601158, 0.03745517134666443, -0.2409646064043045, 0.127955362200737, 0.01702239364385605, -0.5242468118667603, -0.6377828121185303, -0.40407833456993103, 0.556794285774231, -0.4195249676704407, -0.4124503433704376, -0.18785227835178375, -0.7600767016410828, 0.0364457406103611, 0.6456161141395569, -0.2793864607810974, 0.06608136743307114, 0.7404871582984924, 0.5604076385498047, -0.24949900805950165, -0.9528236985206604, -0.029092689976096153, 0.3157220184803009, -0.13890992105007172, 1.0071358680725098, -0.6805886030197144, -0.08811182528734207, 0.02308877371251583, -0.19137050211429596, -0.4203484356403351, -0.561069667339325, 0.1664787083864212, -0.6966012716293335, -0.14660578966140747, -0.2787245512008667, -0.4659954011440277, -0.4248293936252594, 0.4602920711040497, -0.6980255246162415, 0.6127625107765198, 0.13287746906280518, -0.4073115587234497, 0.6641954183578491, -0.9925355315208435, -0.4127129316329956, 0.36949196457862854, -0.44372445344924927, -0.3877217173576355, -0.39882686734199524, 0.1423119604587555, 0.42423900961875916, -0.5590965151786804, 0.13944190740585327, -0.27157092094421387, -0.10626768320798874, 0.05823292210698128, -0.12433741986751556, 0.47004786133766174, -0.007969371043145657, -0.6711965799331665, 0.17202700674533844, -0.3669697046279907, -0.012985588051378727, 0.058963727205991745, 0.06415897607803345, -0.5079554915428162, -0.23215992748737335, -0.29269760847091675, 0.25002405047416687, 0.25474050641059875, -0.2976169288158417, 0.23628315329551697, 0.10885851085186005, 0.12300962209701538, 0.566169023513794, 0.045510128140449524, 0.7162880897521973, -0.8704150319099426, 0.5225976705551147, 0.2904098629951477, 0.34927722811698914, 0.07688641548156738, -0.7436205744743347, -0.25535833835601807, -0.24262326955795288, 0.0662003681063652, 0.35929983854293823, -0.8591180443763733, 0.35521724820137024, -0.10698089748620987, -0.726777970790863, -0.7140435576438904, 0.07726217061281204, 0.15837234258651733, 0.41690897941589355, 0.46158087253570557, -0.28382161259651184, -0.14725267887115479, -0.6244271993637085, -0.22550298273563385, 0.028238780796527863, 0.26967260241508484, 0.7612568140029907, 0.6402166485786438, -0.7813184857368469, 0.9686190485954285, -0.17578911781311035, -0.4897884130477905, -0.2654549479484558, 0.20498807728290558, -0.27169349789619446, 0.3835044205188751, 0.5240664482116699, -1.1447954177856445, -0.609039306640625, 0.38326895236968994, -0.9960382580757141, 0.3568844795227051, -0.004601106513291597, -0.4083276093006134, 0.0621616430580616, 0.026729188859462738, -0.8153248429298401, 0.6386599540710449, -0.0011043717386201024, -0.29135674238204956, 0.29861289262771606, -0.055723391473293304, 0.36538365483283997, -0.7541595697402954, 0.10558129847049713, -0.11448778957128525, 0.17302390933036804, -0.7697246074676514, 0.025069689378142357, -0.3575781285762787, 0.0934215784072876, -0.21123896539211273, 0.5037502646446228, -0.4099375009536743, -0.08621994405984879, -0.15019941329956055, 0.14100800454616547, 0.19972790777683258, 0.5993424654006958, 0.09748809784650803, 0.7904050946235657, 0.7612357139587402, -0.6165746450424194, 0.26562172174453735, 0.5088571906089783, 0.27022871375083923, 0.37787356972694397, -0.33693981170654297, 0.2705387771129608, -0.013617594726383686, 0.1873047947883606, -0.430083692073822, 0.07544339448213577, 0.3590677082538605, -0.5603215098381042, -0.30615246295928955, 0.0014110017800703645, -0.3463693857192993, -0.22769397497177124, -0.27137330174446106, 0.7175180315971375, 0.10953957587480545, -0.5208130478858948, 1.0312811136245728, 0.7729036211967468, -0.06899221986532211, -0.8301520943641663, -0.27913475036621094, 0.13038967549800873, -0.029690183699131012, -0.8938546776771545, 0.44442030787467957, -0.11474751681089401, -0.3558725118637085, 0.20710039138793945, -0.05505746975541115, -0.2537689507007599, 0.009928658604621887, 0.39428433775901794, -0.053563885390758514, -0.2885417938232422, 0.06487470120191574, 0.1206950843334198, 0.026845699176192284, -0.01616412028670311, -0.6894076466560364, 0.34356963634490967, -0.1103655993938446, -0.5671725273132324, -0.33093705773353577, 0.5105990171432495, 0.8222141265869141, -0.7904236316680908, 0.7742341756820679, 0.7194129824638367, -0.5677618980407715, -0.6206857562065125, -0.3635047674179077, -0.12509886920452118, -0.4154382050037384, -0.12639135122299194, -0.39779824018478394, -0.6581673622131348, 0.5291392803192139, -0.5510095953941345, 0.05798882246017456, 0.6221746206283569, 0.5947765111923218, 0.23797279596328735, 0.9082656502723694, 0.9426301121711731, -0.2016409933567047, -0.032620739191770554, -0.6864902973175049, 0.34516945481300354, -0.5704681873321533, -0.7977074384689331, -0.6532216668128967, -0.058140140026807785, -0.24196849763393402, -0.621671199798584, 0.6060124039649963, -0.6638489365577698, -0.1560095101594925, -0.08938131481409073, -0.3600456416606903, 0.09914373606443405, 0.94898521900177, -0.03483814373612404, 0.45479562878608704, -0.3777211606502533, -0.11853793263435364, 0.42952024936676025, -0.8601192235946655, -0.4403173625469208, 1.119856834411621, 0.014571220614016056, 0.4470524489879608, -0.03918483480811119, 0.6694250702857971, 0.8847411870956421, -0.04363192245364189, -0.5296110510826111, 0.2532111704349518, 0.30995428562164307, -0.4780985414981842, -0.7081058621406555, -0.359997421503067, -0.9503078460693359, 0.27952656149864197, -0.25011205673217773, -0.1565505415201187, 0.33642154932022095, -0.23703479766845703, -0.3679240345954895, 0.43522369861602783, -0.4663231074810028, 0.959433376789093, -0.3122154176235199, -0.22626012563705444, -0.41197872161865234, -0.6795679926872253, -0.0532742440700531, -0.12442328035831451, 0.16053541004657745, -0.1245608776807785, 0.0918366089463234, 0.5049456357955933, -0.4189603328704834, 0.5267031788825989, -0.2770088315010071, 0.009777478873729706, 0.5500438213348389, -0.346925288438797, 0.22445790469646454, 0.1627683937549591, -0.05869191139936447, 0.4157361090183258, -0.43466195464134216, -0.36549538373947144, -0.5526896715164185, 0.47115418314933777, -1.226648211479187, -0.46847766637802124, -0.4344750940799713, -0.7755680084228516, -0.408927857875824, 0.31567928194999695, -0.14899764955043793, 0.32973235845565796, -0.36834070086479187, -0.3140941858291626, 0.4033360183238983, 0.10707639902830124, 0.3901573121547699, 0.6064355969429016, 0.6018836498260498, 0.0065378108993172646, 0.9382098317146301, 0.10323242098093033, -0.17334389686584473, 0.5601058602333069, -0.04190482571721077, -0.25653979182243347, -0.6989848613739014, -0.38524946570396423, 0.010617279447615147, -0.3866015076637268, -0.3318391442298889, -0.6504595875740051, -0.13708221912384033, -0.6631736755371094, -0.06917475908994675, -0.33495277166366577, -0.09919697046279907, -0.043609049171209335, 0.1603674292564392, 0.1497645080089569, 0.8925764560699463, -0.24575991928577423, -0.07918921858072281, -0.9118457436561584, 0.21973688900470734, 0.37069472670555115, 0.17472174763679504, 0.3136487901210785, 0.1428086757659912, -0.6995407938957214, 0.12532614171504974, -0.331045925617218, -0.41757479310035706, 0.3404505252838135, 0.170929417014122, 1.0714833736419678, 0.29775798320770264, 0.2834876775741577, 0.4113524258136749, -0.2197781354188919, 0.5242459774017334, -0.4091590940952301, -0.6848947405815125, 0.36209943890571594, -0.08400502800941467, 0.051726799458265305, 0.5316519141197205, 0.5494300127029419, -0.2853308618068695, -0.43468567728996277, -0.711755096912384, -0.7982239127159119, 0.6170879602432251, 0.203069806098938, -0.4545292556285858, 0.6775931715965271, 0.13989941775798798, 0.7308257818222046, 0.38440173864364624, 0.22893404960632324, -0.40880531072616577, -0.08843044936656952, -0.04302429035305977, -0.14114895462989807, 0.758689820766449, -0.5016340017318726, -0.11013338714838028, 0.7090578675270081, -0.40285202860832214, 0.387442022562027, 0.1493125855922699, -0.3441833555698395, -0.0031844910699874163, 0.02456546016037464, 0.19528071582317352, 1.0148050785064697, 0.18060912191867828, -0.032449521124362946, -0.11034277081489563, -0.25380125641822815, 0.03922157362103462, 0.47190624475479126, -0.13145644962787628, -0.05306889861822128, 0.534927248954773, 0.5525384545326233, -0.6302305459976196, -0.8761175870895386, 0.3708658814430237, -0.3233393728733063, -0.2718551754951477, -0.3127802610397339, 0.254772812128067, -0.258273184299469, 1.0612518787384033, 0.6898729801177979, 0.6520636081695557, 0.38489213585853577, -0.7464849948883057, 0.4059622585773468, 0.568112850189209, 0.19331075251102448, -0.22072330117225647, 0.6491841077804565, 0.36709681153297424, -0.4188530445098877, 0.4559476673603058, -0.18847504258155823, -0.6260760426521301, 0.9530556201934814, -0.09898318350315094, 0.7981479167938232, 0.12349309772253036, 0.513876736164093, -0.432502806186676, 0.0451803058385849, 0.23632049560546875, 0.08162713795900345, -0.41550493240356445, -1.1138736009597778, -0.00810347218066454, 0.03529724106192589, -0.8497982621192932, -0.26453882455825806, -0.3221176266670227, -0.3017948269844055, -0.057207196950912476, -0.17514470219612122, 0.33572670817375183, 0.34287819266319275, -1.026687741279602, 0.1780933141708374, 0.13603419065475464, 0.6678435206413269, -0.7418450713157654, 0.6395164728164673, 0.9050389528274536, -0.5438032150268555, -0.6155762076377869, 0.093049056828022, 0.15942256152629852, -0.9139370918273926, 0.16879700124263763, -0.008808393031358719, -0.27834179997444153, -0.2818104326725006, -0.30780601501464844, -0.5271701812744141, 1.4188381433486938, -0.019961925223469734, -0.06083562970161438, 0.14160214364528656, 0.416523277759552, 0.7684669494628906, -0.8223716616630554, 0.43890491127967834, 0.6514924764633179, 0.5418808460235596, 0.08873626589775085, -0.8829619288444519, 0.04905446991324425, -0.4350050985813141, -0.3460979461669922, 0.005843005143105984, -0.8002892732620239, 0.9126452803611755, -0.4650425910949707, 0.14632076025009155, -0.272473007440567, 0.670973539352417, 0.18584220111370087, 1.2138029336929321, 0.4039936065673828, 0.4626927375793457, 1.081322431564331, 0.2941262125968933, 0.3784969449043274, -0.335508793592453, 0.1462092399597168, 0.5513765215873718, -0.5739498734474182, 0.35555219650268555, 0.12918849289417267, 0.026780923828482628, 0.5879058837890625, 0.3486792743206024, -0.03201877698302269, 0.5802220106124878, -0.2064887285232544, -0.39440396428108215, -0.26320481300354004, -0.46473613381385803, -0.35116589069366455, 0.322313517332077, 0.22850292921066284, 0.1696712076663971, 0.08053267747163773, 0.29820382595062256, -0.22848445177078247, -0.023264504969120026, -0.260745108127594, 0.9159324169158936, -0.2253868281841278, -0.7018915414810181, 0.1390092968940735, -0.207910418510437, 0.41042378544807434, -0.2324487715959549, -0.37575563788414, -0.3199491798877716, 0.33532169461250305, -0.05810553580522537, -0.5612953305244446, 0.031698938459157944, -0.3734237551689148, -0.2757936716079712, -0.13637302815914154, 0.6717543601989746, -0.3170101046562195, 0.19100993871688843, 0.5986968278884888, 1.321196436882019, -0.1172942966222763, -0.23292173445224762, -0.5944166779518127, -0.16840700805187225, -0.3500770330429077, 0.29507163166999817, 0.1948372721672058, 0.7976759672164917, -0.05876283347606659, 0.8908491730690002, 0.4681936502456665, -0.21008995175361633, 0.09508531540632248, 0.2986140847206116, 0.9392295479774475, -0.5895245671272278, -0.2741508185863495, -0.3626784682273865, 0.4373590350151062, -0.13320553302764893, -0.26518332958221436, 0.5469734072685242, 0.5233553647994995, 0.9285687208175659, -0.039911236613988876, 1.4816042184829712, -0.2305053323507309, 0.40735480189323425, 0.0821547657251358, 0.8700942397117615, -0.7113041877746582, 0.22176717221736908, -0.044709622859954834, -0.31305229663848877, -0.08246800303459167, 0.016318634152412415, 0.16059711575508118, 0.19499638676643372, 0.5384582877159119, 0.6421526670455933, 0.13074779510498047, 0.20873256027698517, 0.08950430899858475, -0.006447024643421173, 0.4329719841480255, 0.6143902540206909, 1.0048930644989014, -0.25309935212135315, 0.39005982875823975, -0.287753701210022, -0.3091702163219452, -0.12331856787204742, -0.08138951659202576, -1.1253108978271484, -0.8646337985992432, -0.23879387974739075, 0.23534022271633148, 0.27417004108428955, 0.8283293843269348, 0.8337677121162415, -0.5676642060279846, -0.0601007454097271, 0.10107206553220749, 0.5180429816246033, -0.6203275918960571, -0.16656874120235443, 0.19852314889431, -0.23759496212005615, -0.701788067817688, 0.7434776425361633, 0.22828823328018188, -0.05748683959245682, -0.38052159547805786, -0.4332544207572937, -0.2851990759372711, 0.16879622638225555, 0.37821367383003235, 0.4171447157859802, -0.19663165509700775, 0.012433853931725025, 0.11771099269390106, -0.016732195392251015, -0.04820892959833145, 0.93034827709198, -0.9548601508140564, 0.0633663684129715, 0.47598737478256226, 1.1917896270751953, 0.35298600792884827, -0.04446299001574516, 0.6439239382743835, -0.5284216403961182, -0.10607116669416428, 0.36474817991256714, 0.13936446607112885, 0.14544722437858582, -0.5534945726394653, 0.5069253444671631, 0.5262972116470337, -0.6783134937286377, -0.4798503816127777, -0.1619264930486679, -0.8307337164878845, -0.2961784303188324, 0.4678128957748413, -0.17653682827949524, 0.10389203578233719, -0.4512341320514679, 0.012384968809783459, 0.2294916957616806, -0.6713389158248901, 0.9205113649368286, 0.22898148000240326, -0.7927578687667847, 0.11706092208623886, -0.09990469366312027, 0.4755474030971527, 0.2300303876399994, -1.0218815803527832, -0.3232077360153198, 0.2937239408493042, -0.10379184037446976, 0.4293958842754364, 0.4719134271144867, 0.40781939029693604, 0.30448275804519653, 0.2521052062511444, -0.03265963867306709, -0.24041615426540375, -1.0366188287734985, 0.06097724661231041, 0.4479202330112457, -0.001689619617536664, -0.23237241804599762 ]
http://arxiv.org/abs/2404.08509v1
http://arxiv.org/pdf/2404.08509v1
Efficient Interactive LLM Serving with Proxy Model-based Sequence Length Prediction
2024-04-12T14:46:15
2024-04-12T14:46:15
Haoran Qiu, Weichao Mao, Archit Patke, Shengkun Cui, Saurabh Jha, Chen Wang, Hubertus Franke, Zbigniew T. Kalbarczyk, Tamer Başar, Ravishankar K. Iyer
cs.DC
cs.DC, cs.CL, cs.LG
Large language models (LLMs) have been driving a new wave of interactive AI applications across numerous domains. However, efficiently serving LLM inference requests is challenging due to their unpredictable execution times originating from the autoregressive nature of generative models. Existing LLM serving systems exploit first-come-first-serve (FCFS) scheduling, suffering from head-of-line blocking issues. To address the non-deterministic nature of LLMs and enable efficient interactive LLM serving, we present a speculative shortest-job-first (SSJF) scheduler that uses a light proxy model to predict LLM output sequence lengths. Our open-source SSJF implementation does not require changes to memory management or batching strategies. Evaluations on real-world datasets and production workload traces show that SSJF reduces average job completion times by 30.5-39.6% and increases throughput by 2.2-3.6x compared to FCFS schedulers, across no batching, dynamic batching, and continuous batching settings.
[ -0.293154776096344, -0.702262282371521, 0.9052215218544006, 0.34597811102867126, -0.37157419323921204, 0.173039972782135, -0.0022415458224713802, -0.5595763325691223, 0.4326038062572479, 0.6829115152359009, -0.9712309837341309, -0.21925218403339386, -0.5178726315498352, 0.07992628961801529, -0.45912688970565796, 0.5931353569030762, 0.27684152126312256, -0.01927156187593937, -0.29314351081848145, 0.33484283089637756, -0.057053931057453156, 0.12078577280044556, -0.889356255531311, -0.14246712625026703, 0.7072767615318298, 0.5337703227996826, 1.2354251146316528, 1.2443941831588745, 0.3361085057258606, 0.27364686131477356, 0.13776849210262299, 0.4494861960411072, -0.6410397291183472, 0.3077445924282074, 0.07611329853534698, -0.5986840724945068, -0.2464008927345276, -0.1418505609035492, 0.6749218702316284, 1.050209403038025, -0.15759296715259552, 0.2941126227378845, -0.19431331753730774, 0.7239890694618225, -0.4313732385635376, 0.11157073080539703, -0.7192443609237671, 0.2701995372772217, -0.57879638671875, -0.2516300082206726, -0.5206862688064575, -0.12113958597183228, 0.06964033842086792, -0.763188362121582, 0.160005584359169, 0.4411679208278656, 0.6251769661903381, 0.48106688261032104, -0.38413792848587036, 0.35692423582077026, -0.8244462609291077, 0.5299655795097351, -0.8110243082046509, 0.48648902773857117, 0.14517521858215332, 0.47876936197280884, -0.530791163444519, -0.7851290106773376, -0.5872317552566528, -0.2791331112384796, -0.13244377076625824, 0.21712583303451538, 0.16161373257637024, 0.25618621706962585, 0.37212416529655457, 0.22368048131465912, -0.7610364556312561, 0.4159010648727417, -0.14489687979221344, 0.2207901030778885, 0.4171316921710968, 0.6190661191940308, -0.08825153857469559, 0.10845822095870972, -0.5427511930465698, 0.10939820110797882, -0.6815394163131714, 0.03236954286694527, 0.5645138621330261, 0.11623624712228775, -0.10913988202810287, 0.5583062171936035, -0.5426999926567078, 0.7300495505332947, 0.011993959546089172, -0.036007072776556015, -0.4484718441963196, 0.219782292842865, -0.20328053832054138, -0.1608360856771469, 0.8300685286521912, 0.409921258687973, 0.0064766439609229565, -0.363359659910202, -0.10953903198242188, -0.08550241589546204, 0.23072116076946259, -0.9376370906829834, -0.05182994157075882, 0.07794151455163956, -0.2085714489221573, -0.19574487209320068, 0.17170953750610352, -0.6910846829414368, -0.49076640605926514, -0.006510543171316385, -0.06308536976575851, -0.2668609917163849, 0.13923759758472443, -0.37933942675590515, 0.16532151401042938, 0.12589383125305176, 0.3680817484855652, -0.7370401620864868, 0.4170874357223511, 0.7363746166229248, 1.0471564531326294, -0.4348090589046478, -0.1690073311328888, -1.1611745357513428, 0.40689945220947266, -0.3351846933364868, 0.5563437938690186, -0.4498075842857361, -0.5088517665863037, -0.12030407041311264, 0.1463560312986374, 0.04621681943535805, -0.1483655422925949, 0.3298549950122833, -0.8584636449813843, -0.32162508368492126, 0.05711475759744644, -0.901275634765625, 0.25516435503959656, -0.23286126554012299, -0.8818199634552002, 0.9007893204689026, 0.05247434973716736, -0.5518020987510681, 0.28753697872161865, -0.461683452129364, -0.6697971820831299, 0.5107147097587585, -0.20045024156570435, -0.18617792427539825, 0.04062168672680855, 0.13543151319026947, 0.6233193278312683, -0.4455600082874298, 0.35568967461586, -0.5239998698234558, -0.7688066363334656, 0.11943086236715317, -0.595526933670044, 0.3362608551979065, 0.4345735013484955, -0.26249033212661743, 0.23882488906383514, -0.550872266292572, 0.002056615659967065, 0.2778635025024414, -0.14674890041351318, 0.09262547641992569, 0.32612884044647217, 0.09634809195995331, -0.054198551923036575, 0.14313919842243195, -0.49969640374183655, 0.37234795093536377, -0.5234764814376831, 0.08902624994516373, 0.9237020611763, -0.28072279691696167, 0.3403514325618744, -0.44867023825645447, 0.899628758430481, -0.24646437168121338, 0.5150920748710632, -0.35368382930755615, -0.4116249978542328, -0.7046405076980591, -0.38949793577194214, 0.09836040437221527, 0.5805872678756714, -1.3295775651931763, -0.06613780558109283, -0.49997785687446594, -0.689133882522583, -0.4546206295490265, 0.24051356315612793, 0.4885278344154358, 0.4040051996707916, 0.11090074479579926, -0.11381164193153381, -0.396314799785614, -1.0130523443222046, -0.3128436803817749, -0.20196223258972168, 0.05935998260974884, 0.2940271198749542, 0.006516467314213514, -0.11518901586532593, 0.8540950417518616, -0.604400098323822, 0.07761714607477188, -0.2208838164806366, -0.021630560979247093, 0.8468171954154968, 0.1711273491382599, 0.4365934729576111, -0.6214867234230042, -0.7930178046226501, -0.3256015479564667, -0.3647403419017792, -0.2894105315208435, -0.3958266079425812, -0.2024858146905899, 0.33802253007888794, 0.3082338869571686, -0.6611599326133728, 0.4083494246006012, 0.6709645986557007, -0.38643839955329895, 0.39205825328826904, -0.04731346666812897, 0.07950402796268463, -0.6803287863731384, -0.24198126792907715, -0.099583201110363, -0.5698352456092834, -0.642331063747406, -0.12314911186695099, -0.10390403121709824, -0.01415314618498087, -0.7182166576385498, 0.781613826751709, -0.4453617036342621, -0.3118009567260742, -0.5028117299079895, -0.04023066163063049, 0.016099916771054268, 0.314054012298584, 0.04441554471850395, 1.0072954893112183, 0.35399341583251953, -0.6778521537780762, 0.04908517375588417, -0.005149598233401775, -0.28305914998054504, -0.0026512318290770054, -0.5801413655281067, 0.19294960796833038, 0.17312967777252197, 0.3013645112514496, -0.8785490989685059, -0.2232411652803421, 0.26141631603240967, 0.039684657007455826, 0.13144561648368835, -0.5488917231559753, -0.6651475429534912, -0.4672021269798279, -0.016787651926279068, 0.35209858417510986, 0.4782426357269287, -0.8462314009666443, 0.44311100244522095, 0.0538872629404068, -0.15815740823745728, -0.5347078442573547, -0.6745297908782959, -0.0026920780073851347, 0.03161969408392906, -0.7946977615356445, 0.8757996559143066, -0.09605761617422104, 0.060018669813871384, -0.2301293909549713, -0.195022851228714, 0.028739647939801216, 0.3209042251110077, 0.5511955618858337, 0.6580133438110352, -0.01824767142534256, -0.5165355801582336, 0.22049997746944427, 0.04773494601249695, -0.03550923243165016, -0.1252772957086563, 0.549409031867981, 0.046922020614147186, -0.6877685785293579, -0.4165942668914795, 0.342758446931839, 0.7366393208503723, 0.3223764896392822, 0.8585452437400818, 0.7150578498840332, -0.0895148515701294, -0.19970445334911346, -0.6861494183540344, -0.17934592068195343, -0.5180881023406982, 0.14130786061286926, -0.19694869220256805, -0.8582077622413635, 0.43418434262275696, -0.06551874428987503, 0.09023165702819824, 0.17044471204280853, 0.11194708943367004, -0.10036078840494156, 1.0216883420944214, 0.3352034389972687, 0.019322669133543968, 0.5885799527168274, 0.0074203647673130035, 0.06765091419219971, -0.4760189354419708, -0.029891738668084145, 0.16168372333049774, -0.1717846691608429, -0.6515743136405945, -0.5938500165939331, 0.5966362357139587, 0.14148108661174774, -0.04896383360028267, 0.0939461961388588, -0.13139000535011292, 0.5845467448234558, 0.5747187733650208, 0.07341200858354568, 0.24914276599884033, -0.2803553342819214, -0.16827432811260223, 0.11014288663864136, -0.6745770573616028, -0.4620608389377594, 0.7311193943023682, 0.15101675689220428, 0.7135088443756104, 0.09674801677465439, 0.5998069047927856, 0.4228053092956543, 0.336099237203598, -0.5024915933609009, 0.766765296459198, -0.2698289453983307, -0.16377843916416168, -0.49193158745765686, -0.4004736542701721, -0.6960515975952148, 0.2667686939239502, -0.1713358759880066, -0.45403605699539185, -0.27267736196517944, 0.2790880799293518, -0.4324008822441101, 0.5520540475845337, -0.4272245168685913, 0.3515470027923584, -0.4217739999294281, -0.8963539600372314, 0.019793281331658363, -0.6816405057907104, 0.5416161417961121, 0.13297326862812042, 0.08725634962320328, -0.31210020184516907, -0.10826867818832397, 0.5264487862586975, -0.676489531993866, 0.7490724325180054, -0.41946759819984436, 0.21114379167556763, 0.014838971197605133, 0.20530812442302704, 0.9467344284057617, 0.3921211361885071, -0.2970910668373108, 0.1781005710363388, 0.16534847021102905, -0.35464608669281006, -0.5577212572097778, 0.6518194675445557, -0.4621201455593109, -0.9130730628967285, -0.6211579442024231, -0.34178340435028076, -0.2945491671562195, 0.24506226181983948, 0.12155598402023315, -0.11652931571006775, -0.2988533079624176, -0.1411219835281372, 0.4340685307979584, -0.16767801344394684, 0.6853664517402649, 0.6530221104621887, -0.6973257660865784, -0.08940643817186356, 0.4811423718929291, 0.05243498086929321, 0.27309471368789673, 0.35522523522377014, -0.09168578684329987, -0.2827911972999573, -0.499141126871109, -0.7836664319038391, -0.08356069773435593, -0.40984657406806946, -0.2046034038066864, -0.6517289280891418, -0.2106437385082245, -0.29901227355003357, -0.14447781443595886, -0.5288313031196594, -0.38227155804634094, -0.33659565448760986, 0.15361841022968292, 0.6977062821388245, 0.4676191806793213, 0.24922627210617065, 0.5952869653701782, -0.7419292330741882, 0.34224820137023926, -0.013408373109996319, 0.584318220615387, 0.02934390679001808, -0.4218955636024475, -0.2493714839220047, -0.20857176184654236, -0.028974687680602074, -0.6468731760978699, 0.5705408453941345, 0.11053277552127838, 0.5412748456001282, 0.6525188088417053, 0.1139107421040535, 0.7945073843002319, -0.9265654683113098, 0.8116752505302429, 0.2579253911972046, -0.6054192185401917, 0.2321484237909317, -0.39752066135406494, 0.36758944392204285, 0.41359013319015503, 0.5398710370063782, -0.4927210807800293, -0.29393208026885986, -0.30110156536102295, -1.0696262121200562, 0.7531931400299072, 0.1188763901591301, -0.08803600072860718, -0.3687548041343689, 0.4503793716430664, 0.4857805669307709, 0.13848793506622314, -0.29898449778556824, -0.5188775062561035, -0.02130979113280773, 0.10429155081510544, -0.008143824525177479, -0.1558067798614502, 0.271221399307251, -0.20926833152770996, 0.7461324334144592, -0.4104454815387726, 0.5724785327911377, -0.05726396292448044, -0.1230798214673996, -0.12317482382059097, 0.057249583303928375, 0.45812949538230896, 0.6296591758728027, -0.22192178666591644, 0.13944023847579956, 0.28059282898902893, -0.19806328415870667, 0.0010206608567386866, 0.3042507767677307, -0.12671959400177002, -0.003463166067376733, 0.13053886592388153, 0.8696262836456299, 0.15952609479427338, -0.8045973777770996, 0.4301586449146271, -0.047671690583229065, 0.12391471117734909, -0.8797280192375183, 0.4883766174316406, 0.22409480810165405, 0.49778562784194946, 0.42662477493286133, -0.18601521849632263, 0.2967691719532013, -0.24037578701972961, 0.04905058443546295, 0.42077645659446716, -0.18464618921279907, 0.20642155408859253, 0.9677414894104004, -0.11351574957370758, -0.23449808359146118, 0.744850218296051, -0.23808634281158447, -0.18188787996768951, 0.6815481781959534, 0.43887922167778015, 0.731216311454773, -0.06824643909931183, 0.1301838606595993, -0.14359275996685028, -0.10140736401081085, -0.14066240191459656, 0.31786873936653137, 0.15910671651363373, -0.29214584827423096, -0.577174961566925, -0.8937035799026489, -0.7603709101676941, 0.04744846001267433, -0.5423732399940491, 0.21234340965747833, -0.5801209211349487, -0.15893502533435822, -0.16979357600212097, -0.1592734456062317, -0.9103898406028748, -0.025826996192336082, 0.354465514421463, 0.8726046085357666, -0.528015673160553, 1.031919240951538, 0.38264673948287964, -0.13186070322990417, -0.37233710289001465, -0.12693895399570465, 0.01293637789785862, -0.6609007120132446, 0.5362269282341003, 0.246797576546669, -0.3737856149673462, 0.01406811736524105, -0.5015414953231812, -1.1200326681137085, 1.478821039199829, 0.5875919461250305, -1.0054205656051636, -0.1036870926618576, 0.47060588002204895, 0.3048069179058075, -0.4979884922504425, 0.697212278842926, 0.27050986886024475, 0.5276880264282227, 0.1548847258090973, -0.43554413318634033, 0.2665269076824188, -0.31507936120033264, 0.5196582674980164, -0.05098779499530792, -0.9346233010292053, 0.5178130269050598, -0.18735545873641968, -0.17203323543071747, 0.43965598940849304, 1.1954917907714844, 0.42133283615112305, 0.35790279507637024, 0.8179746270179749, 0.21454642713069916, 0.7185924053192139, -0.12592098116874695, 1.2507942914962769, -0.4689498543739319, -0.23283608257770538, 1.2585216760635376, -0.7510301470756531, 0.6036415696144104, 0.7196139693260193, -0.23395316302776337, 0.4003031253814697, 0.8533317446708679, -0.23308522999286652, 0.5848221778869629, 0.36721372604370117, -0.16108256578445435, -0.2967667579650879, -0.2530418336391449, 0.02686459757387638, 0.08279460668563843, 0.08851484209299088, -0.2357618361711502, 0.14946889877319336, 0.018888624384999275, -0.09086573868989944, -0.033914513885974884, -0.15946198999881744, 0.3606213629245758, 0.03124770149588585, -0.9631300568580627, 0.3148936629295349, 0.1274343729019165, 0.7516880035400391, -0.31420615315437317, -0.2497352957725525, -0.32302361726760864, -0.1461694985628128, -0.03440283238887787, -0.5583921074867249, 0.18587888777256012, -0.07000159472227097, -0.5124123096466064, -0.2873862385749817, 0.5138681530952454, -0.3257145285606384, -0.29579198360443115, 0.5469740629196167, 0.4527604579925537, 0.014166569337248802, 0.09834360331296921, -0.4989817440509796, 0.13044176995754242, -0.31203752756118774, -0.5097840428352356, 0.49726420640945435, -0.06686677038669586, -0.060869306325912476, 0.8258088827133179, 0.8212886452674866, -0.04562599956989288, 0.5291838049888611, 0.1281369924545288, 0.7564867734909058, -0.5692564249038696, -0.5838329195976257, -0.8690019249916077, 0.23911812901496887, 0.0263778418302536, 0.04301746189594269, 0.20007602870464325, 0.5064886808395386, 0.8035341501235962, -0.25733962655067444, 0.5256580114364624, 0.11935531347990036, 0.38771894574165344, -0.8078758120536804, 0.5804884433746338, -0.5710305571556091, 0.5432338714599609, -0.12233076989650726, -0.8829783201217651, 0.1398700624704361, 0.13231800496578217, -0.16103345155715942, 0.05130258947610855, 0.45198240876197815, 0.7455493211746216, -0.19176341593265533, 0.2920967936515808, 0.46900689601898193, 0.11479149758815765, 0.1702611893415451, 0.3904486894607544, 0.8631548285484314, 0.035268183797597885, 0.3720875382423401, -0.6811813116073608, -0.024269763380289078, -0.4221021234989166, -0.960900604724884, -0.7266289591789246, -0.2929687201976776, -0.1822073757648468, -0.06206338107585907, 0.29219865798950195, 1.1523557901382446, 0.6577090620994568, -0.4855855405330658, -0.2748538851737976, -0.1935514509677887, -0.17209728062152863, -0.5095267295837402, -0.35796791315078735, 0.2286149114370346, -0.24988816678524017, -0.7393479943275452, 0.9999991059303284, 0.18845881521701813, -0.06451980024576187, -0.14680776000022888, -0.18975968658924103, -0.3664955198764801, 0.23605866730213165, 0.40333178639411926, 0.18649056553840637, -0.925024151802063, -0.14403466880321503, 0.025302311405539513, -0.1308247447013855, -0.19965004920959473, 0.3897111117839813, -0.5823283195495605, 0.08781298249959946, 0.32382380962371826, 0.9591216444969177, 0.903572142124176, -0.17825756967067719, 0.5675800442695618, -0.629341185092926, -0.061760298907756805, 0.17240677773952484, 0.5826300382614136, -0.04366561025381088, -0.9383752346038818, 0.7367551922798157, 0.11535332351922989, -0.3059201240539551, -0.6971750259399414, 0.3138611912727356, -0.9970242381095886, -0.19513338804244995, 0.888825535774231, -0.27904000878334045, -0.37599653005599976, 0.23214854300022125, 0.3329932987689972, 0.5582301616668701, -0.43320325016975403, 0.5186907649040222, 0.30249863862991333, -0.5385576486587524, -0.2687664031982422, -0.7678660154342651, 0.22988705337047577, 0.6260995864868164, -0.5523243546485901, -0.04592667147517204, 0.4042331576347351, 0.05835498124361038, -0.2832907438278198, 0.5025438666343689, 0.20385824143886566, 0.15979091823101044, -0.33055025339126587, -0.11071444302797318, -0.4929704964160919, -0.4758761525154114, 0.14735004305839539, 0.0579913929104805, 0.03160480782389641, 0.14410299062728882 ]
http://arxiv.org/abs/2404.08495v3
http://arxiv.org/pdf/2404.08495v3
Dataset Reset Policy Optimization for RLHF
2024-04-12T14:25:49
2024-04-16T17:36:39
Jonathan D. Chang, Wenhao Zhan, Owen Oertell, Kianté Brantley, Dipendra Misra, Jason D. Lee, Wen Sun
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning (RL) from Human Preference-based feedback is a popular paradigm for fine-tuning generative models, which has produced impressive models such as GPT-4 and Claude3 Opus. This framework often consists of two steps: learning a reward model from an offline preference dataset followed by running online RL to optimize the learned reward model. In this work, leveraging the idea of reset, we propose a new RLHF algorithm with provable guarantees. Motivated by the fact that offline preference dataset provides informative states (i.e., data that is preferred by the labelers), our new algorithm, Dataset Reset Policy Optimization (DR-PO), integrates the existing offline preference dataset into the online policy training procedure via dataset reset: it directly resets the policy optimizer to the states in the offline dataset, instead of always starting from the initial state distribution. In theory, we show that DR-PO learns to perform at least as good as any policy that is covered by the offline dataset under general function approximation with finite sample complexity. In experiments, we demonstrate that on both the TL;DR summarization and the Anthropic Helpful Harmful (HH) dataset, the generation from DR-PO is better than that from Proximal Policy Optimization (PPO) and Direction Preference Optimization (DPO), under the metric of GPT4 win-rate. Code for this work can be found at https://github.com/Cornell-RL/drpo.
[ -0.39066916704177856, -0.3882642388343811, 0.2281631976366043, -0.4480011761188507, -0.13823390007019043, -0.1152094230055809, -0.3839249610900879, -0.15980499982833862, 0.2065422683954239, 0.5523059368133545, -1.0377624034881592, 0.015457402914762497, -0.10169015824794769, 0.1939922273159027, 0.3202148377895355, 1.4790427684783936, -0.10887210816144943, -0.26954200863838196, -0.1970902383327484, -0.10201998054981232, -0.4176422655582428, -0.31116077303886414, -0.6694729924201965, -0.7946131229400635, 0.5035390257835388, 0.46391403675079346, 0.7750091552734375, 0.6338891386985779, 0.23570358753204346, 0.21229732036590576, 0.2140805572271347, 0.5419325232505798, -1.1216497421264648, -0.021867023780941963, -0.19178897142410278, -0.4128149449825287, -0.20960944890975952, 0.029691437259316444, 0.5101959705352783, 0.28761640191078186, -0.5817379951477051, -0.14089323580265045, 0.011140887625515461, 1.0258783102035522, -0.7487332224845886, 0.2132629156112671, -0.49867624044418335, 0.40384286642074585, 0.26950228214263916, -0.6160770058631897, -0.4426654577255249, -0.8004867434501648, 0.09411429613828659, -0.9945201277732849, 0.14048223197460175, 0.12052227556705475, 0.9376873970031738, 0.43889784812927246, -0.16162313520908356, 0.06576260924339294, -0.7897529006004333, 0.9658031463623047, -0.460126668214798, 0.1249440610408783, 0.5627953410148621, 0.4088382422924042, -0.46051591634750366, -0.5016757249832153, -0.6171858310699463, -0.2680817246437073, 0.04613800719380379, 0.3950076699256897, 0.09752050042152405, 0.13489098846912384, 0.20964503288269043, 0.4716908037662506, -0.4109567105770111, 0.0058543020859360695, -0.12064022570848465, -0.2612290680408478, 0.6465165019035339, 0.18331420421600342, -0.23774603009223938, -0.036907993257045746, -0.42847558856010437, -0.525537371635437, -0.8573760986328125, 0.3662292957305908, 0.4735766351222992, 0.32626602053642273, -0.04962429031729698, 0.23061726987361908, -0.2942779064178467, 0.7744360566139221, 0.1439681500196457, -0.30256572365760803, 0.4958299994468689, -0.17251762747764587, 0.03377265855669975, -0.020697571337223053, 0.34775134921073914, 0.613921046257019, 0.4891452193260193, -0.007976661436259747, -0.5214357972145081, -0.2671595513820648, 0.4074443280696869, -0.5424231290817261, -0.3251996636390686, 0.25686800479888916, -0.461860716342926, -0.5174274444580078, 0.17748267948627472, -0.645331859588623, -0.5118183493614197, -0.43853893876075745, 0.3545636534690857, -0.09917175024747849, -0.4895859658718109, 0.20256589353084564, 0.03220590949058533, 0.10648240149021149, 0.27547329664230347, -0.9509730339050293, 0.22234739363193512, 0.5925015807151794, 0.4094960689544678, -0.20874319970607758, -0.3504573702812195, -0.7621996998786926, -0.0986858606338501, -0.3678496479988098, 0.42032766342163086, -0.4028806686401367, -0.5577012896537781, 0.2037162482738495, 0.029122307896614075, -0.10864919424057007, -0.7073034644126892, 0.5406721830368042, -0.666431188583374, 0.3057294487953186, -0.5332682728767395, -0.5825129151344299, -0.1645440012216568, 0.5408300161361694, -0.8351981043815613, 0.8662244081497192, 0.17150457203388214, -0.8035562634468079, 0.5882938504219055, -0.7653095722198486, -0.27896547317504883, -0.22212108969688416, -0.09795397520065308, -1.0821117162704468, -0.32458972930908203, 0.027739277109503746, 0.12207051366567612, 0.028781119734048843, 0.4769305884838104, -0.4770633578300476, -0.40379953384399414, 0.0724513977766037, -0.19262152910232544, 0.5333410501480103, 0.0137438103556633, -0.3647194504737854, 0.4859740734100342, -0.6001089811325073, 0.16393768787384033, 0.2464139610528946, -0.6918123364448547, 0.03740178793668747, 0.14784853160381317, -0.10981722176074982, 0.19331525266170502, 0.031009960919618607, -0.7184867262840271, 0.3916575610637665, -0.3938942551612854, 0.6283007264137268, 1.0054033994674683, 0.3609769940376282, 0.27612316608428955, -0.605195164680481, 0.5338451266288757, -0.3295362889766693, 0.3152965307235718, 0.02206723764538765, -0.3100505471229553, -0.4043445289134979, -0.19729116559028625, 0.15602584183216095, 0.5208461880683899, -0.9169421195983887, 0.5196589827537537, -0.20974156260490417, 0.01909637451171875, -0.2432456761598587, -0.25424861907958984, 0.6015177965164185, 0.7906185388565063, 0.4103882610797882, 0.10481180250644684, -0.45617082715034485, -0.8779114484786987, -0.050990812480449677, -0.08587586134672165, 0.09793612360954285, 0.6404050588607788, 0.502319872379303, 0.05382031947374344, 1.2082207202911377, -0.672063946723938, -0.4225735366344452, -0.2649160325527191, 0.08480977267026901, 0.20108914375305176, 0.2112703174352646, 0.32847505807876587, -0.7915520071983337, -0.24157795310020447, -0.3115943372249603, -0.5273155570030212, 0.21048887073993683, -0.02574763633310795, 0.06331305205821991, 0.2621692717075348, -0.005824253894388676, -0.16105276346206665, 0.3648253083229065, 0.2358773648738861, -0.1856445074081421, 0.5938675999641418, -0.8195345997810364, 0.26086193323135376, -0.6384021639823914, 0.1386975347995758, -0.3477230370044708, -0.43457624316215515, -0.5098463892936707, -0.1360437572002411, -0.051771361380815506, -0.23731940984725952, -0.510349690914154, 0.5417218208312988, -0.11390847712755203, -0.13774777948856354, -0.38703182339668274, -0.1560230553150177, -0.09978894889354706, 0.7616745233535767, 0.24870097637176514, 0.6609065532684326, 0.1688973307609558, -0.7599573731422424, 0.35648113489151, 0.3130199909210205, -0.08003050833940506, 0.43625447154045105, -0.4537927210330963, 0.027015887200832367, -0.38099998235702515, 0.6216611862182617, -0.4647267162799835, -0.22970354557037354, 0.4566315710544586, 0.01742525026202202, 0.28621622920036316, 0.15229418873786926, -0.20087935030460358, -0.31327900290489197, -0.541368305683136, 0.3184228837490082, 0.40090224146842957, -0.7527985572814941, 0.2673560082912445, 0.39718005061149597, 0.43216368556022644, -0.7576446533203125, -0.13670292496681213, -0.42431366443634033, -0.3504802882671356, -0.0825137346982956, 0.3918561637401581, -0.005305868107825518, 0.07003957778215408, -0.0268226508051157, 0.019856004044413567, 0.300540566444397, 0.004887174349278212, 0.14332041144371033, 0.36961105465888977, 0.4638899862766266, 0.11795574426651001, -0.34635230898857117, -0.3972567319869995, -0.15448814630508423, -0.3635232448577881, 0.4213979244232178, -0.17373985052108765, -0.20608022809028625, -0.40359973907470703, -0.07215013355016708, -0.002063038758933544, -0.13947421312332153, 0.3390776813030243, 0.3984639346599579, -0.2700306177139282, -0.3157406151294708, 0.0032416442409157753, -0.6653025150299072, -0.4061356484889984, 0.3521323800086975, -0.38246312737464905, -0.5868796110153198, 0.18600575625896454, 0.17075733840465546, 0.3085005283355713, 0.21454301476478577, 0.29350581765174866, -0.07544426620006561, 0.6475739479064941, 0.4633835256099701, -0.2400124967098236, 0.45250827074050903, -0.43408551812171936, 0.1168685331940651, -0.4345146715641022, -0.3444380760192871, -0.07395918667316437, -0.3782392740249634, -0.6948501467704773, -0.03321843221783638, 0.5595195889472961, 0.05278025195002556, -0.3986082077026367, 0.1069289818406105, -0.5341812968254089, 0.4292503893375397, 0.7248697876930237, 0.5685002207756042, 0.2334693968296051, 0.2032398283481598, 0.04249786585569382, 0.007303692400455475, -0.7160687446594238, 0.009702303446829319, 1.2095285654067993, 0.25293487310409546, 0.7362987995147705, -0.2298542708158493, 0.8166128993034363, 0.5638658404350281, 0.18139848113059998, -0.623469889163971, 0.31643569469451904, -0.13051189482212067, -0.33772408962249756, -0.5844355225563049, -0.6508317589759827, -0.9861218333244324, 0.028470007702708244, -0.372139036655426, -0.4436582624912262, 0.3630911111831665, 0.8991621136665344, -0.38114386796951294, 0.41149580478668213, -0.23910827934741974, 0.5845712423324585, -0.19035761058330536, -0.4617544710636139, -0.48803338408470154, -0.74156653881073, 0.34084534645080566, 0.04062590375542641, 0.047536492347717285, -0.22450953722000122, 0.21553699672222137, 0.833880603313446, -0.5351929664611816, 0.5793424844741821, -0.7736647725105286, -0.06031934916973114, 0.16195470094680786, -0.2288178652524948, 0.8351484537124634, 0.06471157819032669, -0.08996769785881042, -0.11674851924180984, -0.008822587318718433, -0.272952139377594, -0.5635010600090027, 0.4410308301448822, -0.9208964705467224, -0.23498056828975677, -0.4607681334018707, -0.4361366331577301, -0.36348289251327515, 0.15115925669670105, 0.3240503668785095, 0.5059658885002136, -0.14647090435028076, -0.023755516856908798, 0.9180400371551514, -0.3631325364112854, 0.3459114134311676, 0.5180684924125671, -0.28009891510009766, -0.6287659406661987, 1.2454533576965332, -0.2808836102485657, 0.33126893639564514, 0.6163100004196167, 0.45713919401168823, -0.49173349142074585, -0.04476047679781914, -0.5129311680793762, 0.05609133094549179, -0.6109678149223328, -0.24533408880233765, -0.18199844658374786, 0.024807963520288467, 0.18974533677101135, -0.02339000441133976, -0.43217408657073975, -0.43129146099090576, -0.12233070284128189, -0.06589554250240326, 0.45674002170562744, 0.4324282109737396, -0.425098180770874, 0.010789540596306324, -0.3600667417049408, 0.6153720021247864, 0.2515678107738495, 0.46807384490966797, -0.20864127576351166, -0.4050869345664978, -0.06930731981992722, 0.36435744166374207, -0.21013818681240082, -0.5218450427055359, 0.11422042548656464, 0.5452678799629211, 0.4995245635509491, 0.6325122117996216, 0.4788927435874939, 0.3350292444229126, -0.40750840306282043, 0.19283081591129303, 0.23186329007148743, -0.2685074806213379, 0.4093208312988281, -0.36414480209350586, 0.1917223334312439, 0.7982022166252136, 0.3121103048324585, -0.4691173732280731, 0.21107426285743713, -0.5757832527160645, -0.6968838572502136, 0.8336756229400635, 0.03628619760274887, -0.2092132568359375, 0.24650560319423676, 0.5338777899742126, 0.24836313724517822, 0.4028271436691284, -0.46853014826774597, -0.44373106956481934, -0.5071215033531189, 0.06924711167812347, -0.1187448650598526, -0.0949556827545166, -0.38048022985458374, -0.00993778184056282, 0.9728445410728455, -0.13938693702220917, 0.23973482847213745, -0.03625566139817238, 0.1792842298746109, -0.24057671427726746, 0.25629037618637085, 0.5789777636528015, 0.6581628918647766, -0.6151204109191895, -0.18451984226703644, -0.16601096093654633, -0.391448974609375, 0.3825247287750244, 0.1113818809390068, -0.709552526473999, -0.472088485956192, 0.1254481077194214, 1.0598732233047485, 0.26566144824028015, -0.7061772346496582, 0.3813132643699646, -0.05232030153274536, -0.4567337930202484, -0.3395892083644867, 0.24444010853767395, -0.3898313045501709, -0.18184147775173187, 0.19266660511493683, 0.01563757099211216, -0.028495710343122482, -0.41506949067115784, 0.5568665266036987, 0.38501670956611633, -0.3415724039077759, -0.15378671884536743, 0.5602153539657593, 0.2188328206539154, -0.1534358263015747, 0.8081911206245422, -0.36351826786994934, -0.6533659100532532, 0.5483599305152893, 0.5118696093559265, 0.5973408222198486, 0.004312117118388414, 0.5570266842842102, 0.6375910639762878, -0.08250320702791214, -0.2832915484905243, 0.5855968594551086, -0.03482399135828018, -1.0087049007415771, -0.02005343697965145, -0.5784385204315186, -0.5367509722709656, 0.21306876838207245, -0.8096877336502075, 0.06921762973070145, -0.4109058082103729, -0.1593802571296692, -0.31082549691200256, 0.18906690180301666, -0.5433140397071838, 0.4374130666255951, -0.3065846264362335, 0.5309531688690186, -0.8268642425537109, 0.7761507034301758, 0.48212653398513794, -0.3434925675392151, -0.7160344123840332, -0.02887931652367115, 0.0638074055314064, -0.9908099174499512, 0.36408329010009766, -0.0019761600997298956, -0.18173585832118988, 0.26635169982910156, -0.14555419981479645, -0.7608392834663391, 1.003709077835083, 0.24922148883342743, -0.5832260847091675, 0.1829976737499237, 0.11319486051797867, 0.1970180720090866, -0.21630756556987762, 0.141192227602005, 0.7160366177558899, 0.7108398675918579, -0.11000977456569672, -0.7762585878372192, 0.03493041545152664, 0.06574942916631699, -0.12096612900495529, 0.39425987005233765, -0.4986967146396637, 0.42892760038375854, -0.5976743102073669, 0.020421909168362617, -0.2723107635974884, 0.3768216371536255, 0.6549420356750488, 0.028164291754364967, 0.9975829124450684, 0.7131524682044983, 0.7898291349411011, -0.12530916929244995, 1.0700583457946777, -0.1576353907585144, 0.5888598561286926, 1.2352005243301392, -0.2932230234146118, 0.8108859658241272, 0.3385690450668335, -0.3849708139896393, 0.2206711769104004, 0.9796670079231262, -0.17272308468818665, 1.0652459859848022, 0.41822975873947144, -0.26056820154190063, -0.16776354610919952, -0.2374987006187439, -0.3755040466785431, 0.16148199141025543, -0.27530649304389954, -0.03285117819905281, -0.3672041594982147, 0.3162338137626648, -0.08319239318370819, 0.13165833055973053, -0.3463880717754364, 0.8941567540168762, -0.28290534019470215, -1.014666199684143, 0.8114413022994995, 0.0882466584444046, 0.3796369731426239, -0.5197237133979797, -0.21750640869140625, -0.2676646411418915, 0.47345033288002014, -0.34441420435905457, -0.6422632932662964, 0.16504301130771637, -0.5089523196220398, -0.3751934766769409, -0.30817368626594543, 0.5741134881973267, -0.4442967176437378, 0.010594295337796211, 0.12665042281150818, -0.03621341660618782, 0.01696689799427986, 0.2397681027650833, -0.7011488080024719, -0.23863673210144043, 0.2752029001712799, -0.4248400628566742, 0.4101002812385559, -0.2957277297973633, -0.09606782346963882, 0.8682363033294678, 0.4852999448776245, 0.1754891276359558, -0.30199486017227173, 0.13103047013282776, 0.7149757146835327, -0.3306835889816284, -0.8157932162284851, -0.448091983795166, 0.27042829990386963, 0.019752437248826027, -0.2350546419620514, 0.17334677278995514, 0.527600884437561, 0.8883301615715027, -0.2031552940607071, 0.9314725995063782, -0.09277771413326263, 0.7008902430534363, -0.612047553062439, 0.5701472759246826, -0.5479370951652527, 0.019680259749293327, 0.21586111187934875, -0.7352864742279053, 0.1905841827392578, 0.5222132205963135, -0.3885722756385803, 0.2052382081747055, 0.5067133903503418, 0.8575451970100403, -0.030638685449957848, 0.0774766057729721, 0.19490653276443481, -0.2698959708213806, 0.17552131414413452, 0.6896348595619202, 0.4974473714828491, -0.10113154351711273, 0.4556862711906433, -0.530442476272583, -0.47598958015441895, -0.2393827587366104, -1.1042771339416504, -0.5155408978462219, -0.4099675714969635, -0.18300428986549377, -0.46605315804481506, 0.4218156635761261, 0.9692444801330566, 0.6315222382545471, -0.8902661204338074, 0.01653180457651615, -0.25240376591682434, 0.05685276538133621, -0.5880790948867798, -0.24656102061271667, 0.5555993318557739, -0.22617872059345245, -0.3547726273536682, 0.3738933503627777, 0.10902280360460281, -0.35397157073020935, -0.2870582640171051, -0.6748806238174438, -0.03606482595205307, -0.2620004415512085, 0.19768281280994415, 0.7891802787780762, -0.5350573658943176, -0.2740456163883209, -0.3811275362968445, 0.2837584614753723, 0.22771696746349335, 1.0286006927490234, -0.8474459648132324, 0.6595076322555542, 0.4269033968448639, 0.7584689855575562, 0.6177530288696289, 0.2879951298236847, 0.7268068194389343, -0.6186537742614746, 0.010610992088913918, 0.10670433938503265, 0.2369154542684555, 0.348779559135437, -0.4540329873561859, 0.4219944179058075, 0.25911471247673035, -0.6658743619918823, -0.6436052918434143, 0.5219272375106812, -0.4620843231678009, -0.16972441971302032, 1.0068107843399048, -0.3371487557888031, 0.08337516337633133, -0.041179608553647995, -0.04965268447995186, 0.2523082494735718, -0.5738289952278137, 1.0338815450668335, 0.19126099348068237, -0.4407573938369751, -0.15271438658237457, -0.3719905614852905, 1.1105066537857056, 0.38886818289756775, -0.9330557584762573, 0.2263394147157669, 0.4944295883178711, 0.35013702511787415, -0.34236273169517517, 0.8789610862731934, 0.25307902693748474, 0.22733381390571594, -0.4085281789302826, -0.004485647659748793, -0.48185375332832336, -0.4532421827316284, -0.3299815058708191, 0.06628476083278656, 0.01802733913064003, -0.35332852602005005 ]
http://arxiv.org/abs/2404.08491v1
http://arxiv.org/pdf/2404.08491v1
Mitigating Language-Level Performance Disparity in mPLMs via Teacher Language Selection and Cross-lingual Self-Distillation
2024-04-12T14:19:16
2024-04-12T14:19:16
Haozhe Zhao, Zefan Cai, Shuzheng Si, Liang Chen, Yufeng He, Kaikai An, Baobao Chang
cs.CL
cs.CL, cs.AI
Large-scale multilingual Pretrained Language Models (mPLMs) yield impressive performance on cross-language tasks, yet significant performance disparities exist across different languages within the same mPLM. Previous studies endeavored to narrow these disparities by supervise fine-tuning the mPLMs with multilingual data. However, obtaining labeled multilingual data is time-consuming, and fine-tuning mPLM with limited labeled multilingual data merely encapsulates the knowledge specific to the labeled data. Therefore, we introduce ALSACE to leverage the learned knowledge from the well-performing languages to guide under-performing ones within the same mPLM, eliminating the need for additional labeled multilingual data. Experiments show that ALSACE effectively mitigates language-level performance disparity across various mPLMs while showing the competitive performance on different multilingual NLU tasks, ranging from full resource to limited resource settings. The code for our approach is available at https://github.com/pkunlp-icler/ALSACE.
[ -0.6701013445854187, -0.41557562351226807, 0.3274358808994293, 0.37473514676094055, -0.16213560104370117, 0.33826157450675964, -0.3197419345378876, -0.2784876823425293, -0.10809756070375443, 0.4475996792316437, -0.3753525912761688, -0.3070305287837982, -0.9704420566558838, 0.10991154611110687, -0.06867051869630814, 1.0952417850494385, 0.0967959314584732, 0.18474934995174408, -0.2639048993587494, -0.3047749996185303, -0.21426191926002502, -0.8300842046737671, -0.7053353786468506, -0.7265187501907349, 0.6787140965461731, 0.5391994714736938, 0.30609130859375, 0.38738030195236206, 0.24558424949645996, 0.26314884424209595, 0.02294011414051056, 0.11208591610193253, -0.6724801659584045, -0.1297442764043808, -0.22849848866462708, -0.2230743020772934, -0.4137342572212219, -0.13601499795913696, 0.8261653184890747, 0.5162855982780457, -0.3656974732875824, 0.17189665138721466, 0.5201084613800049, 0.9114389419555664, -0.8245945572853088, 0.15162913501262665, -0.5389935970306396, 0.14234712719917297, -0.4849776029586792, -0.08575992286205292, -0.36668071150779724, -0.07061988115310669, -0.049236077815294266, -0.3734980821609497, 0.1795443892478943, -0.2603810429573059, 0.636205792427063, 0.4376680552959442, -0.5020477771759033, 0.1618182212114334, -0.7227405905723572, 0.8583648800849915, -0.6337605118751526, 0.6470306515693665, 0.7111160755157471, 0.37196144461631775, 0.1732025146484375, -0.4876890182495117, -0.1978493481874466, -0.07018019258975983, -0.4054235816001892, 0.03249144181609154, -0.24018047749996185, -0.22076326608657837, 0.3336079716682434, 0.09001804143190384, -0.7526006698608398, 0.44811487197875977, -0.25173261761665344, -0.18617981672286987, 0.627305269241333, -0.07845434546470642, 0.16502965986728668, 0.3538186848163605, -0.2175692617893219, -0.08887592703104019, -0.6985063552856445, 0.1395656168460846, 0.5414952039718628, 0.39436084032058716, -0.02678116410970688, 0.27863335609436035, -0.290514200925827, 0.6101272702217102, -0.1985204815864563, -0.21839076280593872, 0.39976194500923157, -0.13150262832641602, 0.0028995180036872625, 0.12950919568538666, 0.627598226070404, 0.04760897159576416, 0.5241185426712036, -0.06963537633419037, -0.5323405265808105, -0.07046311348676682, -0.13632473349571228, -0.9137701392173767, -0.7323573231697083, -0.22371017932891846, -0.1847020536661148, 0.21904446184635162, -0.2834051251411438, -0.8936418294906616, -0.12035568803548813, -0.33387377858161926, 0.3634604215621948, -0.13560889661312103, -0.3927048444747925, -0.11915362626314163, -0.1290457546710968, -0.3203217685222626, 0.05769624188542366, -1.2133899927139282, 0.33310452103614807, 0.39164990186691284, 0.5775090456008911, -0.20409151911735535, -0.8683974146842957, -0.7015777826309204, 0.2823888957500458, -0.09051983803510666, 0.5284072160720825, -0.6762340068817139, -0.4490663707256317, -0.15261739492416382, -0.15267226099967957, -0.1694546639919281, -0.6450644731521606, 0.14673075079917908, -0.3263475000858307, 0.19910313189029694, -0.24975651502609253, -0.4354526698589325, 0.09600123018026352, 0.18273048102855682, -0.755878746509552, 1.3344969749450684, 0.10462851077318192, -0.702472448348999, 0.6009165644645691, -0.3183250427246094, -0.7038174271583557, -0.10952039062976837, -0.13943225145339966, -0.5110077857971191, 0.04253341630101204, 0.6414344310760498, 0.3611712157726288, -0.15484672784805298, 0.20088274776935577, 0.21718384325504303, -0.24094043672084808, -0.37694501876831055, -0.5973230004310608, 0.518181562423706, 0.11850032210350037, -0.3615712821483612, 0.029534751549363136, -0.8246477246284485, -0.021640188992023468, 0.105294369161129, -0.45224323868751526, -0.3214494585990906, 0.061780668795108795, -0.11895622313022614, 0.395769327878952, 0.27143752574920654, -0.27938172221183777, 0.2005242556333542, -0.07662113755941391, 0.13482163846492767, 0.7133548855781555, -0.4054661989212036, 0.5141023397445679, -0.12364781647920609, 0.5817197561264038, 0.16018925607204437, 0.3170294165611267, 0.12781234085559845, -0.2882190942764282, -0.7032436728477478, -0.46549418568611145, 0.504552960395813, 0.4843670129776001, -0.9265245199203491, 0.1844445765018463, -0.09451210498809814, -0.6243822574615479, -0.6986722350120544, 0.5543608069419861, 0.4435567855834961, 0.5054737329483032, 0.7081922292709351, -0.3104615807533264, -0.0842682495713234, -1.1208584308624268, -0.2329832911491394, 0.12707623839378357, 0.2107449173927307, 0.1751863956451416, 0.20933258533477783, -0.18619996309280396, 0.5801497101783752, -0.5897159576416016, -0.5204946994781494, -0.41214728355407715, 0.1854587346315384, 0.1216542199254036, 0.6285513043403625, 0.8029249310493469, -0.8677369952201843, -0.8039926886558533, -0.00773715740069747, -0.22799652814865112, -0.3179447650909424, 0.20163756608963013, -0.20819130539894104, 0.41006946563720703, 0.599851667881012, -0.12662947177886963, 0.1469697505235672, 0.9135726690292358, -0.21690917015075684, 0.42125633358955383, -0.48980605602264404, 0.1443479061126709, -0.6814576983451843, 0.07899054884910583, -0.005471698474138975, -0.3499624729156494, -0.5099144577980042, -0.2775299847126007, 0.07120931893587112, -0.01704016886651516, -0.37389126420021057, 0.3931528627872467, -0.5029975771903992, 0.12643927335739136, -0.17297539114952087, 0.0841057226061821, 0.0708475261926651, 0.5291965007781982, 0.2783032953739166, 0.6269161701202393, 0.7129974961280823, -0.5632991790771484, -0.0005019442760385573, 0.0096311429515481, -0.4362012445926666, 0.26038190722465515, -0.3484540283679962, -0.09937091171741486, -0.13788121938705444, 0.09191811084747314, -0.5561659336090088, 0.11579833924770355, -0.0026890523731708527, -0.06964895129203796, 0.5291096568107605, -0.451829731464386, -0.42672938108444214, -0.1734209507703781, 0.25799018144607544, 0.7241049408912659, 0.6069592833518982, -0.6566713452339172, 0.4271106421947479, 0.4653816521167755, -0.2830640971660614, -0.8373814225196838, -0.8068891763687134, -0.075352743268013, -0.24272160232067108, -0.12685289978981018, 0.04218621924519539, -0.0007167918956838548, -0.016919510439038277, -0.10340794920921326, -0.056409530341625214, -0.2938566207885742, 0.26155126094818115, -0.19348053634166718, -0.003753917058929801, -0.11552031338214874, 0.35574403405189514, 0.1326989233493805, -0.3328551650047302, -0.1630910038948059, -0.35183751583099365, 0.7351519465446472, 0.14774660766124725, -0.5658251643180847, -0.1057521179318428, 0.3766935467720032, 0.41823676228523254, -0.8125458359718323, 1.0470257997512817, 0.740531861782074, -0.11244812607765198, -0.5626819133758545, -0.5071468949317932, -0.32592764496803284, -0.442945271730423, 0.3313978314399719, -0.5659580230712891, -0.9259853363037109, 0.2769910991191864, -0.1309790313243866, -0.1348295509815216, 0.302925169467926, 0.47784334421157837, 0.16273674368858337, 1.0334997177124023, 0.7734424471855164, -0.4528939425945282, 0.5289104580879211, -0.14662618935108185, 0.2940719425678253, -0.3731108605861664, -0.12387890368700027, -0.5745552778244019, -0.3441338837146759, -0.6772298216819763, -0.4354305565357208, 0.4076150357723236, 0.2923225462436676, -0.0349673368036747, 0.22590821981430054, -0.41655927896499634, 0.7025379538536072, 0.8332951068878174, -0.17583653330802917, 0.2742663621902466, -0.07831108570098877, -0.24714916944503784, -0.15339510142803192, -1.069474220275879, -0.40452468395233154, 0.8308037519454956, 0.17889909446239471, 0.6969942450523376, 0.18327057361602783, 0.9430614113807678, 0.0875503271818161, 0.042779598385095596, -0.1766119748353958, 0.30928725004196167, -0.4579314887523651, -0.4422830045223236, -0.5854529142379761, -0.7067498564720154, -0.804286003112793, 0.512750506401062, -0.14949695765972137, -0.6282516717910767, 0.01849837228655815, 0.44484296441078186, -0.03362002968788147, 0.3263462781906128, -0.7629756331443787, 1.279976725578308, -0.5443527102470398, -0.29036468267440796, -0.39218869805336, -0.473649263381958, -0.0830562636256218, -0.5277359485626221, 0.3712008595466614, -0.4627925455570221, 0.34044885635375977, 0.3473242223262787, -0.21050268411636353, 0.7755577564239502, -0.4030844569206238, -0.36571043729782104, 0.06241605803370476, 0.12187664955854416, 0.5561814308166504, -0.04524561017751694, -0.13761211931705475, 0.43094897270202637, -0.02286412939429283, -0.6176367402076721, -0.5465496182441711, 0.8379954099655151, -0.7063676714897156, -0.6465725898742676, -0.201593279838562, -0.46988484263420105, -0.3822777569293976, 0.2432207614183426, 0.43377894163131714, 0.5078993439674377, -0.14786118268966675, -0.10253474861383438, 0.4725390672683716, -0.197121724486351, 0.45591795444488525, 0.631019651889801, -0.34437698125839233, -0.09776172786951065, 1.3458675146102905, 0.3428039252758026, 0.44683176279067993, 0.536552906036377, 0.3093368113040924, -0.4227730333805084, -0.5351259708404541, -0.4992017447948456, 0.009876870550215244, -0.5999226570129395, 0.012974447570741177, -0.46728408336639404, -0.05787475034594536, -0.5174372792243958, 0.07338811457157135, -0.51828533411026, -0.4180929958820343, -0.12280819565057755, 0.04184478893876076, -0.037331655621528625, 0.7042812705039978, -0.36091911792755127, 0.08975323289632797, -0.9232543110847473, 0.1989031732082367, 0.327332079410553, 0.4888446629047394, 0.11131777614355087, -0.37046706676483154, -0.49414005875587463, 0.1615976095199585, -0.2091442197561264, -0.351182222366333, 0.30574679374694824, 0.4540397822856903, 0.8193283081054688, 0.03190864250063896, 0.23294208943843842, 0.5943621397018433, -0.8751170039176941, 0.601807177066803, 0.1338769793510437, -0.9967642426490784, 0.6390165090560913, -0.06166033074259758, 0.5984096527099609, 0.5265740156173706, 0.585843563079834, -0.5098205804824829, -0.5188661813735962, -0.25992995500564575, -1.0351431369781494, 0.7819076776504517, 0.18644769489765167, 0.026194460690021515, 0.1247759610414505, -0.18465813994407654, 0.17434030771255493, 0.20589135587215424, -0.9786765575408936, -0.31070783734321594, -0.258823424577713, -0.05621582269668579, -0.7823466062545776, -0.2392883151769638, -0.2861635982990265, -0.43952539563179016, 0.8614686727523804, -0.21581342816352844, -0.3577471077442169, 0.12352347373962402, -0.2848324179649353, -0.06252086162567139, 0.2902478873729706, 0.511732280254364, 0.9425391554832458, 0.257292777299881, 0.282889723777771, 0.38578394055366516, -0.15572625398635864, 0.3301863670349121, 0.2644197642803192, 0.24095211923122406, -0.21105501055717468, 0.5350145697593689, 0.8739659190177917, 0.029544772580266, -0.5814308524131775, 0.2675900161266327, -0.06603265553712845, 0.018482806161046028, 0.08320584893226624, 0.15236908197402954, 0.0956382229924202, 0.35391098260879517, 0.22044475376605988, -0.19432130455970764, -0.09811530262231827, -0.2816718518733978, 0.31096479296684265, 0.14818157255649567, -0.20963431894779205, -0.02829202637076378, 0.5277044177055359, 0.4058099687099457, -0.23150330781936646, 0.542422354221344, -0.03927556425333023, -0.6212696433067322, 0.4565446674823761, 0.43274638056755066, 0.5726809501647949, -0.5178452134132385, 0.2561562955379486, 0.23814623057842255, 0.43778368830680847, -0.10000395774841309, 0.01852242648601532, -0.25613805651664734, -0.6134384870529175, -0.41886869072914124, -0.7088660001754761, -0.01702357456088066, -0.04566005617380142, -0.7277539372444153, 0.2193579524755478, -0.11808457970619202, -0.05832931771874428, -0.099223792552948, -0.301176518201828, -0.6571041941642761, 0.30650076270103455, 0.2560616135597229, 0.8607549071311951, -0.8968340158462524, 1.2279248237609863, 0.4829530715942383, -0.0808391198515892, -0.7549830079078674, 0.22538217902183533, -0.1907319724559784, -0.5735036134719849, 0.767468273639679, -0.04983333870768547, -0.2934301793575287, 0.16709770262241364, 0.15945985913276672, -0.6493311524391174, 0.6275320649147034, 0.6884886622428894, -1.162644863128662, 0.3429604768753052, 0.5843341946601868, 0.6312769055366516, -0.0915680080652237, 0.029813390225172043, 0.6634510159492493, 0.49175405502319336, -0.08331012725830078, -1.294994831085205, -0.48663270473480225, 0.02147158421576023, -0.3238791525363922, 0.6420921683311462, -0.6543287038803101, 0.7306616306304932, 0.014221692457795143, 0.05805737152695656, -0.4824990928173065, 0.3056240975856781, -0.04942427948117256, 0.301133930683136, 0.5087724328041077, 0.7633898258209229, 0.7330103516578674, -0.17378884553909302, 0.8589608669281006, -0.5056174397468567, 0.4284624755382538, 1.3354907035827637, -0.382236510515213, 0.7731232643127441, 0.4433720111846924, -0.012790089473128319, 0.2706194519996643, 0.4976336658000946, 0.08849174529314041, 0.742338240146637, 0.19925104081630707, -0.4400007128715515, -0.6108704805374146, -0.09788376837968826, -0.45320573449134827, 0.6488990187644958, 0.08729624003171921, -0.07261443138122559, -0.43144527077674866, 0.2171483039855957, -0.19338035583496094, 0.28070497512817383, -0.3373918831348419, 0.8232535719871521, 0.045072656124830246, -0.7217291593551636, 0.7118670344352722, -0.22847998142242432, 0.4588990807533264, -0.702046275138855, -0.17200244963169098, -0.21254396438598633, 0.27992692589759827, -0.08343755453824997, -0.8232266306877136, 0.2248775064945221, 0.001654620049521327, -0.19038507342338562, -0.5498923063278198, 0.5910933613777161, -1.0364784002304077, -0.5472268462181091, 0.8683282136917114, 0.7463987469673157, 0.005607724189758301, -0.045463912189006805, -0.6160417795181274, 0.029403749853372574, 0.010246970690786839, -0.13153879344463348, 0.5376282334327698, 0.6166561841964722, 0.11559383571147919, 0.7522286176681519, 0.3547462522983551, 0.22473368048667908, 0.029071366414427757, 0.4136977791786194, 0.879189133644104, -0.12575724720954895, -0.5152943730354309, -1.134665846824646, 0.47062793374061584, -0.04460567235946655, -0.4725114107131958, 0.8343859314918518, 0.7366577386856079, 1.337691068649292, -0.05446377024054527, 0.6271960139274597, 0.22750313580036163, 0.45956864953041077, -0.55492103099823, 1.0452852249145508, -0.8781716823577881, 0.10595151036977768, -0.20521342754364014, -1.0293759107589722, -0.09463473409414291, 0.3795739710330963, -0.2706151604652405, 0.0467602014541626, 0.327243834733963, 0.6621092557907104, -0.22547370195388794, -0.3968709409236908, 0.6635278463363647, 0.030421020463109016, 0.3526960015296936, 0.5232718586921692, 0.7419220805168152, 0.1044342890381813, 0.4124211072921753, -0.4934205710887909, -0.17357449233531952, 0.1351926028728485, -0.8762240409851074, -1.043253779411316, -0.629940390586853, -0.28865909576416016, 0.14594411849975586, 0.18598538637161255, 0.6410264372825623, 0.8365391492843628, -0.8325573205947876, -0.37133169174194336, 0.13294179737567902, 0.26258406043052673, -0.06420230120420456, -0.12063422799110413, 0.16608718037605286, -0.3942053020000458, -0.9382253885269165, 0.45693469047546387, 0.090822234749794, 0.2416037619113922, -0.21220673620700836, -0.2579922378063202, -0.3353483974933624, -0.23392529785633087, 0.5365760326385498, 0.18308046460151672, -0.4223121702671051, 0.061981137841939926, -0.5871395468711853, -0.11847808212041855, 0.04240803420543671, 0.9866124987602234, -0.6212713718414307, 0.4502001404762268, 0.25742781162261963, 0.5004385113716125, 0.5100939273834229, -0.1603344976902008, 0.6619512438774109, -1.2248890399932861, 0.4393259584903717, 0.39415693283081055, 0.36251044273376465, 0.3163909316062927, -0.30676430463790894, 0.467535138130188, 0.0878545418381691, -0.6460074782371521, -0.7841602563858032, 0.13883918523788452, -0.2280975878238678, -0.5327253937721252, 0.9910582304000854, -0.25941917300224304, 0.2615605294704437, 0.1123744398355484, -0.23178265988826752, 0.15842445194721222, -0.16645847260951996, 0.7175464630126953, 0.9734161496162415, -0.1212095096707344, -0.3170625865459442, -0.3653041422367096, 0.8278791308403015, 0.5980752110481262, -0.7346580028533936, 0.16510197520256042, 0.3138267397880554, 0.16385826468467712, -0.09795337915420532, 0.6414493322372437, 0.30151423811912537, 0.0836481973528862, -0.1612071394920349, 0.043080609291791916, 0.06950489431619644, -0.7993866801261902, -0.31823089718818665, -0.05831143260002136, 0.2759755849838257, -0.08623450994491577 ]
http://arxiv.org/abs/2404.08488v1
http://arxiv.org/pdf/2404.08488v1
Thematic Analysis with Large Language Models: does it work with languages other than English? A targeted test in Italian
2024-04-12T14:10:09
2024-04-12T14:10:09
Stefano De Paoli
cs.CL
cs.CL
This paper proposes a test to perform Thematic Analysis (TA) with Large Language Model (LLM) on data which is in a different language than English. While there has been initial promising work on using pre-trained LLMs for TA on data in English, we lack any tests on whether these models can reasonably perform the same analysis with good quality in other language. In this paper a test will be proposed using an open access dataset of semi-structured interviews in Italian. The test shows that a pre-trained model can perform such a TA on the data, also using prompts in Italian. A comparative test shows the model capacity to produce themes which have a good resemblance with those produced independently by human researchers. The main implication of this study is that pre-trained LLMs may thus be suitable to support analysis in multilingual situations, so long as the language is supported by the model used.
[ -0.27890893816947937, -0.7446405291557312, 0.6379207968711853, 0.25357720255851746, -0.4496648907661438, 0.06911183893680573, -0.47944551706314087, -0.7283791303634644, 0.6906160712242126, 0.322391539812088, -0.5572046041488647, -0.6704446077346802, -0.46322381496429443, 0.5552207231521606, -0.5945857167243958, 0.8437850475311279, -0.20399361848831177, 0.7258850336074829, -0.1993853747844696, -0.46609994769096375, -0.5202648043632507, -0.4831817150115967, -1.0402095317840576, -0.23421043157577515, 0.6930332183837891, 0.381181001663208, 0.13643960654735565, 0.038286130875349045, 0.5369154214859009, 0.30911001563072205, -0.09526506066322327, 0.06157112866640091, -0.40147948265075684, -0.03022015653550625, -0.4945163130760193, -0.7225380539894104, -0.21844808757305145, 0.09354143589735031, 0.7034490704536438, 0.6905452013015747, 0.09675288945436478, 0.2721753418445587, 0.05131998658180237, 0.4067639708518982, -0.27119970321655273, 0.25953707098960876, -0.7026669383049011, 0.11096441000699997, -0.21653716266155243, -0.07596468925476074, -0.35060393810272217, -0.3881894052028656, -0.1442420482635498, -0.0885174348950386, -0.017403259873390198, 0.25317126512527466, 0.9379077553749084, 0.007234138436615467, -0.5517207980155945, -0.2947222888469696, -0.9703949689865112, 0.7155621647834778, -0.6029110550880432, 0.17333818972110748, 0.4081639051437378, 0.2991456985473633, -0.04345916211605072, -0.659683883190155, -0.41240787506103516, -0.5819489359855652, 0.05903324857354164, 0.15718601644039154, -0.22181400656700134, -0.29767993092536926, 0.14216235280036926, 0.4678342044353485, -0.5435089468955994, 0.45127245783805847, -0.21592040359973907, 0.012309962883591652, 0.6475654244422913, 0.2875250279903412, 0.3834195137023926, 0.0782860517501831, -0.2950470447540283, 0.24113239347934723, -1.110122561454773, -0.021916043013334274, 0.4486914277076721, 0.5161268711090088, -0.19363580644130707, 0.8719476461410522, 0.04452405497431755, 0.3842216730117798, -0.3342286944389343, -0.12975431978702545, 0.07390177994966507, -0.520614504814148, 0.1610165238380432, 0.0408986359834671, 0.8892389535903931, 0.2491469830274582, 0.7700477242469788, 0.04515782743692398, -0.26272061467170715, -0.2085014134645462, -0.06253258883953094, -0.5522558689117432, 0.11099119484424591, 0.027507340535521507, -0.30481231212615967, 0.1774476170539856, 0.11868394166231155, -0.818960428237915, -0.14750899374485016, -0.2598877251148224, 0.054068662226200104, -0.3490123152732849, -0.25100457668304443, 0.24795997142791748, 0.293178915977478, 0.21734395623207092, 0.21064326167106628, -0.4690827429294586, 0.05436581000685692, 0.5276627540588379, 0.931006669998169, -0.3175334930419922, -0.39446088671684265, -0.3068833649158478, 0.061323147267103195, -0.3922308683395386, 0.8799034953117371, -0.6983753442764282, -0.4631577134132385, 0.20278632640838623, 0.24043573439121246, -0.10577405244112015, -0.2945501208305359, 0.29643362760543823, -0.3685833811759949, 0.5940929651260376, -0.2202601581811905, -0.4707649350166321, 0.040010467171669006, 0.498868852853775, -0.7188100218772888, 1.1847548484802246, -0.03368156775832176, -0.8554558753967285, 0.21904580295085907, -0.6192781329154968, -0.4765297770500183, -0.11876679956912994, -0.43066784739494324, -0.37804678082466125, 0.21978409588336945, 0.00962106417864561, 0.2652074694633484, -0.7092260122299194, 0.6831437945365906, -0.38203951716423035, -0.2989039123058319, 0.434103399515152, -0.28475522994995117, 0.7370626330375671, 0.2731521427631378, -0.4981025755405426, -0.03953263536095619, -0.8065927028656006, -0.1287120282649994, 0.31716758012771606, -0.08257508277893066, -0.5281176567077637, 0.19781135022640228, 0.2162540704011917, 0.10517214983701706, 0.15550778806209564, -0.8264325857162476, 0.27663642168045044, -0.373683899641037, 0.2916448414325714, 0.49353381991386414, -0.10789201408624649, 0.014630149118602276, -0.12777569890022278, 0.9542858004570007, 0.04856856167316437, -0.40560153126716614, -0.13414648175239563, -0.4338549077510834, -0.822404682636261, -0.5359841585159302, 0.5787712931632996, 0.6368609666824341, -0.9487258791923523, 0.5219120383262634, -0.3725219666957855, -0.4132753014564514, -0.323359876871109, -0.2698809504508972, 0.26157382130622864, 0.14730393886566162, -0.026290412992239, -0.5751824378967285, -0.6737362742424011, -0.9629873633384705, -0.3114733397960663, -0.3734293580055237, 0.0033846592996269464, 0.2600133717060089, 0.906520664691925, 0.1361226588487625, 1.0180573463439941, -0.32905203104019165, -0.29052066802978516, -0.5732284784317017, 0.21250736713409424, 0.3798310458660126, 0.349143922328949, 0.7999093532562256, -0.5717164278030396, -0.39835211634635925, 0.1470327079296112, -0.6559369564056396, -0.1795092076063156, 0.1429840326309204, 0.23810149729251862, -0.01865627057850361, 0.4541926383972168, -0.5861828923225403, 0.3854120671749115, 0.486782431602478, -0.3685901165008545, 0.3612201511859894, -0.25788360834121704, 0.3107978403568268, -1.4940299987792969, 0.2127016931772232, 0.28387942910194397, -0.08312611281871796, -0.47691109776496887, 0.02861887216567993, -0.2676497995853424, -0.5535169839859009, -0.6407447457313538, 0.9454890489578247, -0.40487805008888245, -0.19077220559120178, -0.15171021223068237, -0.22327999770641327, -0.13096319139003754, 0.15824002027511597, 0.40387892723083496, 0.9979496598243713, 0.4568142890930176, -0.1847703754901886, 0.11029519140720367, 0.0517166331410408, -0.773236095905304, 0.5962080955505371, -0.7205094695091248, 0.1077287346124649, -0.2069086730480194, 0.05488532409071922, -1.236393928527832, -0.08926203846931458, 0.14379209280014038, -0.29840973019599915, 0.11241216212511063, 0.04972920939326286, -0.5648849010467529, -0.2935906946659088, -0.10537014156579971, 0.4557831883430481, 0.22559241950511932, -0.3288925290107727, 0.4011610150337219, 0.23456843197345734, -0.4648301899433136, -0.2897396981716156, -0.7799779176712036, 0.08932539820671082, -0.8077622652053833, -0.42118361592292786, -0.04925926402211189, -0.054235439747571945, -0.5783903002738953, -0.2552874684333801, 0.2553462088108063, -0.6822232007980347, 0.26238471269607544, -0.22002695500850677, 0.08973868191242218, -0.5732998847961426, 0.10235705226659775, -0.15068283677101135, -0.03486258164048195, 0.08671547472476959, -0.4695250689983368, 0.6035448908805847, 0.09130566567182541, -0.6111142635345459, -0.5405546426773071, 0.4642241299152374, 0.5341091752052307, -0.6203859448432922, 0.7834246158599854, 0.5022399425506592, -0.27058133482933044, 0.047235991805791855, -0.4693354666233063, -0.03723735734820366, -0.39902645349502563, 0.48804545402526855, -0.5180724263191223, -0.9882590770721436, 0.7344715595245361, -0.036398641765117645, -0.19486701488494873, 0.4110817015171051, 0.7746924161911011, -0.3318406939506531, 0.8415945172309875, 0.7578991651535034, -0.4570699632167816, 0.6184929609298706, -0.12559658288955688, 0.32021716237068176, -0.20402169227600098, -0.17109844088554382, -1.2177326679229736, -0.3919743299484253, -0.7984684109687805, -0.1798771619796753, 0.4252452254295349, -0.3068160116672516, 0.005621994845569134, 0.002694136928766966, 0.07420048862695694, 0.706078290939331, 0.27619993686676025, -0.053408268839120865, 0.45228591561317444, 0.1982877403497696, -0.006913365330547094, -0.29391342401504517, -0.4804357886314392, -0.6052099466323853, 0.8340274095535278, 0.18322236835956573, 0.6614350080490112, -0.049451883882284164, 0.5273499488830566, -0.0451742485165596, 0.11735516786575317, -0.8157707452774048, 0.488742470741272, -0.15426921844482422, -0.7447277307510376, -0.22838135063648224, -0.3548881411552429, -1.271071434020996, 0.16882987320423126, 0.03912079334259033, -0.75433748960495, 0.19117124378681183, -0.34676438570022583, 0.04301698878407478, 0.41020750999450684, -0.5077353715896606, 0.5837328433990479, -0.2935030460357666, -0.13807541131973267, -0.11664631217718124, -0.2977612614631653, 0.26937785744667053, -0.21748219430446625, 0.3741755783557892, -0.2847364842891693, 0.012583390809595585, 0.7936518788337708, 0.0659371018409729, 0.9816919565200806, -0.04552523046731949, -0.24383662641048431, 0.31137797236442566, 0.02801176719367504, 0.2581169903278351, 0.21998895704746246, -0.25488847494125366, 0.3401738703250885, 0.05912652984261513, -0.5206076502799988, -0.5452693104743958, 0.36518019437789917, -0.6349853277206421, -0.7588208913803101, -0.5005735158920288, -0.7262623310089111, -0.39986974000930786, 0.21514096856117249, 0.05496707186102867, 0.3142533004283905, -0.41737234592437744, 0.3676208257675171, 0.4965362846851349, -0.1634298413991928, 0.3497936427593231, 0.9828463196754456, -0.17610828578472137, -0.10937099903821945, 0.619907557964325, 0.06099514663219452, -0.017970120534300804, 0.3599279224872589, 0.2967228293418884, -0.050872694700956345, -0.9365874528884888, -0.2903352677822113, 0.34255847334861755, -0.2027631551027298, 0.042562298476696014, -0.13070528209209442, -0.00254333415068686, -0.0981348529458046, 0.24958032369613647, -0.4140520691871643, -0.21733035147190094, -0.1356506645679474, -0.239322230219841, 0.3746808171272278, 0.8039199709892273, 0.1526942402124405, 0.07336251437664032, -0.8001984357833862, -0.1055918037891388, -0.1417171210050583, 0.03711201995611191, -0.3308892250061035, -0.3909491300582886, -0.4336969256401062, 0.16756340861320496, -0.0625089704990387, -0.9446727633476257, 0.38436925411224365, 0.20409564673900604, 0.44631993770599365, 0.3711724281311035, -0.16493232548236847, 0.6837972402572632, -0.766319990158081, 0.917781412601471, 0.1735418736934662, -0.7707985639572144, 0.5997958779335022, -0.6849786043167114, 0.1752752959728241, 1.019782304763794, 0.9228104948997498, -0.3744002878665924, -0.8056568503379822, -0.4242296516895294, -0.4838876724243164, 0.7524083852767944, 0.22108973562717438, 0.38725849986076355, -0.18182677030563354, 0.5270770788192749, 0.2283324897289276, 0.30447912216186523, -0.9368226528167725, -0.10444334149360657, 0.4533906579017639, -0.48252609372138977, -0.5609912872314453, -0.2548336088657379, -0.22905954718589783, -0.3520897924900055, 0.21856527030467987, -0.052877798676490784, 0.32202816009521484, 0.05136265978217125, 0.11249116063117981, 0.061197344213724136, 0.33549338579177856, 0.3033016324043274, 0.9436869025230408, 0.10421207547187805, -0.004078460391610861, 0.2955355644226074, -0.31095534563064575, 0.45157936215400696, -0.13113008439540863, -0.1406877338886261, 0.12431617081165314, 0.7946375608444214, 0.7395884394645691, 0.26553425192832947, -0.7450248003005981, 0.37679240107536316, -0.17069752514362335, -0.06369980424642563, -0.41428327560424805, -0.17185331881046295, 0.08558524399995804, 0.3201887905597687, 0.14919687807559967, -0.5054115056991577, -0.11818859726190567, -0.9986093044281006, 0.10844593495130539, 0.5074692368507385, -0.32136133313179016, -0.5174177885055542, 0.35745394229888916, 0.28225085139274597, -0.5180730819702148, 0.6214771270751953, -0.07376350462436676, -0.35878950357437134, 0.8884942531585693, 0.6957317590713501, 0.8014392256736755, -0.4556621313095093, 0.20458850264549255, 0.15850397944450378, 0.47978466749191284, 0.10210531204938889, 0.5901669859886169, 0.1909063756465912, -0.848402738571167, -0.534131646156311, -0.4571502208709717, -0.46470367908477783, 0.10034318268299103, -0.982995331287384, 0.45507892966270447, -0.11036187410354614, 0.16543681919574738, -0.32939836382865906, 0.15123969316482544, -0.48830273747444153, 0.371056467294693, -0.0907202810049057, 1.0368244647979736, -1.2538607120513916, 1.2358348369598389, 1.0297863483428955, -0.3803715109825134, -0.7054372429847717, 0.050254762172698975, -0.16453754901885986, -1.0000861883163452, 0.794398844242096, 0.1029948890209198, -0.0447269007563591, -0.005893066991120577, -0.37400221824645996, -0.8175122737884521, 0.9908459186553955, 0.7016644477844238, -0.4949498474597931, -0.10721743851900101, 0.4787461757659912, 0.9058886766433716, -0.6996312737464905, 0.6702408790588379, 0.5747291445732117, 0.542414128780365, 0.1754673272371292, -0.9946807622909546, -0.4526214599609375, -0.20192979276180267, -0.034675974398851395, 0.2836674749851227, -0.7356439232826233, 0.7754014134407043, 0.2915678024291992, -0.17272037267684937, 0.4148158133029938, 0.8274484872817993, 0.18706880509853363, 0.5447788238525391, 0.5073921084403992, 0.4708654582500458, 0.724510669708252, -0.2796197831630707, 1.2240463495254517, -0.43336695432662964, 0.5660663843154907, 0.9789686799049377, -0.7018837332725525, 0.8680312633514404, 0.5602982044219971, -0.3450094163417816, 0.6202369332313538, 0.9608228206634521, 0.19838742911815643, 0.45406001806259155, 0.19323581457138062, -0.12661053240299225, -0.07479922473430634, -0.5221983194351196, -0.47602856159210205, 0.8358380794525146, 0.05184115841984749, -0.17124789953231812, -0.3486407995223999, 0.3016318082809448, 0.19401423633098602, 0.17962130904197693, -0.370329886674881, 0.671463131904602, 0.09904659539461136, -0.5774281620979309, 0.19016188383102417, 0.17949806153774261, 0.30627939105033875, -0.9052230715751648, 0.24137428402900696, -0.7331758737564087, -0.1006394475698471, 0.04313463345170021, -0.648583173751831, 0.5922092199325562, 0.43009647727012634, 0.047512564808130264, -0.12860967218875885, 0.4256054759025574, -0.6334431171417236, -0.9550807476043701, 0.4167550802230835, 0.9002683162689209, 0.4338231384754181, 0.14935944974422455, -0.6571446657180786, 0.014909244142472744, 0.05486231669783592, -0.21747034788131714, 0.4662248492240906, 0.578768253326416, -0.22790215909481049, 0.5197778344154358, 0.3681468665599823, 0.35381463170051575, -0.23332366347312927, 0.14715354144573212, 0.7397252321243286, -0.8147147297859192, -0.5129072666168213, -0.9507762789726257, 0.4906882643699646, 0.06643553823232651, -0.3358783721923828, 0.8909572958946228, 0.6093217730522156, 0.8581926226615906, 0.05267137661576271, 0.3535727858543396, 0.02217048779129982, 0.3878785967826843, -1.0123158693313599, 0.3887695372104645, -0.8474633693695068, 0.1089417040348053, -0.1657496988773346, -1.2449748516082764, -0.14464634656906128, 0.4741416275501251, -0.44573915004730225, 0.16967891156673431, 1.259623408317566, 0.7319108843803406, -0.0838150829076767, 0.15907412767410278, 0.3688284456729889, 0.27043241262435913, 0.10703115910291672, 0.5851557850837708, 1.2839858531951904, 0.10567860305309296, -0.023921290412545204, 0.04098912701010704, -0.05823401361703873, 0.41025352478027344, -0.8012614250183105, -1.31873619556427, -0.4932527244091034, -0.09195148199796677, -0.13710278272628784, 0.06736890971660614, 0.7838852405548096, 0.3290465474128723, -0.9960144758224487, -0.637039303779602, 0.350022554397583, 0.03451806679368019, 0.22003214061260223, -0.1515476256608963, 0.28455784916877747, -0.09103143960237503, -1.1912181377410889, 0.5940136909484863, 0.16441597044467926, -0.19431449472904205, -0.4501248300075531, 0.28757914900779724, -0.41561803221702576, 0.0259096659719944, 0.3612057566642761, 0.0434025377035141, -0.5332276225090027, -0.4955218732357025, -0.06962762027978897, 0.12564904987812042, 0.22259095311164856, 1.3292118310928345, -0.39249494671821594, 0.29864320158958435, 0.3695543110370636, 0.7317074537277222, 0.4853722155094147, -0.1587192565202713, 0.6834955215454102, -0.7894314527511597, 0.648607075214386, 0.2777712047100067, 0.745542585849762, 0.08771306276321411, -0.29010114073753357, 0.6474403738975525, 0.17120173573493958, -0.15323439240455627, -0.7753210067749023, 0.3176775276660919, -0.6310291290283203, -0.2106664925813675, 1.2550311088562012, -0.6650351285934448, -0.11043820530176163, -0.06018733233213425, -0.16104209423065186, 0.032488591969013214, -0.005778925493359566, 0.7798331379890442, 1.1524927616119385, 0.05982891097664833, 0.04398958012461662, -0.32878950238227844, -0.18493781983852386, 0.6119236350059509, -1.1877150535583496, -0.5059788227081299, 0.22006793320178986, 0.2768954634666443, -0.01997998356819153, 0.6554744839668274, -0.1420285850763321, 0.09462174028158188, -0.5086988806724548, 0.019308332353830338, 0.06905971467494965, -0.48421090841293335, -0.7078201770782471, 0.10209404677152634, 0.3286987543106079, 0.065223328769207 ]
http://arxiv.org/abs/2404.08480v1
http://arxiv.org/pdf/2404.08480v1
Decoding AI: The inside story of data analysis in ChatGPT
2024-04-12T13:57:30
2024-04-12T13:57:30
Ozan Evkaya, Miguel de Carvalho
cs.LG
cs.LG, cs.CL, stat.CO
As a result of recent advancements in generative AI, the field of Data Science is prone to various changes. This review critically examines the Data Analysis (DA) capabilities of ChatGPT assessing its performance across a wide range of tasks. While DA provides researchers and practitioners with unprecedented analytical capabilities, it is far from being perfect, and it is important to recognize and address its limitations.
[ -0.30299803614616394, -1.0880640745162964, 0.36106622219085693, 0.14754100143909454, 0.014997106976807117, 0.5313409566879272, 0.1530844271183014, -0.6078083515167236, -0.23693926632404327, 0.17249421775341034, -0.46979355812072754, -0.21893860399723053, -0.8665318489074707, 0.09343033283948898, -0.7568045258522034, 1.2625751495361328, 0.0499715618789196, 0.11846960335969925, -0.384807288646698, 0.02504095621407032, -0.7686101198196411, -0.8386670351028442, -1.1834614276885986, 0.02553468383848667, -0.11446266621351242, 0.6726774573326111, 0.8773245215415955, 0.4040736258029938, 1.0270076990127563, 0.23411303758621216, 0.07523486763238907, 0.11070185154676437, -0.6573284864425659, 0.3443264365196228, 0.4356776773929596, -0.7093259692192078, -0.5048994421958923, -0.06571865826845169, 0.8034791946411133, 0.8661798238754272, -0.06854952871799469, -0.07982288300991058, 0.10985718667507172, 1.0387145280838013, -0.2685486972332001, 0.9551701545715332, -0.47976014018058777, 0.16491225361824036, -0.5253651142120361, -0.2092822641134262, -0.2629335820674896, -0.4226871728897095, 0.44957271218299866, -0.4728144109249115, 0.5472227334976196, -0.01789182797074318, 0.5239824056625366, 0.6361439228057861, -0.46075746417045593, -0.6271971464157104, -1.0609002113342285, 0.5685123801231384, -0.4450005888938904, 0.2709750831127167, 0.4560399651527405, 0.6100192666053772, -0.2324511706829071, -0.8609689474105835, -0.6305633187294006, -0.20706422626972198, 0.15269508957862854, 0.22489699721336365, -0.5552056431770325, 0.18292801082134247, 0.2399785816669464, 0.9382061958312988, -0.5846253037452698, -0.10333838313817978, -0.5936124324798584, 0.10109004378318787, 0.8924886584281921, 0.6499572396278381, 0.578394889831543, 0.07713286578655243, -0.038413263857364655, -0.20573364198207855, -0.4594082534313202, -0.13889765739440918, 0.2147475928068161, 0.003720509586855769, -0.1911577731370926, 0.5758213996887207, -0.20800945162773132, 0.5466275811195374, -0.36567315459251404, 0.4059031903743744, 0.07620252668857574, -0.36212581396102905, -0.32043129205703735, 0.0160687156021595, 0.6552395224571228, 0.408399373292923, 0.12176507711410522, -0.39963018894195557, 0.12641164660453796, 0.11614847183227539, 0.37138286232948303, -0.6694689989089966, -0.7687599658966064, 0.29247063398361206, -0.5463629961013794, -0.2016146183013916, 0.06747878342866898, -1.111067771911621, -0.7039912343025208, -0.1806604266166687, -0.007314058020710945, -0.6155756115913391, -0.347901850938797, 0.13223926723003387, -0.36612802743911743, 0.637150228023529, 0.22237038612365723, -0.8062008023262024, 0.4281221032142639, 0.7665396928787231, 1.013511300086975, -0.2686848044395447, -0.18393725156784058, -0.20667392015457153, -0.35327309370040894, -0.5152862071990967, 1.0154141187667847, -0.5900267958641052, -0.64200359582901, -0.24448005855083466, -0.3031538128852844, -0.46843644976615906, -0.35678616166114807, 0.6413382887840271, -0.7216372489929199, -0.010331640020012856, -0.2559996247291565, -0.8277794122695923, -0.38938412070274353, 0.20081976056098938, -0.8568702936172485, 0.8081372976303101, 0.18032889068126678, -0.8641632795333862, 0.6986262798309326, -1.1707719564437866, -0.1541929692029953, 0.09125422686338425, -0.2526499629020691, -0.5889683365821838, 0.10213112086057663, 0.26708605885505676, 0.29277488589286804, -0.2594700753688812, -0.11553177982568741, -0.04525879770517349, -0.5128343105316162, 0.6210244297981262, -0.8660668134689331, 0.9281182885169983, 0.5441011786460876, -0.1797495037317276, 0.05514979735016823, -0.8404994606971741, -0.03605927154421806, 0.17817750573158264, -0.18811780214309692, 0.20728811621665955, 0.42095881700515747, -0.16129520535469055, -0.36515188217163086, -0.3682551980018616, -0.35427820682525635, 0.3748455345630646, -0.41123998165130615, 0.6347045302391052, 0.39712783694267273, 0.09728364646434784, 0.34243154525756836, -0.23978391289710999, 0.9510499835014343, -0.22952353954315186, -0.10293781757354736, -0.2485571950674057, -0.7911394238471985, -0.6695000529289246, -0.1232057437300682, 0.527990996837616, 0.6942840218544006, -0.9078752398490906, 0.10694032907485962, -0.2857937216758728, -0.359395295381546, -0.9091017842292786, -0.29046890139579773, -0.01853174716234207, 0.127866730093956, 0.22437836229801178, -0.27796995639801025, -0.5107769966125488, -0.6025130748748779, -0.008542093448340893, -0.19324150681495667, 0.008993498049676418, 0.0773392915725708, 0.32005205750465393, -0.2535172998905182, 0.9347431063652039, -0.5903074145317078, -0.27143773436546326, -0.46147242188453674, 0.201034277677536, 0.0969301089644432, 0.23447789251804352, 0.4985102415084839, -0.8827037215232849, -0.6531901359558105, 0.19992458820343018, -0.8776198029518127, 0.10712108016014099, -0.21453191339969635, 0.17746217548847198, -0.09293258190155029, 0.6466867327690125, -0.657074511051178, 0.8759734630584717, 0.4266927242279053, -0.4244047999382019, 0.5369382500648499, -0.2678987979888916, 0.39708128571510315, -0.6894277334213257, 0.07990594208240509, -0.3732984960079193, 0.17719297111034393, -0.8454071879386902, -0.14428108930587769, -0.16678400337696075, -0.48686715960502625, 0.2886503040790558, 0.10381689667701721, -0.4015268385410309, -0.20522835850715637, -0.6875248551368713, -0.3523191213607788, -0.2939484119415283, 0.04640764743089676, -0.2239973247051239, 0.9265992045402527, 0.9076453447341919, -0.5073605179786682, 0.7780263423919678, 0.5278979539871216, -0.5892947316169739, 0.44478991627693176, -0.5781463384628296, 0.45753538608551025, -0.38618841767311096, 0.30568966269493103, -1.376686692237854, -0.5018304586410522, 0.5116128921508789, -0.7207170724868774, 0.13176104426383972, -0.37237387895584106, -0.6145522594451904, -0.20094949007034302, -0.013017113320529461, 0.6403974890708923, 0.5829346776008606, -0.512474775314331, 0.22574156522750854, 0.4521312713623047, -0.21685189008712769, -0.32876014709472656, -0.5616976022720337, 0.4019198715686798, -0.571154773235321, -0.7275421619415283, 0.17413902282714844, -0.17948627471923828, -0.6447399854660034, 0.051506251096725464, 0.11034239828586578, -0.41867727041244507, 0.19394707679748535, 0.12832550704479218, 0.10459905862808228, -0.006567762233316898, 0.10057682543992996, -0.1887628734111786, -0.4830646216869354, 0.35066112875938416, 0.15581631660461426, 0.5112329721450806, -0.08086229860782623, -0.34716272354125977, -0.6895288228988647, 0.3212779760360718, 0.5872902274131775, -0.24523836374282837, 0.6050996780395508, 0.5542853474617004, -0.04141538217663765, -0.16837547719478607, 0.021228663623332977, 0.16204015910625458, -0.42997515201568604, 0.37096932530403137, -0.436888188123703, -0.22475355863571167, 0.6041072010993958, 0.2819342613220215, -0.03866330161690712, 0.5057497024536133, 0.34059324860572815, -0.20578469336032867, 1.0973145961761475, 0.6629244089126587, -0.27360185980796814, 0.5522614121437073, -0.4084663689136505, 0.48842036724090576, -0.45913165807724, -0.1768411546945572, -0.6046165227890015, -0.1069396510720253, -0.714829683303833, -0.0065548294223845005, 0.5683056116104126, -0.1448102742433548, 0.07733345776796341, -0.2516983449459076, -0.6391890645027161, 0.5054035186767578, 0.5606386065483093, -0.06526557356119156, 0.4199049472808838, -0.024828137829899788, 1.0472215414047241, -0.03454001992940903, -0.7334964871406555, -0.26124170422554016, 1.3457767963409424, 0.5070469975471497, 0.7493099570274353, 0.06306979805231094, 0.21758128702640533, 0.6619674563407898, -0.028657592833042145, -1.0353076457977295, 0.2895444631576538, -0.07831204682588577, -0.38646045327186584, -0.20321772992610931, -0.5172674059867859, -1.2398796081542969, 0.12522505223751068, 0.04657166451215744, -0.5069793462753296, 0.15494835376739502, -0.08137524127960205, -0.23730534315109253, 0.35519805550575256, -1.0530656576156616, 0.6569225788116455, 0.14970819652080536, 0.43618956208229065, -0.1771915853023529, -0.4648055136203766, 0.18701200187206268, 0.08922287076711655, -0.021925069391727448, -0.007258231285959482, 0.33977410197257996, 0.9107425808906555, -0.2823653519153595, 0.7325958609580994, -0.21883514523506165, -0.02745918184518814, 0.551250696182251, 0.1427575647830963, 0.25172916054725647, 0.03247136250138283, -0.1957055926322937, 0.22576595842838287, 0.40809202194213867, -0.6405053734779358, -0.746670663356781, 0.21659575402736664, -0.5202432870864868, -0.5057156682014465, -0.6084609627723694, -0.7498226761817932, -0.35580363869667053, -0.2133704274892807, 0.2989966571331024, 0.2985759973526001, -0.35775232315063477, 0.2186318039894104, 0.540547788143158, -0.11288507282733917, 0.42553550004959106, -0.07857558876276016, 0.2127123922109604, 0.01839868724346161, 1.0508025884628296, 0.13110953569412231, -0.010382812470197678, 0.05749015510082245, -0.08031047880649567, -0.11905964463949203, -1.001835584640503, -0.6203159689903259, -0.39795979857444763, -0.6091786623001099, -0.016966525465250015, -0.4192119240760803, -0.42615455389022827, -0.20236007869243622, 0.1831960678100586, -0.3231584131717682, -0.3112249970436096, -0.11170272529125214, -0.16849811375141144, 0.5515850782394409, 1.0958476066589355, -0.07517116516828537, 0.468279093503952, -0.6458069682121277, 0.3086503744125366, 0.12907688319683075, 0.35608619451522827, 0.013619874604046345, -0.053714897483587265, -0.2135947346687317, 0.1733071357011795, -0.33703917264938354, -0.9011742472648621, 0.3217932879924774, 0.03470196947455406, 0.5418490767478943, 0.3339694142341614, -0.12759260833263397, 0.5582913756370544, -0.043445900082588196, 0.8777035474777222, -0.3622229993343353, -0.7840739488601685, 0.4514891505241394, -0.22438661754131317, 0.03447991609573364, 0.300645112991333, 0.2202402949333191, -0.5985643863677979, -0.024053385481238365, -0.6561686992645264, -0.6059426069259644, 0.8951355218887329, 0.6459817290306091, 0.2538066506385803, 0.2276722937822342, 0.41004830598831177, 0.44035106897354126, -0.025375893339514732, -0.3259419798851013, -0.29459282755851746, -0.24852941930294037, -0.2102888524532318, -0.06039706617593765, -0.22364535927772522, 0.05529102310538292, -0.36207929253578186, 0.17679427564144135, -0.024645673111081123, 0.7815240025520325, -0.003310122760012746, 0.017108943313360214, 0.3670981526374817, 0.15343870222568512, -0.0914907231926918, 0.778297483921051, -0.055807437747716904, -0.18887604773044586, 0.06343637406826019, -0.7221132516860962, -0.27618879079818726, 0.32253992557525635, 0.08780156821012497, -0.18171513080596924, 0.7472689747810364, 0.7187964916229248, -0.38272544741630554, -0.7059399485588074, 0.3370639681816101, -0.26417964696884155, -0.09618363529443741, -0.26995813846588135, 0.40700584650039673, -0.5532689094543457, 0.27055349946022034, 0.4571983516216278, -0.11733388155698776, 0.5197686553001404, -0.7396402359008789, 0.09801604598760605, 0.3355664610862732, -0.3159538209438324, -0.4040978252887726, 0.5150519609451294, 0.02699093706905842, -0.07212840765714645, 1.4357504844665527, -0.20249329507350922, -0.4464302062988281, 1.1077029705047607, 0.39298632740974426, 0.9898408055305481, -0.2034231573343277, 0.17759951949119568, -0.02133992128074169, 0.18489693105220795, 0.339670330286026, 0.3794252574443817, -0.2838844358921051, -0.8211164474487305, -0.27425891160964966, -0.11277016252279282, -0.6465176343917847, 0.015939345583319664, -0.6750319600105286, -0.2141050398349762, -0.08337248861789703, 0.07934887707233429, 0.23086212575435638, 0.22654767334461212, -0.7021462321281433, 0.3566458821296692, -0.17254118621349335, 0.5607801675796509, -0.4269718527793884, 0.6722020506858826, 0.3203054368495941, -0.4216479957103729, -0.04029344394803047, 0.2292746752500534, 0.13780660927295685, -0.801220178604126, 0.5343942642211914, -0.08662499487400055, 0.11376412212848663, 0.024797476828098297, -0.6825379729270935, -0.7490387558937073, 1.0421422719955444, 0.20257748663425446, 0.09326458722352982, -0.045515213161706924, 0.3568000793457031, 0.7081946730613708, -0.06974859535694122, 0.34723418951034546, 1.1893757581710815, 0.4501759111881256, -0.1392127424478531, -0.974216639995575, -0.5060351490974426, -0.3120991289615631, -0.323555052280426, 0.05717375874519348, -0.4621686637401581, 0.9143337607383728, -0.08190740644931793, -0.8051760196685791, 0.0315784327685833, 0.5561602711677551, -0.30933594703674316, 0.5895702838897705, 0.20844604074954987, 0.27446144819259644, 0.9540309309959412, -0.2748103737831116, 1.3343570232391357, 0.0548362173140049, 0.2871738374233246, 0.7602076530456543, 0.08241836726665497, 0.33184197545051575, -0.030063452199101448, -0.6284704208374023, 0.20208898186683655, 0.7496994733810425, -0.30974167585372925, 0.4840591251850128, 0.05478879064321518, -0.22254006564617157, 0.2657584846019745, 0.2390536665916443, -0.4335578680038452, 0.8289375305175781, 0.7599220871925354, -0.09105127304792404, -0.22241158783435822, 0.1600732058286667, -0.21323338150978088, -0.3261736333370209, -0.19679653644561768, 1.0731878280639648, -0.10663536936044693, -0.16172374784946442, 0.19633370637893677, -0.23787878453731537, 0.20369720458984375, -0.3546219766139984, -0.4137989282608032, -0.30425456166267395, 0.0596030056476593, -0.26933497190475464, -1.180036187171936, 0.90616375207901, 0.06218018755316734, 0.04277096316218376, -0.006019381806254387, 0.6038612127304077, -0.011453988961875439, -0.11699096113443375, 0.03523222357034683, 0.5876734256744385, 0.43538203835487366, -0.3401399850845337, -0.5601531267166138, 0.39521563053131104, 0.13477309048175812, -0.06419457495212555, -0.06532008945941925, 0.483838826417923, -0.019725341349840164, 0.9795582294464111, 0.5067993998527527, -0.18635283410549164, 0.13772974908351898, -0.16358500719070435, 0.6933166980743408, -0.9905104041099548, -0.5210793018341064, -0.9323040843009949, 0.3296350836753845, -0.0989101305603981, -0.3353116810321808, 0.9334243535995483, 0.6594172716140747, 0.733869194984436, 0.09533898532390594, 1.0927270650863647, -0.4569721519947052, 0.2731378972530365, -0.6579402089118958, 0.7774444222450256, -0.02485591359436512, 0.26395082473754883, -0.08740540593862534, -0.8759523034095764, -0.30255433917045593, 0.28036925196647644, -0.4884791374206543, 0.046782877296209335, 0.4901217222213745, 0.3967074155807495, -0.07671968638896942, 0.619236171245575, 0.26009079813957214, 0.2086065411567688, 0.6991980671882629, 0.41472914814949036, 1.229647159576416, -0.49038225412368774, 0.6768402457237244, -0.09454678744077682, -0.35582175850868225, 0.024055415764451027, -0.27435827255249023, -0.856427788734436, -0.8959318399429321, -0.2772800028324127, -0.19835016131401062, 0.016368046402931213, 0.14693862199783325, 0.7175835967063904, -0.7523148059844971, -0.12357965111732483, -0.4130443334579468, 0.12230513989925385, -0.4254359304904938, -0.31669995188713074, 0.934302806854248, -0.6435375809669495, -1.112849235534668, 0.6274881958961487, -0.0664762556552887, 0.045122165232896805, -0.053580380976200104, 0.17631302773952484, 0.44573062658309937, -0.10414101183414459, 0.6542686820030212, 0.41398271918296814, -0.0791991651058197, -0.08212115615606308, -0.33032241463661194, 0.2055414468050003, 0.34751421213150024, 0.9761962890625, -0.6611411571502686, 0.7889983057975769, 0.636484682559967, 1.0752369165420532, 0.6762754321098328, 0.07355844229459763, 0.7768746018409729, -0.42974036931991577, -0.13359609246253967, 0.26061737537384033, 0.10733292996883392, 0.2787657380104065, -0.5995774269104004, 0.7199139595031738, 0.04104107618331909, -0.8756099343299866, -0.7758244276046753, -0.0016503334045410156, -0.9796732068061829, -0.2843513488769531, 0.8277542591094971, 0.0423990823328495, 0.12712152302265167, -0.5807291269302368, -0.6390301585197449, 0.07365963608026505, -0.15480037033557892, 1.1360350847244263, 0.9872643351554871, -0.9023274183273315, -0.13885338604450226, -1.0188853740692139, 0.9736525416374207, 0.24691928923130035, -1.0772629976272583, 0.284543514251709, 0.36854004859924316, 0.07283090800046921, -0.25941139459609985, 0.7687317728996277, -0.1935359686613083, 0.2548798620700836, 0.6212205290794373, -0.4711637794971466, 0.10302967578172684, -0.2750684320926666, -0.407558798789978, 0.19595853984355927, 0.11158663034439087, -0.6409838795661926 ]
http://arxiv.org/abs/2404.08417v1
http://arxiv.org/pdf/2404.08417v1
AdapterSwap: Continuous Training of LLMs with Data Removal and Access-Control Guarantees
2024-04-12T12:06:02
2024-04-12T12:06:02
William Fleshman, Aleem Khan, Marc Marone, Benjamin Van Durme
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) are increasingly capable of completing knowledge intensive tasks by recalling information from a static pretraining corpus. Here we are concerned with LLMs in the context of evolving data requirements. For instance: batches of new data that are introduced periodically; subsets of data with user-based access controls; or requirements on dynamic removal of documents with guarantees that associated knowledge cannot be recalled. We wish to satisfy these requirements while at the same time ensuring a model does not forget old information when new data becomes available. To address these issues, we introduce AdapterSwap, a training and inference scheme that organizes knowledge from a data collection into a set of low-rank adapters, which are dynamically composed during inference. Our experiments demonstrate AdapterSwap's ability to support efficient continual learning, while also enabling organizations to have fine-grained control over data access and deletion.
[ -0.38660237193107605, -0.5635029077529907, 0.456883043050766, 0.07623395323753357, 0.022175587713718414, 0.017369646579027176, -0.2359474152326584, -0.5354737043380737, -0.1585666388273239, 0.6700780987739563, -0.7533602714538574, -0.3178296685218811, -0.7542821764945984, -0.06846503168344498, -0.7379077076911926, 0.8833171129226685, -0.3753567934036255, -0.3698136508464813, -0.5274158716201782, -0.22827447950839996, -0.5561167597770691, -0.2956145703792572, -0.7814450860023499, -0.4654083251953125, 0.6285344958305359, 0.65532386302948, 0.5422109961509705, 0.7689881920814514, 0.4044218957424164, 0.25058475136756897, -0.14406931400299072, 0.15716026723384857, -0.5817696452140808, 0.3696899712085724, -0.24585290253162384, -0.7744860053062439, -0.2767617404460907, -0.11713980883359909, 0.7858006358146667, 0.9252768754959106, -0.5556742548942566, 0.1124752014875412, 0.21759569644927979, 0.802122950553894, -0.7062332034111023, 0.08811041712760925, -0.9445762634277344, 0.09171626716852188, 0.12839005887508392, -0.156527578830719, -0.43095436692237854, -0.4359855651855469, 0.19707638025283813, -0.574337363243103, 0.0868493989109993, -0.0667428970336914, 0.8378680348396301, 0.2430947870016098, -0.22044511139392853, -0.5732192397117615, -0.9194599390029907, 0.7328600883483887, -0.32354936003685, 0.4046488106250763, 0.4357190728187561, 0.308524489402771, -0.4843633770942688, -1.0068793296813965, -0.6376445889472961, 0.05943269282579422, 0.0994870737195015, 0.19115883111953735, -0.07514307647943497, -0.04943891242146492, 0.3008631765842438, 0.31333765387535095, -0.15963397920131683, 0.3293445110321045, -0.4600030779838562, 0.16537916660308838, 0.30589357018470764, 0.16658146679401398, 0.2850194573402405, 0.2181910127401352, -0.2507690191268921, 0.14813876152038574, -1.0205261707305908, -0.24177592992782593, -0.01466661412268877, -0.054723020642995834, -0.18869717419147491, 0.5536710619926453, -0.41513586044311523, 0.6964516639709473, -0.18341439962387085, -0.06824728846549988, 0.06162118911743164, 0.22409500181674957, -0.30472332239151, -0.09189125895500183, 0.2321394383907318, 0.0330473817884922, 0.43023625016212463, -0.49888449907302856, -0.4008733332157135, -0.0814608559012413, 0.28321373462677, -0.47427573800086975, -0.2200060337781906, 0.21589024364948273, -0.5248633027076721, -0.2749481797218323, -0.21537117660045624, -0.6437730193138123, -0.4881969392299652, -0.5823124647140503, 0.3967163562774658, -0.4148775637149811, -0.1468045711517334, 0.03340627998113632, -0.17723840475082397, 0.37831684947013855, 0.5265676975250244, -1.120627999305725, 0.49043241143226624, 0.5037376880645752, 0.7365196347236633, -0.5625936985015869, -0.3125585615634918, -0.48552659153938293, 0.6382323503494263, -0.17764882743358612, 0.6735689640045166, -0.7373554706573486, -0.4325345754623413, 0.136784628033638, 0.19004632532596588, -0.3051574230194092, -0.7703114748001099, 0.23880691826343536, -0.8860557675361633, 0.11951321363449097, -0.08643470704555511, -0.878317654132843, 0.013049991801381111, 0.1916477382183075, -0.3538791835308075, 0.7205269932746887, 0.27026233077049255, -0.4802147448062897, 0.475009024143219, -0.636746346950531, -0.24843616783618927, 0.05934847146272659, -0.14971822500228882, -0.4196447432041168, 0.21819886565208435, -0.006869478616863489, 0.31895989179611206, -0.1855170875787735, 0.0968497097492218, -0.5382346510887146, -0.0874720960855484, 0.12920793890953064, -0.3987008333206177, 0.3542841970920563, 0.3592396676540375, -0.10629383474588394, 0.007274144794791937, -0.9794763922691345, -0.16722525656223297, 0.24425871670246124, -0.7620298862457275, -0.36734771728515625, 0.41190749406814575, -0.2751392722129822, 0.14913056790828705, 0.1869797557592392, -0.26186805963516235, 0.34419819712638855, -0.12378838658332825, 0.4757898449897766, 1.0193315744400024, 0.10842065513134003, 0.5315485000610352, -0.5329493284225464, 0.4447191655635834, -0.03767132759094238, 0.35312193632125854, -0.1986335813999176, -0.2187364399433136, -1.0475915670394897, -0.2891812324523926, -0.0977080687880516, 0.5261695384979248, -0.752655029296875, 0.43485698103904724, -0.3582460880279541, -0.32710593938827515, -0.0862804502248764, 0.32196372747421265, 0.05287881940603256, 0.4963580071926117, 0.4842284023761749, -0.011674792505800724, -0.5234447717666626, -0.6369799971580505, -0.15514972805976868, 0.08483327925205231, -0.4263322055339813, 0.16216658055782318, 0.23622587323188782, -0.4644845426082611, 0.9578779339790344, -0.4939378798007965, -0.10484648495912552, -0.2759672701358795, -0.13558326661586761, 0.11590727418661118, 0.5846057534217834, 0.3400286138057709, -0.8131608963012695, -0.1880473494529724, -0.18697349727153778, -0.8899638056755066, -0.19935336709022522, -0.19659563899040222, -0.11422275751829147, 0.04804671183228493, 0.8216190934181213, -0.42562878131866455, 0.296501487493515, 0.6259693503379822, -0.048936694860458374, 0.4014565348625183, -0.2851276695728302, -0.21813049912452698, -0.986841082572937, 0.09408903867006302, -0.3078378438949585, -0.5314522981643677, -0.4587212800979614, -0.0013274732045829296, 0.05917671322822571, -0.05821017548441887, -0.25969159603118896, 0.6396519541740417, -0.4266437590122223, -0.0681239664554596, -0.4467577040195465, 0.1915668547153473, -0.16519737243652344, 0.24425600469112396, 0.34599006175994873, 0.5461640954017639, 0.44959932565689087, -1.1292036771774292, 0.2865840196609497, 0.3774060904979706, -0.4249838888645172, 0.42063942551612854, -0.41968491673469543, 0.04077446088194847, -0.23263515532016754, 0.18006454408168793, -0.8264608383178711, -0.23492534458637238, 0.057920437306165695, -0.03887881338596344, 0.2761685252189636, -0.26884111762046814, -0.36048856377601624, -0.3570854067802429, 0.07020286470651627, -0.07156738638877869, 0.6398928761482239, -0.8672323822975159, 0.5961663126945496, 0.4721081554889679, -0.40563467144966125, -0.4291010797023773, -0.5776469111442566, -0.0939212441444397, -0.35790517926216125, -0.033059775829315186, 0.07946250587701797, -0.12191947549581528, -0.08072870224714279, -0.05665026605129242, -0.30947577953338623, -0.2404007762670517, 0.32891571521759033, 0.46622830629348755, 0.2788863182067871, 0.11848978698253632, 0.2991824448108673, 0.2574995160102844, -0.05143807828426361, 0.1231481209397316, -0.31913596391677856, 0.7177065014839172, 0.27608567476272583, -0.5677415728569031, -0.3088166415691376, -0.07934249937534332, 0.6179016828536987, 0.19919224083423615, 0.9235069155693054, 0.32090431451797485, -0.35835182666778564, -0.20886008441448212, -0.6867983937263489, -0.10969545692205429, -0.5704452395439148, 0.28743529319763184, -0.3430550992488861, -0.7621507048606873, 0.47558873891830444, -0.43675631284713745, 0.60061115026474, 0.3716038465499878, 0.4331916868686676, -0.3442719280719757, 0.6734417080879211, 0.6659159660339355, -0.23447012901306152, 0.9341958165168762, 0.0260478425770998, -0.31213104724884033, -0.8344277143478394, -0.3254626393318176, -0.4343336820602417, -0.38371309638023376, -0.3315522074699402, -0.14116384088993073, 0.09127423167228699, 0.318444162607193, -0.22733034193515778, 0.16567286849021912, -0.2589488625526428, 0.5460048913955688, 0.3440488874912262, 0.29140689969062805, 0.29572075605392456, 0.11906003952026367, 0.1961163878440857, 0.28557056188583374, -0.7040373682975769, -0.3181288540363312, 1.2846704721450806, 0.46518030762672424, 0.9506745934486389, 0.06112579256296158, 0.6989790201187134, 0.3676585853099823, 0.5396268963813782, -0.5635383725166321, 0.3973311483860016, -0.023809652775526047, -0.3687267303466797, -0.2735501825809479, -0.5446518659591675, -1.04084050655365, -0.06759738177061081, -0.26421937346458435, -0.8201560378074646, 0.3053427040576935, 0.569733202457428, 0.042749300599098206, 0.3942851722240448, -0.6111572980880737, 0.3712441623210907, 0.014879260212182999, -0.3469814956188202, -0.6216034293174744, -0.38753852248191833, 0.33542072772979736, -0.30064329504966736, 0.20653857290744781, -0.24366042017936707, -0.11330966651439667, 0.8695873022079468, -0.404989629983902, 0.8710684776306152, -0.4347302317619324, 0.09167161583900452, 0.20852608978748322, 0.07441367954015732, 0.8408361673355103, 0.087466761469841, -0.19390973448753357, -0.15754088759422302, 0.2455170750617981, -0.6133878231048584, -0.2774701416492462, 0.5779656171798706, -0.6667629480361938, -0.43411242961883545, -0.1633259803056717, -0.6965422034263611, -0.398271381855011, 0.2705943286418915, -0.01528716180473566, 0.21717020869255066, -0.061023175716400146, 0.4029243290424347, 0.8391456604003906, -0.3673951029777527, 0.4294145107269287, 0.7447142004966736, -0.28308433294296265, -0.01495011430233717, 0.8047840595245361, 0.07417073100805283, 0.704467236995697, 0.3422754406929016, 0.21717531979084015, -0.14714406430721283, -0.9212411046028137, 0.007972922176122665, 0.048639409244060516, -0.9302838444709778, 0.06275641918182373, -0.5541151762008667, -0.32475751638412476, -0.10778099298477173, -0.15767979621887207, -0.1715063899755478, -0.36626535654067993, -0.21096491813659668, 0.05877836421132088, 0.5872116088867188, 0.6234013438224792, -0.02277827262878418, 0.6721284985542297, -0.803763747215271, 0.5535071492195129, 0.35269951820373535, 0.5733014941215515, -0.07275800406932831, -0.8383240699768066, -0.3307405114173889, -0.24652761220932007, -0.1840517818927765, -0.2602097988128662, 0.24711982905864716, 0.2967270612716675, 0.7054947018623352, 0.43911245465278625, 0.037866514176130295, 0.5104605555534363, -0.4917066991329193, 0.4699377417564392, 0.060828063637018204, -0.6097675561904907, 0.4993670582771301, -0.40123191475868225, 0.3366478681564331, 0.7100304961204529, 0.3498718738555908, -0.74700927734375, -0.40289565920829773, -0.5081376433372498, -0.9391799569129944, 0.5866920351982117, -0.26668134331703186, 0.27707937359809875, -0.03198033198714256, 1.0392833948135376, 0.14431653916835785, 0.4305466413497925, -0.5503759384155273, -0.002148502040654421, 0.333522766828537, -0.32705867290496826, 0.2000708431005478, -0.33986547589302063, -0.09188659489154816, -0.025005623698234558, 0.6462770104408264, 0.03429112583398819, 0.15919488668441772, -0.14871171116828918, -0.3206184208393097, 0.11698820441961288, 0.19108662009239197, 0.3407507538795471, 0.9953531622886658, -0.22658184170722961, 0.0033682684879750013, 0.526742696762085, -0.8046848773956299, 0.061326924711465836, -0.3412848114967346, -0.2879180610179901, -0.290195494890213, 0.3049743175506592, 0.6047701835632324, 0.24575071036815643, -0.7057665586471558, 0.1090700775384903, -0.08411106467247009, -0.12951353192329407, -0.5473143458366394, 0.5246663093566895, 0.08681569248437881, -0.0012983668129891157, 0.3070714473724365, 0.10080339759588242, -0.1839882731437683, -0.4923260509967804, 0.40970203280448914, 0.227908194065094, -0.48391517996788025, -0.11624559015035629, 0.4866982698440552, 0.12075997143983841, -0.03626217693090439, 0.7841218113899231, 0.2720791697502136, 0.04854349419474602, 0.46852996945381165, 0.5411807894706726, 0.5208063125610352, -0.4057808816432953, -0.17317359149456024, 0.048551492393016815, 0.2389802783727646, -0.34766897559165955, 0.17438684403896332, -0.07314199209213257, -0.8343595862388611, -0.14950086176395416, -0.7342848181724548, -0.7228548526763916, 0.4113858640193939, -0.8236848711967468, 0.34639355540275574, -0.6793678402900696, 0.2826439440250397, -0.18315988779067993, -0.44046372175216675, -0.8501932621002197, 0.29019808769226074, 0.0737813338637352, 1.175615668296814, -0.8800476789474487, 1.2889188528060913, 0.1104838028550148, -0.23074164986610413, -0.42744991183280945, -0.011206044815480709, 0.01452173013240099, -1.158651351928711, 0.4467479884624481, -0.02395857498049736, 0.0685461014509201, 0.15204714238643646, -0.38178932666778564, -0.9224676489830017, 0.9478337168693542, 0.37548375129699707, -0.9386453628540039, -0.18979275226593018, -0.043642863631248474, 0.15694975852966309, -0.21225734055042267, -0.12515337765216827, 0.961111307144165, 0.45460477471351624, 0.02528093382716179, -0.4523185193538666, -0.2752591073513031, 0.08592862635850906, -0.32195210456848145, 0.09130008518695831, -0.2986907660961151, 0.545612633228302, 0.09004535526037216, -0.08697859197854996, 0.08594883978366852, 0.6655516028404236, 0.34309905767440796, 0.19842015206813812, 0.7891308665275574, 0.3064933717250824, 0.9434843063354492, -0.04720752313733101, 1.081231951713562, -0.24229373037815094, 0.09586993604898453, 1.5142399072647095, -0.29255613684654236, 1.0197018384933472, 0.5910604000091553, -0.2634655237197876, 0.5099289417266846, 0.6957899332046509, 0.03909611329436302, 0.4766443371772766, 0.2110625058412552, -0.4863303601741791, -0.015846187248826027, 0.15051278471946716, -0.08087503910064697, 0.21446073055267334, 0.652854323387146, -0.3673824667930603, -0.015076952986419201, 0.16005657613277435, -0.039208993315696716, -0.041541241109371185, -0.3710296154022217, 1.054618239402771, 0.053935423493385315, -0.6284950375556946, 0.5114024877548218, -0.2429404854774475, 0.48713552951812744, -0.9784150123596191, 0.21095825731754303, -0.17142686247825623, 0.3109224736690521, -0.3509944975376129, -0.7773699760437012, 0.558025598526001, -0.14743514358997345, -0.37553009390830994, -0.0841001495718956, 0.5336955785751343, -0.41838783025741577, -0.15543881058692932, 0.46335142850875854, 0.26790159940719604, 0.23372645676136017, 0.10627327114343643, -0.6141373515129089, 0.13316316902637482, -0.13916432857513428, -0.6146467924118042, 0.6043696999549866, 0.25897666811943054, -0.2061445415019989, 0.9409890174865723, 0.6404621601104736, 0.4346042573451996, 0.285966157913208, 0.29794448614120483, 1.0495448112487793, -0.23171445727348328, -0.35574856400489807, -0.7012608051300049, 0.09621476382017136, -0.2601488530635834, 0.08805734664201736, 0.3757878541946411, 0.5194523334503174, 0.5410703420639038, 0.05746316909790039, 1.1388870477676392, -0.037983547896146774, 0.6790788769721985, -0.8260966539382935, 0.6925004124641418, -0.4571250081062317, 0.4577580988407135, 0.0869925245642662, -1.0254215002059937, -0.17041799426078796, 0.45141497254371643, -0.44582557678222656, 0.014477609656751156, 0.4396767318248749, 0.5360860824584961, -0.2942429780960083, -0.23639531433582306, 0.11297652870416641, 0.1217070072889328, 0.5739102959632874, 0.4674927592277527, 0.6202985048294067, -0.08772151917219162, 0.5245052576065063, 0.005107393488287926, -0.3466018736362457, -0.10445044934749603, -0.8968570828437805, -0.6582332849502563, -0.5034677386283875, -0.2306496500968933, -0.3123936355113983, 0.11025218665599823, 0.9595720767974854, 0.6657506227493286, -0.9132371544837952, -0.21151115000247955, -0.4291641116142273, 0.1895255148410797, -0.20082221925258636, -0.17353679239749908, 0.3387751579284668, -0.6259864568710327, -0.5793361067771912, 0.5602981448173523, 0.33572977781295776, 0.20440387725830078, -0.07744643837213516, -0.15401425957679749, -0.03098207525908947, 0.20018762350082397, 0.5275309085845947, 0.7505589127540588, -0.3690037429332733, -0.48966699838638306, -0.4742475152015686, 0.03194528818130493, -0.028365086764097214, 0.7698553204536438, -0.7793462872505188, 0.47176745533943176, 0.39036470651626587, 0.7529698014259338, 0.7451806664466858, -0.16304831206798553, 0.7416462898254395, -0.7704277634620667, 0.4058820605278015, -0.20989255607128143, 0.4615696966648102, 0.10590462386608124, -0.21163949370384216, 0.42306751012802124, 0.24674922227859497, -0.5943960547447205, -0.8721537590026855, 0.34492501616477966, -0.7389999628067017, -0.3863357901573181, 0.9621666669845581, -0.2365085780620575, -0.22891604900360107, -0.37431228160858154, 0.08521852642297745, 0.21967968344688416, -0.06695390492677689, 1.1042728424072266, 0.45369091629981995, -0.026431173086166382, -0.47029533982276917, -0.869360625743866, 0.6235477328300476, 0.13714340329170227, -1.252405047416687, 0.4988516867160797, 0.27722376585006714, 0.649820864200592, -0.13145026564598083, 0.655061662197113, -0.13217341899871826, 0.13609495759010315, -0.19238735735416412, 0.19974727928638458, 0.048126220703125, -0.3975891172885895, -0.27761220932006836, 0.22953540086746216, 0.42164871096611023, -0.3108074963092804 ]
http://arxiv.org/abs/2407.00743v1
http://arxiv.org/pdf/2407.00743v1
AIMDiT: Modality Augmentation and Interaction via Multimodal Dimension Transformation for Emotion Recognition in Conversations
2024-04-12T11:31:18
2024-04-12T11:31:18
Sheng Wu, Jiaxing Liu, Longbiao Wang, Dongxiao He, Xiaobao Wang, Jianwu Dang
cs.MM
cs.MM, cs.AI, cs.CL, eess.AS
Emotion Recognition in Conversations (ERC) is a popular task in natural language processing, which aims to recognize the emotional state of the speaker in conversations. While current research primarily emphasizes contextual modeling, there exists a dearth of investigation into effective multimodal fusion methods. We propose a novel framework called AIMDiT to solve the problem of multimodal fusion of deep features. Specifically, we design a Modality Augmentation Network which performs rich representation learning through dimension transformation of different modalities and parameter-efficient inception block. On the other hand, the Modality Interaction Network performs interaction fusion of extracted inter-modal features and intra-modal features. Experiments conducted using our AIMDiT framework on the public benchmark dataset MELD reveal 2.34% and 2.87% improvements in terms of the Acc-7 and w-F1 metrics compared to the state-of-the-art (SOTA) models.
[ -0.699236273765564, -0.6367037296295166, 0.4316830635070801, -0.0018709448631852865, -0.11977346986532211, -0.11607147008180618, -0.585313618183136, -0.6077138781547546, 0.498035728931427, 0.06178494915366173, -0.5757497549057007, -0.3569675385951996, -0.46646079421043396, 0.013200724497437477, -0.2493346631526947, 0.627285361289978, -0.2589995265007019, 0.07138781249523163, -0.3828122019767761, -0.4440705180168152, -0.3394014239311218, -0.28874510526657104, -0.3557691276073456, 0.06743142753839493, 0.654213011264801, 0.6391972899436951, 0.31087589263916016, 0.05674606189131737, 0.8090075254440308, 0.41409653425216675, 0.1460188776254654, 0.5601494908332825, -0.4984673857688904, 0.4192315340042114, 0.13753139972686768, -0.14603698253631592, -0.48913365602493286, 0.11485112458467484, 0.490119993686676, 0.3922025263309479, 0.08457359671592712, -0.10905475169420242, 0.1423502266407013, 0.44356659054756165, -0.8015845417976379, 0.2447059154510498, -0.3713829219341278, 0.10456424951553345, 0.009836701676249504, -0.26930081844329834, -0.30951017141342163, -0.12082910537719727, 0.0547766387462616, -0.29290762543678284, -0.19134017825126648, 0.3236018717288971, 0.559110164642334, 0.21005727350711823, -0.6413681507110596, -0.07224614173173904, -0.8161917924880981, 0.4489567279815674, -0.6592305302619934, 0.4970364272594452, 0.25321531295776367, 0.3004187047481537, 0.2858928143978119, -0.47423282265663147, -1.011225700378418, -0.20776493847370148, -0.3466266393661499, 0.20689761638641357, -0.2597167193889618, 0.3182695508003235, 0.17759869992733002, 0.4809730648994446, -0.48428767919540405, -0.12467188388109207, -0.10598151385784149, -0.0967901274561882, 0.5605766177177429, 0.26380792260169983, 0.2953430712223053, -0.46711015701293945, -0.45149797201156616, -0.3540477454662323, -0.21850252151489258, 0.1502300351858139, 0.2502753436565399, 0.14823268353939056, -0.27863582968711853, 0.4861783981323242, -0.21678505837917328, 0.46065109968185425, 0.029335876926779747, 0.08603370934724808, 0.5400691032409668, -0.5230880975723267, -0.18759867548942566, 0.09776221960783005, 0.898158609867096, 0.40533876419067383, -0.25823459029197693, 0.3317877948284149, 0.013890660367906094, 0.1189691573381424, 0.29350966215133667, -0.645816445350647, 0.06385132670402527, 0.23234707117080688, -0.6031333804130554, -0.27067944407463074, 0.15100841224193573, -0.95610511302948, -0.37706589698791504, -0.42931610345840454, 0.626038670539856, -0.5872235298156738, -0.5231425166130066, -0.09596598893404007, 0.19009873270988464, 0.22830894589424133, 0.41739508509635925, -0.6311131119728088, 0.016344085335731506, 0.418039470911026, 0.8193239569664001, -0.026950635015964508, -0.3050007224082947, -0.18961036205291748, -0.08644657582044601, -0.06762033700942993, 0.6691476702690125, -0.9650676250457764, -0.3271806240081787, -0.12827512621879578, -0.006533196195960045, -0.21674159169197083, -0.191614031791687, 0.5103157758712769, -0.0750044509768486, 0.4252862334251404, -0.18903113901615143, -0.19458918273448944, -0.33780211210250854, 0.6009300351142883, -0.7200267314910889, 0.7916572690010071, 0.10936977714300156, -0.7730749249458313, 0.1380952149629593, -1.093167781829834, -0.3704243302345276, -0.12799744307994843, 0.0356028713285923, -0.14892099797725677, 0.23210705816745758, 0.22386372089385986, 0.5417782068252563, -0.2341766208410263, 0.038285255432128906, -0.5305833220481873, -0.1440971940755844, 0.5066587924957275, -0.674880862236023, 0.011744098737835884, 0.39611539244651794, -0.37209802865982056, 0.4303918480873108, -0.8974576592445374, -0.10857953131198883, -0.29741770029067993, -0.0729069709777832, -0.4798145890235901, -0.1835019886493683, 0.28903210163116455, 0.46705731749534607, 0.10804711282253265, -0.7899243235588074, -0.08159541338682175, -0.3218126595020294, 0.46108531951904297, 0.6299452781677246, -0.15124735236167908, 0.5173398852348328, -0.032312121242284775, 0.3780008554458618, 0.5153192281723022, 0.1380484700202942, -0.48673734068870544, -0.08539590984582901, -0.9603763818740845, -0.3804979920387268, 0.13248486816883087, 0.29714927077293396, -0.7460429668426514, 0.40274062752723694, -0.20277760922908783, -0.35088950395584106, -0.6855881810188293, -0.08980315923690796, 0.5335035920143127, 0.5366674661636353, 0.3546258211135864, -0.429569274187088, -0.5801849365234375, -1.0927428007125854, -0.0022813277319073677, -0.30539774894714355, 0.056222718209028244, 0.7801569104194641, 0.14622077345848083, -0.4035392999649048, 0.8904826045036316, -0.21899829804897308, -0.4708232283592224, -0.23772691190242767, 0.5481871962547302, -0.15857632458209991, 0.5302706360816956, 0.40423932671546936, -1.0557327270507812, -0.5282655358314514, 0.2697890102863312, -0.8018661141395569, -0.002051727846264839, -0.06309216469526291, -0.1911149024963379, 0.10332578420639038, 0.39733341336250305, -0.4504237174987793, 0.47751161456108093, 0.7138500809669495, -0.4269672930240631, -0.15682649612426758, -0.0025158259086310863, 0.9019780158996582, -1.3562222719192505, 0.1150108203291893, 0.2305566519498825, -0.22701647877693176, -0.7599238753318787, -0.4430350363254547, 0.2755359411239624, -0.4079284071922302, -0.5777947306632996, 0.4558313488960266, -0.38034218549728394, 0.04256386682391167, -0.05592162534594536, 0.2143198400735855, 0.2061876803636551, 0.7172390222549438, -0.17489488422870636, 0.5470813512802124, 0.42717066407203674, -0.2918778955936432, 0.6297047138214111, 0.4868423044681549, -0.1930534541606903, 1.282158374786377, -0.2803454101085663, 0.07319352775812149, -0.26103833317756653, 0.15754197537899017, -1.231942892074585, -0.5315331220626831, 0.30101895332336426, -0.4734894335269928, 0.4410054087638855, 0.3206680417060852, -0.013729049824178219, -0.096007339656353, -0.2671482264995575, 0.7134963274002075, 0.2921065092086792, -0.4958847165107727, 1.178709864616394, 0.2566622793674469, -0.28141507506370544, -0.30311378836631775, -0.5097790360450745, 0.19205103814601898, -0.18700319528579712, -0.9501006007194519, 0.37322235107421875, -0.1802312582731247, -0.1489657163619995, 0.010928685776889324, 0.24903367459774017, 0.11413955688476562, -0.16679906845092773, 0.5533441305160522, -0.017999986186623573, -0.11366098374128342, 0.36961182951927185, 0.1795133799314499, -0.06969901919364929, -0.11670393496751785, 0.4494459629058838, 0.5355211496353149, -0.31670668721199036, -0.72948157787323, -0.5761604905128479, 0.7649503350257874, 0.9027966856956482, -0.48289954662323, 0.5940966010093689, 1.0005520582199097, -0.378234326839447, 0.11557850241661072, -0.7694950103759766, -0.27092960476875305, -0.4345271587371826, 0.586872935295105, -0.33990833163261414, -1.0283491611480713, 0.5000452995300293, -0.1550484597682953, -0.12077636271715164, 0.35039639472961426, 0.5068354606628418, -0.25693634152412415, 1.2710598707199097, 0.5211849808692932, 0.08733004331588745, 0.7625110745429993, -0.021949028596282005, 0.5066326856613159, -1.241661787033081, -0.45908498764038086, -0.12572813034057617, -0.9608958959579468, -0.12786895036697388, -0.4488822817802429, 0.7418438792228699, -0.3274763822555542, 0.07860209047794342, 0.26517394185066223, -0.13200971484184265, 0.13238723576068878, 0.38563278317451477, 0.5233731865882874, -0.0031206633429974318, -0.16441942751407623, 0.20653408765792847, -0.3504195809364319, -0.3833276927471161, -0.02097168192267418, 0.7068551778793335, 0.4859396815299988, 0.8977922797203064, 0.1862323135137558, 0.5353929996490479, 0.2574252784252167, 0.3133202791213989, -0.8140630125999451, 0.7094307541847229, 0.10522611439228058, -0.3108879327774048, -0.14250127971172333, -0.5225237011909485, -0.49037042260169983, 0.1539967805147171, -0.6026021838188171, -0.5442386269569397, 0.7186150550842285, 0.09028337895870209, -0.13391205668449402, 0.24237503111362457, -0.8696205019950867, 0.8427345156669617, -0.3534907400608063, -0.3499043881893158, -0.45103684067726135, -0.6297341585159302, 0.3390173316001892, 0.07072092592716217, 0.17758916318416595, -0.20913748443126678, 0.2553684413433075, 0.48640525341033936, -0.2229509800672531, 0.8534795045852661, -0.13143236935138702, 0.04472700133919716, -0.004184417426586151, 0.2441462129354477, 0.3388436436653137, 0.06855660676956177, 0.10322516411542892, 0.24407781660556793, -0.39663460850715637, 0.18200677633285522, -0.6854735016822815, 0.7391340136528015, -0.5292847156524658, -0.21591243147850037, -0.1155041977763176, -0.7802050709724426, -0.4094516932964325, -0.17458228766918182, -0.12864506244659424, 0.7593016028404236, -0.3728193938732147, 0.6041355133056641, 0.5581269860267639, -0.011203174479305744, 0.6643621325492859, 0.2571931481361389, 0.2616976201534271, -0.5178669691085815, 0.9465423822402954, -0.31706809997558594, 0.2587797939777374, 0.355172336101532, 0.03031432442367077, -0.07342524826526642, 0.0236407108604908, -0.10943638533353806, 0.009069827385246754, -0.7092171907424927, -0.43278029561042786, -0.9105396270751953, -0.1787337362766266, -0.5056604743003845, -0.04793259873986244, -0.4589006006717682, -0.20935022830963135, -0.43683212995529175, -0.09627462178468704, 0.43476444482803345, 0.3664438724517822, -0.37946897745132446, 0.1734757274389267, -0.8699599504470825, 0.1993207484483719, 0.5523562431335449, 0.4105468988418579, -0.22370122373104095, -0.44214192032814026, -0.26788145303726196, 0.2667495012283325, -0.17988380789756775, -0.8503087759017944, 0.6348387002944946, 0.6249619722366333, 0.3819812536239624, 0.7403886914253235, 0.0704754963517189, 0.7426339983940125, -0.23661519587039948, 0.6257994771003723, 0.5370380878448486, -1.1812530755996704, 0.573435366153717, -0.06467807292938232, 0.11725297570228577, 0.5019251108169556, 0.4444546699523926, -0.8089051842689514, -0.04784131795167923, -0.42209017276763916, -0.7806273102760315, 0.7586764693260193, 0.2046445608139038, 0.2691386342048645, -0.0002976952528115362, 0.049435097724199295, -0.1107146218419075, 0.3755069077014923, -0.5929767489433289, 0.017479706555604935, -0.20805314183235168, -0.7935843467712402, 0.10153035074472427, -0.5635465383529663, -0.3607587516307831, -0.16103622317314148, 0.30238431692123413, -0.42449137568473816, 0.4873066544532776, 0.3092394471168518, -0.18620914220809937, -0.2582426071166992, 0.3471464514732361, 0.627765417098999, 0.32938069105148315, -0.14785534143447876, 0.2303112894296646, 0.08238980174064636, -0.12100382149219513, -0.09801721572875977, 0.17681121826171875, 0.5357954502105713, -0.1613766998052597, 0.32699909806251526, 1.3101292848587036, 0.5687988996505737, -0.6280463933944702, 0.683339536190033, -0.33508655428886414, -0.24261799454689026, -0.006029915995895863, -0.04547774791717529, -0.24760714173316956, 0.7709909081459045, 0.11309780180454254, 0.2380271703004837, 0.3413935899734497, -0.6827821731567383, 0.1591733694076538, 0.5014782547950745, -0.8102373480796814, -0.4151284396648407, 0.503685712814331, 0.6080644726753235, -0.25442928075790405, 0.40652766823768616, 0.1336095780134201, -0.6827455163002014, 0.29056501388549805, 0.24587078392505646, 0.9692861437797546, -0.43766283988952637, 0.2654077410697937, 0.36047059297561646, -0.0690157562494278, 0.32935667037963867, 0.34230268001556396, -0.32102492451667786, -0.7763307094573975, -0.17143337428569794, -0.5585139989852905, -0.5973716974258423, -0.40800637006759644, -0.533233642578125, 0.16153910756111145, -0.14563912153244019, -0.14305105805397034, -0.27229413390159607, -0.5896031260490417, -0.6493111252784729, 0.06353724002838135, 0.40527239441871643, 0.3743538558483124, -0.9191992878913879, 0.4358076751232147, 0.6542712450027466, -0.416149765253067, -0.6067380309104919, -0.3614039123058319, 0.09536866098642349, -0.572012722492218, 0.6551727056503296, 0.3582758605480194, -0.0614762157201767, -0.06688154488801956, -0.5299012660980225, -0.777180016040802, 1.1556624174118042, 0.1508512794971466, -0.5849842429161072, 0.1218033879995346, 0.019855720922350883, 0.3544396460056305, -0.813429057598114, 0.6593062281608582, 0.2057269811630249, 0.5222793817520142, 0.30689796805381775, -0.9882892966270447, -0.11981170624494553, -0.569425106048584, 0.032947104424238205, 0.3110085427761078, -0.6423110365867615, 0.7925786375999451, 0.0855289101600647, -0.21108944714069366, -0.400325208902359, 0.6140459179878235, -0.1500004529953003, 0.30888471007347107, 0.7989324331283569, 0.5833031535148621, 0.37991809844970703, -0.2914484441280365, 0.5902144312858582, -0.5164313912391663, 0.3158414363861084, 0.6321678161621094, -0.4845258295536041, 0.8923153877258301, 0.5218295454978943, 0.1643543541431427, 0.5933371782302856, 0.4669368267059326, 0.34077492356300354, 0.33965250849723816, -0.3375524580478668, -0.3894580900669098, -0.4355885684490204, -0.3111704885959625, -0.31968238949775696, 0.7649157047271729, 0.5977280735969543, -0.32349833846092224, 0.031616151332855225, 0.6996504664421082, -0.12716136872768402, -0.1749057173728943, -0.20897410809993744, 1.0369195938110352, -0.03186877444386482, -0.279476135969162, 0.213274285197258, -0.2560834586620331, 0.799717366695404, -0.6861314177513123, -0.3021799325942993, -0.3548198640346527, 0.11079791188240051, -0.28264862298965454, -0.623622477054596, 0.20220112800598145, -0.30614712834358215, -0.11940054595470428, -0.2925693094730377, 0.7910283803939819, -0.9825698733329773, -0.3761841952800751, 0.2222985029220581, 0.2388020157814026, -0.22573255002498627, -0.16134904325008392, -0.4557538330554962, 0.39479032158851624, -0.24457472562789917, -0.388651579618454, 0.3680954575538635, 0.5578296780586243, 0.36101457476615906, 0.5049080848693848, 0.5650948286056519, -0.1631384640932083, -0.28870150446891785, -0.01932699792087078, 1.1800321340560913, -0.6277799606323242, -0.4663114547729492, -0.6635329723358154, 0.8060986995697021, -0.297719269990921, -0.2600964307785034, 0.5139166712760925, 0.06364117562770844, 0.6114522814750671, 0.12363184243440628, 0.4759587347507477, -0.41788250207901, 0.37354013323783875, -0.5705882906913757, 0.5898128151893616, -0.9652706980705261, -0.022830849513411522, -0.3771877884864807, -0.9939931035041809, -0.14306631684303284, 0.6944713592529297, -0.04336896911263466, 0.13213223218917847, 0.8758520483970642, 0.8290607333183289, -0.28484147787094116, 0.08434354513883591, 0.5540035367012024, 0.33473601937294006, 0.43031978607177734, 0.7039340734481812, 0.8143359422683716, -0.30847129225730896, 0.43977227807044983, -0.389953076839447, -0.24549387395381927, -0.4365358352661133, -0.7697692513465881, -0.6982028484344482, -1.0081589221954346, -0.2640168368816376, -0.32368898391723633, -0.2691597640514374, 1.1337672472000122, 0.7307829260826111, -0.6375760436058044, 0.06991098821163177, 0.32454749941825867, -0.22671085596084595, -0.0231697428971529, -0.26169756054878235, 0.2003346085548401, -0.2698044180870056, -0.8687772154808044, 0.5911471247673035, 0.7552696466445923, -0.1515733301639557, -0.5626134872436523, -0.16307155787944794, -0.2284020185470581, 0.011882724240422249, 0.6729912757873535, 0.130575031042099, -0.4791916310787201, -0.5811194777488708, -0.09359000623226166, -0.031528376042842865, 0.32479801774024963, 1.0371335744857788, -0.6130282282829285, 0.8208596110343933, 0.6436559557914734, 0.6629531383514404, 0.2214912474155426, -0.014923064038157463, 0.6208924055099487, -0.7293315529823303, 0.24265530705451965, 0.24942928552627563, 0.6199197769165039, 0.34021493792533875, -0.26768577098846436, 0.30951106548309326, 0.2632591128349304, -0.43893253803253174, -0.8339794278144836, 0.43543267250061035, -1.3464603424072266, 0.12751257419586182, 1.109324336051941, -0.07190877944231033, -0.3268004357814789, 0.22794978320598602, -0.6203377842903137, -0.018565641716122627, -0.442004531621933, 0.5615983605384827, 0.48694053292274475, -0.18711358308792114, -0.715444028377533, 0.018663009628653526, 0.21033254265785217, 0.44372400641441345, -1.0439839363098145, 0.03802453354001045, 0.7357988953590393, -0.2544896602630615, 0.36289864778518677, 0.4070380628108978, -0.0467403270304203, 0.06491398066282272, -0.1269700825214386, 0.2916600704193115, -0.2826901376247406, -0.5535843968391418, -0.3581395745277405, 0.23221009969711304, -0.3333088457584381, -0.03647146373987198 ]
http://arxiv.org/abs/2404.08403v1
http://arxiv.org/pdf/2404.08403v1
Learning representations of learning representations
2024-04-12T11:30:16
2024-04-12T11:30:16
Rita González-Márquez, Dmitry Kobak
cs.CL
cs.CL, cs.DL, cs.LG
The ICLR conference is unique among the top machine learning conferences in that all submitted papers are openly available. Here we present the ICLR dataset consisting of abstracts of all 24 thousand ICLR submissions from 2017-2024 with meta-data, decision scores, and custom keyword-based labels. We find that on this dataset, bag-of-words representation outperforms most dedicated sentence transformer models in terms of $k$NN classification accuracy, and the top performing language models barely outperform TF-IDF. We see this as a challenge for the NLP community. Furthermore, we use the ICLR dataset to study how the field of machine learning has changed over the last seven years, finding some improvement in gender balance. Using a 2D embedding of the abstracts' texts, we describe a shift in research topics from 2017 to 2024 and identify hedgehogs and foxes among the authors with the highest number of ICLR submissions.
[ -0.24115420877933502, 0.3390769064426422, 0.16904017329216003, -0.1772090196609497, 0.036246854811906815, 0.4669654667377472, -0.05354620888829231, -0.5102651119232178, -0.17690379917621613, 0.16399598121643066, -0.23927059769630432, -0.5250954627990723, -1.0956671237945557, 0.426613450050354, -0.7120410203933716, 1.210717797279358, 0.25293558835983276, 0.3611966371536255, -0.5351449847221375, -0.5916794538497925, -0.29797622561454773, -0.6506509184837341, -0.1683417111635208, -0.5833988189697266, 0.6302369236946106, 0.2048332542181015, 0.43225112557411194, 0.5400509834289551, 0.631009042263031, 0.16183198988437653, -0.2617720067501068, 0.18333843350410461, -0.3042990267276764, -0.24223050475120544, -0.34973540902137756, -0.4657171368598938, -0.16318686306476593, 0.04175243526697159, 0.8558686971664429, 1.017799973487854, -0.217648446559906, 0.1503015160560608, 0.3831157982349396, 0.6117017865180969, -0.7202304005622864, 0.38095933198928833, -0.7878990769386292, 0.3314099907875061, -0.23598657548427582, 0.17572253942489624, -0.7468510866165161, 0.06760323792695999, 0.027079490944743156, -0.3417297899723053, 0.1419956535100937, 0.07907289266586304, 0.7650883793830872, 0.06287430226802826, -0.39206168055534363, -0.47876405715942383, -0.6359009742736816, 0.9305936098098755, -0.3964375853538513, 0.28186288475990295, 0.30494681000709534, 0.13601739704608917, -0.1355658918619156, -0.7448369860649109, -0.18973839282989502, -0.08431390672922134, -0.12197810411453247, -0.16724535822868347, -0.5831881165504456, -0.1393192559480667, 0.19987671077251434, 0.10172440856695175, -0.44313883781433105, 0.16878092288970947, -0.44147273898124695, -0.08912039548158646, 0.7335842251777649, 0.14309678971767426, 0.31644290685653687, 0.15338078141212463, -0.07611849159002304, -0.2482297122478485, -0.5988797545433044, -0.20472705364227295, 0.24856449663639069, 0.4773464500904083, -0.054050005972385406, 0.698420524597168, 0.19790607690811157, 0.5741124749183655, 0.1148124560713768, 0.14483532309532166, 0.24299286305904388, -0.16245391964912415, 0.09466495364904404, 0.24375095963478088, 0.9008164405822754, 0.4062872529029846, -0.03467520326375961, -0.1794786900281906, -0.08351241052150726, -0.3438155949115753, 0.11921897530555725, -0.6976212859153748, -0.15950503945350647, -0.2883221507072449, -0.673453152179718, -0.3843448758125305, 0.39658617973327637, -0.7336624264717102, -0.4656621217727661, -0.26983198523521423, -0.07009681314229965, -0.08528515696525574, -0.332390159368515, 0.1575309932231903, -0.09920311719179153, 0.4193631410598755, 0.1145460307598114, -0.8969419002532959, 0.5314903259277344, 0.6538688540458679, 0.7936775088310242, -0.30145034193992615, 0.004985797684639692, -0.2100236713886261, 0.06184394285082817, -0.5081939101219177, 0.5399196743965149, -0.9020578861236572, -0.44882461428642273, -0.06671421974897385, -0.014716515317559242, -0.10522685945034027, -0.7218724489212036, 0.4507692754268646, -0.2630848288536072, 0.313946008682251, -0.41198644042015076, -0.5843857526779175, -0.1660122573375702, 0.1015339344739914, -0.6066904067993164, 0.7701464891433716, -0.14848408102989197, -1.0644793510437012, 0.47393691539764404, -0.7914892435073853, -0.029654622077941895, 0.18413157761096954, -0.5647287964820862, -0.6177446842193604, 0.1766705960035324, 0.21719588339328766, 0.3350639343261719, -0.021999724209308624, 0.3918197751045227, -0.2314024418592453, -0.33588311076164246, 0.5355345606803894, -0.06727749109268188, 0.9013116955757141, 0.18637202680110931, -0.012772454880177975, 0.04635123535990715, -0.7105448842048645, -0.2466164082288742, 0.16039197146892548, -0.11529527604579926, -0.05223100259900093, 0.3488277494907379, 0.1190735325217247, 0.23547419905662537, 0.013991751708090305, -0.6296641230583191, 0.35993117094039917, -0.33343276381492615, 0.9025675654411316, 0.5908576250076294, -0.37534239888191223, 0.4366026818752289, -0.3472132086753845, 0.47630035877227783, 0.4471789300441742, -0.22827742993831635, -0.26531368494033813, -0.5113539695739746, -0.5761545896530151, -0.014697335660457611, 0.6556646823883057, 0.2260063737630844, -0.28164756298065186, 0.4162118136882782, -0.29229098558425903, -0.4107603430747986, -0.6873874068260193, -0.3118664622306824, 0.13349708914756775, 0.2739369869232178, 0.32428398728370667, 0.056020587682724, -0.7538043260574341, -0.9202507734298706, -0.4195123314857483, -0.3064103126525879, 0.13001571595668793, 0.14150534570217133, 0.6899436712265015, -0.2301756888628006, 0.8300248980522156, -0.352095365524292, -0.28662917017936707, -0.4081375300884247, 0.5453589558601379, -0.02953149378299713, 0.6236720085144043, 0.5415529012680054, -0.7876169681549072, -0.31735825538635254, 0.14251486957073212, -0.6830697059631348, 0.18670181930065155, 0.08182817697525024, 0.20441317558288574, 0.28815850615501404, 0.6954773664474487, -0.4851682186126709, 0.4223810136318207, 0.5053072571754456, -0.23904651403427124, 0.22470128536224365, 0.028185149654746056, -0.08169729262590408, -0.8842418789863586, 0.26342177391052246, -0.09266205132007599, -0.33858346939086914, -0.20788432657718658, -0.05006751790642738, -0.07696747034788132, -0.2852066457271576, -0.2185458391904831, 0.3989740014076233, -0.27181535959243774, -0.2873672842979431, -0.12664386630058289, -0.2163180112838745, -0.13323183357715607, 0.10654649883508682, -0.26023030281066895, 0.8693446516990662, 0.47290945053100586, -0.354524701833725, -0.2855622172355652, 0.4783641993999481, -0.4298882484436035, -0.04726743698120117, -0.54789137840271, 0.42072632908821106, -0.6734286546707153, 0.397382915019989, -1.041202187538147, -0.07835819572210312, 0.34270384907722473, -0.5104712843894958, 0.4948301911354065, -0.09453529119491577, -0.5670657157897949, -0.32588624954223633, -0.132366344332695, 0.3695482015609741, 0.3712928593158722, -0.32015159726142883, 0.6417412161827087, 0.45566102862358093, 0.033917222172021866, -0.8715688586235046, -0.8495809435844421, 0.4877844750881195, -0.008843990042805672, 0.07373925298452377, 0.6824151873588562, -0.03663000836968422, -0.22635440528392792, 0.303046315908432, 0.1668730229139328, 0.15373577177524567, -0.028638094663619995, 0.19102589786052704, 0.07042717188596725, -0.1315990835428238, 0.2789236009120941, -0.07225695997476578, -0.23353928327560425, 0.08177564293146133, -0.5473286509513855, 0.526218593120575, -0.2550630271434784, -0.33192262053489685, -0.3669465482234955, 0.4762275815010071, 0.5175417065620422, -0.24543197453022003, 0.7891786098480225, 0.46979737281799316, -0.4285336434841156, 0.023462222889065742, -0.0491245873272419, -0.03542574867606163, -0.37100937962532043, 0.5245901346206665, -0.10972807556390762, -0.9819373488426208, 0.3477482497692108, -0.0037733749486505985, 0.33019623160362244, 0.7815551161766052, 0.3270080089569092, -0.3785654604434967, 1.6003546714782715, 0.9250621199607849, -0.2521727681159973, 0.29238152503967285, -0.15047523379325867, 0.278175950050354, -0.6847725510597229, -0.5125274658203125, -0.8712354302406311, -0.581118643283844, -0.78150475025177, -0.14028719067573547, 0.0710400864481926, 0.015347838401794434, -0.21533790230751038, 0.12411017715930939, -0.7193817496299744, 0.367784321308136, 0.23754552006721497, -0.00870261900126934, 0.23870748281478882, 0.010991065762937069, -0.18059319257736206, -0.4446254372596741, -0.6471834182739258, -0.6526520848274231, 1.0513756275177002, 0.28923025727272034, 0.49595731496810913, -0.19589586555957794, 0.4249095916748047, 0.6415730118751526, 0.21352413296699524, -0.5305220484733582, 0.6989014744758606, -0.5916627049446106, -0.3923720121383667, 0.2509468197822571, -0.3138402998447418, -0.9551266431808472, 0.21241024136543274, -0.10003969073295593, -0.43085426092147827, 0.22109785676002502, -0.20953942835330963, 0.03312350809574127, 0.6740634441375732, -0.14142709970474243, 0.3150283992290497, -0.02984433062374592, 0.20348848402500153, -0.07945813983678818, -0.679953932762146, 0.12243065237998962, 0.14899347722530365, 0.11626126617193222, -0.26102855801582336, -0.22916017472743988, 1.0958607196807861, -0.184620201587677, 0.8250174522399902, -0.090082086622715, 0.18322235345840454, 0.1384851038455963, -0.24773181974887848, 0.15145421028137207, -0.24415180087089539, -0.2029145359992981, 0.44489848613739014, -0.06790304183959961, -0.284993976354599, -0.3470052480697632, 0.3958764970302582, -0.829643189907074, -0.27810823917388916, -0.7398934364318848, -0.39141130447387695, 0.1740054488182068, 0.12712179124355316, 0.431537926197052, 0.536411464214325, -0.15900661051273346, 0.37747612595558167, 0.6132928729057312, -0.3576573431491852, 0.6110393404960632, 0.05095776915550232, -0.5654839873313904, -0.4349261522293091, 0.7829282879829407, 0.3423820436000824, -0.18710818886756897, 0.6070990562438965, 0.2615986466407776, -0.11627497524023056, -0.7671505808830261, -0.46880748867988586, 0.07600679248571396, -0.8471162915229797, -0.42038291692733765, -1.129822850227356, -0.5140538215637207, -0.24931496381759644, 0.04265330731868744, -0.10605015605688095, -0.4244886636734009, -0.7259570956230164, -0.219083771109581, 0.1374174952507019, 1.1226568222045898, -0.08843010663986206, 0.11861927062273026, -0.49506673216819763, -0.10838465392589569, 0.06360644102096558, 0.10452792793512344, 0.022620689123868942, -0.346426784992218, -0.18641427159309387, 0.029627567157149315, -0.4337465167045593, -0.49128204584121704, 0.41602250933647156, 0.5741932988166809, 0.4942065179347992, 0.2177189588546753, 0.0279033612459898, 0.5352710485458374, -0.3351220190525055, 0.9485021233558655, 0.3484236001968384, -0.8022542595863342, 0.48031601309776306, -0.3396914601325989, 0.42837467789649963, 0.5368063449859619, 0.6118105053901672, -0.4915059804916382, -0.3214375376701355, -0.6063641309738159, -0.5222069025039673, 0.685187041759491, 0.01664627529680729, 0.44662898778915405, 0.038550183176994324, 0.5492757558822632, 0.2862488329410553, 0.306820273399353, -0.7324803471565247, -0.4683106243610382, -0.10812509059906006, -0.6353201270103455, 0.1670779287815094, -0.2916748523712158, 0.11408765614032745, -0.43982207775115967, 0.4829123020172119, -0.40548381209373474, 0.5573180317878723, -0.06085250899195671, -0.06597527861595154, -0.056791942566633224, 0.14224986732006073, 0.6877933740615845, 0.8884550929069519, -0.023607585579156876, 0.23964081704616547, 0.22507049143314362, -0.4528929889202118, 0.07544521242380142, -0.03476236015558243, -0.2618790566921234, 0.26568228006362915, 0.7294904589653015, 0.551074206829071, 0.245339035987854, -0.7360430955886841, 0.6711006164550781, -0.28989166021347046, -0.5261690020561218, -0.21176820993423462, -0.07850819826126099, -0.0346817784011364, 0.043208155781030655, 0.6530215740203857, 0.5367293357849121, 0.32485252618789673, -0.4556238055229187, 0.33186498284339905, 0.27570244669914246, -0.950987696647644, -0.5009121894836426, 0.6319189667701721, -0.1791170835494995, -0.05953839421272278, 0.6603211164474487, -0.23692461848258972, -0.7245181202888489, 0.39767658710479736, 0.5110980868339539, 0.8308342099189758, -0.01879231259226799, 0.24544647336006165, 0.5973734855651855, 0.24627797305583954, 0.01289583183825016, 0.020105702802538872, 0.2282673716545105, -0.5781287550926208, -0.4720934331417084, -0.3703623414039612, -0.38644036650657654, 0.17284314334392548, -0.8407862186431885, 0.584962010383606, -0.4618552625179291, 0.030962785705924034, 0.14812923967838287, 0.08696186542510986, -0.4734686017036438, -0.2789662778377533, 0.4307991564273834, 0.9196835160255432, -0.6294988989830017, 0.5878753662109375, 0.9194430112838745, -0.2632005512714386, -0.16878066956996918, -0.09028588235378265, -0.07948963344097137, -0.5004381537437439, 0.9343648552894592, 0.3562771677970886, -0.10144579410552979, -0.09393569827079773, -1.1481435298919678, -0.8479195237159729, 0.8512609601020813, 0.5472856163978577, -0.7584162950515747, -0.20276764035224915, 0.4775841534137726, 0.30695486068725586, -0.5710805058479309, 0.12414498627185822, 0.17002540826797485, 0.3160703182220459, 0.05620395764708519, -0.5314710140228271, -0.3880566358566284, -0.250597208738327, 0.04057495668530464, 0.17924563586711884, -0.44059258699417114, 0.8108827471733093, -0.060424819588661194, -0.40860775113105774, -0.024218549951910973, 0.9270175695419312, 0.2641577422618866, 0.2547690272331238, 0.368379145860672, 0.43530744314193726, 0.9111878871917725, -0.29180583357810974, 0.7206494212150574, 0.12119699269533157, 0.29111412167549133, 1.0153578519821167, -0.29784688353538513, 0.8500418663024902, 0.20703962445259094, -0.3317418694496155, 0.6582201719284058, 0.43289732933044434, -0.20898453891277313, 0.6629611253738403, 0.3841116726398468, -0.19205506145954132, -0.2429163157939911, -0.3590264320373535, -0.31278958916664124, 0.7170530557632446, 0.5454851388931274, -0.3570272922515869, -0.5029166340827942, 0.7099248766899109, -0.0020709435921162367, 0.2608295679092407, -0.3444397747516632, 1.1274923086166382, 0.15768006443977356, -0.25786086916923523, 0.19168174266815186, 0.015613584779202938, 0.7843706011772156, -0.36708587408065796, -0.3347108066082001, -0.05669207125902176, 0.2289959043264389, -0.24648159742355347, -0.9092532396316528, 0.5389609932899475, -0.18231309950351715, -0.41876620054244995, -0.47074630856513977, 0.992659330368042, -0.5302360653877258, -0.8653863668441772, 0.2436993420124054, 0.03594454005360603, 0.16443730890750885, 0.2313036024570465, -0.898816704750061, 0.24982616305351257, -0.08096543699502945, 0.35566210746765137, 0.5252280235290527, 0.38221311569213867, -0.0924527570605278, 0.729323148727417, 0.23333434760570526, -0.19292274117469788, 0.06778649240732193, -0.2113124132156372, 0.9034526348114014, -0.6203070878982544, -0.1920028030872345, -0.8816062808036804, 0.380998432636261, -0.10161716490983963, -0.391092449426651, 0.35241928696632385, 0.6750197410583496, 0.8870399594306946, 0.16959118843078613, 0.8144502639770508, -0.189265638589859, 0.628254234790802, -0.27676770091056824, 0.7716442346572876, -0.4035320580005646, -0.0036794759798794985, 0.05924243852496147, -0.34648704528808594, -0.6017948389053345, 0.4586382210254669, 0.10710262507200241, 0.12092894315719604, 0.2660336494445801, 0.40527769923210144, -0.002059066900983453, 0.3275342583656311, 0.21589675545692444, -0.09810619801282883, 0.4119631350040436, 0.3244965076446533, 1.198518991470337, -0.7855708003044128, 0.448261022567749, -0.1272454708814621, 0.23348820209503174, -0.5104416608810425, -1.2173618078231812, -0.675685703754425, -1.072230577468872, -0.8097077012062073, -0.14770694077014923, 0.05048728361725807, 1.1210286617279053, 0.7905916571617126, -1.0087847709655762, -0.1745692640542984, -0.1197720617055893, 0.1534094363451004, -0.2983216941356659, -0.14934572577476501, 0.23097407817840576, -0.4950641095638275, -0.4409361779689789, 0.12678655982017517, 0.16258084774017334, 0.049767643213272095, -0.28788092732429504, 0.07797477394342422, -0.2484211027622223, -0.3298826515674591, 0.7176445126533508, -0.0733625665307045, -0.7151975631713867, -0.16503633558750153, -0.012389102019369602, -0.2249395102262497, 0.3307262063026428, 0.8224554657936096, -0.7772275805473328, 0.23557186126708984, 0.3210752010345459, 0.7535449266433716, 0.4710652828216553, -0.47712329030036926, 0.6308616995811462, -0.6579849123954773, -0.214078888297081, 0.6018040776252747, 0.36140957474708557, 0.47377875447273254, -0.18780764937400818, 0.4360102713108063, 0.07361062616109848, -0.4308643639087677, -1.0011959075927734, -0.14599208533763885, -0.868557333946228, -0.431310772895813, 0.6817445755004883, -0.12972788512706757, -0.04200000315904617, -0.1991094946861267, -0.07821623235940933, 0.12194576114416122, -0.2610006332397461, 0.5696351528167725, 0.9000968337059021, -0.05544377490878105, -0.6605493426322937, -0.6064473986625671, 0.4299437999725342, 0.24056103825569153, -0.6964764595031738, 0.054754238575696945, 0.0644771084189415, 0.017352882772684097, 0.20179875195026398, 0.17874108254909515, -0.5387101173400879, -0.18784686923027039, -0.42380738258361816, 0.16527467966079712, 0.0802864283323288, -0.48900023102760315, -0.5442981123924255, 0.2002989500761032, 0.15307168662548065, -0.09728992730379105 ]
http://arxiv.org/abs/2404.08720v1
http://arxiv.org/pdf/2404.08720v1
Exploring Contrastive Learning for Long-Tailed Multi-Label Text Classification
2024-04-12T11:12:16
2024-04-12T11:12:16
Alexandre Audibert, Aurélien Gauffre, Massih-Reza Amini
cs.LG
cs.LG, cs.CL, cs.IR
Learning an effective representation in multi-label text classification (MLTC) is a significant challenge in NLP. This challenge arises from the inherent complexity of the task, which is shaped by two key factors: the intricate connections between labels and the widespread long-tailed distribution of the data. To overcome this issue, one potential approach involves integrating supervised contrastive learning with classical supervised loss functions. Although contrastive learning has shown remarkable performance in multi-class classification, its impact in the multi-label framework has not been thoroughly investigated. In this paper, we conduct an in-depth study of supervised contrastive learning and its influence on representation in MLTC context. We emphasize the importance of considering long-tailed data distributions to build a robust representation space, which effectively addresses two critical challenges associated with contrastive learning that we identify: the "lack of positives" and the "attraction-repulsion imbalance". Building on this insight, we introduce a novel contrastive loss function for MLTC. It attains Micro-F1 scores that either match or surpass those obtained with other frequently employed loss functions, and demonstrates a significant improvement in Macro-F1 scores across three multi-label datasets.
[ -0.649345874786377, -0.39825010299682617, 0.38872653245925903, 0.29299893975257874, -0.23444221913814545, 0.12958334386348724, -0.19071348011493683, -0.43988606333732605, 0.35732612013816833, 0.26044994592666626, -0.5510631203651428, -0.642717182636261, -0.7159144878387451, 0.2145647257566452, -0.31807345151901245, 1.2704068422317505, -0.05756519362330437, -0.24271418154239655, -0.11735840141773224, -0.6795760989189148, -0.25382286310195923, -0.8478001952171326, -0.6159095168113708, -0.5702015161514282, 1.0268436670303345, 0.0871502012014389, 0.4367193281650543, 0.28354400396347046, 0.4944133758544922, 0.1919557899236679, -0.16120077669620514, 0.06314211338758469, -0.5411262512207031, 0.0009070895612239838, -0.060556523501873016, -0.35990267992019653, 0.12025479972362518, -0.03462737053632736, 0.8401680588722229, 0.8029230237007141, -0.08039076626300812, -0.3095838129520416, 0.6201929450035095, 0.8754696846008301, -0.7878720760345459, 0.22281542420387268, -0.3725672960281372, 0.4093741476535797, -0.20208582282066345, -0.3249320983886719, -0.735549807548523, 0.05040694400668144, 0.23792099952697754, -0.6983476281166077, 0.035158365964889526, 0.09387210756540298, 0.824167788028717, 0.2834564447402954, -0.9624063968658447, -0.3240651488304138, -0.3331575095653534, 1.0982962846755981, -0.1870996206998825, 0.5184541940689087, 0.18177849054336548, 0.16753363609313965, 0.04985380172729492, -0.4462019205093384, -0.24400924146175385, -0.06894902884960175, -0.34259486198425293, 0.4045107066631317, -0.16767063736915588, 0.001823896775022149, -0.11404866725206375, 0.33595651388168335, -0.38977622985839844, 0.4154280722141266, -0.07260847091674805, -0.20400524139404297, 0.1306026130914688, 0.16143493354320526, -0.3545989394187927, 0.0488378182053566, -0.5708425641059875, -0.3321757912635803, -0.47743335366249084, -0.04344918951392174, 0.26122206449508667, 0.5452637672424316, -0.20728908479213715, 0.3066540062427521, 0.1084846705198288, 0.5283787250518799, -0.0009332948829978704, 0.01567746140062809, 0.37552884221076965, -0.26189443469047546, -0.14305472373962402, 0.09606694430112839, 0.8138669729232788, 0.4434416592121124, 0.07338231056928635, 0.13905133306980133, -0.056675441563129425, -0.33482053875923157, -0.012019958347082138, -1.1755536794662476, -0.3854905664920807, 0.021381724625825882, -0.591402530670166, -0.5487576723098755, 0.15675167739391327, -0.6765807867050171, -0.7149194478988647, -0.240142822265625, 0.468552827835083, -0.3932948708534241, -0.3126474916934967, 0.1216682568192482, -0.09559760242700577, 0.14050188660621643, 0.31682097911834717, -0.8536149859428406, 0.3590811789035797, 0.34160858392715454, 0.897153377532959, -0.4103519022464752, -0.17792195081710815, -0.5285382866859436, 0.16741079092025757, -0.3690081834793091, 0.5734813213348389, -0.47997766733169556, -0.21505537629127502, 0.07763370871543884, -0.12151840329170227, -0.06797196716070175, -0.5897466540336609, 0.3970543444156647, -0.48272839188575745, 0.15900421142578125, 0.10761820524930954, -0.5282617211341858, -0.3272477686405182, 0.44764670729637146, -0.8364460468292236, 0.7277929186820984, 0.1602829396724701, -1.2137786149978638, 0.4422512650489807, -0.49405422806739807, -0.446183979511261, -0.35823845863342285, -0.057769376784563065, -0.9138291478157043, -0.018883464857935905, 0.18365857005119324, 0.8717730045318604, 0.0755629912018776, 0.01898699253797531, -0.4730195701122284, -0.42012152075767517, 0.44471728801727295, -0.389072448015213, 0.8577746748924255, 0.009447657503187656, -0.18401359021663666, 0.06625428795814514, -0.8090912699699402, -0.20421022176742554, -0.10090436041355133, -0.28949788212776184, -0.8094263672828674, -0.16432876884937286, 0.20858776569366455, 0.15526653826236725, -0.22255492210388184, -0.3086695373058319, 0.0661645382642746, -0.21652531623840332, 0.10995788127183914, 0.7193894386291504, 0.06482655555009842, 0.4297069311141968, -0.14085468649864197, 0.1617310494184494, 0.5640469789505005, -0.22092528641223907, -0.3060493767261505, -0.42833220958709717, -0.6956979036331177, -0.3059101104736328, 0.4670121967792511, 0.4851049780845642, -0.7753345966339111, 0.3236600160598755, 0.0916435569524765, -0.326836496591568, -0.5141870379447937, 0.05307740718126297, 0.20516474545001984, 0.540751039981842, 0.7863304018974304, 0.07672616839408875, -0.2876623868942261, -1.1030783653259277, 0.08291256427764893, 0.26086878776550293, -0.05941251665353775, 0.14550365507602692, 0.6053736209869385, -0.5846731662750244, 0.5284845232963562, -0.6448425650596619, -0.7651965618133545, -0.06998966634273529, 0.4477766156196594, 0.3589980900287628, 0.6138656139373779, 0.6010698080062866, -1.0254398584365845, -0.5799391269683838, 0.20170994102954865, -0.6639733910560608, 0.0785902738571167, -0.4568829834461212, 0.08184631168842316, 0.2995661497116089, 0.5399748682975769, -0.3364992141723633, 0.40883126854896545, 0.6291515231132507, -0.1214476227760315, 0.6957629919052124, -0.25227832794189453, 0.21040849387645721, -0.8205650448799133, -0.11869261413812637, 0.4147327244281769, 0.003924787975847721, -0.4369790852069855, 0.01139798853546381, 0.3001343905925751, 0.03535831719636917, -0.3065100610256195, 0.42815130949020386, -0.18372906744480133, 0.29971420764923096, -0.10060721635818481, -0.06445980817079544, 0.15735305845737457, 0.5447545051574707, 0.09848775714635849, 0.6662556529045105, 0.5458365678787231, -0.816453754901886, -0.10452900826931, 0.0335913822054863, -0.05092160403728485, 0.8458390235900879, -0.3244372010231018, -0.3176523447036743, -0.22666949033737183, 0.36733800172805786, -1.0634413957595825, 0.005042931996285915, 0.30403730273246765, -0.24080562591552734, 0.6207749247550964, 0.1097889244556427, -0.5561932325363159, -0.056444406509399414, -0.6323323249816895, 0.42660725116729736, 0.12113852053880692, -0.7525100708007812, 0.49605506658554077, 0.03352254256606102, 0.13992054760456085, -0.8426677584648132, -0.9867818355560303, -0.16561904549598694, -0.5121524930000305, -0.17005474865436554, 0.637546181678772, -0.026271451264619827, 0.020057110115885735, -0.11923018842935562, -0.18180274963378906, -0.10746324062347412, 0.060335807502269745, 0.04455000162124634, -0.19682015478610992, -0.1111559271812439, 0.5299519896507263, 0.2385650873184204, -0.34744343161582947, 0.10916658490896225, -0.07201910018920898, 0.3798648715019226, -0.3172445595264435, -0.17991802096366882, -0.4956696927547455, 0.5076866745948792, 0.09956622123718262, -0.05079413205385208, 0.9999117851257324, 1.0512125492095947, -0.19329914450645447, -0.29565921425819397, -0.3075341582298279, -0.12242252379655838, -0.4740496873855591, 0.5614921450614929, -0.48433542251586914, -0.8530285954475403, 0.6147302985191345, -0.014956708066165447, -0.17177161574363708, 0.7696229219436646, 0.2754782736301422, -0.5135266184806824, 0.8723840117454529, 0.9297298789024353, 0.108492411673069, 0.44949835538864136, -0.25562769174575806, -0.13333851099014282, -0.7388622760772705, -0.33556467294692993, -0.43743863701820374, -0.24574832618236542, -0.9098892211914062, -0.23517243564128876, 0.268336683511734, 0.021372515708208084, -0.4256533682346344, 0.042766276746988297, -0.6145297288894653, 0.368796706199646, 0.5519382357597351, 0.4329490661621094, 0.23212899267673492, -0.049889784306287766, -0.10294442623853683, -0.39994996786117554, -0.5008188486099243, -0.03417585417628288, 1.0372692346572876, 0.36904215812683105, 0.7443198561668396, 0.08225899189710617, 1.2259336709976196, 0.3133569359779358, 0.6342052817344666, -0.7961063981056213, 0.21693558990955353, -0.5417953133583069, -0.1866157054901123, -0.08989731967449188, -0.7310712337493896, -1.071718454360962, 0.5523439645767212, -0.5851143598556519, -0.3487384021282196, 0.22586145997047424, 0.20380841195583344, -0.0475902333855629, 0.3130757212638855, -0.7218284010887146, 1.00968599319458, -0.1990170180797577, -0.4896641671657562, -0.18843430280685425, -0.8584822416305542, 0.4830653667449951, -0.3133901059627533, 0.18756264448165894, 0.2002256214618683, -0.22816643118858337, 0.8930023312568665, 0.03903317078948021, 0.8253924250602722, -0.1622537523508072, -0.11422664672136307, 0.026115788146853447, -0.0420224666595459, 0.2134229689836502, -0.046487972140312195, -0.13970772922039032, -0.034656792879104614, -0.12988948822021484, -0.49385184049606323, -0.5278866291046143, 0.6174009442329407, -0.5044171214103699, -0.1640436351299286, -0.590743899345398, -0.3191554844379425, -0.16826365888118744, 0.33770179748535156, 0.10273268073797226, 0.2592121362686157, -0.0928940698504448, 0.5441415905952454, 0.9480998516082764, -0.5282551050186157, 0.1672445386648178, -0.06489980220794678, -0.31186240911483765, -0.5540015697479248, 1.1815273761749268, 0.0556371808052063, 0.1700184941291809, 0.8237581849098206, 0.516086995601654, -0.48833513259887695, -0.5449765920639038, -0.10121391713619232, 0.24982555210590363, -1.0386366844177246, -0.40880289673805237, -0.5004217624664307, -0.057528551667928696, 0.14388607442378998, -0.3095974028110504, -0.019908800721168518, -0.3027052581310272, -0.6759095191955566, -0.04685337841510773, -0.02488778717815876, 0.5887835621833801, -0.08309537172317505, 0.4463197588920593, -0.5601649284362793, 0.3416750729084015, 0.18476592004299164, 0.550574004650116, 0.06865446269512177, -0.30757707357406616, -0.3330700397491455, -0.18579129874706268, -0.4650925099849701, -0.8691049218177795, 0.2100936472415924, 0.3684763014316559, 0.5343343615531921, 0.5707098841667175, 0.2993066608905792, 0.6394360661506653, -0.2608780264854431, 0.299022912979126, 0.5901681780815125, -0.636630654335022, 0.19365260004997253, -0.13865269720554352, 0.3668922781944275, 0.7274256348609924, 0.7314231991767883, -0.25312334299087524, -0.4591788649559021, -0.4546029269695282, -0.8881415724754333, 0.3337569832801819, 0.20390518009662628, 0.040116894990205765, -0.0035784831270575523, 0.10528545081615448, 0.25549349188804626, 0.17008015513420105, -1.306783676147461, -0.530750572681427, -0.529314398765564, -0.3723372519016266, -0.1071755588054657, -0.17180612683296204, 0.11613332480192184, -0.16798652708530426, 0.5450417995452881, -0.13285987079143524, 0.1516670137643814, 0.05819490924477577, -0.03821485489606857, 0.5592000484466553, 0.42419150471687317, 0.5342216491699219, 0.048784445971250534, -0.5376929044723511, 0.4084826111793518, -0.003053143620491028, -0.23354698717594147, 0.1500295251607895, 0.4066353440284729, 0.10524101555347443, -0.03848669305443764, 0.42817285656929016, 0.3765764534473419, 0.32154110074043274, -0.3802792429924011, 0.5392183065414429, 0.10914801806211472, -0.4682392179965973, 0.0411282442510128, -0.349491149187088, 0.1970834583044052, 0.00018902868032455444, 0.5505379438400269, 0.18642070889472961, 0.4855535626411438, -0.3315286934375763, 0.47097915410995483, 0.3540732264518738, -0.6789644956588745, 0.2018309235572815, 0.4186277687549591, 0.17587731778621674, 0.21887043118476868, 0.7163010239601135, -0.3541754186153412, -0.5340989232063293, 0.5847424864768982, 0.6499654054641724, 0.6069187521934509, -0.13965444266796112, 0.1981513649225235, 0.5657145977020264, 0.24980323016643524, 0.07406152784824371, -0.45995476841926575, -0.19374164938926697, -0.47755253314971924, -0.4439181983470917, -0.3972952663898468, -0.650687038898468, -0.0020202919840812683, -0.8048851490020752, 0.19750583171844482, -0.3327312469482422, -0.09766256809234619, 0.23409684002399445, 0.010539178736507893, -0.5203973054885864, 0.1932423710823059, 0.1643994152545929, 0.6738169193267822, -0.7149325609207153, 0.6659704446792603, 0.3395814597606659, -0.38249602913856506, -0.27175119519233704, 0.042930252850055695, -0.09169437736272812, -0.41499200463294983, 0.8819183707237244, 0.9123885631561279, -0.3798113763332367, -0.14855721592903137, -0.34691792726516724, -0.38742366433143616, 0.7416417002677917, 0.025518663227558136, -0.47696638107299805, 0.29105672240257263, 0.16405779123306274, 0.6363680958747864, -0.39172738790512085, 0.06667572259902954, 0.37490224838256836, 0.4842914640903473, -0.1589355617761612, -0.4169653058052063, -0.02628200501203537, 0.025885503739118576, -0.2641020715236664, 0.5185562372207642, -0.4998284876346588, 0.7257556915283203, -0.2861489951610565, -0.193691685795784, -0.1333574801683426, 0.7622296214103699, 0.3154076933860779, 0.5739926695823669, 0.39906996488571167, 0.3757675290107727, 0.6109893918037415, -0.19065923988819122, 0.9016831517219543, 0.12483497709035873, 0.6149519681930542, 0.9128124117851257, 0.026549082249403, 0.9730331301689148, 0.7296068668365479, -0.23095348477363586, 0.4954398274421692, 0.6871198415756226, -0.0441853404045105, 0.683823823928833, 0.5953129529953003, -0.21025748550891876, -0.15129128098487854, -0.02119949460029602, -0.27827852964401245, 0.16205920279026031, 0.5866420865058899, -0.29086318612098694, -0.38262641429901123, 0.3240964412689209, -0.17784589529037476, 0.23198509216308594, -0.4078729450702667, 0.6239407658576965, 0.20861577987670898, -0.03366854414343834, 0.7449218034744263, -0.12921607494354248, 1.197826862335205, -0.5617144107818604, -0.3048129677772522, -0.09195785969495773, 0.3889820873737335, -0.35798296332359314, -1.1630332469940186, 0.40406689047813416, -0.6207722425460815, -0.1969020813703537, -0.2468603402376175, 0.5060079097747803, -0.6942138075828552, -0.4087110161781311, 0.6674883961677551, 0.11375066637992859, -0.041740600019693375, -0.1994592845439911, -0.8923782706260681, 0.04673777520656586, -0.08327438682317734, -0.24584434926509857, 0.5590561032295227, 0.5229753851890564, 0.19178247451782227, 0.7617020010948181, 0.290530264377594, -0.3365197777748108, -0.2672383785247803, 0.10772739350795746, 0.7181020379066467, -0.7776356935501099, -0.5135175585746765, -0.8107759356498718, 0.48224079608917236, -0.16525797545909882, -0.26399651169776917, 0.48308804631233215, 0.600832462310791, 0.666270911693573, -0.2239815890789032, 0.4874444901943207, 0.2595454454421997, 0.48294076323509216, -0.580875813961029, 0.6915672421455383, -0.8642799854278564, 0.07031399011611938, -0.4764443337917328, -0.7987262010574341, -1.0670742988586426, 0.6521813869476318, 0.08233479410409927, -0.04283944517374039, 0.8514618873596191, 0.4353504776954651, -0.10500036925077438, -0.29665833711624146, 0.36046063899993896, -0.020653389394283295, 0.35766518115997314, 0.7254588603973389, 0.7718051671981812, -0.5940924882888794, 1.0011495351791382, -0.5711085796356201, -0.14527377486228943, -0.2984159588813782, -1.0980573892593384, -1.0214428901672363, -0.7506031394004822, -0.3853876292705536, -0.35623180866241455, 0.04043111205101013, 0.666609525680542, 0.4913635849952698, -0.8269861340522766, -0.051034051924943924, 0.1925157904624939, 0.3147430419921875, -0.47390931844711304, -0.2922547459602356, 0.8726081848144531, -0.3738592863082886, -0.5418230295181274, -0.07787070423364639, 0.2287347912788391, 0.42138299345970154, -0.06613025814294815, -0.1821480542421341, -0.20166082680225372, -0.4109731912612915, 0.9131290316581726, 0.10767191648483276, -0.4660035967826843, -0.15880733728408813, -0.2836421728134155, -0.1779518872499466, 0.3017621636390686, 0.6468242406845093, -0.816043496131897, 0.31517601013183594, 0.03191890940070152, 1.0007487535476685, 0.7284131050109863, -0.07204930484294891, 0.1984979808330536, -0.9925405979156494, 0.11137857288122177, 0.3063682019710541, 0.3221893906593323, 0.5044233798980713, -0.033035073429346085, 0.4849095046520233, 0.05641151964664459, -0.3852843940258026, -0.7707580924034119, 0.2172280251979828, -1.34757399559021, -0.3885349929332733, 0.8326989412307739, 0.04457222670316696, 0.148715078830719, -0.18572719395160675, -0.2940787971019745, -0.010919390246272087, -0.43864190578460693, 0.6390163898468018, 0.7402845025062561, -0.3414781987667084, -0.5235904455184937, -0.3133985102176666, 0.4744001030921936, 0.3829740881919861, -0.7084296345710754, 0.1725844442844391, 0.317920982837677, 0.04986468330025673, 0.448043555021286, 0.3762734532356262, 0.1575905680656433, 0.06076466292142868, 0.09772185981273651, -0.17075160145759583, -0.10637320578098297, -0.37672296166419983, -0.3702835440635681, 0.4619286060333252, -0.17090222239494324, -0.15750756859779358 ]
http://arxiv.org/abs/2404.08382v1
http://arxiv.org/pdf/2404.08382v1
Look at the Text: Instruction-Tuned Language Models are More Robust Multiple Choice Selectors than You Think
2024-04-12T10:36:15
2024-04-12T10:36:15
Xinpeng Wang, Chengzhi Hu, Bolei Ma, Paul Röttger, Barbara Plank
cs.CL
cs.CL, cs.AI
Multiple choice questions (MCQs) are commonly used to evaluate the capabilities of large language models (LLMs). One common way to evaluate the model response is to rank the candidate answers based on the log probability of the first token prediction. An alternative way is to examine the text output. Prior work has shown that first token probabilities lack robustness to changes in MCQ phrasing, and that first token probabilities do not match text answers for instruction-tuned models. Therefore, in this paper, we investigate the robustness of text answers. We show that the text answers are more robust to question perturbations than the first token probabilities, when the first token answers mismatch the text answers. The difference in robustness increases as the mismatch rate becomes greater. As the mismatch reaches over 50\%, the text answer is more robust to option order changes than the debiased first token probabilities using state-of-the-art debiasing methods such as PriDe. Our findings provide further evidence for the benefits of text answer evaluation over first token probability evaluation.
[ -0.23786218464374542, -0.8919522166252136, 0.5451800227165222, -0.11544721573591232, -0.3419831693172455, 0.04649341478943825, -0.027546018362045288, -0.19138015806674957, -0.06474023312330246, 0.3670639097690582, -0.4220443069934845, -0.43520304560661316, -0.6809450387954712, 0.16939322650432587, -0.2814652621746063, 1.0611687898635864, 0.29031577706336975, 0.09020204097032547, -0.4067801535129547, -0.19868236780166626, -0.3399635851383209, -0.8486921191215515, -0.7608001828193665, -0.05114087089896202, 0.5411030650138855, 0.32903775572776794, 1.0206540822982788, 0.6548581123352051, 0.6289064288139343, 0.36712896823883057, -0.26838937401771545, 0.09150835871696472, -0.2745327055454254, 0.27066704630851746, -0.1353594809770584, -0.5381426215171814, -0.4771665930747986, 0.07548237591981888, 0.43664127588272095, 0.243389293551445, 0.1293070912361145, 0.36070001125335693, 0.1579820215702057, 0.3103494346141815, -0.6035621762275696, -0.19529373943805695, -1.1367194652557373, -0.2711690068244934, -0.14420145750045776, -0.4767096936702728, -0.6475784778594971, -0.2315954566001892, -0.1052216961979866, -0.09284660965204239, -0.06875000894069672, 0.0894082635641098, 0.6832671761512756, 0.49924346804618835, -0.4576883912086487, -0.335837721824646, -0.4411419928073883, 0.9525985717773438, -0.713469922542572, 0.18391142785549164, 0.5400983691215515, 0.22752812504768372, -0.09859362989664078, -0.4542114734649658, -0.4896460771560669, -0.31292256712913513, 0.0036158340517431498, 0.11487720161676407, 0.03029879927635193, 0.0952761247754097, 0.08909803628921509, 0.41975781321525574, -0.5265854597091675, 0.37057796120643616, 0.187835231423378, -0.48708343505859375, 0.545211911201477, 0.23519015312194824, 0.21969614923000336, -0.27234724164009094, -0.4954473376274109, -0.45746171474456787, -0.17253707349300385, 0.43311548233032227, 0.6873795986175537, 0.37610864639282227, 0.2762258052825928, 0.8239493370056152, 0.11579641699790955, 0.8719573616981506, 0.1419665664434433, -0.5120407342910767, -0.1458623707294464, -0.6380465626716614, -0.24703332781791687, 0.004991606809198856, 0.6997934579849243, 0.28563717007637024, 0.2961362898349762, 0.01715671643614769, -0.08105544745922089, -0.1742487996816635, 0.3394841253757477, -0.7344895601272583, -0.025305068120360374, 0.4178790748119354, -0.5874609351158142, -0.6069934964179993, 0.1485287845134735, -0.6101418733596802, -0.14780783653259277, 0.0970650166273117, 0.39626994729042053, -0.37142935395240784, -0.02744426392018795, 0.05227254703640938, 0.013440839946269989, 0.2470931112766266, 0.0990433320403099, -1.0916118621826172, 0.10864733159542084, 0.915812611579895, 0.5904210209846497, -0.45059144496917725, -0.2287282645702362, -0.771239161491394, -0.3616788387298584, -0.32210031151771545, 0.7180417776107788, -0.6932022571563721, -0.32149744033813477, -0.21260012686252594, -0.1468472182750702, -0.2779892086982727, -0.44744935631752014, 0.9216628074645996, -0.6454545855522156, 0.18724779784679413, -0.17941009998321533, -0.5362874269485474, 0.2867906391620636, 0.3632412850856781, -0.6301862597465515, 1.0800153017044067, 0.08260281383991241, -1.2203878164291382, 0.5147356390953064, -0.09010631591081619, -0.3071885108947754, -0.35422590374946594, -0.10461311787366867, -0.5427253842353821, 0.0856017917394638, 0.36975669860839844, 0.2590227723121643, 0.16922298073768616, 0.0901334136724472, -0.6246272921562195, -0.4280480444431305, 0.8539363741874695, -1.0697381496429443, 0.8602131009101868, 0.10528895258903503, -0.11754222214221954, -0.0043157367035746574, -0.6969830989837646, 0.5149531364440918, -0.37506014108657837, -0.9402871131896973, -0.3362776041030884, 0.020910514518618584, -0.14982351660728455, 0.28438177704811096, 0.06164751574397087, -0.3118109107017517, 0.04309721663594246, -0.5751373171806335, 0.16146481037139893, 1.1378167867660522, -0.11141732335090637, 0.2867111563682556, -0.5502372980117798, 0.6562055945396423, 0.21111983060836792, 0.14208446443080902, -0.1480761170387268, -0.6981201171875, -0.4037201702594757, -0.24669215083122253, 0.531993567943573, 0.711659848690033, -0.5879451036453247, 0.26885098218917847, -0.22551101446151733, -0.5245198011398315, -0.5957688093185425, 0.03320259600877762, 0.4747706949710846, 0.49572595953941345, 0.2906703054904938, -0.10123856365680695, -0.3631220757961273, -0.8696941137313843, -0.793501079082489, -0.6501083970069885, -0.02583935856819153, 0.29731619358062744, 0.2995562255382538, 0.10839830338954926, 0.7292294502258301, -0.2922340929508209, 0.3884240686893463, -0.0962865948677063, -0.05219568684697151, 0.28200212121009827, 0.4127792716026306, 0.5767993330955505, -0.8521504402160645, -0.42992207407951355, -0.12336135655641556, -0.12967173755168915, 0.07213840633630753, -0.05285247787833214, -0.4126126170158386, 0.35529574751853943, 0.19615954160690308, -0.5995602607727051, 0.3600842356681824, 0.4702865481376648, -0.5012697577476501, 0.6767033934593201, 0.1354115903377533, 0.37745875120162964, -1.1184556484222412, 0.01480129174888134, -0.3354701101779938, -0.28171607851982117, -0.39138808846473694, 0.07684889435768127, -0.1235179603099823, 0.2612140476703644, -0.43927866220474243, 0.5290489792823792, 0.05623342841863632, -0.09837819635868073, -0.046232182532548904, 0.16132058203220367, -0.07934708893299103, 0.1516214907169342, -0.3784024119377136, 1.0801420211791992, 0.35674750804901123, -0.729375958442688, -0.02410101890563965, 0.3798328936100006, -0.3341248035430908, 0.3236069083213806, -0.5117897391319275, 0.27842921018600464, -0.16522619128227234, -0.2308020442724228, -1.3488688468933105, -0.21925151348114014, -0.08984322100877762, -0.7961346507072449, 0.36017897725105286, 0.032629478722810745, -0.3719681203365326, -0.35262683033943176, -0.4970042407512665, 0.16844168305397034, 0.1566128432750702, -0.40373095870018005, 0.30441710352897644, 0.24858121573925018, -0.2274424284696579, -1.0987378358840942, -0.8625905513763428, -0.1386507898569107, -0.1242939680814743, -0.36368873715400696, 0.1744314581155777, -0.5661230087280273, -0.3530290126800537, -0.2280576080083847, -0.5674846172332764, -0.2133268564939499, 0.6037161350250244, -0.07503164559602737, 0.3894842863082886, -0.3409558832645416, 0.21341794729232788, 0.10552050173282623, -0.008085138164460659, -0.09210588783025742, -0.22019505500793457, 0.5216588973999023, -0.009994062595069408, -0.5772324800491333, -0.20088905096054077, 0.2991349697113037, 0.7708230018615723, -0.12286075204610825, 0.8997020125389099, 0.41318628191947937, -0.14008839428424835, 0.10579383373260498, -0.31822171807289124, -0.08840091526508331, -0.49796062707901, 0.47745802998542786, -0.45882007479667664, -1.040482997894287, 0.29690486192703247, 0.508568286895752, 0.24776874482631683, 0.4738057255744934, 0.7734023928642273, -0.037253230810165405, 1.3816238641738892, 0.4605569541454315, 0.07895433157682419, 0.3537086546421051, 0.5098002552986145, 0.2344105988740921, -0.46738335490226746, -0.02166212536394596, -0.9681996703147888, -0.4130885601043701, -0.8480491638183594, -0.22771598398685455, 0.21702808141708374, 0.2597831189632416, -0.3242255449295044, 0.16893360018730164, -0.6195536851882935, 0.4979652464389801, 0.6629502773284912, 0.0921873077750206, 0.3834719955921173, 0.13534387946128845, -0.5290824174880981, -0.16623756289482117, -0.7057456970214844, -0.9651281237602234, 1.2167845964431763, 0.2308916300535202, 0.7383025288581848, 0.16513951122760773, 0.575878918170929, 0.022993523627519608, 0.3421477973461151, -0.7264408469200134, 0.549392580986023, -0.370800644159317, -0.8343015909194946, -0.45972514152526855, -0.3998796343803406, -0.7549661993980408, 0.2364269495010376, -0.4326103925704956, -0.9227818250656128, -0.05350898206233978, 0.20533373951911926, -0.38950151205062866, 0.2597576975822449, -0.5051509737968445, 0.749026894569397, -0.42363569140434265, -0.28909826278686523, 0.39490148425102234, -0.4160124957561493, 0.24684584140777588, -0.08065623790025711, 0.06318726390600204, 0.19291076064109802, -0.13624055683612823, 0.6559807658195496, -0.14270099997520447, 0.5366619229316711, 0.2765183746814728, -0.18870961666107178, 0.37343913316726685, 0.12411165982484818, 0.281356543302536, 0.3117968738079071, -0.6716405749320984, -0.34032365679740906, 0.20825736224651337, -0.376335084438324, -0.5688318610191345, 0.7904635071754456, -0.6734247803688049, -0.8369742035865784, -0.14219175279140472, -0.31650346517562866, -0.24964337050914764, 0.22373183071613312, 0.5349239110946655, 0.5477129220962524, 0.07350228726863861, 0.28805309534072876, 0.6554238200187683, -0.36972832679748535, 0.7023073434829712, 0.1381167322397232, -0.2238723188638687, -0.5209195613861084, 0.3606325089931488, 0.11376930773258209, 0.42501547932624817, 0.5970408916473389, 0.29774925112724304, -0.47635963559150696, -0.451743483543396, -0.48947447538375854, -0.22828136384487152, -0.9722030758857727, -0.32793062925338745, -0.7419050931930542, -0.12921588122844696, -0.3571140766143799, -0.07825947552919388, -0.09422452002763748, -0.5248600244522095, -0.3500917851924896, -0.4573993682861328, 0.03633102774620056, 0.3762321472167969, 0.39474236965179443, 0.011407577432692051, -0.7133897542953491, 0.13785547018051147, 0.5828936696052551, 0.461548388004303, -0.15283642709255219, -0.541747510433197, -0.004291559103876352, 0.07852581143379211, -0.42935502529144287, -1.1104456186294556, -0.06938625127077103, 0.26902902126312256, 0.7191726565361023, 0.33608120679855347, 0.13075193762779236, 0.6388198733329773, -0.2462538480758667, 0.9559931755065918, -0.16709193587303162, -0.7449480891227722, 0.5181759595870972, -0.04848256707191467, 0.4026365876197815, 0.9657000303268433, 0.28561511635780334, 0.13672353327274323, -0.6652741432189941, -0.5712965130805969, -0.5324100852012634, 0.6058523654937744, 0.2100929319858551, 0.4985509216785431, -0.4299105703830719, 0.4262583553791046, 0.2720469534397125, 0.30041810870170593, -0.8396749496459961, -0.40323421359062195, -0.1388363242149353, -0.37959811091423035, -0.09404698759317398, -0.3988268971443176, 0.2273801863193512, -0.13158608973026276, 0.6608029007911682, -0.1743476837873459, 0.24038444459438324, 0.2074768990278244, 0.10339769721031189, -0.033206939697265625, 0.5877505540847778, 0.5974945425987244, 0.4472295343875885, -0.07034723460674286, 0.4001162350177765, 0.1888187676668167, -0.6410816311836243, 0.15787647664546967, -0.16723954677581787, -0.3019563555717468, 0.19609792530536652, 0.5151298642158508, 0.7472798228263855, 0.2214561253786087, -0.6003921031951904, 0.5866895318031311, -0.25680193305015564, -0.03894065320491791, 0.27486440539360046, 0.3780718147754669, -0.12979674339294434, -0.05886538699269295, 0.35294046998023987, 0.337779700756073, 0.03174858167767525, -0.6360031366348267, 0.38002994656562805, 0.6694691181182861, -0.45855894684791565, -0.030379364266991615, 0.9274974465370178, -0.19019512832164764, -0.6383880972862244, 0.370719850063324, -0.061964984983205795, -0.787822961807251, 0.768579363822937, 0.722814679145813, 0.6577689051628113, -0.1974400132894516, 0.3242519795894623, 0.4749051630496979, 0.5025901198387146, 0.006369010079652071, 0.46828827261924744, 0.09190838038921356, -0.5424206852912903, -0.4705237150192261, -0.8781276345252991, -0.27282872796058655, 0.1532890647649765, -0.5659358501434326, 0.37433433532714844, -0.3180835247039795, -0.6134861707687378, -0.16664621233940125, -0.058013953268527985, -0.5511400699615479, 0.35395097732543945, -0.056710612028837204, 0.9728788733482361, -0.6316851377487183, 0.47435513138771057, 0.929709255695343, -0.10697739571332932, -0.8993018865585327, 0.30896511673927307, -0.3797153830528259, -0.6201148629188538, 0.29697877168655396, 0.30362948775291443, -0.1600707769393921, 0.04185131564736366, -0.6841601729393005, -0.8645457625389099, 0.8579027056694031, 0.642124354839325, -0.24511078000068665, 0.251193642616272, 0.1704990714788437, 0.5427950024604797, -0.16507259011268616, 0.5712848901748657, 0.4573717415332794, 0.38347128033638, -0.06504976004362106, -0.8736960291862488, -0.12871482968330383, -0.04893112927675247, -0.06487856805324554, 0.08486143499612808, -0.5088924765586853, 0.9313322901725769, -0.34717026352882385, -0.2781940996646881, 0.2033008635044098, 0.46455612778663635, 0.2988688349723816, 0.28767842054367065, 0.4262370467185974, 0.4310571551322937, 0.8733921647071838, -0.1374891698360443, 1.1887532472610474, -0.3458404242992401, 0.41594356298446655, 1.0660098791122437, -0.022656580433249474, 1.1387841701507568, 0.6060441136360168, -0.2887010872364044, 0.5145048499107361, 0.7479405999183655, 0.3689243793487549, 0.42134034633636475, 0.15112005174160004, -0.014816723763942719, -0.672693133354187, 0.28610455989837646, -0.06174188107252121, 0.727300226688385, -0.1278999298810959, -0.38014453649520874, 0.007119585759937763, -0.17376500368118286, 0.08385879546403885, 0.2943686842918396, -0.314959853887558, 0.7577989101409912, -0.04845781251788139, -1.089624285697937, 0.5330417156219482, 0.005825905594974756, 0.6038628220558167, -0.3144685626029968, 0.18636251986026764, -0.2650471329689026, 0.06613561511039734, -0.1727190911769867, -0.9870216846466064, 0.2391950786113739, 0.15397602319717407, -0.2941531538963318, 0.0650179460644722, 0.8264046311378479, -0.17346231639385223, -0.6390034556388855, -0.06962801516056061, 0.49652087688446045, -0.06001066043972969, 0.22715391218662262, -0.6285169124603271, -0.11049547046422958, -0.05994743853807449, -0.38069361448287964, 0.40303537249565125, 0.2339116632938385, 0.10300622880458832, 0.7589331269264221, 0.5817634463310242, -0.2154902070760727, 0.26725730299949646, -0.3114809989929199, 0.6214582920074463, -0.24041154980659485, -0.42075103521347046, -1.2434579133987427, 0.6420213580131531, -0.09367209672927856, -0.5648719668388367, 0.7308201789855957, 0.3887459933757782, 0.6888857483863831, -0.04494167119264603, 0.6298222541809082, 0.12621812522411346, 0.43461403250694275, -0.6162643432617188, 0.5201643705368042, -0.44756019115448, 0.4264366626739502, -0.37478673458099365, -0.8217918276786804, -0.2519807517528534, 0.4168899953365326, -0.08289220929145813, 0.15588438510894775, 0.651826798915863, 0.6826643347740173, 0.046907689422369, -0.14302922785282135, 0.39943912625312805, 0.00733407074585557, -0.05243436619639397, 0.4167116582393646, 0.6753061413764954, -0.5327482223510742, 0.8104340434074402, 0.09979339689016342, -0.10873787105083466, -0.10293444246053696, -0.9869344234466553, -1.0468690395355225, -0.4152432978153229, -0.19154369831085205, -0.3902844190597534, -0.15495887398719788, 0.7493712902069092, 0.38007888197898865, -0.9532174468040466, 0.25435909628868103, 0.13093723356723785, 0.48066818714141846, -0.2658079266548157, -0.22678597271442413, 0.32995131611824036, -0.32890748977661133, -0.6487234830856323, 0.19586147367954254, 0.2230614423751831, 0.12893462181091309, -0.046002957969903946, 0.12156590074300766, -0.17265138030052185, 0.5150693655014038, 0.4497325122356415, -0.1989840865135193, -0.6083806157112122, -0.6168456673622131, 0.485561728477478, -0.39606785774230957, 0.09898294508457184, 0.5164567232131958, -0.6695240139961243, 0.44679906964302063, 0.3633306622505188, 0.8869627118110657, -0.15565238893032074, 0.37296566367149353, 0.2968469560146332, -0.8709953427314758, -0.08539333939552307, 0.1858970820903778, 0.16696111857891083, 0.25150761008262634, -0.4527754485607147, 0.17051498591899872, -0.26660019159317017, -0.7480260133743286, -0.933943510055542, 0.353656530380249, -0.802914559841156, -0.2264702022075653, 1.1588836908340454, -0.05572345480322838, -0.12597833573818207, -0.034266140311956406, -0.3002707064151764, 0.2532528042793274, 0.01631104201078415, 0.7953172326087952, 1.16526198387146, 0.08086370676755905, -0.09252162277698517, -0.5013117790222168, 0.43247535824775696, 0.5448431968688965, -0.6617595553398132, -0.1390741914510727, 0.09149356186389923, 0.19588999450206757, 0.0735684260725975, 0.6782244443893433, -0.12404122948646545, 0.21080005168914795, -0.057754624634981155, -0.7633404731750488, 0.08256499469280243, -0.172768697142601, -0.35380569100379944, 0.3552580773830414, 0.5232661366462708, -0.18269753456115723 ]
http://arxiv.org/abs/2404.08368v1
http://arxiv.org/pdf/2404.08368v1
ASR advancements for indigenous languages: Quechua, Guarani, Bribri, Kotiria, and Wa'ikhana
2024-04-12T10:12:38
2024-04-12T10:12:38
Monica Romero, Sandra Gomez, Iván G. Torre
cs.CL
cs.CL
Indigenous languages are a fundamental legacy in the development of human communication, embodying the unique identity and culture of local communities of America. The Second AmericasNLP Competition Track 1 of NeurIPS 2022 proposed developing automatic speech recognition (ASR) systems for five indigenous languages: Quechua, Guarani, Bribri, Kotiria, and Wa'ikhana. In this paper, we propose a reliable ASR model for each target language by crawling speech corpora spanning diverse sources and applying data augmentation methods that resulted in the winning approach in this competition. To achieve this, we systematically investigated the impact of different hyperparameters by a Bayesian search on the performance of the language models, specifically focusing on the variants of the Wav2vec2.0 XLS-R model: 300M and 1B parameters. Moreover, we performed a global sensitivity analysis to assess the contribution of various hyperparametric configurations to the performances of our best models. Importantly, our results show that freeze fine-tuning updates and dropout rate are more vital parameters than the total number of epochs of lr. Additionally, we liberate our best models -- with no other ASR model reported until now for two Wa'ikhana and Kotiria -- and the many experiments performed to pave the way to other researchers to continue improving ASR in minority languages. This insight opens up interesting avenues for future work, allowing for the advancement of ASR techniques in the preservation of minority indigenous and acknowledging the complexities involved in this important endeavour.
[ -0.23311559855937958, -0.39260753989219666, 0.15827497839927673, 0.291572630405426, -0.06531094759702682, 0.29163089394569397, -0.40394654870033264, -0.7273226380348206, -0.14162085950374603, 0.4722119867801666, -0.09841903299093246, -0.3602179288864136, -0.6180208921432495, 0.3410521149635315, -0.5231276154518127, 0.5263275504112244, 0.21881332993507385, -0.127464160323143, 0.2047840803861618, -0.3866928219795227, -0.45970943570137024, -0.4775371253490448, -0.7243854999542236, -0.4041684865951538, 0.43013063073158264, 0.30148568749427795, 0.8170337677001953, 0.7831299901008606, 0.5700984597206116, 0.2673071026802063, -0.5064351558685303, -0.06412975490093231, 0.1065765917301178, 0.1360691636800766, -0.12602916359901428, -0.43051186203956604, -0.12726588547229767, -0.2600657343864441, 0.741576075553894, 0.614665687084198, -0.44264712929725647, 0.0904901772737503, -0.11188237369060516, 0.31460511684417725, -0.6926189064979553, 0.17934373021125793, -0.6520389914512634, 0.0240750964730978, -0.41730114817619324, -0.033687617629766464, -0.09469243884086609, -0.6042811274528503, 0.3948294520378113, -0.3572341799736023, 0.2265750914812088, -0.18961162865161896, 0.8227713704109192, 0.3611133098602295, -0.18799316883087158, -0.3270888924598694, -0.8214048147201538, 0.6955401301383972, -1.0733364820480347, 0.6603056192398071, 0.4721732437610626, 0.3127325475215912, 0.023419097065925598, -0.6010317802429199, -0.4917883574962616, -0.13709580898284912, 0.18865297734737396, 0.0006144074141047895, -0.600686252117157, -0.0707794576883316, 0.14912666380405426, 0.28481218218803406, -0.7356738448143005, 0.5441835522651672, -0.6361969113349915, -0.35079264640808105, 0.6431106328964233, 0.11043781787157059, 0.27067163586616516, -0.009160053916275501, -0.11451704800128937, -0.08795713633298874, -0.4689154028892517, 0.154915452003479, 0.36814767122268677, 0.5979240536689758, -0.20632822811603546, 0.4796017110347748, -0.5036047697067261, 0.8148107528686523, -0.18346896767616272, -0.34097597002983093, 0.2851284146308899, -0.16119076311588287, 0.19471465051174164, 0.09424492716789246, 0.8302658796310425, 0.03875800967216492, 0.12569737434387207, -0.3043031692504883, -0.00038191641215234995, 0.3796059489250183, -0.16520890593528748, -0.5128169655799866, -0.25742876529693604, 0.12066078186035156, -0.40566474199295044, 0.0938512459397316, -0.30165860056877136, -0.6815100312232971, -0.13349318504333496, -0.3940047025680542, 0.43659886717796326, -0.41565603017807007, -0.413097083568573, 0.17230939865112305, -0.25206759572029114, 0.32847267389297485, 0.16016411781311035, -0.8370977640151978, 0.46040958166122437, 0.5974782109260559, 0.8376438617706299, -0.24559514224529266, -0.49367040395736694, -0.5065661668777466, 0.03654506430029869, -0.18578588962554932, 0.8127784132957458, -0.9360013008117676, -0.38630861043930054, 0.12624236941337585, -0.2780241370201111, -0.21600574254989624, -0.7350385189056396, 0.7801008820533752, -0.6694869995117188, -0.184906005859375, -0.38573750853538513, -0.15787100791931152, -0.3239564001560211, -0.03341689705848694, -0.49714046716690063, 0.9281467199325562, -0.09760598838329315, -0.4669400751590729, 0.31005316972732544, -0.6481664180755615, -0.48945140838623047, 0.21274277567863464, 0.06601627171039581, -0.3709414303302765, 0.09745053946971893, 0.16654072701931, 0.050789568573236465, -0.4828207194805145, 0.15314829349517822, -0.06914439052343369, -0.4289843738079071, 0.2706042528152466, -0.4844873249530792, 0.7750361561775208, 0.3681737184524536, -0.34444454312324524, -0.08522378653287888, -0.8865358829498291, 0.1944882869720459, -0.13672354817390442, -0.7671965956687927, -0.1682567596435547, 0.05106876790523529, 0.11900003999471664, 0.0797930583357811, 0.06504960358142853, -0.6965060234069824, -0.15313784778118134, -0.3118031322956085, 0.679172933101654, 0.25961846113204956, -0.012077735736966133, 0.21074412763118744, 0.049146804958581924, 0.4245987832546234, -0.07251599431037903, 0.13348819315433502, -0.17264202237129211, -0.6672322750091553, -0.6578817963600159, -0.07320620864629745, 0.6315211057662964, 0.49512478709220886, -0.26778000593185425, 0.23289699852466583, -0.2687240242958069, -0.5650820732116699, -0.6639273762702942, -0.17717264592647552, 0.4844990372657776, 0.5088562369346619, 0.44928956031799316, -0.5290722250938416, -0.6265506148338318, -0.6700191497802734, -0.13101769983768463, -0.39959853887557983, -0.08610577136278152, 0.08009015768766403, 0.17996349930763245, -0.49725714325904846, 0.9164968729019165, -0.244944229722023, -0.1148819774389267, -0.0420403853058815, 0.2816524803638458, 0.14898982644081116, 0.48377862572669983, 0.210031658411026, -0.7700731754302979, -0.4775264859199524, 0.2242152839899063, -0.40788891911506653, -0.1580275297164917, 0.36203616857528687, 0.28329330682754517, 0.2839024066925049, 0.22904284298419952, -0.4788602590560913, 0.5393959879875183, 0.5430495738983154, -0.017397958785295486, 0.4950900971889496, -0.21525131165981293, 0.16051322221755981, -0.4894176423549652, 0.2040666788816452, -0.018661729991436005, 0.26126572489738464, -0.7282387018203735, 0.3375450372695923, 0.19675439596176147, -0.3651697635650635, -0.10733957588672638, 0.3828287720680237, -0.3653436005115509, -0.1232595220208168, -0.42973756790161133, -0.16820105910301208, -0.4648653566837311, 0.2869930863380432, 0.5171326994895935, 0.5832780003547668, 0.6395769715309143, -0.752045214176178, 0.23868755996227264, 0.4203159809112549, -0.15075692534446716, 0.21058408915996552, -0.9384726285934448, 0.3884648382663727, -0.017474379390478134, 0.05264055356383324, -0.7113713026046753, -0.1480177491903305, 0.16546182334423065, -0.7684901356697083, 0.2332805097103119, -0.4866218864917755, -0.5125547051429749, -0.4479314982891083, 0.25904685258865356, 0.31232091784477234, 0.5316223502159119, -0.4887106120586395, 0.5001410841941833, 0.47214236855506897, -0.5256316661834717, -0.5646445155143738, -0.6060915589332581, 0.3744775950908661, -0.416208952665329, -0.44163084030151367, 0.11894284933805466, -0.03629370033740997, -0.20710815489292145, -0.3034660816192627, -0.040087778121232986, -0.1430753469467163, -0.16275432705879211, 0.15683911740779877, 0.06445100903511047, -0.34943482279777527, -0.21875466406345367, 0.13634929060935974, -0.328083872795105, -0.03273136168718338, -0.37393873929977417, 0.7574405670166016, -0.21611252427101135, -0.2596428096294403, -0.5207414031028748, 0.3181610405445099, 0.4148479402065277, -0.8639054298400879, 0.3131799101829529, 0.6991867423057556, -0.5387156009674072, 0.36593949794769287, -0.9764145016670227, 0.08924245089292526, -0.4324395954608917, 0.16127699613571167, -0.4021041989326477, -0.6953302025794983, 0.7621173858642578, 0.1932620406150818, -0.1058727577328682, 0.1764879822731018, 0.42433837056159973, 0.4831976294517517, 0.9227263331413269, 0.5381002426147461, -0.3657313883304596, 0.2361324280500412, -0.23890501260757446, 0.09503652900457382, -0.9914276003837585, -0.3489548861980438, -1.0104153156280518, -0.0014137803809717298, -0.7753767967224121, -0.4472264349460602, 0.42748090624809265, -0.2679794430732727, -0.042638808488845825, 0.6503171324729919, -0.319687157869339, 0.3318924605846405, 0.9007477164268494, -0.0595904104411602, 0.40494516491889954, 0.05441674962639809, 0.056546103209257126, -0.148935467004776, -0.6310286521911621, -0.37534967064857483, 0.9958643317222595, 0.3672381043434143, 0.7128543853759766, 0.15217046439647675, 0.6083882451057434, 0.1732224076986313, -0.1653755009174347, -0.587175190448761, 0.3125697672367096, -0.12278224527835846, -0.5847026109695435, -0.4759490489959717, -0.301093190908432, -1.0124167203903198, 0.20559503138065338, 0.09700779616832733, -0.8978031277656555, 0.6925385594367981, -0.00947487447410822, -0.618613600730896, -0.00663519324734807, -0.3213900327682495, 0.5274088382720947, -0.05746731162071228, -0.2318805456161499, -0.21161936223506927, -1.022607445716858, -0.10607977211475372, 0.09808848053216934, 0.09632578492164612, -0.1328698694705963, -0.09850148111581802, 0.5876711010932922, -0.11415242403745651, 0.4827544093132019, -0.2039242386817932, 0.03002406843006611, 0.4068181812763214, -0.0049487529322505, 0.415134459733963, -0.02284736931324005, -0.5153258442878723, 0.29353031516075134, -0.06735305488109589, -0.3106442093849182, -0.3174593150615692, 0.5064383745193481, -0.6660594940185547, -0.21846497058868408, -0.3721713423728943, -0.5449389815330505, -0.08817432820796967, 0.2027847021818161, 0.31177639961242676, 0.5357894897460938, 0.12376736849546432, 0.23295314610004425, 0.5861896276473999, -0.15850558876991272, 0.5481679439544678, 0.9446244239807129, 0.19064220786094666, -0.5338947176933289, 1.0289417505264282, 0.35606005787849426, 0.13753193616867065, 0.30466148257255554, 0.35014504194259644, -0.525471031665802, -1.1290929317474365, -0.41764968633651733, 0.13025715947151184, -0.4585171937942505, -0.2897355556488037, -0.888294517993927, -0.1666850447654724, -0.5888060927391052, 0.08554720878601074, -0.22990180552005768, -0.45689013600349426, -0.1657518744468689, 0.048298660665750504, 0.1719362884759903, 0.44830358028411865, -0.42650967836380005, 0.34054234623908997, -0.7185465693473816, 0.1966453641653061, 0.35368308424949646, 0.16285085678100586, 0.10862183570861816, -0.7923507690429688, -0.13411755859851837, 0.12320241332054138, -0.18484097719192505, -0.5952354073524475, 0.7787714004516602, 0.5053516030311584, 0.5791085958480835, 0.36251869797706604, 0.010855134576559067, 0.8220507502555847, -0.39221397042274475, 0.48070386052131653, -0.045537449419498444, -0.8003494143486023, 0.7349494695663452, -0.5026598572731018, 0.38186877965927124, 0.5088697075843811, 0.3616340756416321, -0.6392959356307983, -0.4446725845336914, -0.43887096643447876, -0.9288046956062317, 0.5623995661735535, 0.14331449568271637, 0.153116375207901, 0.06398075073957443, 0.3467836380004883, 0.2752709984779358, 0.20602081716060638, -0.436201810836792, -0.0768498107790947, -0.05378441512584686, 0.06836295872926712, 0.08285734057426453, -0.023952575400471687, 0.20794662833213806, -0.24528108537197113, 0.543624222278595, -0.13138878345489502, 0.041554566472768784, 0.18697920441627502, -0.10412769764661789, -0.23369979858398438, 0.1951313465833664, 0.23139484226703644, 0.6128420829772949, -0.13097847998142242, -0.06412824243307114, 0.2744689881801605, -0.5968432426452637, 0.022770697250962257, 0.5423569083213806, -0.5162582397460938, 0.0924067571759224, 0.13860155642032623, 0.8252192735671997, 0.15891143679618835, -0.751860499382019, -0.046724408864974976, -0.015498717315495014, 0.20665699243545532, -0.4129820168018341, 0.08709057420492172, -0.10684750229120255, 0.3238200843334198, 0.7466986775398254, 0.33746588230133057, 0.6528598070144653, -0.7143966555595398, -0.0025308707263320684, 0.24961704015731812, -0.42597496509552, -0.47577136754989624, 0.8087776303291321, 0.07127028703689575, -0.5631665587425232, 0.745361328125, -0.13619185984134674, -0.6579645872116089, 0.5241748094558716, 0.7886399030685425, 0.5689191818237305, -0.5741141438484192, 0.12336693704128265, 0.6101890206336975, 0.2506174147129059, -0.2539183497428894, 0.15948443114757538, -0.17364384233951569, -0.5340352654457092, -0.2301144152879715, -0.7447355389595032, -0.6950287222862244, -0.020315933972597122, -0.9141279458999634, 0.287180632352829, -0.18921153247356415, -0.21741043031215668, 0.10827436298131943, 0.15729868412017822, -0.5657989382743835, 0.4272153973579407, 0.3713749349117279, 0.7639831304550171, -0.8503203988075256, 0.5998817682266235, 0.5491639971733093, -0.3539051115512848, -0.5970122218132019, 0.06800186634063721, -0.025137832388281822, -0.6030139923095703, 0.23233869671821594, -0.05956968665122986, 0.018643757328391075, 0.11923997104167938, -0.2563033699989319, -1.3967963457107544, 0.8896461725234985, 0.26548638939857483, -0.46253687143325806, -0.1518407166004181, 0.25260812044143677, 0.7639703750610352, -0.148101806640625, 0.31760674715042114, 0.9391873478889465, 0.40048131346702576, 0.14550986886024475, -1.2833129167556763, -0.2081453800201416, -0.36387383937835693, 0.2795969247817993, 0.0930778980255127, -0.7980371117591858, 0.5637236833572388, -0.5303912162780762, -0.189993754029274, 0.5473711490631104, 0.7914406061172485, 0.5436466932296753, 0.4787764847278595, 0.09642720222473145, 0.4940013587474823, 0.5947185754776001, -0.15278439223766327, 0.7914627194404602, -0.08755670487880707, -0.08722710609436035, 1.111038327217102, -0.2204761952161789, 1.1199254989624023, 0.15159127116203308, -0.5548916459083557, 0.3548583388328552, 0.5764596462249756, -0.0605504997074604, 0.3323056697845459, 0.0963117852807045, -0.24986103177070618, 0.05533448979258537, -0.3744506537914276, -0.49839770793914795, 0.8029999732971191, 0.4494556486606598, -0.0313139446079731, 0.17538976669311523, 0.014159281738102436, 0.007902424782514572, 0.14289020001888275, -0.184944286942482, 0.5411165952682495, -0.16293303668498993, -0.6038475632667542, 0.5890750885009766, 0.12364400923252106, 0.8524292707443237, -0.6485142111778259, 0.1751682460308075, -0.2236408293247223, -0.01063908077776432, -0.2890467047691345, -0.31999772787094116, 0.2557774782180786, 0.18624627590179443, -0.02456315979361534, 0.47130918502807617, 0.6145886778831482, -0.5012567043304443, -0.49445465207099915, 0.29411110281944275, 0.21545755863189697, 0.20067550241947174, -0.1226402297616005, -0.33049333095550537, 0.5162465572357178, -0.24139747023582458, 0.23712627589702606, 0.14091967046260834, 0.14600326120853424, -0.07024842500686646, 0.8452076315879822, 0.7176355719566345, 0.3355935513973236, 0.4372091591358185, 0.19912534952163696, 0.7223283648490906, -0.47899118065834045, -0.3753611743450165, -0.49600738286972046, 0.4776316285133362, 0.12056824564933777, -0.31028634309768677, 0.8061484098434448, 0.8810644149780273, 0.7871128916740417, 0.03641078248620033, 0.8207933902740479, -0.1301657259464264, 0.8429961800575256, -0.28534552454948425, 0.5596147179603577, -0.04920767620205879, 0.08344576507806778, -0.5218387842178345, -0.8719733953475952, -0.29650965332984924, 0.44096189737319946, -0.28956371545791626, -0.17479144036769867, 0.1739855855703354, 0.6962296962738037, -0.035939380526542664, -0.012754478491842747, 0.13531701266765594, 0.09174584597349167, 0.19106154143810272, 0.207840695977211, 0.8048740029335022, -0.7137172222137451, 0.8106947541236877, -0.3411002457141876, -0.1394987404346466, -0.03220284357666969, -0.4011114239692688, -0.26904797554016113, -0.6279924511909485, -0.6610428094863892, -0.04769998416304588, 0.3618714213371277, 0.7863304615020752, 0.6774842739105225, -1.0279057025909424, -0.4911150336265564, 0.002198926405981183, -0.14663131535053253, -0.3082211911678314, -0.1845303177833557, 0.15715178847312927, -0.10793834924697876, -0.9131626486778259, 0.624097466468811, 0.2890333831310272, 0.08271340280771255, 0.05779711529612541, -0.265394926071167, -0.08278278261423111, -0.08095240592956543, 0.5299116969108582, 0.8911283016204834, -0.817221999168396, -0.14889535307884216, 0.09805316478013992, 0.31046298146247864, 0.09990924596786499, 0.5836426019668579, -0.8261753916740417, 0.5426516532897949, 0.31830400228500366, 0.37988442182540894, 0.5095426440238953, 0.018981873989105225, 0.6703993082046509, -0.2318056970834732, 0.19899918138980865, 0.4902907609939575, 0.16958574950695038, 0.5191458463668823, 0.030036384239792824, 0.6668272614479065, 0.10722179710865021, -0.5770969986915588, -1.1475834846496582, 0.1393980234861374, -0.6384431719779968, 0.3483773171901703, 1.0172092914581299, -0.12941785156726837, 0.22321082651615143, -0.4205402135848999, -0.13198772072792053, 0.32039815187454224, -0.5385271310806274, 0.8055076003074646, 0.24004365503787994, -0.20560571551322937, -0.2721776068210602, -0.45940420031547546, 0.2723233997821808, 0.31292909383773804, -0.4527806341648102, -0.05378188192844391, 0.44584277272224426, 0.29348596930503845, 0.3959681987762451, 0.44675567746162415, -0.3178088366985321, 0.466521680355072, 0.0868692696094513, -0.12871968746185303, 0.27231156826019287, -0.38115525245666504, -0.5747557878494263, -0.008834833279252052, 0.3200952410697937, -0.0768146812915802 ]
http://arxiv.org/abs/2404.08359v1
http://arxiv.org/pdf/2404.08359v1
Improving Health Question Answering with Reliable and Time-Aware Evidence Retrieval
2024-04-12T09:56:12
2024-04-12T09:56:12
Juraj Vladika, Florian Matthes
cs.CL
cs.CL, cs.AI, cs.IR
In today's digital world, seeking answers to health questions on the Internet is a common practice. However, existing question answering (QA) systems often rely on using pre-selected and annotated evidence documents, thus making them inadequate for addressing novel questions. Our study focuses on the open-domain QA setting, where the key challenge is to first uncover relevant evidence in large knowledge bases. By utilizing the common retrieve-then-read QA pipeline and PubMed as a trustworthy collection of medical research documents, we answer health questions from three diverse datasets. We modify different retrieval settings to observe their influence on the QA pipeline's performance, including the number of retrieved documents, sentence selection process, the publication year of articles, and their number of citations. Our results reveal that cutting down on the amount of retrieved documents and favoring more recent and highly cited documents can improve the final macro F1 score up to 10%. We discuss the results, highlight interesting examples, and outline challenges for future research, like managing evidence disagreement and crafting user-friendly explanations.
[ -0.19884338974952698, -0.6983155608177185, 1.0863800048828125, -0.15874533355236053, -0.37028762698173523, -0.0686434730887413, 0.1768142580986023, -0.700238823890686, 0.4325549006462097, 0.26918432116508484, -0.25451552867889404, -0.32137858867645264, -0.7005213499069214, 0.24496790766716003, -0.046261660754680634, 0.8828072547912598, -0.05291648954153061, 0.0834822952747345, -0.4012215733528137, -0.30596503615379333, -0.021782351657748222, -0.3630577623844147, -0.5006009936332703, -0.2251368910074234, 0.7452247738838196, 0.3530270457267761, 0.7617862224578857, 0.5212347507476807, 0.8449759483337402, 0.08018800616264343, -0.11913066357374191, 0.31138503551483154, -0.5803450345993042, 0.31961145997047424, -0.20507964491844177, -0.3357415497303009, -0.3818906843662262, -0.08240673691034317, 0.32763102650642395, 0.6758980751037598, 0.15431661903858185, 0.393524169921875, -0.20336340367794037, 0.7394482493400574, -0.7591028809547424, -0.020064949989318848, -0.42133551836013794, -0.059860482811927795, -0.31499263644218445, -0.6029497385025024, -0.23794415593147278, -0.5985415577888489, 0.5109228491783142, -0.9324708580970764, 0.12255629897117615, -0.0915464460849762, 0.9349433779716492, 0.11780889332294464, -0.6994158625602722, -0.15148305892944336, -0.6812779307365417, 0.34546637535095215, -0.7883504033088684, 0.375447154045105, 0.3746771514415741, 0.2997531294822693, -0.02845199964940548, -0.8975510001182556, -0.2530352771282196, 0.42665424942970276, -0.25160709023475647, 0.17634733021259308, -0.18110291659832, -0.05493636801838875, 0.27986735105514526, 0.34821179509162903, -0.6218963265419006, -0.30372750759124756, -0.4372147023677826, -0.3162192404270172, 0.5127199292182922, -0.022277919575572014, 0.21160313487052917, -0.11404161900281906, -0.013442381285130978, -0.03901074081659317, -0.8790566921234131, 0.20027147233486176, -0.1995549499988556, -0.03207401931285858, 0.42697739601135254, 0.5761123895645142, -0.4433872103691101, 0.5865440368652344, 0.060714296996593475, 0.030064217746257782, 0.3901466727256775, -0.5852132439613342, -0.10085355490446091, -0.15566588938236237, 0.2735859751701355, 0.5802339911460876, -0.05057542398571968, -0.20337483286857605, 0.20643268525600433, -0.3248273730278015, 0.4282245934009552, -1.0602425336837769, -0.15470926463603973, 0.7225295901298523, -0.7103304266929626, 0.1091788187623024, 0.17730242013931274, -0.925205647945404, -0.19546248018741608, 0.009240257553756237, 0.5355349183082581, -0.4209887385368347, -0.19600409269332886, 0.11797081679105759, -0.37804073095321655, 0.21115060150623322, 0.40126627683639526, -0.42573124170303345, 0.24487708508968353, 0.5388941168785095, 0.6859723925590515, 0.057266395539045334, 0.3167535066604614, -0.9330419898033142, 0.048448409885168076, -0.37742847204208374, 0.9129968285560608, -0.4555147886276245, -0.42954111099243164, 0.1434912085533142, 0.30330851674079895, -0.10406968742609024, -0.6857397556304932, 0.5634946227073669, -0.8080140352249146, 0.5684781670570374, -0.5927591323852539, -0.533364474773407, -0.00045765622053295374, 0.1699034422636032, -0.7113309502601624, 0.47265520691871643, -0.009913546964526176, -0.87309730052948, 0.48620280623435974, -0.6748366951942444, -0.5964735746383667, -0.060514017939567566, -0.04974566027522087, -0.41757744550704956, 0.20339100062847137, 0.601257860660553, 0.17303812503814697, -0.13337358832359314, 0.08562766015529633, -0.24507449567317963, -0.29383429884910583, 0.05755047872662544, -0.12090610712766647, 0.7355896830558777, 0.45138707756996155, -0.3301703631877899, -0.08907894045114517, -0.5433352589607239, 0.339949369430542, 0.03338328003883362, -0.31729158759117126, -0.6777528524398804, 0.01699005626142025, -0.25992709398269653, 0.19116802513599396, 0.045885320752859116, -0.8571836352348328, -0.058815449476242065, -0.3819144666194916, 0.4853406548500061, 0.3861786127090454, 0.5485796332359314, 0.10937122255563736, -0.821171760559082, 0.44553449749946594, 0.09222113341093063, 0.2845636010169983, -0.24226395785808563, -0.802120566368103, 0.030244501307606697, -0.11840222030878067, 0.3675844371318817, 0.28509625792503357, -0.7914648652076721, -0.05965946614742279, -0.4328191578388214, -0.20150083303451538, -0.9306772947311401, -0.08895688503980637, 0.22637438774108887, 0.7792744636535645, 0.6548104286193848, -0.41470810770988464, -0.23882752656936646, -0.7210858464241028, -0.4580121636390686, -0.3248002827167511, -0.24416033923625946, 0.5605421662330627, 0.4283641576766968, -0.05530975013971329, 0.9016545414924622, -0.8546218276023865, -0.0445592887699604, 0.2669142782688141, 0.14397533237934113, 0.07274314761161804, 0.22542916238307953, 0.5115770101547241, -1.0220736265182495, -0.21802324056625366, -0.2430163025856018, -0.6300662159919739, -0.16014236211776733, 0.19291849434375763, -0.2534716725349426, -0.2190772294998169, 0.2819840908050537, -0.6367901563644409, 0.28302839398384094, 0.18280863761901855, -0.46649953722953796, 0.15807956457138062, -0.023825228214263916, 0.581278383731842, -0.9485939741134644, 0.46906402707099915, -0.20018379390239716, -0.30083030462265015, -0.46854090690612793, 0.087214894592762, 0.1670246720314026, -0.19068732857704163, -0.39615270495414734, 0.5990892648696899, -0.42280271649360657, 0.2087041735649109, 0.02461693435907364, 0.13158755004405975, 0.44474637508392334, -0.015627505257725716, -0.0727381780743599, 0.7670568823814392, -0.05333481356501579, -0.24862849712371826, -0.28679490089416504, 0.35222098231315613, -0.2930032014846802, 0.4968361556529999, -0.724387526512146, 0.25994834303855896, -0.4065380394458771, 0.23713670670986176, -0.7882376909255981, -0.44005391001701355, 0.12581954896450043, -0.4125056862831116, 0.19280745089054108, 0.07231943309307098, -0.22879743576049805, -0.4144801199436188, -0.3950313627719879, 0.24459964036941528, 0.3368580937385559, -0.26388537883758545, 0.3189353048801422, 0.5815633535385132, -0.43591728806495667, -0.6598650813102722, -0.2577744722366333, -0.22907626628875732, 0.011338616721332073, -0.4376922845840454, 0.32441791892051697, -0.1511041522026062, -0.38988813757896423, 0.2883526682853699, -0.5708176493644714, -0.3983273208141327, 0.12877152860164642, 0.08610169589519501, -0.0822480320930481, -0.2745037376880646, 0.4417225122451782, 0.08037219196557999, 0.3155204653739929, 0.28364819288253784, -0.23427334427833557, 0.03476464003324509, 0.0597415529191494, -0.3268674612045288, -0.12480714172124863, 0.7452400326728821, 0.66571444272995, -0.4406631886959076, 0.6264679431915283, 0.3939319849014282, -0.5516594648361206, 0.2863292098045349, -0.4821418821811676, -0.4174439311027527, -0.3112679719924927, 0.07332299649715424, -0.06567056477069855, -1.0644954442977905, 0.2913961708545685, -0.11145702749490738, 0.47841954231262207, 0.5708649158477783, 0.26879990100860596, -0.3086240589618683, 0.7891430258750916, 0.21290577948093414, 0.12934473156929016, 0.17777039110660553, -0.020450497046113014, 0.19808325171470642, -0.6315942406654358, -0.29925668239593506, -0.5894120335578918, -0.14181196689605713, -0.26343563199043274, -0.6082745790481567, 0.874994695186615, 0.010180369950830936, 0.029557207599282265, -0.07716851681470871, -0.43766629695892334, 0.13031704723834991, 0.549493134021759, 0.7894285321235657, 0.5865357518196106, -0.4449019432067871, -0.14269350469112396, 0.1674092411994934, -0.6563456654548645, -0.34223824739456177, 1.3987175226211548, 0.27409303188323975, 0.4157238006591797, 0.17411236464977264, 0.6527008414268494, 0.11527436971664429, 0.2823752164840698, -0.3338596522808075, 0.1280297189950943, 0.04227646067738533, -1.1879069805145264, -0.3454553484916687, -0.4988168179988861, -1.106582760810852, 0.10095079243183136, -0.3606990873813629, -0.3433442711830139, 0.2608284652233124, 0.18451344966888428, -0.7414160966873169, 0.07179301977157593, -0.6820409297943115, 0.8281785845756531, -0.20870843529701233, -0.3743501901626587, -0.08132641762495041, -0.8737741112709045, 0.06915389001369476, -0.05880965292453766, 0.12192799150943756, -0.0028856731951236725, 0.08792388439178467, 0.6211555600166321, -0.44194653630256653, 0.27563056349754333, -0.15634535253047943, 0.138114333152771, 0.46809864044189453, -0.23195746541023254, 0.30848759412765503, 0.418691486120224, -0.2262510508298874, -0.08062365651130676, 0.6050259470939636, -0.6976624727249146, -0.738358199596405, 0.5168083906173706, -0.6238142848014832, -0.8923599720001221, -0.45448142290115356, -0.25659552216529846, -0.3568083345890045, 0.3954884707927704, 0.1844750940799713, 0.5029292702674866, -0.4206039607524872, 0.4033992290496826, 0.96759033203125, -0.1913851946592331, 0.03380604088306427, 0.5409085154533386, -0.03774859383702278, -0.32180655002593994, 0.41814151406288147, 0.2429036796092987, 0.1895330846309662, 0.7856665849685669, 0.24939341843128204, -0.3176250159740448, -0.59348464012146, -0.3930138945579529, 0.19057181477546692, -0.5729998350143433, -0.27968406677246094, -0.8906161189079285, -0.20278039574623108, -0.818585216999054, 0.15272890031337738, -0.03399078920483589, -0.5172058343887329, -0.3947693109512329, -0.19131408631801605, 0.3397178053855896, 0.37010589241981506, -0.010197131894528866, -0.27256515622138977, -1.021615982055664, 0.5610301494598389, 0.6142569780349731, 0.47826725244522095, -0.26640206575393677, -0.21656829118728638, -0.20752626657485962, -0.04666509851813316, -0.18020673096179962, -1.0098977088928223, 0.06510597467422485, 0.2323346883058548, 0.6790216565132141, 0.4422798454761505, 0.5340901017189026, 0.5227795839309692, -0.4440399706363678, 0.7090316414833069, -0.2108948528766632, -0.3698767423629761, 0.7818973064422607, -0.27111709117889404, 0.6280748844146729, 0.9314174652099609, 0.9068155288696289, -0.2537696063518524, -0.1755698025226593, -0.5484345555305481, -0.83248370885849, 0.03455107659101486, 0.22328072786331177, -0.28099286556243896, -0.25935643911361694, 0.3992023169994354, 0.20253396034240723, 0.2740355134010315, -0.21409280598163605, -0.046878840774297714, -0.3272649347782135, -0.0710812360048294, 0.053609974682331085, -0.1933562159538269, -0.5052191019058228, -0.1864623874425888, 0.5119364857673645, -0.32982614636421204, 0.36653056740760803, 0.8384603261947632, -0.09257075935602188, -0.3334735929965973, 0.668472945690155, 0.37147828936576843, 0.9231322407722473, -0.5975319147109985, 0.19967716932296753, -0.21541358530521393, -0.677944540977478, 0.1327076405286789, 0.2980385422706604, -0.31481438875198364, 0.2122243195772171, 0.365668386220932, 0.20145317912101746, 0.03628464415669441, -0.8530276417732239, 0.5179469585418701, -0.0541900135576725, -0.20022787153720856, 0.09624802321195602, -0.10048084706068039, 0.12632928788661957, 0.1946740746498108, 0.5508244633674622, -0.1587393432855606, 0.38224416971206665, -0.5567943453788757, 0.5213208198547363, 0.3636825978755951, -0.5095017552375793, -0.17441456019878387, 0.8398379683494568, 0.3176777958869934, -0.03422646224498749, 0.4990581274032593, 0.363635778427124, 0.030103720724582672, 0.4170837998390198, 0.3210376799106598, 0.3743159770965576, -0.017371881753206253, 0.42942723631858826, 0.3560529053211212, 0.20326250791549683, -0.13344720005989075, 0.5822970867156982, 0.19217273592948914, -0.3045375347137451, -0.38365939259529114, -0.3774224817752838, -0.5877805352210999, 0.16494795680046082, -0.7629262804985046, -0.30895522236824036, -0.22065487504005432, -0.4777281582355499, 0.1378738284111023, 0.24954189360141754, -0.6897422075271606, 0.3630802631378174, -0.31604960560798645, 1.1533141136169434, -0.6619247198104858, 0.5896403193473816, 0.8539172410964966, -0.5380951166152954, -0.6393241882324219, 0.22969718277454376, -0.07494685053825378, -0.3646538257598877, 0.0927581936120987, -0.013803827576339245, 0.14809095859527588, -0.10560443997383118, -0.47720539569854736, -0.842342734336853, 1.193727970123291, 0.31688404083251953, -0.2697473168373108, -0.3343414068222046, -0.21822910010814667, 0.7394540905952454, -0.20779313147068024, 0.42354318499565125, 0.3657006323337555, 0.4233913719654083, -0.0735735073685646, -0.8602965474128723, 0.07460654526948929, -0.4002241790294647, -0.44482558965682983, 0.03934715688228607, -0.6054102182388306, 0.5450607538223267, -0.47701913118362427, -0.236189603805542, -0.029582921415567398, 0.5148769021034241, 0.22271306812763214, 0.90620356798172, 0.38407817482948303, 0.6245455741882324, 0.9745791554450989, -0.15302014350891113, 0.9634265303611755, -0.13629931211471558, -0.040829531848430634, 1.0482958555221558, -0.3285178244113922, 0.8619888424873352, 0.6486719250679016, -0.07190053910017014, 0.5551917552947998, 0.7222940325737, 0.5676637291908264, 0.7544388771057129, 0.06867853552103043, -0.29322877526283264, -0.2237926721572876, -0.25713083148002625, -0.6041709780693054, 0.08095342665910721, 0.20472882688045502, -0.6066297888755798, -0.2258390635251999, 0.053537290543317795, 0.17612425982952118, 0.0028621270321309566, -0.1728704273700714, 0.7576726078987122, 0.13349783420562744, -0.8797652125358582, 0.38840988278388977, -0.5310076475143433, 0.07082254439592361, -0.4974702298641205, -0.23261108994483948, -0.3334278166294098, -0.200079083442688, -0.14833614230155945, -0.7983995676040649, 0.3141184151172638, -0.08585650473833084, -0.46660569310188293, -0.18221797049045563, 0.7128663659095764, -0.2577105760574341, -0.08049386739730835, 0.14230825006961823, 0.8949980735778809, 0.12672366201877594, -0.13942602276802063, -0.36543285846710205, -0.165265291929245, -0.34461456537246704, -0.36271098256111145, 0.3900670111179352, 0.61586993932724, 0.09278939664363861, 0.47331658005714417, 0.7198927998542786, 0.3393104374408722, -0.040217358618974686, -0.309222549200058, 0.9994819760322571, -0.38259363174438477, -0.2745770215988159, -0.17110204696655273, 0.24843314290046692, -0.3070870041847229, -0.3465643525123596, 0.5421399474143982, 0.4293637275695801, 0.7692973017692566, 0.05112003907561302, 0.5598654747009277, -0.05319027975201607, 1.115067481994629, -0.49431106448173523, 0.87235426902771, -0.7760458588600159, -0.001321678631938994, -0.1819499284029007, -0.4690128564834595, -0.3082032799720764, 0.21557681262493134, -0.22972427308559418, -0.2515932023525238, 0.8914847373962402, 0.4667099714279175, 0.21492862701416016, 0.14219634234905243, 0.02192741632461548, 0.2925119996070862, 0.45178455114364624, 0.653055727481842, 0.2563995122909546, -0.5293850898742676, 0.5262932181358337, -0.13432906568050385, -0.16365578770637512, -0.2647525370121002, -0.8306158781051636, -0.46908673644065857, -0.4547847509384155, -0.280944287776947, -0.540030837059021, 0.6477190256118774, 0.7971140146255493, 0.6680693626403809, -0.8866676092147827, 0.44137653708457947, 0.39509204030036926, 0.2572227418422699, -0.5657450556755066, -0.18113797903060913, 0.39385998249053955, -0.1380695253610611, -0.3205932676792145, 0.4979217052459717, 0.19996967911720276, -0.29649364948272705, 0.3090369701385498, 0.17092080414295197, -0.6484609842300415, 0.06754789501428604, 0.464932382106781, 0.6559210419654846, -0.2569217383861542, -0.4741246700286865, 0.48844513297080994, -0.2717163562774658, 0.36774519085884094, 0.8799270987510681, -0.868065357208252, 0.7474968433380127, 0.6923881769180298, 1.0960290431976318, 0.5010069608688354, 0.4242284595966339, 0.6829487681388855, -0.2268860787153244, -0.6322104930877686, 0.5079972147941589, 0.15622101724147797, 0.11811745911836624, -0.5363277196884155, 0.5785381197929382, 0.3407326638698578, -0.7298303842544556, -0.6121299266815186, -0.16019244492053986, -0.9032167792320251, -0.5509592294692993, 0.8910158276557922, -0.36771446466445923, -0.2337750941514969, -0.5442128777503967, 0.038318000733852386, 0.17617417871952057, -0.3404073417186737, 0.9642353057861328, 0.6173481345176697, -0.26077499985694885, -0.12595050036907196, -0.5894396305084229, 0.5718298554420471, 0.47653326392173767, -1.1211917400360107, -0.07497198134660721, 0.6470667719841003, 0.428626149892807, 0.10853490978479385, 1.202329158782959, -0.4487498998641968, 0.6506892442703247, -0.34981125593185425, -0.4508477747440338, 0.04201970621943474, -0.4769420027732849, -0.16350539028644562, 0.47026553750038147, -0.018826961517333984, -0.12393087893724442 ]
http://arxiv.org/abs/2404.08354v3
http://arxiv.org/pdf/2404.08354v3
Gaining More Insight into Neural Semantic Parsing with Challenging Benchmarks
2024-04-12T09:48:58
2024-05-07T21:15:40
Xiao Zhang, Chunliu Wang, Rik van Noord, Johan Bos
cs.CL
cs.CL
The Parallel Meaning Bank (PMB) serves as a corpus for semantic processing with a focus on semantic parsing and text generation. Currently, we witness an excellent performance of neural parsers and generators on the PMB. This might suggest that such semantic processing tasks have by and large been solved. We argue that this is not the case and that performance scores from the past on the PMB are inflated by non-optimal data splits and test sets that are too easy. In response, we introduce several changes. First, instead of the prior random split, we propose a more systematic splitting approach to improve the reliability of the standard test data. Second, except for the standard test set, we also propose two challenge sets: one with longer texts including discourse structure, and one that addresses compositional generalization. We evaluate five neural models for semantic parsing and meaning-to-text generation. Our results show that model performance declines (in some cases dramatically) on the challenge sets, revealing the limitations of neural models when confronting such challenges.
[ -0.34627097845077515, -0.6110415458679199, 0.6481123566627502, 0.2371816635131836, -0.2902415990829468, -0.14328715205192566, -0.2504866123199463, -0.4764244854450226, -0.0315985307097435, 0.5274937152862549, -0.6415032744407654, -0.3719991445541382, -0.7704471945762634, 0.263415664434433, -0.3089240491390228, 0.9538054466247559, 0.11264891177415848, 0.09617936611175537, -0.5738716721534729, -0.19341392815113068, -0.7405581474304199, -0.42022064328193665, -0.49041658639907837, -0.45153647661209106, 0.5445546507835388, 0.14428794384002686, 0.6616423726081848, 0.8758441805839539, 0.6855772137641907, 0.33444175124168396, -0.3504869043827057, 0.12568043172359467, -0.07211942970752716, 0.19121681153774261, -0.5271276831626892, -0.5029638409614563, -0.3172551691532135, -0.07016724348068237, 0.6383923292160034, 1.1777983903884888, -0.029033930972218513, 0.09202280640602112, -0.1914168894290924, 0.5613846182823181, -0.6238781213760376, 0.2350015491247177, -0.7159383893013, -0.19615058600902557, -0.31875360012054443, 0.0952598825097084, -0.45505574345588684, 0.05633261427283287, 0.20329801738262177, -0.15853947401046753, 0.36650046706199646, 0.22113996744155884, 1.0341646671295166, 0.2552087903022766, -0.43670403957366943, -0.15342803299427032, -0.397891104221344, 0.849622905254364, -0.6247959136962891, 0.2066427618265152, 0.34487229585647583, 0.35359475016593933, -0.03701556473970413, -0.7278623580932617, -0.5291946530342102, -0.303854376077652, 0.03140655532479286, -0.04541805759072304, -0.04820822924375534, 0.036067698150873184, 0.3183291256427765, 0.32619842886924744, -0.3305477797985077, 0.009308699518442154, -0.29559895396232605, -0.16261637210845947, 0.4073587656021118, 0.5287855267524719, 0.13217881321907043, -0.5831863880157471, -0.49053817987442017, -0.40787115693092346, -0.4287542700767517, 0.05951642617583275, 0.534846305847168, 0.3622475266456604, 0.4573466181755066, 0.6247008442878723, -0.2247474193572998, 0.8928186297416687, -0.3809407353401184, 0.07809150964021683, 0.10321150720119476, -0.4429808259010315, -0.19449399411678314, -0.05717863887548447, 0.48305490612983704, 0.3016481399536133, 0.131449356675148, -0.2104688286781311, -0.42471447587013245, 0.2893320322036743, 0.28238096833229065, -0.7147851586341858, -0.3093127906322479, 0.13847693800926208, -0.5758853554725647, -0.05974844470620155, -0.1933562308549881, -0.575239896774292, -0.24871861934661865, -0.61968594789505, 0.1862713247537613, -0.7295788526535034, -0.2824339270591736, 0.33653002977371216, -0.4779629111289978, 0.33498817682266235, 0.17839567363262177, -1.0981603860855103, 0.6307200193405151, 0.9743191599845886, 0.57508784532547, 0.015585029497742653, -0.35990771651268005, -0.18789327144622803, -0.0027118499856442213, -0.10460008680820465, 1.0402370691299438, -0.5536643266677856, -0.09802161157131195, -0.31783294677734375, -0.43841850757598877, -0.5821356177330017, -0.8543923497200012, 0.5398644804954529, -0.49207165837287903, 0.010118131525814533, -0.6390843987464905, -0.8015338182449341, 0.10406351834535599, 0.49867579340934753, -0.619035542011261, 0.6165580749511719, 0.12226191908121109, -0.7196449041366577, 0.14749780297279358, -0.418976366519928, -0.32505396008491516, -0.11907526850700378, -0.17204466462135315, -0.019937530159950256, 0.41989266872406006, 0.12374287843704224, 0.24351879954338074, -0.6522617936134338, 0.4208500385284424, -0.2691737413406372, -0.04438544809818268, 0.2483902871608734, -0.25145095586776733, 0.6529164910316467, 0.10251882672309875, -0.2515202462673187, 0.01018591970205307, -1.049176573753357, 0.16366170346736908, 0.07760577648878098, -0.10789782553911209, -0.28968462347984314, 0.3559543192386627, 0.1912054866552353, 0.3147222697734833, 0.1273975968360901, -0.742567241191864, -0.2558283507823944, -0.4449375569820404, 0.5109505653381348, 1.0452882051467896, -0.35556188225746155, 0.21099458634853363, -0.26221856474876404, 0.08291913568973541, 0.3653384745121002, 0.0038547739386558533, -0.2180388867855072, -0.4564254879951477, -0.8782464861869812, -0.09696560353040695, 0.6739182472229004, 0.4338504374027252, -0.34387528896331787, 0.31506770849227905, -0.33890461921691895, -0.19078338146209717, -0.5877770185470581, 0.1493043601512909, 0.477243572473526, 0.885660707950592, 0.621344268321991, -0.3329140245914459, -0.2899271249771118, -1.2712905406951904, -0.37782904505729675, -0.10460161417722702, -0.07586625218391418, 0.29123684763908386, 0.453528493642807, 0.1257333755493164, 0.9696812033653259, -0.5590714812278748, -0.008617846295237541, -0.24612747132778168, 0.17909659445285797, 0.21873067319393158, 0.4762786030769348, 0.14910708367824554, -0.9130834341049194, 0.033772580325603485, -0.2666337192058563, -0.5886055827140808, -0.07242920249700546, -0.01070625800639391, -0.11360041052103043, 0.053544458001852036, 0.42075279355049133, -0.804402768611908, 0.13854092359542847, 0.3946841061115265, -0.501036524772644, 0.49803176522254944, -0.07531853020191193, -0.3938603699207306, -1.089113473892212, -0.07062774896621704, -0.272996187210083, -0.08149874955415726, -0.3606570363044739, 0.08425746113061905, 0.17889666557312012, -0.037590160965919495, -0.2128719687461853, 0.2401905208826065, -0.22505342960357666, -0.03391953930258751, -0.4805039167404175, 0.09446399658918381, 0.10957340151071548, 0.358254998922348, -0.09631950408220291, 0.1970181167125702, 0.2310095876455307, -0.3011282980442047, 0.5007887482643127, 0.31255555152893066, -0.4816268980503082, 0.5104640126228333, -0.7168819308280945, 0.12287337332963943, -0.32261475920677185, 0.14665476977825165, -1.0404856204986572, -0.16152417659759521, -0.08032411336898804, -0.29054421186447144, 0.16602128744125366, 0.3669687509536743, -0.7310948967933655, -0.1323857307434082, 0.04610316827893257, 0.5371775031089783, 0.4687656760215759, -0.5900385975837708, 0.5345104336738586, -0.03581225499510765, 0.12159226089715958, -0.49577102065086365, -0.7311550378799438, 0.1648993194103241, -0.039847761392593384, -1.1877931356430054, 0.5498263239860535, 0.24364112317562103, -0.42834872007369995, 0.3366329073905945, -0.3106689155101776, -0.07366098463535309, 0.14334316551685333, 0.08667823672294617, 0.22218719124794006, -0.4456663727760315, 0.25794002413749695, -0.11166224628686905, -0.3504028618335724, 0.4019010066986084, -0.33718737959861755, 0.48384907841682434, -0.1431412398815155, -0.1565995216369629, -0.211813285946846, 0.546838104724884, 0.1051926389336586, -0.4832665026187897, 1.0448921918869019, 0.146052286028862, -0.27058854699134827, -0.36010053753852844, -0.534343421459198, -0.014859646558761597, -0.4686858057975769, 0.21786652505397797, -0.5652994513511658, -0.8486914038658142, 0.47531476616859436, -0.12594223022460938, -0.18902656435966492, 0.5046048164367676, 0.46187955141067505, 0.00025093049043789506, 0.8227142691612244, 0.440844863653183, 0.34957122802734375, 0.11904951184988022, 0.05771547183394432, 0.2951955795288086, -0.6702793836593628, -0.18367385864257812, -0.4808589816093445, -0.49531272053718567, -0.5170568823814392, -0.19738030433654785, -0.12243907898664474, 0.02138473466038704, 0.08086295425891876, 0.3563937842845917, -0.2650752067565918, 0.6372180581092834, 0.6532073616981506, 0.1878184974193573, 0.1390042006969452, -0.3924574851989746, -0.38304463028907776, 0.03318587318062782, -0.4395468235015869, -0.2944449484348297, 1.0142862796783447, 0.10159964859485626, 0.23093655705451965, -0.05417078360915184, 0.6552250385284424, -0.25016701221466064, 0.10547666251659393, -0.48301783204078674, 0.6862695217132568, -0.27135032415390015, -0.6358463764190674, -0.0005750952987000346, -0.5068166255950928, -0.767234742641449, 0.536920428276062, 0.1170472800731659, -0.6119977831840515, 0.0737760066986084, -0.13334974646568298, -0.4075391888618469, 0.14151915907859802, -0.9579000473022461, 1.2091513872146606, 0.15018703043460846, -0.2719265818595886, -0.1435295045375824, -0.8378169536590576, 0.5243273973464966, 0.02507835440337658, -0.025336500257253647, -0.4974677860736847, -0.07688944041728973, 0.5975093841552734, -0.7336785793304443, 0.6311502456665039, -0.15903684496879578, 0.31966015696525574, 0.2642422616481781, -0.26191866397857666, 0.294178307056427, -0.04841182380914688, 0.00718270055949688, -0.10215494781732559, -0.002625427907332778, -0.8332741260528564, -0.6446375250816345, 0.5885721445083618, -0.6485735774040222, -0.6678469777107239, -0.3345275819301605, -0.8619309067726135, -0.4389551877975464, 0.10416208207607269, 0.1091855987906456, 0.3467355966567993, 0.056408099830150604, 0.16351373493671417, 0.5240586400032043, -0.06877225637435913, 0.5325928926467896, 0.07069197297096252, 0.11183640360832214, -0.5044124722480774, 0.7358264923095703, 0.12715059518814087, 0.2761959731578827, 0.37955984473228455, 0.30507293343544006, -0.3658902645111084, -0.8212769627571106, -0.23330345749855042, 0.17236532270908356, -0.6759570240974426, -0.0833866149187088, -0.5655427575111389, -0.010841909795999527, -0.584380567073822, 0.21073481440544128, -0.4079256057739258, -0.5811823606491089, -0.056357383728027344, -0.19167762994766235, -0.027756499126553535, 0.34140342473983765, 0.054682206362485886, 0.2664833068847656, -0.7713881134986877, 0.28703728318214417, 0.26768842339515686, 0.19321931898593903, -0.09760567545890808, -0.0937192440032959, -0.14517571032047272, -0.3014679253101349, -0.3163864314556122, -0.8666757941246033, 0.16685564815998077, -0.08980558067560196, 0.25209128856658936, 0.12743383646011353, -0.06161731109023094, 0.7387100458145142, -0.6616598963737488, 0.6397784352302551, 0.07954616844654083, -0.9999324083328247, 0.4026722311973572, -0.370669960975647, 0.4512600302696228, 0.6738281846046448, 0.2512000501155853, -0.4544702470302582, -0.22965605556964874, -0.7275848388671875, -0.9396282434463501, 0.7697588205337524, 0.26922568678855896, 0.3666474223136902, -0.29849985241889954, 0.34570935368537903, 0.06129516288638115, 0.14233186841011047, -0.49677956104278564, -0.0514875166118145, -0.1438300758600235, -0.33337971568107605, -0.15414002537727356, -0.3508167564868927, -0.04171140864491463, -0.2518237829208374, 0.275412917137146, -0.05212274193763733, 0.01621682569384575, 0.09018462151288986, -0.13238035142421722, 0.23907403647899628, 0.22518345713615417, 0.3782094120979309, 0.6378747820854187, -0.15610823035240173, 0.2865946590900421, -0.14348439872264862, -0.11747932434082031, -0.029909852892160416, 0.3607749044895172, -0.050528861582279205, -0.03153710812330246, 0.4056856334209442, 0.9123806953430176, 0.33635270595550537, -0.897367000579834, 0.5393694043159485, -0.031021516770124435, -0.3692922592163086, -0.16407246887683868, 0.009542296640574932, 0.3896379768848419, 0.35988128185272217, -0.07870986312627792, 0.2836596369743347, 0.0030217203311622143, -0.3124958574771881, 0.23528936505317688, 0.11459241062402725, 0.014014532789587975, -0.29558101296424866, 0.499716579914093, -0.054340340197086334, -0.2415035367012024, 1.0799899101257324, -0.14426489174365997, -0.3339773416519165, 0.6974972486495972, 0.6649434566497803, 0.8928737044334412, -0.016591675579547882, 0.060474857687950134, 0.10189501941204071, 0.20237500965595245, -0.20523859560489655, 0.13774588704109192, -0.3829067349433899, -0.8392540216445923, -0.6508978605270386, -0.9768028259277344, -0.45607689023017883, -0.05547213926911354, -0.7754214406013489, 0.18963880836963654, -0.6079393625259399, -0.1898806095123291, 0.37665146589279175, -0.26441946625709534, -0.5199111104011536, 0.28652074933052063, 0.22541262209415436, 0.9133919477462769, -0.5761435627937317, 0.7604426741600037, 0.6087729334831238, -0.2465442568063736, -0.7810218930244446, -0.22809185087680817, -0.29831403493881226, -0.5438225865364075, 0.7709805369377136, 0.5263122916221619, 0.5306896567344666, -0.17379045486450195, -0.1315743625164032, -0.8117669224739075, 0.7185720205307007, 0.5375543832778931, -0.2874707579612732, -0.42274174094200134, 0.5675728917121887, 0.6469473242759705, -0.10177379101514816, 0.29604238271713257, 0.8617117404937744, 0.40757983922958374, 0.05766390636563301, -0.7071530222892761, 0.15480270981788635, -0.31427720189094543, 0.21911607682704926, 0.4479421079158783, -0.7792798280715942, 1.25392746925354, 0.2581968903541565, -0.024279700592160225, 0.14375275373458862, 0.7686870694160461, 0.16140247881412506, 0.2873690128326416, 0.4698467254638672, 1.1116917133331299, 0.6397103071212769, -0.14771540462970734, 1.19559645652771, 0.10034742206335068, 0.1829528957605362, 1.2666339874267578, -0.3119051158428192, 1.0027883052825928, 0.6339030861854553, -0.04740311577916145, 0.5579994916915894, 0.6264370679855347, -0.162650927901268, 0.44201090931892395, 0.5897874236106873, -0.28213706612586975, -0.5183908939361572, -0.14074236154556274, -0.11734174191951752, 0.7512632608413696, 0.10505440086126328, -0.5767613053321838, -0.7888392210006714, -0.00630497420206666, -0.19973042607307434, 0.324297159910202, -0.09661304950714111, 0.5127344131469727, 0.17703859508037567, -0.8047520518302917, 0.3887074291706085, 0.3329727351665497, 0.3106558322906494, -0.5083824396133423, 0.16467924416065216, -0.12261496484279633, 0.5325104594230652, 0.08478259295225143, -0.26287975907325745, 0.7855270504951477, -0.016345661133527756, -0.335721880197525, -0.5380037426948547, 0.7729542851448059, 0.05550985410809517, -0.40151798725128174, 0.46513986587524414, 0.5441219806671143, 0.014393491670489311, -0.2986295521259308, -0.6083335876464844, -0.019937656819820404, -0.2474992424249649, -0.4164258539676666, 0.6877446174621582, 0.4063909351825714, 0.09892547875642776, 0.10453721135854721, 0.6405029296875, -0.22292378544807434, 0.5233139395713806, -0.010854218155145645, 0.802125871181488, -1.0569058656692505, -0.2879222631454468, -1.086419939994812, 0.23106011748313904, -0.16067081689834595, -0.6378068327903748, 0.6611586213111877, 0.4887216091156006, 1.1239478588104248, 0.18773728609085083, 0.2579493522644043, -0.06689237058162689, 0.28141239285469055, -0.5664410591125488, 0.4070487320423126, -0.41795849800109863, 0.1164391040802002, -0.07750418037176132, -0.9165692329406738, -0.3456033170223236, 0.1447942554950714, -0.417959988117218, -0.236040398478508, 1.1466081142425537, 0.5617828369140625, 0.12892292439937592, 0.5089014768600464, 0.3756968080997467, 0.028086865320801735, 0.23780322074890137, 1.0035699605941772, 1.036167860031128, -0.5181280970573425, 0.6640278697013855, -0.5111919045448303, 0.0419231653213501, 0.4420524537563324, -0.6945037245750427, -0.8759953379631042, -0.31637266278266907, -0.11057767271995544, -0.39912039041519165, 0.030821848660707474, 0.7159923315048218, 0.44839024543762207, -0.5738279819488525, -0.25541290640830994, -0.5389376282691956, -0.009031245484948158, -0.2098078578710556, -0.18470574915409088, 0.31343939900398254, -0.9141517877578735, -0.8240829110145569, 0.42705878615379333, 0.12345945090055466, -0.3428358733654022, 0.12821997702121735, 0.3716476559638977, -0.1699668914079666, 0.22019539773464203, 0.36808261275291443, -0.11078224331140518, -0.5165767669677734, -0.28505897521972656, 0.012425119988620281, -0.17328330874443054, 0.05234793573617935, 0.8074323534965515, -0.7070987224578857, 0.1530432552099228, 0.6973808407783508, 1.2720484733581543, 0.5432370901107788, -0.07498743385076523, 0.42180731892585754, -0.5259568691253662, 0.04096927493810654, 0.4009343683719635, 0.4483379125595093, 0.2731930613517761, 0.029649341478943825, 0.26245301961898804, 0.6471084952354431, -0.38062095642089844, -0.8308950066566467, 0.20164431631565094, -0.9815213084220886, -0.5191900730133057, 0.9350908994674683, -0.14994460344314575, -0.9295647740364075, 0.09894932061433792, 0.18047624826431274, 0.03708484396338463, 0.03903231769800186, 0.5763168931007385, 1.1837917566299438, -0.35777437686920166, 0.04367176443338394, -0.3832424283027649, 0.18550872802734375, 1.2116775512695312, -0.6335228681564331, 0.06335828453302383, 0.564922571182251, 0.25381603837013245, 0.33987072110176086, 0.49630481004714966, -0.21513724327087402, 0.2554466724395752, 0.5075703859329224, -0.3009272813796997, -0.12703806161880493, -0.35564810037612915, -0.23624342679977417, 0.710720956325531, -0.1325923353433609, -0.18302161991596222 ]
http://arxiv.org/abs/2404.08345v1
http://arxiv.org/pdf/2404.08345v1
FastSpell: the LangId Magic Spell
2024-04-12T09:21:29
2024-04-12T09:21:29
Marta Bañón, Jaume Zaragoza-Bernabeu, Gema Ramírez-Sánchez, Sergio Ortiz-Rojas
cs.CL
cs.CL
Language identification is a crucial component in the automated production of language resources, particularly in multilingual and big data contexts. However, commonly used language identifiers struggle to differentiate between similar or closely-related languages. This paper introduces FastSpell, a language identifier that combines fastText (a pre-trained language identifier tool) and Hunspell (a spell checker) with the aim of having a refined second-opinion before deciding which language should be assigned to a text. We provide a description of the FastSpell algorithm along with an explanation on how to use and configure it. To that end, we motivate the need of such a tool and present a benchmark including some popular language identifiers evaluated during the development of FastSpell. We show how FastSpell is useful not only to improve identification of similar languages, but also to identify new ones ignored by other tools.
[ -0.3936099708080292, -0.5959807634353638, -0.009473160840570927, 0.2923971712589264, -0.23070263862609863, 0.4765818119049072, -0.3605636656284332, -0.54960697889328, 0.3178474009037018, 0.3522878587245941, -0.29856255650520325, -0.6059972047805786, -0.7460388541221619, 0.3033187985420227, -0.5015257000923157, 1.104243278503418, -0.18144719302654266, -0.422757625579834, 0.04703403264284134, -0.4835812747478485, -0.23075394332408905, -0.38300639390945435, -0.5142903327941895, -0.19620046019554138, 0.9979479312896729, 0.3769165575504303, 1.2173776626586914, 0.9569979906082153, 0.3864842653274536, 0.41696804761886597, 0.04219217225909233, 0.40071287751197815, -0.1904219090938568, 0.04624626412987709, -0.3326270282268524, -0.37672123312950134, -0.13798950612545013, 0.05461039021611214, 0.30585289001464844, 0.5804587602615356, -0.05216725170612335, 0.613258421421051, 0.028644617646932602, 0.5389964580535889, -0.8519872426986694, -0.021582825109362602, -0.5949615836143494, 0.12042100727558136, -1.0927404165267944, -0.14978240430355072, -0.25513073801994324, -0.8129860162734985, 0.1970265954732895, -0.6125398874282837, 0.2408296763896942, 0.4920438230037689, 0.9339079260826111, 0.07178901135921478, -0.44425931572914124, -0.661029040813446, -0.7138825058937073, 0.7104206681251526, -0.4387601613998413, 0.4006909430027008, 0.20834308862686157, 0.5913330316543579, -0.06025895103812218, -0.6982046961784363, -0.8119367957115173, 0.022042984142899513, -0.32715922594070435, -0.4320385158061981, 0.23372313380241394, -0.1153915598988533, 0.28163403272628784, 0.16601358354091644, -0.7945864796638489, 0.24154257774353027, -0.2884019911289215, -0.6735720634460449, 0.44199907779693604, -0.03832591697573662, 0.4826290011405945, 0.1142897829413414, -0.07524514198303223, 0.04475210979580879, -0.584416389465332, -0.2727043330669403, 0.5152367949485779, 0.52375328540802, 0.11403711885213852, 0.40108591318130493, 0.028018653392791748, 0.6952698230743408, -0.025238504633307457, -0.3998374044895172, 0.48146259784698486, 0.12507013976573944, -0.153667151927948, 0.22093188762664795, 0.7100995779037476, 0.09964153915643692, 0.6525341272354126, -0.11800529062747955, -0.029837602749466896, 0.0017879989463835955, -0.17898395657539368, -0.8127992749214172, 0.008069989271461964, -0.0022789486683905125, -0.4759053885936737, -0.05378389358520508, 0.005245111882686615, -0.8611761927604675, -0.6630681157112122, -0.21612921357154846, 0.2981805205345154, -0.18126164376735687, -0.42498600482940674, -0.25347864627838135, -0.09058317542076111, -0.10071814060211182, 0.16743531823158264, -0.8665601015090942, 0.40283194184303284, 0.9153512120246887, 0.5700890421867371, -0.4144066572189331, -0.943607747554779, -0.36868050694465637, -0.09938804805278778, -0.5032034516334534, 0.7366831302642822, -0.37748250365257263, -0.1349027454853058, 0.28318628668785095, 0.24268941581249237, -0.1414688527584076, -0.794439435005188, 0.4863978922367096, -0.7352346777915955, 0.25226694345474243, 0.02001900039613247, -0.48317763209342957, -0.050494495779275894, -0.10150568187236786, -0.9063324928283691, 1.169370412826538, 0.05529697984457016, -0.8521982431411743, 0.6011176705360413, -0.2470778077840805, -0.8577064871788025, 0.44593173265457153, 0.1762043982744217, -0.48507389426231384, 0.24067018926143646, -0.17500434815883636, 0.24725502729415894, -0.440824419260025, 0.04401729255914688, -0.32291582226753235, -0.5888311862945557, 0.27516892552375793, -0.3416837155818939, 0.6745390892028809, 0.4873884916305542, -0.3085778057575226, -0.18640023469924927, -0.8916372060775757, 0.31028658151626587, 0.057876404374837875, -0.059831466525793076, -0.8966014385223389, 0.07712498307228088, 0.14225651323795319, 0.11290772259235382, 0.4638245701789856, -0.3245415687561035, -0.027089262381196022, -0.5218359231948853, -0.10900706052780151, 0.6135878562927246, -0.3342559039592743, 0.27153295278549194, 0.10004980117082596, 0.4312868118286133, -0.2986130118370056, 0.2723275125026703, -0.013767511583864689, -0.1592283397912979, -0.5858165621757507, -0.43460121750831604, 0.5634055733680725, 0.6574708819389343, -0.6983784437179565, 0.2514948546886444, -0.1052839607000351, -0.6780021786689758, -0.7738956212997437, 0.456737220287323, 0.6666488647460938, -0.048489462584257126, 0.09492160379886627, -0.09258457273244858, -0.6355350017547607, -0.8946566581726074, -0.9951152801513672, 0.15424497425556183, 0.22073994576931, 0.12172821909189224, 0.3010038733482361, -0.28242719173431396, 0.7183653712272644, -0.3368239402770996, -0.25408706068992615, -0.13741472363471985, 0.23556125164031982, 0.4936915338039398, 0.014660405926406384, 0.5936623811721802, -0.7517635226249695, -1.0762022733688354, 0.2906073331832886, -0.534873902797699, -0.1889449656009674, 0.2691349983215332, -0.035615406930446625, 0.03251158818602562, 0.21890202164649963, -0.36608579754829407, 0.42072921991348267, 0.656867504119873, -0.4657842814922333, 0.8001714944839478, -0.4981335699558258, 0.42425674200057983, -0.6132388114929199, 0.20009073615074158, -0.043580129742622375, 0.34516647458076477, -0.7718352675437927, 0.20870769023895264, 0.2625879645347595, -0.28123629093170166, -0.7235193252563477, 1.1393531560897827, -0.5476932525634766, -0.009949742816388607, -0.30566999316215515, 0.021642491221427917, -0.23999643325805664, 0.2088261991739273, -0.18914757668972015, 1.0448745489120483, 0.47569355368614197, -0.4550919830799103, 0.3739197850227356, 0.12029732018709183, -0.7535351514816284, 0.6436033844947815, -0.3495076894760132, 0.17918482422828674, -0.07163292169570923, -0.0957728922367096, -0.6481673717498779, -0.049354277551174164, -0.18797963857650757, 0.011437118984758854, -0.029942918568849564, -0.08148988336324692, -0.6640721559524536, -0.9695377945899963, 0.046302180737257004, 0.5126566886901855, 0.4398098289966583, -0.8801177144050598, 0.6065446734428406, 0.3900681436061859, -0.15016049146652222, -0.8275934457778931, -0.3922470808029175, -0.05082248896360397, -0.29134613275527954, -0.21087446808815002, 0.21559801697731018, -0.06250453740358353, -0.4293953478336334, -0.21217471361160278, -0.06132794916629791, -0.7211615443229675, 0.13908647000789642, 0.4584888517856598, 0.02036716602742672, -0.08790502697229385, 0.06386896967887878, 0.18460527062416077, -0.32971611618995667, -0.38220345973968506, -0.10355046391487122, 0.1412532776594162, 0.1392279714345932, -0.4097839891910553, -0.5583128333091736, 0.46780622005462646, 1.0956023931503296, -0.4926229417324066, 0.5502004623413086, 0.5872460007667542, -0.18349160254001617, -0.6614935994148254, -0.6171417832374573, 0.04393872246146202, -0.5201680064201355, 0.1931043118238449, -0.6693728566169739, -0.5826507210731506, 0.43662604689598083, -0.2742227017879486, 0.09511558711528778, 0.276339054107666, 0.6030799746513367, 0.03412716090679169, 0.9509918689727783, 0.5524967312812805, -0.16835440695285797, 0.3581663966178894, 0.38037028908729553, 0.5676838159561157, -0.12348417937755585, 0.0644335001707077, -0.8395279049873352, -0.244135320186615, -0.4355769157409668, -0.14588405191898346, -0.10071691870689392, 0.1308627426624298, 0.02146477811038494, 0.6648234128952026, -0.5469697713851929, 0.6838154792785645, 0.6547009348869324, -0.3246185779571533, -0.09813030809164047, 0.08853431791067123, -0.42579880356788635, -0.3461034297943115, -0.3017973005771637, -0.371076375246048, 0.7493501305580139, 0.012449136935174465, 0.458074688911438, -0.02326587587594986, 0.7564809918403625, 0.6583857536315918, 0.5860525965690613, -0.4785744547843933, 0.7145107984542847, -0.5286858081817627, -0.7369869947433472, -0.11495085805654526, 0.05750340595841408, -1.0030097961425781, 0.5416378378868103, -0.20709732174873352, -0.3918806314468384, -0.027461452409625053, 0.3726780116558075, -0.4221360981464386, -0.03363541513681412, -0.9187813401222229, 1.0795258283615112, -0.4313777983188629, -0.2942715883255005, -0.39722052216529846, -0.21574018895626068, 0.10687144100666046, -0.22718465328216553, 0.7039294838905334, -0.38684552907943726, 0.34651803970336914, 0.8429548144340515, -0.814075231552124, 0.5894017219543457, -0.28275081515312195, -0.03136561065912247, 0.49427634477615356, 0.3365214765071869, 0.6230080723762512, -0.5463362336158752, -0.3156249225139618, 0.30735480785369873, 0.3550223410129547, -0.1678975522518158, -0.742186963558197, 0.7836094498634338, -0.5208185911178589, -0.33280402421951294, -0.3390323221683502, -0.224101722240448, 0.03452116623520851, 0.4768607020378113, -0.0895327776670456, 0.6543015837669373, -0.07371523231267929, -0.19879868626594543, 0.361805260181427, -0.2859726846218109, 0.43997809290885925, 0.8976752161979675, -0.2966121435165405, -0.41476893424987793, 1.219868540763855, 0.1886330246925354, -0.1530780792236328, 0.2802116572856903, 0.45767709612846375, -0.2042238414287567, -0.3276699483394623, -0.21980340778827667, 0.41587111353874207, -0.5713281631469727, 0.09260839223861694, -0.24647536873817444, -0.013984953984618187, -0.24375949800014496, -0.22102339565753937, -0.3142366409301758, -0.07382381707429886, 0.15556980669498444, 0.10806690156459808, 0.20060579478740692, 0.3949781358242035, 0.059663593769073486, 0.1729671210050583, -0.6504313349723816, 0.37329134345054626, 0.5518317818641663, 0.3440444767475128, -0.13205979764461517, -0.07553647458553314, -0.4375852346420288, -0.35283660888671875, 0.47488003969192505, -0.8415687680244446, 0.2930504381656647, 0.35500022768974304, 0.6101707816123962, 0.5379250645637512, 0.06969300657510757, 0.8244836926460266, -0.9700538516044617, 0.47173255681991577, 0.04893138259649277, -0.8585673570632935, 0.3385714292526245, 0.25833022594451904, 0.22182373702526093, 0.6653730273246765, 0.46125707030296326, -0.9197655916213989, -0.4264577627182007, -0.3071218729019165, -0.5877668261528015, 0.11609355360269547, -0.3827023208141327, -0.1446451097726822, -0.4484606683254242, 0.13289932906627655, 0.47199004888534546, 0.368467777967453, -0.290484219789505, -0.33016788959503174, 0.18795061111450195, -0.5161886215209961, -0.07789736241102219, -0.4727320671081543, -0.11565650254487991, -0.06585365533828735, 0.3331068158149719, -0.27409690618515015, -0.05721089988946915, -0.499194860458374, -0.5608499646186829, 0.1721339076757431, 0.3886471092700958, 0.413348913192749, 0.5282353162765503, 0.16647516191005707, 0.40360671281814575, 0.18919780850410461, -0.6634776592254639, 0.029398426413536072, 0.12000557780265808, -0.07622041553258896, 0.24918518960475922, 0.5855096578598022, 0.7145606279373169, 0.3855527639389038, -0.7271782159805298, 0.6738680601119995, 0.21476344764232635, -0.1442313939332962, -0.04378687962889671, -0.022099586203694344, -0.5832295417785645, 0.06596359610557556, 0.3761166036128998, 0.05129478871822357, -0.10572745651006699, -0.31679320335388184, 0.26093733310699463, 0.43107134103775024, -0.3076331317424774, -0.4392866790294647, 0.3492170572280884, 0.5000503659248352, -0.8897461891174316, 0.23960186541080475, -0.19352136552333832, -0.7685329914093018, 0.4650493264198303, 0.3689827620983124, 1.0082697868347168, -0.5384067893028259, 0.1969270557165146, 0.1455693542957306, 0.2705744802951813, -0.027835262939333916, 0.16460777819156647, -0.21107231080532074, -0.6516813039779663, -0.49038931727409363, -0.7618074417114258, -0.20756621658802032, -0.40418753027915955, -0.4479069411754608, 0.2822451889514923, -0.3444983959197998, -0.07354594767093658, 0.116706982254982, 0.3000966012477875, -1.0034916400909424, 0.22657296061515808, 0.12240497022867203, 1.0702768564224243, -1.262848973274231, 1.3507096767425537, 0.23163624107837677, 0.28140968084335327, -0.6027306914329529, -0.16292962431907654, 0.43258756399154663, -0.773950457572937, 1.0414838790893555, 0.0836867168545723, -0.25890007615089417, -0.02283608540892601, 0.004055443219840527, -0.8461377620697021, 0.7471470832824707, -0.16647474467754364, -0.7007756233215332, 0.21600039303302765, 0.08025678992271423, 0.6325507164001465, -0.1109561175107956, 0.556606650352478, 0.7953034043312073, 0.8700037002563477, -0.1731342226266861, -1.3026565313339233, -0.07743804156780243, -0.10046196728944778, -0.010311723686754704, 0.38570570945739746, -0.18294915556907654, 0.632079005241394, -0.3526565134525299, -0.6404469609260559, 0.26322346925735474, 0.6161758899688721, 0.05517546087503433, 0.40019142627716064, 0.8070608973503113, 0.24905063211917877, 1.0453215837478638, -0.11402040719985962, 0.7731739282608032, -0.5500398874282837, 0.20964054763317108, 1.0781067609786987, -0.7654348015785217, 0.8410824537277222, 0.39682257175445557, -0.3000364303588867, 0.6063947081565857, 0.37881994247436523, 0.1204676404595375, 0.728607177734375, 0.31420597434043884, -0.25962501764297485, 0.24652019143104553, 0.03515036776661873, -0.29871195554733276, 0.08865069597959518, 0.3971520662307739, -0.10160145163536072, -0.2783113718032837, 0.43310728669166565, 0.2707989811897278, 0.4156637191772461, -0.12191981822252274, 0.48443952202796936, -0.35578423738479614, -0.8438873887062073, 0.5712292194366455, -0.18208780884742737, 0.7956981062889099, -0.7568924427032471, 0.19929523766040802, -0.21376873552799225, 0.6095811724662781, -0.18410024046897888, -0.639858067035675, 0.3002009987831116, -0.3193614184856415, -0.14770890772342682, -0.31840914487838745, 0.5855384469032288, -0.766007661819458, -0.11496654152870178, 0.3053646981716156, 0.3557898700237274, 0.18922807276248932, 0.19726143777370453, -0.8348589539527893, 0.4421935975551605, -0.30360326170921326, -0.040697820484638214, 0.11147987097501755, 0.5263753533363342, -0.2322159707546234, 0.6482766270637512, 0.5803418159484863, 0.3221339285373688, 0.23153415322303772, 0.29169899225234985, 0.10976709425449371, -0.45506665110588074, -0.5957769155502319, -0.8077904582023621, 0.11729582399129868, -0.16797763109207153, -0.5173202157020569, 1.223438024520874, 0.5080201029777527, 0.35107243061065674, -0.2318093329668045, 0.6492421627044678, -0.1773415505886078, 1.1974800825119019, -0.08017434179782867, 0.7529426217079163, -0.41899538040161133, -0.2785659432411194, -0.27944955229759216, -0.914524257183075, -0.534744381904602, 0.2490396797657013, -0.15700434148311615, -0.4697037935256958, 1.2531678676605225, 1.010993480682373, 0.1572355329990387, -0.07466401159763336, 0.3693835139274597, 0.16155165433883667, 0.0931491032242775, 0.17729227244853973, 0.5514300465583801, -0.198741152882576, 0.4840107560157776, -0.16794972121715546, -0.27821481227874756, -0.3893871009349823, -0.9412248134613037, -1.0208581686019897, -0.680198609828949, -0.49462631344795227, -0.46808063983917236, 0.38660287857055664, 0.9042726159095764, 0.8109773397445679, -1.0016472339630127, -0.41099369525909424, 0.43278124928474426, 0.5184611678123474, -0.9238846302032471, -0.15338653326034546, 0.530735969543457, -0.09122806042432785, -0.8054143190383911, 0.4883691668510437, 0.40165019035339355, -0.04095153883099556, -0.32178357243537903, -0.0963139683008194, 0.03226599842309952, 0.14379450678825378, 0.5706490874290466, 0.9100642204284668, -0.8197525143623352, -0.3080586791038513, -0.3319217562675476, -0.3109000623226166, -0.5711973309516907, 1.0810195207595825, -0.7041776180267334, 0.4784192144870758, 0.36517006158828735, 0.5305601358413696, 0.24188043177127838, -0.4494110643863678, 0.37668779492378235, -0.5174112319946289, 0.6160901784896851, -0.122553750872612, 0.10823863744735718, 0.011080491356551647, 0.0774366557598114, 0.16490811109542847, 0.29433536529541016, -0.42367789149284363, -0.7882845401763916, 0.1081373393535614, -0.24983909726142883, -0.17290110886096954, 0.9465875625610352, -0.0007110285223461688, -0.5571801662445068, -0.2907179892063141, -0.21709378063678741, -0.3934757113456726, 0.0831800326704979, 0.4470173716545105, 0.6303232908248901, 0.5892375707626343, -0.04589339345693588, -0.3492307662963867, 0.8282961845397949, 0.17201754450798035, -0.6805470585823059, 0.08057249337434769, 0.23202453553676605, 0.38968220353126526, 0.2801811397075653, 0.6096210479736328, 0.2327548861503601, 0.1686978042125702, -0.3081768751144409, 0.3071615993976593, 0.11977768689393997, -0.611760139465332, 0.13636797666549683, 0.6675369739532471, 0.026955243200063705, -0.20937326550483704 ]
http://arxiv.org/abs/2404.08335v1
http://arxiv.org/pdf/2404.08335v1
Toward a Theory of Tokenization in LLMs
2024-04-12T09:01:14
2024-04-12T09:01:14
Nived Rajaraman, Jiantao Jiao, Kannan Ramchandran
cs.CL
cs.CL, cs.LG
While there has been a large body of research attempting to circumvent tokenization for language modeling (Clark et al., 2022; Xue et al., 2022), the current consensus is that it is a necessary initial step for designing state-of-the-art performant language models. In this paper, we investigate tokenization from a theoretical point of view by studying the behavior of transformers on simple data generating processes. When trained on data drawn from certain simple $k^{\text{th}}$-order Markov processes for $k > 1$, transformers exhibit a surprising phenomenon - in the absence of tokenization, they empirically fail to learn the right distribution and predict characters according to a unigram model (Makkuva et al., 2024). With the addition of tokenization, however, we empirically observe that transformers break through this barrier and are able to model the probabilities of sequences drawn from the source near-optimally, achieving small cross-entropy loss. With this observation as starting point, we study the end-to-end cross-entropy loss achieved by transformers with and without tokenization. With the appropriate tokenization, we show that even the simplest unigram models (over tokens) learnt by transformers are able to model the probability of sequences drawn from $k^{\text{th}}$-order Markov sources near optimally. Our analysis provides a justification for the use of tokenization in practice through studying the behavior of transformers on Markovian data.
[ -0.22187592089176178, -0.5733508467674255, 0.5504036545753479, -0.1958436518907547, -0.4506065249443054, -0.04373880848288536, -0.23353125154972076, -0.2136390209197998, 0.16280759871006012, 0.33817780017852783, -0.4144989848136902, -0.27320051193237305, -0.689161479473114, -0.12439122051000595, -0.7560235857963562, 1.045271873474121, 0.031086904928088188, 0.19199788570404053, 0.08536896854639053, 0.133781298995018, -0.3314998745918274, -0.818070113658905, -0.5471821427345276, -0.44043758511543274, 0.5962987542152405, 0.19715236127376556, 0.673383891582489, 0.7378300428390503, 0.3662433922290802, 0.26043057441711426, -0.011066928505897522, -0.29356980323791504, -0.4493663012981415, 0.17417725920677185, 0.055516086518764496, -1.0992622375488281, -0.07694441080093384, 0.11141808331012726, 0.6757749319076538, 0.9622930288314819, -0.2247588187456131, 0.1675516813993454, -0.03818690404295921, 0.3495175838470459, -0.19439369440078735, 0.048549819737672806, -0.9681953191757202, 0.24988426268100739, -0.48672252893447876, -0.4820864200592041, -0.6781697869300842, 0.1404137909412384, -0.28362178802490234, -0.2680405378341675, 0.3334755599498749, 0.2758783996105194, 0.5824670195579529, 0.1411123275756836, -0.447051078081131, -0.17861714959144592, -1.0377594232559204, 0.822815477848053, -0.6167794466018677, 0.4623032212257385, 0.2353663593530655, 0.2972213327884674, -0.26125097274780273, -0.8420752286911011, -0.6707652807235718, -0.13272824883460999, -0.09260955452919006, -0.03192324936389923, -0.42115068435668945, 0.11170694977045059, 0.2843606770038605, 0.32841482758522034, -0.1144789457321167, 0.3324487507343292, -0.4472651481628418, -0.17469815909862518, 0.15181049704551697, 0.5373767018318176, 0.23849251866340637, -0.3238235116004944, -0.5530501008033752, 0.018782170489430428, -0.7018902897834778, 0.14891114830970764, 0.5025824904441833, 0.45717573165893555, 0.01881391555070877, 0.9497427344322205, 0.2990441918373108, 0.30371251702308655, 0.059034861624240875, 0.08662493526935577, -0.1838657557964325, -0.37767571210861206, -0.2605290412902832, -0.06184465065598488, 0.6096890568733215, 0.07861419767141342, 0.3909333348274231, -0.5327953696250916, -0.38439470529556274, 0.18259276449680328, 0.38422316312789917, -0.6309922337532043, -0.16452479362487793, 0.17315219342708588, -0.6563156247138977, -0.4978678822517395, 0.19325478374958038, -0.304237961769104, -0.14127898216247559, -0.3584512770175934, 0.33355244994163513, -0.3340959846973419, -0.18109415471553802, -0.052157241851091385, -0.1289922147989273, 0.23959463834762573, -0.0560002401471138, -1.1035481691360474, 0.3735578656196594, 0.7450518012046814, 0.8255387544631958, -0.5201610922813416, -0.41659536957740784, -0.36544233560562134, 0.26118630170822144, -0.370338499546051, 0.7722040414810181, -0.5733484625816345, -0.47007158398628235, -0.04909595102071762, -0.06586448103189468, -0.08257623016834259, -0.3393861651420593, 0.26702970266342163, -0.6370680332183838, 0.01603868044912815, -0.010793570429086685, -0.7048514485359192, 0.11786295473575592, -0.14418376982212067, -0.5206860303878784, 0.8731837272644043, -0.04811201989650726, -0.8783130049705505, 0.6935068964958191, -0.5957093834877014, -0.37105631828308105, -0.20664681494235992, -0.03396740183234215, -0.2306220382452011, 0.672866702079773, -0.1933777630329132, 0.539184033870697, -0.2253943234682083, 0.3922366201877594, -0.1565447747707367, -0.47821447253227234, 0.6747580766677856, -0.7877222895622253, 0.6454586982727051, 0.19898948073387146, -0.33436912298202515, 0.08638685941696167, -0.7674404978752136, -0.13163971900939941, 0.09589014947414398, -0.5434514880180359, -0.23411840200424194, 0.18366660177707672, 0.20574401319026947, 0.0854678824543953, -0.2087765783071518, -0.519467294216156, 0.3017866015434265, -0.495453804731369, 0.3843308985233307, 1.1240488290786743, -0.06753046065568924, 0.8458476662635803, -0.3088746666908264, 0.5213963389396667, 0.4709520637989044, 0.22222673892974854, -0.3610592782497406, -0.4696909487247467, -1.0100566148757935, -0.30428165197372437, 0.4407747685909271, 0.3014502227306366, -0.539006233215332, 0.32439374923706055, -0.18885672092437744, -0.29277169704437256, -0.34789255261421204, -0.13678757846355438, -0.012920728884637356, 0.298256516456604, 0.23680616915225983, -0.43845945596694946, -0.7978304624557495, -0.7556299567222595, -0.3607277274131775, -0.42812198400497437, -0.27478286623954773, -0.08433783799409866, 0.26235851645469666, -0.37209808826446533, 1.1391384601593018, -0.21211251616477966, -0.08514714986085892, -0.3240107595920563, 0.07787206023931503, 0.4866355061531067, 0.5929426550865173, 0.14571787416934967, -0.44628849625587463, -0.07597926259040833, -0.10932176560163498, -0.48409411311149597, 0.03896116837859154, -0.19198837876319885, 0.06159062311053276, 0.4824349284172058, 0.5836021900177002, -0.8108461499214172, 0.6859279870986938, 0.2572452127933502, -0.2786388099193573, 0.40718817710876465, -0.15164202451705933, -0.36278054118156433, -1.2829781770706177, 0.07636115700006485, -0.19800132513046265, -0.25545117259025574, -0.9842312932014465, -0.14910608530044556, -0.3423740863800049, 0.0038993051275610924, -0.48879390954971313, 0.4951671361923218, -0.30908676981925964, -0.2598166763782501, -0.3284185826778412, -0.2374681681394577, -0.37529903650283813, 0.6158695220947266, -0.11776746064424515, 0.5213037133216858, 0.615951657295227, -0.670179009437561, 0.03057294338941574, -0.07235174626111984, -0.32433006167411804, 0.4264191687107086, -0.655156672000885, -0.02960542030632496, -0.29180821776390076, 0.17192934453487396, -1.121293544769287, 0.07125632464885712, 0.41334038972854614, -0.49404218792915344, 0.46640339493751526, -0.366115540266037, -0.696951687335968, -0.04329634830355644, -0.05888370797038078, 0.5768434405326843, 0.8364992141723633, -0.5923961400985718, 0.5653144717216492, 0.47949182987213135, 0.3177810311317444, -0.39209553599357605, -0.7945160865783691, 0.16261176764965057, -0.4366844892501831, -0.4209395945072174, 0.2279493808746338, -0.07670357078313828, -0.2206181138753891, -0.1355167180299759, -0.00785911176353693, 0.1396469920873642, 0.2208852618932724, 0.3576405346393585, 0.2503737807273865, -0.08195658028125763, 0.2087886482477188, -0.2559293210506439, -0.5319988131523132, 0.18277928233146667, -0.5219451189041138, 0.7147843837738037, 0.07398927956819534, -0.6510162353515625, -0.4564793109893799, 0.06885714083909988, 0.4142724275588989, 0.28738510608673096, 0.8691743612289429, 0.7755591869354248, -0.39866116642951965, -0.24689312279224396, -0.34887632727622986, -0.3137281835079193, -0.5108001828193665, 0.2129213809967041, -0.47749078273773193, -0.7697867751121521, 0.7653726935386658, -0.044062290340662, -0.006946469657123089, 0.5167761445045471, 0.8286814093589783, -0.2420329749584198, 0.9876346588134766, 0.7345931529998779, -0.0051384116522967815, 0.5034219622612, -0.38525667786598206, 0.47064560651779175, -0.706917405128479, -0.2963288128376007, -0.3930774927139282, -0.3762354552745819, -0.8856499195098877, -0.6046514511108398, 0.3009020686149597, 0.14996425807476044, -0.058479469269514084, 0.3037854731082916, -0.24573752284049988, 0.5021305084228516, 0.6323531866073608, -0.30863359570503235, 0.3255539536476135, 0.24697598814964294, -0.438612699508667, -0.0409700907766819, -0.94829261302948, -0.5288659334182739, 1.106257677078247, 0.47212857007980347, 1.034870982170105, -0.006436533760279417, 0.8259162902832031, 0.3912036418914795, 0.30156028270721436, -0.8098652362823486, 0.5007545948028564, 0.175508052110672, -0.5725144147872925, -0.47277379035949707, -0.3400038182735443, -1.3056234121322632, 0.20809093117713928, -0.10078972578048706, -0.8078950643539429, 0.2003439962863922, 0.029198652133345604, 0.11033577471971512, 0.7561498284339905, -0.48396986722946167, 0.5968874096870422, 0.016184715554118156, 0.1226460337638855, -0.102235808968544, -0.5795838236808777, 0.45360106229782104, -0.2299339324235916, 0.2308107614517212, -0.019388427957892418, -0.22035802900791168, 0.6878454685211182, -0.6297305226325989, 1.0587762594223022, -0.1934656947851181, -0.05436083301901817, 0.3734787106513977, 0.17352354526519775, 0.6635780334472656, -0.029265450313687325, 0.16270458698272705, 0.3353700041770935, 0.022651175037026405, -0.5324987173080444, -0.5623143911361694, 0.32878583669662476, -0.6813027262687683, -0.4793422222137451, -0.39733266830444336, -0.3772488534450531, 0.015084818936884403, 0.06626800447702408, 0.4581429660320282, 0.3437463343143463, -0.16225729882717133, -0.19962814450263977, 0.291978120803833, -0.01168079860508442, 0.7130889892578125, 0.283525675535202, -0.3045850992202759, -0.2667997181415558, 0.9532353281974792, 0.2064424753189087, 0.26602238416671753, 0.18509846925735474, 0.15394097566604614, -0.2524269223213196, -0.6420549750328064, -0.3556353449821472, 0.16396833956241608, -0.9412457346916199, -0.18183788657188416, -0.4700559675693512, -0.2461114078760147, -0.04053819924592972, 0.020868832245469093, -0.2712273895740509, -0.7117136716842651, -0.5138354897499084, -0.25623729825019836, 0.10190403461456299, 0.8225541710853577, -0.18750905990600586, 0.40296417474746704, -0.8139259219169617, 0.10598539561033249, 0.16362793743610382, 0.37861138582229614, 0.38342198729515076, -0.8151536583900452, -0.44936272501945496, -0.10987970978021622, -0.1386549025774002, -0.6518652439117432, 0.20320749282836914, -0.0999213382601738, 0.6568509340286255, 0.49340444803237915, -0.14132912456989288, 0.6842331290245056, -0.8348831534385681, 0.8120492696762085, 0.35501450300216675, -1.1573258638381958, -0.0005344737437553704, -0.26351451873779297, -0.038904041051864624, 0.31499218940734863, 0.1021561473608017, -0.8679776191711426, -0.4966448247432709, -0.813246488571167, -0.8061179518699646, 0.6665971875190735, 0.39574408531188965, 0.5566715598106384, -0.29572078585624695, 0.23935309052467346, 0.3457503318786621, 0.22369778156280518, -0.7192070484161377, -0.41457751393318176, -0.11385659873485565, -0.1077994853258133, -0.14418166875839233, -0.2582513988018036, 0.26346975564956665, -0.21728673577308655, 0.5757555961608887, -0.05237352102994919, 0.6362063884735107, -0.17882029712200165, -0.2668144106864929, -0.26575037837028503, 0.23296289145946503, 0.6145554780960083, 0.5105327367782593, 0.04283011332154274, 0.49330925941467285, 0.11759154498577118, -0.14518694579601288, 0.3242456912994385, -0.3456032872200012, -0.22827428579330444, 0.17610228061676025, 0.27433764934539795, 0.8327624797821045, 0.2712194621562958, -0.38993826508522034, 0.4916767477989197, 0.018958542495965958, 0.20867659151554108, -0.314435213804245, -0.04354560002684593, 0.024564199149608612, 0.3414863348007202, 0.5655326843261719, 0.26898306608200073, -0.0950518399477005, -0.6730036735534668, 0.44723039865493774, 0.6918333172798157, -0.3784177601337433, -0.76926189661026, 0.8073153495788574, -0.09472282975912094, -0.5490147471427917, 0.665080189704895, 0.004407778847962618, -0.3952968120574951, 0.4969941973686218, 0.6417199969291687, 1.0027199983596802, 0.049765292555093765, 0.10973720997571945, 0.10408918559551239, 0.4481610357761383, -0.10423716902732849, -0.02974110282957554, -0.12100687623023987, -0.7417116761207581, -0.38486382365226746, -0.7604043483734131, -0.20498205721378326, -0.28733596205711365, -0.45580995082855225, 0.3004297912120819, -0.35245952010154724, -0.466230183839798, -0.19131700694561005, -0.4983765184879303, -0.7256531119346619, -0.1270766705274582, 0.22679202258586884, 0.7997322082519531, -0.8782743215560913, 0.8170732259750366, 0.1934879869222641, -0.3298925459384918, -0.5237835049629211, 0.11226896941661835, -0.3561736047267914, -1.1740809679031372, 0.7543359398841858, 0.07447599619626999, 0.2025277316570282, 0.04346603527665138, -0.41735410690307617, -1.010486364364624, 0.9656771421432495, 0.27968883514404297, -0.09818292409181595, -0.13170456886291504, 0.5648316144943237, 0.627888560295105, -0.3590969443321228, 0.16814903914928436, 0.5413774251937866, 0.3986111581325531, 0.05878289043903351, -0.6099302768707275, -0.020751144737005234, -0.07558272778987885, 0.2787238359451294, 0.5080936551094055, -0.40582141280174255, 0.8756150007247925, -0.39493629336357117, -0.60853111743927, 0.16466526687145233, 0.7087054252624512, 0.02136494405567646, 0.2279093861579895, 0.4414440393447876, 0.47734570503234863, 0.5096077919006348, -0.024556390941143036, 1.078311800956726, -0.3157074451446533, 0.44453203678131104, 0.6782517433166504, -0.03399991616606712, 0.7249037027359009, 1.0577242374420166, -0.49232399463653564, 0.40097278356552124, 0.5284519791603088, -0.08290970325469971, 0.4846477508544922, 0.5840538144111633, 0.007879065349698067, -0.18101783096790314, -0.13110405206680298, 0.16266582906246185, 0.3431341350078583, -0.007925903424620628, -0.4761162996292114, -0.07904870808124542, 0.05936696007847786, -0.1750718355178833, -0.33079251646995544, -0.21232756972312927, 0.7487185597419739, 0.2863585352897644, -0.3145498037338257, 0.5359302163124084, 0.28794389963150024, 0.6414682269096375, -0.4033595323562622, 0.2512434422969818, -0.24071891605854034, -0.15748341381549835, -0.09147787094116211, -0.4554428458213806, 0.4140574038028717, 0.07894814014434814, -0.249101459980011, -0.3272388279438019, 0.645967423915863, -0.2970738410949707, -0.7391350865364075, 0.047857992351055145, 0.5954124331474304, 0.4116833209991455, 0.37398460507392883, -0.2689836323261261, -0.08845198899507523, -0.25242534279823303, -0.481845498085022, 0.4869552254676819, 0.355473130941391, 0.04885147511959076, 0.5992688536643982, 0.8330938220024109, 0.1716359257698059, 0.386383980512619, 0.07003432512283325, 0.6183767318725586, -0.7346594333648682, -0.4367823600769043, -1.1988985538482666, 0.7194749116897583, 0.3256034255027771, 0.02429181896150112, 0.5301274657249451, 0.5710223317146301, 0.9187303185462952, -0.09794646501541138, 0.6525375247001648, 0.16560007631778717, 0.1308847963809967, -0.6521269083023071, 0.5052527189254761, -0.30269789695739746, 0.41298907995224, -0.043319642543792725, -1.004150152206421, -0.3558359742164612, 0.30469462275505066, 0.17590399086475372, 0.09367100149393082, 0.7062667012214661, 0.7736994028091431, -0.1727566421031952, -0.18849101662635803, 0.6359124183654785, 0.08073060214519501, 0.26400721073150635, 0.3364843726158142, 1.040052056312561, -0.5131063461303711, 0.5177176594734192, -0.07743656635284424, 0.23288601636886597, -0.07510977238416672, -0.7108566761016846, -1.0887264013290405, -0.7956163883209229, 0.11313587427139282, -0.3093583881855011, -0.2669777274131775, 0.9391286373138428, 0.4214741885662079, -0.6269699931144714, -0.37962862849235535, -0.2891552448272705, 0.1963970959186554, 0.0610908679664135, -0.19606634974479675, 0.24810846149921417, -0.5728826522827148, -0.6611955165863037, 0.26162540912628174, 0.341482937335968, 0.44441279768943787, -0.5279628038406372, -0.17560245096683502, 0.19964390993118286, 0.49802690744400024, 0.4258906841278076, 0.052648186683654785, -0.8430770635604858, -0.33954641222953796, 0.03861894831061363, -0.07698940485715866, 0.37187713384628296, 1.2607289552688599, -0.8451473116874695, 0.1512167900800705, 0.3663167655467987, 0.6135923266410828, 0.5810654759407043, -0.1431632936000824, 0.5597710609436035, -0.8265434503555298, 0.059486597776412964, -0.01791161671280861, 0.46884697675704956, 0.1641990840435028, -0.19159547984600067, 0.43653586506843567, 0.49225249886512756, -0.3311747610569, -1.2349048852920532, 0.42549359798431396, -0.7192025184631348, -0.14674338698387146, 0.9744217395782471, 0.2304692566394806, -0.1958385854959488, 0.026533929631114006, 0.018302740529179573, 0.5338510870933533, -0.1654644012451172, 0.9148234128952026, 0.6782214641571045, -0.13087500631809235, -0.007088662125170231, -0.17300066351890564, 0.43404144048690796, 0.5618540644645691, -0.5350092649459839, 0.19068001210689545, -0.03067382238805294, 0.25234612822532654, 0.045411545783281326, 0.5916606783866882, 0.07092196494340897, 0.012250741012394428, -0.12839801609516144, -0.11960241198539734, 0.032420363277196884, -0.22649551928043365, -0.6099936962127686, 0.10292802006006241, 0.288551390171051, -0.03803477808833122 ]
http://arxiv.org/abs/2404.08313v1
http://arxiv.org/pdf/2404.08313v1
The Integration of Semantic and Structural Knowledge in Knowledge Graph Entity Typing
2024-04-12T08:17:44
2024-04-12T08:17:44
Muzhi Li, Minda Hu, Irwin King, Ho-fung Leung
cs.CL
cs.CL, cs.AI
The Knowledge Graph Entity Typing (KGET) task aims to predict missing type annotations for entities in knowledge graphs. Recent works only utilize the \textit{\textbf{structural knowledge}} in the local neighborhood of entities, disregarding \textit{\textbf{semantic knowledge}} in the textual representations of entities, relations, and types that are also crucial for type inference. Additionally, we observe that the interaction between semantic and structural knowledge can be utilized to address the false-negative problem. In this paper, we propose a novel \textbf{\underline{S}}emantic and \textbf{\underline{S}}tructure-aware KG \textbf{\underline{E}}ntity \textbf{\underline{T}}yping~{(SSET)} framework, which is composed of three modules. First, the \textit{Semantic Knowledge Encoding} module encodes factual knowledge in the KG with a Masked Entity Typing task. Then, the \textit{Structural Knowledge Aggregation} module aggregates knowledge from the multi-hop neighborhood of entities to infer missing types. Finally, the \textit{Unsupervised Type Re-ranking} module utilizes the inference results from the two models above to generate type predictions that are robust to false-negative samples. Extensive experiments show that SSET significantly outperforms existing state-of-the-art methods.
[ -0.30971187353134155, -0.7101030349731445, 0.577314555644989, 0.06214834004640579, -0.21689963340759277, 0.41159406304359436, 0.1411578506231308, -0.46059462428092957, 0.9002088904380798, 0.36665862798690796, -0.16959135234355927, -0.9676812291145325, -0.5634539127349854, -0.027836117893457413, -0.2579954266548157, 0.6758019328117371, -0.26722392439842224, -0.14202819764614105, -0.29207557439804077, -0.126357764005661, -0.38385680317878723, -0.21703650057315826, -0.25447869300842285, -0.22590062022209167, 0.4921891987323761, 0.1968199461698532, 0.5268936157226562, 0.5246504545211792, 0.2159314751625061, 0.20087525248527527, 0.0028576271142810583, 0.13933786749839783, -0.3385491967201233, 0.0738479420542717, -0.25685304403305054, -0.5430610179901123, -0.6423984169960022, -0.05676707625389099, 0.5604091882705688, 0.684904932975769, 0.037153203040361404, 0.06476790457963943, -0.09038317948579788, 0.6112093925476074, -0.46586716175079346, 0.4076966345310211, -0.9183204770088196, 0.33161109685897827, -0.3504687249660492, -0.33771848678588867, -0.5266091823577881, -0.3068898320198059, 0.016117148101329803, -0.7695995569229126, 0.16630730032920837, 0.13043071329593658, 0.846467912197113, 0.4162454307079315, -0.9016116857528687, -0.16622748970985413, -0.3298921585083008, 0.1696266531944275, -0.3415093719959259, 0.7147235870361328, 0.5239541530609131, 0.2474021464586258, -0.16802699863910675, -0.42868736386299133, -0.314897745847702, -0.26735252141952515, -0.21851445734500885, 0.36890870332717896, 0.13133081793785095, 0.35149896144866943, -0.0547337606549263, 0.272002637386322, -0.4444130063056946, 0.14217548072338104, -0.42098042368888855, -0.5816567540168762, 0.22403502464294434, -0.2502399682998657, 0.49896231293678284, -0.5778687596321106, -0.24432286620140076, 0.32614782452583313, -0.9661197066307068, -0.22474317252635956, 0.2834983468055725, 0.4544469118118286, -0.06115826964378357, 1.0529356002807617, -0.35667335987091064, 0.6348884701728821, 0.075861357152462, 0.04883299767971039, 0.4400631785392761, -0.10878749191761017, -0.34664592146873474, 0.24256056547164917, 0.3502240777015686, 0.052089668810367584, 0.04937945678830147, -0.6736152172088623, 0.025824302807450294, 0.5221713781356812, 0.24321667850017548, -0.5610821843147278, -0.24709032475948334, 0.3571103811264038, -0.2988089919090271, -0.4930436909198761, -0.36923277378082275, -0.5549404621124268, -0.3796861469745636, -0.17002375423908234, 0.7950299382209778, -0.6950318813323975, -0.526444137096405, -0.24990110099315643, -0.630904495716095, -0.20649096369743347, 0.16572421789169312, -0.48233023285865784, -0.15488757193088531, 0.4465595781803131, 0.7184338569641113, 0.2522185742855072, 0.005267164204269648, -0.5181823968887329, 0.6525348424911499, -0.2448083460330963, 0.81396484375, -0.7042218446731567, -0.3355291187763214, -0.14026738703250885, -0.3531825840473175, -0.31320032477378845, -0.12512509524822235, 0.4650821089744568, -0.8550435304641724, -0.033160123974084854, -0.25756481289863586, -0.934682309627533, -0.34388646483421326, 0.513358473777771, -0.637140691280365, 1.0166869163513184, 0.511672854423523, -1.0853625535964966, 0.6129793524742126, -0.6752761006355286, -0.6429107785224915, 0.24201790988445282, -0.3287230134010315, -0.38782405853271484, -0.018258634954690933, -0.061921700835227966, 0.4788702428340912, 0.05204392597079277, 0.10502254217863083, -0.9751233458518982, -0.05713622272014618, -0.18620732426643372, 0.3229926526546478, 0.48679545521736145, -0.16735801100730896, -0.24491150677204132, -0.32369714975357056, -1.1633542776107788, 0.21912690997123718, -0.08653664588928223, -0.2599618136882782, -0.7693382501602173, -0.09053284674882889, -0.6797903776168823, 0.2078435868024826, 0.1121017262339592, -0.9140727519989014, 0.1494225412607193, -0.3774876594543457, 0.5516215562820435, 0.7212558388710022, 0.2346833199262619, 0.4262573719024658, 0.0821399837732315, 0.3567134141921997, 0.11022915691137314, -0.20923003554344177, 0.5800818800926208, -0.32224240899086, -0.5765791535377502, -0.45163074135780334, 0.3253307044506073, 0.593061625957489, -1.382616639137268, 0.307466059923172, -0.42949622869491577, -0.8689123392105103, -0.1277269572019577, -0.13412807881832123, 0.5999473333358765, 0.9006721377372742, 0.664113461971283, -0.0400075688958168, -0.48301181197166443, -0.739263653755188, -0.4898543655872345, -0.218777135014534, 0.13173750042915344, 0.43421027064323425, 0.5029999613761902, -0.18213222920894623, 1.0287529230117798, -0.7507414221763611, -0.3314419686794281, -0.08638761937618256, 0.24294140934944153, -0.11386143416166306, 0.519608199596405, 0.48561593890190125, -0.9588119983673096, -0.542120099067688, -0.03683876991271973, -0.8145512342453003, 0.2003447562456131, 0.38789108395576477, -0.3807186186313629, 0.04951215535402298, 0.21536698937416077, -0.7964581847190857, 0.4649428427219391, 0.40809670090675354, -0.5540008544921875, 0.670051097869873, 0.1653178334236145, 0.05097110942006111, -1.2937792539596558, -0.1882445365190506, -0.010742063634097576, -0.09266798198223114, -0.5836887359619141, -0.14032310247421265, 0.23132729530334473, -0.2197025567293167, -0.10194960981607437, 0.4895728826522827, -0.32051095366477966, -0.3589727580547333, 0.270646870136261, 0.35539788007736206, 0.12099505215883255, 0.6866308450698853, 0.1904553920030594, 0.4778105318546295, 0.5480342507362366, -0.7500683665275574, 0.03308134526014328, 0.5363511443138123, -0.002034114906564355, 0.8761022090911865, -0.4180692434310913, 0.036434244364500046, -0.28383105993270874, 0.2355121225118637, -1.068621039390564, -0.301350861787796, 0.20651377737522125, -0.7254688143730164, 0.5527177453041077, -0.7296334505081177, -0.28517821431159973, -0.6194372773170471, -0.2509646713733673, 0.24770982563495636, -0.02423027716577053, -0.25811731815338135, 1.1519279479980469, 0.33344221115112305, 0.13328377902507782, -0.6523080468177795, -0.8526688814163208, -0.08314830809831619, -0.13477309048175812, -0.8462089896202087, 0.44094008207321167, 0.26134344935417175, 0.22419673204421997, 0.5778568983078003, -0.47599053382873535, -0.39515113830566406, 0.22959579527378082, 0.27385643124580383, 0.38945192098617554, -0.45624005794525146, 0.5172637104988098, 0.513642430305481, -0.27652353048324585, -0.29970112442970276, -0.6704084873199463, 0.31619197130203247, 0.06002720817923546, -0.5621834993362427, -0.17354987561702728, -0.17466981709003448, 0.5087934136390686, -0.32163333892822266, 0.6698217391967773, 0.45991250872612, -0.4510374963283539, -0.033600710332393646, -0.48878487944602966, 0.07216411083936691, -0.43873900175094604, 0.651177704334259, -0.6474031805992126, -0.9127758145332336, 0.44911855459213257, 0.04657420143485069, -0.23333580791950226, 0.5968834161758423, 0.08481639623641968, -0.13528762757778168, 0.573849081993103, 0.41689470410346985, 0.17394882440567017, 0.2988317012786865, -0.23256565630435944, 0.44232505559921265, -0.85984206199646, -0.03192718327045441, -0.4261620342731476, -0.09376660734415054, -0.7234216332435608, -0.18312126398086548, 0.5102241635322571, 0.060342829674482346, -0.31949755549430847, 0.8283249139785767, -0.3194423317909241, 0.1943705826997757, 0.42448318004608154, 0.30291756987571716, 0.16949522495269775, 0.01776961423456669, -0.67821204662323, 0.09445323050022125, -0.6574850678443909, -0.0052737887017428875, 1.2166674137115479, 0.028850002214312553, 0.2294924259185791, 0.04348132759332657, 1.039039134979248, 0.6017735004425049, 0.49465546011924744, -0.7349525094032288, 0.5257171392440796, -0.19570164382457733, -0.7685307860374451, -0.45428234338760376, -0.7278544902801514, -0.3730316758155823, 0.2625413239002228, -0.06040708348155022, -0.8411550521850586, 0.26103702187538147, 0.5587003827095032, -0.23928479850292206, 0.5044544339179993, -1.057037591934204, 0.8528909087181091, 0.251312792301178, 0.07215418666601181, -0.2603069245815277, -0.578274667263031, 0.2316540628671646, 0.04710673913359642, 0.03685189411044121, -0.05329841747879982, 0.3179648816585541, 0.6183488368988037, -0.3380708396434784, 1.018818736076355, -0.6079282164573669, -0.018710309639573097, 0.3911602795124054, 0.47600361704826355, 1.0527265071868896, 0.01174559723585844, -0.05777856335043907, 0.03694102540612221, -0.058200523257255554, -0.4407157301902771, -0.7638518810272217, 0.3406218886375427, -0.717215359210968, -0.3833402097225189, 0.1457175314426422, -0.26196709275245667, -0.7248461842536926, 0.4452982544898987, 0.28525832295417786, 0.8715887069702148, 0.007600690703839064, 0.03497806563973427, 0.6035877466201782, 0.0442158468067646, -0.04069066420197487, 0.5644686818122864, 0.17078441381454468, -0.7001675963401794, 1.4677624702453613, 0.695747971534729, 0.37397149205207825, 1.0960381031036377, 0.03060293197631836, -0.4202919900417328, -0.36922743916511536, -0.4704776108264923, 0.34651899337768555, -0.9483938217163086, -0.45909953117370605, -0.9297552108764648, -0.32469552755355835, -0.42751118540763855, -0.3668017089366913, -0.5097671747207642, -0.8728628754615784, -0.024435296654701233, -0.668974757194519, 0.30310457944869995, 0.4220443069934845, 0.06867566704750061, 0.042775169014930725, -0.8278487920761108, 0.22287403047084808, 0.254921019077301, 0.49649444222450256, 0.17050479352474213, -0.15682575106620789, -0.11773097515106201, -0.07696406543254852, -0.06708534806966782, -0.911271870136261, 0.01564597152173519, -0.0788785070180893, 0.581095278263092, 0.3379373848438263, 0.15288959443569183, 0.4758269786834717, -0.15303027629852295, 0.48225751519203186, 0.09478255361318588, -0.7764918208122253, 0.3605571389198303, -0.41932928562164307, -0.3914130628108978, 0.5173985362052917, 0.5006130337715149, -0.7176940441131592, -0.7306601405143738, -0.6676828265190125, -0.5560094118118286, 0.43542495369911194, 0.45885539054870605, -0.41204264760017395, -0.07124315202236176, 0.25860753655433655, 0.01648315228521824, 0.47276821732521057, -0.8621408939361572, -0.27768585085868835, -0.6658634543418884, -0.4441109299659729, 0.4686603248119354, -0.35752472281455994, -0.04042378067970276, 0.0393289178609848, 0.9852727651596069, -0.1088506355881691, 0.5704836249351501, 0.3162842094898224, -0.5034117102622986, 0.14771459996700287, 0.25335821509361267, 0.3866792619228363, 0.40124431252479553, -0.3136206269264221, 0.41592440009117126, 0.1128726527094841, -0.47435030341148376, 0.010507768951356411, 0.2060956358909607, -0.4692747890949249, -0.1846451759338379, 0.3620707094669342, 0.5465362668037415, 0.2740969657897949, -0.0004334842087700963, 0.1770160049200058, 0.39331379532814026, -0.25434839725494385, -0.30917781591415405, -0.14076514542102814, 0.17198409140110016, 0.14195314049720764, 0.18758980929851532, 0.2873898148536682, 0.02338234893977642, 0.020497558638453484, 0.19548101723194122, 0.29384303092956543, -0.6527222990989685, -0.5327734351158142, 0.38743939995765686, 0.42572256922721863, -0.05919112265110016, 0.3584999144077301, -0.6851403117179871, -0.9344677329063416, 0.7378911972045898, 0.5658150315284729, 0.7675964832305908, -0.08055541664361954, 0.5974549055099487, 0.27797335386276245, 0.24222517013549805, 0.43858110904693604, 0.22709991037845612, -0.27176520228385925, -1.1231788396835327, -0.3238706886768341, -0.4985002875328064, 0.0660489872097969, -0.27093857526779175, -0.2918825149536133, 0.2401268184185028, -0.2954880893230438, 0.04221951216459274, -0.03973209485411644, 0.08541107177734375, -0.5330933928489685, 0.24379846453666687, -0.04633534699678421, 1.1026098728179932, -0.986217737197876, 0.7038772702217102, 0.7729198336601257, -0.7396073937416077, -0.9059388637542725, -0.12144133448600769, 0.024569973349571228, -1.2060754299163818, 0.7879571318626404, 0.09623300284147263, -0.2142215222120285, 0.3860614597797394, 0.0004024324589408934, -1.2895334959030151, 1.2003313302993774, 0.14827874302864075, -0.07630852609872818, -0.4081718325614929, 0.19437113404273987, 0.23599161207675934, -0.1904493272304535, 0.1530904620885849, 0.2187298685312271, 0.7054266333580017, 0.20467716455459595, -0.5962384343147278, 0.35860902070999146, -0.029155731201171875, -0.10237306356430054, 0.5878723859786987, -0.8864784836769104, 0.2793375551700592, 0.0499039888381958, -0.2782309353351593, -0.23735910654067993, 0.7830400466918945, 0.03576525300741196, 0.28779858350753784, 0.6136407256126404, 0.9879347681999207, 0.8320614099502563, 0.11516938358545303, 0.7751312851905823, -0.5041282176971436, 0.4420568645000458, 1.10199773311615, -0.18769337236881256, 0.4662744104862213, 0.17453230917453766, -0.17055585980415344, 0.6224474906921387, 0.6334916949272156, -0.008888344280421734, 0.6490112543106079, -0.21261896193027496, -0.013679579831659794, -0.4649474620819092, 0.022471783682703972, -0.5959031581878662, 0.43720924854278564, 0.4476948082447052, -0.30011868476867676, -0.37725332379341125, -0.25130775570869446, 0.16351670026779175, -0.31701597571372986, -0.22449466586112976, 0.2974030077457428, -0.030327431857585907, -0.4037248492240906, 0.22795800864696503, -0.0632760226726532, 0.22276103496551514, -0.6062532067298889, 0.04446740075945854, -0.13089428842067719, -0.22052687406539917, -0.33576130867004395, -0.5384088754653931, 0.371472030878067, -0.6768070459365845, -0.23451727628707886, 0.22021500766277313, 1.107002854347229, -0.4633069932460785, -0.29913923144340515, 0.3125359117984772, 0.33357030153274536, -0.18923766911029816, -0.19189395010471344, -0.2578839063644409, -0.5773391723632812, -0.10733368992805481, -0.14551572501659393, 0.06144952028989792, 0.7449613213539124, -0.09792102873325348, 0.6832745671272278, 0.3448433578014374, -0.0753764808177948, 0.02972416952252388, 0.07653196901082993, 0.9817417860031128, -0.4439934492111206, -0.7921015620231628, -0.5143964886665344, 0.40527865290641785, -0.279776930809021, -0.09345307946205139, 0.8218553066253662, 0.5689328908920288, 0.5229684114456177, -0.07133326679468155, 0.8466360569000244, -0.5279225707054138, 0.5752189755439758, -0.5406575798988342, 0.6679449677467346, -0.5065818428993225, -0.25157392024993896, -0.5713706612586975, -0.64986252784729, -0.15740372240543365, 0.05677497386932373, -0.6835724115371704, -0.0941924899816513, 0.8915388584136963, 0.7979043126106262, -0.08604836463928223, 0.09568068385124207, 0.23196731507778168, 0.6379439234733582, 0.2560920715332031, 0.4444296658039093, 0.5471411347389221, -0.21243904531002045, 0.6596167683601379, -0.06029374524950981, -0.09302935749292374, -0.35906314849853516, -0.840172290802002, -0.8823962807655334, -0.6022360324859619, -0.2917417287826538, -0.562877893447876, -0.07952334731817245, 0.8358076214790344, 0.600265622138977, -0.5780108571052551, 0.5637489557266235, -0.39882805943489075, 0.5715472102165222, -0.03838372975587845, -0.28808528184890747, 0.655436098575592, -0.20159222185611725, 0.12818753719329834, 0.3898193836212158, 0.4575960636138916, 0.19342827796936035, 0.0024617291055619717, 0.12875962257385254, -0.07652521133422852, -0.07623699307441711, 0.6841151118278503, 0.26197350025177, -0.3589603006839752, -0.700212299823761, -0.04431594908237457, 0.1347765326499939, 0.11668024212121964, 0.8085627555847168, -0.5663332343101501, 0.2758691906929016, 0.487109512090683, 0.806551992893219, 0.5867143273353577, -0.17533622682094574, 0.4948346018791199, -1.0207288265228271, 0.03120795451104641, 0.23799371719360352, 0.54377281665802, 0.2066141963005066, -0.7353301048278809, 0.5758900046348572, 0.9742074608802795, -0.034571751952171326, -0.6513505578041077, 0.5473679304122925, -0.7615137100219727, -0.04564405232667923, 1.0125031471252441, -0.19697333872318268, -0.32735079526901245, -0.296865850687027, 0.24921751022338867, 0.4628032147884369, -0.4152139723300934, 0.8871654868125916, 0.666999340057373, -0.0004479945346247405, 0.4126574397087097, -0.03177120164036751, 0.3358913064002991, 0.18857823312282562, -0.6428428292274475, -0.19506233930587769, 0.3702267110347748, 0.5057994723320007, 0.3566051423549652, 0.6715016961097717, 0.008148539811372757, 0.13939619064331055, 0.25370296835899353, 0.15614983439445496, -0.4055050313472748, -0.39327239990234375, 0.6651520729064941, 0.4057878851890564, -0.1539730429649353, -0.14825521409511566 ]
http://arxiv.org/abs/2404.08309v1
http://arxiv.org/pdf/2404.08309v1
Subtoxic Questions: Dive Into Attitude Change of LLM's Response in Jailbreak Attempts
2024-04-12T08:08:44
2024-04-12T08:08:44
Tianyu Zhang, Zixuan Zhao, Jiaqi Huang, Jingyu Hua, Sheng Zhong
cs.CR
cs.CR, cs.AI, cs.CL
As Large Language Models (LLMs) of Prompt Jailbreaking are getting more and more attention, it is of great significance to raise a generalized research paradigm to evaluate attack strengths and a basic model to conduct subtler experiments. In this paper, we propose a novel approach by focusing on a set of target questions that are inherently more sensitive to jailbreak prompts, aiming to circumvent the limitations posed by enhanced LLM security. Through designing and analyzing these sensitive questions, this paper reveals a more effective method of identifying vulnerabilities in LLMs, thereby contributing to the advancement of LLM security. This research not only challenges existing jailbreaking methodologies but also fortifies LLMs against potential exploits.
[ -0.5174218416213989, -1.1090039014816284, 0.7689307928085327, -0.09717628359794617, -0.3658176362514496, 0.04464147239923477, -0.004243851639330387, -0.3654133379459381, 0.34822818636894226, 0.6124460101127625, -0.6557696461677551, -0.28531336784362793, -0.6793861389160156, 0.2801307737827301, -0.33238929510116577, 1.0611737966537476, 0.02007477357983589, -0.1872704029083252, -0.16403944790363312, -0.2083570510149002, -0.6240810751914978, -0.6807759404182434, -0.3493518829345703, 0.0005932425265200436, 0.6537407636642456, 0.34076184034347534, 0.5287994146347046, -0.18705706298351288, 0.6809249520301819, 0.3012126386165619, -0.4323243796825409, -0.361481249332428, -0.22687962651252747, 0.36508339643478394, -0.4857806861400604, -0.8624047636985779, -0.2316385805606842, -0.13736261427402496, 0.008959022350609303, 0.21728326380252838, 0.061810750514268875, 0.18645377457141876, -0.24629567563533783, 0.7838312983512878, -0.5690736770629883, -0.39369526505470276, -0.8952661156654358, 0.07366321980953217, -0.1644972711801529, -0.15822818875312805, -0.5486517548561096, -0.2945156991481781, -0.15617701411247253, -0.12094190716743469, 0.028557879850268364, -0.05995846539735794, 0.3553847670555115, 0.2786543667316437, -0.4174807071685791, -0.2781658172607422, -0.4028502106666565, 0.7489783763885498, -0.8649988174438477, 0.2009052187204361, 0.28107309341430664, 0.09019003808498383, -0.15402589738368988, -0.2835623621940613, -0.1339130699634552, -0.5722874402999878, 0.1938013732433319, -0.16125287115573883, -0.2726699113845825, -0.189390629529953, 0.23216107487678528, 0.31699448823928833, -0.5008537769317627, 0.0901971235871315, -0.2047935128211975, -0.2185375839471817, 0.7020477652549744, 0.31581950187683105, 0.48877760767936707, -0.0305462796241045, -0.3374788761138916, 0.19483089447021484, -1.0124361515045166, 0.10836558789014816, 0.6162156462669373, 0.36477595567703247, -0.09457060694694519, 0.7903615832328796, -0.007058062124997377, 0.43761777877807617, 0.28765520453453064, -0.04372700676321983, -0.1431571990251541, -0.3584016263484955, -0.02126646228134632, -0.0948132649064064, 0.5717819929122925, 0.4636155962944031, 0.34607937932014465, -0.0395822636783123, -0.07379709184169769, -0.5065246224403381, 0.4362335801124573, -0.7353546619415283, 0.09768329560756683, 0.6857835054397583, -0.29741790890693665, -0.6592671275138855, -0.015507652424275875, -0.7656404376029968, -0.9925703406333923, 0.197713702917099, 0.20142146944999695, -0.2888462245464325, -0.4486156105995178, -0.09400317072868347, -0.026198623701930046, 0.5634602904319763, 0.26386386156082153, -0.9466281533241272, 0.13587498664855957, 0.6994268894195557, 0.9253918528556824, -0.19419342279434204, 0.14897042512893677, -0.2229943424463272, 0.01874465122818947, -0.2396429181098938, 0.5831518173217773, -0.49788904190063477, -0.7027475833892822, -0.04181140288710594, -0.06381437927484512, 0.13758912682533264, -0.6547921299934387, 0.2785038948059082, -0.8681508898735046, -0.1761694997549057, -0.5206204056739807, -0.36690694093704224, 0.11097732931375504, 0.7406693696975708, -0.5767545700073242, 0.74955153465271, 0.09657004475593567, -1.1545213460922241, -0.0699072852730751, -0.4584164619445801, -0.3424801230430603, -0.08498083055019379, 0.039480067789554596, -0.31336545944213867, 0.24877135455608368, 0.4076644480228424, 0.15828590095043182, -0.2725813090801239, 0.3258959949016571, -0.3190218210220337, -0.010513768531382084, 0.7764132618904114, -0.19859862327575684, 0.7902185916900635, 0.30065447092056274, -0.3494115471839905, 0.20058736205101013, -0.27873432636260986, -0.194061279296875, 0.33161497116088867, -0.4300557076931, -0.6346592903137207, -0.035019733011722565, -0.3537543714046478, 0.05455601215362549, 0.5825735926628113, -0.8153828382492065, 0.4620925486087799, -0.4580029249191284, 0.577423095703125, 0.9549172520637512, 0.24948738515377045, 0.4590214788913727, 0.058621492236852646, 0.8748254776000977, 0.09437046200037003, 0.5038892030715942, 0.013220896013081074, -0.3414977192878723, -0.5694278478622437, 0.14171965420246124, 0.08455927670001984, 0.874738872051239, -0.5790093541145325, 0.06669552624225616, 0.19874083995819092, -0.6732921600341797, -0.2745184004306793, 0.33155426383018494, 0.41468536853790283, 0.6035940051078796, 0.5990870594978333, -0.09362097829580307, -0.5821461081504822, -0.8168038725852966, -0.6921220421791077, -0.5650180578231812, 0.15279169380664825, 0.4268220365047455, 0.6069549918174744, -0.14434538781642914, 0.9150800704956055, -0.5750344395637512, 0.21568423509597778, -0.8423053622245789, -0.1863013356924057, 0.28268882632255554, 0.4099541902542114, 0.6121765375137329, -0.9059967398643494, -0.40477272868156433, -0.22503885626792908, -0.758924663066864, -0.35687655210494995, 0.10432453453540802, 0.27160772681236267, -0.04856201633810997, 1.0527435541152954, -0.6058825850486755, 0.17262376844882965, 0.31539931893348694, -0.41518479585647583, 0.7375735640525818, 0.19349928200244904, 0.026829902082681656, -1.0760265588760376, -0.41677185893058777, 0.03787844628095627, 0.12096059322357178, -0.713272750377655, 0.5427676439285278, -0.007995164021849632, -0.06754005700349808, -0.8685632348060608, 0.6608819365501404, -0.2362445741891861, 0.08949774503707886, -0.24910537898540497, -0.14884741604328156, -0.28987643122673035, 0.06000857427716255, -0.14596685767173767, 0.8101595640182495, 0.5420789122581482, -0.44958198070526123, 0.5639467239379883, 0.01575726456940174, -0.1416558176279068, 0.44606301188468933, -0.9995689392089844, 0.4625529646873474, -0.023944726213812828, 0.05249308422207832, -1.2128289937973022, -0.14939896762371063, 0.23296600580215454, -0.38936400413513184, 0.24005787074565887, -0.41960400342941284, -0.2521640658378601, -0.22673000395298004, -0.5605876445770264, 0.568157434463501, 0.40255439281463623, -0.2752969563007355, 0.5122008323669434, 0.37091773748397827, -0.5138795375823975, -0.5859186053276062, -0.5952425599098206, 0.16762413084506989, -0.665672779083252, -0.6851256489753723, -0.022406451404094696, -0.11349384486675262, -0.7591307163238525, -0.36029648780822754, -0.16429543495178223, 0.19556958973407745, 0.3324819505214691, 0.10807754844427109, 0.3836604058742523, -0.11047188192605972, -0.2884267568588257, 0.16092340648174286, -0.07331959158182144, 0.38829073309898376, -0.019495565444231033, 0.6034443378448486, -0.2544843256473541, -0.2544332444667816, -0.025607667863368988, 0.4217057228088379, 0.53392493724823, -0.27065664529800415, 0.7641385197639465, -0.011825475841760635, 0.12655094265937805, 0.1205751895904541, -0.4387805163860321, -0.22048118710517883, -0.5797336101531982, 0.4289323389530182, -0.4459117352962494, -1.1921749114990234, 0.7339006662368774, -0.32020479440689087, -0.08909965306520462, 0.013652284629642963, 0.8277115225791931, -0.039097826927900314, 0.8222733736038208, 0.8278324604034424, -0.41095656156539917, 0.5749621391296387, 0.11333469301462173, 0.22433249652385712, -0.9362905621528625, -0.2556467652320862, -0.4904724359512329, -0.12953223288059235, -0.5039742588996887, -0.31366220116615295, 0.47353628277778625, -0.02654670737683773, -0.03270579129457474, 0.6565675735473633, -0.17105582356452942, 0.48482850193977356, 0.058513469994068146, 0.13405108451843262, 0.28092050552368164, -0.5387938618659973, -0.36949098110198975, 0.11037005484104156, -0.21576035022735596, -0.45560044050216675, 1.0643209218978882, 0.6562898755073547, 1.1776756048202515, 0.46387720108032227, 0.6857227087020874, 0.18971411883831024, 0.28721973299980164, -0.8661574721336365, 0.842105507850647, 0.3848406970500946, -1.2247707843780518, -0.43543511629104614, -0.2277912199497223, -0.7230543494224548, 0.2309514731168747, 0.1551433652639389, -0.9974413514137268, 0.15201178193092346, 0.09026870876550674, -0.31918662786483765, 0.4738213121891022, -0.6565450429916382, 0.6650867462158203, -0.3018015921115875, -0.313109815120697, 0.2486647218465805, -0.8102157711982727, 0.5379471182823181, -0.05102032050490379, 0.5021940469741821, -0.13945770263671875, -0.268169105052948, 0.5936349630355835, -0.5214219093322754, 1.0791499614715576, -0.37925928831100464, -0.585256814956665, 0.5409935712814331, 0.41454261541366577, 0.6382474899291992, 0.42304331064224243, -0.15737798810005188, -0.1017940565943718, -0.24755477905273438, -0.2781584858894348, -0.5708572864532471, 0.4966830015182495, -0.5493146181106567, -1.0988891124725342, -0.17386163771152496, -0.742663562297821, -0.4465653598308563, 0.022128770127892494, 0.3505808115005493, -0.009656550362706184, -0.21614305675029755, -0.07278724759817123, 1.0152758359909058, -0.5956280827522278, 0.4705525040626526, 0.5625979900360107, -0.2633543610572815, -0.1383228302001953, 0.46949079632759094, -0.07110618054866791, 0.4546513259410858, 0.5095417499542236, 0.325823575258255, -0.34542250633239746, -0.8834654092788696, -0.28478559851646423, 0.07344427704811096, -0.5888161659240723, -0.23031461238861084, -0.5159494280815125, -0.11329714953899384, -0.7283425331115723, -0.24967661499977112, -0.45554277300834656, -0.20191791653633118, -0.08667347580194473, -0.5405745506286621, 0.6775542497634888, 0.40638467669487, 0.03596924617886543, 0.15974478423595428, -0.7644599676132202, 0.38450193405151367, 0.46916428208351135, -0.2039748728275299, -0.3642022907733917, -0.8571192622184753, -0.0022594458423554897, -0.35223472118377686, -0.17608942091464996, -1.4280753135681152, 0.3251612186431885, -0.2931225001811981, 0.40058863162994385, 0.1876201033592224, 0.34719163179397583, 0.1711367517709732, -0.34956657886505127, 0.7868441343307495, 0.14579276740550995, -0.9087299704551697, 1.1562975645065308, -0.5239700675010681, -0.011712050065398216, 0.809450626373291, 0.6006834506988525, -0.33186060190200806, -0.7629270553588867, -0.4789296090602875, -1.0776371955871582, 0.2274753302335739, -0.06595876812934875, 0.5864852666854858, 0.10748331248760223, 0.6377789378166199, 0.1442597508430481, 0.1824207752943039, -0.9755305647850037, -0.2644728720188141, -0.06282881647348404, 0.045440707355737686, 0.018878208473324776, -0.4063360393047333, -0.19119352102279663, -0.3821227252483368, 0.28453344106674194, -0.001296939910389483, -0.04639767110347748, 0.26797378063201904, -0.266438364982605, 0.16053055226802826, 0.9691821932792664, 0.36667120456695557, 0.39692139625549316, -0.3607732355594635, 0.3475120961666107, 0.47966432571411133, -0.7592475414276123, 0.6420807838439941, -0.41619348526000977, -0.52220219373703, -0.3511451780796051, 0.4538761079311371, 0.4155908524990082, -0.2095799744129181, -0.7598590850830078, 0.504260241985321, 0.03544814512133598, -0.0317709818482399, -0.14729991555213928, 0.38180243968963623, 0.08152768760919571, 0.3427481949329376, 0.30055123567581177, -0.33542272448539734, -0.04138311371207237, -1.0065600872039795, 0.10967984795570374, 0.42092156410217285, -0.7053459286689758, -0.31679871678352356, 0.4570009112358093, 0.25000983476638794, -0.26522043347358704, 0.4580037593841553, -0.009499764069914818, -0.7163538932800293, 0.688194751739502, 0.7652406692504883, 0.8858145475387573, -0.47954270243644714, 0.22968913614749908, 0.16664057970046997, 0.842361569404602, 0.40368232131004333, 0.44358810782432556, 0.0951649621129036, -0.8409278392791748, -0.3631431460380554, -0.3615679144859314, -0.601789116859436, 0.1655930131673813, -0.8316086530685425, 0.015531828626990318, -0.8399037718772888, -0.27857521176338196, -0.32907941937446594, -0.2842102646827698, 0.2539270520210266, 0.19012315571308136, 0.010470091365277767, 1.1356672048568726, -0.916023313999176, 0.7444362640380859, 0.835928201675415, -0.32164493203163147, -0.49851641058921814, 0.14160002768039703, 0.24208463728427887, -0.7388485670089722, 0.5495158433914185, -0.018066508695483208, 0.06965555250644684, -0.14876298606395721, -1.0656205415725708, -0.6430584192276001, 0.7839115858078003, 0.47205445170402527, -0.6235937476158142, 0.11294478923082352, 0.2734309732913971, 0.30791184306144714, -0.18201109766960144, 0.07408573478460312, 0.9707806706428528, 0.5334542393684387, -0.05712782219052315, -0.6330624222755432, 0.4334268271923065, -0.3715347945690155, -0.25121721625328064, 0.3803553283214569, -0.6812639236450195, 0.9740716814994812, -0.7299923896789551, 0.29928454756736755, 0.02501143328845501, 0.5253329873085022, 0.5341148376464844, 0.2543887197971344, 0.5164240002632141, 0.5392380952835083, 0.39974135160446167, -0.09882768988609314, 1.1404000520706177, 0.1202046275138855, 0.27516600489616394, 0.9647932052612305, -0.36671727895736694, 0.6667143702507019, 1.042352557182312, -0.3913020193576813, 0.583928108215332, 0.6181468963623047, 0.020227355882525444, 0.6699719429016113, 0.5147917866706848, -0.3034994602203369, -0.3183993995189667, -0.03059914894402027, -0.5130963325500488, 0.14967568218708038, 0.31511807441711426, -0.06161493808031082, -0.20534655451774597, 0.3697409927845001, 0.2282496690750122, 0.04646393284201622, -0.5507233142852783, 0.8417089581489563, 0.24941480159759521, -0.38323357701301575, 0.09479282051324844, 0.3809114098548889, 0.8776713013648987, -0.5567976236343384, 0.4181769788265228, -0.5398539900779724, -0.10063938051462173, -0.1940574198961258, -0.9009941220283508, 0.35219138860702515, 0.542026698589325, 0.05789488926529884, 0.05212271586060524, 1.061414122581482, 0.2615002989768982, -0.34310534596443176, 0.3889857232570648, 0.4313211441040039, 0.12385569512844086, -0.2968941628932953, -0.8913357853889465, 0.158880814909935, -0.02597680687904358, -0.45986202359199524, 0.725842297077179, 0.2124556303024292, 0.04909782484173775, 0.8154857754707336, 0.6026103496551514, -0.12614436447620392, 0.24530936777591705, 0.04962984472513199, 1.2012643814086914, -0.8818762302398682, -0.29798734188079834, -1.2549570798873901, 0.5488231778144836, 0.13890142738819122, -0.3385584056377411, 0.9433543682098389, 0.20834898948669434, 0.6502838134765625, -0.04568658396601677, 0.828130304813385, -0.394439160823822, 0.3677878677845001, -0.6896809339523315, 0.3323512673377991, -0.28525733947753906, 0.6827791929244995, -0.5674654841423035, -0.5377119183540344, 0.07630584388971329, 0.35818883776664734, -0.6989964246749878, 0.06193791329860687, 0.5797760486602783, 0.7877441048622131, 0.3215162754058838, -0.15120117366313934, 0.1769680231809616, 0.30430465936660767, 0.4172164499759674, 0.7349745035171509, 1.3788232803344727, -0.3345370590686798, 0.4934108555316925, -0.19333717226982117, -0.07567553967237473, -0.26255834102630615, -0.8102673888206482, -1.0481256246566772, -0.1624501794576645, -0.3054491877555847, -0.3972776532173157, -0.02957497164607048, 0.6645485162734985, 0.20812545716762543, -0.8509184122085571, -0.05305115506052971, -0.31348344683647156, 0.5066143870353699, 0.13452255725860596, -0.2584063708782196, -0.022643359377980232, -0.1545146256685257, -0.4966394603252411, 0.5553386211395264, 0.22195377945899963, 0.17910534143447876, -0.34530210494995117, 0.12946951389312744, -0.2732864320278168, 0.40182068943977356, 0.6135920882225037, 0.3260911703109741, -0.3277203142642975, -0.3768540918827057, 0.26550042629241943, -0.09458080679178238, -0.1113065704703331, 1.039056420326233, -0.4280746877193451, -0.08178003132343292, 0.4500207006931305, 0.538378894329071, 0.2148309350013733, 0.2035285085439682, 0.29867324233055115, -0.820432722568512, 0.3454505503177643, 0.36550670862197876, 0.24503520131111145, 0.0933142825961113, -0.552998960018158, 0.3955481946468353, 0.09954269975423813, -0.2757861912250519, -0.9876167178153992, 0.7161508202552795, -0.9412344098091125, -0.6450552344322205, 1.4018827676773071, -0.3073681592941284, -0.2202930748462677, -0.4864371418952942, -0.31935974955558777, -0.187836155295372, -0.1534697413444519, 0.7056537866592407, 0.7395195364952087, -0.3737465739250183, -0.26103636622428894, -0.4679666757583618, 0.14919205009937286, 0.5253405570983887, -1.0045911073684692, 0.14300334453582764, 0.08197900652885437, 0.5284414887428284, 0.1942199021577835, 0.6530532240867615, -0.5681339502334595, 0.05506015941500664, -0.101967453956604, -0.3741162121295929, -0.046108417212963104, -0.4495866894721985, -0.27227210998535156, 0.4119996428489685, 0.3300676941871643, 0.19723986089229584 ]
http://arxiv.org/abs/2404.08263v1
http://arxiv.org/pdf/2404.08263v1
Relational Prompt-based Pre-trained Language Models for Social Event Detection
2024-04-12T06:23:07
2024-04-12T06:23:07
Pu Li, Xiaoyan Yu, Hao Peng, Yantuan Xian, Linqin Wang, Li Sun, Jingyun Zhang, Philip S. Yu
cs.CL
cs.CL, cs.AI, cs.LG, cs.SI
Social Event Detection (SED) aims to identify significant events from social streams, and has a wide application ranging from public opinion analysis to risk management. In recent years, Graph Neural Network (GNN) based solutions have achieved state-of-the-art performance. However, GNN-based methods often struggle with noisy and missing edges between messages, affecting the quality of learned message embedding. Moreover, these methods statically initialize node embedding before training, which, in turn, limits the ability to learn from message texts and relations simultaneously. In this paper, we approach social event detection from a new perspective based on Pre-trained Language Models (PLMs), and present RPLM_SED (Relational prompt-based Pre-trained Language Models for Social Event Detection). We first propose a new pairwise message modeling strategy to construct social messages into message pairs with multi-relational sequences. Secondly, a new multi-relational prompt-based pairwise message learning mechanism is proposed to learn more comprehensive message representation from message pairs with multi-relational prompts using PLMs. Thirdly, we design a new clustering constraint to optimize the encoding process by enhancing intra-cluster compactness and inter-cluster dispersion, making the message representation more distinguishable. We evaluate the RPLM_SED on three real-world datasets, demonstrating that the RPLM_SED model achieves state-of-the-art performance in offline, online, low-resource, and long-tail distribution scenarios for social event detection tasks.
[ -0.18056844174861908, -1.1361274719238281, 0.6080754399299622, 0.20247681438922882, -0.6921494603157043, 0.1456073820590973, -0.36301153898239136, -0.1408889889717102, 0.5781105756759644, 0.17550525069236755, -0.6609093546867371, -0.9152772426605225, -0.381717711687088, 0.08002828806638718, -0.08794628828763962, 0.7681907415390015, 0.1376439779996872, -0.14333300292491913, -0.3957078456878662, -0.167433500289917, -0.1301405429840088, -0.8481975793838501, -0.7686216235160828, -0.10666324943304062, 0.4069434404373169, 0.2865273356437683, 0.5322313904762268, 0.2989402711391449, 0.23136815428733826, 0.2599030137062073, -0.10346967726945877, 0.4216274619102478, -0.5689860582351685, 0.17738835513591766, -0.008323738351464272, 0.053134262561798096, -0.12433815747499466, -0.049138814210891724, 0.8491736054420471, 0.6460893750190735, -0.1932840794324875, 0.03894814848899841, 0.13033299148082733, 0.37530484795570374, -0.5151058435440063, 0.45529794692993164, -0.38983869552612305, -0.02015565149486065, -0.07872451841831207, -0.27509161829948425, -0.5223237872123718, -0.38221991062164307, -0.12774886190891266, -0.5890994668006897, 0.02318180724978447, -0.06446685642004013, 0.6894040703773499, -0.12501156330108643, -0.3518196940422058, -0.09744202345609665, -0.41520243883132935, 0.5059193968772888, -0.4496724009513855, 0.4148229956626892, 0.17444774508476257, 0.15337908267974854, -0.2764643132686615, -0.5862030982971191, -0.47621509432792664, 0.001294919871725142, -0.07496705651283264, -0.006236905697733164, 0.11458389461040497, -0.01124366745352745, 0.11780714243650436, -0.26349812746047974, -0.7433416247367859, 0.09981846809387207, 0.1369502991437912, -0.04693823307752609, 0.6468743681907654, 0.22011978924274445, 0.41690972447395325, -0.42187780141830444, -0.35110026597976685, -0.03469454124569893, -0.5568615198135376, 0.013371176086366177, 0.19955390691757202, 0.5728918313980103, -0.5140159726142883, 0.011304876767098904, -0.19555695354938507, 0.39105024933815, -0.06705835461616516, -0.0878305733203888, 0.23761339485645294, -0.49821680784225464, 0.1594683974981308, -0.1361238658428192, 1.0822051763534546, 0.30122703313827515, 0.38582974672317505, -0.042056065052747726, 0.08805236220359802, 0.2741311192512512, -0.3252660930156708, -0.7097994089126587, -0.20870447158813477, -0.13373516499996185, -0.876242458820343, -0.44330060482025146, -0.0007648312603123486, -0.6848713159561157, -0.5835469365119934, -0.27210429310798645, 0.1829739511013031, -0.3579820692539215, -0.5534635782241821, 0.07070236653089523, 0.1547880619764328, 0.07911908626556396, 0.4442776143550873, -0.38684728741645813, 0.13870352506637573, 0.6428853273391724, 0.8890032172203064, -0.1463741958141327, -0.3582630157470703, -0.7761129140853882, -0.06295634806156158, -0.007920872420072556, 0.8722659349441528, -0.514664351940155, -0.40294119715690613, 0.1607760488986969, 0.14042359590530396, -0.21806471049785614, -0.1132972463965416, 0.32124972343444824, -0.62171870470047, -0.029131975024938583, -0.3293115198612213, -0.6104509830474854, 0.21995852887630463, 0.2761492133140564, -0.3735726773738861, 0.6737569570541382, -0.16068778932094574, -0.8659570813179016, 0.28006845712661743, -0.24992606043815613, -0.6844817399978638, 0.31810927391052246, -0.4428179860115051, -0.6928783655166626, -0.1284130960702896, 0.386907696723938, 0.6752732992172241, -0.10908515006303787, 0.5352270007133484, -0.8007833361625671, -0.2883789539337158, 0.32093340158462524, -0.2498733103275299, 0.7399277687072754, 0.06815104186534882, 0.08933941274881363, 0.49352842569351196, -0.8628949522972107, -0.0837889313697815, 0.3562268316745758, -0.026840781792998314, -0.30126434564590454, 0.209830179810524, 0.059501856565475464, 0.3371071219444275, 0.11432987451553345, -0.3741460144519806, -0.10978646576404572, -0.18016043305397034, 0.5237972140312195, 0.8427940607070923, 0.33215227723121643, 0.3977569341659546, -0.041093870997428894, 0.5493960976600647, 0.289520800113678, 0.31461915373802185, -0.5169574618339539, -0.5496421456336975, -0.23249267041683197, 0.044459179043769836, -0.037771619856357574, 0.7268161773681641, -0.947780966758728, 0.5970326066017151, -0.03068389929831028, -0.07996933907270432, 0.06382990628480911, -0.007174711208790541, 0.21911346912384033, 0.34455785155296326, 0.16523052752017975, -0.13425764441490173, -0.5399061441421509, -0.36512118577957153, -0.407429963350296, -0.5396093726158142, 0.38644933700561523, 0.33174487948417664, 0.2988092005252838, -0.04936249926686287, 0.7690541744232178, -0.3991279900074005, -0.2115095853805542, -0.6529666185379028, 0.10877490043640137, 0.2607329487800598, 0.29953667521476746, 0.42631101608276367, -0.7368805408477783, -0.6589036583900452, -0.11616694927215576, -0.8518155217170715, -0.20333386957645416, -0.18591418862342834, 0.16624568402767181, 0.12516430020332336, 0.6961809396743774, -0.5399735569953918, 0.5744630098342896, 0.19868256151676178, -0.49613603949546814, 0.5218809247016907, -0.18914811313152313, 0.051293421536684036, -1.1477304697036743, -0.4552888870239258, 0.08489298820495605, -0.4816732406616211, -0.8054424524307251, -0.17230649292469025, 0.2171933501958847, -0.41163375973701477, -0.6104567646980286, 0.5595065355300903, -0.5893387794494629, -0.22154149413108826, -0.20382171869277954, 0.426836222410202, -0.06465157121419907, 0.4306652545928955, 0.25541749596595764, 0.35320019721984863, 0.5512702465057373, -0.5564736723899841, 0.4819067418575287, 0.3021031618118286, -0.37552157044410706, 0.5852186679840088, -0.5052080750465393, 0.17058996856212616, -0.5331606268882751, 0.3618362247943878, -0.996433436870575, -0.07066571712493896, 0.5088633894920349, -0.5530440807342529, 0.18249955773353577, -0.3295735716819763, -0.6260510087013245, -0.3654383718967438, -0.22791491448879242, 0.31288763880729675, 0.34837669134140015, -0.6708943843841553, 0.7439677715301514, 0.4020238518714905, -0.22090210020542145, -0.2647360861301422, -0.2351621687412262, 0.00006716329517075792, -0.23600120842456818, -0.9838677048683167, 0.14691731333732605, 0.26543596386909485, 0.07064362615346909, 0.09827043861150742, 0.12882879376411438, 0.037550102919340134, 0.16667087376117706, 0.2920003831386566, 0.33012667298316956, -0.0313480980694294, 0.23684954643249512, -0.175951287150383, -0.3369496166706085, 0.21522404253482819, -0.18855388462543488, 0.6391974091529846, -0.13026711344718933, -0.48406800627708435, -0.7360923886299133, 0.5772373080253601, 0.14499540627002716, -0.2989341914653778, 1.093862533569336, 0.8136804699897766, -0.32574447989463806, -0.06776547431945801, -0.46064138412475586, -0.44858747720718384, -0.42878836393356323, 0.3081129193305969, -0.11607147008180618, -1.0153626203536987, 0.72641921043396, -0.18878979980945587, -0.5090335011482239, -0.17328913509845734, 0.0792720690369606, -0.06834634393453598, 1.064997673034668, 0.26730015873908997, -0.0696980357170105, 0.8471449017524719, 0.03643316030502319, 0.25220808386802673, -0.47204500436782837, -0.07406247407197952, -0.49872997403144836, 0.039081837981939316, -0.31576797366142273, -0.43228182196617126, 0.3283667266368866, 0.27306675910949707, -0.14153723418712616, -0.050129860639572144, -0.17981496453285217, 0.5740931630134583, 0.38275837898254395, 0.3581787943840027, 0.20825351774692535, -0.03149600699543953, 0.018331795930862427, 0.004460806027054787, -0.8931401371955872, -0.33933699131011963, 0.8410630226135254, 0.12261780351400375, 0.7385814189910889, -0.18189223110675812, 0.9573988318443298, 0.16359147429466248, 0.14180395007133484, -0.1989547312259674, 0.7770512700080872, -0.06608062982559204, -0.04034092649817467, -0.3128949999809265, -0.62714022397995, -0.8084655404090881, 0.17106230556964874, -0.39764153957366943, -0.7155585289001465, 0.2608832120895386, 0.041434045881032944, -0.45426511764526367, 0.3043999969959259, -0.6030272841453552, 1.1719164848327637, -0.10084214806556702, -0.2753918766975403, -0.15067420899868011, -0.8287913799285889, 0.05458754301071167, 0.26181265711784363, 0.6410182118415833, -0.25456002354621887, 0.32496923208236694, 0.7025643587112427, -0.3079270124435425, 1.091211199760437, -0.4753105938434601, 0.443006306886673, 0.501101016998291, -0.18611958622932434, 1.2744569778442383, 0.45176786184310913, 0.2866448760032654, -0.16372829675674438, -0.10542279481887817, -0.22590786218643188, -0.4420226812362671, 0.6058177351951599, -0.7541817426681519, -0.47983667254447937, -0.22263804078102112, -0.19123056530952454, 0.02262304723262787, 0.027249645441770554, 0.12397672981023788, 0.6703271269798279, -0.4435712695121765, 0.1633511781692505, 0.5828809142112732, -0.679189920425415, 0.4812885522842407, 0.45686355233192444, -0.5006913542747498, -0.4453587830066681, 0.852429211139679, -0.08963076025247574, 0.09067918360233307, 0.2842928469181061, 0.15208151936531067, -0.4305213391780853, -0.4615415036678314, -0.2558266818523407, 0.4567831754684448, -0.9166584610939026, -0.13250529766082764, -1.0713835954666138, -0.04786377772688866, -0.7369123697280884, -0.06870919466018677, -0.20949971675872803, -0.09577519446611404, -0.8262275457382202, -0.11806795001029968, 0.38511690497398376, 0.32613658905029297, -0.2999263107776642, 0.4624420404434204, -0.8805697560310364, 0.48618829250335693, 0.1161763072013855, 0.26344776153564453, -0.0702214390039444, -0.1073828712105751, 0.0054974788799881935, -0.09945253282785416, 0.12459638714790344, -1.2150869369506836, 0.3829876482486725, 0.3058854341506958, 0.50979083776474, 0.514767587184906, 0.4428630471229553, 0.2754304111003876, -0.3123258948326111, 0.3891051411628723, 0.2510671019554138, -0.6969317197799683, 0.7456353306770325, -0.38056519627571106, 0.033594753593206406, 0.27246177196502686, 0.3166164457798004, -0.7841939926147461, -0.009371940046548843, -0.6647705435752869, -0.6333481669425964, 0.8492112159729004, -0.03803984075784683, 0.0017116614617407322, -0.45521080493927, 0.41678082942962646, -0.26748126745224, 0.06611134111881256, -0.8717325329780579, -0.2923610508441925, -0.20596528053283691, -0.1323966234922409, 0.018300218507647514, -0.42691516876220703, 0.3644596040248871, 0.014470226131379604, 0.4907272756099701, -0.13641175627708435, 0.07395678013563156, 0.08489565551280975, -0.2433808147907257, -0.005210392642766237, 0.3264538645744324, 0.30009371042251587, 0.5760102272033691, -0.09665132313966751, 0.09978686273097992, 0.1325647532939911, -0.0644286647439003, 0.23568888008594513, 0.24734728038311005, -0.13541580736637115, -0.0046809520572423935, 0.3199080526828766, 0.9389090538024902, 0.1824493557214737, -0.3978288769721985, 0.8750516176223755, -0.3271675705909729, 0.1604173630475998, -0.3150103688240051, -0.23367583751678467, 0.24638158082962036, 0.2231920063495636, 0.18276070058345795, -0.32301414012908936, -0.0802399292588234, -0.5928789973258972, 0.29678019881248474, 0.6012875437736511, -0.3547520339488983, -0.454056054353714, 0.5084229707717896, 0.304890900850296, -0.3347952961921692, 0.5243973135948181, -0.759540855884552, -0.7404272556304932, 0.7352929711341858, 0.5699982643127441, 0.5767953395843506, -0.36715540289878845, 0.6958954930305481, 0.2305304855108261, 0.2576228678226471, 0.025180872529745102, 0.6374319195747375, 0.006381928455084562, -1.094688892364502, -0.5991085767745972, -0.5102327466011047, -0.17939959466457367, 0.14190715551376343, -0.5548444986343384, 0.39219552278518677, -0.45340535044670105, -0.1988818496465683, -0.1838124692440033, -0.1853896677494049, -0.5906444191932678, -0.18019327521324158, 0.08403610438108444, 0.4797256886959076, -1.1573071479797363, 0.6549113988876343, 0.743276834487915, -0.06515293568372726, -0.7218484878540039, -0.550791323184967, 0.09751168638467789, -0.46160566806793213, 0.4652591347694397, 0.32377639412879944, 0.34822794795036316, 0.1423138827085495, -0.20843149721622467, -0.6509435772895813, 0.7313328385353088, 0.10955123603343964, -0.43224284052848816, -0.021971626207232475, 0.10888724029064178, 0.2737225294113159, -0.5788280367851257, 0.12935152649879456, 0.17821446061134338, 0.3424764573574066, 0.03652780503034592, -0.4121710956096649, 0.10996697098016739, -0.10198558121919632, 0.10801298171281815, 0.41598883271217346, -0.37516242265701294, 0.9098413586616516, -0.105524942278862, -0.6056158542633057, -0.15417328476905823, 0.7455046772956848, 0.5441551804542542, 0.6042068600654602, 0.4833553731441498, 0.29167163372039795, 0.7282582521438599, -0.15422423183918, 0.9856764674186707, -0.25980427861213684, 0.347400963306427, 1.089672565460205, -0.6185000538825989, 0.3768573999404907, -0.01890735700726509, -0.14864860475063324, 0.4901496171951294, 0.6561104655265808, 0.4900936484336853, 0.5363631248474121, 0.09387949854135513, -0.43751752376556396, -0.7397751808166504, -0.32581597566604614, -0.5205482840538025, -0.03905433788895607, 0.5756199359893799, -0.2224402278661728, -0.36592474579811096, 0.24542172253131866, -0.2655763626098633, 0.3534281849861145, -0.3374321460723877, 0.8038380146026611, 0.19241873919963837, -0.2001935988664627, 0.08442769199609756, -0.15899252891540527, 0.5546305179595947, -0.3314603269100189, 0.1321183294057846, -0.1569538116455078, 0.08631239831447601, 0.01515291165560484, -0.4645750820636749, 0.17811410129070282, -0.40343403816223145, 0.0022957155015319586, -0.16405673325061798, 1.4986295700073242, -0.41260436177253723, -0.3516658544540405, 0.5905396938323975, 0.744505763053894, 0.07013427466154099, -0.3339763283729553, -0.7056190967559814, 0.3180826008319855, -0.2804284393787384, -0.12398078292608261, 0.31497523188591003, 0.7216567993164062, -0.1511404663324356, 0.5635401010513306, 0.7893355488777161, 0.014786924235522747, -0.057661473751068115, 0.5853742957115173, 0.8334929943084717, -0.6761863827705383, -1.156952142715454, -0.9730978012084961, 0.08113191276788712, -0.3304269015789032, 0.19245409965515137, 0.4840189218521118, 0.13542497158050537, 0.5691389441490173, 0.056119583547115326, 0.6515995264053345, 0.3286551237106323, 0.6670767664909363, -0.505657970905304, 0.45960310101509094, -0.11018341779708862, 0.19273261725902557, -0.5092729330062866, -0.6273053288459778, -0.3591712713241577, 0.7544255256652832, -0.303261935710907, 0.0960741713643074, 0.5460686683654785, 0.7146395444869995, 0.19118835031986237, 0.31812742352485657, 0.20008467137813568, -0.0550701804459095, 0.3918028771877289, 0.5935266017913818, 1.3747786283493042, -0.0580192431807518, 0.4737755358219147, -0.11998920887708664, -0.2890360653400421, -0.4222105145454407, -1.089688777923584, -1.2414898872375488, -0.5992631316184998, -0.5415049195289612, -0.30037957429885864, 0.3582797348499298, 1.1990329027175903, 0.6010496020317078, -0.6473007202148438, -0.028758348897099495, -0.12348941713571548, 0.48278501629829407, -0.09579906612634659, -0.24334368109703064, 0.4790429472923279, -0.4370517432689667, 0.008720035664737225, 0.45575928688049316, 0.38302287459373474, 0.1473948061466217, 0.11706066131591797, -0.11926758289337158, -0.46776506304740906, -0.3373977839946747, 0.6731476187705994, 0.20805394649505615, -0.39567434787750244, -0.4466148018836975, -0.08801142871379852, 0.04877908155322075, -0.07816846668720245, 0.628669261932373, -0.8287220597267151, -0.07337348163127899, 0.6276968717575073, 0.5872839689254761, 0.44350552558898926, 0.07377966493368149, 0.32200583815574646, -1.0217102766036987, 0.32214251160621643, -0.0531671904027462, 0.48190104961395264, 0.3941127061843872, -0.5370149612426758, 0.3337813913822174, 0.5509752631187439, -0.4867652356624603, -0.7980481386184692, 0.4241122007369995, -0.8198519945144653, -0.3373839259147644, 1.195635437965393, -0.1886901706457138, -0.33326050639152527, -0.4046943187713623, 0.04077950865030289, 0.4523344337940216, -0.5829373598098755, 0.4404783546924591, 0.45818212628364563, 0.04856419935822487, -0.5391837358474731, 0.020977558568120003, 0.3947324752807617, 0.14237257838249207, -0.8468174934387207, 0.16134771704673767, 0.6191492676734924, 0.04513602331280708, 0.0172109454870224, 1.0389975309371948, 0.16829441487789154, 0.4364951252937317, -0.36948758363723755, -0.05974658206105232, -0.2967163324356079, -0.43403539061546326, -0.30010008811950684, 0.2358064502477646, -0.24474722146987915, 0.08762680739164352 ]
http://arxiv.org/abs/2404.08262v2
http://arxiv.org/pdf/2404.08262v2
Pretraining and Updating Language- and Domain-specific Large Language Model: A Case Study in Japanese Business Domain
2024-04-12T06:21:48
2024-04-16T02:24:00
Kosuke Takahashi, Takahiro Omi, Kosuke Arima, Tatsuya Ishigaki
cs.CL
cs.CL, cs.AI, 68T50
Several previous studies have considered language- and domain-specific large language models (LLMs) as separate topics. This study explores the combination of a non-English language and a high-demand industry domain, focusing on a Japanese business-specific LLM. This type of a model requires expertise in the business domain, strong language skills, and regular updates of its knowledge. We trained a 13-billion-parameter LLM from scratch using a new dataset of business texts and patents, and continually pretrained it with the latest business documents. Further we propose a new benchmark for Japanese business domain question answering (QA) and evaluate our models on it. The results show that our pretrained model improves QA accuracy without losing general knowledge, and that continual pretraining enhances adaptation to new information. Our pretrained model and business domain benchmark are publicly available.
[ -0.2542915344238281, -0.9724680781364441, 0.6033151745796204, 0.20702089369297028, -0.48660531640052795, 0.2160705178976059, -0.1965714395046234, -0.6327933669090271, -0.00521377706900239, 0.9359694123268127, -0.5979313850402832, -0.5024651288986206, -0.3517659902572632, 0.15499509871006012, 0.05302282050251961, 0.8560676574707031, -0.19464600086212158, 0.14751140773296356, -0.304442435503006, -0.23527194559574127, -0.9120888710021973, -0.9217101335525513, -1.042684555053711, -0.33311644196510315, 0.23041969537734985, 0.1082269623875618, 0.6082834601402283, 0.280970960855484, 0.43869903683662415, 0.25717753171920776, 0.27150753140449524, -0.14828048646450043, -0.4006976783275604, 0.03005823865532875, -0.2631792426109314, -0.7558728456497192, -0.5134987831115723, -0.02739107608795166, 0.6786528825759888, 0.9504947066307068, -0.25483238697052, 0.21451085805892944, -0.3041597604751587, 0.5266091823577881, -0.4216674864292145, 0.3280221223831177, -0.7251759171485901, -0.3161564767360687, -0.09226556122303009, -0.2255723774433136, -0.42434731125831604, -0.25522130727767944, 0.23504118621349335, -0.8025968074798584, 0.06544732302427292, 0.17948676645755768, 1.1053074598312378, 0.1682373285293579, -0.3133566677570343, -0.09976885467767715, -0.6422414779663086, 0.5649149417877197, -0.6929207444190979, 0.48868975043296814, 0.43732696771621704, 0.2917964458465576, -0.14660075306892395, -0.8954286575317383, -0.27622562646865845, -0.2560158371925354, 0.2156846970319748, 0.12866704165935516, -0.06313550472259521, -0.0563264936208725, 0.41861623525619507, 0.17977774143218994, -0.5001937747001648, 0.41997164487838745, -0.16120830178260803, 0.21081165969371796, 0.6906677484512329, 0.02335514687001705, 0.5239654779434204, 0.3228006660938263, -0.15284886956214905, -0.09497349709272385, -0.8750735521316528, -0.09185861051082611, 0.18305082619190216, 0.12081160396337509, 0.1552666574716568, 0.16014380753040314, -0.379738450050354, 0.6188724637031555, -0.14388211071491241, -0.08905884623527527, 0.17261235415935516, -0.18093830347061157, -0.39793160557746887, -0.03778665140271187, 0.5383794903755188, 0.07507016509771347, 0.6275335550308228, -0.26891329884529114, -0.13802611827850342, -0.25659191608428955, 0.3248922824859619, -0.8012629747390747, -0.12599356472492218, 0.10341102629899979, -0.2824854850769043, 0.19279152154922485, -0.1652342975139618, -0.5218154788017273, -0.26224276423454285, -0.3144158720970154, 0.6326445937156677, -0.0435425341129303, -0.36071059107780457, 0.4136139750480652, -0.012691842392086983, 0.4984497129917145, 0.3030257821083069, -0.7687368988990784, 0.16996119916439056, 0.4685768485069275, 0.33174675703048706, 0.023041145876049995, -0.40945497155189514, -0.142472043633461, 0.2924215495586395, -0.6151836514472961, 0.6449303030967712, -0.5430508255958557, -0.3585997521877289, 0.14686398208141327, 0.15765784680843353, -0.09712018072605133, -0.8573736548423767, 0.17244264483451843, -1.1373542547225952, 0.2969042956829071, -0.09163974970579147, -0.6668407320976257, -0.12031585723161697, 0.30762362480163574, -0.6137657761573792, 0.7366793155670166, 0.26564058661460876, -0.440760999917984, 0.47751617431640625, -0.5121687650680542, -0.5432172417640686, 0.47117263078689575, -0.07234369218349457, -0.4924355447292328, -0.019965896382927895, 0.15701644122600555, 0.38416731357574463, -0.34723401069641113, 0.40442028641700745, -0.315077543258667, -0.07517122477293015, 0.49369895458221436, -0.18380847573280334, 0.667030394077301, 0.04241638630628586, -0.061895184218883514, -0.17296740412712097, -0.8465869426727295, 0.1894240528345108, 0.33914050459861755, -0.3316519856452942, -0.45445430278778076, -0.2840574383735657, -0.27672237157821655, 0.1564711630344391, 0.7194142937660217, -0.2718842029571533, 0.18349111080169678, -0.3011459708213806, 0.17931051552295685, 0.5764666795730591, 0.3765704929828644, 0.0742708072066307, -0.2627986967563629, 0.8694179058074951, 0.11851805448532104, 0.09878023713827133, -0.27681779861450195, -0.5010373592376709, -0.7072470188140869, -0.10629633069038391, 0.451872855424881, 0.4230097830295563, -0.7503682374954224, 0.26952818036079407, -0.36305901408195496, -0.43396320939064026, -0.6421699523925781, 0.16103458404541016, 0.2605058550834656, 0.23604269325733185, 0.3527199327945709, -0.5708164572715759, -0.4582624137401581, -0.6804246306419373, -0.3940636217594147, 0.028165588155388832, -0.04958643764257431, 0.2927405834197998, 0.2610622048377991, -0.4347509741783142, 0.775481104850769, -0.6726261973381042, -0.15287089347839355, -0.5119432210922241, 0.18742933869361877, 0.42442786693573, 0.22177410125732422, 0.4469074308872223, -0.7377815842628479, -0.7053996920585632, 0.10105223953723907, -0.494473397731781, -0.053287118673324585, -0.11759042739868164, -0.2827019989490509, 0.2079993635416031, 0.49039900302886963, -0.6991147994995117, 0.22590847313404083, 0.30909955501556396, -0.13328613340854645, 0.5815751552581787, -0.473491907119751, 0.23048454523086548, -1.3871471881866455, 0.15426820516586304, 0.01714816316962242, -0.43415480852127075, -0.7772889733314514, 0.18692640960216522, 0.013160360977053642, -0.579021155834198, -0.3875296115875244, 0.6822331547737122, -0.64422208070755, -0.2832690477371216, -0.5691508054733276, 0.11737695336341858, 0.17229779064655304, 0.6155341267585754, 0.438720166683197, 0.8929262161254883, 0.6482274532318115, -0.9238680601119995, 0.3021214008331299, 0.35997191071510315, -0.6679274439811707, 0.315528005361557, -0.6885090470314026, 0.24610477685928345, -0.11160611361265182, -0.045382652431726456, -0.6573705673217773, -0.1562965214252472, -0.11644067615270615, -0.22007538378238678, 0.48889583349227905, -0.11315789073705673, -0.5432374477386475, -0.3505774736404419, 0.2547720670700073, 0.14457370340824127, 0.763770580291748, -0.39744827151298523, 0.5687888860702515, 0.3813929557800293, -0.6575205326080322, -0.25433701276779175, -0.47589269280433655, 0.03412686288356781, -0.11694381386041641, -0.4049414396286011, 0.2132963091135025, -0.1392313688993454, -0.00787377916276455, -0.061080507934093475, -0.13259659707546234, -0.6664611101150513, 0.4635695219039917, -0.2072666585445404, 0.2930576205253601, -0.44935038685798645, -0.18988849222660065, -0.227279394865036, -0.11574891209602356, 0.25862056016921997, -0.2726614773273468, 0.6166217923164368, 0.1636204570531845, -0.12982586026191711, -0.5992375612258911, 0.05757575109601021, 0.3860616087913513, -0.309981107711792, 0.7819346785545349, 0.07035184651613235, -0.4026417136192322, -0.24784408509731293, -0.5824511051177979, -0.04320111870765686, -0.5169380903244019, 0.7697022557258606, -0.5358058214187622, -0.8177396059036255, 0.4217783212661743, -0.3468649387359619, -0.1321789175271988, 0.3795449733734131, 0.5712591409683228, -0.012981914915144444, 0.8988721966743469, 1.0301380157470703, -0.3651042580604553, 0.4393720328807831, 0.007375472690910101, 0.5379448533058167, -0.435574471950531, -0.1097646951675415, -0.6053733825683594, 0.08204182237386703, -0.47620463371276855, -0.2681347727775574, 0.05238990858197212, 0.19806303083896637, -0.18456658720970154, 0.37202778458595276, 0.19091039896011353, 0.6065471768379211, 0.4404955804347992, -0.17573648691177368, 0.267155259847641, -0.14336247742176056, 0.15417735278606415, 0.10178954899311066, -0.6169300675392151, -0.460736483335495, 1.155313491821289, 0.2977665066719055, 0.8139323592185974, 0.039430856704711914, 0.3306823670864105, 0.031792718917131424, 0.4376365542411804, -0.5353385806083679, 0.4089624881744385, -0.28702497482299805, -0.8414227962493896, -0.22690045833587646, -0.510066568851471, -0.9571744799613953, -0.006037749350070953, 0.0640215203166008, -0.4572162628173828, -0.10126091539859772, 0.055274199694395065, -0.16376732289791107, 0.15698447823524475, -0.7153295874595642, 1.1017251014709473, -0.5010015964508057, -0.1932782381772995, -0.23786784708499908, -0.3791827857494354, -0.02322539873421192, -0.6474429965019226, 0.1749858260154724, -0.11160465329885483, -0.019022153690457344, 0.7971616387367249, -0.11248499900102615, 0.7636968493461609, -0.2407970279455185, -0.210049569606781, 0.1583368331193924, -0.2867831885814667, 0.44470319151878357, -0.04942911118268967, -0.034737151116132736, 0.07185883820056915, -0.023488463833928108, -0.5142709016799927, -0.7531309127807617, 0.3200840651988983, -0.9455683827400208, -0.9602032899856567, -0.29648423194885254, -0.44410425424575806, -0.8923884630203247, 0.5071208477020264, 0.16603556275367737, 0.2965257167816162, -0.36432427167892456, 0.24694889783859253, 0.875699520111084, -0.39719316363334656, 0.046307001262903214, 1.0425500869750977, -0.2824283838272095, -0.23742420971393585, 0.660641074180603, 0.06215366721153259, 0.3025040626525879, 0.5644538402557373, -0.000558704137802124, -0.4979068636894226, -0.6157941818237305, -0.2672029435634613, 0.5173866152763367, -0.5599477291107178, -0.01216152124106884, -0.561709463596344, -0.30583783984184265, -0.4823480248451233, 0.0668693259358406, -0.3032596707344055, 0.02021768130362034, -0.18009591102600098, 0.048916324973106384, 0.11837092787027359, 0.7274619936943054, 0.6507980227470398, 0.34911292791366577, -0.8541891574859619, 0.40578752756118774, 0.31542012095451355, 0.48741310834884644, -0.20728720724582672, -0.738978385925293, -0.7007413506507874, 0.21969357132911682, -0.17640651762485504, -0.5781629681587219, 0.4230596423149109, 0.15482529997825623, 0.7903301119804382, 0.2174646109342575, -0.11634911596775055, 0.6362779140472412, -0.5345363020896912, 0.8287132382392883, 0.18544256687164307, -0.8930865526199341, 0.5810482501983643, -0.26655852794647217, 0.41420722007751465, 0.6002748012542725, 1.071160078048706, -0.5775927901268005, -0.30993643403053284, -0.688774585723877, -0.6144809126853943, 0.5810704231262207, -0.41711899638175964, 0.527065098285675, 0.16602516174316406, 0.7048755884170532, 0.17427003383636475, 0.5692949295043945, -0.7734894156455994, -0.0765797570347786, 0.10007715970277786, -0.24755454063415527, -0.3543630838394165, -0.3630692958831787, 0.27127811312675476, -0.016034826636314392, 1.0656871795654297, -0.04639413207769394, 0.09548391401767731, -0.20501795411109924, -0.352684885263443, 0.1724127233028412, 0.32146796584129333, 0.1837698221206665, 1.144365906715393, -0.0025235870853066444, -0.3217490315437317, 0.23549091815948486, -0.5042673349380493, 0.20295561850070953, 0.05038003996014595, -0.1393052488565445, -0.09166640788316727, 0.16117534041404724, 1.0325708389282227, 0.1301000714302063, -0.8504133820533752, 0.5249240398406982, 0.0025001121684908867, -0.3905906677246094, -0.20526844263076782, 0.021525397896766663, 0.11231773346662521, 0.04326878488063812, 0.25581714510917664, -0.5049676299095154, -0.22298124432563782, -0.824871838092804, 0.016760369762778282, 0.26766425371170044, -0.12171737104654312, -0.3115905225276947, 0.6313074827194214, 0.16825471818447113, -0.09430653601884842, 0.6180158257484436, -0.02589208260178566, -0.6409010291099548, 0.5115460157394409, 0.7500322461128235, 0.8179333806037903, -0.27579960227012634, 0.09519154578447342, 0.06695040315389633, 0.19491782784461975, -0.13369004428386688, 0.40364179015159607, 0.22643670439720154, -0.9940983057022095, -0.527350127696991, -0.5121187567710876, -0.8903324604034424, 0.57362300157547, -0.6699369549751282, 0.23750776052474976, -0.7471792101860046, -0.23932692408561707, -0.1950296312570572, 0.5316199064254761, -0.7287271022796631, 0.7088449001312256, -0.1234380379319191, 0.7692731022834778, -0.7276496887207031, 1.06732976436615, 0.9377703070640564, -0.5255748629570007, -0.8466518521308899, 0.06333789974451065, -0.8296715021133423, -0.865301251411438, 0.7321823239326477, 0.06367647647857666, 0.07092753797769547, 0.3057122230529785, -0.38427895307540894, -0.9301939606666565, 0.900986909866333, 0.3866908848285675, -0.6682917475700378, 0.14392220973968506, 0.395564466714859, 0.6704826354980469, -0.3753468692302704, -0.1326863169670105, 0.5204586386680603, 0.2033945769071579, -0.28328266739845276, -0.6820805668830872, -0.2208532691001892, -0.28772687911987305, 0.20925301313400269, 0.1639220416545868, -0.7615147233009338, 0.4684816002845764, 0.09066479653120041, -0.15183046460151672, 0.027716124430298805, 0.6572481989860535, 0.16542550921440125, 0.21875625848770142, 0.25472062826156616, 0.6190956234931946, 1.0685960054397583, -0.03560454398393631, 0.9226475358009338, -0.6169360876083374, -0.03399411961436272, 1.2808995246887207, -0.865708589553833, 1.0638748407363892, 0.07216636091470718, -0.23303763568401337, 0.7198675274848938, 0.6108261346817017, -0.11139564961194992, 0.43051108717918396, 0.1372402012348175, -0.22402729094028473, -0.26473870873451233, -0.051220446825027466, -0.4793541431427002, 0.24640926718711853, 0.1183256134390831, -0.050546806305646896, 0.2858981192111969, 0.12419568002223969, 0.1499069482088089, -0.15603430569171906, -0.38912492990493774, 0.8993366956710815, 0.14125372469425201, -0.8054823875427246, 0.3834872543811798, 0.26404809951782227, 0.390646368265152, -1.0137723684310913, 0.54725581407547, -0.3360600471496582, 0.12575462460517883, 0.1864417940378189, -0.5184763073921204, 0.17871586978435516, 0.23940502107143402, -0.15967540442943573, -0.2871909737586975, 0.6380272507667542, -0.5303263068199158, -0.1790410280227661, 0.18043124675750732, 0.34342747926712036, 0.2157946079969406, -0.18038471043109894, -0.6548587679862976, -0.09114609658718109, -0.1577344387769699, -0.2618401348590851, 0.4001674950122833, 0.5656980276107788, -0.0534653514623642, 0.7262277007102966, 0.6419190764427185, 0.19548606872558594, 0.19447128474712372, 0.6071772575378418, 0.6918409466743469, -0.8372268676757812, -0.7474849820137024, -0.2821480333805084, 0.13507050275802612, -0.05785253643989563, -0.3500938415527344, 0.786982536315918, 0.5593464970588684, 1.1272231340408325, -0.31060799956321716, 0.8603700995445251, 0.5325390100479126, 0.41723400354385376, -0.7298460602760315, 0.71844083070755, -0.7250884771347046, 0.10307689756155014, 0.05700305104255676, -1.0212632417678833, -0.05680500343441963, 0.44819918274879456, -0.5108219385147095, 0.44675928354263306, 0.8908831477165222, 0.6618449091911316, 0.18849687278270721, 0.09310449659824371, 0.5506126880645752, 0.4540415108203888, 0.24458461999893188, 0.5561434030532837, 0.7812107801437378, -0.41134053468704224, 0.2573727071285248, -0.056198637932538986, -0.0515257902443409, -0.09115749597549438, -0.8433051109313965, -0.7991256713867188, -0.3738609850406647, -0.8412246704101562, -0.1139688789844513, 0.04762449115514755, 0.6362392902374268, 0.5541888475418091, -0.6582629084587097, -0.44032391905784607, 0.12026158720254898, -0.2274285852909088, -0.11102216690778732, -0.20675304532051086, 0.04127688333392143, -0.6437975764274597, -0.5212028622627258, 0.384798139333725, 0.2800542116165161, 0.24395333230495453, -0.11277447640895844, 0.08223998546600342, -0.23509204387664795, 0.34726482629776, 0.5606338381767273, 0.23039421439170837, -0.10724101960659027, 0.05497844144701958, 0.03635941818356514, -0.023933840915560722, 0.10532302409410477, 0.8071265816688538, -0.42189332842826843, 0.1954907774925232, 0.28049349784851074, 1.1571804285049438, 0.6608225703239441, -0.056798238307237625, 0.7982075810432434, -0.6142539381980896, 0.029238076880574226, 0.04500771686434746, 0.3834044933319092, 0.4824080765247345, -0.3365313708782196, 0.22529907524585724, 0.3800928592681885, -0.4930799901485443, -0.46779865026474, 0.27187079191207886, -0.6685070991516113, -0.5384864807128906, 0.960149347782135, -0.25710269808769226, -0.4157138168811798, -0.35462674498558044, 0.008747005835175514, 0.16338017582893372, 0.15435120463371277, 0.5494046807289124, 0.8624882698059082, 0.3672339618206024, -0.07716095447540283, -0.4050605595111847, 0.3643512725830078, 0.4047311246395111, -1.190521478652954, 0.09524895250797272, 0.28924763202667236, 0.5787031054496765, -0.24731436371803284, 1.0712651014328003, -0.008512597531080246, 0.42389050126075745, -0.18392039835453033, 0.13389787077903748, 0.10712363570928574, -0.39041516184806824, -0.3787037432193756, 0.12500131130218506, 0.6323602795600891, 0.04293760657310486 ]
http://arxiv.org/abs/2404.08259v1
http://arxiv.org/pdf/2404.08259v1
Investigating Neural Machine Translation for Low-Resource Languages: Using Bavarian as a Case Study
2024-04-12T06:16:26
2024-04-12T06:16:26
Wan-Hua Her, Udo Kruschwitz
cs.CL
cs.CL
Machine Translation has made impressive progress in recent years offering close to human-level performance on many languages, but studies have primarily focused on high-resource languages with broad online presence and resources. With the help of growing Large Language Models, more and more low-resource languages achieve better results through the presence of other languages. However, studies have shown that not all low-resource languages can benefit from multilingual systems, especially those with insufficient training and evaluation data. In this paper, we revisit state-of-the-art Neural Machine Translation techniques to develop automatic translation systems between German and Bavarian. We investigate conditions of low-resource languages such as data scarcity and parameter sensitivity and focus on refined solutions that combat low-resource difficulties and creative solutions such as harnessing language similarity. Our experiment entails applying Back-translation and Transfer Learning to automatically generate more training data and achieve higher translation performance. We demonstrate noisiness in the data and present our approach to carry out text preprocessing extensively. Evaluation was conducted using combined metrics: BLEU, chrF and TER. Statistical significance results with Bonferroni correction show surprisingly high baseline systems, and that Back-translation leads to significant improvement. Furthermore, we present a qualitative analysis of translation errors and system limitations.
[ -0.4397406578063965, -0.5539968609809875, 0.5844733119010925, 0.2295612096786499, -0.29029956459999084, 0.06986304372549057, -0.6250051259994507, -0.36426636576652527, 0.059290312230587006, 0.17566771805286407, -0.39257994294166565, -0.3882123529911041, -0.6778317093849182, 0.40210622549057007, -0.309600293636322, 0.857562243938446, -0.20387817919254303, 0.49430835247039795, 0.10287727415561676, -0.5365694165229797, -0.4968354403972626, -0.8069906234741211, -0.6746584177017212, -0.5439711213111877, 0.7209978103637695, 0.28930002450942993, 0.6374420523643494, 0.6222206950187683, 0.5824442505836487, 0.30799388885498047, -0.1067904531955719, 0.10143865644931793, -0.29616430401802063, 0.06154751032590866, -0.15138475596904755, -0.32096099853515625, -0.3514476418495178, -0.42943131923675537, 0.8105108141899109, 0.9189473986625671, 0.24083442986011505, 0.2527407109737396, 0.20506738126277924, 0.5750569105148315, -0.7043017148971558, 0.09504810720682144, -0.4761536717414856, 0.234889954328537, -0.20214734971523285, -0.11512355506420135, -0.31205952167510986, -0.20233765244483948, 0.0065859402529895306, -0.294283390045166, 0.39331957697868347, -0.06077682599425316, 0.6505602598190308, 0.36009418964385986, -0.44916531443595886, -0.044511280953884125, -0.8955442309379578, 0.7988954782485962, -0.7137424945831299, 0.5322213768959045, 0.25508618354797363, 0.1468142420053482, -0.0395827554166317, -0.46612292528152466, -0.3695078194141388, -0.19338010251522064, -0.2742600739002228, 0.06788236647844315, -0.5161431431770325, -0.37090596556663513, 0.06365016847848892, 0.07086128741502762, -0.6092783808708191, 0.33989331126213074, -0.21018771827220917, -0.24962730705738068, 0.38808420300483704, 0.19156228005886078, -0.01563144288957119, -0.059835053980350494, -0.06419830024242401, -0.37209680676460266, -0.2900160551071167, -0.03129369020462036, 0.31664276123046875, 0.524463415145874, -0.07066433876752853, 0.4183063805103302, -0.2081376016139984, 0.6871967911720276, -0.1436557173728943, 0.37438684701919556, 0.3785956799983978, -0.5968271493911743, -0.04964292421936989, 0.11034232378005981, 0.8165881633758545, 0.030771609395742416, 0.09113515913486481, -0.49013420939445496, -0.484284907579422, -0.16463665664196014, 0.20147289335727692, -0.8252513408660889, 0.05122864618897438, -0.12507082521915436, -0.6492350697517395, -0.09661483019590378, -0.3758613169193268, -0.6076930165290833, -0.1969107836484909, -0.15501926839351654, 0.27668386697769165, -0.645704984664917, -0.1510312855243683, -0.00865813810378313, 0.05731192231178284, -0.027859045192599297, 0.12170764058828354, -0.9514920711517334, 0.24964575469493866, 0.24688935279846191, 0.9865689873695374, -0.2939971685409546, -0.49462324380874634, -0.45745953917503357, -0.05654556676745415, -0.5574694275856018, 0.6424404978752136, -0.13477693498134613, -0.33255958557128906, 0.01119579654186964, 0.030618129298090935, -0.08443854749202728, -0.6554544568061829, 0.5076743960380554, -0.6668638586997986, -0.1214570701122284, -0.07351939380168915, -0.16212034225463867, -0.08971435576677322, 0.19166281819343567, -0.7131763696670532, 0.7728891372680664, 0.07835985720157623, -0.535224437713623, 0.12060081213712692, -0.5286445617675781, -1.0563181638717651, -0.025654183700680733, 0.0788145661354065, -0.23311617970466614, 0.5279160141944885, 0.07480071485042572, 0.2703763246536255, -0.3731423318386078, 0.005616954527795315, -0.08297545462846756, -0.40179046988487244, 0.4300156533718109, -0.8169465065002441, 0.6471783518791199, 0.2841823399066925, -0.3455843925476074, 0.05025478079915047, -0.6555075645446777, 0.3163401782512665, 0.17945504188537598, -0.5814040303230286, -0.2871619760990143, -0.4413730800151825, 0.32147419452667236, 0.26200881600379944, 0.35325732827186584, -0.25537002086639404, -0.11222206801176071, -0.3759554922580719, 0.5554143786430359, 0.4026619791984558, -0.22162096202373505, 0.7128575444221497, -0.06453672796487808, 0.49297186732292175, 0.10669338703155518, -0.17956037819385529, 0.029446976259350777, -0.21054096519947052, -0.8738362193107605, 0.05994703993201256, 0.6452683210372925, 0.6779471039772034, -1.0104516744613647, 0.33951783180236816, -0.4038788974285126, -0.3424789607524872, -0.8504698872566223, 0.20167165994644165, 0.4423378109931946, 0.5090327858924866, 0.5582157969474792, -0.4375161826610565, -0.20053285360336304, -1.1929951906204224, -0.11568186432123184, 0.05723259225487709, -0.0936049297451973, 0.23081056773662567, 0.32468748092651367, -0.1366586983203888, 0.35718342661857605, -0.2327893078327179, -0.22124582529067993, -0.09517043828964233, 0.19082051515579224, 0.15192201733589172, 0.5601925253868103, 0.5205824375152588, -0.6849455833435059, -0.2589796483516693, 0.4098200798034668, -0.8109421133995056, 0.16713516414165497, -0.00809591356664896, -0.1795617789030075, 0.6470756530761719, 0.34474849700927734, -0.5796990990638733, 0.12474385648965836, 0.6943280100822449, 0.046280521899461746, 0.2800998389720917, -0.5471248030662537, 0.2881307899951935, -0.9484184384346008, 0.4165066182613373, -0.05934730917215347, -0.11987770348787308, -0.5784552693367004, -0.06402657926082611, 0.013223908841609955, -0.2536526620388031, -0.6075308918952942, 0.5305680632591248, -0.3072133958339691, -0.22275124490261078, -0.3580567538738251, -0.02879294753074646, -0.21980370581150055, 0.6356794238090515, -0.021752702072262764, 0.6664018630981445, 0.18793943524360657, -0.5591109991073608, 0.4092678725719452, 0.10116095840930939, -0.03970474377274513, 0.5841424465179443, -0.2049034684896469, 0.21167181432247162, 0.060120370239019394, -0.026675865054130554, -0.5938860774040222, -0.11356540769338608, 0.43342289328575134, -0.5717481374740601, 0.3439132571220398, -0.1201377883553505, -0.8210800886154175, -0.18137745559215546, 0.3714714050292969, 0.5481637120246887, 0.546894907951355, -0.1277550309896469, 0.305160790681839, 0.06859711557626724, -0.3016175627708435, -0.3057221472263336, -0.9857860207557678, 0.30548226833343506, -0.16262272000312805, -0.45919403433799744, 0.302946001291275, 0.18129415810108185, -0.1964598447084427, 0.32138895988464355, -0.1035790666937828, -0.4185624122619629, 0.18934622406959534, -0.24066442251205444, 0.10550832003355026, -0.4524068832397461, 0.43592047691345215, 0.05138561502099037, -0.24080470204353333, -0.13985693454742432, -0.754102349281311, 0.5798730254173279, -0.5285666584968567, -0.3321540355682373, -0.44542238116264343, 0.4023967981338501, 0.30238768458366394, -0.3006654977798462, 0.7072689533233643, 0.8731339573860168, -0.5756815671920776, 0.0799165889620781, -0.2976594567298889, -0.4571981132030487, -0.3849460184574127, 0.5816912651062012, -0.5264143943786621, -0.6792711615562439, 0.3745264708995819, -0.11537349224090576, -0.12763290107250214, 0.567744791507721, 0.7073573470115662, -0.171763077378273, 1.0698833465576172, 0.7116978764533997, 0.022572319954633713, 0.41468095779418945, -0.12578420341014862, 0.1814490109682083, -0.211272731423378, 0.046760670840740204, -0.6414381861686707, -0.6287533640861511, -0.8160111308097839, -0.2171814888715744, 0.15652048587799072, 0.17444290220737457, -0.009566950611770153, 0.716154158115387, -0.26060330867767334, 0.19839167594909668, 0.7744194269180298, -0.06684238463640213, 0.47340261936187744, 0.15344366431236267, -0.17641675472259521, -0.18760372698307037, -1.1536930799484253, -0.5341558456420898, 0.7030711770057678, -0.02337736263871193, 0.270332008600235, -0.07916546612977982, 0.7347381711006165, 0.2671968638896942, 0.3821181654930115, -0.877471387386322, 0.3096352517604828, -0.4386051893234253, -0.49745941162109375, -0.5241568684577942, -0.736186146736145, -0.9714716076850891, 0.38796016573905945, -0.3832882344722748, -0.2551524043083191, 0.08635827153921127, 0.15951363742351532, -0.3156789243221283, 0.2790321707725525, -0.8431142568588257, 0.9640974998474121, -0.7078898549079895, -0.3921695947647095, -0.40213873982429504, -0.6512482762336731, -0.05495423078536987, -0.4386095106601715, 0.16495907306671143, 0.18790747225284576, 0.0098762521520257, 0.36193662881851196, -0.050728876143693924, 0.5740556716918945, 0.11423642933368683, -0.1303943693637848, -0.06530920416116714, 0.15092505514621735, 0.25931113958358765, -0.25550585985183716, -0.2319740355014801, 0.5291231274604797, -0.09707590937614441, -0.5889335870742798, -0.663748562335968, 0.7038677930831909, -0.6014521718025208, -0.4159601330757141, -0.2555873394012451, -0.7186142802238464, -0.22362235188484192, 0.6394833922386169, 0.4820817708969116, -0.16295617818832397, -0.2481791079044342, 0.12413207441568375, 0.37097403407096863, -0.19495119154453278, 0.5883164405822754, 0.5191753506660461, 0.19565965235233307, -0.3669547438621521, 1.088804006576538, 0.3155239522457123, -0.034225087612867355, 0.12867672741413116, -0.07114119827747345, -0.11730014532804489, -0.5960023403167725, -1.1189444065093994, 0.11427765339612961, -0.4884510636329651, -0.14396046102046967, -0.43790796399116516, -0.1606183499097824, -0.26945966482162476, -0.08783643692731857, -0.48430556058883667, -0.451876163482666, -0.22994662821292877, 0.20238707959651947, -0.0460905022919178, 0.4927852153778076, -0.09754303842782974, 0.37264546751976013, -1.1292381286621094, -0.01455091405659914, -0.1920497864484787, 0.21935515105724335, 0.20424921810626984, -0.32094666361808777, -0.8348700404167175, 0.02285504713654518, -0.4459776282310486, -0.7809709310531616, 0.5246906876564026, -0.15646180510520935, 0.4883251190185547, -0.12400417029857635, 0.06795132160186768, 0.3778727650642395, -0.6573302745819092, 0.19399653375148773, 0.2065054178237915, -0.8536744713783264, 0.2394464761018753, -0.13533128798007965, 0.3253333270549774, 0.5298216938972473, 0.27878859639167786, -0.6797493100166321, -0.19533222913742065, -0.5465158224105835, -0.7524041533470154, 0.7004534006118774, 0.5058630704879761, 0.33888328075408936, 0.33229073882102966, 0.25871574878692627, 0.122665636241436, 0.3876911699771881, -0.4299168884754181, -0.09027458727359772, -0.11522878706455231, -0.0805082693696022, -0.34264862537384033, 0.4268788695335388, -0.08716372400522232, 0.1199013739824295, 0.6203547716140747, -0.12796418368816376, 0.03501532971858978, -0.007246552035212517, -0.2728222906589508, -0.21849395334720612, 0.5293164253234863, 0.47914668917655945, 0.329601526260376, 0.14025627076625824, 0.11906109005212784, 0.6967540383338928, -0.03678133711218834, 0.48580071330070496, 0.4911162853240967, -0.300249844789505, 0.13342127203941345, 0.40487250685691833, 0.7999059557914734, 0.0808311477303505, -0.4212819039821625, 0.21758009493350983, -0.02707810141146183, -0.02877112105488777, -0.1073477640748024, -0.29356998205184937, 0.28615912795066833, 0.4404269754886627, 0.30570077896118164, 0.46479666233062744, 0.043832313269376755, -0.3326534032821655, 0.08333927392959595, 0.27230408787727356, -0.5537222027778625, -0.3807196617126465, 0.38566863536834717, 0.2507811188697815, -0.5292162895202637, 0.7665572166442871, -0.3081623613834381, -0.3984394073486328, 0.5160340666770935, 0.5025767087936401, 0.781378448009491, 0.057569682598114014, 0.12405569851398468, 0.11215011775493622, 0.4151349663734436, -0.041000910103321075, 0.03152140602469444, -0.0716773048043251, -0.5967053771018982, -0.4830271005630493, -0.5445313453674316, -0.22192879021167755, 0.1843162626028061, -0.6157297492027283, 0.23855389654636383, -0.24682307243347168, -0.6234097480773926, -0.21323232352733612, -0.12304671108722687, -0.8806694746017456, -0.007426357362419367, 0.1809195727109909, 0.6837161183357239, -0.7884042859077454, 0.8951451182365417, 0.8349812030792236, -0.421633780002594, -0.3503290116786957, 0.19011330604553223, -0.32361268997192383, -0.5979913473129272, 0.8182523846626282, -0.09005851298570633, -0.3929966986179352, 0.22434957325458527, -0.03328441083431244, -0.5853446125984192, 0.6899740695953369, 0.7837091684341431, -0.48882853984832764, -0.21928207576274872, 0.1786758005619049, 1.0016803741455078, -0.05987463518977165, -0.28260084986686707, 0.5821869969367981, 0.6256479024887085, -0.21492213010787964, -0.7848688364028931, 0.04282214492559433, -0.24444793164730072, -0.056773047894239426, 0.22387540340423584, -0.7243785262107849, 0.6252827048301697, -0.14268821477890015, -0.2513868808746338, 0.20628291368484497, 0.6008066534996033, -0.10312741994857788, 0.3893643021583557, 0.23345023393630981, 0.4694579541683197, 0.5201541185379028, -0.03377357870340347, 0.9572488069534302, -0.4857726991176605, 0.20915158092975616, 1.0121136903762817, -0.2917303144931793, 0.7984586358070374, 0.6672180891036987, 0.17475734651088715, 0.03394164517521858, 0.5761581659317017, -0.12931008636951447, 0.5295089483261108, 0.3297808766365051, -0.2731550335884094, -0.3437824547290802, -0.45481204986572266, -0.3405994474887848, 0.4620157480239868, 0.00892649032175541, -0.35002997517585754, -0.24019412696361542, 0.09825453907251358, -0.04525662586092949, 0.09891169518232346, -0.032962530851364136, 0.6413077712059021, 0.21741145849227905, -0.689236581325531, 0.8163246512413025, 0.3546946346759796, 0.5014632344245911, -0.3990328013896942, 0.02078651264309883, -0.3636432886123657, 0.3597409427165985, 0.008283738978207111, -0.5012916922569275, 0.4454919993877411, 0.18022166192531586, -0.21529799699783325, -0.4329470694065094, 0.571705162525177, -0.32020601630210876, -0.5680974125862122, 0.6383332014083862, 1.0057717561721802, 0.20038530230522156, 0.03282869979739189, -0.4585992991924286, -0.13877102732658386, -0.24364924430847168, -0.03614816442131996, 0.4248740077018738, 0.6198340654373169, -0.16852417588233948, 0.36186686158180237, 0.5875540375709534, 0.41096028685569763, -0.06636074930429459, -0.04995562881231308, 0.635380208492279, -0.6249467134475708, -0.4143892228603363, -0.9057170152664185, 0.029451260343194008, 0.1838134080171585, -0.3928021788597107, 0.6284485459327698, 0.5894357562065125, 1.2320799827575684, -0.12972362339496613, 0.8612294793128967, 0.21873432397842407, 0.03906593471765518, -0.4937356114387512, 1.08133864402771, -0.6650818586349487, -0.22647453844547272, 0.005689979065209627, -1.0354079008102417, -0.3639523684978485, 0.34721916913986206, -0.2332669049501419, -0.04459888115525246, 0.7042398452758789, 0.48514899611473083, -0.1315327286720276, -0.2623356282711029, 0.5555493235588074, 0.08122522383928299, -0.0785088911652565, 0.6743150949478149, 0.7622490525245667, -0.3278807997703552, 1.0677753686904907, -0.3180209696292877, -0.027592511847615242, -0.26114097237586975, -0.6060976386070251, -0.5009644627571106, -0.46431779861450195, 0.026507629081606865, -0.4368552267551422, 0.2872830927371979, 0.7119132280349731, 0.6542654037475586, -0.9244921207427979, -0.4335574805736542, 0.08802446722984314, 0.04055853560566902, -0.29580581188201904, -0.08988846093416214, 0.33132728934288025, -0.5361389517784119, -0.830734133720398, 0.5336397886276245, 0.08772674947977066, 0.35169947147369385, -0.18373581767082214, -0.29278498888015747, 0.023236608132719994, -0.26248449087142944, 0.4238426089286804, 0.2347322702407837, -0.42766323685646057, -0.0730401948094368, 0.35908788442611694, -0.4770703911781311, 0.14936348795890808, 1.000710368156433, -0.5605342984199524, 0.12974341213703156, 0.5434447526931763, 1.168224573135376, 0.6393323540687561, -0.2801574766635895, 0.6855233907699585, -0.7622796297073364, 0.21553649008274078, 0.3286038935184479, 0.356017142534256, 0.6054785847663879, -0.225625142455101, 0.3714461624622345, 0.2762422263622284, -0.19541329145431519, -0.5853509902954102, 0.3140469193458557, -0.26081886887550354, -0.29576975107192993, 0.7169593572616577, -0.21300114691257477, -0.1045117899775505, 0.1305609941482544, -0.0091862166300416, 0.8001556396484375, -0.36345046758651733, 0.792341411113739, 1.0636076927185059, -0.16217182576656342, 0.06979796290397644, -0.5621011853218079, 0.19359363615512848, 0.7831631302833557, -0.6375698447227478, -0.030047951266169548, 0.4771706759929657, -0.013882556930184364, 0.37066367268562317, 0.3485721945762634, 0.04028892144560814, 0.22136002779006958, 0.06623805314302444, 0.026691893115639687, 0.07031340152025223, -0.2450721263885498, -0.8466475009918213, 0.02183404564857483, 0.007169289048761129, -0.26185014843940735 ]
http://arxiv.org/abs/2404.08191v1
http://arxiv.org/pdf/2404.08191v1
Measuring Cross-lingual Transfer in Bytes
2024-04-12T01:44:46
2024-04-12T01:44:46
Leandro Rodrigues de Souza, Thales Sales Almeida, Roberto Lotufo, Rodrigo Nogueira
cs.CL
cs.CL
Multilingual pretraining has been a successful solution to the challenges posed by the lack of resources for languages. These models can transfer knowledge to target languages with minimal or no examples. Recent research suggests that monolingual models also have a similar capability, but the mechanisms behind this transfer remain unclear. Some studies have explored factors like language contamination and syntactic similarity. An emerging line of research suggests that the representations learned by language models contain two components: a language-specific and a language-agnostic component. The latter is responsible for transferring a more universal knowledge. However, there is a lack of comprehensive exploration of these properties across diverse target languages. To investigate this hypothesis, we conducted an experiment inspired by the work on the Scaling Laws for Transfer. We measured the amount of data transferred from a source language to a target language and found that models initialized from diverse languages perform similarly to a target language in a cross-lingual setting. This was surprising because the amount of data transferred to 10 diverse target languages, such as Spanish, Korean, and Finnish, was quite similar. We also found evidence that this transfer is not related to language contamination or language proximity, which strengthens the hypothesis that the model also relies on language-agnostic knowledge. Our experiments have opened up new possibilities for measuring how much data represents the language-agnostic representations learned during pretraining.
[ -0.46707260608673096, -0.37702879309654236, 0.46455544233322144, 0.2352139949798584, -0.0465887226164341, 0.012884551659226418, -0.16649901866912842, -0.7334749102592468, 0.4962681829929352, 0.26972776651382446, -0.3968532383441925, 0.049843382090330124, -0.6644887328147888, 0.0716891884803772, -0.5066689848899841, 0.8241748213768005, -0.34587201476097107, 0.2487344741821289, -0.1372913122177124, -0.3106151819229126, -0.27796095609664917, -0.5284874439239502, -0.13539373874664307, -0.4909851849079132, 0.39448973536491394, 0.222751647233963, 0.5629960298538208, 0.5506407022476196, 0.36514922976493835, 0.23516133427619934, 0.37172773480415344, -0.5845741033554077, -0.3884274661540985, -0.39410367608070374, -0.5566551685333252, -0.7757971286773682, -0.22884908318519592, 0.07506097853183746, 0.9319366812705994, 1.1530739068984985, 0.09776012599468231, 0.37637948989868164, -0.03215315565466881, 0.46940580010414124, -0.6264031529426575, -0.07126552611589432, -0.6202524304389954, 0.33331307768821716, -0.3307724595069885, -0.13700439035892487, -0.5734501481056213, -0.13964445888996124, 0.24619659781455994, -0.8919869065284729, 0.21695950627326965, -0.027510838583111763, 0.7570367455482483, -0.15892408788204193, -0.6681475043296814, -0.3718299865722656, -0.7836463451385498, 0.778529703617096, -0.2938452363014221, 0.674763560295105, 0.34498330950737, 0.13579747080802917, 0.37141847610473633, -0.4966271221637726, -0.5102669596672058, -0.253361314535141, -0.19400976598262787, -0.026907458901405334, -0.40601539611816406, -0.20127475261688232, 0.20475922524929047, 0.19425663352012634, -0.49621570110321045, -0.01388291921466589, -0.5251480937004089, -0.5260339379310608, 0.41591140627861023, -0.12429168820381165, 0.6483751535415649, 0.19218656420707703, -0.5823627710342407, -0.28954917192459106, -0.6462429165840149, 0.10078217834234238, 0.40044403076171875, 0.34602615237236023, -0.30084317922592163, 0.4150448441505432, -0.008553246036171913, 0.5882577896118164, 0.0163875799626112, -0.004318626131862402, 0.3796510696411133, -0.8002269268035889, 0.18424494564533234, 0.3301301896572113, 0.7432693243026733, 0.10672000795602798, 0.7157604694366455, -0.4474436938762665, 0.07161073386669159, 0.061669208109378815, 0.2369077205657959, -1.0875009298324585, -0.19385817646980286, -0.4053346514701843, -0.42988407611846924, 0.0901528000831604, -0.10720942914485931, -0.5292878150939941, -0.14442653954029083, -0.18549491465091705, 0.6311270594596863, -0.5695214867591858, -0.7820103764533997, 0.23777680099010468, -0.04746254161000252, 0.2045903354883194, 0.045244503766298294, -1.3554564714431763, 0.32819730043411255, 0.2908732295036316, 0.6606549620628357, -0.3725244700908661, -0.7208282351493835, -0.25560104846954346, 0.17149142920970917, -0.4125750660896301, 0.7611865997314453, -0.6610119938850403, -0.2463308721780777, -0.07291590422391891, 0.054137393832206726, -0.3239784240722656, -0.3907488286495209, -0.2674054205417633, -0.4175756573677063, -0.04792695492506027, -0.6062852144241333, -0.5068950057029724, -0.24219390749931335, 0.20756256580352783, -0.5921626091003418, 0.6049699187278748, 0.22101980447769165, -0.6562603712081909, 0.6137682795524597, -0.3131599426269531, -0.6140048503875732, -0.03695262596011162, -0.25489500164985657, 0.09635443985462189, 0.2613069713115692, -0.17243604362010956, 0.20561492443084717, -0.19547255337238312, 0.012356902472674847, -0.5227968692779541, -0.21978969871997833, 0.26068028807640076, -0.36554551124572754, 0.8000047206878662, 0.14322277903556824, -0.29441797733306885, -0.09667032212018967, -0.7171394228935242, 0.19995872676372528, 0.00007694689702475443, -0.3095690608024597, -0.5505832433700562, -0.4709629416465759, -0.12406247854232788, 0.19299133121967316, 0.3624500036239624, -0.717311680316925, 0.25951504707336426, -0.018918266519904137, 0.18314360082149506, 0.48068875074386597, -0.3318667411804199, 0.8746659159660339, -0.10857312381267548, 0.6448233723640442, 0.26852256059646606, -0.1816471964120865, -0.3241942524909973, -0.12143220752477646, -0.5518054962158203, 0.013083657249808311, 0.370599627494812, 0.3988148868083954, -0.5170428156852722, -0.04013700783252716, -0.6103583574295044, -0.4424872398376465, -0.7530956268310547, 0.09890619665384293, 0.35879603028297424, 0.33388903737068176, 0.35647743940353394, -0.5958101749420166, -0.3108794391155243, -1.054579496383667, -0.5035105347633362, -0.3319261968135834, 0.07830450683832169, 0.08993714302778244, 0.4199840724468231, -0.24979257583618164, 0.7432685494422913, -0.0720234215259552, -0.010226116515696049, -0.19966359436511993, 0.2988376021385193, -0.08510497957468033, 0.6027130484580994, 0.93826824426651, -0.6569534540176392, -0.8333883881568909, 0.41469308733940125, -0.5767407417297363, -0.07520841807126999, -0.06228083372116089, -0.14392657577991486, 0.06474675238132477, 0.4472614824771881, -0.4358266294002533, 0.286243200302124, 0.7193034291267395, -0.6203874945640564, 0.7738288044929504, -0.2401244044303894, 0.4049603343009949, -0.8252902030944824, 0.35399478673934937, -0.3112773895263672, -0.32717180252075195, -0.8969880938529968, -0.11198681592941284, 0.38332968950271606, 0.05092213302850723, -0.5964634418487549, 0.7564628720283508, -0.6402958631515503, -0.42296504974365234, -0.17060218751430511, -0.21033912897109985, 0.0215380247682333, 0.29633980989456177, 0.30002155900001526, 0.9119881391525269, 0.7551656365394592, -0.6242525577545166, 0.10227912664413452, 0.023586438968777657, -0.41369616985321045, 0.5913974642753601, -0.5247702598571777, 0.07776694744825363, 0.07426552474498749, -0.1732754409313202, -1.0066463947296143, 0.08056847006082535, 0.014409041963517666, -0.43392372131347656, 0.3141810894012451, -0.3044719696044922, -0.21575698256492615, 0.13500970602035522, 0.15023823082447052, 0.8184929490089417, 0.3990667760372162, -0.27729785442352295, 0.5452165603637695, 0.378971129655838, -0.19720560312271118, -0.5836948752403259, -0.996821939945221, -0.2430407702922821, -0.23718726634979248, -0.5655457377433777, 0.28956303000450134, -0.11472110450267792, -0.06596197932958603, 0.22181807458400726, -0.23880785703659058, -0.23187442123889923, 0.12344402819871902, -0.1398935765028, 0.09555749595165253, -0.40820759534835815, 0.014342454262077808, -0.10436476767063141, 0.04014739766716957, 0.48606860637664795, -0.4926839768886566, 0.6053363680839539, -0.26342183351516724, -0.6043664216995239, 0.058093395084142685, 0.2613309323787689, 0.6310729384422302, -0.3621346950531006, 0.8133084774017334, 0.7435550689697266, -0.23635002970695496, 0.025780195370316505, -0.3589504361152649, -0.07365179806947708, -0.4136308431625366, 0.572948157787323, -0.7647253274917603, -0.6887494921684265, 0.9530623555183411, 0.019765781238675117, -0.22495828568935394, 0.341942697763443, 0.3448253571987152, 0.3370486795902252, 0.8079289197921753, 0.9266216158866882, -0.1056659147143364, 0.5802678465843201, 0.05152877792716026, 0.04790326580405235, -0.4742272198200226, -0.0031299972906708717, -0.5667651891708374, -0.2381281554698944, -0.48806703090667725, -0.29308903217315674, 0.009626315906643867, 0.20612317323684692, -0.16167864203453064, 0.5316274762153625, 0.05952189117670059, 0.6046230792999268, 0.34166789054870605, -0.32850220799446106, 0.21032394468784332, 0.32269784808158875, -0.4449889659881592, -0.032571375370025635, -0.7321475148200989, -0.06276993453502655, 1.2250758409500122, 0.25766053795814514, 0.7444833517074585, 0.11853476613759995, 0.5159065127372742, 0.07615890353918076, 0.4012931287288666, -0.5124890208244324, 0.32057899236679077, -0.2297302633523941, -0.7947016358375549, -0.2898348569869995, -0.7164909243583679, -1.0022004842758179, 0.40698638558387756, -0.12999297678470612, -0.7792959213256836, 0.2406632900238037, -0.04134121537208557, 0.018748397007584572, 0.44906583428382874, -0.75490403175354, 1.110975980758667, -0.36715373396873474, -0.4144572615623474, -0.3723994791507721, -0.526997447013855, 0.0965893343091011, -0.3612157702445984, 0.2839851379394531, 0.021007085219025612, 0.16467511653900146, 0.8787251710891724, -0.058830033987760544, 0.5380833148956299, -0.15579159557819366, -0.2942027747631073, 0.21370260417461395, 0.5152924060821533, 0.19883204996585846, -0.38245320320129395, -0.009431225247681141, 0.35841065645217896, 0.32682713866233826, -0.6595566868782043, -0.4508182108402252, 0.37031057476997375, -0.8901064395904541, -0.29843226075172424, -0.228022962808609, -0.6485246419906616, -0.18386100232601166, 0.7661975622177124, 0.35677075386047363, 0.16078290343284607, -0.21030457317829132, 0.15271104872226715, 0.6481347680091858, -0.08936312794685364, 0.23162217438220978, 1.0495975017547607, -0.6035999059677124, 0.14871123433113098, 1.018175721168518, 0.32964423298835754, 0.7278280854225159, 0.48602357506752014, 0.14845037460327148, -0.3057183027267456, -0.6033774614334106, -0.6830653548240662, 0.219205841422081, -0.7345365881919861, 0.2967372238636017, -0.549269437789917, -0.031552206724882126, -0.557632327079773, -0.1454818695783615, -0.7375869750976562, -0.2821890711784363, -0.055428098887205124, -0.08634398132562637, -0.039013709872961044, 0.6190462112426758, -0.2453431785106659, 0.10985568165779114, -1.0125610828399658, 0.2179894596338272, 0.19269168376922607, 0.38141894340515137, 0.006913464050740004, -0.6777454018592834, -0.4406367838382721, 0.2248614877462387, 0.20469890534877777, -1.0562033653259277, 0.34520936012268066, 0.19109193980693817, 0.7540854215621948, 0.33793890476226807, -0.1357170194387436, 0.805401086807251, -0.4847697615623474, 0.4838802218437195, 0.4722476005554199, -1.1798393726348877, 0.16157273948192596, -0.21508489549160004, 0.38448068499565125, 0.7538079023361206, 0.7670862674713135, -0.6286559104919434, -0.14509204030036926, -0.4084782600402832, -0.4742138683795929, 0.7554143667221069, -0.2337183654308319, 0.14584970474243164, 0.1702141910791397, 0.09795205295085907, 0.4059722423553467, 0.22968895733356476, -0.8737771511077881, -0.16443364322185516, -0.18240080773830414, 0.05333047732710838, -0.23003271222114563, 0.05077401548624039, 0.24134600162506104, -0.2243693768978119, 0.27659058570861816, -0.1918659508228302, 0.11188196390867233, 0.1367768496274948, -0.543114423751831, -0.283790647983551, 0.28083696961402893, 0.27654242515563965, 0.7257110476493835, 0.05269807577133179, 0.5486042499542236, 0.242933452129364, -0.8914168477058411, 0.5546293258666992, -0.008746245875954628, -0.2103085219860077, -0.14002901315689087, 0.5091080665588379, 0.8448165059089661, 0.17641225457191467, -0.5632997751235962, 0.4678365886211395, -0.06319869309663773, -0.0945001095533371, -0.10563122481107712, -0.06625113636255264, 0.15098458528518677, -0.027888154610991478, 0.1807778924703598, 0.13255959749221802, 0.07746314257383347, -0.8636424541473389, 0.31204214692115784, 0.4305972158908844, -0.3796257972717285, -0.8975458145141602, 0.453640341758728, 0.0433184951543808, 0.11345230042934418, 0.6479982137680054, -0.2624439597129822, -0.5486657619476318, 0.5988473892211914, 0.7966212630271912, 0.495663583278656, -0.5341755151748657, 0.22045908868312836, 0.38069677352905273, 0.5147094130516052, -0.09608055651187897, 0.04408843815326691, -0.19675213098526, -1.0354204177856445, -0.48225143551826477, -0.6151257157325745, -0.08325236290693283, -0.04410092905163765, -0.950660228729248, 0.08727966248989105, 0.017582422122359276, 0.031926561146974564, 0.1735427975654602, 0.07830332219600677, -0.9884731769561768, -0.05856310576200485, 0.35151147842407227, 0.8712986707687378, -1.2171540260314941, 1.0089111328125, 0.8860129117965698, -0.2939992845058441, -0.8537918925285339, -0.19768938422203064, -0.32327553629875183, -1.0150185823440552, 0.7687978148460388, 0.24998381733894348, -0.12507106363773346, -0.0600740909576416, -0.04113304987549782, -1.1095329523086548, 0.711202085018158, 0.7698673009872437, -0.5744717717170715, -0.035038020461797714, 0.7277700304985046, 0.5542447566986084, -0.44355466961860657, 0.3991764187812805, 0.4771721065044403, 0.5092698931694031, -0.06185721606016159, -1.255106806755066, 0.17118704319000244, -0.3687724769115448, -0.3484123945236206, 0.25125396251678467, -0.4744328558444977, 1.2237224578857422, -0.20395247638225555, -0.4068170487880707, -0.4892810881137848, 0.5578877925872803, -0.06140969321131706, 0.20745670795440674, 0.5412704348564148, 0.5158967971801758, 0.7244715690612793, 0.2752000093460083, 1.0163344144821167, -0.4816854000091553, 0.13858677446842194, 0.7779584527015686, -0.4476536214351654, 0.6078762412071228, 0.6169897317886353, -0.3706980049610138, 0.4235338866710663, 0.26509594917297363, 0.19561652839183807, 0.4998680353164673, 0.2637544572353363, -0.08592196553945541, -0.30485233664512634, -0.14890702068805695, -0.4243518114089966, 0.3516855835914612, 0.23923681676387787, -0.14048005640506744, -0.3090924620628357, 0.2684593200683594, 0.14082381129264832, -0.19278393685817719, -0.41458767652511597, 0.5801907181739807, -0.032058630138635635, -0.9451490640640259, 0.7324962615966797, -0.2801545262336731, 0.6775403022766113, -0.9516006112098694, 0.16489845514297485, -0.21568402647972107, 0.2331085503101349, -0.11023601144552231, -0.8376263976097107, 0.527724027633667, -0.012904833070933819, -0.2661076486110687, -0.5385265350341797, 0.9436119198799133, -0.7160843014717102, -0.2605299949645996, 0.7358608245849609, 0.6970701813697815, 0.5291231274604797, -0.013260755687952042, -0.3357681334018707, 0.024272413924336433, 0.3778749406337738, -0.1930381953716278, 0.8566262722015381, 0.6075791716575623, -0.05641017481684685, 0.5259801745414734, 0.4802526831626892, 0.472912460565567, 0.5651451349258423, -0.1791512668132782, 0.5457992553710938, -0.5198943018913269, -0.6487346887588501, -0.7302793264389038, 0.18297719955444336, 0.365263432264328, -0.17958956956863403, 1.0588737726211548, 0.5093362927436829, 1.1789796352386475, -0.15537375211715698, 0.8988752961158752, -0.13958947360515594, 0.13143177330493927, -0.377678781747818, 0.7916304469108582, -0.641442596912384, -0.11174546927213669, 0.033983223140239716, -0.9485930800437927, 0.31234800815582275, 0.5393580198287964, -0.29394590854644775, -0.0408947579562664, 0.6582993865013123, 0.3814474046230316, -0.4970724284648895, -0.08280229568481445, 0.28073355555534363, 0.07662893086671829, 0.16413192451000214, 0.6972970962524414, 0.6391220092773438, -0.21129441261291504, 0.6359665989875793, -0.16631516814231873, -0.16563256084918976, 0.025380084291100502, -0.8092228174209595, -0.7102000117301941, -0.621141791343689, -0.35161682963371277, -0.13245077431201935, -0.10400336235761642, 0.380452424287796, 0.8444675803184509, -0.6979570388793945, -0.467151403427124, -0.1795683205127716, -0.20783306658267975, -0.2113601565361023, -0.13791555166244507, 0.14485399425029755, -0.3635278046131134, -0.42167502641677856, 0.3333641588687897, -0.12723489105701447, 0.28983601927757263, -0.4004509449005127, 0.0016441146144643426, -0.11648968607187271, 0.011139537207782269, 0.4166719615459442, 0.4272702634334564, -0.10272157192230225, -0.2977192997932434, 0.20271453261375427, -0.1689382791519165, -0.040474552661180496, 0.8919464945793152, -0.721966028213501, 0.4496433436870575, 0.7342064380645752, 0.6878600716590881, 0.7111228108406067, -0.3739517629146576, 0.5952280163764954, -0.8682913184165955, 0.3353276252746582, -0.06096602603793144, 0.28655263781547546, 0.15347625315189362, -0.08436021953821182, 0.3001285195350647, 0.27388709783554077, -0.25398072600364685, -0.8664193749427795, 0.3487533926963806, -0.6499593257904053, -0.3981516659259796, 1.1265912055969238, -0.4458322525024414, -0.22503139078617096, 0.08276723325252533, 0.377588152885437, 0.22697865962982178, 0.014956344850361347, 0.4483624994754791, 1.0491913557052612, 0.025128118693828583, 0.03950057178735733, -0.5753406882286072, 0.26927658915519714, 0.6863651871681213, -0.6815299391746521, 0.16547144949436188, 0.19727784395217896, 0.6216877102851868, 0.6504455208778381, 0.8113543391227722, -0.16981621086597443, 0.12510614097118378, 0.41227856278419495, 0.24020040035247803, 0.08855599164962769, -0.5077134370803833, -0.2720288634300232, 0.07810919731855392, -0.0913001298904419, -0.03941430151462555 ]
http://arxiv.org/abs/2404.08189v1
http://arxiv.org/pdf/2404.08189v1
Reducing hallucination in structured outputs via Retrieval-Augmented Generation
2024-04-12T01:42:09
2024-04-12T01:42:09
Patrice Béchard, Orlando Marquez Ayala
cs.LG
cs.LG, cs.AI, cs.CL, cs.IR
A common and fundamental limitation of Generative AI (GenAI) is its propensity to hallucinate. While large language models (LLM) have taken the world by storm, without eliminating or at least reducing hallucinations, real-world GenAI systems may face challenges in user adoption. In the process of deploying an enterprise application that produces workflows based on natural language requirements, we devised a system leveraging Retrieval Augmented Generation (RAG) to greatly improve the quality of the structured output that represents such workflows. Thanks to our implementation of RAG, our proposed system significantly reduces hallucinations in the output and improves the generalization of our LLM in out-of-domain settings. In addition, we show that using a small, well-trained retriever encoder can reduce the size of the accompanying LLM, thereby making deployments of LLM-based systems less resource-intensive.
[ -0.4958263337612152, -0.610931396484375, 0.4883594214916229, 0.09108009934425354, -0.17922571301460266, 0.14679618179798126, -0.25999587774276733, -0.6248945593833923, 0.5698544979095459, 0.6948143839836121, -0.27202415466308594, -0.29222458600997925, -0.5049562454223633, 0.34434014558792114, -0.5094760656356812, 1.0249607563018799, 0.1264093965291977, -0.3005464971065521, -0.14047981798648834, 0.09403051435947418, -0.4940924346446991, -0.5264961123466492, -0.7715988159179688, -0.6050100922584534, 0.39629918336868286, 0.2402401566505432, 0.8171632885932922, 0.40686795115470886, 0.7288633584976196, 0.29300251603126526, -0.03471121937036514, 0.5705262422561646, -0.6665158271789551, 0.46911299228668213, -0.09415393322706223, -0.2570972442626953, -0.45983076095581055, -0.3526668846607208, 0.5977612137794495, 0.7593401074409485, -0.460782915353775, 0.07261765003204346, 0.1711585521697998, 0.8938542604446411, -0.7530232071876526, 0.06994213163852692, -0.4658924639225006, 0.19304364919662476, -0.11153291165828705, -0.40641629695892334, -0.6301485300064087, -0.11596111208200455, -0.15162332355976105, -0.790151059627533, 0.4191303849220276, 0.1755024939775467, 0.9686340689659119, 0.5363081097602844, -0.03740565478801727, -0.1992039978504181, -1.2406214475631714, 0.5869426727294922, -0.6064777970314026, 0.366587370634079, 0.3990992307662964, 0.2796054184436798, -0.47116556763648987, -0.7407616376876831, -0.5671603679656982, -0.15202361345291138, -0.33309903740882874, 0.018176142126321793, -0.007689058315008879, 0.23144367337226868, 0.48288729786872864, 0.48259109258651733, -0.8653318285942078, -0.01117727067321539, -0.48640769720077515, -0.09817437827587128, 0.5839434266090393, 0.2864404320716858, 0.17916204035282135, -0.2505483627319336, 0.1351536214351654, -0.05485723540186882, -0.6581626534461975, -0.5628721714019775, 0.14198172092437744, 0.2552172839641571, 0.3539712727069855, 0.7247040867805481, -0.27440938353538513, 0.6031057834625244, 0.13097044825553894, -0.12365248799324036, 0.41430172324180603, 0.02203889563679695, -0.5279630422592163, -0.10373256355524063, 0.62692791223526, 0.028264811262488365, 0.13911902904510498, -0.47836148738861084, -0.42050832509994507, 0.15130329132080078, 0.6947917342185974, -0.9116207957267761, -0.12499471008777618, 0.08375845104455948, -0.5038254857063293, -0.07835276424884796, 0.06612072139978409, -0.8040132522583008, -0.6828683018684387, -0.391019344329834, 0.3229704797267914, -0.5079807043075562, -0.02956243045628071, -0.29096779227256775, -0.26929011940956116, 0.40486273169517517, 0.284699022769928, -0.9467511177062988, 0.29959824681282043, 0.819249153137207, 0.885016918182373, -0.100284643471241, 0.017206046730279922, -0.9134624004364014, 0.39816027879714966, -0.4866766333580017, 0.6533461213111877, -0.7208002209663391, -0.4779878258705139, -0.08673257380723953, -0.19365781545639038, -0.014129642397165298, -1.106740117073059, 0.3189299702644348, -0.6012238264083862, 0.11988251656293869, 0.2613462805747986, -0.4150923788547516, -0.031140154227614403, 0.15757755935192108, -0.6094682812690735, 0.8985145688056946, 0.11876882612705231, -0.39466437697410583, 0.394121378660202, -0.5913597941398621, -0.6716683506965637, 0.39365020394325256, -0.39265117049217224, -0.3335781395435333, 0.42299526929855347, 0.12432517856359482, 0.3558168411254883, -0.316944420337677, 0.28786328434944153, 0.07465236634016037, -0.6982554793357849, -0.2442225217819214, -0.20938658714294434, 0.4028688073158264, 0.4969201683998108, -0.4352565109729767, 0.020312663167715073, -0.9648206233978271, -0.19828784465789795, 0.10520050674676895, -0.3428589701652527, -0.44973599910736084, 0.017092864960432053, -0.1859290599822998, -0.12601882219314575, 0.04151070863008499, -0.3155653178691864, 0.2269456535577774, -0.7008287906646729, 0.0218109842389822, 0.5798946619033813, 0.03499852120876312, 0.722210705280304, -0.25578346848487854, 0.6063579320907593, -0.13866089284420013, 0.04631270095705986, 0.18821336328983307, -0.3921481668949127, -0.8307138085365295, -0.4971563518047333, -0.11962932348251343, 0.483085036277771, -1.2079147100448608, 0.36592167615890503, -0.30762651562690735, -0.23673757910728455, -0.632801353931427, 0.36960726976394653, 0.37595421075820923, 0.5913002490997314, 0.19604505598545074, -0.23883700370788574, -0.728266716003418, -0.9095538258552551, 0.09079886227846146, -0.2365800440311432, -0.4552682042121887, 0.29484623670578003, 0.4281967878341675, -0.6852223873138428, 0.6840710639953613, -0.3671870529651642, -0.6022294163703918, -0.37243837118148804, 0.4611603617668152, 0.3375183939933777, 0.348495751619339, 0.17819346487522125, -0.8805717825889587, -0.2991809546947479, 0.0604851208627224, -0.9244621396064758, -0.17178106307983398, -0.26746344566345215, -0.2741619646549225, 0.6219834685325623, 0.2965908944606781, -0.7605174779891968, 0.7160133123397827, 0.5086999535560608, -0.2630867660045624, 0.42787179350852966, -0.4654994010925293, 0.14604394137859344, -1.1979560852050781, 0.24654996395111084, -0.19379298388957977, -0.1641097515821457, -0.6544302701950073, 0.2104429453611374, -0.26531124114990234, -0.2873302400112152, 0.041705090552568436, 0.32379046082496643, -0.5011852979660034, -0.26340800523757935, -0.2994828224182129, 0.13200430572032928, 0.3433280885219574, 0.44261986017227173, 0.13025890290737152, 1.1312073469161987, 0.27168411016464233, -0.8992522358894348, 0.2175796627998352, 0.6480922102928162, -0.059778232127428055, 0.4760974943637848, -0.4769735336303711, 0.250373512506485, -0.47171124815940857, 0.15464399755001068, -0.4439881145954132, -0.5223686099052429, 0.31336715817451477, -0.4245060384273529, 0.45387956500053406, 0.05455835908651352, -0.510190486907959, -0.2637755572795868, -0.17930220067501068, 0.0005344931269064546, 0.8926090002059937, -0.8230010867118835, 0.9212583899497986, 0.226371631026268, 0.10094350576400757, -0.34345993399620056, -0.7907237410545349, 0.38000887632369995, -0.1017414852976799, -0.5889706611633301, 0.5218052864074707, 0.0651525929570198, -0.2829974889755249, -0.11965351551771164, 0.0286939088255167, -0.031049327924847603, 0.06824681907892227, 0.36318719387054443, 0.23019026219844818, -0.08779007196426392, 0.13358308374881744, -0.11204440891742706, 0.10246045887470245, 0.09808895736932755, -0.11730031669139862, 0.5186314582824707, 0.06276062875986099, -0.2605101466178894, -0.36915427446365356, 0.4373466670513153, 0.5467951893806458, -0.1748950481414795, 1.0276813507080078, 0.6376585364341736, -0.5637081861495972, -0.5210517048835754, -0.49606841802597046, -0.2570810317993164, -0.5066042542457581, 0.2922748029232025, -0.36536115407943726, -0.7930444478988647, 0.5154582858085632, -0.051295604556798935, -0.09620464593172073, 0.35263410210609436, 0.4380655586719513, -0.10327222943305969, 1.1462551355361938, 0.5890002846717834, 0.049415696412324905, 0.3642462491989136, -0.4773787260055542, 0.49273455142974854, -1.1753383874893188, -0.3869754672050476, -0.5542320013046265, -0.1126556321978569, -0.573665201663971, -0.3348079323768616, 0.4287842810153961, -0.003481284249573946, -0.25348374247550964, 0.12085726857185364, -0.8629088401794434, 0.30111825466156006, 0.5987548232078552, 0.03605325147509575, 0.2623077630996704, 0.17528143525123596, 0.1928093582391739, 0.018217887729406357, -0.6350199580192566, -0.6984735727310181, 0.7311365604400635, 0.1196652203798294, 0.863189160823822, 0.25655660033226013, 1.1015448570251465, 0.5229471325874329, 0.3852235674858093, -0.6202183961868286, 0.6173148155212402, -0.33580952882766724, -0.3187691569328308, -0.5229154825210571, -0.7734575867652893, -1.0353626012802124, 0.11029886454343796, -0.09483382850885391, -0.6321507096290588, 0.3018328547477722, 0.1995747983455658, -0.4162132441997528, 0.34131380915641785, -0.6118694543838501, 0.5800475478172302, 0.09685757756233215, -0.3039335012435913, -0.1576426923274994, -0.25227439403533936, 0.32009872794151306, -0.11058983206748962, 0.09867315739393234, 0.2127770185470581, 0.2576034963130951, 0.6007148027420044, -0.719771146774292, 0.6701259016990662, -0.24086566269397736, -0.10770941525697708, 0.376986026763916, 0.23731014132499695, 0.7513153553009033, -0.13412462174892426, -0.12833811342716217, -0.151823028922081, -0.41980674862861633, -0.14556211233139038, -0.8620484471321106, 0.5320088863372803, -0.5591456294059753, -0.6896138191223145, -0.37646374106407166, -0.5463799834251404, -0.15620596706867218, -0.08038654178380966, 0.3817671835422516, 0.40699249505996704, -0.22861360013484955, 0.1135244071483612, 0.780865490436554, -0.3649556040763855, 0.3200327754020691, 0.05622977390885353, -0.35456570982933044, -0.3730182945728302, 1.0398800373077393, 0.06396622955799103, 0.13696682453155518, 0.28590303659439087, -0.05406658723950386, -0.105347640812397, -0.5856033563613892, -0.41962379217147827, 0.19580034911632538, -0.5797356367111206, -0.3431376516819, -0.4999891519546509, -0.33920109272003174, -0.6661700010299683, -0.12423884868621826, -0.1625162661075592, -0.27097776532173157, -0.6693311929702759, 0.12716160714626312, 0.3519395887851715, 0.9437971115112305, -0.021179012954235077, 0.21658942103385925, -0.7679150104522705, 0.7442398071289062, 0.33121564984321594, 0.587144136428833, 0.02255968749523163, -0.9432004690170288, -0.33125966787338257, -0.05848977714776993, -0.09580527245998383, -0.6789785027503967, 0.867057204246521, 0.49960312247276306, 0.39236122369766235, 0.3911689519882202, 0.13154298067092896, 0.8694778084754944, -0.5419699549674988, 0.6052887439727783, -0.10634438693523407, -0.6909586787223816, 0.5782573223114014, -0.1613033264875412, 0.063043512403965, 0.47905635833740234, 0.05495842546224594, -0.3684561252593994, -0.5570507049560547, -0.2190154790878296, -0.8383610844612122, 0.545818030834198, 0.3390894830226898, 0.1582881212234497, -0.259504109621048, 0.4819178581237793, 0.009917215444147587, 0.12106545269489288, -0.35614150762557983, 0.0012381726410239935, -0.14690585434436798, -0.17130449414253235, 0.05740808695554733, -0.3957013785839081, 0.0071195876225829124, -0.15166495740413666, 0.9898198843002319, -0.09635411947965622, 0.39612284302711487, 0.33213165402412415, -0.24507050216197968, -0.13429011404514313, 0.2815716564655304, 0.43172410130500793, 0.5632287859916687, -0.2469882369041443, 0.08091150224208832, -0.019867558032274246, -0.5313482284545898, -0.005041762255132198, -0.00028190991724841297, -0.5982927083969116, 0.22434599697589874, 0.17093922197818756, 0.9293214678764343, -0.26779407262802124, -0.6511375308036804, 0.1744435876607895, 0.06763742119073868, -0.15431495010852814, -0.5426678657531738, 0.1697636991739273, -0.25752368569374084, 0.3364116847515106, 0.5191634893417358, -0.001716524944640696, 0.5485348105430603, -0.4870189130306244, 0.07484100759029388, 0.3823738992214203, -0.07950078696012497, 0.006318454630672932, 0.7654388546943665, 0.16568678617477417, -0.6639313697814941, 0.9542878866195679, -0.6045738458633423, -0.3177955448627472, 0.43622106313705444, 0.703143835067749, 1.213369369506836, 0.007366755045950413, 0.4152618646621704, 0.26711076498031616, 0.46231192350387573, -0.14139467477798462, 0.27348724007606506, 0.12692034244537354, -0.5085723996162415, -0.6939669847488403, -0.8655723929405212, -0.4813629686832428, 0.13083165884017944, -0.6916370391845703, -0.12186097353696823, -0.4264039099216461, -0.17739789187908173, -0.3811296820640564, -0.2781165540218353, -0.6041859984397888, 0.0016814148984849453, 0.415143758058548, 0.5421663522720337, -0.5845235586166382, 0.6400541663169861, 0.6780019998550415, -0.6713638305664062, -0.6479269862174988, -0.08874702453613281, -0.4121187925338745, -0.3135741651058197, 0.7458057403564453, 0.1658484786748886, -0.1492001712322235, -0.18534952402114868, -0.48370543122291565, -0.6918919682502747, 1.0088613033294678, 0.2787472903728485, -0.5971639156341553, -0.0566452331840992, 0.2237098067998886, 0.9167339205741882, -0.3807007074356079, -0.07179013639688492, 0.6768240332603455, 0.4369085431098938, 0.18416272103786469, -0.870409369468689, 0.06357253342866898, -0.43599504232406616, 0.3355858027935028, 0.26916900277137756, -0.20846311748027802, 0.5044108629226685, -0.20237483084201813, -0.4769280254840851, 0.07981666922569275, 0.7798835635185242, 0.5193822383880615, 0.46391838788986206, 0.2539735734462738, 0.6487048864364624, 0.8746801614761353, 0.013124599121510983, 1.1472200155258179, -0.08807539194822311, -0.08394844084978104, 1.2272075414657593, -0.5549029111862183, 0.8478899598121643, 0.7127205729484558, 0.12825298309326172, 0.7213983535766602, 0.23293572664260864, -0.01739937625825405, 0.3137310743331909, 0.20760664343833923, -0.2866939306259155, -0.0877743512392044, -0.338675320148468, -0.11686183512210846, 0.2703670561313629, 0.3653453290462494, -0.43312105536460876, 0.17379017174243927, 0.3499162793159485, -0.23137225210666656, 0.3695385754108429, -0.2669602930545807, 1.0854718685150146, -0.010175497271120548, -0.7269161939620972, 0.8515376448631287, -0.22586867213249207, 0.6397784352302551, -0.29544273018836975, -0.5253825187683105, -0.5373905301094055, 0.12032901495695114, -0.3821842074394226, -0.2743537425994873, 0.68998783826828, 0.18516652286052704, -0.29954007267951965, -0.3945360779762268, 0.7351130843162537, -0.30337607860565186, -0.3883565366268158, 0.449479877948761, 0.33861076831817627, 0.4543665647506714, -0.2649773955345154, -0.15890851616859436, 0.04557214304804802, -0.23921020328998566, -0.3892631530761719, 0.24173322319984436, 0.5685116052627563, -0.0856100395321846, 0.6799548864364624, 0.5288593769073486, 0.28786197304725647, 0.14999429881572723, 0.48712244629859924, 0.8795897364616394, -0.5419294238090515, -0.20078915357589722, -0.5493941307067871, 0.17029635608196259, -0.16261427104473114, 0.14336428046226501, 0.4631188213825226, 0.6352039575576782, 0.6634764671325684, -0.19356712698936462, 0.7352766990661621, -0.28083598613739014, 0.5239507555961609, -0.39708438515663147, 0.7980364561080933, -0.6418298482894897, 0.5349496006965637, -0.19693967700004578, -1.0772892236709595, -0.45434123277664185, 0.6571680903434753, -0.014896199107170105, 0.07945014536380768, 0.596763551235199, 1.0698086023330688, 0.13857658207416534, -0.31761592626571655, 0.512457013130188, 0.19060559570789337, 0.2807847261428833, 0.3523855209350586, 0.7261179089546204, -0.3409464955329895, 0.6573655605316162, -0.3408048152923584, -0.17810553312301636, -0.23178791999816895, -0.6811060905456543, -0.8970956802368164, -0.4820176362991333, -0.24984431266784668, -0.5509893298149109, 0.2952229976654053, 0.9048281908035278, 0.4679968059062958, -0.9515536427497864, -0.17146459221839905, -0.211806520819664, 0.053785040974617004, -0.10033928602933884, -0.26869314908981323, 0.23574194312095642, -0.6851538419723511, -0.5590184926986694, 0.4713321626186371, 0.40804633498191833, -0.023571401834487915, -0.38471561670303345, -0.46935227513313293, -0.11259405314922333, 0.11372241377830505, 0.7098885774612427, 0.33729422092437744, -0.6121654510498047, -0.30088552832603455, 0.1422620266675949, -0.2485928237438202, 0.1287616640329361, 0.5547939538955688, -0.9948933124542236, 0.4354826807975769, 0.6685039401054382, 0.800400972366333, 0.4538387358188629, 0.06209962069988251, 0.5867578983306885, -0.8532757759094238, 0.07889227569103241, 0.41819947957992554, 0.2628896236419678, 0.37970423698425293, -0.6009940505027771, 0.8810288906097412, 0.15763191878795624, -0.5634263753890991, -0.8290286064147949, 0.08240803331136703, -0.49183428287506104, -0.1524842530488968, 1.0935263633728027, 0.29403412342071533, -0.3300018608570099, -0.13378672301769257, -0.1914667785167694, 0.3130730390548706, -0.31709280610084534, 1.2110487222671509, 0.29142504930496216, -0.18720589578151703, -0.06156335398554802, -0.45492425560951233, 0.6051033735275269, 0.5221294164657593, -0.9596263766288757, 0.12748722732067108, 0.8027248382568359, -0.36197856068611145, 0.3832189440727234, 0.5856522917747498, 0.08309759944677353, 0.13879461586475372, -0.11232175678014755, 0.5529878735542297, -0.02262195013463497, -0.6540482044219971, -0.40571844577789307, 0.1317821890115738, 0.1066121757030487, -0.14285632967948914 ]
http://arxiv.org/abs/2404.08164v2
http://arxiv.org/pdf/2404.08164v2
Language Model Prompt Selection via Simulation Optimization
2024-04-12T00:03:56
2024-05-20T02:34:42
Haoting Zhang, Jinghai He, Rhonda Righter, Zeyu Zheng
stat.ML
stat.ML, cs.AI, cs.CL, cs.LG
With the advancement in generative language models, the selection of prompts has gained significant attention in recent years. A prompt is an instruction or description provided by the user, serving as a guide for the generative language model in content generation. Despite existing methods for prompt selection that are based on human labor, we consider facilitating this selection through simulation optimization, aiming to maximize a pre-defined score for the selected prompt. Specifically, we propose a two-stage framework. In the first stage, we determine a feasible set of prompts in sufficient numbers, where each prompt is represented by a moderate-dimensional vector. In the subsequent stage for evaluation and selection, we construct a surrogate model of the score regarding the moderate-dimensional vectors that represent the prompts. We propose sequentially selecting the prompt for evaluation based on this constructed surrogate model. We prove the consistency of the sequential evaluation procedure in our framework. We also conduct numerical experiments to demonstrate the efficacy of our proposed framework, providing practical instructions for implementation.
[ -0.6275911927223206, -0.9505969882011414, 0.8022887706756592, 0.7715522050857544, -0.3475819230079651, -0.14206257462501526, -0.24171046912670135, 0.22524455189704895, -0.1229432001709938, 0.30711522698402405, -0.9832601547241211, -0.24703578650951385, 0.004107348155230284, 0.48436084389686584, -0.19804862141609192, 0.7586548924446106, 0.14088062942028046, 0.04189036041498184, -0.5981032252311707, 0.48251399397850037, -0.8697254061698914, -0.25422975420951843, -1.0426279306411743, -0.20221784710884094, 0.5156859159469604, 0.4067673683166504, 0.4794304668903351, 0.6739095449447632, 0.09071309864521027, 0.2988746166229248, -0.26020368933677673, -0.10536663234233856, -0.36227068305015564, 0.4574040174484253, -0.020768286660313606, -0.26301249861717224, 0.2586238980293274, 0.0401441790163517, 0.7509773969650269, 0.7309777736663818, -0.11088435351848602, 0.09954705089330673, -0.004898035433143377, 0.35834890604019165, -0.46257293224334717, -0.10640659928321838, -0.2821633219718933, 0.10062313824892044, 0.03362284228205681, -0.3070752024650574, -0.6486630439758301, -0.6902851462364197, 0.12088412046432495, -0.4577479958534241, 0.23270440101623535, 0.26051366329193115, 0.544849693775177, 0.04136911779642105, -0.15261641144752502, -0.18496155738830566, -0.6745052933692932, 0.8389399647712708, -0.31018441915512085, 0.25413745641708374, 0.2596798539161682, 0.5760481953620911, -0.254622220993042, -0.6758593916893005, -0.5108308792114258, -0.8486325144767761, 0.21838153898715973, 0.1547538936138153, -0.17143481969833374, 0.15910017490386963, 0.5098669528961182, 0.06222283095121384, -0.957646369934082, 0.27748680114746094, -0.2842930257320404, -0.29528674483299255, 0.38435521721839905, 0.49589821696281433, 0.5044924020767212, -0.34888869524002075, -0.5269095301628113, -0.23206712305545807, -0.6846415400505066, 0.16411660611629486, 0.6233372688293457, 0.45140549540519714, -0.0824933871626854, 0.36794552206993103, -0.21087288856506348, 0.8797691464424133, -0.0866207554936409, -0.12534628808498383, 0.010713636875152588, -0.25407442450523376, 0.05677264928817749, -0.21547453105449677, 0.8936773538589478, 0.36954426765441895, 0.250428169965744, 0.031025592237710953, -0.4599685072898865, 0.35641998052597046, 0.33321502804756165, -0.8471340537071228, 0.11193644255399704, 0.24321402609348297, -0.5934566855430603, -0.4569249749183655, -0.23014037311077118, -1.0096122026443481, -0.3394569754600525, -0.3566135764122009, 0.19734059274196625, -0.2410898357629776, -0.13363923132419586, 0.02427622489631176, -0.16929690539836884, -0.11458506435155869, 0.39814260601997375, -0.9268105626106262, 0.20015908777713776, 0.49046510457992554, 0.7763258218765259, -0.2798427641391754, -0.19884496927261353, -0.6957699656486511, -0.3795444667339325, -0.5609443783760071, 0.8810265064239502, -0.9143885970115662, -1.0638189315795898, 0.07462682574987411, -0.3500434458255768, -0.01971735805273056, -0.3363838791847229, 0.888199508190155, -0.6568819880485535, 0.4172076880931854, -0.45821401476860046, -0.49898654222488403, 0.02109953574836254, 0.037680573761463165, -0.8339681029319763, 1.0703057050704956, 0.41580575704574585, -0.5769789814949036, 0.21067579090595245, -0.6251153945922852, -0.33687591552734375, 0.32733482122421265, -0.3150993585586548, -0.12430296093225479, 0.07414859533309937, 0.11704522371292114, 0.19977188110351562, -0.6899781823158264, 0.29972603917121887, 0.015030748210847378, -0.4736016094684601, 0.09680578112602234, -0.548693060874939, 0.9426960945129395, 0.45721524953842163, -0.05581722781062126, 0.2410852313041687, -0.4828360676765442, -0.06625626236200333, 0.06199759244918823, -0.5783483386039734, 0.015447479672729969, -0.07832387834787369, 0.041786808520555496, 0.15193456411361694, 0.03345911204814911, -0.39639392495155334, 0.3745439946651459, -0.24941499531269073, 0.028184017166495323, 0.7250586748123169, 0.38353729248046875, 0.5057651996612549, -0.27497416734695435, 1.3816579580307007, -0.25119316577911377, 0.360516756772995, -0.37911245226860046, -0.5631089210510254, -0.37842869758605957, -0.07903581112623215, 0.48424282670021057, 0.7634010910987854, -1.0093891620635986, 0.3018624186515808, 0.08808127045631409, -0.2937995195388794, -0.3976076543331146, -0.16347123682498932, 0.4911004900932312, 0.6685919165611267, 0.17653052508831024, 0.06510312110185623, -0.5251535177230835, -0.8034831285476685, -0.009700813330709934, -0.4168103337287903, 0.008089576847851276, 0.2594407796859741, 0.1454777717590332, -0.00628812238574028, 1.1007658243179321, -0.6130279898643494, 0.23769314587116241, -0.6591475605964661, 0.31586283445358276, 0.39409181475639343, 0.5159486532211304, 0.8226994276046753, -0.7988013625144958, -0.43070706725120544, -0.27692288160324097, -0.4338177442550659, -0.5849048495292664, -0.5415971279144287, -0.205491840839386, -0.052631594240665436, 0.546806275844574, -0.6394272446632385, 0.32433369755744934, 0.3381291925907135, -0.216888427734375, 1.0515365600585938, -0.18207119405269623, 0.18079835176467896, -0.9378350973129272, 0.1566302627325058, 0.0682249590754509, -0.09945297986268997, -0.5652187466621399, -0.05757041648030281, -0.06662745028734207, -0.3311461806297302, -0.2944985330104828, 0.9146538972854614, -0.332164466381073, 0.12661586701869965, -0.2276029735803604, 0.15111708641052246, 0.10999499261379242, 0.3804778754711151, 0.05932990089058876, 1.1533478498458862, 0.6114969849586487, -0.7493011355400085, 0.48588064312934875, 0.20247410237789154, -0.5128597617149353, 0.3857651352882385, -0.9189466238021851, 0.10559093952178955, -0.3772152364253998, 0.06377067416906357, -0.9909083247184753, -0.014763565734028816, 0.29861870408058167, -0.4337040185928345, 0.17680741846561432, -0.12055506557226181, -0.5300833582878113, -0.49092936515808105, -0.17290601134300232, 0.4275153875350952, 0.7976490259170532, -0.37184998393058777, 0.4331517219543457, 0.10990841686725616, -0.5640402436256409, -0.27051445841789246, -0.10794535279273987, -0.07339444011449814, -0.15997374057769775, -0.39827415347099304, 0.20244286954402924, -0.4840888977050781, -0.17533591389656067, -0.18582411110401154, 0.2811985909938812, 0.3468407690525055, 0.16150031983852386, 0.06865262985229492, 0.4552832841873169, -0.02619759924709797, 0.07942686229944229, 0.45671024918556213, -0.3748486042022705, 0.21267558634281158, -0.14141087234020233, 0.7495558857917786, 0.26582324504852295, -0.3758857548236847, -0.33453136682510376, 0.6659682393074036, 0.10363583266735077, -0.24582019448280334, 0.42459315061569214, 0.34654128551483154, -0.3491109013557434, -0.45973098278045654, -0.43220430612564087, -0.30678921937942505, -0.526549756526947, 0.3139423429965973, -0.5436868667602539, -0.5961248874664307, 0.3685297966003418, -0.23088568449020386, 0.010302379727363586, 0.11482056975364685, 0.619845986366272, 0.26237964630126953, 1.4853700399398804, 0.4192466139793396, 0.2034910023212433, 0.6822874546051025, -0.015432987362146378, 0.011991235427558422, -0.7332569360733032, -0.2868235409259796, -0.8894721269607544, 0.09048300236463547, -0.2754207253456116, -0.439822793006897, 0.5831775069236755, 0.36596593260765076, -0.08162694424390793, 0.14162805676460266, -0.3130645453929901, 0.6215920448303223, 0.8046044111251831, -0.05837775021791458, -0.20551128685474396, 0.0035502901300787926, -0.953641414642334, -0.09790632128715515, -0.67127925157547, -0.8033102750778198, 0.3796853721141815, 0.19414018094539642, 0.5460091829299927, -0.071992427110672, 0.522916853427887, 0.28695857524871826, 0.18044619262218475, -0.5418843030929565, 0.8013638854026794, 0.040748920291662216, -0.5142250061035156, -0.3808525502681732, -0.5691390633583069, -0.996910572052002, 0.25096815824508667, -0.1082913726568222, -0.9370713829994202, 0.04687684401869774, 0.07167007029056549, -0.7119736075401306, -0.3290945887565613, -0.6746079921722412, 1.0668933391571045, -0.012835617177188396, -0.07263365387916565, -0.07980948686599731, -0.5798293352127075, 0.1531643271446228, -0.08303172886371613, 0.12550581991672516, -0.08013174682855606, 0.018549026921391487, 0.4907541871070862, -0.39025723934173584, 0.8040972948074341, -0.3662653863430023, 0.08035164326429367, 0.47038397192955017, 0.2663551867008209, 0.41664785146713257, 0.27775776386260986, -0.4367208778858185, -0.4558909833431244, -0.12927481532096863, -0.08829168975353241, -0.8635530471801758, 0.3583877384662628, -0.6227906346321106, -0.7438413500785828, -0.09718405455350876, -0.1902036815881729, -0.2564071714878082, 0.18684858083724976, 0.38710400462150574, 0.7008798122406006, -0.36628085374832153, -0.1995825320482254, 0.4849131107330322, -0.6891513466835022, 0.5489053130149841, 0.26272913813591003, -0.5676937699317932, -0.30197659134864807, 0.9125441908836365, -0.2730812430381775, 0.25774726271629333, 0.34139323234558105, 0.6156244874000549, -0.5775642395019531, -0.40872636437416077, -0.7565754652023315, 0.015812210738658905, -0.8820964097976685, -0.23294414579868317, -0.5708641409873962, -0.0929965227842331, -0.26237547397613525, -0.22998587787151337, 0.09847134351730347, -0.17565329372882843, -0.504771888256073, -0.1793300360441208, 0.16478388011455536, 0.48959922790527344, -0.059107571840286255, 0.33209502696990967, -0.7862013578414917, 0.42218777537345886, 0.3757598102092743, 0.11501744389533997, 0.07111762464046478, -0.45898303389549255, 0.1446908712387085, -0.022072672843933105, -0.17126187682151794, -1.019235372543335, 0.26185300946235657, -0.04610753059387207, 0.8826868534088135, 0.4666918218135834, 0.21576550602912903, 0.3673681616783142, -0.7943947911262512, 0.8975595235824585, 0.2552494406700134, -0.9657605886459351, 0.9162166714668274, -0.35492566227912903, 0.43374165892601013, 0.5470895767211914, 0.3458896577358246, -0.7433026432991028, -0.2993607819080353, -0.3619142174720764, -0.6514400243759155, 0.7040573954582214, 0.1819850504398346, 0.5586320161819458, -0.5161153674125671, 0.3782661259174347, 0.3228088915348053, 0.1496044099330902, -0.37227779626846313, -0.25245925784111023, 0.09986917674541473, -0.070942722260952, 0.2833549976348877, -0.49685928225517273, 0.10562964528799057, -0.009635171853005886, 0.5683937668800354, -0.09567563980817795, 0.3056018054485321, -0.104454904794693, 0.14345332980155945, -0.18485505878925323, 0.07015959918498993, 0.7253198623657227, 0.6243937611579895, 0.2138327807188034, -0.2595517635345459, 0.03489123284816742, -0.5176854133605957, 0.15385635197162628, 0.09774494916200638, -0.5948110222816467, 0.30030742287635803, 0.33547383546829224, 1.2570222616195679, 0.15701386332511902, -0.7650867104530334, 0.613580584526062, -0.26277443766593933, 0.005298634525388479, -0.21560467779636383, 0.28423798084259033, -0.1360704004764557, 0.2980509400367737, 0.2743600308895111, -0.05766289308667183, 0.27032384276390076, -0.19625036418437958, 0.16098958253860474, 0.22182349860668182, -0.047475460916757584, -0.15666405856609344, 0.8331677913665771, 0.2284606546163559, -0.6989572048187256, 0.8367510437965393, -0.6851955652236938, -0.5922119617462158, 0.7235249876976013, 0.6818069815635681, 0.8963788151741028, -0.4818500876426697, 0.634140133857727, 0.5768091678619385, 0.020709503442049026, -0.26528868079185486, 0.8127960562705994, 0.1376027762889862, -0.6615779995918274, -0.4607080817222595, -0.9099392890930176, -0.33695951104164124, -0.1884976178407669, -0.6442225575447083, 0.594636082649231, -0.3228902518749237, -0.34778785705566406, -0.1941644549369812, -0.010870366357266903, -0.7410455942153931, 0.328777015209198, 0.23838943243026733, 1.124003291130066, -0.8298169374465942, 0.5751979947090149, 0.6748411655426025, -0.5524868965148926, -0.9504522085189819, -0.040967900305986404, -0.08308479189872742, -0.709013044834137, 0.6416112780570984, 0.2104531079530716, 0.044934049248695374, 0.24476328492164612, -0.42714667320251465, -0.5738924741744995, 0.8028140664100647, 0.5766275525093079, -0.5117359161376953, -0.04970049858093262, -0.1576496809720993, 0.47000983357429504, -0.5181685090065002, 0.41510236263275146, 0.3637307286262512, 0.37660232186317444, 0.5000896453857422, -0.7205337882041931, 0.16108091175556183, -0.2248959243297577, 0.7579661011695862, -0.08044391870498657, -0.2309429794549942, 0.8861114382743835, -0.3557080328464508, -0.4697602093219757, 0.422504186630249, 0.6972920894622803, 0.7181917428970337, -0.12158866971731186, 0.7501171827316284, 0.08296763896942139, 0.6733777523040771, 0.05839560553431511, 1.3367866277694702, -0.27522653341293335, 0.26559096574783325, 0.6960545778274536, -0.2322266846895218, 0.6256102919578552, 0.4066492021083832, -0.3274995684623718, 0.5528666377067566, 1.0173906087875366, 0.008412957191467285, 0.725581169128418, 0.556510329246521, -0.5004357099533081, -0.3040512502193451, -0.4675031006336212, -0.292737752199173, 0.24972786009311676, 0.18405061960220337, -0.29419198632240295, -0.22497756779193878, 0.08488421887159348, -0.10862821340560913, 0.008623777888715267, -0.15545274317264557, 0.6605303287506104, 0.008956640027463436, -1.119544506072998, 0.43669214844703674, 0.1997424066066742, 0.079153873026371, -0.47834810614585876, -0.2457551807165146, -0.34661394357681274, -0.5250101089477539, 0.2131967395544052, -0.5980320572853088, -0.06118028610944748, 0.12901389598846436, -0.23777735233306885, -0.48041653633117676, 0.6353731155395508, -0.479414165019989, -0.5807444453239441, 0.007612511981278658, 0.4860462248325348, 0.22081685066223145, 0.017633739858865738, -0.6932887434959412, 0.4668664038181305, -0.1484326720237732, -0.4749900996685028, -0.0314558744430542, 0.48541194200515747, -0.25338324904441833, 0.6185924410820007, 0.7709781527519226, 0.12805181741714478, -0.14195668697357178, 0.7253020405769348, 1.0047152042388916, -0.3852227032184601, -1.007197380065918, -0.9492030143737793, 0.7408677339553833, -0.1395816206932068, -0.3793245255947113, 0.3169519305229187, 0.42268669605255127, 0.46628743410110474, -0.2633987069129944, 1.0068076848983765, -0.05271666869521141, 0.48530104756355286, -0.71656733751297, 0.29600197076797485, -0.3085545599460602, 0.3301996886730194, -0.3619723916053772, -1.1805437803268433, -0.12805387377738953, 0.7320526838302612, -0.2726884186267853, 0.4217205345630646, 0.6739142537117004, 0.9850277304649353, 0.3289988040924072, 0.21382273733615875, 0.39877548813819885, -0.3342302739620209, 0.06553323566913605, 0.3330352306365967, 1.1550328731536865, 0.08250351995229721, 0.29063403606414795, -0.1699848771095276, -0.40559121966362, -0.3066975474357605, -1.007636547088623, -1.1214635372161865, -0.7579043507575989, -0.23744706809520721, -0.21838794648647308, -0.04648692160844803, 1.2565613985061646, 0.5651021599769592, -0.5855110287666321, -0.19156788289546967, -0.12311182171106339, 0.17207127809524536, -0.26692354679107666, -0.2509421706199646, 0.11667781323194504, -0.6744634509086609, -0.7442612648010254, 0.5284148454666138, 0.23069417476654053, 0.1888815313577652, -0.5049781203269958, -0.10204310715198517, 0.05762271210551262, 0.0754549577832222, 0.4416726231575012, 0.09978055208921432, -0.6119939684867859, -0.24320361018180847, 0.16455695033073425, -0.28083541989326477, -0.3056034445762634, 1.013120174407959, -0.8261410593986511, 0.5478651523590088, 0.7346885204315186, 0.7204795479774475, 0.08188467472791672, 0.198653906583786, 1.024746060371399, -1.0621589422225952, 0.11096954345703125, 0.38495802879333496, 0.2514611780643463, 0.2642461061477661, -0.47768622636795044, 0.26053372025489807, 0.02878807671368122, -0.3566502332687378, -0.8194620609283447, 0.5374919772148132, -0.713643491268158, -0.37248367071151733, 1.508599877357483, -0.07282208651304245, -0.015413859859108925, -0.01592010073363781, -0.5752654075622559, 0.191635400056839, -0.4393806457519531, 0.6751337647438049, 0.5964205265045166, -0.08349209278821945, -0.42622676491737366, -0.7231817245483398, 0.6524601578712463, 0.29358533024787903, -0.741682231426239, -0.16758780181407928, 0.6153165102005005, -0.08732578158378601, -0.017888132482767105, 0.7222511768341064, 0.0991915836930275, 0.43315377831459045, 0.16153845191001892, -0.13605615496635437, 0.10968831181526184, -0.44328173995018005, -0.42139193415641785, 0.10926874727010727, 0.17622660100460052, -0.21217165887355804 ]
http://arxiv.org/abs/2404.08156v1
http://arxiv.org/pdf/2404.08156v1
Multimodal Contextual Dialogue Breakdown Detection for Conversational AI Models
2024-04-11T23:09:18
2024-04-11T23:09:18
Md Messal Monem Miah, Ulie Schnaithmann, Arushi Raghuvanshi, Youngseo Son
cs.CL
cs.CL
Detecting dialogue breakdown in real time is critical for conversational AI systems, because it enables taking corrective action to successfully complete a task. In spoken dialog systems, this breakdown can be caused by a variety of unexpected situations including high levels of background noise, causing STT mistranscriptions, or unexpected user flows. In particular, industry settings like healthcare, require high precision and high flexibility to navigate differently based on the conversation history and dialogue states. This makes it both more challenging and more critical to accurately detect dialog breakdown. To accurately detect breakdown, we found it requires processing audio inputs along with downstream NLP model inferences on transcribed text in real time. In this paper, we introduce a Multimodal Contextual Dialogue Breakdown (MultConDB) model. This model significantly outperforms other known best models by achieving an F1 of 69.27.
[ -0.6758363246917725, -1.0893949270248413, 0.7478841543197632, 0.22461643815040588, 0.010523734614253044, 0.1256137639284134, 0.009804847650229931, -0.42839694023132324, 0.14970676600933075, 0.5441704392433167, -1.0918937921524048, -0.3171249032020569, -0.4112641513347626, -0.22327539324760437, -0.2803664207458496, 0.7928221225738525, 0.3594561815261841, 0.2073758989572525, -0.3198152482509613, -0.4482004940509796, -1.0390609502792358, -0.6180984377861023, -0.8552514314651489, -0.24099545180797577, 0.30457833409309387, 0.39194485545158386, 0.744541585445404, 0.07658525556325912, 0.278166800737381, 0.3702962100505829, 0.042008593678474426, 0.23499582707881927, -0.12601616978645325, 0.5027822256088257, 0.19379858672618866, -0.2931751310825348, -0.4617226719856262, -0.19979871809482574, 0.48987603187561035, 0.5333685874938965, -0.4456516206264496, -0.26108554005622864, -0.09343641251325607, 0.3074016273021698, -0.44091346859931946, 0.21461568772792816, -0.3027702271938324, 0.08121670037508011, 0.13105465471744537, -0.25573283433914185, -0.4844597578048706, -0.05288071557879448, 0.06266721338033676, -0.2750026285648346, 0.13643144071102142, -0.20264089107513428, 0.5942829847335815, 0.42348477244377136, -0.6297748684883118, -0.27070707082748413, -0.721625566482544, 0.5501846671104431, -0.6986768245697021, 0.7474055290222168, 0.23020732402801514, 0.3885556757450104, -0.09121143817901611, -0.7529730796813965, -0.6923090219497681, -0.5182730555534363, -0.19670075178146362, 0.01687493361532688, -0.14023414254188538, 0.3201884627342224, 0.2846421003341675, 0.1785222887992859, -0.40368932485580444, 0.050045594573020935, -0.11533617973327637, -0.1331603080034256, 0.05258456617593765, 0.34293022751808167, 0.43114426732063293, -0.44777047634124756, -0.3377281725406647, -0.10253005474805832, -0.3124675452709198, 0.061994120478630066, -0.047005850821733475, -0.12234911322593689, -0.1469273865222931, 0.050867222249507904, -0.10335083305835724, 0.6863794326782227, -0.03562110662460327, -0.5272421836853027, 0.249236598610878, -0.8092285990715027, -0.35306841135025024, 0.21691668033599854, 0.9747175574302673, 0.41626015305519104, -0.17322678864002228, 0.20768263936042786, -0.03986575827002525, -0.16122503578662872, 0.10869400948286057, -0.7805078029632568, -0.19226442277431488, 0.4461706876754761, -0.44602853059768677, -0.24413813650608063, -0.27430474758148193, -0.45364031195640564, -0.30805209279060364, -0.2682146430015564, -0.08570642024278641, -0.6471502780914307, -0.5091922283172607, -0.36254188418388367, -0.011690858751535416, -0.07885098457336426, 0.40812617540359497, -0.7500710487365723, -0.1188601478934288, 0.3275093734264374, 1.038475751876831, 0.09161264449357986, -0.09746473282575607, -0.8059491515159607, -0.17508241534233093, -0.09686807543039322, 0.8010850548744202, -0.44605255126953125, -0.5207709670066833, -0.25859546661376953, 0.10659851133823395, -0.35774773359298706, -0.4850688874721527, 0.6706950068473816, -0.07050864398479462, 0.2219059318304062, 0.29650160670280457, -0.3783469498157501, -0.1504041850566864, 0.4631645977497101, -0.9004696607589722, 0.7227817177772522, 0.04189855605363846, -0.637738049030304, 0.37000739574432373, -1.0763431787490845, -0.2963109612464905, -0.03872650861740112, -0.2230992317199707, -0.4164608120918274, -0.03372448310256004, 0.4610138237476349, 0.5035826563835144, -0.29416343569755554, 0.8165993094444275, -0.5313535928726196, -0.054196808487176895, 0.4450361430644989, -1.0615482330322266, 0.9745268225669861, 0.30507832765579224, -0.3701600432395935, 0.23436295986175537, -0.9129603505134583, 0.0471142902970314, -0.1852206587791443, -0.25460880994796753, -0.22432246804237366, 0.039560385048389435, 0.41498634219169617, 0.4708317816257477, -0.38598206639289856, -0.41085633635520935, 0.05664984509348869, -0.3043767511844635, 0.5117204189300537, 0.46833741664886475, 0.11262308061122894, 0.10256204754114151, -0.2517598271369934, 0.7318196296691895, 0.266908198595047, 0.09835271537303925, -0.7072312235832214, -0.5421500205993652, -0.6764930486679077, -0.6166058778762817, 0.27134934067726135, 0.6192255020141602, -0.6332416534423828, 0.27741095423698425, -0.008108208887279034, -0.5834876894950867, -0.6353036761283875, -0.17358919978141785, 0.37040701508522034, 0.9266619086265564, 0.2741037607192993, -0.10009437054395676, -0.2960895597934723, -0.9169337749481201, 0.050755906850099564, -0.05756061524152756, -0.1254422664642334, 0.5087855458259583, 0.2751483619213104, -0.5417786240577698, 0.8399165272712708, -0.350311279296875, -0.3971594274044037, -0.4364868700504303, 0.37428906559944153, 0.20157650113105774, 0.6174986958503723, 0.49403268098831177, -0.9059630036354065, -0.15619732439517975, -0.13982705771923065, -0.8142097592353821, 0.0552169606089592, -0.4247455894947052, 0.0344209223985672, 0.26578402519226074, 0.7842962741851807, -0.6547403931617737, 0.5847791433334351, 0.7749108672142029, -0.35765594244003296, 0.8373070955276489, -0.21892409026622772, 0.4454227387905121, -1.1622297763824463, 0.1578296422958374, -0.09779877960681915, -0.47459331154823303, -0.7474508285522461, -0.36481669545173645, 0.0007655796362087131, -0.24453672766685486, -0.6095961928367615, 0.2685803174972534, -0.3328872621059418, 0.06397145241498947, 0.1423371583223343, 0.035198140889406204, 0.2687852382659912, 0.6935082077980042, 0.20054596662521362, 0.5599642395973206, 0.32098910212516785, -0.4810877740383148, 0.6261113286018372, 0.3360733389854431, -0.6112794876098633, 0.7675931453704834, -0.6776015162467957, -0.103206567466259, 0.16555677354335785, 0.7264885902404785, -1.1417092084884644, -0.3936525881290436, 0.12403048574924469, -0.3344319760799408, 0.1479300707578659, -0.09724502265453339, -0.22917552292346954, 0.15229393541812897, -0.09236881881952286, 0.6040890216827393, -0.2590607702732086, -0.42774295806884766, 0.8075749278068542, 0.48294296860694885, -0.377503901720047, -0.4623638093471527, -0.8220648765563965, 0.013584654778242111, 0.019305836409330368, -1.1244927644729614, 0.13615284860134125, -0.18835097551345825, -0.24933572113513947, -0.2978150248527527, 0.13700805604457855, -0.2356485277414322, 0.24453110992908478, 0.6069269180297852, 0.35789597034454346, -0.29640185832977295, 0.28032854199409485, 0.23534554243087769, -0.0774875059723854, 0.1393294334411621, 0.1259431540966034, 0.760700523853302, -0.09092964231967926, -0.5906937718391418, -1.0103332996368408, 0.6505193710327148, 1.0809228420257568, -0.3649686574935913, 0.9339801073074341, 0.6123009920120239, -0.320827454328537, 0.1461605429649353, -0.489686518907547, -0.3163219392299652, -0.41266170144081116, 0.41792041063308716, -0.36064109206199646, -0.597874104976654, 0.45799940824508667, 0.06695836037397385, -0.043917976319789886, 0.31097549200057983, 0.7839693427085876, -0.21508529782295227, 1.391290545463562, 0.4311102330684662, 0.17536695301532745, 0.5765480995178223, -0.16718311607837677, 0.3574923872947693, -0.6017564535140991, -0.39401039481163025, -0.40092039108276367, -0.04038907587528229, -0.5496453046798706, -0.19032898545265198, 0.6835847496986389, 0.014881649985909462, 0.2489212304353714, -0.3038235008716583, -0.3251957893371582, 0.2741943895816803, 0.7918645143508911, 0.19581195712089539, 0.4494076669216156, -0.1401064693927765, -0.41092026233673096, 0.10470406711101532, -0.6675987839698792, -0.15520033240318298, 0.6460607647895813, 0.4621015787124634, 0.7085864543914795, 0.204186350107193, 0.26995494961738586, 0.5860291123390198, 0.4108615219593048, -0.801764965057373, 0.09654336422681808, 0.3308020234107971, -0.8541821837425232, -0.3291504383087158, -0.20484769344329834, -0.6203216314315796, 0.3864530920982361, -0.23033826053142548, -0.6930983662605286, 0.27266356348991394, 0.2873980402946472, -0.5500834584236145, 0.0362359918653965, -0.8881530165672302, 1.3303927183151245, -0.159353569149971, 0.03767622262239456, -0.230749249458313, -0.7834516763687134, 0.6775345802307129, 0.17836590111255646, 0.49594324827194214, -0.14390023052692413, 0.6013419032096863, 0.5988975763320923, -0.6534502506256104, 0.7151665091514587, -0.3295217454433441, 0.030705422163009644, 0.1643276959657669, 0.17349202930927277, 0.22234274446964264, 0.3283427059650421, 0.26464471220970154, 0.23313510417938232, 0.28282779455184937, -0.26843467354774475, -0.4838207960128784, 0.6581761240959167, -0.43949198722839355, -0.2348940670490265, -0.385160356760025, -0.5712950229644775, -0.4603501260280609, -0.012595195323228836, 0.40228864550590515, 0.9062192440032959, -0.38852348923683167, 0.3077660799026489, 0.46397143602371216, -0.16763362288475037, 0.5159765481948853, 0.1962808519601822, -0.20880475640296936, -0.3707965910434723, 0.7207148671150208, -0.06512956321239471, 0.4287896454334259, 0.05740455165505409, -0.12929470837116241, -0.5009657740592957, -0.317350834608078, -0.6805209517478943, 0.11732670664787292, -0.8710381984710693, -0.1405155062675476, -0.9562382698059082, -0.16464342176914215, -0.37925663590431213, -0.04993465915322304, -0.30092334747314453, -0.37836962938308716, -0.25579896569252014, -0.25826457142829895, -0.1696062535047531, 0.5219852328300476, -0.003870750777423382, 0.3440187871456146, -1.1693735122680664, 0.28338274359703064, 0.34089115262031555, 0.04386013001203537, -0.06917045265436172, -0.1250007301568985, -0.10745826363563538, 0.13739658892154694, -0.45519834756851196, -0.9346117377281189, 0.4373409152030945, 0.29880958795547485, 0.4226883053779602, 0.5864080786705017, -0.07146572321653366, 0.5958269834518433, -0.3439895510673523, 0.822823703289032, 0.5919592380523682, -0.8716408014297485, 0.5572183132171631, -0.33259299397468567, 0.5170036554336548, 0.5015736818313599, 0.12247258424758911, -0.9096472263336182, -0.48268067836761475, -0.605986475944519, -0.7565032243728638, 0.8593353033065796, -0.030581695958971977, -0.2800610661506653, -0.03086780197918415, -0.39657220244407654, -0.02894243225455284, 0.1593589186668396, -0.45248597860336304, -0.2705080211162567, -0.23548242449760437, -0.1625787615776062, -0.07885311543941498, -0.345304399728775, -0.22762826085090637, -0.001001065713353455, 0.3660411536693573, -0.2345820814371109, 0.28728267550468445, 0.2520686089992523, -0.4453893303871155, 0.20156124234199524, 0.46102526783943176, 1.0089786052703857, 0.8969295024871826, -0.41596925258636475, -0.1108311265707016, 0.002966527361422777, -0.29502159357070923, 0.30068647861480713, 0.20507536828517914, 0.06154410168528557, 0.3792031407356262, 0.46825480461120605, 0.8232963681221008, 0.22859930992126465, -1.0499557256698608, 0.5948488116264343, -0.5089678764343262, -0.014681894332170486, -0.4197883605957031, 0.02059226483106613, 0.16715644299983978, 0.27798834443092346, 0.22125303745269775, 0.44969359040260315, 0.3989982306957245, -0.6593388319015503, 0.501917839050293, 0.23324769735336304, -0.6596090197563171, -0.008103848434984684, 0.6629490852355957, 0.4572792053222656, -0.3467032313346863, 0.8250924944877625, 0.13153785467147827, -0.43729761242866516, 0.718716025352478, 0.29480838775634766, 0.8114715814590454, -0.43221989274024963, 0.24406760931015015, 0.07898751646280289, 0.0004068537673447281, 0.2949412167072296, -0.11978909373283386, -0.20194678008556366, -0.8053829073905945, -0.5303128957748413, -0.5751530528068542, -0.5957679152488708, 0.24880589544773102, -0.720914363861084, 0.04071059823036194, -0.44007599353790283, -0.2468562126159668, 0.2924768924713135, -0.6116079688072205, -0.6353355646133423, 0.3727201223373413, 0.2730621099472046, 0.5772619247436523, -0.537553071975708, 0.8823476433753967, 0.1852646917104721, -0.3769493103027344, -0.522817075252533, -0.15448510646820068, 0.29899919033050537, -0.4603455662727356, 0.7142341732978821, 0.5255233645439148, -0.27896952629089355, -0.3614954352378845, -0.33505457639694214, -0.29263025522232056, 0.7803612947463989, 0.4955579340457916, -0.7252100706100464, -0.1918347179889679, -0.14143991470336914, 0.28694838285446167, -0.5184344053268433, 0.7021897435188293, 0.8516510128974915, 0.42859992384910583, -0.019301220774650574, -1.135647177696228, -0.09047259390354156, -0.11975383013486862, -0.3102969229221344, 0.26512959599494934, -0.4681813716888428, 0.8589969277381897, 0.046880245208740234, -0.08491960912942886, -0.16967248916625977, 0.24055609107017517, 0.26773300766944885, 0.6521217823028564, 0.7872860431671143, 0.5001988410949707, 0.8084529042243958, -0.16717296838760376, 1.1352262496948242, -0.327192485332489, 0.2849131226539612, 1.2347252368927002, 0.1398618370294571, 0.5521766543388367, 0.2488706260919571, 0.14762556552886963, 0.4464736580848694, 0.5801604986190796, 0.332963228225708, 0.43652865290641785, -0.4102935791015625, -0.47387072443962097, -0.39258691668510437, -0.30579429864883423, -0.2941742241382599, 0.7481469511985779, 0.7495232224464417, -0.44884464144706726, -0.1364569216966629, 0.5242168307304382, 0.2905186414718628, -0.4660806655883789, -0.005791915580630302, 0.8852971792221069, -0.13708291947841644, -1.1286752223968506, 0.8806064128875732, -0.16640493273735046, 0.40589576959609985, -0.5791002511978149, -0.1973973512649536, -0.3005848228931427, 0.34093177318573, -0.2411985844373703, -0.36392080783843994, 0.3244290351867676, -0.2187597006559372, -0.31249600648880005, -0.258047878742218, 0.5801249742507935, -0.5205515623092651, -0.38807064294815063, 0.41323110461235046, 0.4589824974536896, 0.039790134876966476, -0.41937947273254395, -0.9031636118888855, 0.11099382489919662, 0.28953877091407776, -0.28407832980155945, 0.1405859887599945, 0.2179383486509323, 0.17583906650543213, 0.7950635552406311, 0.8849205374717712, -0.37852510809898376, 0.09790284186601639, 0.10711334645748138, 0.7759475111961365, -0.76366126537323, -0.5202588438987732, -0.8439763188362122, 0.8613343238830566, -0.2359222024679184, -0.39237144589424133, 0.3202303349971771, 0.347991019487381, 0.42186981439590454, 0.2221098691225052, 0.844209611415863, -0.08373531699180603, 0.4661688208580017, -0.6248322129249573, 0.7637805938720703, -0.5956156849861145, 0.19675487279891968, -0.0881383866071701, -0.5649495124816895, -0.22757144272327423, 0.434417188167572, 0.23702402412891388, -0.30948778986930847, 0.7867623567581177, 0.8055142164230347, -0.1303672343492508, 0.16064810752868652, 0.4943436086177826, 0.20811665058135986, 0.8519585728645325, 0.2184121012687683, 0.8536852598190308, -0.045324597507715225, 0.7225483059883118, -0.25890305638313293, -0.405499666929245, -0.5128951072692871, -0.6396433711051941, -0.6733194589614868, -0.5649345517158508, -0.1512906700372696, -0.6170783042907715, -0.3015625476837158, 0.9465375542640686, 0.9615687131881714, -0.9719199538230896, -0.0540236160159111, 0.12461648881435394, 0.27540603280067444, -0.3059501349925995, -0.3034665286540985, 0.12990786135196686, -0.46029192209243774, -0.7717358469963074, 0.7821725010871887, 0.589401125907898, -0.1925715208053589, -0.40704795718193054, -0.07968854159116745, -0.49772319197654724, -0.12955953180789948, 0.6605346202850342, 0.1236797347664833, -0.7125328183174133, -0.08055593818426132, -0.34157437086105347, -0.16018450260162354, 0.3443547189235687, 0.8938006162643433, -0.6679284572601318, 0.7563173174858093, 0.45164087414741516, 0.46436887979507446, 0.5893182754516602, -0.058756958693265915, 0.5986288785934448, -0.6946404576301575, 0.35906481742858887, 0.552005410194397, 0.5208159685134888, 0.3005955219268799, -0.22263561189174652, 0.3451918065547943, 0.41914957761764526, -0.6290152072906494, -0.8581624031066895, 0.20437774062156677, -0.9069023728370667, -0.36253753304481506, 0.600805401802063, -0.13222461938858032, -0.18369443714618683, -0.3749903738498688, -0.5269713401794434, 0.017561491578817368, -0.6707351207733154, 0.28954118490219116, 0.8254535794258118, -0.565973162651062, -0.38774949312210083, -0.6648836731910706, 0.5364416241645813, 0.41229987144470215, -0.7242605090141296, -0.09268797934055328, 0.8246557116508484, 0.05429324135184288, 0.5215573310852051, 0.8034207820892334, 0.2349872589111328, 0.390907883644104, 0.01754070818424225, -0.0723927766084671, 0.07622087746858597, -0.3451230227947235, -0.15311399102210999, 0.5444276332855225, -0.25296664237976074, -0.3298676013946533 ]
http://arxiv.org/abs/2404.08155v1
http://arxiv.org/pdf/2404.08155v1
Graph Integrated Language Transformers for Next Action Prediction in Complex Phone Calls
2024-04-11T22:47:50
2024-04-11T22:47:50
Amin Hosseiny Marani, Ulie Schnaithmann, Youngseo Son, Akil Iyer, Manas Paldhe, Arushi Raghuvanshi
cs.CL
cs.CL
Current Conversational AI systems employ different machine learning pipelines, as well as external knowledge sources and business logic to predict the next action. Maintaining various components in dialogue managers' pipeline adds complexity in expansion and updates, increases processing time, and causes additive noise through the pipeline that can lead to incorrect next action prediction. This paper investigates graph integration into language transformers to improve understanding the relationships between humans' utterances, previous, and next actions without the dependency on external sources or components. Experimental analyses on real calls indicate that the proposed Graph Integrated Language Transformer models can achieve higher performance compared to other production level conversational AI systems in driving interactive calls with human users in real-world settings.
[ -0.38552534580230713, -0.7950555682182312, 0.37227776646614075, 0.12549327313899994, 0.08959585428237915, 0.5690337419509888, 0.16004735231399536, -0.953564465045929, -0.0033045103773474693, 0.7056125998497009, -0.7091159224510193, -0.17281818389892578, -0.43717169761657715, -0.15317589044570923, -0.37967875599861145, 0.5327079892158508, 0.12046428769826889, 0.20389634370803833, -0.08684465289115906, 0.015050699934363365, -0.7749816179275513, -0.4302915334701538, -0.9164385199546814, -0.7819415330886841, 0.22820024192333221, 0.3633498251438141, 1.229337453842163, 0.16572757065296173, 0.36640986800193787, 0.45259782671928406, 0.058623332530260086, 0.2142481952905655, -0.2679961025714874, 0.08026581257581711, 0.16265949606895447, -0.6408255696296692, -0.4860948622226715, -0.047869231551885605, 0.30463191866874695, 0.686802327632904, 0.033157266676425934, -0.011529463343322277, -0.06182638928294182, 0.3390790522098541, -0.1309315264225006, 0.8621791005134583, -0.3429110646247864, 0.20802627503871918, 0.24428537487983704, -0.15758073329925537, -0.598809003829956, -0.5631511807441711, 0.4953036308288574, -0.26167032122612, -0.10317715257406235, -0.040225837379693985, 0.7099289298057556, 0.27894848585128784, -0.2326231449842453, -0.35734012722969055, -1.2409671545028687, 0.28975972533226013, -0.7118108868598938, 0.44352105259895325, 0.17854948341846466, 0.512895405292511, -0.3009410798549652, -0.9735658168792725, -0.6864268779754639, -0.2521437704563141, -0.535352885723114, 0.294863760471344, -0.4545847773551941, 0.44462329149246216, 0.2343817949295044, -0.1636636108160019, -0.17467661201953888, 0.3180656135082245, -0.43638139963150024, -0.23546001315116882, 0.4367213547229767, 0.43993937969207764, 0.43101873993873596, 0.002038052538409829, 0.12975019216537476, -0.05830997973680496, -0.636863112449646, 0.28851068019866943, 0.5267155766487122, 0.450115442276001, -0.012875028885900974, 0.4684939980506897, -0.037900447845458984, 0.8690246939659119, 0.2488320916891098, -0.06204662099480629, 0.1683841198682785, -0.11325632780790329, -0.1641291379928589, 0.310634583234787, 0.8521488308906555, 0.2657451033592224, 0.6394538879394531, -0.20842969417572021, 0.19675733149051666, 0.1104392483830452, 0.37346482276916504, -0.9212621450424194, -0.2728038728237152, 0.28608930110931396, -0.15170134603977203, -0.2670278549194336, -0.016876766458153725, -0.4902457296848297, -0.2028171420097351, -0.5358316898345947, 0.09017419070005417, -0.563388466835022, -0.2772069573402405, -0.1709248572587967, 0.08425875753164291, 0.26232007145881653, 0.29907864332199097, -0.7013617753982544, 0.5703951120376587, 0.6262142658233643, 0.7912057042121887, -0.009230553172528744, -0.25450730323791504, -0.9142669439315796, 0.15112614631652832, -0.3376581370830536, 0.9624884128570557, -0.8366286158561707, -0.5316945314407349, 0.10851798206567764, 0.03424137458205223, -0.2801758348941803, -0.6669544577598572, 0.4130505323410034, -0.5955045819282532, 0.32760393619537354, 0.29443657398223877, -0.31182152032852173, -0.40185287594795227, -0.0713406428694725, -0.5656808018684387, 0.9292643070220947, 0.4094963073730469, -0.41740909218788147, 0.23367106914520264, -0.9811638593673706, -0.7510397434234619, 0.4476257860660553, -0.19768694043159485, -0.44558390974998474, -0.2499517798423767, 0.21013054251670837, 0.3787551522254944, -0.005456154700368643, 0.3690881133079529, -0.16643297672271729, -0.602550208568573, 0.31186625361442566, -0.22319164872169495, 0.6819051504135132, -0.07938145846128464, -0.4596753716468811, 0.40234118700027466, -0.48818111419677734, 0.017427826300263405, -0.24825555086135864, -0.09638635069131851, 0.20199686288833618, 0.10874410718679428, -0.11983367800712585, 0.492027223110199, -0.11828215420246124, -0.29090797901153564, -0.04090869054198265, -0.4933086633682251, 0.5273512005805969, 0.6905441880226135, -0.24360644817352295, 0.570168673992157, -0.02576437033712864, 0.8126441836357117, 0.1366625726222992, 0.1628788858652115, -0.2766910195350647, -0.7089268565177917, -0.8998776078224182, 0.09350629150867462, 0.28914567828178406, 0.9279215335845947, -0.4792715013027191, 0.49999216198921204, -0.5387690663337708, -0.5153417587280273, -0.4576038122177124, 0.009721929207444191, 0.25986382365226746, 0.7205469012260437, 0.15495002269744873, -0.4126201868057251, -0.5529899001121521, -0.6307823657989502, -0.14800503849983215, -0.5198206901550293, -0.07708438485860825, 0.5596550703048706, -0.12699513137340546, -0.5150519013404846, 1.3282161951065063, -0.47770023345947266, -0.1268628090620041, -0.3957187235355377, 0.22481900453567505, 0.24585658311843872, 0.047192394733428955, 0.4397226870059967, -0.8366172313690186, -0.6476982235908508, 0.18629810214042664, -0.478686660528183, -0.1041276827454567, -0.07815253734588623, -0.011862620711326599, 0.00213410216383636, 0.7684645056724548, -0.6287394165992737, 0.44397103786468506, 0.7923434972763062, -0.09809041768312454, 0.31454139947891235, -0.01392112672328949, -0.26451921463012695, -0.9264699220657349, -0.24890387058258057, 0.0295996256172657, -0.3748225271701813, -0.8768793344497681, -0.6783414483070374, -0.24681948125362396, -0.5591092705726624, -0.3411763310432434, 0.2909553349018097, -0.22812789678573608, -0.5042598843574524, -0.029002871364355087, 0.10965991765260696, -0.4496147334575653, 0.6303362250328064, -0.11671586334705353, 0.933352530002594, 0.5709485411643982, -0.7673046588897705, 0.4555377662181854, 0.5033318996429443, -0.32755404710769653, 0.35049670934677124, -0.6068840026855469, 0.17534948885440826, 0.04403179511427879, 0.5259528160095215, -1.302308440208435, -0.17184054851531982, 0.219054713845253, -0.4882470965385437, 0.26824259757995605, -0.26656487584114075, -0.47080934047698975, -0.6594620943069458, 0.2221607118844986, -0.02803548239171505, 0.5496804714202881, -0.35416051745414734, 1.039566159248352, 0.4702020585536957, -0.4835120141506195, -0.35223400592803955, -0.5682101845741272, 0.19054703414440155, -0.0036224275827407837, -0.836220920085907, 0.08638428151607513, 0.03526486083865166, -0.23444566130638123, -0.023765891790390015, 0.13006381690502167, -0.017220044508576393, -0.07519317418336868, 0.6246355772018433, 0.3814326822757721, -0.07250988483428955, -0.099623903632164, 0.02383360080420971, -0.4771953225135803, 0.22960978746414185, -0.3608464300632477, 0.9629294276237488, 0.016134221106767654, -0.4085749685764313, -0.9869755506515503, 0.30386561155319214, 0.9143674969673157, -0.10208539664745331, 0.4529040455818176, 0.7102485299110413, 0.05198643356561661, 0.3233296871185303, -0.32685714960098267, -0.1889421045780182, -0.5432908535003662, 0.5737407207489014, -0.43132999539375305, -0.690036416053772, 0.5410761833190918, -0.6486928462982178, 0.025823963806033134, 0.1205759271979332, 0.4965544044971466, -0.1987657994031906, 1.6730647087097168, 0.5189666748046875, -0.1914016604423523, 0.9133827090263367, -0.3784652054309845, 0.8018826842308044, -0.6045606136322021, -0.28572356700897217, -0.15060994029045105, -0.38708430528640747, -0.7337736487388611, -0.16840143501758575, 0.35991135239601135, -0.10187053680419922, -0.39316806197166443, 0.5770306587219238, -0.18488633632659912, 0.2216145396232605, 0.5308005809783936, 0.015912996605038643, 0.24853387475013733, -0.0005588539643213153, 0.19039006531238556, 0.0785309225320816, -0.8273351192474365, -0.379401296377182, 0.6255338191986084, 0.29835817217826843, 0.6433936357498169, 0.017609000205993652, 0.302094966173172, 0.214511439204216, 0.5486305952072144, -1.1170377731323242, 0.49993589520454407, 0.13396906852722168, -0.082201287150383, -0.34865865111351013, -0.16072705388069153, -0.9789907932281494, -0.0006921212188899517, -0.1898515820503235, -0.9567987322807312, -0.05259739235043526, 0.17143824696540833, -0.3666454553604126, 0.0810147225856781, -1.0863862037658691, 0.4194745123386383, -0.04749736562371254, 0.1346392035484314, -0.22096267342567444, -0.7061704993247986, 0.05467546731233597, 0.14835791289806366, 0.30839812755584717, 0.006789313163608313, 0.5287656188011169, 0.5039684176445007, -0.5074334144592285, 1.1566672325134277, -0.09096765518188477, -0.15763697028160095, 0.5614754557609558, 0.09955376386642456, 1.0049272775650024, -0.2324521392583847, 0.001255071721971035, 0.20305445790290833, -0.5507742762565613, -0.1769983023405075, -0.5846111178398132, 0.4840162694454193, -0.718390166759491, -0.6373720169067383, 0.07981343567371368, -0.6193411350250244, -0.47439202666282654, 0.2399892807006836, 0.2374737709760666, 0.6180183291435242, -0.050142548978328705, -0.1293891817331314, 0.20622482895851135, 0.121237613260746, 0.6996681690216064, 0.3215932250022888, -0.11203945428133011, -0.24835190176963806, 0.7529839277267456, 0.2272605448961258, 0.33788955211639404, 0.1866910308599472, 0.11105070263147354, -0.33950626850128174, -0.4510350525379181, -0.6128890514373779, 0.05308900400996208, -0.5320768356323242, -0.2561566233634949, -1.1081455945968628, -0.22896099090576172, -0.5780794620513916, -0.12294291704893112, -0.18836122751235962, -0.29679349064826965, -0.10113949328660965, -0.3722604215145111, 0.3451472222805023, 0.8667280077934265, 0.3511921763420105, 0.7583215236663818, -0.9435144066810608, 0.07322453707456589, 0.4663836658000946, 0.4701051414012909, 0.013312989845871925, -0.26571330428123474, -0.30885279178619385, 0.037450652569532394, -0.4642074704170227, -0.7973687648773193, 0.426867812871933, 0.08858826011419296, 0.45045164227485657, 0.31466665863990784, -0.213612362742424, 0.9415836930274963, -0.7026949524879456, 0.625415563583374, 0.3753063380718231, -1.0257285833358765, 0.3710382580757141, -0.21849510073661804, 0.30529457330703735, 0.07650865614414215, 0.13095365464687347, -0.6989514231681824, -0.4713290333747864, -0.6581527590751648, -0.7339279055595398, 0.9738269448280334, 0.20357277989387512, 0.38930031657218933, 0.2820340096950531, 0.05836402252316475, -0.18023346364498138, -0.1211518943309784, -0.3199324607849121, -0.27778714895248413, -0.02301711030304432, -0.08147735148668289, 0.018499290570616722, -0.036860086023807526, 0.01410198025405407, -0.30207833647727966, 0.25197431445121765, -0.41985538601875305, 0.33315062522888184, -0.13136819005012512, -0.02481761947274208, -0.3569963872432709, -0.011557916179299355, 0.33399248123168945, 0.712623119354248, 0.006285288371145725, -0.3292224109172821, 0.4176696538925171, -0.46681663393974304, -0.0972752720117569, 0.039085231721401215, 0.17911259829998016, 0.20307129621505737, 0.3399653732776642, 0.9822193384170532, 0.3612731993198395, -0.6728405356407166, 0.2639453113079071, -0.04714498296380043, 0.07013887166976929, -0.742506206035614, 0.21000729501247406, 0.25849583745002747, 0.39863166213035583, 0.28706493973731995, 0.41911938786506653, 0.15903013944625854, -0.8529408574104309, 0.2682543992996216, 0.27664217352867126, -0.9476780891418457, -0.37125277519226074, 0.3725457787513733, 0.4561833143234253, -1.0003780126571655, 0.7081884145736694, 0.09768754243850708, -0.8957576155662537, 0.5605135560035706, 0.6517885327339172, 0.8277519345283508, -0.5271451473236084, 0.31325268745422363, 0.2180027812719345, -0.10164814442396164, 0.1598527580499649, -0.01637679524719715, 0.11124347895383835, -0.8585927486419678, -0.748805046081543, -0.13664713501930237, -0.7348766922950745, -0.09367706626653671, -0.27316758036613464, 0.6127794981002808, -0.20559611916542053, -0.15162986516952515, 0.022421272471547127, -0.23942795395851135, -0.6353483200073242, 0.17631486058235168, 0.10050266236066818, 0.5756391882896423, -0.7060117125511169, 0.7777268290519714, 0.3364144265651703, -0.24136559665203094, -0.7855335474014282, -0.03844289109110832, -0.2815690040588379, -0.8044365048408508, 0.955161988735199, 0.20655223727226257, -0.6420018672943115, 0.15917393565177917, -0.3411943018436432, -0.6866291165351868, 1.0812058448791504, 0.4479178488254547, -0.3962397277355194, -0.05720105767250061, 0.39934033155441284, 0.5687485933303833, -0.5452640056610107, 0.6262534260749817, 0.6721643805503845, 0.49901440739631653, 0.40292251110076904, -0.9609216451644897, -0.12887991964817047, -0.13356457650661469, -0.03280191123485565, 0.5407328009605408, -0.7368021011352539, 0.7043781280517578, -0.2649749219417572, -0.416505366563797, -0.2191312164068222, 0.7018353939056396, -0.3383164703845978, 0.1497635692358017, 0.7188931107521057, 0.0896175354719162, 0.6798511743545532, -0.10539529472589493, 1.0266810655593872, -0.3752696216106415, 0.1339515596628189, 1.226802945137024, -0.17648714780807495, 0.6932380199432373, 0.1615801900625229, -0.2573888301849365, 0.9467194676399231, 0.5419167280197144, 0.12843601405620575, 0.22894948720932007, 0.002158990828320384, -0.3075145184993744, -0.10580131411552429, -0.1483840048313141, -0.053277045488357544, 0.7884306907653809, 0.6613109111785889, -0.24583700299263, -0.06423923373222351, -0.2719559967517853, 0.013789149932563305, -0.14058522880077362, 0.05419633910059929, 1.1086064577102661, -0.18044337630271912, -0.8327401280403137, 0.3699464499950409, -0.4397399127483368, 0.40993595123291016, -0.39485469460487366, -0.259089857339859, -0.06115279346704483, 0.23638516664505005, -0.40294885635375977, -0.8576609492301941, 0.49651220440864563, -0.22867432236671448, 0.167059987783432, -0.10146384686231613, 0.636330246925354, -0.3805634081363678, -0.22450533509254456, 0.6521291732788086, 0.30426251888275146, -0.05595774948596954, -0.026683762669563293, -0.6629637479782104, -0.14996030926704407, -0.004341719206422567, 0.005540295969694853, 0.037901706993579865, 0.2539035677909851, -0.19374975562095642, 1.0066977739334106, 0.7495965361595154, -0.24977238476276398, -0.01942111924290657, 0.26213470101356506, 0.8925124406814575, -0.5275472402572632, -0.5118628740310669, -0.6898220181465149, 0.5010188817977905, -0.3757936954498291, -0.05090617015957832, 0.39762797951698303, 0.6181179285049438, 0.6664778590202332, 0.17188681662082672, 0.9361262321472168, 0.19476787745952606, 0.13262590765953064, -0.2531036138534546, 0.365236759185791, 0.27636733651161194, 0.07250793278217316, -0.37395524978637695, -0.8542386293411255, -0.3451175391674042, 0.3495384752750397, -0.40694767236709595, -0.19486099481582642, 0.5347452759742737, 0.6869215369224548, -0.21818388998508453, 0.31491008400917053, 0.34700796008110046, 0.25186601281166077, 0.7616771459579468, 0.22382289171218872, 0.8192721605300903, -0.4121164381504059, 0.9124752879142761, -0.026652412489056587, -0.07830414921045303, -0.46119892597198486, -0.40752092003822327, -0.7905957102775574, -0.5263677835464478, -0.19555553793907166, -0.5268124938011169, -0.27194491028785706, 0.6469175815582275, 0.8687277436256409, -0.9094903469085693, -0.4461342394351959, -0.4098120629787445, 0.0036729334387928247, -0.33465102314949036, -0.33012697100639343, 0.12742163240909576, -0.595044732093811, -1.2983886003494263, 0.24902743101119995, 0.48814842104911804, 0.11264342814683914, -0.1702648401260376, -0.2711283564567566, 0.19104579091072083, 0.01177448034286499, 0.8726138472557068, 0.22703970968723297, -0.6733893156051636, -0.473681777715683, -0.10918773710727692, 0.13821649551391602, 0.4193671643733978, 1.1465489864349365, -0.9243969321250916, 0.5033730268478394, 0.48444098234176636, 0.5197489857673645, 0.6821334958076477, -0.060923684388399124, 1.1760691404342651, -0.3684535324573517, 0.404735267162323, 0.3055897653102875, 0.34655728936195374, 0.3619876205921173, -0.5412316918373108, 0.5576915740966797, 0.011824078857898712, -0.22909502685070038, -0.4414029121398926, 0.7102985978126526, -0.8383397459983826, 0.04177597910165787, 0.7391930818557739, -0.1793442964553833, 0.002004504669457674, -0.5129439830780029, -0.5538846254348755, 0.48046359419822693, -0.5627577900886536, 0.4658758342266083, 0.5497202277183533, -0.7881245017051697, -0.28098610043525696, -0.3848009705543518, 0.35054653882980347, 0.14878913760185242, -0.7639135718345642, 0.14103925228118896, 0.3451635241508484, -0.2043706178665161, 0.49922022223472595, 0.37242546677589417, -0.12398423254489899, -0.043749965727329254, -0.12002246081829071, -0.43119433522224426, 0.19629007577896118, -0.058505259454250336, -0.02191215008497238, 0.03474973514676094, -0.20399673283100128, -0.19760484993457794 ]
http://arxiv.org/abs/2404.08148v1
http://arxiv.org/pdf/2404.08148v1
Distilling Algorithmic Reasoning from LLMs via Explaining Solution Programs
2024-04-11T22:19:50
2024-04-11T22:19:50
Jierui Li, Raymond Mooney
cs.CL
cs.CL
Distilling explicit chain-of-thought reasoning paths has emerged as an effective method for improving the reasoning abilities of large language models (LLMs) across various tasks. However, when tackling complex tasks that pose significant challenges for state-of-the-art models, this technique often struggles to produce effective chains of thought that lead to correct answers. In this work, we propose a novel approach to distill reasoning abilities from LLMs by leveraging their capacity to explain solutions. We apply our method to solving competitive-level programming challenges. More specifically, we employ an LLM to generate explanations for a set of <problem, solution-program> pairs, then use <problem, explanation> pairs to fine-tune a smaller language model, which we refer to as the Reasoner, to learn algorithmic reasoning that can generate "how-to-solve" hints for unseen problems. Our experiments demonstrate that learning from explanations enables the Reasoner to more effectively guide program implementation by a Coder, resulting in higher solve rates than strong chain-of-thought baselines on competitive-level programming problems. It also outperforms models that learn directly from <problem, solution-program> pairs. We curated an additional test set in the CodeContests format, which includes 246 more recent problems posted after the models' knowledge cutoff.
[ -0.5124712586402893, -0.5849854350090027, 0.9028180837631226, -0.030331619083881378, -0.15979266166687012, 0.36362791061401367, -0.4637763798236847, -0.10470665246248245, -0.03971812129020691, 0.3427709937095642, -0.8443538546562195, -0.21418388187885284, -0.6085181832313538, 0.0951065942645073, -0.13255201280117035, 1.060164451599121, -0.2829761803150177, -0.27344968914985657, -0.36033520102500916, 0.13761688768863678, -0.5643702149391174, -0.09359188377857208, -0.5510322451591492, -0.6480728983879089, 0.5107015371322632, 0.5973911881446838, 0.4407922327518463, 0.7634803056716919, 0.49971210956573486, 0.36462461948394775, -0.04886436462402344, 0.3523133397102356, -0.6010000109672546, 0.22137241065502167, -0.3884841799736023, -0.8226029872894287, -0.06916576623916626, -0.10547389090061188, 0.10959171503782272, 0.9115109443664551, -0.3287615180015564, 0.28446584939956665, 0.05677342042326927, 0.7537240982055664, -0.493566632270813, 0.16989794373512268, -1.0167638063430786, -0.13857509195804596, 0.053293950855731964, -0.5665743350982666, -0.45643994212150574, -0.1394246518611908, -0.050019580870866776, -0.629821240901947, 0.16258850693702698, -0.027502484619617462, 0.5680516362190247, 0.619434654712677, -0.09001082926988602, -0.600755512714386, -0.859959065914154, 0.6797923445701599, -0.5626969337463379, -0.12409022450447083, 0.011184757575392723, 0.6059356331825256, -0.3875381350517273, -0.5785328149795532, -0.48018017411231995, 0.05543747916817665, 0.14697220921516418, 0.04667556658387184, -0.3125794529914856, -0.08815360069274902, 0.3881850838661194, 0.35672345757484436, -0.4055241346359253, -0.04725223034620285, -0.5830240249633789, 0.09961342811584473, 0.7667068839073181, 0.04739823192358017, 0.09611926972866058, 0.3454214632511139, -0.22402456402778625, 0.18378105759620667, -0.6352584362030029, 0.18102210760116577, 0.07676133513450623, -0.0010638154344633222, 0.12297812104225159, 0.4210890531539917, 0.007749711163341999, 0.7199239134788513, 0.24694906175136566, -0.16973094642162323, -0.05415106192231178, -0.060483671724796295, -0.09643787890672684, 0.1637754738330841, 0.35800307989120483, 0.172752246260643, 0.38824373483657837, -0.19707408547401428, -0.34010931849479675, 0.07478594034910202, 0.22392672300338745, -0.519326388835907, -0.5416647791862488, 0.28144240379333496, -0.4112553596496582, -0.2920305132865906, -0.22665955126285553, -0.6580966711044312, -0.6211223602294922, -0.4934490919113159, 0.305881530046463, -0.11720391362905502, -0.23661170899868011, 0.35713067650794983, -0.48552191257476807, 0.22021198272705078, 0.11917068809270859, -0.7561163902282715, 0.15307952463626862, 0.6977351903915405, 0.6641019582748413, 0.13128802180290222, -0.031941428780555725, -0.6258591413497925, 0.05593651533126831, -0.4713950455188751, 0.7688040137290955, -0.5888503193855286, -0.022227071225643158, -0.2857147455215454, -0.4409630000591278, 0.11463941633701324, -0.8170621991157532, 0.21334530413150787, -0.4254382848739624, -0.01508819404989481, -0.32326436042785645, -0.5323712825775146, 0.10927747189998627, 0.3269426226615906, -0.27921751141548157, 0.7992019653320312, -0.33470672369003296, -0.627140462398529, 0.10193557292222977, -0.6360697746276855, -0.24036093056201935, 0.2323419451713562, -0.43351462483406067, -0.14492318034172058, 0.3769325613975525, 0.5515385866165161, 0.2982383370399475, -0.2173435240983963, 0.2923184931278229, -0.25045961141586304, -0.40748101472854614, 0.2233179360628128, -0.27441585063934326, 0.8201842904090881, 0.27338728308677673, -0.4922114312648773, 0.0899985209107399, -0.5518753528594971, 0.044340845197439194, 0.5322105884552002, -0.20651081204414368, -0.268246591091156, 0.20798170566558838, -0.9813172817230225, 0.403331995010376, 0.2321424037218094, -0.180207297205925, 0.2633892595767975, -0.49556341767311096, 0.7335947751998901, 0.9985058903694153, 0.09380088001489639, 0.16338644921779633, -0.3779967427253723, 0.7649549841880798, -0.16785438358783722, 0.050495777279138565, -0.28175586462020874, -0.4482479393482208, -0.9129119515419006, -0.007424621842801571, -0.08941248804330826, 0.37986934185028076, -0.9343469142913818, 0.09992998093366623, -0.10804622620344162, -0.5592855215072632, -0.7388588190078735, 0.30898529291152954, 0.48425936698913574, 0.5656840205192566, 0.40869802236557007, 0.3141743242740631, -0.3968566060066223, -0.7531550526618958, -0.48897236585617065, -0.13368545472621918, -0.010424863547086716, 0.34265100955963135, 0.5995412468910217, 0.08673074096441269, 0.7203598618507385, -0.748315691947937, 0.2673189342021942, -0.6764860153198242, 0.07915249466896057, 0.4809935688972473, 0.23903943598270416, 0.18286685645580292, -0.6428811550140381, -0.3920675218105316, -0.10536312311887741, -0.6357824802398682, -0.37863463163375854, -0.4051753282546997, -0.185845747590065, -0.1939467042684555, 0.6891624927520752, -0.21423378586769104, 0.07992469519376755, 0.3861020505428314, -0.28822061419487, 0.7631959915161133, -0.5675208568572998, -0.2337009608745575, -0.8483922481536865, -0.09584638476371765, 0.09901175647974014, -0.17913825809955597, -0.3112129867076874, 0.37454718351364136, -0.44570717215538025, -0.09916163980960846, -0.05475562438368797, 0.15786390006542206, -0.663122832775116, 0.06388749927282333, -0.3120938837528229, 0.5480235815048218, 0.125450000166893, 0.592722475528717, -0.12868894636631012, 0.5171852111816406, 0.629960834980011, -0.45988979935646057, 0.6815654039382935, -0.03559981659054756, -0.17972049117088318, 0.2846084237098694, -0.8285607695579529, 0.356058269739151, -0.41023486852645874, 0.07504575699567795, -1.0687564611434937, 0.20156612992286682, -0.05425211414694786, -0.37318214774131775, 0.03927520662546158, -0.3750220835208893, -0.3098507821559906, -0.7029651999473572, -0.09352977573871613, 0.36823323369026184, 0.6540840864181519, -0.8310579061508179, 0.37044063210487366, 0.26671770215034485, -0.06678105890750885, -0.4313534200191498, -0.5539430975914001, -0.022770293056964874, -0.4700244963169098, -0.5190461874008179, 0.3979535698890686, -0.36324435472488403, -0.4971100687980652, -0.15905804932117462, -0.5439085364341736, -0.12308919429779053, 0.4620164632797241, 0.09569025784730911, 0.25427332520484924, -0.09830508381128311, 0.20257923007011414, 0.011299186386168003, -0.3581455647945404, 0.5329917073249817, -0.5388864874839783, 0.36612996459007263, -0.1835753470659256, -0.3717324435710907, -0.2235586941242218, 0.28399956226348877, 0.4589668810367584, -0.4659337103366852, 0.7874050736427307, 0.1806376576423645, -0.17020051181316376, -0.767646074295044, -0.43279778957366943, -0.29563429951667786, -0.49391648173332214, 0.18038085103034973, -0.7452685236930847, -0.7909770011901855, 0.526454508304596, -0.5335944890975952, 0.13542015850543976, 0.1725609004497528, 0.531094491481781, -0.12250854074954987, 1.2741881608963013, 0.4133223593235016, -0.01341450959444046, 0.1177266463637352, -0.38718974590301514, 0.6167964339256287, -0.4805676341056824, -0.42493319511413574, -0.4244644343852997, -0.4455435276031494, -0.31330999732017517, -0.49552369117736816, 0.42407557368278503, 0.5112950801849365, -0.1347774714231491, 0.10406863689422607, -0.7580650448799133, 1.0935072898864746, 0.5008589625358582, 0.12330462783575058, 0.3063949942588806, -0.12291739135980606, -0.2757277190685272, 0.1530313491821289, -0.9924051761627197, -0.42523637413978577, 0.8067906498908997, 0.36012744903564453, 0.5677876472473145, 0.01575521193444729, 1.088857889175415, -0.01464806217700243, -0.011784926988184452, -0.6034619212150574, 0.3791901171207428, -0.01906013861298561, -0.4391607642173767, -0.1270228624343872, -0.5977592468261719, -0.5815937519073486, 0.21941125392913818, -0.09989818930625916, -0.6164431571960449, -0.10286082327365875, 0.4561145603656769, -0.41852959990501404, 0.22965936362743378, -0.5132855772972107, 0.9743994474411011, -0.3358364999294281, -0.3452412784099579, -0.37070032954216003, -0.49502015113830566, 0.3702833652496338, 0.2318374216556549, 0.5268152356147766, 0.09746214002370834, 0.19123360514640808, 0.5378171801567078, -0.6121118664741516, 0.5441542863845825, -0.13862814009189606, -0.24446451663970947, 0.38293781876564026, 0.2627980411052704, 0.6784211993217468, -0.048858173191547394, -0.038132861256599426, -0.23497439920902252, -0.20057769119739532, -0.3806861639022827, -0.9438799619674683, 0.6165640950202942, -0.31637799739837646, -1.0397530794143677, -0.02772120200097561, -0.5858304500579834, -0.008281891234219074, 0.007898780517280102, 0.07797521352767944, 0.5098543167114258, 0.39777833223342896, -0.09862379729747772, 0.8189578056335449, -0.14354343712329865, 0.25677767395973206, 0.21678251028060913, 0.0073830136097967625, 0.08253071457147598, 0.9579435586929321, -0.24256093800067902, 0.3596070408821106, 0.16599391400814056, 0.42607152462005615, -0.1857059895992279, -0.8598576188087463, -0.2082538604736328, 0.21563470363616943, -0.8464213013648987, -0.06920935958623886, -0.11301879584789276, -0.14962442219257355, 0.23996806144714355, -0.4249674379825592, -0.2182670682668686, -0.3239807188510895, 0.07131224870681763, -0.17758837342262268, 0.1073351725935936, 0.6339721083641052, -0.06206683814525604, -0.015311836265027523, -0.45125991106033325, 0.4254763722419739, 0.32284507155418396, 0.2630462348461151, 0.22380924224853516, -0.4850718677043915, -0.2784692347049713, 0.2368800938129425, -0.21016180515289307, -0.9701921939849854, 0.1939787119626999, 0.02125590480864048, 0.7687938809394836, 0.4577038586139679, 0.20574414730072021, 0.9573095440864563, -0.35427045822143555, 0.6835451722145081, 0.03066861443221569, -1.0024044513702393, 1.0043838024139404, -0.11697307974100113, 0.2524634301662445, 0.5092397332191467, 0.3272603452205658, -0.24815158545970917, -0.5706777572631836, -0.4602470397949219, -0.7836630344390869, 0.5887574553489685, 0.30763718485832214, -0.23606792092323303, -0.2239876687526703, 0.7442016005516052, 0.05160462111234665, -0.05567320063710213, -0.7748913764953613, -0.3808574378490448, 0.14903570711612701, -0.29002663493156433, 0.06937344372272491, -0.05820463225245476, -0.25383204221725464, -0.2774757742881775, 0.8206632137298584, -0.17558011412620544, -0.08728566020727158, 0.08247488737106323, -0.18506763875484467, 0.05166015401482582, 0.3849199712276459, 0.3746735453605652, 0.9787432551383972, 0.02533450722694397, 0.7078032493591309, -0.054898157715797424, 0.14209096133708954, 0.00811102893203497, 0.03314833343029022, 0.15617096424102783, -0.1979924887418747, 0.5868286490440369, 0.5556846857070923, -0.2423938363790512, -0.9685670137405396, 0.42450493574142456, 0.09079483896493912, -0.29835087060928345, 0.0413370244204998, 0.2322843372821808, 0.4562998414039612, 0.5876294374465942, 0.22866834700107574, -0.009596658870577812, 0.1627630889415741, -0.4904087483882904, -0.029891714453697205, 0.4898044168949127, -0.28713709115982056, -0.1218152567744255, 0.5656725764274597, 0.29095596075057983, -0.28612154722213745, 0.5514621138572693, -0.46141016483306885, -0.8622695207595825, 0.864981472492218, 0.7606128454208374, 0.4969234764575958, 0.15989014506340027, 0.23936140537261963, 0.20982199907302856, 0.21865911781787872, -0.2055954933166504, 0.23975332081317902, -0.41002294421195984, -0.6164213418960571, -0.6658458709716797, -0.31753066182136536, -0.08332321047782898, 0.11416856944561005, -0.5798681974411011, -0.09067041426897049, -0.29234936833381653, 0.2614210844039917, 0.23250146210193634, -0.08928801119327545, -0.41851940751075745, -0.2601745128631592, 0.42109203338623047, 0.8193222284317017, -0.8577499389648438, 0.40258434414863586, 0.6605846881866455, -0.4666730463504791, -1.0645811557769775, -0.1267692744731903, -0.0484028160572052, -0.8919534087181091, 0.6863794922828674, 0.127874493598938, -0.29903069138526917, -0.016613753512501717, -0.5715311169624329, -0.5406000018119812, 1.102652907371521, 0.5574144721031189, -0.9106757640838623, 0.06095244735479355, 0.044321198016405106, 0.39965134859085083, -0.46488675475120544, 0.19082428514957428, 0.7002534866333008, 0.30287396907806396, 0.2614714801311493, -0.7721412181854248, 0.19152094423770905, -0.39010104537010193, -0.16166311502456665, 0.31826332211494446, -0.2029830515384674, 0.5862064957618713, -0.716174304485321, -0.1025339886546135, -0.3054876923561096, 0.30511999130249023, 0.727297842502594, 0.3185199797153473, 0.5209251046180725, 0.5018857717514038, 0.9195874333381653, 0.13560236990451813, 0.7905802726745605, -0.24246035516262054, 0.3006576597690582, 1.2698184251785278, -0.04757745936512947, 0.5518270134925842, 0.79835045337677, -0.12350957095623016, 0.9407907724380493, 0.49216681718826294, 0.07490728795528412, 0.5045716166496277, 0.8614605665206909, -0.056572411209344864, -0.7527503967285156, 0.04840172827243805, -0.10526097565889359, 0.37277600169181824, 0.21617789566516876, -0.3462803065776825, -0.37178632616996765, -0.09154703468084335, -0.09533815085887909, 0.6059799194335938, -0.5510391592979431, 0.7428408265113831, 0.13321302831172943, -0.9165177345275879, 0.7673203945159912, -0.026313774287700653, 0.47518643736839294, -0.2741747200489044, -0.3567796051502228, -0.15369151532649994, 0.49676817655563354, -0.11903472989797592, -0.7985906600952148, 0.3564997911453247, 0.24322600662708282, -0.3130406439304352, -0.3595086634159088, 0.5391750335693359, -0.5170730352401733, -0.49293825030326843, 0.21664875745773315, 0.6040711998939514, 0.32232174277305603, -0.13084085285663605, -0.821443498134613, -0.05150896683335304, 0.14552311599254608, 0.1879483163356781, -0.00836336798965931, 0.6918991804122925, 0.1585879772901535, 1.051682949066162, 0.4528603255748749, 0.1656923145055771, 0.061962053179740906, 0.15238915383815765, 1.0259407758712769, -0.3727629780769348, -0.49958041310310364, -1.3152670860290527, 0.5343907475471497, -0.14330458641052246, 0.07460110634565353, 0.5533836483955383, 0.4690020680427551, 0.712381899356842, 0.002199246548116207, 0.758159875869751, 0.10807041823863983, 0.20034101605415344, -0.5504673719406128, 0.3453420400619507, -0.5030609369277954, 0.8392395377159119, 0.022215282544493675, -0.6051965355873108, -0.08064927160739899, 0.6559114456176758, -0.3885725736618042, -0.07474385201931, 0.6535696387290955, 0.6390103697776794, -0.049256496131420135, -0.18389376997947693, -0.14525984227657318, 0.32116347551345825, 0.5170558094978333, 1.1595898866653442, 0.8918188810348511, -0.009362047538161278, 0.8096837401390076, -0.27171218395233154, -0.531079888343811, 0.08613745123147964, -1.0460827350616455, -1.154006004333496, -0.3222957253456116, -0.526433527469635, -0.20581674575805664, 0.22814887762069702, 0.8553433418273926, 0.5471336841583252, -0.48185884952545166, -0.17691846191883087, -0.6721966862678528, 0.5759003758430481, -0.6231088638305664, -0.20306429266929626, 0.14560864865779877, -0.5378952026367188, -0.17956507205963135, 0.4443531930446625, 0.18449974060058594, -0.4143771529197693, -0.28963926434516907, -0.20857730507850647, 0.06608742475509644, 0.23853982985019684, 0.28601548075675964, 0.13593606650829315, -0.7884940505027771, -0.0803457498550415, -0.07257925719022751, 0.4380108416080475, -0.03790709376335144, 0.8960937857627869, -0.8529655933380127, 0.6087009310722351, 0.34963488578796387, 0.5077647566795349, 0.4825105667114258, -0.0747407004237175, 0.6279510855674744, -0.7381864786148071, -0.17249217629432678, 0.1353893280029297, 0.3541510999202728, 0.028841454535722733, -0.2946354150772095, 0.2763141393661499, 0.04970022290945053, -0.4687586724758148, -0.8025904893875122, 0.419903039932251, -0.7225594520568848, -0.6651096940040588, 0.9346563220024109, -0.31996554136276245, -0.11512745916843414, -0.09778448194265366, -0.08331593871116638, 0.17111492156982422, -0.1358160674571991, 1.0182652473449707, 0.5954176187515259, -0.35370734333992004, -0.3651706874370575, -0.2815883755683899, 0.49740296602249146, 0.11424604803323746, -0.7737126350402832, 0.4486777186393738, 0.33114317059516907, 0.28990066051483154, 0.12372846901416779, 0.5424473881721497, 0.04889480397105217, 0.1647127866744995, -0.00011328620894346386, -0.2598288953304291, -0.5196223855018616, -0.48091188073158264, -0.2767174243927002, 0.14565423130989075, 0.2677367329597473, -0.14836792647838593 ]
http://arxiv.org/abs/2404.08134v1
http://arxiv.org/pdf/2404.08134v1
Extending Translate-Train for ColBERT-X to African Language CLIR
2024-04-11T21:31:02
2024-04-11T21:31:02
Eugene Yang, Dawn J. Lawrie, Paul McNamee, James Mayfield
cs.IR
cs.IR, cs.CL
This paper describes the submission runs from the HLTCOE team at the CIRAL CLIR tasks for African languages at FIRE 2023. Our submissions use machine translation models to translate the documents and the training passages, and ColBERT-X as the retrieval model. Additionally, we present a set of unofficial runs that use an alternative training procedure with a similar training setting.
[ -0.29022160172462463, -0.16114071011543274, 0.28640878200531006, 0.16321437060832977, -0.1310843825340271, 0.043809015303850174, -0.3963637053966522, -0.484815776348114, 0.40130189061164856, 0.7193963527679443, -0.3287847340106964, -0.15437109768390656, -0.7086400985717773, 0.24289081990718842, -0.7791133522987366, 0.9803746938705444, -0.4858362078666687, -0.07192926108837128, 0.19897793233394623, -0.2666722536087036, -0.12465929239988327, -0.9193376898765564, -0.5329207181930542, -0.31605878472328186, 0.7112511992454529, 0.663286566734314, 0.736858606338501, 0.6407549381256104, 0.6129152774810791, 0.19913449883460999, 0.044583097100257874, -0.3253520429134369, -0.761914074420929, -0.10991743206977844, -0.243185892701149, -0.3805260956287384, -0.22884522378444672, -0.03366142511367798, 0.5735366940498352, 0.41553738713264465, -0.10941417515277863, -0.007946336641907692, -0.18755927681922913, 0.508819043636322, -0.7383565902709961, -0.11781375110149384, -0.5853778719902039, -0.09221599251031876, -0.14540864527225494, -0.15885592997074127, -0.49320030212402344, -0.43061521649360657, 0.2112605720758438, -0.5926768779754639, 0.3735945522785187, 0.2139529585838318, 0.8891452550888062, -0.23819710314273834, -0.5478501915931702, -0.774588942527771, -0.49782344698905945, 0.8724219799041748, -0.4172809422016144, 0.5715404152870178, 0.37959325313568115, 0.41499775648117065, 0.12626293301582336, -1.1626591682434082, -0.7448234558105469, -0.1710146814584732, -0.08429259806871414, 0.010975521057844162, 0.03803528472781181, 0.014816832728683949, 0.04030865803360939, 0.6194842457771301, -0.4723980128765106, -0.2704210877418518, -0.6395444869995117, -0.2953304052352905, 1.1787512302398682, 0.1376747488975525, 0.03349180147051811, 0.004400006961077452, -0.3913584053516388, -0.35880711674690247, -0.4851571321487427, -0.021260898560285568, 0.6018925309181213, 0.1636795550584793, -0.46312418580055237, 0.33661115169525146, -0.35352590680122375, 0.6813997626304626, -0.32619544863700867, 0.10825629532337189, 0.3906787037849426, -0.09643278270959854, -0.06245122104883194, 0.3312435448169708, 0.702086865901947, 0.1184004470705986, 0.28920868039131165, -0.30208829045295715, -0.39869534969329834, -0.16943727433681488, 0.29507923126220703, -0.9085414409637451, -0.49391794204711914, -0.004944318439811468, -0.3273155987262726, -0.40809276700019836, -0.20366264879703522, -0.8037090301513672, -0.12828579545021057, -0.26313111186027527, 0.4428594708442688, -0.3557121157646179, -0.22950412333011627, 0.13850320875644684, -0.19647936522960663, 0.2989916503429413, 0.278220534324646, -0.7406975030899048, 0.32033392786979675, 0.3410717248916626, 0.6643826365470886, 0.06160508468747139, -0.27641770243644714, -0.8591878414154053, -0.06500809639692307, 0.04961315169930458, 0.2890346646308899, -0.6996709704399109, -0.6999933123588562, 0.5101647973060608, 0.3278473913669586, -0.35317933559417725, -0.18539094924926758, 1.2732630968093872, -0.8081154227256775, -0.11658422648906708, -0.6494596600532532, -0.29863041639328003, -0.47741374373435974, 0.13691703975200653, -0.5702212452888489, 0.9487552642822266, 0.3900333344936371, -0.672065019607544, 0.02510598488152027, -0.6093465685844421, -0.6958181262016296, -0.029260141775012016, 0.1985040158033371, -0.48267805576324463, -0.0716409683227539, 0.33960697054862976, 0.13544714450836182, -0.10082082450389862, -0.09923815727233887, -0.25081920623779297, -0.30560269951820374, 0.020591305568814278, 0.15341511368751526, 1.1065462827682495, 0.5523074269294739, -0.477798193693161, -0.09169121086597443, -0.9040178060531616, 0.20917625725269318, 0.03469270095229149, -0.38317689299583435, 0.009684449061751366, -0.2611859142780304, 0.6219090223312378, 0.4710162281990051, 0.05012083053588867, -1.0139833688735962, 0.32328274846076965, 0.10960138589143753, 0.4625261127948761, 0.070905901491642, -0.24731841683387756, 0.5956319570541382, -0.31756356358528137, 0.8385714888572693, -0.25490665435791016, -0.042548295110464096, -0.21227312088012695, -0.4603803753852844, -0.8958224654197693, -0.11496861279010773, 0.36724403500556946, 0.8215975165367126, -0.747898280620575, -0.03518782556056976, -0.3186647295951843, -0.595781147480011, -0.6704095005989075, 0.3389034569263458, 0.21925705671310425, 0.4571630358695984, 0.5162519812583923, -0.3299005925655365, -0.9463940262794495, -0.6787842512130737, -0.001403803820721805, 0.0348847396671772, 0.7047795653343201, 0.16110435128211975, 1.0405150651931763, -0.4747872054576874, 0.41122472286224365, -0.21011222898960114, -0.45998871326446533, -0.6495893001556396, 0.2057477831840515, -0.08084847033023834, 0.6592191457748413, 0.6627124547958374, -0.798610270023346, -0.8510730266571045, 0.522024393081665, -0.6669647097587585, 0.023439770564436913, 0.05136369168758392, -0.11862780898809433, 0.024324797093868256, 0.6178745031356812, -0.14805103838443756, 0.8934316635131836, 0.5429223775863647, -0.03511577472090721, 0.38830849528312683, 0.002984355902299285, 0.22343425452709198, -0.9396805167198181, 0.22182630002498627, -0.4008054733276367, -0.5986961722373962, -0.6072810292243958, 0.3860945999622345, 0.18421120941638947, -0.4249057471752167, -0.5707830786705017, 0.8828064203262329, -0.487843781709671, 0.09720635414123535, -0.4295002222061157, 0.08547952026128769, 0.05793469026684761, 0.29749637842178345, 0.5013713836669922, 0.7152910828590393, 0.5289420485496521, -0.5625654458999634, 0.4357607066631317, 0.8887813091278076, -0.531342089176178, 0.4267194867134094, -0.7127175331115723, 0.385158896446228, 0.031500060111284256, 0.321264386177063, -0.7107829451560974, -0.26746514439582825, -0.03334064409136772, -0.45131444931030273, 0.387533575296402, -0.10925252735614777, -0.3480963706970215, -0.5778598189353943, 0.15653817355632782, 0.3276243209838867, 0.5897366404533386, -0.614410936832428, 0.27516886591911316, -0.04285827651619911, -0.12193632870912552, -0.8521628975868225, -0.7417566180229187, 0.4830031096935272, -0.06566867232322693, -0.674369752407074, 0.3185868263244629, 0.019569534808397293, -0.18042588233947754, -0.1795838326215744, 0.4190049469470978, -0.21363712847232819, 0.06487024575471878, 0.0397803969681263, -0.4114806056022644, -0.28692957758903503, -0.37909603118896484, -0.057489145547151566, 0.3813028633594513, 0.05693307891488075, -0.16466790437698364, 0.48933684825897217, -0.18038465082645416, 0.19213975965976715, -0.4940739870071411, 0.7465679049491882, 0.2516745924949646, -0.5428382158279419, 0.9598432183265686, 0.8115279674530029, 0.07026166468858719, 0.15459758043289185, -0.6099234223365784, -0.0528295673429966, -0.43343907594680786, 0.16569505631923676, -0.46114999055862427, -0.823672354221344, 0.6120560169219971, 0.14199890196323395, 0.04916238784790039, 0.21243320405483246, 0.639451265335083, -0.3638686239719391, 0.7099490165710449, 0.9042104482650757, -0.022827886044979095, 0.4412863850593567, -0.8220605254173279, -0.03977501392364502, -1.0395630598068237, -0.04597936570644379, -0.6587046980857849, -0.49248072504997253, -0.3304862976074219, 0.12219429761171341, 0.17548798024654388, 0.09926190972328186, -0.010302912443876266, 0.9842633605003357, -0.18427859246730804, 0.14590030908584595, 0.40146902203559875, -0.06360850483179092, 0.09033843874931335, 0.07880976796150208, -0.20563220977783203, 0.21106824278831482, -0.7159076929092407, -0.49039021134376526, 1.2052834033966064, 0.1762668639421463, 0.5260496735572815, 0.13047918677330017, 1.063861608505249, 0.4192817807197571, 0.7831477522850037, -0.5535369515419006, 0.25707823038101196, 0.08392450958490372, -1.025909185409546, -0.2319689691066742, -0.05482746660709381, -1.0366311073303223, 0.16665758192539215, 0.07013419270515442, -0.6306817531585693, 0.7618935108184814, 0.14728869497776031, 0.018033957108855247, 0.42058008909225464, -0.4945599436759949, 0.9406295418739319, -0.4096528887748718, -0.3842848539352417, -0.33890751004219055, -0.9097856879234314, 0.3211051821708679, -0.2243068665266037, 0.18120461702346802, 0.3808804750442505, 0.3352094888687134, 0.6863545775413513, -0.5759739279747009, 0.45948705077171326, -0.17170394957065582, -0.21198724210262299, 0.6792455911636353, 0.21528750658035278, 0.6521331667900085, 0.05245759338140488, -0.7745761275291443, 0.13726340234279633, -0.038904882967472076, -0.6364725232124329, -0.1939164698123932, 0.5299427509307861, -0.9377122521400452, -0.4132751524448395, -0.6013051271438599, -0.8829326629638672, 0.19738812744617462, 0.24181948602199554, 0.6723104119300842, 0.5912912487983704, -0.3746853172779083, 0.2557320296764374, 0.16859322786331177, 0.10569818317890167, 0.6509928107261658, 0.21094650030136108, -0.2480902224779129, -0.7891687154769897, 0.7039183974266052, -0.11757893115282059, 0.47237348556518555, 0.5885244011878967, -0.25859522819519043, -0.35387569665908813, -0.654961347579956, -0.49820899963378906, 0.28076326847076416, -0.7774619460105896, 0.028683988377451897, -0.8042675256729126, -0.16707156598567963, -0.593207836151123, -0.5819577574729919, 0.025086110457777977, -0.5368092060089111, -0.257546067237854, 0.03846147656440735, 0.15689082443714142, 0.6644557118415833, -0.37878066301345825, 1.2361639738082886, -0.7004982829093933, -0.07399433106184006, 0.1716597080230713, -0.2401740998029709, -0.3079166114330292, -1.1614331007003784, -0.7841081619262695, 0.19238834083080292, -0.8046162128448486, -0.7077534198760986, 0.8702009320259094, 0.5314833521842957, 0.3684719204902649, 0.17626900970935822, 0.12527604401111603, 0.5357198119163513, -0.5703086256980896, 0.5837127566337585, 0.3498361110687256, -0.9320792555809021, 0.5952363610267639, -0.23926137387752533, -0.15512186288833618, 0.9841883182525635, 0.7889035940170288, -0.3294760286808014, 0.03021695651113987, -0.5374538898468018, -0.2167365998029709, 0.6033176779747009, 0.6042781472206116, 0.1825554221868515, -0.13942892849445343, 0.3366841673851013, 0.1805691123008728, 0.3602036237716675, -0.7076261043548584, -0.0860922709107399, -0.5059008598327637, 0.172488272190094, -0.2288403958082199, -0.2617780864238739, -0.06916625797748566, -0.441904753446579, 0.7858065962791443, -0.0510544627904892, 0.3187899887561798, 0.5696521401405334, -0.6601971387863159, -0.12116912007331848, 0.4596109092235565, 0.9110649228096008, 0.8413011431694031, -0.4147409498691559, -0.3219757676124573, 0.08215208351612091, -0.5761630535125732, 0.41572675108909607, 0.1172385886311531, -0.031210126355290413, 0.2235593944787979, 0.3933558762073517, 1.0379010438919067, -0.020347828045487404, -0.3360644280910492, 0.7047119736671448, 0.07286036759614944, -0.5120235681533813, -0.8270816206932068, -0.08463773131370544, -0.19555598497390747, -0.04348523169755936, 0.13824497163295746, 0.17687231302261353, 0.1940651386976242, -0.7654691338539124, 0.2871187925338745, 0.14947284758090973, -1.064507007598877, -0.6477643251419067, 0.9270654916763306, 0.7697575092315674, -0.28818419575691223, 0.8504812717437744, -0.564871609210968, -1.0063310861587524, 0.4478718042373657, 0.5260536074638367, 0.835628867149353, -0.3549143970012665, 0.030265063047409058, 0.6585547924041748, 0.5394542217254639, 0.1255580484867096, 0.9101003408432007, -0.1710643768310547, -0.515572190284729, -0.34472623467445374, -0.45621585845947266, -0.2263496071100235, 0.16766276955604553, -1.0806010961532593, 0.6328817009925842, -0.039968110620975494, -0.11986670643091202, -0.4079481363296509, -0.10175948590040207, -0.9156178832054138, 0.48674526810646057, 0.34055477380752563, 1.3774532079696655, -0.6447321772575378, 1.2959777116775513, 0.7491033673286438, -0.295364648103714, -0.31227028369903564, -0.2820662260055542, -0.3137096166610718, -0.842821478843689, 1.0650427341461182, -0.028310997411608696, 0.2389334738254547, 0.1684444099664688, -0.5470825433731079, -0.6743817329406738, 0.8772302865982056, 0.32262134552001953, -0.8326343894004822, -0.01113696675747633, 0.2793371379375458, 0.19097018241882324, -0.5743010640144348, 0.3370698392391205, 0.6275746822357178, 0.4846782982349396, 0.02172386646270752, -1.2094463109970093, -0.4078126847743988, -0.1842583566904068, -0.20426560938358307, 0.17196644842624664, -0.7319682836532593, 0.6839537024497986, -0.6095129251480103, -0.12655331194400787, 0.7255712747573853, 1.0707582235336304, -0.2641940712928772, 0.29605862498283386, 0.47168847918510437, 0.8362351059913635, 0.5361557602882385, 0.04549678787589073, 1.4304289817810059, -0.47626906633377075, 0.44695451855659485, 1.1919662952423096, -0.5154850482940674, 0.9301280379295349, 0.3548617959022522, 0.025960762053728104, 0.8829078078269958, 0.4741431474685669, 0.3199348747730255, 0.6158859729766846, 0.32367467880249023, -0.30932343006134033, -0.3063996434211731, -0.20369020104408264, -0.5966143012046814, 0.39479267597198486, 0.5001115202903748, -0.49349987506866455, -0.1118694320321083, 0.2772969901561737, 0.24450136721134186, 0.18641652166843414, -0.36126723885536194, 0.3062434494495392, 0.35882866382598877, -0.687018096446991, 0.9627962112426758, -0.059938810765743256, 0.3154318332672119, -0.5651003122329712, 0.0629122257232666, -0.12867002189159393, 0.3934098184108734, -0.29988133907318115, -0.805214524269104, 0.31409502029418945, -0.3269372582435608, -0.057601604610681534, -0.1620410978794098, 0.3428296446800232, -0.6202566623687744, -0.6777923107147217, 0.2886299788951874, 0.07325316965579987, 0.26240384578704834, -0.11585476994514465, -0.6790081858634949, 0.22568388283252716, 0.3116435110569, 0.2133907824754715, 0.049519483000040054, 0.40124061703681946, -0.17993056774139404, 0.5672905445098877, 0.3726746439933777, 0.15037789940834045, 0.48527219891548157, -0.24971136450767517, 0.5944225192070007, -0.548331618309021, -0.6535003185272217, -0.3955855667591095, 0.2402360439300537, -0.17014575004577637, -0.6128484606742859, 0.5994641184806824, 0.8366762399673462, 0.828834593296051, -0.3677928149700165, 1.1452821493148804, -0.3390742242336273, 0.4599505364894867, -0.22081179916858673, 0.6608583331108093, -0.42325401306152344, -0.32634249329566956, -0.05541035905480385, -1.0351386070251465, 0.14740920066833496, 0.37148019671440125, -0.33376365900039673, -0.3120366930961609, 1.0405819416046143, 0.5799591541290283, -0.3291412591934204, 0.17406387627124786, 0.37460944056510925, -0.04087439551949501, 0.38148173689842224, 0.6490925550460815, 0.8503877520561218, -0.9976896643638611, 0.9594396352767944, -0.6053043007850647, 0.10861211270093918, -0.4322754144668579, -0.854109525680542, -1.032770037651062, -0.7538942098617554, -0.4529719352722168, -0.4964313805103302, 0.07456963509321213, 0.7440244555473328, 0.878284215927124, -1.1573420763015747, -0.5849262475967407, 0.30771663784980774, -0.16282042860984802, -0.3243764638900757, -0.15628734230995178, 0.32010549306869507, -0.4379069209098816, -0.6042833924293518, 0.48672962188720703, -0.18038223683834076, -0.012318131513893604, -0.058938100934028625, -0.39424362778663635, -0.5254398584365845, -0.17450323700904846, 0.7203689217567444, 0.6876987814903259, -0.547016978263855, -0.3145562410354614, 0.08389531821012497, -0.01658083125948906, 0.14747150242328644, 1.1037689447402954, -0.7197800874710083, 0.3838236927986145, 0.5186428427696228, 0.8576061725616455, 0.7672837972640991, -0.2496880441904068, 0.8323410153388977, -0.5729734897613525, 0.4031597375869751, 0.08582446724176407, 0.6045019626617432, 0.591281533241272, -0.3292372226715088, 0.7713780999183655, 0.37186992168426514, -0.636420488357544, -0.7513229846954346, 0.11884966492652893, -1.3128983974456787, 0.5048824548721313, 1.3544461727142334, -0.3021312952041626, -0.35220620036125183, -0.42618370056152344, -0.36741378903388977, -0.07718607783317566, -0.3000321686267853, 0.44464483857154846, 0.7243515253067017, 0.3571436107158661, -0.2564920485019684, -0.8125062584877014, 0.4137834310531616, 0.29755064845085144, -0.540176510810852, -0.30813243985176086, -0.16015520691871643, 0.1574375480413437, 0.18918488919734955, 0.3498933017253876, -0.036361195147037506, 0.5977494716644287, -0.3150208294391632, 0.4297713041305542, 0.1825396567583084, -0.2390112429857254, -0.15796047449111938, -0.06148234382271767, -0.251680463552475, -0.17518800497055054 ]
http://arxiv.org/abs/2404.08118v1
http://arxiv.org/pdf/2404.08118v1
HLTCOE at TREC 2023 NeuCLIR Track
2024-04-11T20:46:18
2024-04-11T20:46:18
Eugene Yang, Dawn Lawrie, James Mayfield
cs.CL
cs.CL, cs.IR
The HLTCOE team applied PLAID, an mT5 reranker, and document translation to the TREC 2023 NeuCLIR track. For PLAID we included a variety of models and training techniques -- the English model released with ColBERT v2, translate-train~(TT), Translate Distill~(TD) and multilingual translate-train~(MTT). TT trains a ColBERT model with English queries and passages automatically translated into the document language from the MS-MARCO v1 collection. This results in three cross-language models for the track, one per language. MTT creates a single model for all three document languages by combining the translations of MS-MARCO passages in all three languages into mixed-language batches. Thus the model learns about matching queries to passages simultaneously in all languages. Distillation uses scores from the mT5 model over non-English translated document pairs to learn how to score query-document pairs. The team submitted runs to all NeuCLIR tasks: the CLIR and MLIR news task as well as the technical documents task.
[ -0.4442419409751892, -0.5270503163337708, 0.47905558347702026, 0.15764576196670532, -0.3119465410709381, 0.3928779363632202, -0.21582743525505066, -0.6283958554267883, 0.2968633472919464, 0.5356506109237671, -0.49067866802215576, -0.5084820985794067, -0.6744985580444336, 0.4706001877784729, -0.5143311619758606, 1.2329579591751099, -0.30238762497901917, 0.2471393644809723, 0.17537330090999603, -0.2072150558233261, -0.3050122559070587, -0.3378492593765259, -0.7050561308860779, -0.5582411885261536, 0.8831532001495361, 0.5690345764160156, 0.3360060453414917, 0.35192373394966125, 0.6921884417533875, 0.26797714829444885, -0.25417524576187134, -0.23445186018943787, -0.6169172525405884, 0.19868475198745728, -0.3308015763759613, -0.3915241062641144, -0.5072806477546692, 0.38549524545669556, 0.5885361433029175, 0.2950454652309418, -0.19906887412071228, 0.06925833970308304, 0.19308874011039734, 0.40819910168647766, -0.5028482675552368, -0.08785316348075867, -0.5955726504325867, 0.1174921914935112, -0.3088502883911133, -0.39127835631370544, -0.6896376013755798, -0.4342651665210724, 0.06391029059886932, -0.8146380186080933, 0.34233397245407104, 0.39672714471817017, 1.071930170059204, 0.005985745694488287, -0.8405778408050537, -0.6917575001716614, -0.48029008507728577, 1.0860538482666016, -0.3864099383354187, 0.7313435673713684, 0.3860105872154236, 0.377115398645401, 0.11612197756767273, -1.0559762716293335, -0.4630858600139618, -0.159409299492836, 0.03283333033323288, 0.3149891495704651, 0.09128622710704803, -0.0471704825758934, -0.03726720064878464, 0.2906118333339691, -0.4398975372314453, 0.07464416325092316, -0.7631360292434692, -0.20197029411792755, 0.5767114758491516, 0.21842795610427856, -0.1800866574048996, -0.15958304703235626, -0.5784502029418945, -0.3304079473018646, -0.4339830279350281, -0.3273793160915375, 0.37126195430755615, 0.09305382519960403, -0.3680163323879242, 0.2964019775390625, -0.016887102276086807, 0.5001917481422424, 0.286182701587677, 0.06923773884773254, 0.2676528990268707, -0.5242624282836914, -0.34314489364624023, 0.24699610471725464, 0.9144850969314575, -0.03280548378825188, 0.13060325384140015, -0.23683500289916992, -0.4959545135498047, -0.7361503839492798, 0.31774571537971497, -0.6922746300697327, -0.29131653904914856, 0.0024884939193725586, -0.41379693150520325, -0.39744436740875244, -0.2154388725757599, -0.8974941968917847, -0.048953041434288025, -0.4269842803478241, 0.5347469449043274, -0.4557286500930786, -0.2828453779220581, -0.1458878070116043, -0.32126209139823914, 0.3905702233314514, 0.4534868001937866, -0.7708298563957214, 0.20101577043533325, 0.5145828723907471, 0.7197238206863403, -0.2615063786506653, -0.7119361758232117, -0.9395158886909485, 0.1406758725643158, -0.24347864091396332, 0.6123008131980896, -0.48883482813835144, -0.4632222354412079, 0.001325323130004108, 0.3860273063182831, -0.2945552170276642, -0.29196688532829285, 0.901965856552124, -0.6787073016166687, 0.5977523326873779, -0.5468578338623047, -0.24499304592609406, -0.13472379744052887, 0.3394244611263275, -0.8142768144607544, 1.191211223602295, 0.2161950320005417, -0.8962255716323853, 0.37873995304107666, -0.719963014125824, -0.5930072665214539, -0.0857706144452095, 0.502604067325592, -0.4309643805027008, 0.11208020895719528, -0.002046679612249136, 0.24589170515537262, -0.3011249303817749, 0.24049969017505646, -0.010152578353881836, -0.3917574882507324, -0.12011227756738663, -0.14457355439662933, 0.9680107831954956, 0.5346124768257141, -0.33731743693351746, -0.03583041578531265, -0.46359169483184814, -0.16667789220809937, -0.21998056769371033, -0.8756443858146667, -0.10572116076946259, -0.5037081241607666, 0.6737690567970276, 0.4005171060562134, 0.16462112963199615, -0.689708948135376, -0.006790702696889639, 0.055234286934137344, 0.6522247791290283, 0.4391147792339325, -0.038736190646886826, 0.6010293960571289, -0.2975747287273407, 0.6448898911476135, 0.06586215645074844, 0.29473862051963806, 0.11714747548103333, -0.5669306516647339, -0.8061476349830627, -0.009285759180784225, 0.7303125858306885, 0.5141729712486267, -0.9788603186607361, -0.2152732014656067, -0.2359422892332077, -0.4825860559940338, -0.6339685916900635, -0.007919764146208763, 0.4054308235645294, 0.6004840731620789, 0.6149665713310242, -0.017402632161974907, -0.6436361074447632, -0.825637698173523, 0.01725512184202671, 0.020800232887268066, 0.38030514121055603, -0.19207186996936798, 1.0110758543014526, 0.04367556422948837, 0.30050766468048096, -0.04299674555659294, -0.3208702504634857, -0.5334795713424683, 0.5817332863807678, 0.28535857796669006, 0.6350191831588745, 0.48758256435394287, -0.8345194458961487, -0.8195486664772034, 0.26014798879623413, -0.5345102548599243, -0.04537854343652725, 0.15065202116966248, -0.3902673125267029, 0.41618120670318604, 0.6662517786026001, -0.2378002107143402, 0.3959371745586395, 0.6415672302246094, -0.07026626169681549, 0.41321009397506714, -0.29176121950149536, 0.6380754113197327, -1.439568281173706, 0.012661793269217014, -0.11620752513408661, -0.39283210039138794, -0.46902379393577576, 0.10387206822633743, 0.3022233545780182, -0.08693874627351761, -0.7769572138786316, 0.4403168261051178, -0.6649501323699951, 0.07940792292356491, 0.01326610054820776, 0.1501452624797821, 0.36981895565986633, 0.3112930953502655, 0.19888322055339813, 0.626412034034729, 0.2531817853450775, -0.5874894857406616, 0.4075843095779419, 0.3334285020828247, -0.13683798909187317, 0.7790247201919556, -0.6241973042488098, 0.2327759861946106, 0.14931340515613556, 0.019620249047875404, -0.9624853730201721, -0.09151485562324524, -0.16258372366428375, -0.6120424270629883, 0.6864140033721924, -0.25593772530555725, -0.29566118121147156, -0.5466125011444092, -0.13580943644046783, 0.283723920583725, 0.4399832487106323, -0.4583531320095062, 0.7218316197395325, 0.32001298666000366, 0.13408790528774261, -0.5554571151733398, -1.0781904458999634, 0.40817275643348694, -0.42306482791900635, -0.498169869184494, 0.5516127943992615, 0.045464202761650085, -0.14705011248588562, 0.05648520961403847, 0.1870088428258896, -0.4166954755783081, -0.00499336700886488, -0.14425252377986908, 0.08769877254962921, -0.3018152117729187, -0.09134555608034134, -0.05120627209544182, 0.08446309715509415, -0.12350357323884964, -0.4114987552165985, 0.613653302192688, -0.003251642920076847, -0.004736876580864191, -0.6240412592887878, 0.36436033248901367, 0.6832742094993591, -0.3926686644554138, 0.6939285397529602, 0.8949307799339294, -0.06347253173589706, 0.11162270605564117, -0.7971416115760803, -0.1980731338262558, -0.42587220668792725, 0.2956847548484802, -0.6535410284996033, -0.7420765161514282, 0.525465726852417, 0.3025573790073395, 0.21380986273288727, 0.5286544561386108, 0.6118699312210083, -0.4924145042896271, 0.5776018500328064, 0.6470087766647339, -0.07067625969648361, 0.5349854230880737, -0.4118909537792206, -0.03249680995941162, -0.9721627831459045, -0.4515450894832611, -0.9143104553222656, -0.5170412063598633, -0.8490308523178101, -0.22290712594985962, 0.38389331102371216, -0.12603087723255157, -0.1308336704969406, 0.9349501132965088, -0.4202209413051605, 0.3791695237159729, 0.8429491519927979, -0.10497060418128967, 0.3679005801677704, -0.05741462856531143, -0.36055949330329895, -0.1677101105451584, -0.7680030465126038, -0.25895780324935913, 1.1899940967559814, 0.2841198742389679, 0.6789984107017517, 0.1219872534275055, 1.1739362478256226, 0.12843354046344757, 0.5079037547111511, -0.7033487558364868, 0.21162088215351105, -0.20028144121170044, -0.7949093580245972, -0.3236657679080963, -0.2669629156589508, -0.9163452982902527, 0.018259473145008087, -0.17646591365337372, -0.23991350829601288, 0.5104589462280273, -0.03131646290421486, 0.10003755241632462, 0.3003684878349304, -0.5378636717796326, 0.7521089911460876, -0.365935742855072, -0.8195812702178955, -0.20920515060424805, -0.4921388328075409, 0.3915962874889374, -0.25479942560195923, 0.3400755524635315, 0.28266993165016174, 0.17725211381912231, 0.9173229336738586, -0.06608108431100845, 0.3782256841659546, -0.10058758407831192, -0.1961994618177414, 0.2379118949174881, 0.3903931677341461, 0.6182692646980286, 0.03474841266870499, -0.6465247273445129, 0.013480281457304955, 0.05685736984014511, -0.42576995491981506, 0.013328444212675095, 0.6092912554740906, -0.683993935585022, -0.5871101021766663, -0.49071648716926575, -0.50689697265625, 0.08692704886198044, 0.3584880232810974, 0.6378955841064453, 0.3919825851917267, -0.40566951036453247, 0.48595836758613586, 0.5515393614768982, -0.04745997488498688, 0.7975250482559204, 0.5685071349143982, -0.020774729549884796, -0.7486079335212708, 0.5887234210968018, -0.16557343304157257, 0.4594654142856598, 0.7695165872573853, 0.033495936542749405, -0.6448997855186462, -0.8024159073829651, -0.3128918409347534, 0.271711528301239, -0.631456732749939, -0.025925369933247566, -0.7308477163314819, -0.11664676666259766, -0.583509624004364, -0.24081316590309143, -0.3084396421909332, -0.4067099392414093, -0.11385459452867508, -0.0104703763499856, -0.02434195764362812, 1.0523831844329834, -0.20996546745300293, 0.4442600905895233, -0.6227794885635376, 0.050335828214883804, 0.26043111085891724, -0.05871625244617462, -0.5167174339294434, -0.9952442049980164, -0.5482880473136902, 0.033434271812438965, -0.6754471659660339, -0.8314208388328552, 0.5439213514328003, 0.16155074536800385, 0.6493884921073914, -0.15688224136829376, -0.0954832136631012, 0.653386116027832, -0.41099998354911804, 0.5846807956695557, 0.40715229511260986, -1.015919804573059, 0.6528372168540955, -0.42596012353897095, 0.12279654294252396, 0.9882984161376953, 0.48019737005233765, -0.5571237206459045, -0.4317546486854553, -0.4143403470516205, -0.36056390404701233, 0.8599444031715393, 0.2630888521671295, -0.0631730780005455, -0.08785380423069, 0.01375746913254261, 0.007136722560971975, 0.27643001079559326, -0.8896868824958801, 0.34228426218032837, -0.46214917302131653, -0.08989774435758591, -0.05109018832445145, -0.22719429433345795, -0.05234013870358467, -0.2825538218021393, 0.7471638321876526, 0.008657937869429588, -0.03218412399291992, 0.32896047830581665, -0.24773509800434113, 0.007107368670403957, 0.39632683992385864, 0.7372873425483704, 0.7138208746910095, -0.42097851634025574, 0.10411164909601212, 0.255991131067276, -0.6520935893058777, 0.10274884104728699, -0.0900469720363617, 0.024261193349957466, 0.24825558066368103, 0.5497653484344482, 0.7534017562866211, 0.31405141949653625, -0.09765570610761642, 0.4015457034111023, -0.07768572121858597, -0.7928053736686707, -0.24599681794643402, -0.23633520305156708, 0.28661292791366577, 0.09276729077100754, 0.2509387135505676, -0.1476750373840332, 0.14403490722179413, -0.6937665939331055, 0.2797508239746094, 0.04762810841202736, -0.9543377757072449, -0.3537842929363251, 1.0084478855133057, 0.6620820164680481, -0.26530054211616516, 0.8689209222793579, -0.31335705518722534, -0.669122576713562, 0.6762068867683411, 0.4530811905860901, 1.0342515707015991, -0.48165732622146606, 0.22229789197444916, 0.7187026739120483, 0.5935302376747131, -0.145130455493927, 0.3451770842075348, -0.10134433209896088, -0.4176642596721649, -0.2361002266407013, -0.7351137399673462, -0.3918091058731079, 0.027366051450371742, -0.907314121723175, 0.6794840097427368, 0.03531412035226822, -0.2248004972934723, -0.10455597192049026, 0.14063669741153717, -0.8105341196060181, 0.1952495574951172, -0.07734420895576477, 1.1414533853530884, -0.7017871737480164, 1.2726740837097168, 0.7008740305900574, -0.4635525941848755, -0.7423833012580872, -0.004325882066041231, -0.16562248766422272, -0.6870102286338806, 1.2625203132629395, -0.2809773087501526, 0.06533148139715195, 0.23432403802871704, -0.267233282327652, -0.6472916007041931, 1.262518048286438, 0.12186315655708313, -0.8022752404212952, -0.07855777442455292, 0.18546335399150848, 0.37999841570854187, -0.42103222012519836, 0.39906084537506104, 0.5283557176589966, 0.7424213290214539, 0.4457520842552185, -1.4274897575378418, -0.38243916630744934, -0.07431909441947937, -0.37878546118736267, 0.22703401744365692, -0.5675195455551147, 1.1614235639572144, -0.30818066000938416, -0.11733893305063248, -0.10518843680620193, 0.40904542803764343, 0.12701986730098724, 0.47622019052505493, 0.2832707464694977, 0.7347413897514343, 0.6813919544219971, -0.25293201208114624, 1.0741381645202637, -0.3777177035808563, 0.5104063153266907, 1.3540829420089722, -0.363885760307312, 0.8309873342514038, 0.6933006048202515, 0.004341571591794491, 0.38778451085090637, 0.74489426612854, 0.16858503222465515, 0.6592115759849548, 0.02043326385319233, -0.06742142885923386, -0.2968927025794983, -0.26282474398612976, -0.29006946086883545, 0.6040125489234924, 0.1577845960855484, -0.4814421534538269, -0.26165932416915894, 0.08775550872087479, 0.09150592237710953, 0.025771569460630417, -0.1418212503194809, 0.6811933517456055, 0.15001405775547028, -0.9621450901031494, 0.8367785811424255, 0.1330220103263855, 0.6444992423057556, -0.4026871919631958, 0.15502841770648956, -0.4617728590965271, 0.18433567881584167, -0.0835861936211586, -1.02705717086792, 0.4314492344856262, -0.1616479605436325, 0.04522465541958809, -0.5651931762695312, 0.1248575821518898, -0.5825102925300598, -0.6209242343902588, 0.4246727228164673, 0.41012105345726013, 0.1521107405424118, 0.07395397126674652, -0.6717144250869751, -0.000893301737960428, 0.15296868979930878, -0.2339521050453186, 0.10173840075731277, 0.8515686392784119, -0.14622479677200317, 0.47521132230758667, 0.39690491557121277, 0.027433766052126884, 0.21983350813388824, 0.19941288232803345, 0.7178202271461487, -0.7226492762565613, -0.3819270133972168, -0.6588696837425232, 0.26073476672172546, -0.25649088621139526, -0.5733926892280579, 0.5735242366790771, 1.0231592655181885, 0.7100368738174438, -0.15067817270755768, 0.6173559427261353, -0.16773204505443573, 0.2416650950908661, -0.6356713175773621, 0.6821334362030029, -0.7315565347671509, -0.08599938452243805, -0.07374335825443268, -0.9540674090385437, 0.23535344004631042, 0.2385597974061966, -0.3383423089981079, -0.1304122805595398, 1.3829786777496338, 0.5923001766204834, -0.2732609212398529, 0.023354945704340935, 0.3383941650390625, 0.17226339876651764, 0.35063883662223816, 1.0592283010482788, 0.8702040910720825, -0.7354188561439514, 0.9073134064674377, -0.3786593973636627, 0.18968351185321808, -0.11849512159824371, -0.9414700269699097, -1.0860689878463745, -0.9221104383468628, -0.20673952996730804, -0.41396263241767883, 0.16590043902397156, 0.49334293603897095, 0.7916133999824524, -0.898527204990387, -0.4867148995399475, 0.014046951197087765, 0.28294792771339417, 0.2196974754333496, -0.2714553475379944, 0.09304511547088623, -0.4335086941719055, -1.1677165031433105, 0.32878416776657104, 0.3441368639469147, 0.17718198895454407, -0.06484972685575485, -0.172536700963974, -0.6083136200904846, -0.34877485036849976, 0.40941131114959717, -0.0642809122800827, -0.48494189977645874, -0.15305636823177338, 0.3472023904323578, -0.3558906316757202, 0.20712696015834808, 0.8825188875198364, -0.5492255687713623, 0.16541855037212372, 0.8106114864349365, 0.2537555992603302, 1.052298903465271, -0.21609753370285034, 0.74698406457901, -0.42436882853507996, 0.32206597924232483, 0.35462039709091187, 0.3732810318470001, 0.3492397665977478, -0.18846502900123596, 0.7215372920036316, 0.3585043251514435, -0.5416849851608276, -0.7682236433029175, -0.07239113003015518, -0.9351827502250671, -0.04226486384868622, 1.0294355154037476, 0.08106984943151474, -0.43418189883232117, -0.5193168520927429, -0.02503187581896782, 0.2018500119447708, -0.3238385021686554, 0.5987398028373718, 0.9126367568969727, 0.2684589624404907, -0.31382131576538086, -1.0051624774932861, 0.4057101309299469, 0.1427438110113144, -0.6346938610076904, -0.3508147895336151, 0.12660624086856842, 0.5219985246658325, 0.05677245557308197, 0.714220404624939, -0.29874899983406067, 0.2782231569290161, -0.15446215867996216, 0.28810542821884155, -0.10302674770355225, -0.3376369774341583, 0.0666922777891159, 0.14105531573295593, -0.1326611191034317, -0.261531800031662 ]
http://arxiv.org/abs/2404.08111v1
http://arxiv.org/pdf/2404.08111v1
S3Editor: A Sparse Semantic-Disentangled Self-Training Framework for Face Video Editing
2024-04-11T20:25:26
2024-04-11T20:25:26
Guangzhi Wang, Tianyi Chen, Kamran Ghasedi, HsiangTao Wu, Tianyu Ding, Chris Nuesmeyer, Ilya Zharkov, Mohan Kankanhalli, Luming Liang
cs.CV
cs.CV, cs.AI, cs.CL
Face attribute editing plays a pivotal role in various applications. However, existing methods encounter challenges in achieving high-quality results while preserving identity, editing faithfulness, and temporal consistency. These challenges are rooted in issues related to the training pipeline, including limited supervision, architecture design, and optimization strategy. In this work, we introduce S3Editor, a Sparse Semantic-disentangled Self-training framework for face video editing. S3Editor is a generic solution that comprehensively addresses these challenges with three key contributions. Firstly, S3Editor adopts a self-training paradigm to enhance the training process through semi-supervision. Secondly, we propose a semantic disentangled architecture with a dynamic routing mechanism that accommodates diverse editing requirements. Thirdly, we present a structured sparse optimization schema that identifies and deactivates malicious neurons to further disentangle impacts from untarget attributes. S3Editor is model-agnostic and compatible with various editing approaches. Our extensive qualitative and quantitative results affirm that our approach significantly enhances identity preservation, editing fidelity, as well as temporal consistency.
[ 0.1032448261976242, -0.7006184458732605, 0.708728015422821, 0.27954259514808655, 0.12835556268692017, 0.15421470999717712, -0.11568913608789444, 0.02742622420191765, 0.1221463680267334, 0.3526827096939087, -0.9483246803283691, -0.3478921055793762, -0.7459390759468079, 0.23790934681892395, -0.47710487246513367, 1.2135963439941406, -0.3836665451526642, -0.0683218315243721, -0.3500480353832245, -0.15635700523853302, -0.40589654445648193, 0.06977007538080215, -0.4632943272590637, 0.12074001133441925, 0.4641663134098053, 0.1027739942073822, 0.7660351395606995, 0.8469896912574768, 0.31156036257743835, 0.41937655210494995, -0.2871730923652649, 0.184463232755661, -0.4192405343055725, 0.06616637855768204, -0.3743126690387726, 0.01671823300421238, -0.7061194181442261, 0.10295100510120392, 0.6094807982444763, 0.5083433985710144, -0.1955883651971817, 0.3729417324066162, 0.16341105103492737, 0.8230311274528503, -0.9055646657943726, -0.17190927267074585, -0.6198345422744751, 0.27260300517082214, -0.19105404615402222, 0.16887062788009644, 0.16615751385688782, -0.03540490195155144, -0.26479822397232056, -0.856758713722229, 0.5026686191558838, -0.5172677040100098, 0.5815446972846985, 1.0036213397979736, -0.04394467920064926, 0.26761069893836975, -0.5721820592880249, 0.388839989900589, -0.09133157134056091, 0.42100247740745544, 0.29306676983833313, 0.49703794717788696, -0.04807063564658165, -0.7044315934181213, -0.6859003305435181, 0.48224392533302307, 0.305153489112854, 0.24914208054542542, -0.2983260750770569, 0.2423011213541031, 0.2584124505519867, 0.3917909264564514, -0.34504103660583496, 0.17446643114089966, 0.0776229202747345, -0.17531178891658783, 0.6573601365089417, 0.1566646844148636, 0.2684669494628906, -0.23553775250911713, -0.21223554015159607, 0.14567115902900696, -0.5487698316574097, -0.15641027688980103, 0.6821911931037903, -0.19290964305400848, 0.20036065578460693, 0.27899467945098877, -0.5552095770835876, 0.5771692991256714, 0.40635228157043457, -0.2916805148124695, 0.11572985351085663, 0.02081426791846752, -0.25288209319114685, 0.22274434566497803, 0.6893157362937927, 0.5247927308082581, -0.32179874181747437, -0.3021099269390106, -0.2010217159986496, 0.07369310408830643, 0.4793049097061157, -0.7673433423042297, -0.3551976680755615, 0.40770968794822693, -0.5308315753936768, -0.7638601660728455, -0.25247907638549805, -0.7764623761177063, -0.4718616306781769, -0.13345006108283997, 0.7386206388473511, -0.1520625352859497, -0.2831776440143585, 0.3437592387199402, -0.21747131645679474, -0.36698803305625916, 1.0275968313217163, -1.2428666353225708, 0.27544739842414856, 0.44392791390419006, 0.7648454308509827, -0.30395200848579407, -0.6492799520492554, -0.4593155086040497, 0.4091590642929077, -0.06244681403040886, 0.45234352350234985, -0.08013110607862473, 0.008615154772996902, 0.0508611686527729, -0.12902826070785522, 0.1681290566921234, -0.39066219329833984, -0.08648093044757843, -0.6460387706756592, -0.3583998382091522, 0.14044702053070068, -0.23610638082027435, 0.18575340509414673, 0.1776117980480194, -0.7978439927101135, 1.2220127582550049, 0.24424776434898376, -0.5231220722198486, 0.3851974308490753, -0.34972915053367615, 0.05433483421802521, -0.04729190468788147, -0.18189522624015808, -0.6802944540977478, 0.15231257677078247, 0.3040764331817627, 0.5726566314697266, 0.23125414550304413, 0.39317870140075684, -0.21900780498981476, -0.20237280428409576, 0.0342593751847744, -0.20580390095710754, 0.6403348445892334, 0.021783994510769844, -0.2656968832015991, -0.010832752101123333, -0.938552737236023, -0.36420515179634094, 0.0073848203755915165, -0.024726660922169685, 0.047894224524497986, -0.09477462619543076, -0.21681420505046844, 0.15733662247657776, 0.3019316494464874, -1.0777671337127686, 0.3646347224712372, 0.19011813402175903, 0.5509983897209167, 1.0917503833770752, 0.11652388423681259, 0.3425518572330475, 0.024363378062844276, 0.1457018107175827, 0.014059143140912056, 0.48395171761512756, 0.2806512117385864, 0.07094468176364899, -0.6200093626976013, -0.5350337028503418, 0.03197960555553436, 0.28018781542778015, -0.8124167323112488, 0.14403533935546875, -0.35923367738723755, -0.3432600200176239, -0.6091009974479675, 0.7479379177093506, 0.2294624149799347, 0.47986340522766113, 0.49583643674850464, 0.05561442673206329, -0.1247553899884224, -0.8934066295623779, -0.6227225065231323, 0.29862096905708313, -0.10706262290477753, -0.09802789986133575, 0.5638375878334045, -0.3968304395675659, 0.9537861943244934, -0.5243356823921204, -0.7277063131332397, -0.2365025132894516, -0.024787457659840584, 0.034150514751672745, 0.6911914944648743, 0.4593333899974823, -0.5252635478973389, -0.4043276607990265, -0.34188979864120483, -0.9105350375175476, -0.12328479439020157, -0.5032766461372375, -0.3622862696647644, -0.22871825098991394, 0.6415728330612183, -0.6499428749084473, 0.694365382194519, 0.36617109179496765, 0.2675580382347107, 0.2969007194042206, 0.015003927052021027, 0.10129737854003906, -0.7051503658294678, -0.20707498490810394, -0.14295408129692078, -0.31203678250312805, -0.6245530843734741, -0.33696648478507996, 0.24702446162700653, -0.369270384311676, -0.5113603472709656, 0.3183356523513794, -0.1856795847415924, 0.047481562942266464, -0.07127633690834045, 0.1501396745443344, 0.16439595818519592, 0.8556599617004395, 0.1758609265089035, 0.6332303285598755, 0.48308128118515015, -0.3536205291748047, 0.4765669107437134, 0.6603360176086426, -0.2354709506034851, 1.028153419494629, -0.6704152226448059, 0.20223189890384674, -0.3456555902957916, 0.03127282112836838, -0.611691415309906, -0.4579909145832062, 0.00986518245190382, -0.31955960392951965, 0.33290496468544006, -0.3943512439727783, -0.6542112231254578, 0.028985800221562386, -0.5361167788505554, 0.4474017024040222, -0.04800009727478027, -0.9527326226234436, 0.7698857188224792, 0.2881450355052948, 0.0676126778125763, -0.5396670699119568, -0.621111273765564, 0.159676656126976, -0.14744512736797333, -0.6928756237030029, 0.8263548612594604, 0.07836610823869705, 0.2401055097579956, 0.10733398050069809, -0.5729156136512756, -0.16847644746303558, 0.1495741307735443, 0.3397528827190399, 0.2943371832370758, 0.4380965828895569, -0.1409052014350891, 0.35212308168411255, -0.21337679028511047, -0.05697605386376381, 0.13232676684856415, -0.39715394377708435, -0.059964992105960846, -0.21070317924022675, -0.9030289053916931, 0.479245126247406, 0.2171066552400589, -0.13712748885154724, 0.3840435743331909, 0.4281446039676666, -0.3110710680484772, -0.28038057684898376, -0.6521828770637512, 0.2733808755874634, -0.5638955235481262, 0.5357215404510498, -0.37729528546333313, -1.0912448167800903, 0.506860077381134, -0.4638859033584595, -0.13207709789276123, 0.36121252179145813, 0.35759228467941284, -0.36242005228996277, 1.0871044397354126, 0.518082857131958, 0.3260187804698944, 0.659831702709198, -0.44876566529273987, -0.08322659879922867, -1.1289589405059814, -0.13836751878261566, 0.08488188683986664, -0.2417675405740738, -0.43975672125816345, -0.013707839883863926, 0.7945924401283264, 0.010806544683873653, -0.41906601190567017, 0.3762786388397217, -0.5022276639938354, 0.6640718579292297, 0.23500944674015045, 0.32308006286621094, 0.039487358182668686, -0.32100948691368103, 0.4710423946380615, -0.20522059500217438, -0.5835903286933899, -0.19334931671619415, 0.7884040474891663, 0.479218453168869, 0.9824461936950684, 0.45868948101997375, 0.7793806195259094, 0.43679314851760864, -0.04508064687252045, -0.3352469801902771, 0.4105042517185211, -0.10399109870195389, -0.5377112627029419, -0.2930343747138977, -0.2773280441761017, -0.3855886459350586, 0.06642495840787888, -0.349047988653183, -0.9120375514030457, 0.30860835313796997, 0.5527694225311279, -0.48987752199172974, 0.3963981568813324, -0.25374865531921387, 1.4290351867675781, -0.2572847008705139, -1.071125864982605, -0.1316276341676712, -0.732288658618927, 0.26231542229652405, 0.005114653613418341, -0.23711621761322021, -0.13546748459339142, 0.0594690777361393, 0.5231883525848389, -0.7970609068870544, 0.9193655252456665, -0.3673034608364105, 0.2552774250507355, 0.04862930625677109, 0.42569437623023987, 0.4770392179489136, 0.46358999609947205, 0.402828186750412, 0.38433215022087097, 0.13290727138519287, -0.1213071271777153, -1.05174720287323, 0.650631844997406, -0.9139429926872253, -0.6111284494400024, -0.5728698968887329, -0.08347255736589432, -0.35696855187416077, 0.2131035029888153, 0.03717769309878349, 0.3469891846179962, -0.19636783003807068, 0.12822599709033966, 0.7825050354003906, -0.17540672421455383, 0.3614526093006134, 0.20735271275043488, 0.20277437567710876, -0.6575737595558167, 0.953742504119873, -0.23831403255462646, 0.3632393777370453, 0.09933768212795258, -0.1077810600399971, 0.0752846896648407, -0.40102049708366394, -0.9089936017990112, 0.015647945925593376, -0.6681156158447266, -0.6360732913017273, -0.6692941784858704, -0.3474966883659363, -0.3733559846878052, -0.38623037934303284, -0.8499734997749329, -0.44982221722602844, -0.39263564348220825, -0.03839839622378349, 0.5686966776847839, 0.5346700549125671, -0.30848804116249084, 0.7953347563743591, -0.5644797086715698, 0.553788959980011, 0.6938281059265137, 0.8271087408065796, -0.24757236242294312, -0.30549201369285583, -0.3977838158607483, -0.3252509534358978, -0.3898164629936218, -0.9201907515525818, 0.024776294827461243, 0.461274117231369, 0.40561503171920776, 0.13996249437332153, -0.2753942012786865, 0.8809699416160583, -0.6860592365264893, 0.8236281871795654, 0.07237065583467484, -1.2338238954544067, 0.7357423901557922, -0.32195019721984863, 0.17331695556640625, 1.0319889783859253, 0.1088867112994194, -0.560512363910675, -0.25355562567710876, -0.5702484846115112, -0.4668569266796112, 0.9505183100700378, 0.1749066710472107, 0.17783069610595703, 0.0796772912144661, 0.3809888958930969, 0.17178431153297424, 0.4824706017971039, -0.638874351978302, -0.09480925649404526, -1.0241893529891968, -0.12003283947706223, 0.4987952709197998, -0.35792338848114014, -0.21494993567466736, -0.20024871826171875, 0.5587875247001648, -0.11309567838907242, 0.17443330585956573, 0.3318410813808441, -0.4371734857559204, 0.00567740760743618, -0.141254723072052, 0.23596109449863434, 0.20834074914455414, -0.5402113795280457, -0.05187999829649925, 0.25088512897491455, -0.6683900356292725, 0.19735819101333618, -0.1470455378293991, -0.15965814888477325, -0.21023449301719666, 0.3508695662021637, 0.9756677746772766, 0.23688426613807678, -0.2759474217891693, 1.1258409023284912, -0.160697802901268, -0.4373355209827423, -0.240000918507576, 0.11048208922147751, -0.4719019830226898, 0.11108096688985825, 0.040718924254179, 0.3004225790500641, 0.5549997687339783, -0.09438524395227432, 0.00195473525673151, 0.14114847779273987, -0.1518435925245285, -0.2999384105205536, 1.1123197078704834, 0.2513214647769928, -0.0040694959461688995, 0.43338266015052795, -0.0459594652056694, -0.39095333218574524, 0.07878012210130692, 0.17120487987995148, 1.1394456624984741, -0.11232823133468628, 0.30432888865470886, 0.3363836407661438, 0.1780346930027008, 0.004748927894979715, -0.1310807168483734, -0.49340158700942993, -0.5355716347694397, -0.22530151903629303, -0.6404820680618286, -0.17364181578159332, 0.12007322907447815, -0.7597790956497192, 0.2553383708000183, -0.7942092418670654, 0.02582702226936817, 0.24765446782112122, -0.3257712125778198, -0.650354266166687, 0.31156599521636963, -0.20611803233623505, 0.8181922435760498, -0.8439892530441284, 0.43309667706489563, 0.318660706281662, -0.4156782031059265, -0.4800336956977844, -0.3229500651359558, 0.5011215209960938, -0.5180203318595886, 0.6570484042167664, 0.09984534233808517, -0.4354200065135956, -0.03809681162238121, -0.37872499227523804, -0.7779815196990967, 1.1307469606399536, 0.3077940046787262, -0.21217533946037292, 0.17127199470996857, 0.017882369458675385, 0.4038402736186981, -0.13894589245319366, -0.10707974433898926, 0.5809829831123352, -0.10879151523113251, 0.1826239377260208, -0.586603045463562, -0.23409897089004517, -0.26209327578544617, 0.43256574869155884, 0.039788100868463516, -0.8556649684906006, 0.578064501285553, 0.19915267825126648, -0.12753374874591827, 0.04367305710911751, 0.6833877563476562, -0.3427211046218872, 0.013775834813714027, 0.5453255772590637, 0.7301148772239685, 0.1427721530199051, 0.06196773424744606, 0.5388979911804199, -0.22528788447380066, 0.12695389986038208, 1.2251275777816772, -0.20903748273849487, 0.39478644728660583, 0.5589771270751953, -0.021699506789445877, 0.45980966091156006, 0.5661497712135315, -0.032151319086551666, 0.8673245310783386, -0.22786742448806763, -0.5600753426551819, -0.3960879445075989, 0.22322724759578705, -0.011348101310431957, 0.9171248078346252, 0.03138108178973198, -0.18391790986061096, -0.3527822196483612, 0.11706282943487167, 0.26564574241638184, 0.27382954955101013, -0.3451121151447296, 1.0884979963302612, -0.5836678147315979, -0.3197651505470276, 0.0862082839012146, -0.07426248490810394, 0.1735176295042038, -0.4872586131095886, -0.31341472268104553, -0.2471465915441513, 0.047863949090242386, -0.4259708523750305, -0.8152034282684326, 0.4464694857597351, 0.34733477234840393, -0.021432025358080864, -0.7231019735336304, 0.5383560657501221, -0.39821451902389526, -0.25250524282455444, -0.17524108290672302, 0.0947420746088028, -0.09720107913017273, -0.0291755311191082, -0.6675307750701904, 0.4345684349536896, -0.23965880274772644, -0.2173410952091217, 0.4489111304283142, 0.5460361838340759, 0.13389821350574493, 0.2784605026245117, 0.44221043586730957, 0.12075533717870712, -0.3682451844215393, 0.008217946626245975, 1.1069111824035645, -0.3714211583137512, -0.46245691180229187, -0.7949673533439636, 0.6621198058128357, -0.4171660244464874, -0.4180167615413666, 0.7122130990028381, 0.5270301699638367, 0.8264468908309937, -0.19633519649505615, 0.5693417191505432, -0.0035480414517223835, 0.44429001212120056, -0.6774495244026184, 0.6678017973899841, -0.5824158191680908, 0.09342149645090103, -0.6110617518424988, -0.8931146264076233, -0.35048046708106995, 0.6997737288475037, 0.07731200009584427, -0.1354449987411499, 0.27732521295547485, 0.9204772114753723, -0.15782643854618073, -0.13860246539115906, 0.061521682888269424, -0.06344465911388397, 0.1765744388103485, 0.29664358496665955, 0.743778645992279, -0.5198237895965576, 0.1344633549451828, -0.4831007719039917, -0.47678983211517334, -0.12238438427448273, -1.0437114238739014, -0.943893313407898, -0.49129873514175415, -0.564261257648468, -0.2779862880706787, 0.20592831075191498, 0.6337217688560486, 0.5418370366096497, -0.19395779073238373, 0.09332162141799927, -0.04305623471736908, -0.0014457587385550141, -0.34164077043533325, -0.09693498909473419, 0.390546977519989, -0.06259222328662872, -0.5335869193077087, 0.23785123229026794, 0.6699671149253845, -0.09004419296979904, -0.25518444180488586, 0.12950164079666138, 0.051266927272081375, -0.23402947187423706, 0.44755247235298157, 0.4304405748844147, -0.4874946177005768, -0.6479280591011047, -0.24650461971759796, -0.03218160942196846, -0.15008223056793213, 0.48830097913742065, -0.509672999382019, 0.9546709656715393, 0.10933727771043777, 0.8363661170005798, 0.718132734298706, -0.0028701398987323046, 0.18732479214668274, -1.0854207277297974, 0.20799872279167175, -0.07746823877096176, 0.118648461997509, 0.48730817437171936, -0.6230995059013367, 0.4895044267177582, 0.30948537588119507, -0.5947718620300293, -0.9158881306648254, 0.15045565366744995, -1.0165153741836548, 0.1426405906677246, 0.7026083469390869, -0.07969961315393448, -0.4694156348705292, 0.3758884072303772, -0.249394491314888, 0.325792521238327, -0.058577992022037506, 0.9503604769706726, 0.5516358613967896, -0.5734845995903015, -0.2726433575153351, -0.6768418550491333, 1.2392430305480957, 0.3071306645870209, -0.5787317752838135, 0.33595576882362366, 0.7368103861808777, 0.2981495261192322, -0.13818246126174927, 0.5381523370742798, -0.1650879830121994, 0.8321769833564758, 0.10468771308660507, 0.25272613763809204, -0.48193153738975525, -0.626853346824646, -0.5310196280479431, -0.37267306447029114, -0.160927876830101, -0.3141377866268158 ]
http://arxiv.org/abs/2404.16053v1
http://arxiv.org/pdf/2404.16053v1
Human Latency Conversational Turns for Spoken Avatar Systems
2024-04-11T20:20:48
2024-04-11T20:20:48
Derek Jacoby, Tianyi Zhang, Aanchan Mohan, Yvonne Coady
cs.HC
cs.HC, cs.AI, cs.CL
A problem with many current Large Language Model (LLM) driven spoken dialogues is the response time. Some efforts such as Groq address this issue by lightning fast processing of the LLM, but we know from the cognitive psychology literature that in human-to-human dialogue often responses occur prior to the speaker completing their utterance. No amount of delay for LLM processing is acceptable if we wish to maintain human dialogue latencies. In this paper, we discuss methods for understanding an utterance in close to real time and generating a response so that the system can comply with human-level conversational turn delays. This means that the information content of the final part of the speaker's utterance is lost to the LLM. Using the Google NaturalQuestions (NQ) database, our results show GPT-4 can effectively fill in missing context from a dropped word at the end of a question over 60% of the time. We also provide some examples of utterances and the impacts of this information loss on the quality of LLM response in the context of an avatar that is currently under development. These results indicate that a simple classifier could be used to determine whether a question is semantically complete, or requires a filler phrase to allow a response to be generated within human dialogue time constraints.
[ -0.6171808838844299, -1.0270744562149048, 0.6854103803634644, 0.18767185509204865, -0.18884609639644623, 0.28785085678100586, 0.024340011179447174, -0.7070010304450989, 0.24935553967952728, 0.5056124329566956, -0.7630172967910767, 0.03940650820732117, -0.1200813353061676, 0.17465627193450928, -0.26980122923851013, 0.6711901426315308, 0.16708599030971527, -0.026469053700566292, -0.43672049045562744, 0.050399117171764374, -0.562915027141571, -0.7624172568321228, -0.9349600672721863, -0.5641145706176758, 0.3969288766384125, 0.32824406027793884, 0.9746184349060059, 0.2780717611312866, 0.28935912251472473, 0.22446376085281372, -0.2817663848400116, -0.11142091453075409, -0.4519737958908081, 0.1612541228532791, 0.09861473739147186, -0.5474815368652344, -0.3089969754219055, -0.00851472094655037, 0.6047527194023132, 0.7630034685134888, -0.3509633243083954, 0.039110660552978516, -0.18458274006843567, 0.4181286096572876, -0.40525758266448975, 0.12907704710960388, -0.29437166452407837, 0.48068755865097046, -0.19315436482429504, -0.29933962225914, -0.2106035351753235, -0.2515322268009186, 0.3481100797653198, -0.641365647315979, 0.3408493101596832, 0.09943853318691254, 0.6116670966148376, 0.30473384261131287, -0.175406813621521, -0.12015305459499359, -1.175232172012329, 0.5145813226699829, -0.8478237986564636, 0.34214720129966736, 0.47234323620796204, 0.4229898750782013, -0.3917108178138733, -0.4618699550628662, -1.15682053565979, -0.3242343068122864, 0.006240060552954674, 0.2098432183265686, 0.00740210572257638, 0.3272867202758789, 0.41061893105506897, 0.4309564232826233, -0.5756663680076599, -0.1637512743473053, -0.14458394050598145, -0.3606835603713989, 0.48650112748146057, 0.46301135420799255, 0.3642694354057312, -0.2868896722793579, 0.013705819845199585, -0.21009579300880432, -0.5784875750541687, 0.09034192562103271, 0.5132302641868591, -0.07134592533111572, -0.00936579704284668, 0.6112338900566101, -0.27186742424964905, 0.7600563764572144, 0.23321273922920227, -0.14397338032722473, 0.046855341643095016, -0.5916556119918823, -0.06170648708939552, -0.05845693126320839, 0.6927219033241272, 0.44359055161476135, 0.1542510837316513, -0.12509161233901978, -0.21078850328922272, 0.17303726077079773, 0.32563120126724243, -0.7119256854057312, 0.062049899250268936, 0.3240469992160797, -0.10122054815292358, 0.0629863366484642, -0.3771020174026489, -0.3304556608200073, -0.02376147173345089, -0.3377981185913086, 0.23916855454444885, -0.2023819237947464, -0.24785052239894867, 0.0601264089345932, 0.05776261165738106, 0.7260090112686157, 0.4076293408870697, -0.7657460570335388, 0.37571531534194946, 0.49488410353660583, 0.9221340417861938, -0.08830293267965317, 0.17469291388988495, -0.8536625504493713, -0.054026536643505096, -0.4384872019290924, 0.807860791683197, -0.5670679211616516, -0.5283722281455994, -0.1306000053882599, -0.11572188884019852, 0.015784122049808502, -0.46714916825294495, 0.28807249665260315, -0.8079867362976074, 0.5723093152046204, -0.127489373087883, -0.3901946544647217, -0.10062749683856964, 0.34174346923828125, -0.3786710500717163, 0.6967372894287109, 0.0022015399299561977, -0.6863201260566711, -0.04212023690342903, -0.7046895623207092, -0.4705672264099121, 0.34989774227142334, -0.31381961703300476, -0.16980411112308502, 0.002718581585213542, 0.28088948130607605, 0.4019192159175873, -0.08929181098937988, 0.0817418172955513, -0.030193770304322243, -0.6294701099395752, 0.4899037778377533, -0.27267587184906006, 0.31253284215927124, 0.23179775476455688, -0.26270052790641785, -0.13378527760505676, -0.4826638102531433, 0.16550789773464203, 0.18190844357013702, -0.46993741393089294, 0.03690984472632408, 0.20155926048755646, 0.04460315406322479, 0.06212930381298065, -0.04468388482928276, -0.6589850783348083, 0.03963564336299896, -0.5045151114463806, 0.5912134647369385, 0.648628294467926, 0.18796183168888092, 0.283054381608963, -0.32151103019714355, 0.7497208118438721, -0.17318351566791534, 0.23233142495155334, -0.3317456543445587, -0.6834866404533386, -0.7873610854148865, 0.2803816795349121, 0.07992411404848099, 0.7378785610198975, -0.9773609042167664, 0.10571062564849854, -0.18517473340034485, -0.2067841738462448, -0.39478546380996704, -0.2252149134874344, 0.5824291110038757, 0.5205272436141968, 0.10222177952528, -0.7272570729255676, -0.23263618350028992, -0.7577857971191406, -0.15871767699718475, -0.6259651184082031, -0.42147284746170044, 0.7268859148025513, 0.05939574912190437, -0.2536434531211853, 1.0614402294158936, -0.5967666506767273, 0.10431744158267975, 0.045380670577287674, 0.40551382303237915, 0.04536052793264389, 0.055073101073503494, 0.24756506085395813, -0.8876282572746277, -0.10430409014225006, -0.1393217295408249, -0.8688173294067383, -0.13008180260658264, -0.19281509518623352, 0.11422248184680939, 0.16885064542293549, 0.4876578450202942, -0.6271983981132507, 0.5301223397254944, 0.3758089244365692, -0.28363165259361267, 0.5406917929649353, -0.05803419277071953, 0.21929343044757843, -0.7314628958702087, -0.06329255551099777, -0.3190392553806305, -0.3927527368068695, -0.7906960844993591, -0.23026028275489807, -0.3794993460178375, -0.3521192669868469, -0.7187926769256592, 0.7310124635696411, -0.37985002994537354, -0.5400928854942322, -0.23595893383026123, 0.2919510304927826, -0.14308281242847443, 0.6378300786018372, 0.13206006586551666, 1.1084436178207397, 0.02311917021870613, -0.9406783580780029, 0.48500701785087585, 0.5400171279907227, -0.20800694823265076, 0.6835811734199524, -0.8938079476356506, 0.7013536691665649, -0.33537423610687256, 0.3591063618659973, -1.0846675634384155, -0.5405504703521729, 0.47105729579925537, -0.7292121052742004, 0.02376745082437992, -0.22949762642383575, -0.2958766222000122, -0.43895819783210754, 0.10254628956317902, 0.5877180099487305, 0.41309788823127747, -0.19239339232444763, 0.6062363386154175, 0.34490010142326355, -0.6331378817558289, -0.358936607837677, -0.5706361532211304, 0.41641420125961304, 0.026469284668564796, -0.8734340667724609, 0.30320456624031067, -0.438987135887146, -0.21826867759227753, -0.20589850842952728, 0.21451137959957123, 0.03514188155531883, 0.03739393875002861, 0.3213099241256714, 0.11148720979690552, -0.08724360913038254, 0.05333526059985161, -0.23264652490615845, -0.03615017980337143, 0.023844106122851372, -0.04242165386676788, 0.7026256322860718, -0.11004436761140823, -0.4582516849040985, -0.685142457485199, 0.4752490222454071, 0.617455005645752, 0.13281121850013733, 0.3332516849040985, 0.5306779742240906, -0.30059173703193665, 0.8368560671806335, -0.7286742925643921, -0.27734678983688354, -0.38135817646980286, 0.18885675072669983, -0.2849944233894348, -0.776818037033081, 0.8565791845321655, 0.50368732213974, -0.021711470559239388, 0.12075440585613251, 0.5653943419456482, -0.10158689320087433, 1.2441669702529907, 0.5816022753715515, -0.047879863530397415, 0.9301650524139404, -0.08124390244483948, 0.17425256967544556, -0.8953784704208374, -0.36305898427963257, -0.23344092071056366, -0.1448659896850586, -0.4060184955596924, -0.4243216812610626, 0.5313898324966431, -0.1882541924715042, -0.2160675823688507, 0.0169680118560791, -0.23883020877838135, 0.38883498311042786, 0.5513102412223816, -0.1485634744167328, 0.3469226360321045, -0.05300767347216606, -0.010315114632248878, 0.006224593613296747, -0.5600224733352661, -0.43501436710357666, 0.6284723281860352, 0.3244214653968811, 0.8472723364830017, 0.1856943666934967, 0.28662627935409546, 0.45525768399238586, 0.022898273542523384, -0.8362734317779541, 0.6225066184997559, 0.5277904868125916, -0.5226914286613464, -0.5876791477203369, -0.3559776544570923, -0.7885115742683411, 0.062334854155778885, -0.1886729598045349, -0.5479863882064819, -0.09728629887104034, 0.1154889389872551, -0.6543546319007874, -0.09663507342338562, -0.6970282196998596, 0.40444061160087585, -0.2225641906261444, -0.3220684230327606, -0.12409733980894089, -0.9217963218688965, 0.13916745781898499, 0.07276905328035355, 0.06338439136743546, -0.1279827356338501, 0.29748988151550293, 0.9267231822013855, -0.43757906556129456, 0.7630284428596497, -0.362894207239151, -0.10631511360406876, 0.4216156601905823, 0.012394970282912254, 0.37048205733299255, 0.23334231972694397, 0.38721033930778503, 0.03851030766963959, -0.08843828737735748, -0.48128774762153625, -0.6686394214630127, 0.32889431715011597, -0.8580127954483032, -0.6393779516220093, -0.4710070788860321, -0.2389799803495407, -0.2379290610551834, -0.10982511937618256, 0.3528836667537689, 0.2845647931098938, -0.2810620367527008, -0.37775278091430664, 0.6675752401351929, -0.34877458214759827, 0.5163586139678955, 0.5527675747871399, -0.2908408045768738, -0.28662174940109253, 0.5640589594841003, 0.11222745478153229, 0.33516809344291687, 0.14909370243549347, -0.0367601104080677, -0.34481802582740784, -0.305076539516449, -0.715627908706665, 0.3676798939704895, -0.40221062302589417, -0.023413781076669693, -0.6206099987030029, -0.3397262990474701, -0.37486782670021057, 0.10044098645448685, -0.305541455745697, -0.3319626450538635, -0.25998324155807495, 0.0184249859303236, 0.27897244691848755, 0.9643720388412476, 0.18581463396549225, 0.6635139584541321, -0.9057462215423584, 0.4585278332233429, 0.6314902305603027, 0.2323290854692459, 0.05077726021409035, -0.6816752552986145, -0.09327924251556396, 0.3555367887020111, -0.3280094861984253, -0.5496081113815308, 0.31123706698417664, 0.30705371499061584, 0.44692403078079224, 0.43027257919311523, -0.17447462677955627, 0.7405089735984802, -0.5282824635505676, 1.1456962823867798, 0.25601938366889954, -0.7664524912834167, 0.561285138130188, -0.3248417377471924, 0.7257336378097534, 0.0015590484254062176, 0.1657370626926422, -1.3561300039291382, -0.2765416204929352, -0.49387767910957336, -0.8830227851867676, 0.6667914986610413, 0.42971310019493103, 0.2963404059410095, -0.1060698851943016, 0.6550129055976868, -0.09962751716375351, 0.1950777769088745, -0.3713711202144623, 0.009587952867150307, -0.19921936094760895, 0.44728440046310425, -0.1857333779335022, -0.3886658847332001, 0.06089526414871216, 0.1811680942773819, 0.3074168860912323, -0.26292988657951355, 0.6729838848114014, 0.306680828332901, -0.06908058375120163, -0.2976137101650238, 0.3380548059940338, 0.7652760744094849, 0.5563941597938538, -0.40978503227233887, -0.15796342492103577, 0.0808168351650238, -0.5213627815246582, 0.16293121874332428, -0.215700164437294, -0.13921427726745605, -0.10070046782493591, 0.3558374345302582, 0.7968068718910217, -0.034126266837120056, -0.6217426061630249, 0.5443050265312195, -0.5559884309768677, 0.10006973892450333, -0.6148228645324707, -0.000640741316601634, -0.0674026757478714, 0.16203565895557404, 0.6996997594833374, -0.1189815029501915, 0.10906507074832916, -0.6089676022529602, 0.09072082489728928, 0.3390474319458008, -0.3789939284324646, -0.5216864943504333, 0.6234943270683289, 0.26688340306282043, -0.578271210193634, 0.9339820742607117, -0.14640484750270844, -0.6272637844085693, 0.3378555476665497, 0.4371764063835144, 0.749658465385437, -0.3268446922302246, 0.2406017780303955, 0.08795833587646484, -0.2738317549228668, 0.022099660709500313, 0.26447975635528564, -0.26942768692970276, -0.6738566756248474, -0.9045137763023376, -0.5324472188949585, -0.7613860964775085, 0.11539866775274277, -0.5996609926223755, -0.18947003781795502, -0.45116758346557617, -0.464694082736969, -0.17838139832019806, -0.16657733917236328, -0.7414337396621704, 0.22904062271118164, 0.42088940739631653, 0.41825416684150696, -0.8009225726127625, 0.06041443347930908, 0.6359208226203918, -0.3828868567943573, -0.5469661951065063, 0.060985978692770004, -0.23240163922309875, -0.7546467185020447, 0.6204590797424316, 0.013124827295541763, -0.4765937328338623, -0.22908921539783478, -0.8296060562133789, -0.7511054873466492, 0.8372476100921631, 0.3361661434173584, -0.5711001753807068, -0.32247287034988403, 0.21164290606975555, 0.6679828763008118, -0.19148239493370056, 0.608679473400116, 0.65996253490448, 0.20726852118968964, 0.5360682010650635, -1.1501245498657227, -0.19385790824890137, -0.19779889285564423, 0.2526286244392395, 0.11250059306621552, -0.6356868147850037, 0.7928722500801086, -0.24174189567565918, -0.3402409851551056, 0.1542873978614807, 0.738590657711029, -0.0793006420135498, 0.4724176824092865, 0.45844563841819763, 0.46898379921913147, 0.7936107516288757, 0.028533756732940674, 1.0795369148254395, 0.024726856499910355, 0.13243629038333893, 0.7510735988616943, -0.11639063060283661, 0.8875904083251953, 0.463735967874527, -0.34749090671539307, 0.26109638810157776, 0.9173009395599365, 0.6240580081939697, 0.4173014760017395, 0.2592158615589142, -0.4872382879257202, -0.4117623567581177, -0.2642773389816284, -0.5235927104949951, 0.5873572826385498, 0.4664694666862488, 0.3631269931793213, 0.1566777378320694, 0.3467923402786255, -0.06448326259851456, -0.25341230630874634, -0.16585099697113037, 0.9655986428260803, 0.06469652056694031, -0.8646125793457031, 0.8120001554489136, -0.30093297362327576, 0.5662856698036194, -0.17035087943077087, -0.18014851212501526, -0.6600896716117859, -0.1316128820180893, -0.19649401307106018, -0.8015889525413513, 0.2621343731880188, -0.1338750571012497, -0.3735872209072113, 0.15490390360355377, 0.3869163393974304, -0.2800561785697937, -0.21276140213012695, 0.12588326632976532, 0.5116167664527893, 0.5466024875640869, -0.2438012808561325, -0.2950979769229889, -0.06042144447565079, -0.07300562411546707, -0.19166241586208344, 0.18348540365695953, 0.14442738890647888, -0.1982044279575348, 1.0771530866622925, 0.607857346534729, -0.028807878494262695, 0.1330283135175705, 0.00003284982449258678, 0.8955317139625549, -0.826790452003479, -0.5375714302062988, -0.5219249129295349, 0.09157693386077881, 0.13144415616989136, 0.00115016323979944, 0.3215603232383728, 0.32855042815208435, 0.7624708414077759, 0.005728062707930803, 0.9873812198638916, 0.06227384880185127, 0.5789908170700073, -0.7121172547340393, 0.37636587023735046, -0.37032777070999146, 0.2822115123271942, -0.17679008841514587, -1.0072381496429443, -0.19169719517230988, 0.6734701991081238, -0.3461669683456421, 0.011513701640069485, 0.3511289954185486, 0.6359884142875671, 0.11170131713151932, -0.0597272627055645, 0.46840009093284607, 0.06943025439977646, 0.6442237496376038, 0.5659372210502625, 1.1329237222671509, -0.32467225193977356, 0.6712573170661926, 0.2311246246099472, -0.12148047238588333, -0.5465788841247559, -0.6778163313865662, -0.6918260455131531, -0.49057111144065857, -0.28771573305130005, -0.3625802993774414, 0.16732950508594513, 0.6337119340896606, 0.6763042211532593, -0.617165207862854, -0.16587568819522858, 0.151603564620018, 0.0009007229236885905, 0.069443479180336, -0.2593666911125183, 0.030837031081318855, -0.17728513479232788, -0.7185531258583069, 0.32120198011398315, 0.3501698076725006, 0.3965315818786621, -0.3075273931026459, -0.2928920090198517, -0.05987636744976044, 0.145533487200737, 0.5238964557647705, 0.6524752974510193, -0.7880316972732544, -0.6433285474777222, 0.261728972196579, 0.1349300593137741, 0.32320812344551086, 0.8219384551048279, -1.0613011121749878, 0.6925634741783142, 0.3432745039463043, 0.48755761981010437, 0.8049673438072205, 0.24404147267341614, 0.7965313196182251, -0.7538332343101501, 0.03587663546204567, 0.48295360803604126, -0.07546327263116837, 0.6538035273551941, -0.465751588344574, 0.37600192427635193, 0.3673378527164459, -0.72809898853302, -0.5315333008766174, 0.43332087993621826, -0.89309161901474, 0.29464709758758545, 0.9485650658607483, 0.004697570111602545, -0.3280493915081024, -0.3334450125694275, -0.3894091546535492, 0.27237898111343384, -0.5662668943405151, 0.5890464186668396, 0.8367539644241333, -0.6088927984237671, -0.1874653548002243, -0.5518632531166077, 0.40241286158561707, 0.37745246291160583, -0.5013548731803894, -0.03874678537249565, 0.5948874354362488, 0.17152298986911774, 0.5394541025161743, 0.9969134330749512, 0.1123279333114624, 0.2712974548339844, -0.08526472747325897, 0.053937382996082306, 0.23236510157585144, -0.11490977555513382, -0.1681216061115265, -0.2020712047815323, 0.28290367126464844, -0.340343713760376 ]
http://arxiv.org/abs/2404.16859v1
http://arxiv.org/pdf/2404.16859v1
Rumour Evaluation with Very Large Language Models
2024-04-11T19:38:22
2024-04-11T19:38:22
Dahlia Shehata, Robin Cohen, Charles Clarke
cs.CL
cs.CL, cs.SI
Conversational prompt-engineering-based large language models (LLMs) have enabled targeted control over the output creation, enhancing versatility, adaptability and adhoc retrieval. From another perspective, digital misinformation has reached alarming levels. The anonymity, availability and reach of social media offer fertile ground for rumours to propagate. This work proposes to leverage the advancement of prompting-dependent LLMs to combat misinformation by extending the research efforts of the RumourEval task on its Twitter dataset. To the end, we employ two prompting-based LLM variants (GPT-3.5-turbo and GPT-4) to extend the two RumourEval subtasks: (1) veracity prediction, and (2) stance classification. For veracity prediction, three classifications schemes are experimented per GPT variant. Each scheme is tested in zero-, one- and few-shot settings. Our best results outperform the precedent ones by a substantial margin. For stance classification, prompting-based-approaches show comparable performance to prior results, with no improvement over finetuning methods. Rumour stance subtask is also extended beyond the original setting to allow multiclass classification. All of the generated predictions for both subtasks are equipped with confidence scores determining their trustworthiness degree according to the LLM, and post-hoc justifications for explainability and interpretability purposes. Our primary aim is AI for social good.
[ -0.2946632206439972, -0.8677560091018677, 0.685785174369812, 0.46721985936164856, -0.1831662803888321, 0.2580961585044861, -0.4755573272705078, -0.607213020324707, 0.463961660861969, 0.19001422822475433, -0.6951848268508911, -0.4595639109611511, -0.6722416281700134, -0.052545756101608276, -0.46959352493286133, 1.1090463399887085, 0.08486882597208023, -0.038330622017383575, 0.11877351999282837, 0.15208633244037628, -0.5197225213050842, -0.38787224888801575, -0.7843881845474243, -0.13574466109275818, 0.6840476393699646, 0.5002453923225403, 0.7974483966827393, 0.07261992990970612, 0.1146174967288971, 0.2184746265411377, -0.0009219654020853341, 0.21234653890132904, -0.46519628167152405, 0.31394147872924805, -0.053843192756175995, -0.45378080010414124, -0.16712702810764313, 0.2675156891345978, 0.3275650143623352, 0.3679703176021576, -0.3795936107635498, 0.25278472900390625, 0.06712896376848221, 0.36313867568969727, -0.4771050810813904, 0.283342182636261, -1.0939356088638306, -0.1834333837032318, -0.09510498493909836, -0.2136055827140808, -0.5086870193481445, -0.6292473673820496, 0.2520691752433777, -0.33910974860191345, 0.050303395837545395, 0.3806067407131195, 0.8290301561355591, -0.03973345085978508, 0.21612869203090668, -0.4535502791404724, -0.7049412727355957, 0.8021059036254883, -0.6526854038238525, 0.13168849050998688, 0.46968698501586914, 0.5434852838516235, -0.04997390881180763, -0.3517204523086548, -0.5289133191108704, -0.4916928708553314, 0.012463553808629513, 0.2104230523109436, -0.41065260767936707, -0.17549721896648407, 0.2746503949165344, -0.007423095405101776, -0.47398641705513, 0.091275654733181, -0.29381993412971497, -0.4498233199119568, 0.5284129977226257, -0.14736706018447876, 0.08396816998720169, -0.19595268368721008, -0.2156943529844284, 0.21052734553813934, -0.6715720891952515, -0.28107500076293945, 0.4110380709171295, 0.2655934989452362, -0.1946183741092682, 0.5191306471824646, -0.340101420879364, 0.15690024197101593, 0.39037057757377625, -0.33422067761421204, 0.13217921555042267, -0.07312024384737015, -0.015973038971424103, 0.39264726638793945, 0.7292020916938782, 0.5077603459358215, 0.4516565501689911, -0.11092881858348846, -0.297710120677948, 0.23543228209018707, 0.03478305786848068, -0.40941122174263, 0.027901863679289818, 0.271511971950531, -0.45482948422431946, -0.4948320984840393, 0.04287901148200035, -0.75437992811203, -0.7636902928352356, -0.22638291120529175, 0.41299599409103394, -0.6584975123405457, -0.24986183643341064, -0.011569821275770664, -0.12814052402973175, 0.23715561628341675, 0.8639441132545471, -0.5494136214256287, -0.05152488499879837, 0.7603569030761719, 0.7214828133583069, -0.016700545325875282, -0.28047651052474976, -0.5419999361038208, 0.3018232583999634, -0.4592573642730713, 0.914518415927887, -0.584895133972168, -0.2012251913547516, 0.2422517091035843, -0.2562459111213684, 0.09475965052843094, -0.36728498339653015, 0.8445978164672852, -0.6599000096321106, 0.4186646342277527, -0.2508728504180908, -0.3328297734260559, -0.34435558319091797, 0.542571485042572, -0.5243253707885742, 0.9041411280632019, 0.05473596602678299, -0.9993104934692383, 0.3405601680278778, -0.5225499272346497, -0.4882301390171051, 0.03435530513525009, -0.07741141319274902, -0.15718962252140045, 0.2273223102092743, 0.4991483986377716, 0.5918369889259338, -0.5589427351951599, 0.5071161985397339, -0.23061156272888184, -0.2963315546512604, 0.335002601146698, -0.967286229133606, 0.5202289819717407, 0.25453460216522217, -0.47541818022727966, 0.04988515377044678, -0.3709532916545868, -0.15578609704971313, -0.13942936062812805, -0.0027879599947482347, -0.17749376595020294, -0.29754704236984253, -0.3115702271461487, 0.18727834522724152, 0.18994010984897614, -0.3769495189189911, 0.09276330471038818, -0.24716807901859283, 0.19705675542354584, 0.7205485701560974, 0.10607677698135376, 0.057207413017749786, -0.7602526545524597, 0.5560516119003296, 0.03929324820637703, 0.22790707647800446, -0.19659367203712463, -0.5888864994049072, -0.6528977751731873, -0.23083855211734772, 0.28247177600860596, 0.6488991975784302, -0.9235348701477051, 0.1307285577058792, -0.22853714227676392, -0.6255685687065125, -0.6062085032463074, -0.18356163799762726, 0.10749572515487671, 0.47542595863342285, 0.20229706168174744, 0.2415401041507721, -0.6785096526145935, -0.9213209748268127, -0.39368534088134766, -0.7419835925102234, 0.0542500801384449, 0.033505745232105255, -0.01712207868695259, -0.1332109123468399, 0.8056023716926575, -0.14702853560447693, 0.04955747723579407, -0.5112823247909546, 0.46475279331207275, 0.3847280740737915, 0.03822821378707886, 0.49700456857681274, -0.44976332783699036, -0.6614195704460144, -0.14751799404621124, -0.4556502401828766, -0.18228910863399506, -0.15450789034366608, 0.16781489551067352, 0.5945395827293396, 0.08801920711994171, -1.0273946523666382, 0.4078931212425232, 0.4081858992576599, -0.007932421751320362, 1.0333783626556396, 0.1880732625722885, 0.41854730248451233, -0.935054361820221, -0.3263641893863678, 0.12500853836536407, -0.24797363579273224, -0.5182182192802429, -0.4554992616176605, -0.14551202952861786, 0.17467831075191498, -0.4142797887325287, 0.4661995470523834, -0.35594791173934937, 0.1432799994945526, -0.3116345703601837, 0.09350621700286865, -0.2809094786643982, -0.0018968796357512474, 0.007217367645353079, 0.5961577296257019, 0.8827648758888245, -0.5313340425491333, 0.3996366262435913, -0.12280319631099701, -0.23943202197551727, 0.5930414199829102, -0.4776976704597473, 0.007132242899388075, -0.32906728982925415, 0.4485054910182953, -1.0659866333007812, -0.4829395115375519, 0.4923206865787506, -0.7551892399787903, 0.22892490029335022, -0.2215282917022705, -0.681325376033783, -0.5720385313034058, -0.6485577821731567, -0.25762781500816345, 0.6926916837692261, -0.640774667263031, 0.5378621816635132, 0.14607475697994232, -0.44068649411201477, -0.5720447897911072, -0.5506187677383423, 0.2896193861961365, -0.5618177652359009, -0.6189641356468201, -0.09584197402000427, 0.004646116402000189, -0.5351239442825317, -0.19555877149105072, -0.15295660495758057, 0.14518074691295624, -0.2730177044868469, 0.2662546634674072, 0.601327657699585, -0.1885809749364853, 0.07980072498321533, -0.09994058310985565, -0.1676662564277649, 0.2678358256816864, -0.38147085905075073, 0.5274018049240112, -0.09772619605064392, -0.23920254409313202, -0.5189455151557922, 0.04827315732836723, 0.582973062992096, 0.10495439916849136, 0.8606552481651306, 0.7526922225952148, -0.4293966591358185, -0.2657701075077057, -1.2507634162902832, -0.21803024411201477, -0.4703940749168396, 0.15338961780071259, -0.2142253816127777, -0.7497096061706543, 0.3655269742012024, -0.19721511006355286, 0.08553564548492432, 0.48041000962257385, 0.5543286204338074, -0.06628947705030441, 0.7884421348571777, 0.27750444412231445, -0.4312158226966858, 0.06570982933044434, 0.03228957951068878, 0.1336972415447235, -0.2130931168794632, -0.08290878683328629, -0.41758012771606445, 0.019775494933128357, -0.42927709221839905, -0.601593554019928, 0.12876304984092712, -0.021758709102869034, 0.15158633887767792, 0.20374223589897156, -0.21611915528774261, 0.369119793176651, 0.209686741232872, -0.09422016143798828, 0.4501818120479584, 0.3253643214702606, -0.031878501176834106, -0.07139161974191666, -0.7063493728637695, -0.6973705887794495, 0.8321518301963806, 0.6733470559120178, 0.9133157730102539, -0.039974410086870193, 0.49039220809936523, 0.45387956500053406, 0.8279249668121338, -0.8617837429046631, 0.610363781452179, 0.1420094221830368, -0.6911044716835022, -0.3270729184150696, -0.33526673913002014, -0.4159422516822815, -0.03966934233903885, -0.2599961459636688, -0.9274184107780457, -0.22858113050460815, 0.12685541808605194, -0.3601086735725403, 0.33160117268562317, -0.5207011103630066, 0.07701408118009567, -0.2414419949054718, -0.10124562680721283, -0.5537937879562378, -0.46492698788642883, 0.5603071451187134, -0.2604132890701294, 0.5932877659797668, -0.29369768500328064, 0.0809035673737526, 0.6237087845802307, -0.11965064704418182, 1.0342025756835938, -0.25891318917274475, -0.167847141623497, 0.5694737434387207, 0.005330157000571489, 0.9322613477706909, 0.20644065737724304, -0.5528379678726196, 0.18607677519321442, -0.17537114024162292, -0.03776663541793823, -0.4787064492702484, 0.7120508551597595, -0.6329919695854187, -0.7810434699058533, -0.3793656527996063, -0.5229930877685547, -0.5775864124298096, -0.04689083248376846, 0.4100377559661865, 0.18006360530853271, -0.19815115630626678, 0.12870074808597565, 0.6730772852897644, -0.3172896206378937, 0.38611194491386414, 0.5816270709037781, -0.392877459526062, -0.2564438581466675, 0.811870276927948, 0.08548334985971451, 0.10871189087629318, 0.2902771234512329, 0.5428699851036072, -0.5074187517166138, -0.5936195254325867, -0.22854019701480865, 0.23126120865345, -0.6774693727493286, -0.3188839554786682, -0.5896989703178406, -0.5669638514518738, -0.42771872878074646, -0.12411630898714066, -0.23278121650218964, -0.39894282817840576, 0.06200384348630905, -0.33933156728744507, 0.6069740653038025, 0.9338088631629944, -0.11619790643453598, 0.405365914106369, -0.6465531587600708, 0.17885775864124298, 0.17660899460315704, 0.2926241159439087, 0.08123549073934555, -0.7894929051399231, -0.11834875494241714, 0.06878316402435303, -0.05827925726771355, -0.9277117848396301, 0.3034810423851013, -0.17536702752113342, 0.6622940897941589, 0.5109907388687134, 0.22945602238178253, 0.6245018839836121, -0.4215322732925415, 0.7128216624259949, 0.512811541557312, -0.6822454929351807, 0.5008907914161682, -0.5787968039512634, -0.13039451837539673, 0.6247209310531616, 0.606369137763977, -0.499705046415329, -0.5845872759819031, -0.9271171689033508, -0.602894127368927, 0.5709812045097351, 0.17279987037181854, 0.0831327810883522, -0.13618186116218567, 0.24863192439079285, 0.46671026945114136, 0.22881492972373962, -0.5033483505249023, -0.2884658873081207, -0.05763367563486099, -0.06154223531484604, 0.24236512184143066, -0.5093408226966858, -0.031042519956827164, -0.1732255518436432, 0.8917434811592102, -0.05170905962586403, 0.06697090715169907, -0.05462617799639702, 0.015760812908411026, -0.22906231880187988, 0.549627959728241, 0.27353471517562866, 0.8994441628456116, -0.07549937814474106, 0.07098355889320374, 0.44342294335365295, -0.44435814023017883, 0.12371228635311127, 0.16962040960788727, -0.35245832800865173, 0.4195897579193115, 0.2991343140602112, 0.6668449640274048, -0.055701084434986115, -0.38416963815689087, 0.37439095973968506, -0.14349372684955597, -0.3312036097049713, -0.5114284157752991, -0.12125547975301743, 0.22871024906635284, 0.22484847903251648, 0.5831637978553772, 0.05792511999607086, 0.10951220989227295, -0.6536480784416199, 0.1276816427707672, 0.49266496300697327, -0.3051258623600006, -0.3824598789215088, 0.39095279574394226, 0.0571369007229805, -0.07007608562707901, 0.23638854920864105, -0.45288771390914917, -0.4785986542701721, 0.26848092675209045, 0.5210964679718018, 0.8128548860549927, -0.35683897137641907, 0.7115328907966614, 0.37501099705696106, 0.4799276888370514, -0.4144521951675415, 0.16995732486248016, 0.3745421767234802, -0.6893580555915833, -0.5474672317504883, -0.5232174396514893, -0.5092383027076721, 0.5935906767845154, -0.21925902366638184, 0.4727542996406555, -0.5083387494087219, -0.12454898655414581, -0.06453817337751389, 0.003943192772567272, -0.46734321117401123, 0.09490661323070526, 0.33902958035469055, 1.0819753408432007, -0.6177285313606262, 0.7448962330818176, 0.7438159584999084, -0.10903459042310715, -1.1459108591079712, 0.6694664359092712, 0.24875178933143616, -0.8476228713989258, 0.371111661195755, 0.35988616943359375, -0.07812484353780746, -0.2769920527935028, -0.861426055431366, -0.8264749050140381, 0.9787634611129761, 0.5568249225616455, -0.7938206195831299, 0.12514595687389374, 0.11848095059394836, 0.27183854579925537, -0.38547319173812866, 0.4444858431816101, 0.5590998530387878, 0.8266821503639221, 0.630267858505249, -1.1188544034957886, 0.1129918098449707, 0.20701809227466583, -0.24813847243785858, -0.31120723485946655, -0.672152578830719, 0.4713943600654602, -0.2401040941476822, -0.1280292123556137, 0.032420817762613297, 0.7735683917999268, 0.7105371356010437, 0.3416649401187897, 0.7638598680496216, 0.07962960749864578, 1.0489401817321777, -0.015479867346584797, 0.9031402468681335, -0.41557776927948, -0.001633713603951037, 1.0196974277496338, -0.32900190353393555, 0.6297768950462341, 0.3403239846229553, -0.10240332037210464, 0.4620656371116638, 0.6278873085975647, 0.20723401010036469, 0.2416560798883438, 0.28524601459503174, -0.20160698890686035, -0.17145228385925293, -0.31672874093055725, -0.3731282651424408, 0.2678622603416443, 0.6866282820701599, -0.09003463387489319, -0.30955004692077637, -0.11230174452066422, 0.24357962608337402, -0.1287815123796463, -0.42214715480804443, 0.40788066387176514, 0.11041690409183502, -0.7703018188476562, 0.32895922660827637, -0.002423540921881795, 1.017492413520813, -0.7027400732040405, 0.03780890256166458, -0.07050462812185287, -0.19807931780815125, -0.18142281472682953, -0.7748139500617981, 0.28088048100471497, 0.05911913886666298, -0.1303320974111557, -0.13164940476417542, 1.173245906829834, -0.40485310554504395, -0.5498654246330261, 0.18802271783351898, 0.6444873213768005, 0.18177048861980438, -0.33945417404174805, -0.7516396641731262, 0.21858689188957214, 0.0496181920170784, -0.2686164677143097, 0.05598471686244011, 0.850976824760437, -0.24576546251773834, 0.7336297631263733, 0.4992440938949585, 0.3287109136581421, -0.2419138252735138, 0.26474422216415405, 1.089287519454956, -0.612921416759491, -0.4984923005104065, -0.8977307081222534, 0.21520502865314484, -0.08025344461202621, 0.09975791722536087, 1.0240788459777832, 0.39901795983314514, 0.28188464045524597, 0.026110349223017693, 1.2418231964111328, -0.041006606072187424, 0.8795995712280273, -0.5048813223838806, 0.7275568842887878, 0.05821355804800987, 0.6372154951095581, -0.4530690610408783, -0.9207996726036072, -0.052739497274160385, 0.4283183217048645, -0.5570001006126404, 0.0404895581305027, 0.7074280977249146, 0.7818629145622253, 0.20220234990119934, 0.3577271103858948, 0.26272013783454895, 0.5189136862754822, 0.10852600634098053, 0.11155103147029877, 1.2927476167678833, 0.10269727557897568, 0.700180172920227, -0.08751886337995529, -0.33170387148857117, -0.31809839606285095, -0.995215117931366, -1.0421333312988281, -0.1762683093547821, -0.37327393889427185, -0.6005043387413025, 0.32993030548095703, 0.9599560499191284, 0.690444827079773, -0.8421934247016907, 0.030042948201298714, 0.2067244052886963, 0.12939128279685974, 0.04143846407532692, -0.2664499282836914, 0.14372606575489044, -0.3052622973918915, -0.28978925943374634, 0.36795774102211, 0.2125471532344818, 0.006057369522750378, -0.44680655002593994, -0.12788215279579163, -0.011233785189688206, 0.3518046438694, 0.6937048435211182, 0.05886749178171158, -0.7571489214897156, -0.3500839173793793, -0.011460707522928715, 0.05569877475500107, -0.16721844673156738, 0.5735993385314941, -0.799752414226532, -0.1359969675540924, 0.21708239614963531, 0.51261305809021, 0.21425434947013855, 0.22415806353092194, 0.6267616152763367, -0.7216804623603821, 0.03980178013443947, 0.23165400326251984, 0.24322772026062012, 0.4472867548465729, -0.6199118494987488, 0.3397443890571594, 0.08380026370286942, -0.28547635674476624, -0.452328622341156, -0.018108095973730087, -0.7556407451629639, -0.19261237978935242, 1.5410207509994507, 0.12695728242397308, -0.2637042701244354, -0.31618064641952515, -0.38885340094566345, 0.013871333561837673, -0.939916729927063, 1.0279172658920288, 0.9850795269012451, -0.022295329719781876, -0.1770058125257492, -0.7145129442214966, 0.487577348947525, 0.23127177357673645, -0.7658833265304565, 0.25626420974731445, 0.5651690363883972, 0.3772597312927246, 0.25095170736312866, 0.7299160957336426, -0.11513838171958923, 0.17271330952644348, -0.14634914696216583, -0.2249998152256012, 0.09107577800750732, -0.44961851835250854, -0.11141905188560486, 0.18174231052398682, 0.2563498318195343, 0.1447448432445526 ]
http://arxiv.org/abs/2404.08092v1
http://arxiv.org/pdf/2404.08092v1
Data-Augmentation-Based Dialectal Adaptation for LLMs
2024-04-11T19:15:32
2024-04-11T19:15:32
Fahim Faisal, Antonios Anastasopoulos
cs.CL
cs.CL, cs.AI
This report presents GMUNLP's participation to the Dialect-Copa shared task at VarDial 2024, which focuses on evaluating the commonsense reasoning capabilities of large language models (LLMs) on South Slavic micro-dialects. The task aims to assess how well LLMs can handle non-standard dialectal varieties, as their performance on standard languages is already well-established. We propose an approach that combines the strengths of different types of language models and leverages data augmentation techniques to improve task performance on three South Slavic dialects: Chakavian, Cherkano, and Torlak. We conduct experiments using a language-family-focused encoder-based model (BERTi\'c) and a domain-agnostic multilingual model (AYA-101). Our results demonstrate that the proposed data augmentation techniques lead to substantial performance gains across all three test datasets in the open-source model category. This work highlights the practical utility of data augmentation and the potential of LLMs in handling non-standard dialectal varieties, contributing to the broader goal of advancing natural language understanding in low-resource and dialectal settings. Code:https://github.com/ffaisal93/dialect_copa
[ -0.33049142360687256, -0.4908340573310852, 0.5019816756248474, 0.2438298612833023, -0.4565277397632599, 0.08837277442216873, -0.4612598717212677, -0.5069674253463745, 0.06482824683189392, 0.8993760943412781, -0.6142365336418152, -0.4509422183036804, -0.19438692927360535, 0.3409745693206787, 0.050564415752887726, 0.6993129253387451, 0.17540967464447021, 0.39483243227005005, -0.4616684019565582, 0.04680252820253372, -0.29179221391677856, -0.7336500883102417, -0.26306846737861633, -0.27785447239875793, 0.1563919335603714, 0.7247259020805359, 0.5081419944763184, 0.37824851274490356, 0.34201779961586, 0.20374107360839844, 0.01743842475116253, 0.4507741928100586, -0.34559839963912964, 0.24348466098308563, -0.20240522921085358, -0.6142888069152832, -0.6273975968360901, -0.31781208515167236, 0.6012489795684814, 0.7457402944564819, -0.08312913775444031, -0.055466849356889725, 0.07022993266582489, 0.5733594298362732, -0.24747540056705475, 0.2909378111362457, -0.9415199160575867, -0.23998652398586273, -0.18395434319972992, 0.06356413662433624, -0.31043586134910583, -0.22309327125549316, 0.05507424473762512, -0.603482186794281, 0.17843325436115265, 0.40372058749198914, 0.5826836824417114, -0.006916012614965439, -0.17861713469028473, -0.15368114411830902, -0.5213439464569092, 0.8588526844978333, -0.9813194274902344, 0.5313788056373596, 0.3317089378833771, 0.29199838638305664, -0.3471359610557556, -0.2063894122838974, -0.4418339133262634, -0.25488248467445374, 0.13820548355579376, 0.13484501838684082, -0.30995529890060425, 0.2600241005420685, -0.0304497592151165, 0.4089638888835907, -0.32703423500061035, 0.21181996166706085, -0.49211937189102173, -0.14108777046203613, 0.6368982791900635, 0.38453641533851624, -0.19201983511447906, -0.23872876167297363, -0.14428097009658813, 0.41736769676208496, -0.7107807397842407, -0.27474185824394226, 0.5961721539497375, 0.8175456523895264, -0.2772037088871002, 0.7167859673500061, -0.2685146629810333, 1.1006213426589966, 0.2360503375530243, 0.2286030799150467, 0.3170352280139923, -0.7283542156219482, -0.342654287815094, -0.26041242480278015, 0.3835293650627136, 0.35266193747520447, 0.2481922209262848, -0.3143700361251831, -0.19162017107009888, -0.3000093698501587, 0.17085453867912292, -0.3030001223087311, -0.036252833902835846, 0.10888030380010605, -0.17403724789619446, -0.4762670397758484, -0.2694622576236725, -1.226698637008667, -0.6242269277572632, -0.6214147806167603, 0.2369692176580429, -0.5972910523414612, -0.12204108387231827, 0.22808793187141418, 0.1083194836974144, 0.2331608086824417, 0.4862460196018219, -0.9257258772850037, 0.592719554901123, 0.7986519932746887, 0.7881683707237244, -0.3932078778743744, -0.22428756952285767, -0.5673825740814209, 0.05328986048698425, -0.3881954848766327, 0.630021870136261, -0.8549953103065491, -0.2506229281425476, 0.018056632950901985, 0.16192875802516937, -0.25556084513664246, -0.8805531859397888, 0.5380164384841919, -0.34831148386001587, 0.09873523563146591, -0.2730938792228699, -0.4842987060546875, -0.1474168300628662, -0.02483854629099369, -0.5835360288619995, 1.1128407716751099, 0.4791567325592041, -0.4782435894012451, 0.29653695225715637, -0.5848877429962158, -0.20220321416854858, -0.01385837234556675, 0.09469545632600784, -0.14969134330749512, 0.43971148133277893, 0.18986375629901886, 0.3422597646713257, -0.4931000769138336, 0.2159387469291687, -0.5584059357643127, -0.28083473443984985, 0.2737303078174591, -0.2878915071487427, 0.692337155342102, 0.14861443638801575, 0.01329233217984438, 0.25109657645225525, -0.7984100580215454, -0.18674485385417938, -0.1811218410730362, -0.1363040804862976, -0.22903956472873688, -0.18954654037952423, 0.16001799702644348, 0.20570100843906403, 0.19554436206817627, -0.5698485374450684, 0.2649947702884674, -0.544520378112793, 0.2851523160934448, 0.783024787902832, -0.05753372609615326, 0.5476367473602295, -0.45945945382118225, 0.5335702300071716, 0.11760679632425308, 0.2242666333913803, 0.1868758350610733, -0.2393541932106018, -1.1090757846832275, -0.3563571274280548, 0.5554422736167908, 0.5640078186988831, -1.0539110898971558, 0.5718327760696411, -0.4592805504798889, -0.4348599314689636, -0.6326597929000854, 0.2154647558927536, -0.05058588832616806, 0.4161278307437897, 0.30164897441864014, -0.36635637283325195, -0.9134167432785034, -0.9430643916130066, -0.02071358636021614, -0.07678679376840591, -0.07311764359474182, 0.6587013602256775, 0.4414212703704834, -0.06038275733590126, 0.7980313897132874, -0.052188098430633545, 0.03774480149149895, -0.5988502502441406, -0.03866192325949669, 0.25636664032936096, 0.3342534601688385, 0.5347800254821777, -0.4753117263317108, -0.29445189237594604, 0.16307534277439117, -0.32594773173332214, -0.585136353969574, 0.03559013456106186, 0.07607870548963547, 0.5097295641899109, 0.17101967334747314, -0.21616899967193604, 0.12968231737613678, 0.87735915184021, -0.2710646688938141, 0.9219704866409302, -0.2173629105091095, 0.24073220789432526, -0.9574354887008667, -0.23164896667003632, -0.14250639081001282, -0.33294445276260376, -1.1058008670806885, -0.04552258551120758, -0.03676406666636467, -0.1376972198486328, -0.44452720880508423, 0.4330444633960724, -0.36444830894470215, -0.4920337498188019, -0.2567194998264313, -0.026283223181962967, -0.10762026906013489, 0.3192911744117737, 0.15821436047554016, 1.1128671169281006, 0.6974396109580994, -0.49704042077064514, 0.45000720024108887, -0.1618773639202118, -0.30358773469924927, 0.619031548500061, -0.4555825889110565, 0.2521514892578125, 0.01656068116426468, -0.018386397510766983, -0.7977707982063293, -0.3698323965072632, 0.33212536573410034, -0.38030189275741577, 0.056618764996528625, -0.5400456786155701, -0.41548952460289, 0.04727199301123619, -0.1507987082004547, 0.11325621604919434, 0.21504206955432892, -0.5697833299636841, 0.709248960018158, 0.32574567198753357, -0.44998520612716675, -0.17360183596611023, -0.7563031911849976, 0.372274786233902, -0.4492776393890381, -0.8124773502349854, 0.22668275237083435, 0.08912305533885956, -0.47336071729660034, -0.11020766943693161, -0.02382560446858406, -0.24482472240924835, -0.06678622215986252, -0.039379559457302094, 0.6678076386451721, -0.1919906735420227, 0.1436961591243744, -0.08270299434661865, 0.12580256164073944, -0.2251238077878952, -0.4540041387081146, 0.7619518637657166, -0.49873822927474976, -0.2486913502216339, 0.027689393609762192, 0.3013797104358673, 0.6269439458847046, 0.01729106344282627, 0.6312477588653564, 0.4283689558506012, -0.17562878131866455, -0.018863944336771965, -0.6175601482391357, -0.019153224304318428, -0.45398131012916565, 0.17697446048259735, -0.3784997761249542, -1.0683900117874146, 0.5598088502883911, -0.2389356791973114, -0.21307234466075897, 0.16230489313602448, 0.450231671333313, -0.1686292141675949, 0.4233735501766205, 0.535739541053772, -0.25067341327667236, 0.3774605989456177, -0.050519250333309174, -0.032287128269672394, -1.1096466779708862, -0.1129947304725647, -0.4428952634334564, 0.14613468945026398, -0.6365998983383179, -1.1087207794189453, 0.33347082138061523, -0.16693101823329926, 0.03941261023283005, 0.32187697291374207, 0.05917975306510925, 0.13988380134105682, 0.3320784568786621, 0.19801297783851624, 0.28699928522109985, 0.06758783757686615, 0.054525576531887054, -0.22729483246803284, -0.7530351281166077, -0.3813193738460541, 1.167790174484253, -0.01820904016494751, 0.8278489708900452, 0.11970152705907822, 0.6570716500282288, 0.4467870593070984, -0.21151778101921082, -0.6888421773910522, 0.5627522468566895, -0.40211501717567444, -0.37193062901496887, -0.3320889174938202, -0.40243735909461975, -0.6810612678527832, 0.34778061509132385, -0.3411175310611725, -0.7401205897331238, 0.523289680480957, 0.041616883128881454, -0.0551580935716629, 0.10595864057540894, -0.4533858597278595, 0.49779844284057617, -0.3024485111236572, -0.5224116444587708, -0.2754933834075928, -0.4664459824562073, 0.27327659726142883, -0.2705036997795105, 0.49013757705688477, -0.1258976310491562, -0.3087802231311798, 0.3400145471096039, -0.09408505260944366, 0.9031258225440979, -0.3151529133319855, 0.12169380486011505, 0.07876040041446686, -0.08462908864021301, 0.6619420647621155, -0.1279810070991516, -0.47603359818458557, 0.3219943344593048, -0.19733163714408875, -0.477164626121521, -0.7368767261505127, 0.5332416892051697, -0.47247928380966187, -0.6066774725914001, -0.33150801062583923, -0.9042962193489075, -0.4908623993396759, -0.006415220908820629, -0.19624587893486023, 0.2900142967700958, -0.267089307308197, 0.271266907453537, 0.6375685930252075, -0.14121167361736298, -0.009050420485436916, 0.6337295174598694, -0.32727140188217163, -0.6762964725494385, 0.819378137588501, -0.12370339781045914, 0.7003949284553528, 0.08003216981887817, 0.08598598092794418, -0.19855260848999023, -0.9836077094078064, -0.6363028287887573, 0.21588844060897827, -0.3919108211994171, 0.03655502200126648, -0.22046178579330444, -0.07251608371734619, -0.6118173003196716, -0.11251255869865417, -0.24328216910362244, -0.8414862155914307, -0.32694992423057556, 0.07022155076265335, 0.36722466349601746, 0.499342143535614, -0.16087859869003296, 0.29101336002349854, -0.47085052728652954, 0.010912205092608929, 0.049186185002326965, 0.12012903392314911, -0.5334005355834961, -0.8975749611854553, -0.2225775271654129, 0.09009768813848495, 0.2506445348262787, -0.8425135612487793, 0.5402141809463501, 0.31908875703811646, 0.6977553367614746, -0.10864122211933136, -0.03660230711102486, 0.7514472603797913, -0.2830358147621155, 0.9153707027435303, -0.10754769295454025, -1.0379201173782349, 0.40535128116607666, -0.5314363837242126, 0.07404456287622452, 0.6395609378814697, -0.051343560218811035, -0.5951515436172485, -0.39146560430526733, -0.41969889402389526, -0.7327595353126526, 0.7337988018989563, 0.1277228593826294, 0.04425549879670143, 0.493050217628479, 0.37468796968460083, 0.3585785925388336, 0.24868199229240417, -0.40187811851501465, 0.07441379129886627, -0.17069053649902344, -0.22958804666996002, -0.10633376985788345, -0.1359361708164215, -0.04578648507595062, -0.39676663279533386, 0.7393806576728821, -0.39149677753448486, 0.22672294080257416, -0.014817943796515465, -0.2753291130065918, 0.10126093029975891, 0.633355438709259, 0.6651211977005005, 0.4742492139339447, -0.17028582096099854, 0.11637388914823532, 0.5819633603096008, -0.2664370536804199, 0.05601051077246666, 0.16865192353725433, -0.2336885780096054, -0.04666624963283539, 0.21368715167045593, 0.9949647188186646, 0.2966660261154175, -0.5785534381866455, 0.2498590350151062, 0.1894434541463852, -0.24364203214645386, -0.09814570844173431, 0.1486513912677765, 0.03953317925333977, 0.21950581669807434, 0.20684024691581726, 0.11470623314380646, 0.2031358927488327, -0.6431503891944885, 0.18641330301761627, 0.22579750418663025, -0.413897305727005, -0.3772374391555786, 0.06833001226186752, 0.21480099856853485, -0.08438054472208023, 0.3333134353160858, -0.055997204035520554, -0.5373426079750061, 0.5196338295936584, 0.7307149171829224, 0.712746262550354, -0.2654860317707062, 0.18142342567443848, 0.1572302132844925, 0.4196966886520386, 0.32716652750968933, 0.4881567060947418, 0.04683934152126312, -0.724498450756073, -0.32855504751205444, -0.5330125689506531, -0.6521040201187134, 0.28029656410217285, -0.6245869398117065, 0.3633211851119995, -0.20548178255558014, 0.10565527528524399, -0.08324246108531952, 0.13348470628261566, -0.5583535432815552, 0.007308202795684338, 0.017460137605667114, 1.0952720642089844, -1.1172447204589844, 0.9523757100105286, 0.5458407402038574, 0.0035517739597707987, -0.14998330175876617, 0.08952309191226959, 0.1725146770477295, -0.8788421750068665, 0.26286008954048157, -0.3660835325717926, -0.17313407361507416, -0.24334238469600677, -0.3699933886528015, -0.9025332927703857, 0.9135993719100952, 0.5232075452804565, -0.5620050430297852, 0.150949165225029, 0.481270968914032, 0.6294348835945129, -0.7741659879684448, -0.021476199850440025, 0.9004838466644287, 0.6905916929244995, 0.16556715965270996, -0.9817236661911011, -0.07335241883993149, -0.044806551188230515, 0.13026045262813568, -0.06993220001459122, -0.5006026029586792, 0.5918364524841309, -0.04535157233476639, 0.18213005363941193, 0.23867274820804596, 0.6631008386611938, 0.3387736678123474, 0.2926119267940521, 0.6163936257362366, 0.3367753028869629, 0.8368023037910461, -0.175925612449646, 0.6795739531517029, -0.2554064989089966, 0.022601759061217308, 1.2890006303787231, -0.2881753444671631, 0.6040729880332947, 0.6416987776756287, -0.3712577521800995, 0.40836861729621887, 0.6419355869293213, -0.12647202610969543, 0.6061851382255554, 0.1838531792163849, -0.47604721784591675, -0.3388698399066925, -0.3055625259876251, -0.13382646441459656, 0.684319257736206, 0.6622061729431152, -0.27392107248306274, -0.07418598234653473, 0.017154932022094727, -0.055362846702337265, 0.017375506460666656, -0.292556494474411, 0.7790126204490662, -0.22348535060882568, -0.5410187840461731, 0.524803638458252, -0.15501485764980316, 0.6141804456710815, -0.4788709878921509, 0.10471831262111664, -0.2365187704563141, 0.004585121292620897, -0.12522591650485992, -0.7201048731803894, 0.5083818435668945, 0.15953218936920166, -0.09335610270500183, 0.11990339308977127, 0.9972706437110901, -0.7041634321212769, -0.697957456111908, 0.14425891637802124, 0.4803650677204132, 0.30589404702186584, 0.17811232805252075, -0.6418272852897644, 0.29743558168411255, 0.1008346825838089, 0.3133283257484436, 0.42796385288238525, 0.36631515622138977, -0.031773969531059265, 0.5448039174079895, 0.5702949166297913, 0.5777403116226196, 0.1957133710384369, 0.29367199540138245, 0.9560574889183044, -0.38749265670776367, -0.17105630040168762, -0.514269232749939, 0.22490818798542023, -0.2414059191942215, 0.007948585785925388, 0.9180888533592224, 0.810066282749176, 0.6845898628234863, -0.1300334930419922, 1.0646283626556396, -0.06007658317685127, 0.43435975909233093, -0.6650009155273438, 0.1559869945049286, -0.4286227822303772, 0.37868624925613403, -0.1433536559343338, -0.6954658627510071, -0.22603093087673187, 0.2680909037590027, -0.4784792959690094, -0.14216947555541992, 0.29461783170700073, 1.0075838565826416, -0.08939221501350403, 0.24661755561828613, 0.4689284563064575, 0.1417633444070816, 0.11014081537723541, 0.5070674419403076, 0.7834745049476624, -0.08795890212059021, 0.4214257597923279, -0.37329596281051636, -0.3058052659034729, -0.20296263694763184, -0.873087465763092, -0.6898256540298462, -0.5900263786315918, 0.07870117574930191, -0.1561891734600067, 0.6546602845191956, 0.9733349084854126, 0.7009506225585938, -0.9745888113975525, -0.46517595648765564, -0.21211418509483337, 0.0433216467499733, -0.2300998866558075, -0.24518945813179016, -0.006454457063227892, -0.512068510055542, -0.8369715213775635, 0.8347836136817932, 0.3944118916988373, -0.009119893424212933, -0.177167609333992, -0.16050489246845245, -0.07913220673799515, 0.33512672781944275, 0.465541809797287, -0.06358940899372101, -0.8256767988204956, -0.5009191036224365, 0.16751855611801147, 0.2563367784023285, 0.20230551064014435, 0.8894590735435486, -0.5625576972961426, 0.7086094617843628, 0.5005210638046265, 0.37450119853019714, 0.5776206851005554, 0.09561657160520554, 0.8035426735877991, -0.6384941935539246, 0.11669915914535522, 0.3199172914028168, 0.40779682993888855, 0.5625571012496948, -0.32678884267807007, 0.7203654050827026, 0.3982880413532257, -0.5013620853424072, -0.8334584832191467, 0.22792015969753265, -1.0215860605239868, -0.08158407360315323, 1.3270764350891113, -0.10892108082771301, -0.1895207315683365, -0.6542513966560364, -0.13776296377182007, 0.038708508014678955, -0.48030704259872437, 0.6424819231033325, 0.9006053805351257, -0.3986208736896515, -0.31021547317504883, -0.6608864665031433, 0.37582600116729736, 0.24496258795261383, -0.9895180463790894, 0.6286966800689697, 0.6512587070465088, 0.3158017694950104, -0.2126777470111847, 0.39896175265312195, -0.15845908224582672, 0.33765673637390137, 0.02917441911995411, -0.08992215245962143, -0.24911387264728546, -0.3944023549556732, -0.7879458665847778, -0.3552262485027313, -0.040269941091537476, 0.008456224575638771 ]
http://arxiv.org/abs/2404.08080v1
http://arxiv.org/pdf/2404.08080v1
Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Models
2024-04-11T18:35:49
2024-04-11T18:35:49
Tanmay Gautam, Youngsuk Park, Hao Zhou, Parameswaran Raman, Wooseok Ha
cs.LG
cs.LG, cs.AI, cs.CL, math.OC
Fine-tuning language models (LMs) has demonstrated success in a wide array of downstream tasks. However, as LMs are scaled up, the memory requirements for backpropagation become prohibitively high. Zeroth-order (ZO) optimization methods can leverage memory-efficient forward passes to estimate gradients. More recently, MeZO, an adaptation of ZO-SGD, has been shown to consistently outperform zero-shot and in-context learning when combined with suitable task prompts. In this work, we couple ZO methods with variance reduction techniques to enhance stability and convergence for inference-based LM fine-tuning. We introduce Memory-Efficient Zeroth-Order Stochastic Variance-Reduced Gradient (MeZO-SVRG) and demonstrate its efficacy across multiple LM fine-tuning tasks, eliminating the reliance on task-specific prompts. Evaluated across a range of both masked and autoregressive LMs on benchmark GLUE tasks, MeZO-SVRG outperforms MeZO with up to 20% increase in test accuracies in both full- and partial-parameter fine-tuning settings. MeZO-SVRG benefits from reduced computation time as it often surpasses MeZO's peak test accuracy with a $2\times$ reduction in GPU-hours. MeZO-SVRG significantly reduces the required memory footprint compared to first-order SGD, i.e. by $2\times$ for autoregressive models. Our experiments highlight that MeZO-SVRG's memory savings progressively improve compared to SGD with larger batch sizes.
[ -0.5236194729804993, -0.7757993936538696, 0.07105903327465057, 0.1024676039814949, -0.14408805966377258, -0.13415805995464325, -0.5387139320373535, -0.08950148522853851, -0.23249664902687073, 0.4308212101459503, -0.7848914265632629, -0.593829870223999, -0.2052968293428421, -0.3179357349872589, 0.1475602239370346, 0.8284963965415955, 0.03210999071598053, 0.15403777360916138, -0.017905939370393753, -0.0887562707066536, -0.2749226987361908, -0.16106978058815002, -0.6692308783531189, -0.2773253619670868, 0.718569815158844, 0.7979035377502441, 0.4797813594341278, 0.7464337348937988, 0.11663473397493362, 0.17467069625854492, 0.0007017352618277073, 0.19436584413051605, -0.6991021633148193, 0.15207839012145996, -0.21143998205661774, -0.4816954731941223, -0.5017277598381042, -0.02023678459227085, 0.2684547007083893, 0.6906397938728333, -0.5169359445571899, 0.2888263761997223, -0.13347166776657104, 0.7216652631759644, -1.1979620456695557, -0.02797589637339115, -0.41078436374664307, 0.13567690551280975, -0.1777002066373825, -0.23091310262680054, -0.36673128604888916, -0.239373579621315, -0.1550518274307251, -0.35021212697029114, 0.5351647734642029, -0.1245684027671814, 0.7866950631141663, 0.4745745062828064, 0.32157275080680847, 0.11813812702894211, -0.880508303642273, 0.9214834570884705, -1.1570342779159546, 0.5434614419937134, 0.35901108384132385, 0.29691264033317566, -0.31809285283088684, -0.30227863788604736, -0.4725680351257324, -0.056582432240247726, 0.5902247428894043, 0.1916717141866684, -0.07760246843099594, 0.5041924118995667, 0.1933218389749527, 0.60787034034729, -0.5279709100723267, 0.5181664824485779, -0.3644162118434906, -0.1211303174495697, 0.5422089099884033, 0.28357359766960144, -0.03221122547984123, 0.28565847873687744, -0.07211845368146896, -0.38708391785621643, -0.7067968845367432, 0.1956273317337036, 0.2511785328388214, 0.5746961236000061, 0.28391167521476746, 0.28913214802742004, -0.4891437590122223, 0.8265115022659302, 0.3644437789916992, -0.18534402549266815, 0.1750471293926239, -0.26785609126091003, -0.5660934448242188, -0.2868143916130066, 0.7359870672225952, 0.31653672456741333, 0.2164471596479416, -0.13815006613731384, -0.12400607019662857, -0.15210498869419098, 0.32206991314888, -1.0868034362792969, -0.13573147356510162, 0.045826639980077744, -0.32362428307533264, -0.04820319637656212, -0.3372526466846466, -0.8274532556533813, -0.012038318440318108, -0.16558268666267395, 0.4419419765472412, -0.39838722348213196, 0.08668433129787445, 0.3645710051059723, 0.18114115297794342, 0.1545451432466507, 0.7041574120521545, -1.1502459049224854, 0.4291045069694519, 0.519993007183075, 0.7395596504211426, 0.08819103240966797, -0.40851396322250366, -0.7898794412612915, -0.13744133710861206, -0.816386878490448, 0.3221474587917328, -0.43810027837753296, -0.1787383109331131, -0.06496579200029373, -0.24146954715251923, -0.14235422015190125, -0.6396134495735168, 0.476470023393631, -0.3401278257369995, 0.06514360755681992, -0.23880396783351898, -0.48927411437034607, -0.24847689270973206, 0.0005282407510094345, -0.23628467321395874, 1.272743821144104, 0.22480449080467224, -0.09547071158885956, 0.1814422309398651, -0.13932852447032928, -0.3280741572380066, -0.48213252425193787, -0.07211557775735855, -0.45061546564102173, 0.39826956391334534, -0.048544615507125854, 0.7890510559082031, -0.45280030369758606, -0.12504041194915771, -0.5922297239303589, -0.49902576208114624, -0.46240317821502686, -0.38637399673461914, 0.37524157762527466, 0.3277833163738251, -0.46420738101005554, 0.042524002492427826, -1.0015424489974976, 0.05680565908551216, -0.2321314513683319, -0.20198014378547668, -0.45561498403549194, 0.0603979155421257, -0.2720225751399994, 0.3929067850112915, 0.016004446893930435, -0.5222463011741638, 0.14544138312339783, -0.5672553777694702, 0.2479037642478943, 0.593502938747406, -0.09441123157739639, 0.6587045788764954, -0.09021417051553726, 0.35521191358566284, -0.06090746819972992, 0.2282099723815918, -0.17704999446868896, -0.2988828718662262, -0.9909040927886963, -0.29616668820381165, 0.20062968134880066, 0.5942322015762329, -0.5541030168533325, 0.2793405055999756, -0.17922905087471008, -0.6315943598747253, -0.5222282409667969, 0.29801300168037415, 0.6432822942733765, 0.5312811136245728, 0.6257577538490295, -0.12212587147951126, 0.10282567888498306, -0.8774929642677307, -0.09193935990333557, 0.08444840461015701, -0.2775323688983917, 0.5721467137336731, 0.14917603135108948, -0.06166214123368263, 0.5757617354393005, -0.5930301547050476, -0.10557190328836441, 0.1390923708677292, 0.46787765622138977, 0.2832782566547394, 0.634080171585083, 0.7314078211784363, -0.22864389419555664, -0.5228100419044495, 0.204875186085701, 0.020969176664948463, -0.23060233891010284, -0.17834340035915375, 0.03840670362114906, 0.3350231349468231, 0.5479449033737183, -0.5092869997024536, 0.40121957659721375, 0.3638383150100708, -0.20511965453624725, 0.5052313208580017, -0.6454436779022217, 0.09545546770095825, -0.8501505851745605, -0.25480756163597107, -0.08146630972623825, -0.17533254623413086, -0.8784131407737732, -0.0754617229104042, 0.21814139187335968, 0.09169983118772507, -0.14195920526981354, 0.5783795118331909, -0.5524646639823914, -0.0455741249024868, -0.18700912594795227, -0.14091446995735168, -0.06172709912061691, 0.7535998225212097, -0.44319576025009155, 0.8527448773384094, 0.4245184659957886, -0.8402204513549805, -0.023398669436573982, -0.18316656351089478, -0.21234790980815887, 0.26273608207702637, -0.4257034659385681, 0.10377257317304611, -0.02318364754319191, -0.397880494594574, -1.0088133811950684, 0.22956326603889465, 0.3253183364868164, -0.42059606313705444, 0.8400177359580994, -0.009856837801635265, -0.42004385590553284, -0.26415541768074036, -0.48281094431877136, 0.17070181667804718, 0.4935777187347412, -0.5080723762512207, 0.3831295967102051, -0.03329799696803093, -0.2861717641353607, -0.774625301361084, -0.6417267322540283, -0.19000983238220215, -0.01249944232404232, -0.2709709703922272, 0.40536320209503174, -0.21325081586837769, -0.13974864780902863, -0.3823089599609375, -0.41193172335624695, -0.18284089863300323, 0.2739381194114685, -0.12610246241092682, 0.061555031687021255, -0.4466269612312317, 0.157244473695755, 0.42926108837127686, -0.09949193149805069, -0.4841878116130829, -0.20839174091815948, 0.5279532074928284, -0.15415331721305847, -0.21773496270179749, -0.18649087846279144, 0.2571066915988922, 0.7160395383834839, -0.03479083254933357, 0.7984235882759094, 0.781902551651001, -0.17468807101249695, -0.6561352610588074, -0.6726327538490295, -0.13784284889698029, -0.47627025842666626, 0.3570631444454193, -0.33096635341644287, -1.2300262451171875, 0.7068393230438232, -0.06215225160121918, 0.15293878316879272, 0.2691406309604645, 0.7868784070014954, -0.025212645530700684, 0.6750232577323914, 0.4607107639312744, -0.2934311628341675, 0.7829898595809937, -0.1066833883523941, 0.3535211980342865, -0.5647383332252502, 0.2279510498046875, -0.5534893870353699, -0.20933745801448822, -0.3967680037021637, -0.9273605346679688, -0.14517129957675934, 0.4624536633491516, -0.25852248072624207, 0.1883719265460968, -0.20952481031417847, 0.5056526064872742, 0.4715166687965393, 0.06475544720888138, 0.0033035443630069494, -0.06594053655862808, -0.042329341173172, -0.14299583435058594, -0.7435508370399475, 0.007236226461827755, 0.8039522767066956, 0.1549147516489029, 0.8414880037307739, -0.21520274877548218, 0.5164424777030945, 0.20483838021755219, 0.022744784131646156, -0.6331005096435547, 0.33761921525001526, -0.44406625628471375, -0.2124677300453186, -0.6560724973678589, -0.4011887013912201, -0.5839348435401917, 0.5400703549385071, -0.07231713086366653, -0.7963765859603882, 0.4554116129875183, 0.22662687301635742, -0.7507529258728027, 0.21752823889255524, -0.5367605090141296, 0.5299732089042664, 0.0673079788684845, -0.7020620107650757, -0.628524899482727, -0.4930882453918457, 0.1058134138584137, 0.21617291867733002, 0.05033613368868828, -0.41270583868026733, -0.0353192538022995, 0.28137296438217163, -0.8030567765235901, 0.6840983033180237, -0.3047032058238983, -0.36193031072616577, 0.005963086616247892, 0.12726837396621704, 0.511343240737915, -0.21460524201393127, -0.2408808320760727, 0.20589715242385864, -0.20505459606647491, -0.38092467188835144, -0.803936779499054, 0.8057729601860046, -0.5574747323989868, -0.5501968264579773, 0.1875670999288559, -0.720814049243927, -0.2886139154434204, 0.2875634729862213, 0.13897767663002014, 0.4524804353713989, -0.18060609698295593, 0.0869520753622055, 0.8657150268554688, -0.2624739408493042, 0.6552040576934814, 0.504538357257843, 0.1799871325492859, -0.45058193802833557, 0.9379259943962097, 0.477803111076355, 0.4564257264137268, 0.4060543179512024, 0.05473639816045761, 0.1388484537601471, -0.8988628387451172, -0.61796635389328, 0.08335936069488525, -0.4107359051704407, -0.3046480715274811, -0.33520275354385376, 0.08922981470823288, -0.20828664302825928, -0.29963192343711853, -0.9566948413848877, -0.5729037523269653, -0.41210120916366577, -0.003092254512012005, 0.3450740873813629, 0.08875808864831924, -0.09328687191009521, 0.3458366394042969, -0.6754444241523743, 0.17008233070373535, 0.189000204205513, 0.5287652611732483, 0.0643828958272934, -0.3912917375564575, -0.5153377652168274, 0.15844082832336426, 0.08735492080450058, -0.5399672389030457, 0.3694659471511841, 0.4336658716201782, 0.5973601341247559, 0.7162508368492126, 0.19976529479026794, 1.2074146270751953, -0.7734366059303284, 0.5332717895507812, 0.047525547444820404, -0.990963876247406, 0.2804322838783264, -0.7011780142784119, -0.026826048269867897, 0.7235811948776245, 0.01458062045276165, -0.2467534840106964, -0.3056589663028717, -0.4297246038913727, -0.9154204726219177, 0.7408053874969482, 0.15474091470241547, 0.1424306333065033, 0.12529079616069794, 0.8336032032966614, 0.23680822551250458, 0.4004044830799103, -0.09075517952442169, -0.5577288866043091, 0.008613006211817265, -0.1323331743478775, -0.4792337119579315, -0.2787962257862091, 0.2283935695886612, -0.4407302439212799, 0.5578987002372742, -0.2835227847099304, 0.13679924607276917, 0.10334416478872299, -0.06577052921056747, -0.20529867708683014, 0.32545116543769836, 1.0377445220947266, 0.5049942135810852, -0.38082411885261536, -0.05699244514107704, 0.3905843198299408, -0.3619047701358795, -0.004955945536494255, 0.02594449557363987, -0.290063738822937, 0.17147384583950043, -0.14553797245025635, 1.0243325233459473, 0.5805834531784058, -0.5529257655143738, 0.3386368155479431, 0.02884189784526825, -0.27184224128723145, 0.26671040058135986, 0.4785567820072174, -0.08003982156515121, 0.5229412317276001, 0.2242320328950882, 0.1611729860305786, 0.23764385282993317, -0.1947147101163864, 0.11969604343175888, 0.5187137126922607, -0.338323712348938, -0.3308037221431732, 0.4468834102153778, -0.17822302877902985, -0.32276904582977295, 0.15035055577754974, -0.029952354729175568, -0.09093552082777023, 0.5046582221984863, 0.49363642930984497, 0.861408531665802, -0.6479673981666565, 0.10984029620885849, 0.4930664300918579, 0.14571674168109894, -0.46734195947647095, 0.2998962998390198, -0.5224342942237854, -0.737307608127594, -0.26580458879470825, -0.5600802898406982, -0.5665259957313538, 0.13990996778011322, -0.9809975028038025, -0.001044100266881287, -0.8528782725334167, 0.032366834580898285, -0.10703425109386444, 0.10087758302688599, -0.2466764599084854, 0.3135529160499573, 0.14877642691135406, 0.8284046649932861, -0.5914799571037292, 0.9701671600341797, 0.2952744960784912, -0.05054992809891701, -0.5475093722343445, 0.07670539617538452, -0.29568397998809814, -0.6233411431312561, 0.07405579835176468, -0.032067786902189255, -0.4360312521457672, 0.26301950216293335, -0.5316805243492126, -0.902101457118988, 1.0698988437652588, 0.5934197306632996, -0.7610832452774048, 0.20361079275608063, -0.2799791991710663, 0.7073748111724854, -0.3365049660205841, 0.15201503038406372, 0.500188410282135, 0.11423646658658981, 0.3089354336261749, -0.798831045627594, -0.06198493763804436, -0.2242935746908188, 0.3293852210044861, 0.3767239451408386, -0.8345931172370911, 1.2880147695541382, -0.37242069840431213, -0.13101617991924286, 0.0529324971139431, 0.675822913646698, 0.14447052776813507, 0.14450165629386902, 0.2010113000869751, 0.5683717131614685, 0.9955146312713623, 0.031198300421237946, 0.7090471982955933, -0.29807722568511963, 0.5668523907661438, 1.1682274341583252, -0.1455886960029602, 0.9966262578964233, 0.5631563663482666, -0.12574812769889832, 0.476156085729599, 0.8162270188331604, -0.03166293725371361, 0.7239953875541687, 0.2990283668041229, -0.0028728931210935116, -0.3150370419025421, 0.21766385436058044, -0.3163238763809204, 0.08086083084344864, 0.419971227645874, -0.0012893116800114512, -0.42104706168174744, -0.05379471927881241, 0.29216820001602173, -0.14148734509944916, -0.6538053154945374, 0.5337516665458679, 0.012476610951125622, -0.4287405014038086, 0.9800028800964355, 0.058155357837677, 0.6308653354644775, -0.3091016709804535, 0.03808215633034706, -0.41134700179100037, 0.6464999318122864, 0.0396869033575058, -0.1309995800256729, 0.20357683300971985, -0.2721763253211975, -0.38152140378952026, -0.1908671110868454, 0.6019271016120911, -0.6897923946380615, -0.31416794657707214, 0.5249192714691162, 0.43781235814094543, -0.15193043649196625, 0.09657797962427139, -0.5623535513877869, -0.3725740313529968, -0.15034587681293488, -0.5252004861831665, 0.5338762998580933, 0.41042256355285645, -0.044825129210948944, 0.7521795630455017, 0.677492082118988, 0.19890645146369934, 0.25415825843811035, 0.17945843935012817, 0.7773492932319641, -0.6152245998382568, -0.4711611568927765, -0.9919087290763855, 0.1970217227935791, 0.21369221806526184, -0.10085941851139069, 0.8636388182640076, 0.3226095736026764, 0.8983607888221741, -0.22309266030788422, 0.5226711630821228, 0.18978092074394226, 0.39806821942329407, -0.595553994178772, 0.7158097624778748, -0.8461337089538574, 0.05337939411401749, -0.3481115400791168, -0.6111095547676086, -0.4927322566509247, 0.8692188262939453, -0.20053443312644958, 0.05296184867620468, 0.25237712264060974, 0.7954868674278259, -0.012480461038649082, -0.28121885657310486, 0.5771828889846802, 0.33796030282974243, 0.014984416775405407, 0.48909589648246765, 0.4554600715637207, -0.5524285435676575, 0.05948926508426666, -0.3807377517223358, -0.22943295538425446, -0.3698231875896454, -0.6151361465454102, -1.0748931169509888, -0.2736015319824219, -0.1293024718761444, -0.21483570337295532, 0.22460055351257324, 0.8911675214767456, 0.6332572102546692, -1.1072142124176025, -0.3067994713783264, -0.25681883096694946, 0.08398070931434631, -0.23642697930335999, -0.13519759476184845, 0.163986936211586, -0.6842719912528992, -0.7706243395805359, 0.3960231840610504, 0.8147788643836975, -0.144773930311203, -0.07909609377384186, -0.2439335584640503, -0.10414797067642212, 0.2751053273677826, 0.42122331261634827, 0.4521578550338745, -0.6558867692947388, -0.22168639302253723, 0.18671917915344238, -0.11787434667348862, 0.32756468653678894, 0.5726534724235535, -0.4086158573627472, 0.4535130262374878, 0.7005274295806885, 0.5150644183158875, 0.7020915150642395, 0.08396408706903458, 0.8136125206947327, -0.5142678618431091, 0.2542382478713989, 0.14358077943325043, 0.13386064767837524, -0.06545359641313553, -0.31720662117004395, 0.4345061182975769, 0.0974944680929184, -0.32663729786872864, -0.7803807258605957, -0.011340580880641937, -0.7548863291740417, -0.3353644013404846, 0.9484755396842957, -0.2529563307762146, -0.2887280285358429, -0.05125600844621658, 0.06555219739675522, 0.29945290088653564, -0.4179786443710327, 0.7948170304298401, 0.6424604654312134, -0.16731272637844086, -0.43135660886764526, -0.6184989213943481, 0.737452507019043, 0.6730408072471619, -0.5417929887771606, 0.4035488963127136, 0.5807839035987854, 0.30405402183532715, 0.10945654660463333, 0.6925958395004272, 0.152908593416214, 0.39688748121261597, -0.1479419767856598, 0.2378004491329193, -0.16108721494674683, -0.4606483280658722, -0.4925732910633087, 0.002492181956768036, -0.14220581948757172, -0.25532010197639465 ]
http://arxiv.org/abs/2404.08078v1
http://arxiv.org/pdf/2404.08078v1
SQBC: Active Learning using LLM-Generated Synthetic Data for Stance Detection in Online Political Discussions
2024-04-11T18:34:11
2024-04-11T18:34:11
Stefan Sylvius Wagner, Maike Behrendt, Marc Ziegele, Stefan Harmeling
cs.CL
cs.CL, cs.AI, cs.LG
Stance detection is an important task for many applications that analyse or support online political discussions. Common approaches include fine-tuning transformer based models. However, these models require a large amount of labelled data, which might not be available. In this work, we present two different ways to leverage LLM-generated synthetic data to train and improve stance detection agents for online political discussions: first, we show that augmenting a small fine-tuning dataset with synthetic data can improve the performance of the stance detection model. Second, we propose a new active learning method called SQBC based on the "Query-by-Comittee" approach. The key idea is to use LLM-generated synthetic data as an oracle to identify the most informative unlabelled samples, that are selected for manual labelling. Comprehensive experiments show that both ideas can improve the stance detection performance. Curiously, we observed that fine-tuning on actively selected samples can exceed the performance of using the full dataset.
[ -0.5668492317199707, -1.0651884078979492, 0.45491328835487366, -0.1399783194065094, -0.5335479378700256, 0.17271818220615387, -0.3747453987598419, -0.35036736726760864, 0.6573562026023865, 0.4326389729976654, -0.44898760318756104, -0.6242788434028625, -0.3900889754295349, -0.04346662387251854, -0.24090531468391418, 0.843599259853363, 0.20251180231571198, 0.2402995228767395, -0.04630076512694359, -0.35811036825180054, -0.12645064294338226, -0.3814639747142792, -0.6362875699996948, -0.1332653909921646, 0.5826810598373413, 0.4585062265396118, 0.7394970059394836, 0.7538211345672607, 0.09323972463607788, 0.33117425441741943, -0.15497815608978271, 0.5474798679351807, -0.6098764538764954, 0.33122971653938293, -0.07566794008016586, -0.765386164188385, -0.4076403081417084, 0.20393988490104675, 0.7266167402267456, 0.3228483498096466, -0.050997696816921234, -0.17073817551136017, -0.2687683403491974, 0.5535348057746887, -0.6076410412788391, 0.10282596200704575, -0.9222464561462402, 0.16564396023750305, -0.1683788150548935, -0.12579044699668884, -0.49667057394981384, -0.43536415696144104, -0.4539317786693573, -0.6404229998588562, 0.3864592909812927, 0.11553236842155457, 0.5995901226997375, 0.057891596108675, -0.5777308940887451, -0.3149116337299347, -0.6800134181976318, 0.5587289929389954, -0.7183218598365784, 0.36173856258392334, 0.20114295184612274, 0.29617631435394287, -0.2172957807779312, -0.8216527104377747, -0.9339799880981445, -0.08913136273622513, -0.023183608427643776, 0.2649177312850952, -0.30640098452568054, 0.16554614901542664, 0.1878707855939865, 0.2972170412540436, -0.33954840898513794, 0.11082004755735397, -0.2110738605260849, -0.2886539399623871, 0.7756420373916626, 0.02744891680777073, -0.14020812511444092, -0.4698006212711334, -0.4958931803703308, -0.16388843953609467, -0.7017430067062378, -0.0009502795292064548, 0.7261953353881836, 0.5647771954536438, 0.26452645659446716, 0.7069350481033325, -0.3001134991645813, 0.5910900831222534, 0.6081551313400269, 0.30310288071632385, -0.07908719033002853, -0.1788666695356369, -0.1476794183254242, 0.03775814548134804, 0.8604761958122253, 0.022616606205701828, -0.16186542809009552, 0.18851575255393982, -0.3340187966823578, 0.07456074655056, 0.3195476830005646, -0.706941545009613, -0.38140571117401123, 0.22542360424995422, -0.4060649275779724, -0.43137726187705994, 0.4567774534225464, -0.5968597531318665, -0.7892282605171204, -0.711706817150116, 0.2674698829650879, -0.1618584245443344, -0.24722282588481903, -0.22339874505996704, 0.05646681413054466, 0.3801323473453522, 0.5317288041114807, -0.44059163331985474, 0.07689797878265381, 0.8248615860939026, 0.6293419599533081, -0.5586860775947571, 0.31650033593177795, -0.701995849609375, -0.012896503321826458, -0.4953977167606354, 1.0339423418045044, -0.6590608358383179, -0.24084828794002533, 0.09808044880628586, 0.14431807398796082, 0.286532461643219, -0.8736932873725891, 0.4096764326095581, -0.5997389554977417, 0.1515999734401703, -0.26683205366134644, -0.7418666481971741, 0.061853840947151184, 0.5658400654792786, -0.9776711463928223, 1.1668020486831665, -0.2680648863315582, -0.5991309881210327, 0.5941594839096069, -0.5194317102432251, -0.36499151587486267, -0.014570298604667187, -0.3061301112174988, -0.7040770649909973, -0.04705717787146568, 0.20784494280815125, 0.5443823337554932, 0.2916209101676941, 0.3110237717628479, -0.43695545196533203, -0.18322749435901642, 0.5605371594429016, -0.2905433475971222, 0.7532048225402832, 0.11169444024562836, -0.4280344545841217, 0.6393299698829651, -0.7927218675613403, -0.14040477573871613, -0.15789708495140076, -0.42783328890800476, -0.256669819355011, 0.17218241095542908, -0.23038733005523682, 0.14659278094768524, 0.029891284182667732, -0.4100772440433502, 0.3858092129230499, -0.4330444931983948, 0.01663188822567463, 0.8426021337509155, 0.2106628268957138, 0.5587520003318787, -0.15198317170143127, 0.4641910195350647, 0.007463823538273573, 0.030445529147982597, 0.1639133244752884, -0.35299432277679443, -1.0190538167953491, -0.36918210983276367, 0.35228338837623596, 0.3819316029548645, -0.6695966124534607, 0.3803441822528839, 0.05511820688843727, -0.42498111724853516, -0.5485827922821045, 0.13238535821437836, 0.002795882523059845, -0.07039859890937805, 0.3803464472293854, -0.11733342707157135, -0.6301371455192566, -0.6939764618873596, -0.5530925989151001, -0.4100286364555359, 0.03907331824302673, 0.3889625370502472, 0.23887552320957184, -0.037146057933568954, 0.9943757057189941, -0.409008264541626, -0.09193948656320572, -0.33972299098968506, 0.4439472556114197, -0.15547682344913483, 0.04409037530422211, 0.22490368783473969, -0.9015132188796997, -0.537056028842926, -0.1009940430521965, -0.35966622829437256, -0.043243881314992905, -0.47802984714508057, -0.2760213315486908, 0.2567656338214874, 0.5016700029373169, -0.8503379225730896, 0.41606101393699646, 0.15846748650074005, -0.24968649446964264, 0.2549920678138733, 0.20555540919303894, 0.08943478018045425, -1.1037880182266235, -0.23059335350990295, 0.09199985861778259, -0.6850194334983826, -0.7037609815597534, 0.0002837965148501098, 0.13505540788173676, -0.12071844935417175, -0.7535473704338074, 0.48788824677467346, -0.41645142436027527, 0.12344460189342499, -0.5975151658058167, 0.25242164731025696, -0.2390347421169281, 0.3458540737628937, 0.2880292236804962, 0.43614619970321655, 0.3007899820804596, -0.5247966051101685, 0.5462560653686523, 0.16710633039474487, -0.10964731872081757, 0.3662656247615814, -0.2837384343147278, 0.39070531725883484, -0.05936170741915703, 0.5360469222068787, -1.2888625860214233, -0.3266984820365906, 0.46693241596221924, -0.4276748299598694, 0.4578719139099121, -0.24945878982543945, -0.3903129994869232, -0.05427957698702812, -0.4851906895637512, 0.09033963829278946, 0.13787761330604553, -0.6459201574325562, 0.5958766937255859, 0.6907348036766052, 0.19446927309036255, -0.5142149925231934, -0.29791176319122314, -0.08207126706838608, -0.31431877613067627, -0.3163234293460846, 0.36492085456848145, 0.3597790598869324, -0.39184871315956116, -0.21361789107322693, -0.3058071434497833, 0.13388308882713318, -0.3179726004600525, 0.36973315477371216, 0.012914334423840046, -0.14841493964195251, 0.21878863871097565, 0.035777945071458817, -0.04758886992931366, 0.18585889041423798, -0.1347907930612564, 0.325883686542511, -0.0009615625604055822, -0.46011918783187866, -0.5373569130897522, 0.1733749955892563, 0.4854019582271576, -0.0381915308535099, 0.7004192471504211, 0.8027368783950806, -0.2738845646381378, -0.6498698592185974, -0.4113978147506714, -0.5196830034255981, -0.5184382796287537, 0.1372431218624115, 0.25172460079193115, -0.7533694505691528, 0.2927071750164032, -0.45306217670440674, 0.13600310683250427, 0.25222596526145935, 0.8579760193824768, -0.40051040053367615, 1.0013021230697632, 0.4557947814464569, 0.00213858881033957, 0.6128413677215576, -0.3347669243812561, 0.21924400329589844, -0.13528813421726227, -0.26689594984054565, -0.38249513506889343, -0.6323416233062744, -0.6403009295463562, -0.810938835144043, 0.2574732005596161, -0.20607642829418182, -0.03744319826364517, 0.1513989269733429, -0.45921772718429565, 0.37761956453323364, 0.24723897874355316, 0.2962145507335663, 0.15996123850345612, 0.0065836794674396515, 0.24887047708034515, -0.10200279951095581, -0.573241651058197, -0.41266247630119324, 0.8027122616767883, 0.12956245243549347, 0.7207595109939575, 0.036209139972925186, 0.432025283575058, 0.5329083204269409, 0.3601585030555725, -1.2633212804794312, 0.8967956900596619, 0.08974401652812958, -0.680934727191925, -0.2379486858844757, -0.47654345631599426, -1.060851812362671, 0.3648609220981598, -0.5094102621078491, 0.05949962139129639, 0.165582075715065, 0.299888014793396, -0.025396203622221947, 0.49697741866111755, -0.2026309072971344, 0.7549869418144226, -0.36680471897125244, -0.5052545070648193, -0.48233744502067566, -0.6415172815322876, 0.09605375677347183, 0.1056901291012764, 0.005055224988609552, -0.01968507096171379, -0.10595747828483582, 0.7667788863182068, -0.24334707856178284, 1.279437780380249, -0.6162194013595581, -0.041835568845272064, 0.5677889585494995, -0.10970771312713623, 0.8407281637191772, 0.31679144501686096, -0.14219501614570618, -0.17883896827697754, -0.5449742674827576, -0.25453218817710876, -0.5592912435531616, 0.5208681225776672, -0.7792783379554749, -0.7604691982269287, -0.4145897626876831, -0.41278550028800964, -0.2480081468820572, 0.017644433304667473, -0.023894760757684708, 0.08203529566526413, -0.525122880935669, 0.5092978477478027, 0.7177945971488953, -0.01967882737517357, 0.16729186475276947, 0.5184758305549622, 0.025718338787555695, -0.31091007590293884, 0.67330002784729, 0.14370304346084595, 0.041925206780433655, 0.4143247604370117, 0.24946939945220947, -0.5962413549423218, -0.44812339544296265, -0.15068209171295166, 0.1778249442577362, -0.7438021302223206, -0.5333269238471985, -0.4803154766559601, -0.006170439999550581, -0.2398797869682312, -0.07535792887210846, -0.5504517555236816, -0.8670899271965027, -0.41360336542129517, -0.3847009539604187, 0.38341638445854187, 0.6073858141899109, -0.034082867205142975, 0.4862787127494812, -0.2760010063648224, 0.5395091772079468, 0.3374721109867096, 0.0746719017624855, -0.5395452380180359, -0.47438564896583557, -0.008950583636760712, 0.2502943277359009, -0.7455636262893677, -1.1743836402893066, 0.33889323472976685, 0.30543896555900574, 0.6426576375961304, 0.7198305130004883, 0.49261078238487244, 0.6246786117553711, -0.024663148447871208, 0.7223902940750122, -0.0855979397892952, -0.6447303891181946, 0.7335537075996399, -0.390453040599823, -0.13060642778873444, 0.3850509226322174, 0.6474130749702454, 0.004096295218914747, -0.6823143362998962, -0.6201688051223755, -0.9368169903755188, 0.7246829271316528, 0.22713269293308258, 0.32616060972213745, -0.07381598651409149, 0.3942243158817291, 0.2360563427209854, 0.14747200906276703, -0.8026784658432007, -0.23625068366527557, -0.3603988587856293, 0.059027038514614105, 0.4242081940174103, 0.13117991387844086, -0.286893367767334, -0.44300541281700134, 0.8117814064025879, -0.389499694108963, 0.1845608949661255, -0.10832243412733078, -0.14526478946208954, -0.27243635058403015, 0.17226125299930573, 0.2278471142053604, 0.39498618245124817, 0.07063733786344528, 0.17693577706813812, 0.40167176723480225, -0.24722644686698914, 0.07162871956825256, -0.17124143242835999, -0.13257430493831635, 0.279753714799881, 0.015323546715080738, 0.9766582250595093, -0.010921688750386238, -0.31300419569015503, 0.4782378375530243, 0.015924528241157532, -0.21319672465324402, -0.41303810477256775, 0.2500397861003876, 0.2083539217710495, 0.3211069405078888, 0.3046260476112366, 0.049692247062921524, -0.02597404643893242, -0.8667192459106445, 0.4828821122646332, 0.7919776439666748, -0.4553816020488739, -0.35455960035324097, 0.5633374452590942, 0.1666993349790573, -0.2229173481464386, 0.3894709646701813, -0.14712819457054138, -0.5249916911125183, 0.6184619665145874, 0.5174248814582825, 0.4061366617679596, -0.2618374824523926, 0.4226500391960144, 0.4358760416507721, -0.022061876952648163, 0.10364698618650436, 0.22774475812911987, -0.16455170512199402, -0.6784466505050659, -0.26707878708839417, -0.33461713790893555, -0.6271349787712097, 0.2896561622619629, -0.6930393576622009, 0.7189134359359741, -0.562086820602417, -0.44825804233551025, 0.04298881068825722, 0.4847429394721985, -0.23025870323181152, 0.147853821516037, 0.22244788706302643, 0.6225329041481018, -0.9572265148162842, 0.86693274974823, 0.944159984588623, 0.12871842086315155, -0.5788806080818176, 0.2007562518119812, 0.2127760499715805, -0.5253685116767883, 0.13222959637641907, 0.06578388065099716, -0.1041506975889206, -0.11211938410997391, -0.7652190327644348, -0.2763660252094269, 1.0039440393447876, 0.46203553676605225, -0.4087448716163635, 0.33038511872291565, 0.3353812098503113, 0.5340788960456848, -0.2816430330276489, 0.15904425084590912, 0.1953033208847046, 0.6868565678596497, 0.17731954157352448, -0.17064957320690155, 0.09375447034835815, -0.11238136142492294, -0.5316550135612488, 0.3674858510494232, -0.9132171273231506, 0.5907512307167053, 0.10717607289552689, -0.31995025277137756, -0.3678242564201355, 1.0671387910842896, 0.3781469464302063, 0.5183122754096985, 0.6829489469528198, 0.27268072962760925, 0.9280498623847961, -0.08552052825689316, 0.5691263675689697, -0.0932508036494255, 0.2716207802295685, 0.6408564448356628, -0.31282439827919006, 0.9070541262626648, 0.4355463981628418, -0.04342695325613022, 0.321365624666214, 0.737275242805481, -0.1418282687664032, 0.2759552299976349, 0.18972273170948029, -0.5111187696456909, -0.6609147787094116, 0.11045999079942703, 0.06299182772636414, 0.5305611491203308, 0.6542273163795471, -0.12417305260896683, -0.045482560992240906, -0.028057772666215897, -0.04038793966174126, 0.23152010142803192, -0.31302422285079956, 1.0475969314575195, 0.06569401174783707, -0.6643868088722229, 0.546465277671814, 0.02670201286673546, 0.5207479596138, -0.490205854177475, -0.12227178364992142, -0.37551140785217285, 0.1187952309846878, -0.3719317317008972, -0.8146782517433167, 0.381683886051178, -0.02352922037243843, 0.005818783771246672, -0.2881084382534027, 1.041197657585144, -0.5296257138252258, -0.30898547172546387, 0.014478509314358234, 0.5651241540908813, 0.0822685956954956, 0.022281436249613762, -0.8479596376419067, -0.02468961663544178, 0.06267185509204865, -0.580356776714325, 0.4473251402378082, 0.623081386089325, -0.3225836157798767, 0.4257977604866028, 0.9507916569709778, 0.14238688349723816, -0.01397115457803011, -0.12590770423412323, 1.2492334842681885, -0.5187183022499084, -0.40479740500450134, -0.6372675895690918, 0.43277567625045776, -0.31775352358818054, 0.02972439117729664, 0.7963798642158508, 0.7504457235336304, 0.7741534113883972, 0.08784681558609009, 0.825528621673584, -0.07674405723810196, 0.38657045364379883, -0.45571044087409973, 0.7585400342941284, -0.5073368549346924, 0.3525010943412781, 0.2528024911880493, -0.8825104236602783, -0.47789764404296875, 0.9201695322990417, -0.14083826541900635, -0.15924309194087982, 0.4064425528049469, 1.1536335945129395, -0.5892274379730225, 0.11727651208639145, 0.12400837987661362, 0.26824951171875, 0.30426448583602905, -0.0399615503847599, 1.0065497159957886, -0.1057514101266861, 0.6462789177894592, -0.23006361722946167, 0.0715184360742569, -0.3073127567768097, -0.7924726605415344, -1.1048372983932495, -0.4786470830440521, -0.5318440198898315, -0.44974184036254883, 0.005695999134331942, 1.0357438325881958, 0.8002484440803528, -1.0451023578643799, -0.1185411661863327, -0.03382908180356026, 0.05898723006248474, -0.09901273250579834, -0.20967034995555878, 0.4324864149093628, -0.20707498490810394, -0.7406539916992188, 0.6220272183418274, -0.1662008911371231, -0.17544294893741608, -0.15867196023464203, -0.12498500198125839, -0.2617972791194916, 0.4156495928764343, 0.5052593946456909, 0.41029655933380127, -0.741009533405304, -0.1925172209739685, 0.07720179855823517, -0.005755356978625059, 0.39633649587631226, 1.11787748336792, -0.9519250392913818, 0.47269219160079956, 0.6628797650337219, 0.546884298324585, 0.7943228483200073, 0.5521456003189087, 0.39229610562324524, -1.1446354389190674, 0.24154289066791534, 0.4652310013771057, 0.14758101105690002, 0.3564324378967285, -0.3671353757381439, 0.289865106344223, 0.3281169533729553, -0.4359768331050873, -0.77378249168396, 0.18843668699264526, -1.202402114868164, -0.4443795382976532, 1.4555145502090454, 0.016557440161705017, -0.11186612397432327, -0.29325443506240845, -0.4998544454574585, 0.7283936738967896, -0.5326683521270752, 0.8123851418495178, 0.2600202262401581, -0.32377734780311584, -0.05423719435930252, -0.3952190577983856, 0.5488993525505066, 0.3203955888748169, -0.7847562432289124, 0.22018985450267792, 0.692680299282074, 0.07075884938240051, -0.1356954723596573, 0.43537166714668274, 0.07072426378726959, 0.09960860013961792, -0.2228945642709732, -0.2637876868247986, -0.14377668499946594, -0.3707195222377777, -0.07198785990476608, 0.3270784318447113, -0.18767012655735016, -0.06389613449573517 ]
http://arxiv.org/abs/2404.08066v1
http://arxiv.org/pdf/2404.08066v1
MSciNLI: A Diverse Benchmark for Scientific Natural Language Inference
2024-04-11T18:12:12
2024-04-11T18:12:12
Mobashir Sadat, Cornelia Caragea
cs.CL
cs.CL
The task of scientific Natural Language Inference (NLI) involves predicting the semantic relation between two sentences extracted from research articles. This task was recently proposed along with a new dataset called SciNLI derived from papers published in the computational linguistics domain. In this paper, we aim to introduce diversity in the scientific NLI task and present MSciNLI, a dataset containing 132,320 sentence pairs extracted from five new scientific domains. The availability of multiple domains makes it possible to study domain shift for scientific NLI. We establish strong baselines on MSciNLI by fine-tuning Pre-trained Language Models (PLMs) and prompting Large Language Models (LLMs). The highest Macro F1 scores of PLM and LLM baselines are 77.21% and 51.77%, respectively, illustrating that MSciNLI is challenging for both types of models. Furthermore, we show that domain shift degrades the performance of scientific NLI models which demonstrates the diverse characteristics of different domains in our dataset. Finally, we use both scientific NLI datasets in an intermediate task transfer learning setting and show that they can improve the performance of downstream tasks in the scientific domain. We make our dataset and code available on Github.
[ -0.1878637671470642, -0.3729704022407532, 0.15780037641525269, 0.5145527720451355, 0.06131795793771744, 0.3038054406642914, -0.3837156891822815, -0.7795167565345764, -0.08307012915611267, 0.3754166066646576, -0.6340411901473999, -0.44678956270217896, -0.6354804039001465, 0.6955652832984924, -0.021623168140649796, 1.0460150241851807, 0.20811304450035095, 0.19488424062728882, -0.2746952772140503, -0.1511056274175644, -0.0752020925283432, 0.040217045694589615, -0.4037492871284485, -0.11659333854913712, 0.6087360978126526, 0.25602179765701294, 0.4039604961872101, 0.4108198881149292, 0.6856127381324768, 0.15910862386226654, -0.0812876895070076, 0.47444725036621094, -0.4773584306240082, 0.01459855679422617, -0.24297566711902618, -0.5861179828643799, -0.06712674349546432, -0.04728605970740318, 0.7934366464614868, 1.1858882904052734, 0.37090548872947693, 0.1829303652048111, 0.06425588577985764, 0.5839545726776123, -0.6529161334037781, 0.09017796814441681, -0.7318926453590393, -0.014748968183994293, -0.3360811769962311, -0.04016972333192825, -0.7478204369544983, -0.36377426981925964, 0.3197004199028015, -0.8242922425270081, 0.24787214398384094, 0.08157739043235779, 0.8071209788322449, 0.3338426351547241, -0.564680278301239, 0.010581915266811848, -0.48107779026031494, 1.2214914560317993, -0.9301888346672058, 0.37668198347091675, 0.17310118675231934, 0.2720179557800293, -0.22549289464950562, -0.6320306658744812, -0.44999322295188904, -0.4212554395198822, -0.00503027718514204, 0.08184973895549774, -0.14782603085041046, -0.2576877474784851, 0.13885293900966644, -0.06241348385810852, -0.7791739702224731, 0.1863502413034439, -0.5478686690330505, 0.1900825798511505, 0.7337269186973572, -0.006914173718541861, 0.16813978552818298, 0.053748875856399536, 0.020747927948832512, -0.10875828564167023, -0.8109560012817383, -0.14590351283550262, 0.20263193547725677, 0.5817367434501648, 0.09691593796014786, 0.5427830219268799, -0.08096165955066681, 0.8349819183349609, -0.1981261819601059, -0.04062596336007118, 0.48769137263298035, -0.6789279580116272, -0.2684982717037201, 0.20603647828102112, 0.7636290788650513, 0.4695042669773102, 0.32770031690597534, -0.2827345132827759, 0.3644517660140991, 0.1984173208475113, 0.16393795609474182, -0.6882835626602173, -0.15083065629005432, -0.08040887862443924, -0.30103346705436707, -0.1436251997947693, 0.17081257700920105, -0.5670554041862488, -0.15709879994392395, -0.38892537355422974, -0.12854164838790894, -0.5222020745277405, -0.12751109898090363, -0.08677822351455688, -0.039764221757650375, -0.09641347080469131, 0.09492699056863785, -0.558368980884552, 0.44508153200149536, 0.8166218996047974, 0.9436826109886169, -0.7255367040634155, -0.3448936939239502, -0.25920143723487854, 0.2948492467403412, -0.150977224111557, 0.5430768132209778, -0.6931626796722412, -0.37363672256469727, -0.25112077593803406, 0.061739254742860794, -0.7039901614189148, -0.5658954381942749, 0.6744365096092224, -0.38735997676849365, 0.18389587104320526, -0.23504434525966644, -0.6954138875007629, -0.07238107174634933, -0.13195843994617462, -0.7322196364402771, 1.0376980304718018, -0.1051255539059639, -1.165770411491394, 0.3880259096622467, -0.9497671723365784, -0.47575682401657104, 0.06919153034687042, 0.20359092950820923, -0.09865950047969818, 0.10855487734079361, -0.10973081737756729, 0.13400238752365112, -0.2527557611465454, 0.7386817336082458, -0.6027136445045471, -0.19717206060886383, 0.3335259258747101, -0.34506964683532715, 0.8875076174736023, 0.5429485440254211, -0.2186063528060913, -0.0757923349738121, -1.038731575012207, 0.0397285558283329, -0.39180171489715576, -0.005658218637108803, -0.6131703853607178, 0.030140487477183342, 0.3979156017303467, 0.19872044026851654, -0.04963993281126022, -0.8597192168235779, 0.1199142262339592, -0.5666012167930603, 0.481225848197937, 0.3322535455226898, 0.040083497762680054, 0.26347100734710693, -0.09230994433164597, 0.07932263612747192, 0.007585433311760426, 0.09932035952806473, 0.3909558355808258, -0.7923990488052368, -0.3311813473701477, -0.3632180690765381, 0.4129802882671356, 0.6363717317581177, -0.6030793786048889, 0.3965894281864166, -0.480269193649292, -0.4128293991088867, -0.9366680979728699, -0.04340371862053871, 0.15231794118881226, 0.5426070690155029, 0.38800913095474243, 0.17745794355869293, -0.6757437586784363, -1.1127893924713135, -0.5377232432365417, -0.011200938373804092, -0.18133153021335602, 0.20109178125858307, 0.7000581622123718, -0.23757411539554596, 1.1722065210342407, -0.23736611008644104, 0.2100885808467865, -0.02055232971906662, 0.5637292265892029, 0.5104573369026184, 0.5349619388580322, 0.5451009273529053, -0.9944359660148621, -0.5454117655754089, 0.25506824254989624, -0.7902939319610596, -0.2702348232269287, -0.15541303157806396, -0.23054349422454834, 0.03308683633804321, 0.25380048155784607, -0.5693334937095642, 0.23141656816005707, 0.5195520520210266, -0.3350985646247864, 0.5357240438461304, 0.1363031417131424, 0.3087751567363739, -1.0659840106964111, 0.40814802050590515, 0.3729766309261322, -0.011223608627915382, -1.012142539024353, 0.02855609729886055, -0.14216648042201996, 0.39730557799339294, -0.5681573748588562, 0.42060455679893494, -0.18100599944591522, 0.06032625213265419, -0.2826315760612488, -0.08140912652015686, -0.1284119039773941, 0.09433574974536896, 0.1396554708480835, 0.8893330097198486, 0.45145148038864136, -0.5928939580917358, -0.4018436074256897, 0.1977423131465912, -0.31176120042800903, 0.18977749347686768, -0.6839307546615601, -0.2272023856639862, 0.0769287496805191, 0.15491028130054474, -0.7047370076179504, 0.005815716926008463, -0.07285691052675247, -0.21700036525726318, 0.17227581143379211, 0.27473512291908264, -0.37349677085876465, -0.338306725025177, -0.1192251592874527, 0.457785040140152, 0.06746391952037811, -0.48979124426841736, 0.22674892842769623, 0.15933461487293243, -0.23381365835666656, -0.6073896884918213, -0.7392563819885254, 0.33536481857299805, -0.2250187247991562, -0.5056337118148804, 0.5482025742530823, -0.3985368311405182, -0.5589940547943115, 0.11472082138061523, -0.07801046967506409, -0.27658894658088684, 0.15067172050476074, 0.28456833958625793, 0.4248546063899994, -0.4471645951271057, -0.1405244618654251, 0.31263643503189087, 0.14147178828716278, 0.1769523322582245, -0.3990600109100342, -0.2099446803331375, -0.18438948690891266, -0.07521113753318787, -0.3614591956138611, 0.431186705827713, 0.5929269790649414, 0.06134554743766785, 0.6937005519866943, 0.42038679122924805, -0.3413999378681183, -0.03531627729535103, -0.3264321982860565, 0.009450657293200493, -0.37615880370140076, 0.33378297090530396, -0.42651426792144775, -1.1862766742706299, 0.13912540674209595, -0.24923622608184814, 0.3372117877006531, 0.6356069445610046, 0.2254672795534134, 0.07416339963674545, 0.9618421792984009, 0.6344437599182129, -0.23349754512310028, -0.06692495942115784, -0.12356727570295334, 0.26678258180618286, -0.6964353322982788, -0.07131408154964447, -0.7771621346473694, -0.12990671396255493, -0.642166793346405, -0.48332688212394714, 0.14646455645561218, 0.04316110536456108, -0.12464912235736847, 0.3361184597015381, -0.40489089488983154, 0.47380247712135315, 0.46763676404953003, -0.1741681843996048, 0.41848403215408325, 0.0015838340623304248, -0.058881763368844986, -0.40773147344589233, -0.7093419432640076, -0.6622908711433411, 0.8823280334472656, 0.12375793606042862, 0.323616087436676, -0.031989362090826035, 0.5044206380844116, 0.29909828305244446, 0.6549891233444214, -0.2829577922821045, 0.4209374785423279, -0.5091473460197449, -0.34347450733184814, -0.24178065359592438, -0.6759951710700989, -0.7533144354820251, 0.3903668224811554, -0.15004310011863708, -0.6595211625099182, 0.4200657308101654, -0.2916765511035919, -0.05267811194062233, 0.25212064385414124, -0.6534267067909241, 0.7637876868247986, -0.09911863505840302, -0.3392319977283478, -0.14213185012340546, -1.0313705205917358, 0.6963056921958923, -0.2129247635602951, 0.3508715033531189, -0.39990463852882385, 0.16405919194221497, 0.6534983515739441, -0.09963103383779526, 0.9752675890922546, -0.004305195529013872, 0.20395399630069733, 0.029408147558569908, -0.0639345794916153, 0.12745484709739685, 0.24210435152053833, -0.5238285660743713, 0.27494528889656067, 0.10535115748643875, -0.4133855402469635, -0.46918728947639465, 0.9395446181297302, -0.7760195732116699, -0.22106750309467316, -0.4448963403701782, -0.7810800075531006, -0.31103602051734924, 0.1416785567998886, 0.30096858739852905, -0.1499338001012802, -0.5250409245491028, 0.038254640996456146, 0.6624422073364258, 0.04440057650208473, 0.5648963451385498, 0.3967984616756439, 0.269715279340744, -0.25264614820480347, 0.8182995319366455, -0.24696163833141327, 0.17917442321777344, 0.4712109863758087, 0.01207226887345314, -0.20299096405506134, -0.6227515935897827, -0.14757946133613586, 0.3329141139984131, -0.4025741517543793, -0.14298520982265472, -0.8959078192710876, -0.2016238570213318, -0.5026810765266418, -0.17022930085659027, -0.19618406891822815, -0.5913928747177124, -0.5731926560401917, -0.12757644057273865, 0.41465529799461365, 0.7318865060806274, 0.17782153189182281, -0.11599838733673096, -0.7514362335205078, 0.06432412564754486, -0.09121661633253098, -0.07694876939058304, -0.28570178151130676, -0.5079368352890015, -0.07196106016635895, 0.13695330917835236, 0.16328421235084534, -0.5816059112548828, 0.6512458920478821, 0.9210039973258972, 0.6272789239883423, 0.40234071016311646, 0.10378635674715042, 0.7123319506645203, -0.7041177153587341, 0.7665222883224487, 0.28785794973373413, -0.7143233418464661, 0.4589165449142456, -0.10133806616067886, 0.48291757702827454, 1.0624403953552246, 0.7815091013908386, -0.3948494791984558, -0.8481162786483765, -0.310332715511322, -0.670088529586792, 0.28599756956100464, 0.20098525285720825, -0.2784518897533417, -0.17854611575603485, 0.24219907820224762, 0.615745484828949, 0.17463910579681396, -0.6191613078117371, -0.12528660893440247, -0.170366570353508, -0.42391037940979004, -0.2945198714733124, 0.19517771899700165, -0.13975675404071808, -0.5416725873947144, 0.7088063359260559, -0.5257631540298462, 0.001410412136465311, 0.21665100753307343, -0.40808677673339844, 0.0756445974111557, 0.17855684459209442, 0.8331413865089417, 0.857062816619873, -0.23701484501361847, 0.28925853967666626, 0.2623009979724884, -0.5957872271537781, -0.21752648055553436, 0.1914806365966797, -0.18191714584827423, 0.30148354172706604, 0.6049035787582397, 0.9342061281204224, 0.44312238693237305, -0.7498286366462708, 0.09586275368928909, 0.04334172606468201, -0.4232006072998047, 0.24119296669960022, -0.0992022231221199, -0.005926886573433876, 0.0024581633042544127, 0.5520443916320801, 0.43763622641563416, 0.4877721071243286, -0.1964305341243744, 0.5094805955886841, 0.13683301210403442, -0.2484036237001419, -0.5971755981445312, 0.7739128470420837, -0.0823209285736084, -0.014879572205245495, 0.44297125935554504, -0.11899525672197342, -0.1427963376045227, 0.5217309594154358, 0.7386610507965088, 0.7084518074989319, -0.20565488934516907, 0.5021626353263855, 0.4830828011035919, 0.19536830484867096, 0.01693505235016346, 0.08980786055326462, 0.1134248599410057, -0.5506640672683716, -0.8128811120986938, -0.6416701674461365, -0.4009452760219574, -0.17087338864803314, -0.7394666075706482, -0.07739699631929398, -0.08308152109384537, -0.019938664510846138, 0.548653781414032, 0.0362451896071434, -0.48028022050857544, -0.020818796008825302, 0.1166921928524971, 1.104824423789978, -1.1938776969909668, 1.1436679363250732, 0.5707454085350037, 0.11363688856363297, -0.14898943901062012, -0.24220478534698486, 0.041312143206596375, -0.2644619941711426, 1.1464189291000366, 0.22852014005184174, -0.22421042621135712, -0.15164387226104736, -0.7542722225189209, -0.888016939163208, 0.7651883363723755, 0.3099265396595001, -0.750124454498291, 0.1735507696866989, 0.3274269104003906, 0.8049638271331787, -0.7922825217247009, 0.32692405581474304, 0.7513940334320068, 0.642887532711029, 0.1416502743959427, -0.7480336427688599, 0.04265614226460457, -0.562917947769165, 0.11795098334550858, -0.11999170482158661, -0.2267378568649292, 0.6181827783584595, -0.12127711623907089, -0.11245710402727127, 0.12765367329120636, 0.935408890247345, 0.6775192618370056, 0.6537191867828369, 0.46955206990242004, 0.28816381096839905, 0.9327313899993896, 0.03464973345398903, 0.8420588374137878, -0.263337105512619, 0.0953155905008316, 1.0698682069778442, -0.8338733911514282, 1.0146845579147339, 0.7821756601333618, -0.0910920724272728, 0.5006957054138184, 0.740595281124115, -0.2995063066482544, 0.6063356399536133, 0.2264033854007721, -0.5074378252029419, -0.07003088295459747, -0.4297610819339752, -0.2857835590839386, 0.09035404026508331, 0.41450822353363037, -0.15711979568004608, -0.18521787226200104, 0.3787634074687958, -0.09090474247932434, 0.09494046866893768, 0.09544264525175095, 0.3634485900402069, 0.05331508815288544, -0.6911252737045288, 0.4803333580493927, -0.24241812527179718, 0.7466551661491394, -0.5269591212272644, -0.16528385877609253, -0.06419779360294342, -0.043839193880558014, -0.2568170726299286, -0.5200552344322205, 0.4002154767513275, 0.0012794830836355686, -0.41928523778915405, -0.0786135122179985, 0.515003502368927, -0.5659624934196472, -0.7653339505195618, 0.22876615822315216, 0.26349079608917236, 0.22941988706588745, 0.2776797115802765, -0.7684547901153564, -0.10183539986610413, 0.15025174617767334, -0.14859023690223694, 0.37714293599128723, 0.23873542249202728, -0.3795580565929413, 0.5510318875312805, 0.7416430115699768, 0.07256922125816345, 0.29978325963020325, 0.3351465165615082, 0.7558392882347107, -0.43893399834632874, -0.2459368258714676, -0.4930238723754883, 0.25587162375450134, -0.4109438955783844, -0.5682500600814819, 0.9584289789199829, 0.7927667498588562, 0.5202733874320984, -0.3716473877429962, 0.8140109181404114, 0.002062859944999218, 0.4376111924648285, -0.3940904140472412, 0.5197800397872925, -0.21470917761325836, 0.0292161013931036, -0.13712795078754425, -0.8003050684928894, -0.810305118560791, 0.305393785238266, -0.09279964119195938, -0.29487645626068115, 0.9253965616226196, 0.6925700902938843, -0.021461686119437218, 0.5224146246910095, 0.05157165974378586, 0.2674734890460968, 0.10936672985553741, 0.5301643013954163, 0.6424636840820312, -0.2551952302455902, 0.09256003797054291, -0.09407314658164978, -0.17201422154903412, 0.09932137280702591, -0.8815250396728516, -0.7381035685539246, -0.31354662775993347, -0.8256539702415466, 0.06086267903447151, 0.4431084990501404, 0.8152865767478943, 0.8632382154464722, -1.4096430540084839, -0.43758487701416016, -0.33106714487075806, -0.014495646581053734, -0.6403075456619263, -0.28187111020088196, 0.299495667219162, -0.3847220540046692, -0.7787480354309082, 1.1124614477157593, 0.2630080580711365, -0.29687103629112244, 0.09226786345243454, 0.023966824635863304, -0.8302428126335144, -0.07961024343967438, 0.5753540396690369, 0.4662102460861206, -0.7415180802345276, -0.06660134345293045, 0.268858402967453, -0.007305470295250416, 0.005213449709117413, 0.7934159636497498, -0.43789422512054443, 0.11859174817800522, 0.38343575596809387, 0.7995997667312622, 0.514347493648529, -0.27117031812667847, 0.6577587127685547, -0.8285965919494629, -0.025926226750016212, 0.281202495098114, 0.055403728038072586, 0.2260170727968216, -0.2686452865600586, 0.7700711488723755, 0.35541877150535583, -0.46936869621276855, -0.9904612302780151, -0.15263894200325012, -1.0550401210784912, -0.5397343039512634, 0.822496235370636, -0.12449566274881363, -0.5595014691352844, -0.3843396306037903, 0.21113507449626923, 0.06821259111166, -0.16482040286064148, 0.46944499015808105, 0.5811884999275208, -0.11298959702253342, -0.10914044082164764, -0.825630784034729, 0.5987486243247986, 0.5608054995536804, -0.8515617251396179, -0.13838890194892883, 0.21541255712509155, 0.19377422332763672, 0.3268798589706421, -0.022150667384266853, 0.06489672511816025, 0.07055450975894928, -0.18299835920333862, 0.18203012645244598, 0.15866447985172272, -0.42471346259117126, -0.27369222044944763, 0.23279869556427002, -0.23663702607154846, -0.00045400881208479404 ]
http://arxiv.org/abs/2404.07989v2
http://arxiv.org/pdf/2404.07989v2
Any2Point: Empowering Any-modality Large Models for Efficient 3D Understanding
2024-04-11T17:59:45
2024-05-31T01:36:53
Yiwen Tang, Ray Zhang, Jiaming Liu, Zoey Guo, Dong Wang, Zhigang Wang, Bin Zhao, Shanghang Zhang, Peng Gao, Hongsheng Li, Xuelong Li
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.SD, eess.AS
Large foundation models have recently emerged as a prominent focus of interest, attaining superior performance in widespread scenarios. Due to the scarcity of 3D data, many efforts have been made to adapt pre-trained transformers from vision to 3D domains. However, such 2D-to-3D approaches are still limited, due to the potential loss of spatial geometries and high computation cost. More importantly, their frameworks are mainly designed for 2D models, lacking a general any-to-3D paradigm. In this paper, we introduce Any2Point, a parameter-efficient method to empower any-modality large models (vision, language, audio) for 3D understanding. Given a frozen transformer from any source modality, we propose a 3D-to-any (1D or 2D) virtual projection strategy that correlates the input 3D points to the original 1D or 2D positions within the source modality. This mechanism enables us to assign each 3D token with a positional encoding paired with the pre-trained model, which avoids 3D geometry loss caused by the true projection and better motivates the transformer for 3D learning with 1D/2D positional priors. Then, within each transformer block, we insert an any-to-3D guided adapter module for parameter-efficient fine-tuning. The adapter incorporates prior spatial knowledge from the source modality to guide the local feature aggregation of 3D tokens, compelling the semantic adaption of any-modality transformers. We conduct extensive experiments to showcase the effectiveness and efficiency of our method. Code and models are released at https://github.com/Ivan-Tang-3D/Any2Point.
[ -0.2545391917228699, -0.5189244151115417, 0.8575851321220398, 0.049805041402578354, -0.2916218340396881, -0.7891597747802734, 0.05074132978916168, -0.4060530960559845, -0.05046982690691948, 0.6049992442131042, -0.19636821746826172, -0.5428755879402161, -0.37893974781036377, -0.1318158507347107, -0.3122446537017822, 0.3862933814525604, -0.05323232710361481, -0.0817912220954895, -0.0686650425195694, -0.1611584722995758, -0.2941776216030121, -0.22059403359889984, -0.707003653049469, -0.1417936533689499, 0.3633037805557251, 0.6589454412460327, 0.7359644770622253, 1.0391572713851929, 0.1300709992647171, 0.30891889333724976, 0.063911072909832, -0.08482025563716888, -0.7735757827758789, 0.005233238451182842, -0.4661512076854706, -0.64366215467453, -0.40241244435310364, -0.15949797630310059, 0.6806713938713074, 0.8885138034820557, -0.03386234492063522, 0.06997222453355789, -0.10421955585479736, 0.5438243746757507, -0.7200021743774414, -0.057411085814237595, -0.6088851094245911, 0.33550673723220825, 0.054078906774520874, -0.17301148176193237, -0.2274426817893982, -0.12401339411735535, 0.30507177114486694, -1.0586432218551636, 0.3882901966571808, -0.03500305488705635, 0.5581239461898804, 0.37304192781448364, -0.6523366570472717, 0.28495776653289795, -0.6618335247039795, 0.6253911852836609, -0.19091472029685974, 1.0019481182098389, 0.2101397067308426, 0.6684235334396362, 0.06944151967763901, -0.6965451240539551, -0.46615108847618103, 0.13718488812446594, -0.08045630156993866, 0.4389181137084961, -0.04191289469599724, -0.032228734344244, 0.18056778609752655, 0.03906062990427017, -0.6779332756996155, 0.17962060868740082, -0.23188640177249908, 0.04149027168750763, 0.3346917927265167, 0.003813220653682947, -0.20640626549720764, -0.5685809254646301, -0.6970731019973755, -0.47054898738861084, -0.4940141439437866, 0.13784997165203094, -0.11655241250991821, 0.26154211163520813, -0.46894708275794983, 0.6869322061538696, 0.12174946069717407, 1.0003100633621216, 0.2894686460494995, -0.15147319436073303, -0.13992737233638763, -0.22803089022636414, -0.24664682149887085, -0.06376604735851288, 0.4285467267036438, 0.16406629979610443, -0.0929715633392334, -0.09300659596920013, -0.07305246591567993, -0.4296158254146576, 0.4651152491569519, -0.9186104536056519, -0.38982999324798584, 0.05175841599702835, -0.5514068603515625, -0.0347505584359169, 0.0808638259768486, -0.7037314176559448, -0.8387420177459717, -0.30740389227867126, 0.5378085374832153, -0.42154765129089355, -0.5638851523399353, 0.30365169048309326, -0.2494836002588272, 0.40993019938468933, 0.5200890302658081, -0.8844286203384399, -0.14964629709720612, 0.4806745946407318, 0.8854110240936279, -0.10218853503465652, -0.18022796511650085, -0.15779010951519012, 0.4758269488811493, -0.526624321937561, 0.8039906620979309, -0.32748669385910034, -0.6035762429237366, -0.08609984070062637, -0.37282469868659973, -0.2286423295736313, -0.3860752284526825, 0.43152448534965515, -0.3314577043056488, 0.23440103232860565, -0.12322840839624405, -0.22456280887126923, -0.5806564092636108, 0.29239529371261597, -0.6857935190200806, 0.47792282700538635, 0.6278225779533386, -0.33595529198646545, 0.3767211139202118, -0.8662701845169067, -0.23245856165885925, -0.24405232071876526, -0.6361863613128662, -0.2261815071105957, 0.33947038650512695, 0.1790481060743332, 0.5794864296913147, -0.49509117007255554, -0.1476019024848938, -0.245369553565979, -0.08912014216184616, -0.1969902366399765, -0.49822714924812317, 0.6208857893943787, -0.0255380030721426, -0.26584914326667786, 0.12443224340677261, -0.8827975392341614, -0.35305243730545044, 0.32940053939819336, -0.15634658932685852, -0.01740371435880661, -0.12273748219013214, 0.3207193911075592, 0.3790440559387207, 0.0680447369813919, -0.3372337520122528, 0.08836563676595688, -0.3278588354587555, 0.3088885247707367, 0.4748634696006775, -0.17401190102100372, 0.9254618883132935, -0.14524683356285095, 0.4893578588962555, -0.16044925153255463, 0.17066168785095215, -0.323801726102829, -0.2784962058067322, -0.4765164256095886, -0.8072522878646851, -0.01170631218701601, 0.29204878211021423, -0.7349067330360413, 0.4911627173423767, -0.7999165058135986, -0.4416973292827606, -0.23744860291481018, 0.03367798402905464, 0.09092151373624802, 0.7300066351890564, 0.3722373843193054, 0.12919719517230988, -0.5041754841804504, -0.7561481595039368, 0.12895087897777557, -0.15715056657791138, -0.8289756178855896, 0.3426300883293152, 0.16562321782112122, 0.20030640065670013, 1.152266502380371, -0.39206957817077637, -0.7074319124221802, -0.1701437532901764, -0.32167959213256836, 0.25365149974823, 0.5919820070266724, 0.7124710083007812, -1.0616546869277954, -0.2287195473909378, 0.11868273466825485, -0.874748706817627, 0.2300177365541458, -0.17755013704299927, -0.29087576270103455, -0.03127383813261986, 0.5152269601821899, -0.6593202948570251, 0.35351717472076416, 0.7200223207473755, -0.7224711775779724, -0.007406365592032671, 0.1384393721818924, 0.06824637204408646, -1.1789352893829346, 0.29583942890167236, -0.11743074655532837, -0.25365567207336426, -0.7322647571563721, -0.036056991666555405, -0.0073226639069616795, -0.4655866324901581, -0.5668565630912781, 0.6892871260643005, -0.22996586561203003, -0.03174404427409172, -0.05361515283584595, 0.6319633722305298, 0.49635621905326843, 0.4782256782054901, 0.5393198728561401, 0.08204758912324905, 0.6208983063697815, -0.35298335552215576, 0.23466217517852783, 0.597595751285553, -0.34648820757865906, 0.9101873636245728, -0.5145607590675354, 0.0648932158946991, 0.06034599617123604, 0.43402838706970215, -1.0157581567764282, -0.12436402589082718, 0.178084135055542, -0.42311546206474304, 0.25658708810806274, -0.3632219135761261, -0.19002138078212738, 0.09850625693798065, -0.22801746428012848, 0.7188246846199036, 0.07919975370168686, -1.1447794437408447, 1.4300777912139893, 0.010266914032399654, 0.2725434899330139, -0.09618784487247467, -0.586046040058136, -0.0970577821135521, -0.06157205253839493, -0.8891087174415588, 0.4330218732357025, 0.21824222803115845, 0.146363765001297, 0.05887353792786598, -0.4658868908882141, 0.10696928203105927, -0.15089456737041473, 0.41906875371932983, 0.20374883711338043, -0.35044240951538086, -0.1508135050535202, -0.04495592042803764, -0.5238306522369385, -0.052948832511901855, -0.3726677894592285, 0.33293429017066956, 0.25424012541770935, -0.41572105884552, -0.22163362801074982, 0.4748917818069458, 0.8601570129394531, -0.0770052969455719, 0.4084276854991913, 0.617640495300293, -0.42333361506462097, -0.20560839772224426, -0.566933274269104, -0.15891556441783905, -0.4922625422477722, 0.8152559995651245, -0.8780960440635681, -0.8410651087760925, 0.30763739347457886, -0.22154124081134796, 0.1229422315955162, 0.23023833334445953, 0.23965361714363098, 0.14068013429641724, 1.432601809501648, 0.9092391729354858, 0.1387183517217636, 0.4579086899757385, -0.6049590706825256, 0.43501508235931396, -0.8444535136222839, -0.5553840398788452, -0.3669426441192627, -0.44424664974212646, -0.03639661520719528, -0.7930763959884644, 0.6992958188056946, 0.5360656380653381, -0.41693776845932007, 0.42491188645362854, -0.44248324632644653, 0.33514535427093506, 0.24555227160453796, 0.08174531161785126, 0.1929374784231186, -0.01529935747385025, -0.08017176389694214, 0.22924953699111938, -1.167118787765503, -0.08874014019966125, 0.7732548117637634, 0.43521952629089355, 0.3719503879547119, 0.2765575349330902, 0.04474213719367981, -0.2527029514312744, -0.015057994052767754, -0.8854381442070007, 0.3731003403663635, -0.11200566589832306, -0.7226381301879883, -0.5772998929023743, -0.3779469430446625, -0.6610129475593567, 0.6104569435119629, -0.49329203367233276, -0.7449513673782349, 0.9311438202857971, 0.28168219327926636, -0.49164342880249023, 0.7160808444023132, -0.5625136494636536, 1.0044779777526855, -0.19707724452018738, -0.24694892764091492, -0.10853928327560425, -0.4732248783111572, 0.3042796552181244, -0.24583293497562408, -0.0997534915804863, -0.07356123626232147, -0.2871659994125366, 0.40597373247146606, -0.10750750452280045, 0.620855987071991, -0.3549211323261261, -0.40895983576774597, -0.12116266787052155, 0.5058549642562866, 0.41496923565864563, 0.6066921353340149, -0.34420815110206604, 0.5785732865333557, 0.13922470808029175, -0.4713232219219208, -0.9484481811523438, 0.6738031506538391, -0.8938990235328674, -0.3946988880634308, 0.09823841601610184, -0.7244697213172913, -0.36146751046180725, 0.13996903598308563, 0.5485645532608032, 0.5526559948921204, 0.031608618795871735, 0.4203246235847473, 0.23297208547592163, 0.03645659610629082, 0.16496576368808746, 0.7598362565040588, -0.11261950433254242, -0.24416473507881165, 0.8448969125747681, -0.37076541781425476, 0.07644661515951157, 0.7788209319114685, 0.13455839455127716, -0.4836077094078064, -0.2914571762084961, -0.5747011303901672, 0.07028839737176895, -0.7648276686668396, -0.46926188468933105, -0.4470074772834778, -0.07173717767000198, -0.37337222695350647, -0.9146750569343567, -0.8847370147705078, -0.612302839756012, -0.25059932470321655, -0.20323620736598969, 0.292918860912323, 0.4530605375766754, -0.4531322717666626, 0.22186817228794098, -0.5073211789131165, 0.7353276014328003, 0.5612561106681824, 0.5121430158615112, -0.0011754209408536553, -0.804300844669342, -0.09985113143920898, 0.032651517540216446, -0.12428741157054901, -0.492294579744339, 0.019779346883296967, 0.20969554781913757, 0.28567373752593994, 1.2024798393249512, -0.04197339341044426, 0.8122190833091736, -0.4117070138454437, 0.7777121663093567, 0.502685010433197, -1.0301642417907715, 0.4288133978843689, -0.19503243267536163, 0.36693525314331055, 0.5082170367240906, 0.4975244998931885, -0.24558500945568085, 0.22786885499954224, -0.2524009346961975, -0.7840408682823181, 0.8428490161895752, 0.05071011558175087, -0.025696324184536934, 0.3039397895336151, 0.5720230937004089, 0.08893794566392899, -0.2856982946395874, -0.32564958930015564, -0.27324002981185913, -0.8641254901885986, 0.08464699983596802, -0.19251227378845215, -0.09970378130674362, -0.3453300893306732, -0.44241419434547424, 0.21852272748947144, -0.17505314946174622, 0.34636619687080383, 0.19079196453094482, -0.02593042328953743, -0.2509758174419403, -0.22082282602787018, 0.41438382863998413, 0.939275324344635, -0.13777312636375427, 0.26563456654548645, 0.28936079144477844, -0.3521057069301605, -0.036421287804841995, 0.21985578536987305, -0.008329811505973339, 0.045746512711048126, 0.39083191752433777, 0.9333106279373169, 0.3586618900299072, -0.4001390039920807, 0.6690776348114014, 0.07376979291439056, -0.5687907934188843, -0.14963790774345398, -0.14517176151275635, -0.29166626930236816, 0.5908722877502441, 0.4403986930847168, 0.2581680119037628, 0.08811400085687637, -0.21204859018325806, -0.020886028185486794, 0.22309176623821259, -0.7290964722633362, -0.41832971572875977, 0.8673280477523804, 0.27035579085350037, -0.10053341090679169, 0.6485094428062439, 0.26034465432167053, -0.30474573373794556, 0.2176840603351593, 0.729735791683197, 0.7857405543327332, -0.35670775175094604, 0.1366337090730667, 0.4080478847026825, -0.05189767852425575, 0.12946589291095734, -0.12369594722986221, -0.4589553475379944, -1.0018640756607056, -0.4291575849056244, -0.4828953146934509, -0.23921912908554077, 0.09858737885951996, -0.6237452626228333, 0.3981509506702423, -0.4100434482097626, 0.13776130974292755, -0.19049127399921417, -0.41114866733551025, -0.7399821281433105, 0.27555426955223083, 0.296783447265625, 1.0003724098205566, -0.6862397193908691, 0.6348427534103394, 0.6703384518623352, -0.03868068382143974, -0.7024722695350647, -0.42184731364250183, 0.12303612381219864, -0.8679561018943787, 0.2937307357788086, -0.06654807925224304, -0.3749312162399292, 0.32649797201156616, -0.25648176670074463, -1.0132828950881958, 1.2603330612182617, 0.4284699261188507, -0.43692725896835327, -0.06482402980327606, 0.36817508935928345, 0.0665392205119133, -0.23915454745292664, 0.31256401538848877, 0.6939824819564819, 0.7626311182975769, 0.4979936182498932, -0.5373880863189697, 0.28382784128189087, -0.32471558451652527, 0.2924722135066986, 0.19949473440647125, -0.1542312502861023, 0.38806232810020447, -0.2951720952987671, -0.26136061549186707, 0.2273922860622406, 0.6293718814849854, 0.27211636304855347, -0.12078756093978882, 1.024648904800415, 0.36559587717056274, 0.12679560482501984, -0.06596450507640839, 0.9584985971450806, -0.40878748893737793, -0.014711168594658375, 0.7587693333625793, -0.06153556704521179, 0.7960828542709351, 0.5054110884666443, 0.23480939865112305, 0.08685893565416336, 0.35024845600128174, -0.12871673703193665, 0.6347193717956543, 0.04900723323225975, -0.027287758886814117, -0.6536890268325806, -0.04268936812877655, -0.3886263966560364, 0.8827786445617676, 0.3944680392742157, -0.026420028880238533, -0.3534201681613922, 0.3055895268917084, -0.15404894948005676, 0.12429971992969513, -0.17291371524333954, 0.5574740767478943, 0.18735115230083466, -0.20566099882125854, 0.8715808987617493, 0.0443812794983387, 0.35095706582069397, -0.8194382786750793, -0.22014804184436798, -0.31020841002464294, 0.01606394350528717, -0.365872859954834, -0.3150237798690796, 0.13381460309028625, -0.27339738607406616, -0.41913914680480957, -0.27195364236831665, 0.07678793370723724, -0.32683882117271423, -0.44156137108802795, 0.32405972480773926, 0.27840349078178406, -0.09327107667922974, -0.44771698117256165, -0.4845324158668518, 0.004870537668466568, -0.2859167456626892, -0.33903568983078003, 0.27218329906463623, 0.5491149425506592, 0.12484383583068848, 0.3243219554424286, 0.638276219367981, -0.012594767846167088, -0.26388809084892273, 0.11151719093322754, 0.7841688990592957, -0.39593902230262756, -0.39140015840530396, -0.23538760840892792, 0.5229184031486511, 0.056733012199401855, -0.4801173806190491, 0.6953418254852295, 0.5939671993255615, 0.9216079711914062, 0.055052220821380615, 0.4577544331550598, -0.15662476420402527, 0.373953253030777, -0.5728793740272522, 0.6930227875709534, -0.8595142364501953, 0.28200510144233704, 0.038505613803863525, -1.4350861310958862, -0.7064700722694397, 1.0011632442474365, -0.2679853141307831, 0.09206954389810562, 0.6142311692237854, 0.8834096789360046, -0.3586842119693756, -0.13331338763237, 0.829162061214447, 0.38331103324890137, 0.33530592918395996, 0.49445754289627075, 0.6645830869674683, -0.292501300573349, 0.9126650094985962, -0.39208686351776123, -0.3128620982170105, -0.06161060929298401, -0.8174474239349365, -0.8364318609237671, -0.5139437317848206, -0.08623755723237991, -0.1312815397977829, -0.10639537125825882, 0.7461585402488708, 1.0929011106491089, -0.6932971477508545, -0.19311578571796417, 0.002357231918722391, -0.06739288568496704, -0.2608957290649414, -0.14433273673057556, 0.7310858368873596, 0.18296335637569427, -0.7028960585594177, 0.7417710423469543, 0.4007812738418579, -0.2938254773616791, -0.15501409769058228, 0.04882674664258957, 0.20332293212413788, 0.022241996601223946, 0.9120975732803345, 0.44322073459625244, -0.5428083539009094, -0.5387218594551086, -0.03597656637430191, 0.19590625166893005, 0.053641125559806824, 0.9437127709388733, -0.5761594176292419, 0.6390653848648071, 0.5320546627044678, 0.3346424996852875, 0.7069215774536133, 0.1324806958436966, 0.7861050963401794, -0.4308263063430786, 0.3350589871406555, 0.18950624763965607, 0.29377058148384094, 0.4068254232406616, -0.07890046387910843, 0.4841040074825287, -0.14577935636043549, -0.20402821898460388, -0.4565926492214203, 0.39921095967292786, -1.1530917882919312, -0.3708081841468811, 1.1731961965560913, -0.09535741806030273, -0.010110689327120781, -0.2170926332473755, -0.21105234324932098, 0.1270170658826828, -0.03653885796666145, 0.9168072938919067, -0.3615046441555023, -0.06679656356573105, -0.20939941704273224, -0.4045523703098297, 0.5747861266136169, 0.39113491773605347, -0.4335913062095642, -0.23354752361774445, 0.3196363151073456, -0.017633913084864616, 0.22529999911785126, 0.19614087045192719, -0.3184860050678253, 0.3206050992012024, 0.05420564115047455, 0.09006580710411072, -0.32455500960350037, -0.5799820423126221, -0.5921971201896667, 0.34547239542007446, -0.2692815661430359, -0.21831835806369781 ]
http://arxiv.org/abs/2404.07982v3
http://arxiv.org/pdf/2404.07982v3
Language Imbalance Can Boost Cross-lingual Generalisation
2024-04-11T17:58:05
2024-05-13T13:30:35
Anton Schäfer, Shauli Ravfogel, Thomas Hofmann, Tiago Pimentel, Imanol Schlag
cs.CL
cs.CL, cs.LG, I.2.7
Multilinguality is crucial for extending recent advancements in language modelling to diverse linguistic communities. To maintain high performance while representing multiple languages, multilingual models ideally align representations, allowing what is learned in one language to generalise to others. Prior research has emphasised the importance of parallel data and shared vocabulary elements as key factors for such alignment. In this study, we investigate an unintuitive novel driver of cross-lingual generalisation: language imbalance. In controlled experiments on perfectly equivalent cloned languages, we observe that the existence of a predominant language during training boosts the performance of less frequent languages and leads to stronger alignment of model representations across languages. Furthermore, we find that this trend is amplified with scale: with large enough models or long enough training, we observe that bilingual training data with a 90/10 language split yields better performance on both languages than a balanced 50/50 split. Building on these insights, we design training schemes that can improve performance in all cloned languages, even without altering the training data. As we extend our analysis to real languages, we find that infrequent languages still benefit from frequent ones, yet whether language imbalance causes cross-lingual generalisation there is not conclusive.
[ -0.46911272406578064, -0.3771198093891144, -0.08655141294002533, 0.6103086471557617, -0.08667697757482529, 0.42868179082870483, -0.15502023696899414, -0.6227182745933533, 0.6800585389137268, 0.2519652843475342, -0.2434762865304947, 0.127488374710083, -0.6946395039558411, 0.06894250959157944, -0.23998214304447174, 0.8435373306274414, -0.021642131730914116, 0.6420430541038513, -0.1561487913131714, -0.9938027262687683, -0.5633196830749512, -0.7506003379821777, -0.32711777091026306, -0.8599762320518494, 0.4901282489299774, 0.30502834916114807, 0.8920083045959473, 0.7496182322502136, 0.11162824928760529, 0.25229978561401367, 0.14285434782505035, 0.13999676704406738, -0.6483812928199768, -0.02949054352939129, -0.2207091897726059, -0.6977189779281616, -0.4294280707836151, -0.30765172839164734, 1.0099204778671265, 1.0813188552856445, -0.1514778584241867, -0.1296377182006836, 0.2367919534444809, 0.6135929822921753, -0.5765368938446045, -0.1531122326850891, -0.6712676286697388, -0.04057953506708145, -0.4288325309753418, -0.1403147429227829, -0.01646270602941513, 0.27443927526474, -0.01861434616148472, -0.8103737235069275, 0.244890034198761, 0.10156013071537018, 0.9065544605255127, -0.12871937453746796, -0.36353182792663574, -0.13728053867816925, -0.5504656434059143, 0.957175612449646, -0.4011573791503906, 0.42380931973457336, -0.09160157293081284, -0.0031506961677223444, 0.4448142945766449, 0.04005273059010506, -0.5517941117286682, 0.09380008280277252, -0.10197415202856064, -0.1016014814376831, -0.1499948352575302, -0.2495926022529602, 0.257506400346756, 0.4903301000595093, -0.6614250540733337, 0.4431236684322357, -0.2978474199771881, -0.24260973930358887, 0.26888519525527954, 0.06086772680282593, 0.8697582483291626, 0.25164198875427246, -0.3618159890174866, -0.18433208763599396, -0.8896808624267578, -0.0018708412535488605, 0.7051766514778137, 0.3214566111564636, -0.2532328963279724, 0.5613181591033936, 0.004781884606927633, 0.750361442565918, 0.10819822549819946, -0.060802292078733444, 0.5567221641540527, -0.6018062829971313, 0.22013936936855316, 0.21428035199642181, 0.5801181197166443, 0.43972858786582947, 0.876124382019043, -0.1940053105354309, -0.023180540651082993, 0.08791174739599228, 0.15034233033657074, -0.6344570517539978, -0.0501774325966835, -0.17221328616142273, -0.06449586898088455, -0.12532341480255127, 0.11563071608543396, -0.5052444338798523, -0.011186010204255581, -0.31988298892974854, 0.18398244678974152, -0.3338823616504669, -0.7041031122207642, 0.13085341453552246, -0.39128896594047546, 0.2206597477197647, 0.0016221170080825686, -1.3535274267196655, 0.2508564889431, 0.8133079409599304, 0.77291339635849, -0.37738844752311707, -0.8810324668884277, -0.4005008637905121, 0.3048398792743683, -0.44013944268226624, 0.5313661694526672, -0.5320143699645996, -0.07256969064474106, -0.032297272235155106, 0.1340976506471634, -0.32831501960754395, -0.9215363264083862, -0.09048868715763092, -0.3540020287036896, 0.2940066456794739, -0.41360387206077576, -0.2229594886302948, 0.06516911834478378, 0.13361835479736328, -0.7954301238059998, 0.9016467928886414, 0.17251411080360413, -0.9703462719917297, 0.8013217449188232, -0.10255301743745804, -0.7397674322128296, -0.006793133914470673, -0.21824082732200623, -0.41082173585891724, 0.14530706405639648, 0.24318194389343262, -0.005462838802486658, -0.17338413000106812, 0.17026415467262268, -0.5357003808021545, -0.4214743673801422, 0.1384580433368683, -0.27570202946662903, 0.8351231217384338, 0.07571867108345032, -0.36803293228149414, -0.20649227499961853, -0.21291905641555786, 0.0026640919968485832, -0.029704874381422997, -0.14912894368171692, -0.8258690237998962, -0.367275208234787, 0.09272396564483643, 0.24874573945999146, 0.20285964012145996, -0.5527777671813965, 0.1437762826681137, -0.4196658134460449, 0.08114714175462723, 0.48122137784957886, -0.34839174151420593, 0.854375422000885, -0.6808331608772278, 0.6826372146606445, 0.43115973472595215, -0.28016582131385803, -0.007029722910374403, -0.5367673635482788, -0.5472260117530823, -0.36425742506980896, 0.3790798783302307, 0.7740113139152527, -0.49619051814079285, -0.03212714195251465, -0.7034118175506592, -0.09966740012168884, -1.0748481750488281, 0.7794463634490967, 0.5552489161491394, 0.051495492458343506, 0.21661895513534546, -0.5390231013298035, -0.4250473082065582, -1.2464874982833862, -0.5720991492271423, 0.08855239301919937, 0.09923806041479111, 0.1430397927761078, -0.008048759773373604, -0.34963178634643555, 0.8025274276733398, 0.01828583888709545, -0.11307770013809204, -0.5040887594223022, 0.1854405254125595, -0.16085734963417053, 0.7017686367034912, 0.969496488571167, -0.8381090760231018, -0.7462698817253113, 0.5479564070701599, -0.7261607646942139, -0.45964860916137695, -0.1448502391576767, -0.049791429191827774, 0.32818174362182617, 0.4177416265010834, -0.292026162147522, -0.06560508906841278, 0.7824735045433044, -0.027461111545562744, 0.15367968380451202, -0.258293479681015, 0.0991116389632225, -0.8666425347328186, 0.049752749502658844, -0.10540344566106796, -0.1459001749753952, -0.5790261626243591, 0.12090784311294556, 0.20709878206253052, -0.024639321491122246, -0.3601676821708679, 0.7193074226379395, -0.5803011059761047, -0.013357339426875114, -0.3574092388153076, 0.08824510872364044, 0.005068526137620211, 0.2977316081523895, -0.09006039798259735, 0.6773604154586792, 0.7107756733894348, -0.3042028248310089, 0.10850223898887634, -0.13201077282428741, -0.16607901453971863, 0.6471715569496155, -0.5577307939529419, -0.4034459590911865, -0.13541758060455322, -0.153058260679245, -0.8098961114883423, -0.23702050745487213, -0.1789248138666153, -0.2697053849697113, 0.7038710713386536, -0.09884580224752426, -0.42297255992889404, -0.25191357731819153, -0.15631458163261414, 0.9600943922996521, 0.2765143811702728, -0.6741304397583008, 0.5944916009902954, 0.5133073329925537, -0.07053042948246002, -0.9008471369743347, -0.9943482279777527, -0.12269135564565659, -0.356447696685791, -0.7288937568664551, 0.2721130847930908, 0.08104289323091507, -0.5375580191612244, -0.01233131904155016, -0.23837876319885254, 0.019334709271788597, 0.1542832851409912, 0.009648227132856846, -0.12525995075702667, -0.3750678300857544, -0.025870751589536667, 0.09300259500741959, 0.03455548733472824, -0.16942693293094635, -0.5087425112724304, 0.7550150156021118, -0.023487094789743423, -0.4554671049118042, -0.06488978862762451, 0.6267673969268799, 0.9351795315742493, -0.0998147502541542, 0.738531231880188, 0.4213259816169739, -0.1013609915971756, -0.2927461862564087, -0.5258224606513977, 0.0940379872918129, -0.408224880695343, 0.4146166145801544, -0.47508177161216736, -0.8485156893730164, 0.7845379710197449, 0.25752681493759155, -0.03932598978281021, 0.3569052517414093, 0.5874907374382019, 0.15075603127479553, 1.079932689666748, 0.7449158430099487, -0.6043691635131836, 0.6148412227630615, 0.10655421763658524, 0.07049990445375443, -0.44072264432907104, 0.004101369064301252, -0.20398521423339844, -0.3370863199234009, -0.7871827483177185, -0.509814441204071, 0.07744967937469482, 0.13756020367145538, 0.1347818374633789, 0.1988644152879715, -0.037868764251470566, 0.6413530111312866, 0.5891852974891663, -0.15024659037590027, 0.32435014843940735, 0.3524850606918335, -0.5531538724899292, -0.08153752237558365, -1.0714088678359985, -0.10880517959594727, 1.186821460723877, 0.14214681088924408, 0.8719379901885986, 0.032581813633441925, 0.6705372929573059, -0.007710326928645372, 0.30200669169425964, -0.4559018313884735, 0.10277007520198822, -0.3664122223854065, -0.6520515084266663, -0.2378501445055008, -0.5058782696723938, -0.9430922865867615, 0.6464548110961914, -0.10136527568101883, -0.21979151666164398, 0.22476427257061005, 0.32947221398353577, 0.04797039180994034, 0.37074723839759827, -0.808931827545166, 1.0050513744354248, -0.4908588230609894, -0.6265451312065125, -0.46236249804496765, -0.42475077509880066, 0.4032459557056427, -0.42192307114601135, 0.4238255023956299, 0.1107042133808136, 0.09508254379034042, 0.4033827483654022, -0.4302229881286621, 0.7249601483345032, 0.018878810107707977, -0.2771630585193634, 0.010413690470159054, -0.08815546333789825, 0.1421881765127182, -0.06886593252420425, 0.16129623353481293, 0.3208657503128052, -0.10682172328233719, -1.1286489963531494, -0.516912043094635, 1.061078667640686, -0.8910831212997437, -0.5689370632171631, -0.3394864499568939, -0.76341712474823, -0.2651227116584778, 0.14452005922794342, 0.43937283754348755, 0.23981806635856628, -0.29730749130249023, 0.14932647347450256, 0.5579379200935364, -0.03608199208974838, 0.16385196149349213, 0.45661818981170654, -0.46753841638565063, -0.4527968466281891, 1.1147781610488892, 0.21729636192321777, 0.8829677700996399, 0.5099923014640808, 0.0008895202772691846, 0.07593284547328949, -0.12780216336250305, -0.6703442931175232, 0.3133400082588196, -0.3779582679271698, 0.2223334163427353, -0.7870537042617798, 0.20374922454357147, -0.5039602518081665, -0.28994524478912354, -0.2885527014732361, -0.7335062623023987, 0.169377401471138, -0.09117216616868973, -0.1370498538017273, 0.5598369240760803, -0.42303532361984253, 0.4605879783630371, -0.4486558139324188, 0.4048771262168884, 0.4849858582019806, 0.18467719852924347, 0.12062755227088928, -0.3005298376083374, -0.46704229712486267, 0.3108818233013153, -0.23303364217281342, -0.5322942137718201, 0.332337349653244, 0.3485124707221985, 0.8831436038017273, 0.49476611614227295, -0.5302127003669739, 0.8079618811607361, -0.3405744433403015, 0.4276624321937561, 0.22344325482845306, -0.7911798357963562, -0.18264418840408325, -0.45312273502349854, 0.6450979113578796, 0.4190102815628052, 0.354950875043869, -0.8428350687026978, -0.7601920366287231, -0.5057730674743652, -0.7787117958068848, 0.6577744483947754, -0.026894139125943184, 0.17074857652187347, 0.07435927540063858, -0.23073865473270416, 0.2235795557498932, 0.1499256044626236, -0.9665483236312866, -0.2689542770385742, -0.32990050315856934, -0.11101078987121582, -0.33058053255081177, -0.20576149225234985, -0.2313605695962906, -0.2632772624492645, 0.4319847822189331, -0.18230147659778595, -0.09923961758613586, -0.29245007038116455, -0.47432658076286316, -0.4759727716445923, 0.13141995668411255, 0.5281475186347961, 0.674017608165741, 0.09304218739271164, 0.1370537430047989, 0.22033846378326416, -0.4192278981208801, 0.17575788497924805, -0.053900379687547684, -0.13464176654815674, 0.1022958979010582, 0.5218306183815002, 0.6212911605834961, 0.4582817852497101, -0.6030750870704651, 0.5099735856056213, 0.22032848000526428, -0.0647675022482872, 0.22240281105041504, -0.042501721531152725, 0.20190516114234924, -0.003493141382932663, 0.3205620348453522, 0.22585351765155792, -0.43406009674072266, -0.7139794826507568, 0.3192965090274811, 0.7963842153549194, -0.05648990347981453, -0.371661901473999, 0.5524255633354187, 0.1414836347103119, 0.05203428864479065, 0.486118882894516, -0.009474069811403751, -0.8344351053237915, 0.7568680047988892, 0.7186782956123352, 0.6928178071975708, -0.3382391333580017, 0.0517534539103508, 0.19222426414489746, 0.5460487604141235, -0.2248304784297943, 0.26999375224113464, -0.1303909868001938, -0.9249333143234253, -0.31170231103897095, -0.715099573135376, -0.2787778973579407, -0.25561684370040894, -0.682870090007782, 0.3020590543746948, -0.033904992043972015, 0.14886832237243652, -0.1658349633216858, -0.40434005856513977, -0.5493988394737244, -0.09510302543640137, 0.3489244878292084, 0.5829307436943054, -1.2154836654663086, 1.0772981643676758, 0.7498303651809692, -0.05392257496714592, -0.6013701558113098, 0.06315407156944275, -0.07434488832950592, -1.016377329826355, 0.7519845962524414, 0.22172358632087708, 0.013935543596744537, -0.3298858404159546, -0.0690690204501152, -0.7946566343307495, 0.5478906631469727, 0.5161389112472534, -0.6879302263259888, -0.14132830500602722, 0.7737301588058472, 0.7152361273765564, -0.634821355342865, 0.011256127618253231, 0.24461813271045685, 0.24275389313697815, -0.10907196998596191, -1.1879687309265137, -0.15756139159202576, -0.3320155739784241, -0.12245070934295654, 0.5092909932136536, -0.6253534555435181, 1.0143922567367554, -0.09542059898376465, 0.0012999537866562605, -0.11317211389541626, 0.4277409017086029, 0.2506457567214966, 0.23795606195926666, 0.35065993666648865, 0.8920984268188477, 0.6388410329818726, 0.01859300769865513, 0.912433922290802, -0.5963669419288635, 0.05178218334913254, 1.116990566253662, -0.23695404827594757, 0.44979992508888245, 0.6949946880340576, 0.166048064827919, 0.4310041666030884, 0.2302045375108719, -0.02278882823884487, 0.47777259349823, 0.03365808725357056, -0.1504822075366974, -0.36916184425354004, 0.058535389602184296, -0.5804275274276733, 0.348137229681015, 0.27490660548210144, -0.37733790278434753, -0.44759514927864075, 0.3819926381111145, 0.022434022277593613, 0.09980200231075287, -0.36487552523612976, 0.49024051427841187, -0.0660974383354187, -0.9149696826934814, 0.8400753736495972, -0.3317197859287262, 0.9873875975608826, -0.6213823556900024, 0.2834377586841583, -0.45188140869140625, 0.44314858317375183, -0.16525070369243622, -0.5996474623680115, 0.3850467801094055, -0.3364339768886566, -0.3333585858345032, -0.6562968492507935, 0.23711615800857544, -0.9507141709327698, -0.33905261754989624, 0.7608014345169067, 0.6261775493621826, -0.11693553626537323, -0.0012638119515031576, -0.531304121017456, -0.1373213827610016, 0.1483481228351593, 0.3594762682914734, 0.7491964101791382, 0.7351264953613281, -0.4285937249660492, 0.5836441516876221, 0.4103652834892273, 0.3225349187850952, 0.5388743877410889, 0.06813590973615646, 0.7503957748413086, -0.38185927271842957, -0.3976540267467499, -0.8692984580993652, 0.18787381052970886, -0.009367125108838081, -0.3857453167438507, 0.9396124482154846, 0.9110314846038818, 1.3290194272994995, -0.08578300476074219, 0.6934555768966675, 0.12652486562728882, 0.4489765763282776, -0.23513224720954895, 0.661510705947876, -0.9631001949310303, 0.1910470575094223, -0.2135554999113083, -0.7928064465522766, -0.22410380840301514, 0.14815683662891388, -0.16916067898273468, -0.18491317331790924, 0.5572181344032288, 0.8727388381958008, -0.39372333884239197, -0.33277052640914917, 0.3005995452404022, 0.048457253724336624, 0.05854051187634468, 0.4457973539829254, 0.7017315030097961, -0.20676648616790771, 0.4811723530292511, -0.30251067876815796, -0.1965187042951584, -0.08122292160987854, -0.529437780380249, -0.9055565595626831, -0.323583722114563, -0.1600070744752884, -0.20427551865577698, 0.0983109399676323, 0.6067368984222412, 0.527416467666626, -0.9426229000091553, -0.7558484673500061, -0.09269041568040848, 0.24486535787582397, -0.39710262417793274, -0.20117700099945068, -0.3150990605354309, -0.5175095796585083, -0.9285573959350586, 0.10711736232042313, 0.2404060810804367, 0.23380550742149353, -0.13655805587768555, -0.09765680134296417, -0.3417200446128845, -0.18670570850372314, 0.34425613284111023, 0.6552325487136841, -0.6764825582504272, 0.220457524061203, 0.04576489329338074, -0.3744622468948364, 0.21299263834953308, 1.0786082744598389, -0.5881499648094177, 0.5845189690589905, 0.5503893494606018, 0.6493362188339233, 0.3807900846004486, 0.05360564589500427, 1.1428931951522827, -0.8864259719848633, 0.5642682909965515, -0.07520626485347748, 0.5082027912139893, 0.5685743093490601, -0.11604051291942596, 0.26856327056884766, 0.4985506534576416, -0.22910062968730927, -0.8102755546569824, 0.098753422498703, -0.8112596869468689, -0.291932076215744, 1.1455644369125366, 0.10841301083564758, -0.11463527381420135, -0.03435787186026573, -0.019712036475539207, 0.08992745727300644, -0.1386827975511551, 0.592354416847229, 1.0706629753112793, 0.13970132172107697, 0.12688209116458893, -0.29546037316322327, 0.3330734968185425, 1.0183396339416504, -0.3013778328895569, 0.15980058908462524, 0.25183576345443726, 0.5076281428337097, 0.3444250226020813, 0.2459862232208252, -0.09886221587657928, 0.22708961367607117, -0.076201431453228, -0.11288826167583466, 0.4590287208557129, -0.23361855745315552, -0.46210798621177673, 0.20297901332378387, 0.07509570568799973, 0.025756189599633217 ]
http://arxiv.org/abs/2404.07981v1
http://arxiv.org/pdf/2404.07981v1
Manipulating Large Language Models to Increase Product Visibility
2024-04-11T17:57:32
2024-04-11T17:57:32
Aounon Kumar, Himabindu Lakkaraju
cs.IR
cs.IR, cs.AI, cs.CL
Large language models (LLMs) are increasingly being integrated into search engines to provide natural language responses tailored to user queries. Customers and end-users are also becoming more dependent on these models for quick and easy purchase decisions. In this work, we investigate whether recommendations from LLMs can be manipulated to enhance a product's visibility. We demonstrate that adding a strategic text sequence (STS) -- a carefully crafted message -- to a product's information page can significantly increase its likelihood of being listed as the LLM's top recommendation. To understand the impact of STS, we use a catalog of fictitious coffee machines and analyze its effect on two target products: one that seldom appears in the LLM's recommendations and another that usually ranks second. We observe that the strategic text sequence significantly enhances the visibility of both products by increasing their chances of appearing as the top recommendation. This ability to manipulate LLM-generated search responses provides vendors with a considerable competitive advantage and has the potential to disrupt fair market competition. Just as search engine optimization (SEO) revolutionized how webpages are customized to rank higher in search engine results, influencing LLM recommendations could profoundly impact content optimization for AI-driven search services. Code for our experiments is available at https://github.com/aounon/llm-rank-optimizer.
[ -0.12699158489704132, -0.7013047337532043, 0.8517113924026489, 0.5692034959793091, -0.4182511270046234, 0.3593009412288666, -0.33262115716934204, -0.7054623961448669, 0.28961169719696045, 0.7256012558937073, -0.44044527411460876, -0.7011861801147461, -0.7373954653739929, -0.15720781683921814, -0.5852330923080444, 1.0560896396636963, 0.3561059832572937, -0.11468487232923508, -0.20963074266910553, 0.02158750779926777, -0.5488596558570862, -0.513363242149353, -0.733849823474884, -0.1924455314874649, 0.9400891065597534, 0.3896505534648895, 1.0918586254119873, 0.7718474864959717, 0.6730450987815857, 0.43517565727233887, -0.2758059799671173, 0.2985026240348816, -0.6960168480873108, 0.6551871299743652, -0.33310991525650024, -0.6935346126556396, -0.3484783470630646, -0.31562843918800354, 0.7839643359184265, 0.6879671216011047, 0.018897127360105515, -0.052119284868240356, 0.5387967824935913, 0.6976938843727112, -0.6081597208976746, 0.02060815505683422, -0.7739889621734619, -0.1888187825679779, -0.16918031871318817, -0.3544039726257324, -0.8441643118858337, -0.23159971833229065, 0.2996133863925934, -0.7601941823959351, -0.13959257304668427, 0.3121988773345947, 0.9248858690261841, 0.22665223479270935, -0.31024324893951416, -0.23542852699756622, -1.2970175743103027, 0.8370060920715332, -0.5882107615470886, 0.3800489902496338, 0.1263585388660431, 0.23627178370952606, -0.4114857316017151, -0.704490602016449, -0.1786893755197525, -0.18482552468776703, -0.2128760665655136, 0.04065040126442909, -0.37674662470817566, 0.03191129118204117, 0.23277795314788818, 0.20156385004520416, -0.5613663196563721, 0.17684078216552734, -0.3159600496292114, 0.09281773120164871, 0.6777198314666748, 0.018982481211423874, 0.19946640729904175, 0.19981880486011505, -0.20170241594314575, -0.0032644874881953, -0.6729499697685242, -0.1557101458311081, 0.2123582810163498, 0.2722133696079254, 0.21281859278678894, 0.8059584498405457, -0.30209222435951233, 0.6199020743370056, 0.2662520706653595, -0.018023040145635605, 0.12968534231185913, -0.3210439085960388, -0.2404528260231018, 0.30248719453811646, 0.6497779488563538, 0.454170823097229, 0.10495179146528244, -0.05590324476361275, -0.3148612082004547, -0.2453257441520691, 0.464499831199646, -0.8745453953742981, 0.07208795845508575, -0.09658346325159073, -0.586980938911438, -0.4097975790500641, 0.44740089774131775, -0.45785441994667053, -0.6530451774597168, -0.22274786233901978, 0.6393229961395264, -0.16743475198745728, 0.21728210151195526, 0.26047801971435547, -0.30489909648895264, 0.019389532506465912, 0.093599334359169, -0.761063277721405, 0.29766908288002014, 0.9167418479919434, 1.0149050951004028, -0.23794174194335938, 0.11036740988492966, -0.3800482451915741, 0.5976305603981018, -0.4983066916465759, 0.8018186092376709, -0.783063530921936, -0.6590197682380676, 0.25067707896232605, 0.08383885025978088, 0.2700265347957611, -0.8606447577476501, 0.6265546679496765, -0.8774622082710266, 0.29495641589164734, -0.31289684772491455, -0.4928709864616394, -0.0932173803448677, 0.09466156363487244, -0.5971137881278992, 0.8266631364822388, -0.41697701811790466, -0.4749651253223419, 0.3367893099784851, -0.5543089509010315, -0.9865555167198181, 0.12429819256067276, 0.05124802514910698, -0.31215330958366394, 0.19025790691375732, 0.3017660677433014, 0.4251817464828491, -0.013156118802726269, 0.04463111609220505, -0.3329988718032837, -0.3733097016811371, 0.36047616600990295, -0.3878784477710724, 0.29119569063186646, 0.12604020535945892, -0.3123316168785095, 0.41642266511917114, -0.6580150723457336, -0.1554459184408188, 0.24119050800800323, -0.6149330139160156, -0.6676177978515625, 0.1235908716917038, -0.1210281029343605, -0.06604989618062973, 0.4997842013835907, -0.01599670946598053, 0.24984025955200195, -0.7238268256187439, 0.2797011137008667, 0.9792935252189636, 0.358892560005188, 0.5908199548721313, -0.411572128534317, 0.6267485618591309, -0.2077065259218216, 0.2965085208415985, -0.3492790162563324, -0.706429660320282, -0.9977585673332214, -0.07296115905046463, 0.2573504149913788, 0.3574906885623932, -0.5223155617713928, 0.45287418365478516, -0.28838875889778137, -0.43975377082824707, -0.4358028173446655, 0.17530480027198792, 0.2635374069213867, 0.12515288591384888, 0.19637389481067657, -0.21471834182739258, -0.5366976857185364, -1.0086625814437866, -0.7424700260162354, -0.04855545982718468, -0.16246649622917175, 0.5919415950775146, -0.17577432096004486, -0.34296849370002747, 0.6903902888298035, -1.0059881210327148, -0.3497867286205292, -0.3351055085659027, -0.005425033625215292, 0.720876157283783, 0.022631969302892685, 0.2817579209804535, -0.6418552994728088, -0.6265159845352173, -0.07761502265930176, -0.24058860540390015, -0.2732679545879364, -0.17760182917118073, -0.3851219117641449, 0.06809884309768677, 0.436054527759552, -0.5679457187652588, 0.22634421288967133, 0.43470457196235657, -0.22152583301067352, 0.4939785897731781, -0.49305906891822815, 0.12065884470939636, -1.0436030626296997, -0.30229780077934265, 0.32493817806243896, -0.14337371289730072, -0.3646269142627716, -0.04625660553574562, -0.2543843388557434, -0.04751284047961235, -0.29383787512779236, 0.554772138595581, -0.17152918875217438, -0.2693418860435486, -0.3255019187927246, 0.23444052040576935, 0.4132373631000519, 0.15736152231693268, -0.2420327216386795, 0.8017575144767761, 0.30619245767593384, -0.9008104205131531, -0.0950203612446785, 0.24168771505355835, -0.5946460366249084, 0.2687872648239136, -0.8351715803146362, -0.043213870376348495, -0.106831394135952, 0.28432294726371765, -1.1034083366394043, -0.005267263390123844, 0.06696070730686188, -0.2117290198802948, 0.16321034729480743, 0.06145695224404335, -0.772005558013916, -0.05838221311569214, -0.21112442016601562, 0.18318068981170654, 0.36942777037620544, -0.6290961503982544, 0.41150781512260437, 0.28987762331962585, -0.34172284603118896, -0.2937628924846649, -0.7250068187713623, 0.3319830596446991, -0.28874245285987854, -0.7629786729812622, 0.8910409212112427, -0.416439414024353, -0.30727896094322205, -0.19408032298088074, -0.04768149554729462, 0.40758657455444336, 0.1408662647008896, 0.4632890522480011, 0.3505415916442871, -0.08848350495100021, 0.3685241937637329, -0.03710377961397171, -0.10664159804582596, 0.08883156627416611, -0.6972095966339111, 0.7450169324874878, -0.07535078376531601, -0.2839079201221466, -0.48239555954933167, 0.12421967089176178, 0.455833375453949, -0.2191566526889801, 0.7519783973693848, 0.4132886826992035, -0.2120179384946823, -0.2899259328842163, -0.38558682799339294, -0.28220465779304504, -0.6707339882850647, 0.35746482014656067, -0.025937329977750778, -0.7903299331665039, 0.10770206898450851, -0.12055830657482147, -0.12353391945362091, 0.41811513900756836, 0.6635085940361023, -0.25996655225753784, 1.697155475616455, 0.7371742129325867, -0.16497620940208435, 0.8359730243682861, -0.08654172718524933, 0.4938282370567322, -0.5493491888046265, -0.3002205491065979, -0.5696448087692261, -0.720211386680603, -0.8800002932548523, -0.35730960965156555, 0.47073450684547424, -0.07111337035894394, -0.21290671825408936, 0.24932706356048584, -0.5397725105285645, 0.5957098603248596, 0.6808443665504456, 0.36220332980155945, 0.5726615786552429, 0.1902245283126831, -0.2704771161079407, -0.07086238265037537, -0.5849365592002869, -0.4476243555545807, 0.8359124660491943, 0.3787325918674469, 0.7881979942321777, 0.15241193771362305, 0.4951287508010864, 0.5966767072677612, -0.02003719098865986, -0.8614463210105896, 0.7884306311607361, -0.49520549178123474, -0.34177377820014954, 0.001980121247470379, -0.1586650162935257, -1.0023692846298218, -0.11416386067867279, -0.2880922257900238, -0.4634488523006439, 0.057742033153772354, -0.19167053699493408, -0.3642421364784241, -0.13271883130073547, -0.5093177556991577, 0.43194741010665894, -0.7319673299789429, -0.6136084198951721, -0.7075208425521851, -0.17657257616519928, -0.03509816899895668, -0.05393189936876297, 0.2349298894405365, 0.1334889680147171, -0.12325192242860794, 0.7944576740264893, -0.30796822905540466, 0.6888120174407959, 0.2563224732875824, -0.2496802806854248, -0.11796807497739792, 0.16935428977012634, 0.762589156627655, -0.025428004562854767, -0.0594596341252327, -0.01092765387147665, -0.5179736018180847, -0.19016915559768677, -0.7803879380226135, 0.9802911877632141, -0.5313692688941956, -1.1947615146636963, -0.2719171345233917, -0.3356960415840149, -0.27086201310157776, 0.5647934675216675, 0.10037205368280411, 0.17574037611484528, -0.18984220921993256, 0.5402045249938965, 0.7186124920845032, -0.5384235382080078, 0.40024903416633606, 0.4233975112438202, -0.5151450634002686, -0.4016946256160736, 0.878237247467041, 0.011411760002374649, 0.2872731685638428, 0.6560032963752747, 0.5029294490814209, -0.36960169672966003, -0.6417664289474487, 0.013491293415427208, 0.23635603487491608, -0.8163295984268188, 0.022132935002446175, -0.6646193265914917, -0.2422919124364853, -0.35507678985595703, -0.16998672485351562, -0.03208277001976967, -0.5200383067131042, -0.3904978632926941, -0.22023199498653412, 0.21122148633003235, 0.9863570332527161, 0.25643420219421387, 0.667502224445343, -0.6198387145996094, 0.11811938136816025, 0.2413122057914734, 0.535666286945343, -0.14461641013622284, -0.6041263937950134, -0.41507649421691895, -0.11304166913032532, -0.3888484835624695, -0.6558353900909424, 0.4162302315235138, 0.13453194499015808, 0.524006187915802, 0.8959754705429077, -0.09456130862236023, 0.6630011796951294, -0.5683149695396423, 0.6688350439071655, -0.026939282193779945, -0.6796868443489075, 0.644670844078064, -0.574205756187439, 0.5128583908081055, 0.29121842980384827, 0.47450587153434753, -0.49138012528419495, -0.48312804102897644, -0.3563031852245331, -0.9478817582130432, 0.49405333399772644, 0.033643029630184174, 0.3757438361644745, 0.036693159490823746, 0.17757648229599, -0.06116993725299835, 0.3277706801891327, -0.3987463414669037, -0.2941785752773285, 0.31427305936813354, 0.02223251387476921, -0.1366356611251831, -0.46580106019973755, 0.12257010489702225, -0.022137613967061043, 1.0443782806396484, 0.22918391227722168, -0.0683852955698967, -0.03178804740309715, 0.15486465394496918, -0.017973821610212326, 0.22680117189884186, 0.5826660394668579, 0.5859748721122742, -0.04419400542974472, -0.06536814570426941, -0.2611546516418457, -0.16877920925617218, -0.26275116205215454, -0.09902580082416534, -0.3209492266178131, 0.1274542361497879, 0.08330751955509186, 0.696346640586853, 0.49791285395622253, -0.5840899348258972, 0.2028677612543106, -0.07841221988201141, 0.10201768577098846, -0.04331694170832634, 0.17362192273139954, 0.15943379700183868, 0.5191397666931152, 0.3935990631580353, 0.06261040270328522, 0.359832763671875, -0.6616347432136536, 0.26579269766807556, 0.6290168762207031, -0.3652382791042328, 0.05461594834923744, 0.6074565649032593, 0.13728579878807068, -0.7692256569862366, 0.28712403774261475, 0.3223167359828949, -0.6331381797790527, 0.3309597074985504, 0.6985361576080322, 0.8276605010032654, -0.24127845466136932, 0.3107892572879791, 0.17636768519878387, 0.3186296224594116, -0.17651429772377014, -0.2549554407596588, 0.19352896511554718, -0.5669355392456055, -0.3123832643032074, -0.6169335246086121, -0.3831198811531067, 0.03593063727021217, -0.3704652786254883, 0.6124054789543152, -0.7641007304191589, -0.41340354084968567, 0.3553600609302521, 0.005693705752491951, -0.5061251521110535, 0.12058087438344955, 0.22614000737667084, 0.7097103595733643, -0.2786446809768677, 0.5027086734771729, 0.48132970929145813, -0.23033668100833893, -0.3663182258605957, 0.34836283326148987, -0.11186369508504868, -0.8123096227645874, 0.5328676700592041, 0.31978660821914673, -0.29650598764419556, -0.19091272354125977, -0.6081557273864746, -0.9661603569984436, 0.9879248738288879, 0.22867226600646973, -0.7698991894721985, 0.08921947330236435, 0.4532355070114136, 0.6444786190986633, -0.5564886927604675, 0.20717884600162506, 0.2633691430091858, 0.6446861624717712, 0.19042731821537018, -0.6311095356941223, 0.13955093920230865, -0.04814426228404045, 0.09496203809976578, 0.1244037076830864, -0.6334661841392517, 0.18122443556785583, -0.3170015513896942, -0.2944870889186859, 0.14425574243068695, 0.416186660528183, 0.5126711130142212, 0.24051399528980255, 0.49018001556396484, 0.3321484327316284, 0.6332966089248657, 0.18862377107143402, 0.9923397898674011, -0.2645094692707062, -0.0713726282119751, 1.1919764280319214, -0.4655238389968872, 1.1129156351089478, 0.3153188228607178, 0.08379784226417542, 0.8060706853866577, 0.5620226263999939, -0.3004058003425598, 0.7222580313682556, 0.15641726553440094, -0.2379278987646103, -0.2621613144874573, -0.44484275579452515, -0.28923556208610535, 0.39162781834602356, 0.4504150152206421, -0.9535499215126038, 0.03733139857649803, -0.17890194058418274, -0.05626828595995903, 0.11445404589176178, -0.19786573946475983, 0.9240113496780396, 0.13623209297657013, -0.7488530278205872, 0.467263400554657, 0.3814736306667328, 0.568453311920166, -0.5284693837165833, -0.03854483366012573, -0.06881526112556458, 0.4367610216140747, -0.25468719005584717, -0.7828016877174377, 0.08572421222925186, -0.15397752821445465, -0.383517861366272, -0.5404288172721863, 1.0583765506744385, -0.35606205463409424, -0.7830696105957031, 0.5088743567466736, 0.28409311175346375, -0.20528259873390198, -0.28505608439445496, -0.7224252820014954, 0.2061057984828949, -0.009242402389645576, -0.2888256311416626, 0.36107003688812256, 0.09147859364748001, 0.0597560741007328, 0.7214736938476562, 0.9958068132400513, -0.09587758034467697, -0.08688879758119583, 0.19298872351646423, 0.8501799702644348, -0.5727221369743347, -0.6456555128097534, -0.9700810313224792, 0.22472408413887024, -0.2806165814399719, 0.31300681829452515, 0.9038798809051514, 0.7176147103309631, 0.7725136280059814, 0.08496379852294922, 0.7795704007148743, 0.527728796005249, 0.14681965112686157, -0.3887784481048584, 0.9923548102378845, -0.6382051110267639, 0.8900297284126282, -0.12334723770618439, -1.1903072595596313, -0.33112868666648865, 0.11436239629983902, -0.4229356646537781, 0.14290840923786163, 0.4380863904953003, 0.9059048891067505, 0.11789563298225403, 0.007347727194428444, 0.39492857456207275, 0.7663539052009583, 0.37563568353652954, 0.19285182654857635, 0.6996815204620361, -0.13038112223148346, 0.9082950949668884, -0.04475655034184456, -0.11966362595558167, -0.3638727068901062, -1.0308036804199219, -0.6816576719284058, -0.3737015426158905, -0.3558136820793152, -0.5288021564483643, 0.5360747575759888, 0.6100767254829407, 0.6768475770950317, -0.6680151224136353, -0.1888820230960846, 0.1113157570362091, 0.33478912711143494, -0.23596127331256866, -0.26573875546455383, 0.19009098410606384, -0.22217057645320892, -0.6680378913879395, 0.7612420320510864, 0.5991299748420715, -0.07610011845827103, -0.31993648409843445, -0.012729795649647713, -0.18129418790340424, 0.29134681820869446, 0.7826291918754578, -0.28525596857070923, -0.6938387751579285, -0.03786215931177139, 0.3273739814758301, 0.07489532977342606, 0.23394489288330078, 0.8549747467041016, -0.8299559950828552, 0.3659086227416992, 0.5877373218536377, 0.5741998553276062, 0.5143150091171265, 0.09966875612735748, 0.8179602026939392, -0.8252498507499695, -0.19383004307746887, -0.0617162249982357, 0.2628172039985657, 0.2640904188156128, -0.6549592018127441, 0.17391519248485565, -0.020866060629487038, -0.5127598643302917, -0.5095889568328857, 0.3158276081085205, -0.7712512612342834, -0.4152253568172455, 1.6030869483947754, 0.1800713837146759, -0.04511396214365959, 0.1804807484149933, -0.29774317145347595, 0.09615378081798553, -0.6548634171485901, 1.0114259719848633, 0.7501214146614075, 0.03867457062005997, 0.09749910235404968, -0.5839663147926331, 0.24265801906585693, 0.5550541281700134, -0.576499342918396, -0.16717341542243958, 0.2077759951353073, 0.18280330300331116, 0.2691109776496887, 0.11810383945703506, 0.0012429177295416594, -0.14647889137268066, -0.6818600296974182, -0.6109275221824646, 0.10659467428922653, -0.573756992816925, -0.3578494191169739, 0.033988598734140396, 0.2662256360054016, -0.12314926087856293 ]
http://arxiv.org/abs/2404.07979v1
http://arxiv.org/pdf/2404.07979v1
LLoCO: Learning Long Contexts Offline
2024-04-11T17:57:22
2024-04-11T17:57:22
Sijun Tan, Xiuyu Li, Shishir Patil, Ziyang Wu, Tianjun Zhang, Kurt Keutzer, Joseph E. Gonzalez, Raluca Ada Popa
cs.CL
cs.CL, cs.AI, cs.LG
Processing long contexts remains a challenge for large language models (LLMs) due to the quadratic computational and memory overhead of the self-attention mechanism and the substantial KV cache sizes during generation. We propose a novel approach to address this problem by learning contexts offline through context compression and in-domain parameter-efficient finetuning. Our method enables an LLM to create a concise representation of the original context and efficiently retrieve relevant information to answer questions accurately. We introduce LLoCO, a technique that combines context compression, retrieval, and parameter-efficient finetuning using LoRA. Our approach extends the effective context window of a 4k token LLaMA2-7B model to handle up to 128k tokens. We evaluate our approach on several long-context question-answering datasets, demonstrating that LLoCO significantly outperforms in-context learning while using $30\times$ fewer tokens during inference. LLoCO achieves up to $7.62\times$ speed-up and substantially reduces the cost of long document question answering, making it a promising solution for efficient long context processing. Our code is publicly available at https://github.com/jeffreysijuntan/lloco.
[ -0.30584970116615295, -0.9101534485816956, 0.7035239338874817, 0.11212193965911865, -0.4638582468032837, -0.1023326963186264, -0.5226150751113892, -0.7036633491516113, 0.14179980754852295, 0.42721229791641235, -0.6252239346504211, -0.30701005458831787, -0.2611405551433563, 0.2470102310180664, -0.30426570773124695, 0.8854639530181885, -0.022449083626270294, -0.2226731926202774, -0.3023254871368408, -0.009930687956511974, -0.28199303150177, -0.36416926980018616, -0.8478463292121887, -0.038485679775476456, 0.6238459348678589, 0.6182172894477844, -0.15131965279579163, 0.6677362322807312, 0.07923422753810883, 0.33273327350616455, -0.22435204684734344, 0.4652039110660553, -1.0507107973098755, 0.41305041313171387, 0.017328700050711632, -0.4985639154911041, -0.3624146580696106, -0.34880921244621277, 0.5943323373794556, 0.5116274952888489, -0.14436013996601105, 0.17221041023731232, 0.2161308377981186, 0.5803416967391968, -0.7248868942260742, 0.13805152475833893, -0.9285038113594055, -0.09659325331449509, -0.13113830983638763, -0.4758681058883667, -0.3937433362007141, 0.01250522118061781, 0.11410005390644073, -0.8016248345375061, -0.06858968734741211, 0.0505874827504158, 0.5879497528076172, 0.5660800933837891, -0.5029590725898743, -0.46633079648017883, -0.43413132429122925, 0.8509583473205566, -0.4929972290992737, 0.2615966796875, 0.532170832157135, 0.3774888217449188, -0.19588495790958405, -1.0183489322662354, -0.47515642642974854, 0.11015326529741287, 0.21837648749351501, 0.030466850847005844, 0.11822409927845001, 0.061022356152534485, 0.15101490914821625, 0.39933642745018005, -0.07267981767654419, 0.27797186374664307, -0.5348301529884338, -0.11279613524675369, 0.33575350046157837, -0.08211231976747513, -0.1772342026233673, -0.1662701964378357, -0.509490966796875, 0.2071675807237625, -0.9439517259597778, 0.1904233694076538, 0.13976171612739563, 0.31898102164268494, 0.012002740986645222, 0.2025856375694275, -0.3376808166503906, 0.7408791780471802, 0.11663450300693512, -0.3672085106372833, -0.11283493041992188, -0.086370088160038, -0.42651432752609253, 0.08892093598842621, 0.41344696283340454, 0.24266871809959412, -0.05158926546573639, -0.28607597947120667, -0.18887048959732056, -0.48503127694129944, 0.04344478249549866, -0.9798955917358398, 0.31856298446655273, 0.36083558201789856, -0.021079614758491516, -0.12475211918354034, -0.17466141283512115, -0.9213937520980835, -0.06903707981109619, -0.46836888790130615, 0.18687082827091217, -0.034019146114587784, 0.5129854679107666, -0.14348746836185455, 0.22834160923957825, 0.2163131684064865, 0.6104184985160828, -0.8781317472457886, 0.2911813259124756, 0.6492470502853394, 0.9707604050636292, -0.2222450077533722, -0.11367485672235489, -1.1926764249801636, 0.19361472129821777, -0.023378567770123482, 0.7396115660667419, -0.28790876269340515, -0.18578927218914032, 0.06050149351358414, 0.23409594595432281, 0.2482406497001648, -0.45242840051651, 0.4578121304512024, -0.6637109518051147, 0.16615194082260132, -0.21388867497444153, -0.6356295943260193, 0.010395582765340805, 0.220712810754776, -0.5857906937599182, 1.1557269096374512, 0.23901037871837616, -0.5123973488807678, 0.1483631283044815, -0.5511878728866577, -0.48589301109313965, 0.14679238200187683, -0.2690984010696411, -0.16909043490886688, -0.016628000885248184, 0.3049198091030121, 0.7259501814842224, -0.3551560640335083, 0.22483177483081818, -0.13446509838104248, -0.6194552779197693, -0.10667367279529572, -0.18563689291477203, 0.6461225152015686, 0.2945334017276764, -0.4431374669075012, 0.0769757628440857, -0.7825832962989807, -0.052780088037252426, 0.13718174397945404, -0.7109659314155579, -0.3217918872833252, -0.07477817684412003, -0.02083428204059601, 0.12105618417263031, 0.42180538177490234, -0.5189166069030762, 0.2704352140426636, -0.4543856382369995, 0.9815517663955688, 0.7808443903923035, -0.23757725954055786, 0.49615809321403503, -0.03988310322165489, 0.2664879262447357, -0.14580529928207397, 0.0008945416775532067, -0.35657185316085815, -0.28484219312667847, -0.8911131620407104, -0.4173012673854828, 0.0474449098110199, 0.4324241280555725, -0.6877879500389099, 0.40602630376815796, -0.3447142243385315, -0.12018529325723648, -0.3133154809474945, 0.6381051540374756, 0.3307429850101471, 0.8831545114517212, 0.5314350724220276, 0.05839028209447861, -0.6614095568656921, -0.5978873372077942, 0.14277300238609314, 0.11335833370685577, -0.12445896118879318, 0.7257177233695984, 0.5200180411338806, -0.48990392684936523, 1.0861543416976929, -0.5893807411193848, -0.5630854368209839, -0.24676841497421265, 0.03708541393280029, 0.07848580926656723, 0.15537330508232117, 0.3197176158428192, -0.7645382881164551, -0.4372536242008209, 0.049359630793333054, -0.5528318285942078, -0.100972481071949, -0.022301677614450455, 0.08795613050460815, 0.5198777914047241, 0.8820922374725342, -0.3838779926300049, 0.08157195895910263, 0.6125580072402954, 0.1100955680012703, 0.0210366640239954, -0.376796156167984, -0.11602289974689484, -1.3985575437545776, 0.2189001888036728, -0.294653981924057, -0.70517498254776, -0.5011398792266846, 0.2034492790699005, 0.20851363241672516, -0.07879020273685455, -0.9381032586097717, 0.8179550170898438, -0.5727024674415588, -0.08316242694854736, -0.2717079818248749, 0.4017714858055115, 0.1559605747461319, 0.7242085337638855, -0.02846396714448929, 0.9385583400726318, 0.3833504021167755, -0.6219890117645264, 0.3152894973754883, 0.015319151803851128, -0.6491433382034302, 0.19982920587062836, -0.5513973236083984, 0.4699147343635559, -0.35954749584198, 0.6874241828918457, -0.9164474606513977, -0.4912828803062439, -0.0541156604886055, 0.028913553804159164, 0.2755107283592224, -0.3313140273094177, -0.35389843583106995, -0.016522886231541634, -0.2599623501300812, 0.61299067735672, 0.4534218907356262, -0.7943565249443054, 0.4441264569759369, 0.44998663663864136, -0.049268465489149094, -0.7641963958740234, -0.6733352541923523, 0.006859288550913334, -0.5759362578392029, -0.238007590174675, 0.47016608715057373, -0.1700754016637802, -0.11832171678543091, -0.551258385181427, 0.013430759310722351, -0.26677754521369934, 0.1739349514245987, 0.22090865671634674, -0.1707172989845276, 0.007455810438841581, 0.296581894159317, 0.1661536544561386, 0.15144488215446472, -0.20373758673667908, -0.27962762117385864, 0.6206039190292358, -0.18331673741340637, 0.2615337073802948, -0.3997154235839844, 0.3828713297843933, 0.5449795126914978, 0.1085730791091919, 0.6107726693153381, 0.19710759818553925, -0.40668991208076477, -0.46999332308769226, -0.5113773941993713, -0.12289918214082718, -0.5329678058624268, 0.27657464146614075, -0.3040016293525696, -1.364866852760315, 0.6800986528396606, -0.21976085007190704, -0.03431355208158493, 0.17802542448043823, 0.4313826560974121, -0.21674340963363647, 0.44596990942955017, 0.6733500957489014, -0.26028162240982056, 0.6048204302787781, -0.3666386008262634, 0.09050828218460083, -0.8862723112106323, -0.08360480517148972, -0.12746229767799377, -0.06527888029813766, -0.29151758551597595, -0.6826457977294922, 0.3545339107513428, 0.45838266611099243, -0.029825152829289436, 0.382295697927475, -0.2099730372428894, 0.7901520133018494, 0.22232882678508759, 0.24009627103805542, 0.3198985159397125, 0.09831257164478302, 0.15301969647407532, 0.33683323860168457, -0.5945373773574829, -0.2873828709125519, 0.9879419207572937, 0.42309001088142395, 0.5764453411102295, 0.08962380141019821, 0.75603848695755, 0.1915295124053955, 0.20658506453037262, -1.0641154050827026, 0.4913713335990906, 0.12506943941116333, -0.460829496383667, -0.5769519209861755, -0.48952752351760864, -0.9333106279373169, -0.01925693452358246, 0.11897768825292587, -0.9088537096977234, 0.0463043674826622, 0.3358514606952667, -0.642823338508606, 0.18507961928844452, -0.4755992591381073, 0.5884068608283997, -0.1234661117196083, -0.6806473731994629, -0.10224281251430511, -0.7939241528511047, 0.19334393739700317, -0.4613119959831238, 0.24583597481250763, 0.013247870840132236, -0.20176903903484344, 0.6226447224617004, -0.3635788857936859, 1.0618542432785034, 0.03421999514102936, -0.550225555896759, 0.5174219608306885, -0.11905684322118759, 0.6820347905158997, 0.46084681153297424, -0.12421449273824692, 0.1448473185300827, 0.03326904773712158, -0.3446999788284302, -0.629666268825531, 0.9819193482398987, -0.5746186375617981, -0.5368834137916565, -0.1981474608182907, -0.517837643623352, -0.08436768501996994, 0.32385125756263733, 0.47503507137298584, 0.6114115715026855, -0.029139583930373192, 0.34282445907592773, 0.5544465184211731, -0.0189959779381752, 0.6342607736587524, 0.22812987864017487, 0.051976051181554794, -0.42685651779174805, 0.6448268890380859, 0.1450842320919037, 0.2495572865009308, 0.6272801756858826, 0.22257018089294434, -0.37332990765571594, -0.26813971996307373, -0.4508526027202606, 0.13686345517635345, -1.1158995628356934, -0.3465111255645752, -0.48392000794410706, 0.06222445145249367, -0.31326451897621155, -0.2986147999763489, -0.36633607745170593, -0.2598411440849304, -0.5746082663536072, 0.11939394474029541, 0.3405190408229828, 0.4515531063079834, 0.2320893257856369, 0.42833566665649414, -0.5111557245254517, 0.12688221037387848, 0.5666300058364868, 0.20222409069538116, 0.047572314739227295, -0.5703250169754028, -0.2310958057641983, 0.10457312315702438, -0.1749746948480606, -0.5383262634277344, 0.296691358089447, 0.6601638793945312, 0.0796700119972229, 0.721745491027832, 0.31552010774612427, 1.090686559677124, -0.7554801106452942, 0.6027221083641052, -0.14704976975917816, -1.0573234558105469, 0.5253708958625793, -0.3365146219730377, 0.25897297263145447, 0.8709498047828674, 0.5489007830619812, -0.3989335298538208, -0.022575147449970245, -0.22015468776226044, -1.057509183883667, 0.5483132600784302, 0.05050930753350258, 0.29546141624450684, -0.25332364439964294, 0.8380064368247986, 0.2067645788192749, 0.07364679127931595, -0.8581127524375916, 0.027775999158620834, 0.042041804641485214, -0.030487844720482826, -0.29837480187416077, -0.3616804778575897, -0.26632460951805115, -0.3417772948741913, 0.32880595326423645, -0.6942813396453857, 0.34815695881843567, 0.46530506014823914, -0.43645575642585754, -0.08050437271595001, 0.31947338581085205, 1.0077868700027466, 0.8769508004188538, -0.31343936920166016, 0.20822690427303314, 0.6728254556655884, -0.10875021666288376, -0.08023970574140549, -0.13771075010299683, 0.1801738739013672, -0.4483185112476349, 0.41212064027786255, 0.7262433767318726, 0.4732166528701782, -1.0302549600601196, 0.5531123280525208, -0.18237073719501495, -0.0947367399930954, -0.6531932353973389, -0.020907843485474586, -0.03575886785984039, 0.22307537496089935, 0.4340456426143646, -0.5909504294395447, 0.1267232596874237, -0.8488851189613342, 0.1715908944606781, 0.23660686612129211, -0.44459182024002075, -0.06293954700231552, 0.491543710231781, 0.38631054759025574, -0.03902840241789818, 0.6071845293045044, -0.03223241865634918, -0.32315006852149963, 0.5582070350646973, 0.7806985974311829, 0.41442087292671204, 0.07573672384023666, -0.19879621267318726, 0.2586286962032318, -0.37774863839149475, -0.09342790395021439, 0.16978012025356293, -0.7754415273666382, -0.31559863686561584, -0.5984494090080261, -0.6415689587593079, -0.3274194300174713, 0.3565506637096405, -0.5547753572463989, 0.30071648955345154, -0.5098490715026855, 0.13987921178340912, -0.35885536670684814, 0.10376730561256409, -0.3656632900238037, 0.20732587575912476, 0.11546102166175842, 0.810806155204773, -0.4386104643344879, 1.130990982055664, 0.3720606863498688, -0.04549304395914078, -0.4392911195755005, 0.00211885804310441, -0.18322820961475372, -0.7395390868186951, 0.9011387825012207, 0.6450887322425842, -0.41514965891838074, 0.2931411564350128, -0.5642406940460205, -0.9097442626953125, 1.3131107091903687, 0.36810001730918884, -0.8885690569877625, -0.16679178178310394, 0.04353753477334976, 0.48394495248794556, -0.4642629623413086, 0.20547181367874146, 0.3751407563686371, 0.09424517303705215, 0.1597214788198471, -0.7684120535850525, 0.06343800574541092, 0.09245812147855759, -0.2797030806541443, 0.16533885896205902, -0.8289363980293274, 0.6316431164741516, -0.23800766468048096, -0.3677852153778076, 0.17691567540168762, 0.7803824543952942, 0.18102987110614777, 0.28741133213043213, 0.556098222732544, 0.4033631384372711, 0.908329427242279, 0.0955059602856636, 0.9692810773849487, -0.4858637750148773, 0.5568299889564514, 1.1774380207061768, -0.2342263013124466, 1.1548715829849243, 0.8018996119499207, 0.25005587935447693, 0.48001188039779663, 0.8487679958343506, 0.49684154987335205, 0.6742848753929138, 0.33666831254959106, -0.41162440180778503, -0.3252406418323517, -0.057207297533750534, -0.1210469901561737, 0.48413825035095215, 0.23807069659233093, -0.16354799270629883, -0.1799211949110031, -0.0186422448605299, 0.1660829782485962, -0.134272962808609, -0.35559704899787903, 0.7199423313140869, 0.3656965494155884, -0.8771012425422668, 0.8981335163116455, -0.017288167029619217, 0.704510509967804, -0.5235622525215149, -0.01323916669934988, -0.45911580324172974, 0.2794153094291687, -0.09086529910564423, -0.40278491377830505, 0.1885218769311905, 0.03554736077785492, -0.052709560841321945, -0.32427170872688293, 0.29445967078208923, -0.5009253621101379, -0.24970027804374695, 0.45964768528938293, 0.11568135023117065, 0.29215922951698303, -0.03397790715098381, -0.3418183922767639, -0.0042433408088982105, -0.22519084811210632, -0.28065624833106995, 0.4322645962238312, 0.3449532091617584, -0.23379336297512054, 0.8327723741531372, 0.5984345078468323, -0.17748220264911652, -0.039328090846538544, -0.10568946599960327, 1.059383749961853, -0.47739431262016296, -0.6924040913581848, -0.7812280058860779, 0.3018464744091034, -0.002815338782966137, -0.5147917866706848, 0.4474587142467499, 0.553555428981781, 1.023241400718689, 0.1146320328116417, 0.3194405138492584, 0.052882470190525055, 0.2306670993566513, -0.791198194026947, 0.5686467885971069, -0.9196599125862122, 0.2872421145439148, -0.009681976400315762, -0.8579082489013672, -0.25869131088256836, 0.5624711513519287, -0.29872003197669983, -0.17356500029563904, 0.7124403119087219, 0.5524019598960876, -0.3524957299232483, -0.3346061706542969, 0.254339337348938, 0.02510088123381138, 0.3004067838191986, 0.8009422421455383, 0.6820604801177979, -0.5342804789543152, 0.5089333653450012, -0.28438594937324524, -0.13377274572849274, -0.36335304379463196, -1.182596206665039, -1.1224607229232788, -0.7180763483047485, 0.033957429230213165, 0.02852601744234562, 0.1551690250635147, 1.103724479675293, 0.9927119612693787, -0.5741922855377197, -0.32366010546684265, -0.18620355427265167, -0.01007008645683527, 0.1080828309059143, -0.1575658917427063, 0.45120882987976074, -0.4803154170513153, -0.924133837223053, 0.8014556169509888, 0.19427867233753204, -0.12017218768596649, -0.15555070340633392, -0.20072391629219055, -0.0842587873339653, -0.010618438012897968, 0.9218822121620178, 0.4611382484436035, -0.8553325533866882, -0.28645122051239014, -0.12889321148395538, -0.028863409534096718, 0.35716280341148376, 0.8085374236106873, -0.8384307622909546, 0.31128135323524475, 0.5604951977729797, 0.7952967286109924, 0.6505353450775146, 0.2596719264984131, 0.42913857102394104, -0.9107806086540222, 0.3833158314228058, 0.03936571627855301, 0.40981462597846985, 0.29212477803230286, -0.7073041796684265, 0.3549818992614746, -0.07287347316741943, -0.6371076703071594, -0.8828877806663513, 0.22425131499767303, -1.1172629594802856, -0.5065547227859497, 1.2564808130264282, -0.295322984457016, -0.5225357413291931, -0.06879958510398865, -0.19215728342533112, 0.26022180914878845, -0.4571080803871155, 0.893720805644989, 0.3388220965862274, -0.1179419681429863, -0.2872544825077057, -0.7272325754165649, 0.6272872090339661, 0.2669125497341156, -0.9794511795043945, 0.11886114627122879, 0.3376487195491791, 0.37040504813194275, -0.024701092392206192, 0.4862026572227478, 0.30136725306510925, 0.013582994230091572, -0.6650882959365845, -0.266196072101593, -0.23879215121269226, -0.6403062343597412, -0.3742835819721222, 0.24458473920822144, -0.21976430714130402, 0.19010613858699799 ]
http://arxiv.org/abs/2404.07972v2
http://arxiv.org/pdf/2404.07972v2
OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments
2024-04-11T17:56:05
2024-05-30T08:55:12
Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, Tao Yu
cs.AI
cs.AI, cs.CL
Autonomous agents that accomplish complex computer tasks with minimal human interventions have the potential to transform human-computer interaction, significantly enhancing accessibility and productivity. However, existing benchmarks either lack an interactive environment or are limited to environments specific to certain applications or domains, failing to reflect the diverse and complex nature of real-world computer use, thereby limiting the scope of tasks and agent scalability. To address this issue, we introduce OSWorld, the first-of-its-kind scalable, real computer environment for multimodal agents, supporting task setup, execution-based evaluation, and interactive learning across various operating systems such as Ubuntu, Windows, and macOS. OSWorld can serve as a unified, integrated computer environment for assessing open-ended computer tasks that involve arbitrary applications. Building upon OSWorld, we create a benchmark of 369 computer tasks involving real web and desktop apps in open domains, OS file I/O, and workflows spanning multiple applications. Each task example is derived from real-world computer use cases and includes a detailed initial state setup configuration and a custom execution-based evaluation script for reliable, reproducible evaluation. Extensive evaluation of state-of-the-art LLM/VLM-based agents on OSWorld reveals significant deficiencies in their ability to serve as computer assistants. While humans can accomplish over 72.36% of the tasks, the best model achieves only 12.24% success, primarily struggling with GUI grounding and operational knowledge. Comprehensive analysis using OSWorld provides valuable insights for developing multimodal generalist agents that were not possible with previous benchmarks. Our code, environment, baseline models, and data are publicly available at https://os-world.github.io.
[ -0.5423715710639954, -0.7780066728591919, 0.646345317363739, 0.19089621305465698, 0.24022182822227478, 0.1584334820508957, -0.05042315647006035, -0.757447361946106, -0.0018958867294713855, 0.27733609080314636, -0.7127553224563599, -0.31181642413139343, -0.2846418023109436, 0.03794582933187485, 0.05593327805399895, 0.7282151579856873, -0.08214913308620453, -0.45675796270370483, -0.909230649471283, -0.5216496586799622, -0.24920353293418884, -0.38620463013648987, -0.35099881887435913, -0.19527573883533478, 0.39609161019325256, 0.3814941942691803, 0.9528633952140808, 0.4241408407688141, 0.5619949102401733, 0.3678741455078125, 0.3535946011543274, 0.42171186208724976, -0.38576167821884155, 0.5193296670913696, -0.25039607286453247, -0.03884422779083252, -0.7006204724311829, 0.22304968535900116, 0.39764076471328735, 0.3995760679244995, 0.01822025515139103, 0.2608743906021118, -0.2264517992734909, 0.26847514510154724, -1.019547462463379, 0.24090667068958282, -0.17751312255859375, 0.28495919704437256, 0.03929844871163368, -0.03480025380849838, -0.2816590368747711, -0.09273812919855118, -0.027419744059443474, -1.120430588722229, -0.02129204012453556, 0.11953259259462357, 0.4719953238964081, 0.17945514619350433, -0.5101099014282227, -0.04994763806462288, -0.7059361934661865, 0.8951676487922668, -0.26863130927085876, 0.48274749517440796, -0.06283441185951233, 0.5476095676422119, -0.32262274622917175, -0.715664803981781, -0.5203314423561096, -0.6845777034759521, 0.20926256477832794, 0.24448736011981964, -0.4328729212284088, 0.180834099650383, 0.49240559339523315, 0.19635339081287384, -0.5645937323570251, -0.17644691467285156, -0.14000506699085236, -0.39116793870925903, 0.42953187227249146, 0.3280169665813446, 0.5560448169708252, 0.4619688093662262, -0.4918474555015564, -0.5184371471405029, -0.20201179385185242, 0.4053639769554138, 0.329552561044693, 0.321024626493454, -0.16032645106315613, 0.5209276080131531, -0.7047753930091858, 0.5513277649879456, -0.4434954822063446, -0.5334257483482361, 0.46493926644325256, -0.25905776023864746, -0.19302727282047272, -0.46969619393348694, 0.6107867956161499, 0.6225309371948242, 0.0829479768872261, -0.38975775241851807, -0.433818519115448, 0.3875804543495178, 0.5781760811805725, -0.6805016398429871, 0.15235768258571625, 0.293578177690506, -0.25991323590278625, -0.1997232288122177, -0.013356776908040047, -0.46059450507164, -0.4465634822845459, -0.3628504276275635, 0.6489611268043518, -0.23531542718410492, -0.3184433877468109, -0.32661089301109314, -0.3765872120857239, -0.01355653628706932, 0.627088189125061, -0.14493708312511444, 0.6941522359848022, 0.5693820714950562, 0.9466190934181213, -0.42839914560317993, -0.44353559613227844, -0.8663981556892395, -0.03388739377260208, -0.17386558651924133, 0.7167632579803467, -0.4967864155769348, -0.22273221611976624, -0.12803494930267334, 0.04477393254637718, 0.16442346572875977, -0.5305747985839844, 0.2354453057050705, -0.32628968358039856, -0.21618972718715668, 0.03966889530420303, -0.012114005163311958, -0.03557106480002403, 0.782425582408905, -0.6294464468955994, 1.074215054512024, 0.2297956943511963, -0.3400672674179077, 0.23487547039985657, -0.9739362597465515, -0.35207173228263855, 0.0460914708673954, -0.09655967354774475, -0.12870222330093384, 0.13549888134002686, 0.01487389300018549, 0.2748912572860718, -0.35761335492134094, -0.15910016000270844, -0.5365115404129028, -0.37142887711524963, 0.042698800563812256, -0.2877974808216095, 0.5715044140815735, 0.35213539004325867, -0.26947394013404846, 0.2833297550678253, -0.7067269682884216, 0.41724732518196106, 0.04848964512348175, -0.16687756776809692, -0.3448570668697357, -0.09435858577489853, 0.33711400628089905, 0.2956988215446472, 0.3230256736278534, -1.0115835666656494, 0.5104507207870483, 0.32527464628219604, 0.15217246115207672, 0.671930193901062, -0.3097934424877167, 0.08188788592815399, -0.3933807909488678, 0.7655552625656128, 0.023014433681964874, 0.6256885528564453, -0.1112535372376442, -0.4380713105201721, -0.18885158002376556, -0.5410290360450745, -0.18342354893684387, 0.5493752360343933, -0.893558919429779, -0.23287354409694672, -0.3586045205593109, -0.6250958442687988, -0.17268913984298706, 0.10163029283285141, 0.6326481103897095, 0.32141441106796265, 0.31699883937835693, -0.5397008657455444, -0.2503250241279602, -1.0067529678344727, -0.1536407768726349, -0.12252745032310486, -0.03320220857858658, 0.3919045031070709, 0.5768860578536987, -0.69697105884552, 1.2605724334716797, -0.3394375145435333, -0.2598317265510559, -0.03578411415219307, 0.12340206652879715, -0.10170242935419083, 0.288474977016449, 0.39083895087242126, -0.7957723140716553, -0.46951571106910706, 0.31479835510253906, -0.9906257390975952, -0.1426176279783249, 0.060576438903808594, -0.08890608698129654, -0.010324270464479923, 0.3575287163257599, -0.3999277353286743, 0.24176649749279022, 0.6177809834480286, -0.16107195615768433, 0.6364821791648865, -0.5964404344558716, 0.203190878033638, -0.5879572033882141, 0.28790250420570374, -0.008311791345477104, -0.5738471150398254, -0.4974317252635956, 0.5381848812103271, 0.2521500289440155, -0.41079092025756836, -0.45952922105789185, 0.7207943797111511, -0.5134725570678711, -0.4235425591468811, -0.17902080714702606, 0.13358139991760254, -0.10296397656202316, 0.5515490770339966, -0.1567305326461792, 0.9747787117958069, 0.4834069609642029, -0.5522264242172241, 0.5945977568626404, -0.19152869284152985, -0.1350930780172348, 0.8048940896987915, -0.5780377388000488, 0.2694140374660492, 0.11879435181617737, 0.30651620030403137, -0.8303911685943604, -0.22965459525585175, 0.10655106604099274, -0.1821136474609375, -0.35952430963516235, 0.2254810929298401, -0.6073575615882874, -0.3254353404045105, -0.48515141010284424, 0.3439871668815613, 0.48364412784576416, -0.4669974446296692, 0.7261873483657837, 0.35232821106910706, 0.13172295689582825, -0.7262205481529236, -0.2785009741783142, 0.15801148116588593, 0.23142282664775848, -0.6132586598396301, 0.20964431762695312, -0.3797132670879364, -0.590190052986145, 0.024487266317009926, -0.31653764843940735, -0.03584878891706467, 0.39638713002204895, 0.7710396647453308, 0.05904805287718773, -0.2147969752550125, -0.11579649150371552, 0.012775334529578686, -0.14673008024692535, -0.1713368445634842, -0.17016997933387756, 0.012676168233156204, -0.3975648283958435, -0.470233678817749, -0.2626490592956543, 0.250313937664032, 1.0364383459091187, -0.10526499152183533, 0.3651885986328125, 0.5104668736457825, -0.4125506579875946, -0.27284491062164307, -0.5365808606147766, 0.24513199925422668, -0.4439200460910797, 0.2304743528366089, -0.5663039684295654, -0.5398542284965515, 0.3196556270122528, -0.395253449678421, 0.4282971918582916, 0.2180347442626953, 0.2063557207584381, 0.09818542003631592, 1.0732802152633667, 0.8204444050788879, 0.028004683554172516, 0.41473469138145447, -0.11586706340312958, -0.22428490221500397, -0.7819696068763733, -0.05855509638786316, -0.15286940336227417, -0.2979409396648407, -0.37724441289901733, -0.5279778242111206, 0.8159686326980591, -0.3524230122566223, -0.073603056371212, 0.3466075658798218, -0.4325387477874756, 0.4940037131309509, 0.6323005557060242, 0.12533332407474518, 0.24082060158252716, -0.011446960270404816, -0.3595484793186188, 0.3252719044685364, -0.2452695369720459, -0.5088096857070923, 0.9899717569351196, 0.27287957072257996, 0.7157152891159058, 0.19188399612903595, 0.37754788994789124, 1.0332088470458984, 0.579903244972229, -0.5181714296340942, 0.6358668208122253, 0.25982189178466797, -0.6149033904075623, -0.546752393245697, -0.2449791431427002, -0.8537173271179199, 0.7059014439582825, -0.1875324249267578, -0.7455087900161743, -0.06675361841917038, 0.07387692481279373, -0.2990434467792511, 0.17348186671733856, -0.6086558699607849, 1.148066520690918, -0.24593786895275116, -0.7414364814758301, -0.28866803646087646, -0.5998049378395081, 0.06481363624334335, 0.28057828545570374, 0.4230507016181946, -0.280386745929718, -0.3890162408351898, 0.3675972819328308, -0.46862468123435974, 0.6380592584609985, -0.42895060777664185, -0.01081801950931549, 0.07945431768894196, 0.10778974741697311, 0.38505083322525024, -0.19446144998073578, -0.11294005066156387, 0.08282236009836197, 0.17539046704769135, -0.48046964406967163, -0.3994985520839691, 0.810144305229187, -1.0374757051467896, -0.17750942707061768, -0.7043002247810364, -0.6659650802612305, -0.5167506337165833, 0.22384284436702728, -0.18999134004116058, 0.7387477159500122, -0.5813564658164978, 0.19021748006343842, 0.5165624022483826, -0.11385280638933182, 0.29541251063346863, 0.8085044026374817, -0.25252655148506165, -0.2465137541294098, 1.0042245388031006, -0.041932277381420135, 0.3560832738876343, 0.391753226518631, -0.05018361657857895, -0.01063958927989006, -0.28974053263664246, -0.7388983964920044, -0.21816736459732056, -0.650216281414032, -0.06497296690940857, -0.6997321844100952, 0.24904078245162964, -0.39561283588409424, -0.22487851977348328, -0.46362951397895813, -0.11894256621599197, 0.27009159326553345, 0.2615026831626892, -0.07145906239748001, 0.8654592633247375, -0.18636198341846466, 0.24850942194461823, -0.5125411748886108, 0.6405042409896851, 0.5349358320236206, 0.37858977913856506, -0.13079874217510223, 0.10420801490545273, -0.3080044984817505, -0.025927720591425896, -0.699489176273346, -0.44240906834602356, 0.2452470064163208, 0.17423097789287567, 0.9371344447135925, 0.47676557302474976, 0.27795082330703735, 0.6617236137390137, -0.24617300927639008, 0.8359258770942688, 0.12717758119106293, -0.9352758526802063, 0.42459776997566223, -0.16606245934963226, 0.38648030161857605, 0.6222848892211914, 0.34874358773231506, -0.5813158750534058, -0.4505748450756073, -0.40311193466186523, -0.7022433280944824, 1.0023548603057861, 0.22203437983989716, -0.13175345957279205, 0.10755839198827744, -0.10490705817937851, 0.3506118655204773, 0.2624783515930176, -0.8124715089797974, -0.14608216285705566, -0.012330655939877033, 0.06293291598558426, -0.3018916845321655, 0.12155412137508392, -0.2334618717432022, 0.12752129137516022, 0.6827713251113892, -0.42265546321868896, 0.26108643412590027, 0.269520103931427, -0.648082435131073, -0.17066001892089844, 0.05261145904660225, 0.7463734149932861, 0.8548634052276611, -0.3690078556537628, 0.32017040252685547, 0.08221858739852905, -0.5449718832969666, 0.19412152469158173, 0.05714994668960571, 0.07877738773822784, -0.341632604598999, 0.49418148398399353, 0.5649555921554565, 0.04112441837787628, -1.2801433801651, 0.5582102537155151, -0.34733346104621887, 0.06098064407706261, -0.33467912673950195, 0.32769468426704407, -0.1778545379638672, 0.3369991183280945, 0.4542771577835083, 0.18866664171218872, 0.2992676794528961, -1.0215528011322021, -0.05089646205306053, 0.5170895457267761, -0.5929524302482605, -0.24936148524284363, 0.6695404648780823, 0.33783456683158875, -0.36113759875297546, 0.5881963968276978, -0.3263554871082306, -0.14772439002990723, 0.8520846366882324, 0.37455493211746216, 0.9415911436080933, -0.027028974145650864, 0.11551828682422638, 0.08526330441236496, 0.4894351661205292, 0.001669619930908084, 0.24388179183006287, -0.6786375641822815, -0.4157748818397522, 0.027700649574398994, -0.5373304486274719, -1.011244773864746, -0.22247286140918732, -0.5388574004173279, -0.2842506766319275, -0.4314334988594055, -0.18359695374965668, -0.06525908410549164, 0.06799283623695374, -0.6426326632499695, 0.3479679524898529, 0.2808532416820526, 0.9069465398788452, -0.7921210527420044, 0.6410796642303467, 1.0860233306884766, -0.2049848437309265, 0.027295667678117752, 0.012207693420350552, 0.09804674983024597, -0.6216006875038147, 0.4900398254394531, 0.47069987654685974, -0.4609314501285553, -0.47260937094688416, -0.49051937460899353, -0.687358558177948, 1.255658745765686, 0.22857216000556946, -0.3491671085357666, 0.22706115245819092, 0.20464454591274261, 0.6419111490249634, -0.2915036976337433, 0.9253549575805664, -0.10744535177946091, 0.5864965319633484, -0.3590236306190491, -1.1072437763214111, 0.10407156497240067, -0.6805291771888733, 0.16821765899658203, 0.04430794343352318, -0.6756163239479065, 1.0223278999328613, -0.11194821447134018, -0.03362295404076576, 0.1338459700345993, 0.4665726125240326, 0.13838429749011993, 0.8382214307785034, 0.9624342322349548, 0.42853230237960815, 0.4909423291683197, 0.017510881647467613, 1.1641966104507446, -0.2712610065937042, 0.1024181991815567, 0.5746015310287476, -0.5445528626441956, 0.6718263626098633, 0.2598459720611572, -0.20383235812187195, 0.4531904458999634, 0.32126083970069885, 0.5405336022377014, 0.43189382553100586, 0.051921285688877106, -0.3486408591270447, -0.44780170917510986, -0.21838708221912384, -0.18863503634929657, 0.17932191491127014, 0.1836232990026474, 0.23390644788742065, -0.23444169759750366, 0.5349214673042297, -0.2694143056869507, -0.012828076258301735, -0.23776941001415253, 0.7302817702293396, -0.3218972980976105, -0.8053584694862366, 0.2564656138420105, 0.042446430772542953, 0.7482584714889526, -1.0144928693771362, -0.18427863717079163, -0.17174814641475677, 0.3958858847618103, -0.002615422010421753, -0.5242528915405273, -0.14396998286247253, -0.022572658956050873, -0.1669752299785614, -0.5932415723800659, 0.6256052255630493, 0.1316438764333725, -0.15357764065265656, 0.40480291843414307, 0.4249110221862793, 0.25713974237442017, -0.3461582064628601, -0.4566977620124817, 0.3612898290157318, -0.3222963511943817, -0.3040098547935486, 0.6507828831672668, 0.3111456632614136, -0.41485124826431274, 1.0051722526550293, 0.6722533702850342, -0.35761532187461853, -0.19966977834701538, -0.4151216149330139, 0.8053247928619385, -0.5349602103233337, -0.6109184622764587, -0.42285287380218506, 0.34649357199668884, -0.21609915792942047, -0.47239911556243896, 0.7662191390991211, 0.8724473118782043, 0.7340631484985352, -0.1604590117931366, 0.9252821207046509, -0.389949768781662, 0.2635505497455597, 0.07453453540802002, 0.41258981823921204, -1.0079286098480225, -0.34975364804267883, -0.289631187915802, -0.7935988306999207, 0.14307153224945068, 0.36552858352661133, -0.011671951040625572, 0.038849350064992905, 0.38974112272262573, 0.6787559986114502, -0.46936464309692383, -0.08313886821269989, 0.7410476207733154, 0.078946553170681, 0.3473922908306122, 0.39660489559173584, 0.9574225544929504, -0.13405779004096985, 0.5720890164375305, -0.48551511764526367, -0.5608004331588745, -0.40083181858062744, -0.8805075883865356, -0.5781469941139221, -0.45579278469085693, -0.32905322313308716, -0.08506737649440765, 0.42497822642326355, 1.0935053825378418, 0.9695495367050171, -0.5492981672286987, -0.4001474976539612, 0.20421139895915985, -0.01969044841825962, -0.8465228080749512, -0.1628912091255188, -0.349219411611557, -0.22161199152469635, -0.7388073801994324, 0.6484392881393433, 0.41305360198020935, -0.35092294216156006, -0.3955516517162323, -0.17810028791427612, 0.17306122183799744, 0.016742747277021408, 0.8839138746261597, 0.6059421896934509, -0.6654052734375, -0.24285562336444855, -0.029453236609697342, -0.3833058178424835, -0.24581798911094666, 0.669111430644989, -1.056924819946289, 0.7074169516563416, 0.25761494040489197, 0.40078264474868774, 0.23100487887859344, 0.10019399970769882, 0.3750499188899994, -0.7836786508560181, 0.06825129687786102, 0.13933221995830536, 0.12711763381958008, 0.03378205746412277, -0.10166793316602707, 0.7465327382087708, 0.2563610374927521, -0.4232044517993927, -1.0117156505584717, -0.097289077937603, -1.2557212114334106, -0.34864726662635803, 0.7813377380371094, -0.20942772924900055, -0.18150362372398376, -0.09922902286052704, -0.2996295690536499, -0.10275454074144363, -0.48210716247558594, 0.4741480052471161, 0.3770861029624939, -0.3809225559234619, 0.2969013452529907, -0.7656782269477844, -0.06883940100669861, 0.026218673214316368, -1.038175106048584, 0.06725297123193741, 0.6906093955039978, 0.17639204859733582, 0.4002745747566223, 0.7293555736541748, 0.39565256237983704, 0.465006023645401, 0.3521810472011566, 0.5433380603790283, -0.558628499507904, -0.5326501727104187, 0.12510105967521667, 0.49873030185699463, -0.0842328667640686, -0.4289652109146118 ]
http://arxiv.org/abs/2404.07965v2
http://arxiv.org/pdf/2404.07965v2
Rho-1: Not All Tokens Are What You Need
2024-04-11T17:52:01
2024-05-23T06:57:07
Zhenghao Lin, Zhibin Gou, Yeyun Gong, Xiao Liu, Yelong Shen, Ruochen Xu, Chen Lin, Yujiu Yang, Jian Jiao, Nan Duan, Weizhu Chen
cs.CL
cs.CL, cs.AI
Previous language model pre-training methods have uniformly applied a next-token prediction loss to all training tokens. Challenging this norm, we posit that ''Not all tokens in a corpus are equally important for language model training''. Our initial analysis examines token-level training dynamics of language model, revealing distinct loss patterns for different tokens. Leveraging these insights, we introduce a new language model called Rho-1. Unlike traditional LMs that learn to predict every next token in a corpus, Rho-1 employs Selective Language Modeling (SLM), which selectively trains on useful tokens that aligned with the desired distribution. This approach involves scoring pretraining tokens using a reference model, and then training the language model with a focused loss on tokens with higher scores. When continual pretraining on 15B OpenWebMath corpus, Rho-1 yields an absolute improvement in few-shot accuracy of up to 30% in 9 math tasks. After fine-tuning, Rho-1-1B and 7B achieved state-of-the-art results of 40.6% and 51.8% on MATH dataset, respectively - matching DeepSeekMath with only 3% of the pretraining tokens. Furthermore, when pretraining on 80B general tokens, Rho-1 achieves 6.8% average enhancement across 15 diverse tasks, increasing both efficiency and performance of the language model pre-training.
[ -0.17038753628730774, -0.7039106488227844, 0.1311509609222412, 0.0650450587272644, -0.49393871426582336, 0.1819673478603363, 0.04094333574175835, -0.30687177181243896, 0.31707099080085754, 0.478553831577301, -0.6654893755912781, -0.669875979423523, -0.8259602785110474, -0.09540572762489319, -0.4731632173061371, 1.026198148727417, 0.08764539659023285, 0.3287951946258545, -0.17874537408351898, -0.29846319556236267, -0.4227515459060669, -0.6777029037475586, -0.6015763878822327, -0.39723244309425354, 0.713196337223053, 0.336525022983551, 0.4209284782409668, 0.8440191149711609, 0.6351580023765564, 0.10139439254999161, 0.04174061864614487, -0.09774987399578094, -0.6582366824150085, 0.022810762748122215, 0.06609378755092621, -0.7236267328262329, -0.4378001391887665, 0.08288335800170898, 0.6280643343925476, 0.8156135678291321, -0.38956332206726074, 0.3934381306171417, -0.2602490484714508, 0.5898829102516174, -0.7737802267074585, -0.16388064622879028, -0.9735232591629028, 0.2144770473241806, -0.6044249534606934, -0.18048392236232758, -0.544811487197876, -0.19188271462917328, 0.05684163048863411, -0.7119210362434387, 0.24380818009376526, 0.3855205774307251, 0.7094358205795288, 0.29878923296928406, -0.06524412333965302, -0.12370917946100235, -0.2069644033908844, 0.9339116215705872, -0.6321941018104553, 0.5806940793991089, 0.4972994029521942, 0.08573772013187408, 0.09397481381893158, -0.6795740723609924, -0.2836703658103943, -0.13215307891368866, 0.04676327481865883, 0.13366545736789703, -0.10724867880344391, 0.13281279802322388, 0.0434829406440258, 0.02276115119457245, -0.4530324637889862, 0.2689497768878937, -0.35795116424560547, -0.49639612436294556, 0.08025544881820679, 0.3145217299461365, 0.1571808159351349, 0.10321816056966782, -0.3866347670555115, -0.1660718470811844, -0.6199618577957153, 0.062167298048734665, 0.39630430936813354, 0.5296010375022888, -0.04646465927362442, 0.37532901763916016, 0.2755727171897888, 0.6994490027427673, -0.18538843095302582, -0.3290160894393921, -0.0824117511510849, -0.18060913681983948, -0.15108230710029602, 0.06720563024282455, 0.6413859128952026, -0.0037067821249365807, 0.4178692400455475, -0.23636236786842346, -0.18506215512752533, 0.18713808059692383, 0.3232198655605316, -0.8487736582756042, -0.1577426940202713, 0.024839822202920914, -0.527026355266571, -0.3403957188129425, 0.08465375751256943, -0.48943471908569336, -0.268812894821167, -0.2213403582572937, 0.12326471507549286, -0.39209726452827454, -0.5048548579216003, 0.08697275072336197, -0.01966041512787342, 0.127012237906456, 0.23524712026119232, -0.983281135559082, 0.641391932964325, 0.8551079630851746, 0.9110801815986633, -0.6076557636260986, -0.7279771566390991, -0.7734143137931824, -0.4372979402542114, -0.8279535174369812, 0.8688471913337708, -0.6780650019645691, -0.3192209005355835, 0.12320814281702042, -0.298149436712265, -0.15755309164524078, -0.5520220398902893, 0.2737811505794525, -0.5672013759613037, 0.002828601049259305, -0.03479107841849327, -0.6132050156593323, 0.13333049416542053, 0.15859025716781616, -0.5881830453872681, 1.1236207485198975, 0.17861296236515045, -0.810630202293396, 0.7470115423202515, -0.3743464946746826, -0.42728063464164734, -0.055253006517887115, -0.048705123364925385, -0.4935338497161865, 0.3654024004936218, 0.030907534062862396, 0.215219184756279, -0.20037299394607544, 0.1477515548467636, -0.4678727984428406, -0.4335480332374573, 0.1754383146762848, -0.1849602907896042, 0.4509872794151306, 0.1337554156780243, 0.006725165992975235, 0.3009551167488098, -0.8783601522445679, 0.24020850658416748, -0.0005963658331893384, -0.37006086111068726, -0.1528770625591278, -0.2948429584503174, 0.22085101902484894, 0.12265598028898239, 0.09744245558977127, -0.5197041034698486, 0.13897253572940826, -0.6335556507110596, 0.1558377742767334, 0.889271080493927, -0.3419042229652405, 0.7197763323783875, -0.19194744527339935, 1.0767724514007568, 0.23902413249015808, 0.11415055394172668, -0.2611553966999054, -0.35204994678497314, -0.7372705936431885, -0.3709357976913452, 0.535647451877594, 0.5781189799308777, -0.19081322848796844, 0.2717786133289337, -0.21760447323322296, -0.5427588820457458, -0.8253146409988403, 0.18244658410549164, 0.677263617515564, 0.5880565047264099, 0.28407609462738037, -0.35483264923095703, -0.926787257194519, -0.8060820698738098, -0.4767521917819977, -0.06748669594526291, 0.43631282448768616, -0.173171728849411, 0.4313901960849762, -0.16321450471878052, 1.2454766035079956, -0.17572209239006042, -0.28741660714149475, -0.4890177547931671, 0.11133666336536407, 0.10420257598161697, 0.3953021168708801, 0.4918324649333954, -0.33264055848121643, -0.44374725222587585, 0.06186883896589279, -0.48225077986717224, -0.02239857241511345, 0.0758306011557579, -0.06914454698562622, 0.2854653298854828, 0.46237099170684814, -0.2026190608739853, 0.5328987836837769, 0.6558247208595276, -0.08334596455097198, 0.3549549877643585, -0.2033921480178833, -0.38497453927993774, -0.8541298508644104, 0.18517667055130005, -0.311933696269989, -0.27685245871543884, -0.544142484664917, -0.02946518175303936, 0.13743944466114044, -0.2800726592540741, -0.6572023630142212, 1.1707007884979248, -0.21503393352031708, -0.187994122505188, -0.3538403809070587, 0.11202266812324524, -0.11871638149023056, 0.7659352421760559, -0.016626300290226936, 0.8180216550827026, 0.9006568789482117, -0.6704152226448059, -0.1269657015800476, 0.17652659118175507, -0.4159396290779114, -0.025272218510508537, -0.6330106258392334, 0.3267929255962372, -0.31840765476226807, 0.04685794189572334, -0.9066020846366882, 0.11148270219564438, 0.0851488783955574, -0.5996121168136597, 0.4186197817325592, 0.01853836514055729, -0.26898622512817383, -0.17629477381706238, -0.22605818510055542, 0.43316906690597534, 0.48765596747398376, -0.2619994878768921, 0.6273863911628723, 0.38229504227638245, -0.05022618547081947, -1.0163021087646484, -0.8784250617027283, -0.2005559802055359, -0.10104437917470932, -0.15808507800102234, 0.100283682346344, 0.03412764519453049, -0.12655530869960785, -0.015832144767045975, -0.367554634809494, -0.1185593381524086, 0.28392502665519714, 0.25274112820625305, 0.2045113742351532, -0.030978497117757797, 0.24175575375556946, -0.15316885709762573, -0.502963662147522, -0.17640094459056854, -0.39023229479789734, 0.7758171558380127, 0.003944779746234417, -0.4662216901779175, -0.6114693284034729, 0.2738634943962097, 0.48352599143981934, -0.3224281072616577, 0.9063996076583862, 0.5646684169769287, -0.2845744490623474, -0.1078137680888176, -0.5178079009056091, -0.21109077334403992, -0.3376159071922302, 0.7609440088272095, -0.6248385906219482, -0.8066795468330383, 0.8541341423988342, 0.09668637812137604, 0.1887284219264984, 0.3363313674926758, 0.3883649706840515, 0.2217966914176941, 1.0519658327102661, 0.8058733940124512, -0.2243371456861496, 0.8246870040893555, -0.20172271132469177, 0.20952771604061127, -0.6428573131561279, -0.1263510137796402, -0.4956868588924408, -0.1289769560098648, -0.4224947392940521, -0.05686606094241142, 0.08097448945045471, 0.33272525668144226, -0.24941585958003998, 0.22882486879825592, -0.3957194983959198, 0.4917689859867096, 0.6350686550140381, 0.04491155594587326, -0.0040965611115098, 0.18812386691570282, -0.2793169915676117, -0.17861497402191162, -1.1509360074996948, -0.39485225081443787, 1.3363488912582397, 0.49552035331726074, 0.9409827589988708, -0.17374518513679504, 0.9333528280258179, 0.13304826617240906, 0.6983017325401306, -0.945130467414856, 0.4554603695869446, -0.11077342182397842, -0.7548084855079651, -0.5018421411514282, -0.39682939648628235, -1.130086898803711, 0.20146168768405914, -0.26771098375320435, -0.3089312016963959, -0.18772941827774048, 0.2057766169309616, -0.39995530247688293, 0.2436111867427826, -0.5545606017112732, 0.872904360294342, -0.1096426323056221, -0.23795567452907562, -0.2062988579273224, -0.5653467178344727, 0.1419162154197693, -0.25909700989723206, 0.40108683705329895, -0.1759587973356247, -0.14172132313251495, 0.9016897082328796, -0.5776151418685913, 0.8005331754684448, -0.16176383197307587, -0.009610936045646667, 0.4830264747142792, 0.2228482961654663, 0.5234313011169434, -0.16523735225200653, -0.2026771903038025, 0.20380602777004242, 0.06822177022695541, -0.722885251045227, -0.5955960750579834, 0.26597848534584045, -0.8196799755096436, -0.3719363510608673, -0.4953233599662781, -0.17250163853168488, 0.027640772983431816, 0.244630366563797, 0.4968295693397522, 0.7643449902534485, -0.2557610273361206, 0.20742027461528778, 0.4646906852722168, -0.07889451831579208, 0.22403837740421295, 0.2586056888103485, -0.4546327590942383, -0.6269612312316895, 0.7512320280075073, -0.00669766403734684, 0.44638022780418396, 0.6088995337486267, 0.3933725357055664, -0.48632726073265076, -0.6745573282241821, -0.29862064123153687, 0.1936277151107788, -1.0838207006454468, -0.25750014185905457, -0.6766940355300903, 0.02774793840944767, -0.7353050112724304, -0.045970115810632706, -0.516669750213623, -0.2235063761472702, -0.2326807826757431, -0.250842809677124, 0.30607151985168457, 0.5786904692649841, -0.03753761574625969, 0.474347323179245, -0.7828603386878967, 0.10667754709720612, 0.38778042793273926, 0.5137917399406433, 0.0833243727684021, -0.8392385244369507, -0.2794629633426666, -0.07238098978996277, 0.15981438755989075, -0.6079273819923401, 0.368422269821167, 0.28879839181900024, 0.7512053847312927, 0.2168830931186676, -0.3046204447746277, 0.87257981300354, -0.5835040211677551, 0.5902667045593262, 0.5627907514572144, -0.9173614978790283, 0.5056132078170776, -0.1840677261352539, 0.27014273405075073, 0.8495022058486938, 0.034184619784355164, -0.46674033999443054, -0.14809654653072357, -0.6074281930923462, -0.505311906337738, 1.0174510478973389, -0.04240516573190689, 0.25481414794921875, -0.2831406891345978, 0.4546229839324951, 0.27016985416412354, 0.2356303185224533, -0.9087279438972473, -0.4412756562232971, -0.4162712097167969, -0.24456682801246643, 0.02057821862399578, -0.1589445322751999, 0.1311037391424179, -0.2518504858016968, 0.6041558384895325, -0.13949228823184967, 0.08754000812768936, 0.013438551686704159, -0.2839134931564331, -0.2589096426963806, 0.048846714198589325, 0.6434966325759888, 0.9336151480674744, -0.1584015190601349, 0.0359005331993103, 0.37703555822372437, -0.6483194231987, -0.06631766259670258, -0.3128340244293213, 0.16603979468345642, 0.18588241934776306, 0.7783033847808838, 1.160570740699768, 0.5306151509284973, -0.7787681221961975, 0.46234431862831116, 0.08447998017072678, -0.22647777199745178, -0.11049699038267136, -0.005290079861879349, -0.19470497965812683, -0.31331825256347656, 0.3816046714782715, 0.07224074006080627, -0.43205565214157104, -0.8899519443511963, 0.23161447048187256, 0.37655970454216003, -0.41949453949928284, -0.23996460437774658, 0.5763221979141235, 0.06294871866703033, -0.618187427520752, 0.5475398302078247, -0.26560279726982117, -0.6068973541259766, 0.6486217975616455, 0.6943288445472717, 0.8357418179512024, -0.20244519412517548, 0.06350892782211304, 0.5936475992202759, 0.19444639980793, -0.21450531482696533, 0.1218566745519638, 0.04972678795456886, -0.7236382961273193, -0.4450750946998596, -0.9950317144393921, -0.5306459665298462, -0.14830166101455688, -0.7102561593055725, 0.49713096022605896, -0.606082022190094, -0.12298031896352768, -0.2593330144882202, -0.032765962183475494, -0.8577536940574646, 0.24631480872631073, -0.1462005376815796, 0.8951314091682434, -0.6151577830314636, 1.07081937789917, 0.6296621561050415, -0.33601561188697815, -0.7122180461883545, -0.458220899105072, -0.46323493123054504, -1.2278075218200684, 0.8669933676719666, 0.042015355080366135, -0.0914100855588913, 0.36769574880599976, -0.40915948152542114, -1.0216310024261475, 0.8782594799995422, 0.3834223747253418, -0.7816921472549438, -0.07091692090034485, 0.20579984784126282, 0.3794080317020416, -0.5442302823066711, 0.3079156279563904, 0.37886756658554077, 0.26307931542396545, 0.05905238538980484, -0.856446385383606, -0.35648149251937866, -0.06213272362947464, 0.022920232266187668, 0.4732048511505127, -0.3712295591831207, 1.0114270448684692, -0.25042229890823364, -0.3771730363368988, 0.07592238485813141, 0.5844739675521851, 0.5168265104293823, 0.317010760307312, 0.5524200201034546, 0.617283821105957, 0.7443556189537048, 0.138278990983963, 1.1406304836273193, -0.42380303144454956, 0.36827805638313293, 1.1069316864013672, -0.13161127269268036, 0.9006500840187073, 0.3741627335548401, -0.38947612047195435, 0.4052746593952179, 0.631597101688385, 0.40638500452041626, 0.5382870435714722, 0.2819210886955261, 0.06900623440742493, -0.6099542379379272, 0.14427146315574646, -0.34805235266685486, 0.4071895480155945, 0.14985309541225433, -0.0179873239248991, -0.2372969388961792, 0.28486597537994385, -0.05348639562726021, 0.2431877702474594, -0.2767850458621979, 0.663589596748352, 0.13758344948291779, -0.7946726083755493, 0.6078357696533203, -0.15894615650177002, 0.870712161064148, -0.9953247904777527, 0.21872766315937042, -0.43219467997550964, 0.16588447988033295, -0.02320345677435398, -0.3098295032978058, 0.3581453859806061, -0.03931594267487526, -0.05287604033946991, -0.41133877635002136, 0.6320191025733948, -0.22865284979343414, -0.5886534452438354, 0.31202730536460876, 0.6959843635559082, 0.31025999784469604, -0.11987173557281494, -0.7208932638168335, 0.17526422441005707, -0.20868825912475586, -0.19593149423599243, 0.5079988241195679, 0.3568377196788788, 0.07050030678510666, 0.702308177947998, 0.8110743165016174, 0.18290287256240845, 0.34403151273727417, 0.4757811427116394, 0.6380834579467773, -0.7265410423278809, -0.4336141347885132, -0.8073115944862366, 0.3219940960407257, 0.18934926390647888, -0.7905970215797424, 0.5265329480171204, 0.5288594365119934, 0.7558445930480957, 0.006121870130300522, 0.611436128616333, 0.3242017328739166, 0.7377446293830872, -0.48992013931274414, 0.3763974905014038, -0.6027030944824219, -0.05570370331406593, -0.0645492821931839, -0.9219651818275452, -0.452604204416275, 0.7851623296737671, 0.06254412233829498, -0.03327009081840515, 0.9112672805786133, 0.7767118811607361, 0.20826129615306854, -0.2552069425582886, 0.5816868543624878, -0.15742599964141846, 0.20738813281059265, 0.300285667181015, 0.7577932476997375, -0.6476085782051086, 0.6961407661437988, -0.058986980468034744, -0.10550689697265625, -0.21488748490810394, -0.7461661100387573, -1.0656890869140625, -0.46424099802970886, -0.22234933078289032, -0.15005311369895935, -0.027621354907751083, 0.9995682239532471, 0.9296748042106628, -0.7955982089042664, -0.13642913103103638, -0.48416802287101746, -0.019241277128458023, -0.2655336260795593, -0.14590801298618317, 0.19707468152046204, -0.8189355134963989, -0.6324065923690796, 0.2615211009979248, 0.19775032997131348, 0.03887634351849556, -0.44030994176864624, -0.09964019805192947, -0.14328962564468384, -0.02169898711144924, 0.4826158285140991, 0.22512778639793396, -0.9383409023284912, -0.11657196283340454, 0.47985631227493286, -0.18609021604061127, 0.06769712269306183, 0.9856696128845215, -0.9117335677146912, 0.4080153703689575, 0.42139145731925964, 0.6967144012451172, 0.5380560159683228, -0.12368077784776688, 0.3221721053123474, -0.736420214176178, 0.49868494272232056, 0.3553614914417267, 0.31032806634902954, 0.1481652408838272, 0.030859701335430145, 0.4807884991168976, 0.239456906914711, -0.3579455018043518, -1.0390478372573853, 0.2805309295654297, -0.9114311337471008, -0.3416116535663605, 1.0025357007980347, -0.052951447665691376, -0.2734714448451996, -0.11542636901140213, -0.16230972111225128, 0.3485516309738159, -0.33206069469451904, 0.5883439183235168, 0.9469395279884338, 0.1190873309969902, -0.21601402759552002, -0.3615169823169708, 0.4417966306209564, 0.7874775528907776, -0.6135167479515076, 0.18218663334846497, 0.05095253139734268, 0.2540459632873535, 0.2255553901195526, 0.9283468723297119, 0.08451028168201447, 0.13975824415683746, 0.2848789691925049, 0.11070212721824646, -0.12427259236574173, -0.534043550491333, -0.3423876166343689, 0.1673451066017151, 0.23683956265449524, -0.3102353513240814 ]
http://arxiv.org/abs/2404.08707v4
http://arxiv.org/pdf/2404.08707v4
Large Language Model Can Continue Evolving From Mistakes
2024-04-11T17:44:56
2024-06-17T11:32:29
Haokun Zhao, Haixia Han, Jie Shi, Chengyu Du, Jiaqing Liang, Yanghua Xiao
cs.LG
cs.LG, cs.AI, cs.CL
As world knowledge evolves and new task paradigms emerge, Continual Learning (CL) is crucial for keeping Large Language Models (LLMs) up-to-date and addressing their shortcomings. In practical applications, LLMs often require both continual instruction tuning (CIT) and continual pre-training (CPT) to adapt to new task paradigms and acquire necessary knowledge for task-solving. However, it remains challenging to collect CPT data that addresses the knowledge deficiencies in models while maintaining adequate volume, and improving the efficiency of utilizing this data also presents significant difficulties. Inspired by the 'summarizing mistakes' learning skill, we propose the Continue Evolving from Mistakes (CEM) method, aiming to provide a data-efficient approach for collecting CPT data and continually improving LLMs' performance through iterative evaluation and supplementation with mistake-relevant knowledge. To efficiently utilize these CPT data and mitigate forgetting, we design a novel CL training set construction paradigm that integrates parallel CIT and CPT data. Extensive experiments demonstrate the efficacy of the CEM method, achieving up to a 17% improvement in accuracy in the best case. Furthermore, additional experiments confirm the potential of combining CEM with catastrophic forgetting mitigation methods, enabling iterative and continual model evolution.
[ -0.016217704862356186, -0.7413510084152222, 0.49551963806152344, 0.29839199781417847, -0.23768562078475952, 0.35874536633491516, -0.6600762009620667, -0.008538867346942425, -0.29297325015068054, 0.46957477927207947, -0.6646050214767456, -0.4234582781791687, -0.5702502131462097, -0.16054213047027588, -0.02916654571890831, 0.9162840247154236, -0.10424032062292099, 0.16578169167041779, -0.30251017212867737, -0.2371107041835785, -1.0652728080749512, -0.501911461353302, -1.1200799942016602, -0.17739586532115936, 0.4193175137042999, 0.7564793229103088, 0.3881399631500244, 0.7559633851051331, 0.2684785723686218, 0.25846314430236816, -0.056542642414569855, 0.47106608748435974, -0.7876671552658081, 0.06231699511408806, -0.4839153289794922, -0.44261687994003296, -0.24789787828922272, -0.30710288882255554, 0.9460596442222595, 0.8457064032554626, -0.3689934015274048, 0.009185305796563625, 0.34767839312553406, 0.7777660489082336, -0.5608423352241516, 0.2889677882194519, -0.9385272860527039, -0.12823691964149475, -0.17881089448928833, -0.28910934925079346, -0.5459191203117371, -0.267222136259079, 0.14692524075508118, -0.4188208281993866, 0.2732028067111969, -0.09965190291404724, 0.6200845241546631, 0.3951021432876587, 0.19585244357585907, -0.3834378719329834, -0.6926085948944092, 0.9853326678276062, -0.7666686177253723, 0.44807812571525574, 0.14787137508392334, 0.15381421148777008, -0.2063804417848587, -0.522185206413269, -0.45637866854667664, -0.29525986313819885, 0.29737111926078796, 0.16781717538833618, 0.323209285736084, -0.34749308228492737, 0.0787581130862236, 0.12303303182125092, -0.5996830463409424, 0.18324558436870575, -0.3540020287036896, -0.027270786464214325, 0.4737730026245117, 0.12299665063619614, 0.40418103337287903, 0.5846105217933655, -0.3146905303001404, -0.3544151186943054, -1.1190828084945679, -0.1413871794939041, -0.03944668173789978, 0.30575332045555115, -0.12405192106962204, -0.006529191974550486, 0.20243851840496063, 0.7398248910903931, -0.07310980558395386, -0.28543952107429504, 0.30485036969184875, -0.27482542395591736, -0.1369163990020752, -0.013433934189379215, 0.5425399541854858, 0.04655618965625763, 0.4397275149822235, -0.1547899693250656, -0.16187484562397003, -0.0796249657869339, 0.4600341320037842, -0.27091100811958313, -0.5249213576316833, -0.10290905833244324, -0.10924486070871353, 0.024591555818915367, -0.18857072293758392, -0.589989423751831, -0.11213276535272598, -0.6966797709465027, 0.30218058824539185, -0.7056655287742615, -0.22928093373775482, 0.24171221256256104, 0.08484451472759247, 0.07034154236316681, 0.2504316568374634, -0.6946089267730713, 0.03668270260095596, 0.5892283916473389, 0.8146754503250122, -0.20047760009765625, -0.5977752208709717, -0.5646931529045105, 0.20336870849132538, -0.6523482203483582, 0.7035355567932129, -0.32287290692329407, -0.5180630683898926, -0.008356687612831593, 0.09174123406410217, -0.4919971525669098, -0.8214188814163208, 0.3596187233924866, -0.49118438363075256, -0.01483279187232256, -0.531421959400177, -0.6436406970024109, -0.08126389980316162, 0.4442192018032074, -0.3672826290130615, 0.7690294981002808, 0.18008437752723694, -0.5861897468566895, 0.3774629235267639, -0.45111167430877686, -0.17677150666713715, 0.15495310723781586, -0.09556417912244797, -0.8498995304107666, 0.18092764914035797, 0.21424667537212372, 0.3344772160053253, -0.04332152009010315, 0.2893719971179962, -0.3525925278663635, -0.2871367037296295, -0.0442182794213295, -0.3542376458644867, 0.6129862070083618, -0.2235431671142578, -0.320234090089798, -0.2076045423746109, -0.50703364610672, -0.06441681832075119, 0.2633552849292755, -0.45584169030189514, -0.25693944096565247, 0.3068470060825348, -0.44788023829460144, 0.42019152641296387, 0.4088188409805298, -0.4350002706050873, 0.15527677536010742, -0.23534232378005981, 0.17124421894550323, 0.8599418997764587, 0.2588486969470978, 0.10468541830778122, -0.8400638103485107, 0.27312543988227844, 0.29610952734947205, 0.12075138837099075, -0.44680434465408325, -0.04825471341609955, -1.1900111436843872, 0.16040335595607758, 0.062062159180641174, 0.7171401381492615, -0.8121263384819031, 0.40203461050987244, -0.6928008198738098, -0.66785728931427, -0.0056131999008357525, 0.44655346870422363, 0.6178574562072754, 0.48682358860969543, 0.6197803020477295, -0.17947277426719666, -0.6266493201255798, -0.5222477912902832, -0.18227925896644592, -0.1245136559009552, 0.2494126558303833, 0.054185133427381516, 0.42188116908073425, -0.24786119163036346, 0.7983222007751465, -0.2309328019618988, -0.047670878469944, -0.2581256628036499, 0.08417868614196777, 0.030413201078772545, 0.8703606724739075, 0.3029365539550781, -0.45530515909194946, -0.5754483938217163, 0.0649961605668068, -0.8499482274055481, 0.16632361710071564, -0.4980407655239105, -0.1308777630329132, 0.1596788763999939, 0.6006709337234497, -0.3478959798812866, -0.02100096084177494, 0.37543120980262756, -0.09761664271354675, 0.7482161521911621, -0.3537362813949585, -0.012569871731102467, -0.8849598169326782, -0.20227020978927612, -0.35304513573646545, -0.24809584021568298, -0.3324579894542694, -0.15162955224514008, 0.36855438351631165, 0.1747710257768631, -0.3663412034511566, 0.4788413643836975, -0.6416235566139221, 0.23113073408603668, -0.33109280467033386, 0.01795506849884987, -0.3860372006893158, 0.5534597635269165, 0.1213143914937973, 0.6724967956542969, 0.7667797803878784, -0.8672694563865662, -0.011782649904489517, 0.26006776094436646, -0.14767758548259735, 0.4585595428943634, -0.2542143762111664, 0.3079606592655182, -0.2291964441537857, -0.0466960072517395, -0.48452284932136536, -0.029125388711690903, -0.039924610406160355, -0.39324837923049927, 0.6826363205909729, 0.05387849360704422, -0.5085753202438354, -0.35779374837875366, -0.10439103096723557, 0.17234501242637634, 0.6539366245269775, -0.8698081374168396, 0.37503284215927124, 0.12557628750801086, -0.5583212971687317, -0.6153858304023743, -0.3598231077194214, 0.0671747699379921, -0.1867131143808365, -0.48034927248954773, 0.1684824526309967, -0.369549036026001, -0.008641809225082397, -0.26254910230636597, -0.28842929005622864, 0.21909703314304352, -0.06033916398882866, -0.08416790515184402, 0.3128519356250763, -0.11469727754592896, 0.3975663483142853, -0.012353894300758839, -0.005571404937654734, -0.04036397486925125, -0.5732820630073547, 0.6913394331932068, -0.08803020417690277, -0.20335963368415833, -0.2636314034461975, 0.1432667374610901, 0.5006120800971985, -0.07686425745487213, 0.7847942113876343, 0.14076152443885803, -0.3010454773902893, -0.5872615575790405, -0.7598394751548767, -0.029235288500785828, -0.4451678991317749, 0.4991767108440399, -0.26176291704177856, -0.8440902233123779, 0.39734187722206116, -0.25211042165756226, 0.5506904125213623, 0.2983699142932892, 0.4578019976615906, -0.35283008217811584, 0.5812710523605347, 0.8805627822875977, -0.22892220318317413, 0.48664119839668274, -0.11503065377473831, 0.0258624367415905, -0.7173455357551575, -0.08796343207359314, -0.26594823598861694, -0.04044325649738312, -0.08462516218423843, -0.3883917033672333, 0.32430627942085266, 0.46258544921875, -0.611674964427948, 0.3417728543281555, -0.2857608199119568, 0.4547920227050781, 0.24452802538871765, 0.39368510246276855, 0.25896093249320984, 0.038515836000442505, 0.01742621324956417, 0.006849979516118765, -0.8875628709793091, -0.25784969329833984, 1.2190513610839844, 0.28803330659866333, 0.5444950461387634, -0.07798024266958237, 0.7006571888923645, 0.14368019998073578, 0.6028372645378113, -0.24572284519672394, 0.32180699706077576, -0.1310032457113266, -0.03742583841085434, -0.2615366578102112, -0.512061357498169, -0.6855082511901855, -0.06885400414466858, 0.22821259498596191, -0.6350867748260498, 0.08132577687501907, 0.7561285495758057, -0.16141963005065918, 0.4395219385623932, -0.4347052574157715, 0.7754703164100647, -0.3479314148426056, -0.3451765179634094, -0.3292531967163086, -0.46756309270858765, 0.3461754322052002, -0.5623435974121094, 0.28298214077949524, 0.15835250914096832, -0.05037214979529381, 0.7025314569473267, -0.5477541089057922, 0.9464000463485718, -0.12283635884523392, -0.027124669402837753, 0.4587165415287018, 0.027562759816646576, 0.7499633431434631, 0.08454493433237076, 0.12888649106025696, 0.1907067447900772, -0.22752709686756134, -0.6345083117485046, -0.46218663454055786, 0.7359884977340698, -0.6638985276222229, -0.4270802438259125, -0.2430138736963272, -0.5713460445404053, -0.5771337151527405, 0.0010576583445072174, 0.47830337285995483, 0.33915773034095764, -0.0827314630150795, 0.23465076088905334, 0.9812639951705933, -0.3073030412197113, 0.6446176171302795, 0.463908851146698, 0.1979491114616394, -0.4116321802139282, 1.0707029104232788, 0.19274289906024933, 0.4842091202735901, 0.15608662366867065, 0.18014869093894958, -0.16899433732032776, -0.789297342300415, -0.27360135316848755, 0.3528329133987427, -0.7132291793823242, -0.31889626383781433, -0.6538118124008179, -0.2351098656654358, -0.165769562125206, -0.46769896149635315, -0.6251553297042847, 0.26922234892845154, -0.01476300973445177, 0.03819317743182182, 0.20807741582393646, 0.3142837882041931, -0.23322804272174835, 0.46769726276397705, -1.0926767587661743, -0.2225424200296402, 0.24339225888252258, 0.19623683393001556, 0.051589805632829666, -0.6017560958862305, -0.5889007449150085, 0.1509557068347931, -0.38325366377830505, -0.5932965874671936, 0.4522458612918854, 0.333301842212677, 0.5173631906509399, 0.052621595561504364, -0.2968716025352478, 0.7900348901748657, -0.5851832628250122, 0.7592894434928894, 0.2787594497203827, -0.693423867225647, 0.45889219641685486, -0.44619864225387573, 0.706547737121582, 0.7152302861213684, 0.2056991010904312, -0.6087841987609863, -0.3129481375217438, -0.6980993747711182, -0.7107052803039551, 0.5061070322990417, -0.08400557190179825, 0.07461750507354736, -0.22563914954662323, 0.46136993169784546, 0.13978321850299835, 0.12692178785800934, -0.6854848265647888, 0.0658336952328682, -0.09321669489145279, -0.32101505994796753, -0.24441415071487427, -0.1620628833770752, 0.10408015549182892, -0.20202180743217468, 1.0507302284240723, -0.16168320178985596, 0.1625768095254898, -0.12330035120248795, -0.5150887966156006, 0.1258528083562851, 0.16349810361862183, 0.5436300039291382, 0.9802426695823669, 0.17235223948955536, -0.15189440548419952, 0.6604872345924377, -0.5583465099334717, -0.001247851992957294, -0.28481239080429077, -0.07073290646076202, 0.016930583864450455, 0.43094706535339355, 0.5927053093910217, 0.45223698019981384, -0.9473240971565247, 0.3695039749145508, 0.2366330921649933, -0.16297712922096252, -0.8991257548332214, 0.22024548053741455, 0.3486303687095642, 0.04757651686668396, 0.10383446514606476, 0.12890489399433136, -0.5173214673995972, -0.4304460883140564, 0.4696972370147705, 0.12154188007116318, -0.40646854043006897, -0.04574479162693024, 0.24657371640205383, -0.18846376240253448, -0.16894812881946564, 0.9201605319976807, -0.20722012221813202, -0.5622937083244324, 0.6843113303184509, 0.6864324808120728, 0.6894198060035706, -0.497012734413147, -0.04127604514360428, 0.6719185709953308, 0.2746725380420685, -0.7501030564308167, 0.29075920581817627, -0.11809531599283218, -0.7889805436134338, -0.4545324444770813, -0.7365636825561523, -0.32578349113464355, 0.30051255226135254, -0.42282530665397644, 0.35667574405670166, -0.7024086713790894, 0.40706396102905273, -0.5787119269371033, -0.41480252146720886, -0.7440334558486938, 0.3779469430446625, -0.03910840302705765, 0.7844240069389343, -0.5622650980949402, 0.9711540937423706, 0.405362606048584, -0.2210792452096939, -0.948242723941803, 0.010684029199182987, 0.10186425596475601, -0.597872793674469, 0.5409814119338989, 0.05489040166139603, 0.057908911257982254, 0.12422829866409302, -0.5632369518280029, -1.020804524421692, 1.0845805406570435, 0.16315530240535736, -1.3068010807037354, -0.08940241485834122, -0.07551954686641693, 0.2599942088127136, -0.37361210584640503, -0.17109929025173187, 0.8307608962059021, 0.293056458234787, 0.11227862536907196, -0.8143540024757385, -0.24533934891223907, -0.10252474248409271, 0.03591722249984741, 0.33331504464149475, -0.6313270330429077, 0.8399840593338013, -0.25899237394332886, -0.25411292910575867, 0.0410538949072361, 0.49253562092781067, 0.6013253331184387, 0.06853026896715164, 0.5996887683868408, 0.8733444213867188, 0.7807793617248535, -0.1552646905183792, 0.645606517791748, -0.24226537346839905, 0.49377259612083435, 1.688999891281128, -0.0665724128484726, 0.8028229475021362, 0.10618281364440918, 0.09361854940652847, 0.4258589446544647, 0.7627030611038208, -0.19705790281295776, 0.5208960175514221, 0.33002564311027527, -0.5228791236877441, -0.4018247723579407, 0.5599920749664307, -0.31558048725128174, 0.2605161964893341, 0.6200848817825317, -0.28370121121406555, -0.42687568068504333, 0.3304700255393982, 0.3661397099494934, 0.15465517342090607, -0.49819403886795044, 0.7796109914779663, 0.1620291918516159, -0.8269472718238831, 0.7331746816635132, -0.228597953915596, 0.6767857074737549, -0.6097689867019653, -0.027505457401275635, -0.17583490908145905, 0.3770306408405304, 0.13307073712348938, -0.28420042991638184, 0.49345046281814575, -0.10481222718954086, -0.25783708691596985, -0.1953989863395691, 0.36061495542526245, -0.5525817275047302, -0.5084327459335327, 0.18150344491004944, 0.37798869609832764, 0.05267561599612236, 0.05164213851094246, -0.7127477526664734, 0.2393014132976532, 0.09334447234869003, -0.014831769280135632, 0.2651573717594147, 0.19462339580059052, -0.21537594497203827, 0.6843627691268921, 0.6289462447166443, 0.13579906523227692, 0.18129116296768188, -0.06891558319330215, 0.7930023074150085, -0.7173295021057129, -0.5542014241218567, -0.917280912399292, 0.6885578036308289, -0.24648262560367584, -0.5312557816505432, 0.3406752347946167, 0.43223807215690613, 1.145542025566101, -0.2226376235485077, 0.9768094420433044, 0.1980467438697815, 0.6721417307853699, -0.7083960771560669, 0.7356973886489868, -0.3188536465167999, 0.36814817786216736, -0.03963584080338478, -1.0278488397598267, -0.14901575446128845, 0.3990201950073242, -0.2742619514465332, 0.07330859452486038, 0.964388370513916, 0.6900379657745361, 0.0319778211414814, -0.06432929635047913, 0.3989824950695038, 0.37681862711906433, 0.338032066822052, 1.0019844770431519, 0.5119128227233887, -0.26713454723358154, 0.35603225231170654, -0.08218519389629364, -0.3861037790775299, 0.18387532234191895, -0.7043076753616333, -0.847226083278656, -0.5859654545783997, -0.5265573263168335, -0.18904460966587067, 0.3999766409397125, 0.7886813879013062, 0.6479921340942383, -0.7279197573661804, 0.021649854257702827, -0.5512024760246277, -0.20360586047172546, -0.4407050907611847, -0.12749461829662323, 0.511663019657135, -1.0806995630264282, -0.6844732165336609, 0.6795167922973633, 0.30648699402809143, -0.08551952242851257, -0.06885990500450134, -0.23486454784870148, -0.08286533504724503, -0.03905892372131348, 0.4885205328464508, 0.7191333770751953, -0.34470340609550476, -0.5399059057235718, -0.10793638974428177, 0.18345433473587036, 0.1032826155424118, 0.7326120734214783, -0.7850939631462097, 0.596282422542572, 0.11174419522285461, 1.0885732173919678, 0.45969271659851074, -0.29183611273765564, 0.7297371625900269, -0.7308470010757446, -0.13522017002105713, 0.2321401983499527, 0.5217766165733337, 0.6027390360832214, -0.3859609067440033, 0.3618561327457428, 0.3983801305294037, -0.700326144695282, -0.5710015892982483, 0.18827112019062042, -0.860765814781189, -0.3116339147090912, 0.7926107048988342, -0.4053962826728821, -0.046029046177864075, -0.3418618142604828, 0.047034528106451035, 0.29982346296310425, 0.03207377716898918, 0.9393334984779358, 0.6878604292869568, 0.06291373819112778, -0.4882134199142456, -0.5707264542579651, 0.5068007111549377, 0.5475010871887207, -0.9815036058425903, 0.1426696479320526, 0.38969558477401733, 0.7730415463447571, 0.07922372967004776, 0.5626349449157715, -0.38526099920272827, 0.5031770467758179, 0.05114592984318733, 0.04553203284740448, -0.010568925179541111, -0.5964611768722534, -0.17541734874248505, 0.14453257620334625, 0.1331663578748703, -0.22071051597595215 ]
http://arxiv.org/abs/2404.07922v5
http://arxiv.org/pdf/2404.07922v5
LaVy: Vietnamese Multimodal Large Language Model
2024-04-11T17:09:28
2024-05-26T10:27:51
Chi Tran, Huong Le Thanh
cs.CL
cs.CL, cs.CV, cs.LG
Large Language Models (LLMs) and Multimodal Large language models (MLLMs) have taken the world by storm with impressive abilities in complex reasoning and linguistic comprehension. Meanwhile there are plethora of works related to Vietnamese Large Language Models, the lack of high-quality resources in multimodality limits the progress of Vietnamese MLLMs. In this paper, we pioneer in address this by introducing LaVy, a state-of-the-art Vietnamese MLLM, and we also introduce LaVy-Bench benchmark designated for evaluating MLLMs's understanding on Vietnamese visual language tasks. Our project is public at https://github.com/baochi0212/LaVy
[ -0.2770879864692688, -1.0660768747329712, 0.7406666874885559, 0.291162371635437, -0.17214161157608032, 0.1185348629951477, -0.3605678081512451, -0.36708319187164307, -0.153580904006958, 0.7193195819854736, -0.2498704493045807, -0.5173406600952148, -0.5111566185951233, -0.117889404296875, -0.4229353368282318, 0.5430607795715332, -0.22428560256958008, 0.19741445779800415, -0.2941349148750305, -0.41693559288978577, -0.13683974742889404, -0.5393693447113037, -0.48120608925819397, -0.25569069385528564, 0.736479640007019, 0.20451390743255615, 0.3989677131175995, 0.6351486444473267, 0.5769007205963135, 0.33196040987968445, -0.03035476617515087, 0.38201266527175903, -0.7417436242103577, 0.26767072081565857, -0.05882006138563156, -0.6545426845550537, -0.4666781723499298, -0.3180598318576813, 0.7336967587471008, 0.37768417596817017, 0.07873877137899399, 0.33034548163414, -0.29068809747695923, 0.6659846305847168, -0.7718933820724487, 0.42292505502700806, -0.5557705760002136, -0.25986194610595703, -0.19492493569850922, -0.17606520652770996, -0.29525309801101685, -0.03212732821702957, 0.03676970303058624, -0.5455859899520874, -0.09671657532453537, -0.08734221756458282, 0.5865895748138428, 0.41589629650115967, -0.727389931678772, 0.12154265493154526, -0.31581154465675354, 0.9644351601600647, -0.5483048558235168, 0.6091361045837402, 0.25520333647727966, 0.49909311532974243, -0.20293302834033966, -0.8960031270980835, -0.5501941442489624, -0.6419795751571655, 0.14419075846672058, 0.17587584257125854, 0.0026097437366843224, -0.05170838534832001, 0.14463208615779877, 0.19089771807193756, -0.6389219760894775, 0.14350810647010803, -0.4642828106880188, -0.025922298431396484, 0.7164551019668579, 0.30773472785949707, 0.16645072400569916, -0.07876182347536087, -0.5962480902671814, 0.2544381618499756, -0.4821339249610901, 0.04317007213830948, 0.07199198007583618, 0.3572060465812683, -0.1402692049741745, 0.8636455535888672, -0.3876410126686096, 1.044905424118042, -0.5046604871749878, -0.6102741956710815, 0.3625488877296448, -0.5141233801841736, -0.4358316659927368, -0.29499804973602295, 0.7061194777488708, 0.5888791084289551, 0.3594358563423157, 0.24691753089427948, -0.3562074601650238, 0.22153064608573914, -0.018202561885118484, -0.3594064712524414, 0.18784798681735992, 0.4039543569087982, -0.5639317035675049, -0.1403753161430359, -0.04682381823658943, -0.6077512502670288, -0.7046285271644592, -0.3938784599304199, 0.47914645075798035, -0.14884111285209656, -0.6498520374298096, 0.1907251477241516, -0.12703193724155426, 0.4045366644859314, 0.6078628301620483, -0.4853239357471466, -0.130269855260849, 0.7963932752609253, 0.8784565925598145, -0.4773557186126709, -0.501449465751648, -0.7557206153869629, 0.1966000497341156, -0.18150050938129425, 0.7274602651596069, -0.4973016083240509, -0.2273392230272293, 0.4153312146663666, 0.11686905473470688, 0.13561898469924927, -0.6052666902542114, 0.40744104981422424, -0.3039584755897522, -0.12961514294147491, 0.007854356430470943, -0.40699315071105957, -0.22231918573379517, 0.4496408700942993, -0.7837017178535461, 1.1163157224655151, 0.3377331793308258, -0.5345678925514221, 0.08380409330129623, -0.4654127061367035, -0.08161409944295883, 0.15926606953144073, -0.049111172556877136, -0.08033806085586548, 0.21429677307605743, 0.09130895882844925, 0.7515127658843994, -0.43319422006607056, 0.3455101549625397, -0.3868379592895508, -0.3407788574695587, 0.43483880162239075, -0.34094783663749695, 0.8121233582496643, 0.48101159930229187, 0.012882753275334835, 0.5889835953712463, -0.8968775272369385, 0.03413625434041023, 0.232181116938591, -0.48626652359962463, -0.3164520859718323, -0.48568475246429443, 0.6515862941741943, 0.24989673495292664, 0.607001006603241, -0.07614731788635254, 0.2732509970664978, 0.1753007471561432, 0.5120627284049988, 0.590541422367096, -0.3129667043685913, 0.3694796860218048, -0.19797174632549286, 0.4584442377090454, -0.0013238900573924184, 0.1633414626121521, -0.4913322329521179, -0.36784324049949646, -1.0792487859725952, -0.6877835988998413, -0.09114314615726471, 0.6761778593063354, -0.9727577567100525, -0.01306204218417406, -0.09132944047451019, -0.6190295219421387, -0.6336642503738403, 0.3838391900062561, 0.3942564129829407, 0.03895990923047066, 0.23538954555988312, -0.07655633985996246, -0.514818549156189, -0.9168471097946167, -0.3668273091316223, -0.23850826919078827, 0.037095632404088974, 0.11775266379117966, 0.5062723755836487, -0.574582040309906, 0.5336269736289978, -0.24136456847190857, -0.22154600918293, -0.453520268201828, -0.09474433213472366, 0.20622272789478302, 0.10642742365598679, 0.640255331993103, -0.9113190770149231, -0.5572128891944885, 0.06575752794742584, -0.9160648584365845, -0.2428438514471054, 0.09194609522819519, -0.03686290979385376, 0.3291298449039459, 0.8915815949440002, -0.7520046234130859, 0.2804112136363983, 0.7716281414031982, -0.47380587458610535, 0.6916512846946716, -0.32687661051750183, 0.10940059274435043, -0.8724228143692017, -0.11793669313192368, 0.14740750193595886, -0.49172818660736084, -0.769156277179718, 0.5151782631874084, 0.10268858075141907, 0.25741052627563477, -0.8881452679634094, 0.976779043674469, -0.5511493682861328, -0.09930345416069031, -0.18567755818367004, 0.38602423667907715, -0.14320799708366394, 0.25824376940727234, -0.0048520732671022415, 0.5267094373703003, 0.5445451736450195, -0.4375664293766022, 1.0211846828460693, -0.19953791797161102, -0.4909476637840271, 0.8108689785003662, -0.5594334602355957, -0.1998211294412613, -0.20757290720939636, 0.06622647494077682, -0.8144195079803467, -0.3202417492866516, 0.04081062227487564, -0.10675263404846191, 0.11482074856758118, -0.12347117811441422, -0.39065682888031006, -0.3411918878555298, -0.23665109276771545, 0.31957268714904785, 0.28658878803253174, -0.4770107865333557, 0.5547239184379578, 0.48659273982048035, 0.038267526775598526, -0.7527285218238831, -0.508668065071106, 0.14059413969516754, -0.42332708835601807, -0.3847423493862152, -0.16832007467746735, -0.15807481110095978, -0.7457444071769714, -0.1563510000705719, 0.24663671851158142, -0.1937464028596878, -0.25580692291259766, 0.1100206971168518, 0.25376325845718384, -0.4330024719238281, 0.31398868560791016, -0.6368764638900757, -0.1527632623910904, -0.15799064934253693, -0.2831372916698456, 0.5638934969902039, -0.4973571300506592, -0.39240461587905884, -0.31403863430023193, 0.15552803874015808, 0.9995359778404236, -0.40617796778678894, 0.6829625964164734, 1.0567277669906616, -0.1656188666820526, 0.037295207381248474, -0.8896737694740295, 0.5290508270263672, -0.4134509265422821, 1.0204765796661377, -0.45471978187561035, -1.0655642747879028, 0.19067373871803284, -0.06791859120130539, -0.008325640112161636, 0.21762806177139282, 1.0024086236953735, -0.002411750378087163, 0.6017818450927734, 0.6922318935394287, -0.05064237490296364, 0.6657615303993225, -0.20497313141822815, -0.15957307815551758, -0.6081348061561584, -0.22287139296531677, -0.27866649627685547, 0.036176614463329315, -0.7476001977920532, -1.1344342231750488, 0.20774050056934357, 0.10462716221809387, -0.4493100643157959, 0.053984761238098145, -0.1587093621492386, 0.1778254359960556, 0.6720393896102905, -0.06313506513834, 0.5581196546554565, -0.06808311492204666, 0.10928517580032349, 0.11893346160650253, -0.49457618594169617, -0.5440484285354614, 1.1642364263534546, 0.43945935368537903, 0.9935604929924011, 0.07964412122964859, 0.5061758160591125, 0.1285131573677063, 0.09894420206546783, -0.8609395027160645, 0.6987203359603882, -0.158868208527565, -0.4255215525627136, -0.4624939560890198, -0.43235287070274353, -0.8147413730621338, 0.5276377201080322, -0.32983291149139404, -0.6646246314048767, -0.3660338819026947, 0.05840137228369713, 0.12894506752490997, 0.24338197708129883, -0.6558303833007812, 0.8572993278503418, -0.7743263840675354, -0.5316646099090576, -0.32459738850593567, -0.28828346729278564, 0.5653983354568481, -0.14870783686637878, 0.4417196214199066, -0.42300865054130554, -0.51595538854599, 0.4277536869049072, -0.12677501142024994, 0.5480220317840576, -0.1885288804769516, -0.21471050381660461, 0.4207272529602051, -0.12456879764795303, 0.41242530941963196, 0.32332298159599304, 0.23048743605613708, 0.1878720074892044, 0.06265134364366531, -0.5308310389518738, -0.4901505410671234, 1.0268679857254028, -0.8213767409324646, -0.5601370334625244, -0.3764086961746216, -0.7242686748504639, -0.09641571342945099, 0.3971668779850006, -0.1810716986656189, 0.0732278972864151, -0.2540774345397949, 0.25160250067710876, 0.6697850823402405, -0.48121947050094604, 0.3767767548561096, 0.5061790347099304, -0.8182416558265686, -0.48917460441589355, 0.987343430519104, 0.03473342955112457, 0.36521270871162415, 0.498493492603302, 0.013740464113652706, -0.25615254044532776, -0.49389755725860596, -0.2499486654996872, 0.42208823561668396, -0.8509963750839233, 0.062248967587947845, -0.6382281184196472, -0.28993481397628784, -0.12610676884651184, -0.06544752418994904, -0.5517956018447876, -0.46605947613716125, -0.11698804795742035, 0.22353191673755646, 0.3915329575538635, 1.0241060256958008, 0.24051731824874878, 0.13557463884353638, -0.7948641180992126, 0.7144123911857605, 0.5245171785354614, 0.3490336835384369, -0.16538351774215698, -0.4860219955444336, -0.27358850836753845, -0.14980071783065796, 0.1430453658103943, -0.3456525206565857, 0.31555894017219543, -0.03793980926275253, 0.9280471801757812, 0.371210515499115, -0.22934037446975708, 0.721306324005127, -0.3424132168292999, 0.77166348695755, 0.3387027680873871, -0.6932893395423889, 0.30929291248321533, -0.49802088737487793, 0.7397799491882324, 0.13283492624759674, 0.13105592131614685, -0.5379049777984619, -0.3118387460708618, -0.26828140020370483, -0.7920084595680237, 0.10178141295909882, -0.035992033779621124, -0.11876294761896133, 0.4321784973144531, 0.12972155213356018, 0.12155849486589432, 0.3075107932090759, -0.9626678228378296, -0.21654412150382996, -0.2159973531961441, -0.25660839676856995, -0.5254474878311157, -0.48116448521614075, 0.0158701129257679, -0.22177310287952423, 0.48338985443115234, -0.2023550570011139, 0.07462222874164581, -0.12809787690639496, -0.3609355092048645, 0.04078206792473793, 0.30391305685043335, 0.9086480736732483, 0.837173581123352, -0.12120614945888519, 0.3002375364303589, 0.2548774182796478, -0.4506487250328064, 0.2277873307466507, -0.08204236626625061, 0.04233676195144653, -0.008516167290508747, 0.8119530081748962, 0.741360604763031, 0.01663001999258995, -1.1285961866378784, 0.4309036135673523, -0.12057612091302872, -0.02545715868473053, -0.44048163294792175, 0.07623021304607391, 0.400285542011261, 0.6644794344902039, 0.2861946225166321, -0.21196621656417847, -0.30318084359169006, -0.5517295598983765, -0.07725419849157333, 0.5706067681312561, -0.5676059722900391, -0.07375660538673401, 0.5341547727584839, 0.21204960346221924, -0.1950702965259552, 0.3558672368526459, 0.20638009905815125, -0.4153168201446533, 0.3335324227809906, 0.4172590672969818, 0.5924506187438965, -0.18782202899456024, 0.005530789028853178, 0.46390315890312195, 0.395985871553421, -0.2532275915145874, 0.45962008833885193, 0.20706678926944733, -0.5004105567932129, -0.45564964413642883, -0.7659384608268738, -0.14668768644332886, 0.42161402106285095, -0.4605309069156647, 0.46606212854385376, -0.17434047162532806, -0.22153279185295105, -0.3209710121154785, -0.037227097898721695, -0.7730967998504639, 0.11947554349899292, 0.3285517692565918, 1.0576599836349487, -0.5449244379997253, 1.0294609069824219, 0.8848835229873657, -0.30235621333122253, -0.1030537337064743, -0.2631697654724121, 0.14702361822128296, -1.0851647853851318, 0.7779231071472168, 0.2892565131187439, -0.11673478037118912, -0.2645986080169678, -0.5520804524421692, -0.939271092414856, 0.9674919247627258, 0.45288294553756714, -0.6456723213195801, 0.17789463698863983, 0.2145577371120453, 0.5444108247756958, -0.4622357487678528, 0.15309223532676697, 0.6536862850189209, 0.6836994290351868, -0.09529833495616913, -1.2279527187347412, -0.27724120020866394, -0.26904988288879395, 0.12596100568771362, -0.0893649235367775, -0.966386616230011, 0.9853875637054443, -0.4108744263648987, 0.2126927226781845, 0.19934074580669403, 0.6998794078826904, 0.452867329120636, 0.28294116258621216, 0.5612674355506897, 0.30800890922546387, 0.673514187335968, -0.09634607285261154, 0.7501387000083923, 0.04665137082338333, 0.28815945982933044, 1.0660346746444702, -0.19622507691383362, 1.1719104051589966, 0.6791185140609741, -0.2564462721347809, 0.12470145523548126, 0.5190194249153137, 0.08710512518882751, 0.33099648356437683, 0.31062376499176025, -0.26089221239089966, -0.4737841486930847, -0.3246370553970337, -0.42406508326530457, 0.7343569397926331, 0.5325741171836853, -0.1691996157169342, 0.26784953474998474, 0.10150828212499619, -0.08020218461751938, 0.06674662232398987, -0.5783688426017761, 0.5280610918998718, 0.1802154779434204, -0.5216862559318542, 0.8600988388061523, -0.2553353011608124, 0.6759573817253113, -0.6156998872756958, -0.08945392072200775, -0.07063139230012894, 0.4292656183242798, -0.07744790613651276, -0.8251382112503052, -0.1997162252664566, -0.16076672077178955, -0.04467279836535454, -0.09004777669906616, 0.6317386627197266, -0.7442658543586731, -0.6147030591964722, 0.6106041669845581, 0.8376450538635254, 0.00018721591914072633, 0.02038789913058281, -0.629941999912262, 0.4994252026081085, -0.12063644826412201, -0.4039846360683441, 0.2591201364994049, 0.5763854384422302, -0.2089771330356598, 1.0734270811080933, 0.47966960072517395, 0.12504149973392487, 0.1505325883626938, 0.21272827684879303, 0.7480958104133606, -0.8422524333000183, -0.3797788918018341, -0.8266488313674927, 0.6085101962089539, -0.0970369428396225, -0.14713233709335327, 0.8579386472702026, 0.4801822602748871, 0.9442367553710938, -0.300013929605484, 1.017120122909546, 0.12210603058338165, 0.2796962559223175, -0.5527508854866028, 0.7007930874824524, -0.9052150845527649, 0.10386083275079727, -0.27603721618652344, -0.9617026448249817, -0.5205066800117493, 0.548001766204834, 0.1566699594259262, -0.005402731709182262, 0.6812573075294495, 0.7074050903320312, 0.09014226496219635, -0.4598105251789093, 0.7744680643081665, 0.5621445178985596, 0.2980763912200928, 0.6118444800376892, 1.301299810409546, -0.19478610157966614, 0.6814647316932678, 0.01906840316951275, -0.370829313993454, -0.5039121508598328, -0.9036269187927246, -1.3284153938293457, -0.7220859527587891, -0.020415913313627243, -0.26917704939842224, 0.004984036087989807, 0.8855159282684326, 0.5953666567802429, -0.6506856083869934, -0.7013263702392578, 0.35177916288375854, 0.13328558206558228, -0.1394881308078766, -0.1557176560163498, 0.1938331425189972, -0.16258534789085388, -0.7767919301986694, 0.3957381546497345, 0.46894386410713196, 0.14003096520900726, -0.7438486814498901, -0.3650432527065277, -0.41213637590408325, -0.19798903167247772, 0.9645408987998962, 0.058076564222574234, -1.2142654657363892, -0.11955331265926361, -0.008207233622670174, -0.32239922881126404, -0.11882392317056656, 0.8541189432144165, -0.7535498142242432, 0.7428708672523499, 0.48415008187294006, 0.3196171522140503, 0.5539623498916626, -0.37887078523635864, 0.5690349340438843, -0.26730337738990784, 0.6552913784980774, -0.21574506163597107, 0.6424230337142944, 0.454437792301178, 0.03891070932149887, 0.7448683381080627, 0.14415064454078674, -0.523094654083252, -0.9505042433738708, 0.23557651042938232, -1.1832022666931152, -0.22622127830982208, 1.33323073387146, -0.11518216133117676, -0.3343992233276367, -0.23005712032318115, -0.5615396499633789, 0.27104151248931885, -0.21205054223537445, 0.3990226984024048, 0.5751460194587708, -0.0007838599267415702, -0.5238410830497742, -1.05301034450531, 0.23105312883853912, -0.09481935203075409, -0.8737260103225708, 0.22551824152469635, 0.46328088641166687, -0.04184231907129288, 0.05902498587965965, 0.6595621109008789, 0.18645671010017395, 0.2764245569705963, 0.06135176494717598, -0.1385168880224228, -0.18920332193374634, -0.3100888431072235, -0.21071773767471313, 0.11644645780324936, 0.2659991383552551, 0.23845991492271423 ]
http://arxiv.org/abs/2404.07921v2
http://arxiv.org/pdf/2404.07921v2
AmpleGCG: Learning a Universal and Transferable Generative Model of Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs
2024-04-11T17:05:50
2024-05-02T01:08:37
Zeyi Liao, Huan Sun
cs.CL
cs.CL
As large language models (LLMs) become increasingly prevalent and integrated into autonomous systems, ensuring their safety is imperative. Despite significant strides toward safety alignment, recent work GCG~\citep{zou2023universal} proposes a discrete token optimization algorithm and selects the single suffix with the lowest loss to successfully jailbreak aligned LLMs. In this work, we first discuss the drawbacks of solely picking the suffix with the lowest loss during GCG optimization for jailbreaking and uncover the missed successful suffixes during the intermediate steps. Moreover, we utilize those successful suffixes as training data to learn a generative model, named AmpleGCG, which captures the distribution of adversarial suffixes given a harmful query and enables the rapid generation of hundreds of suffixes for any harmful queries in seconds. AmpleGCG achieves near 100\% attack success rate (ASR) on two aligned LLMs (Llama-2-7B-chat and Vicuna-7B), surpassing two strongest attack baselines. More interestingly, AmpleGCG also transfers seamlessly to attack different models, including closed-source LLMs, achieving a 99\% ASR on the latest GPT-3.5. To summarize, our work amplifies the impact of GCG by training a generative model of adversarial suffixes that is universal to any harmful queries and transferable from attacking open-source LLMs to closed-source LLMs. In addition, it can generate 200 adversarial suffixes for one harmful query in only 4 seconds, rendering it more challenging to defend.
[ -0.22577473521232605, -0.8783820867538452, 0.4983564615249634, -0.005799487233161926, -0.18915104866027832, 0.25103095173835754, -0.23135516047477722, -0.2537415325641632, -0.030179422348737717, 0.4608452022075653, -0.6116546392440796, -0.7523062825202942, -0.7660253643989563, -0.19032926857471466, -0.5023273825645447, 1.0630993843078613, 0.178152397274971, 0.044071704149246216, 0.1553579568862915, -0.043910738080739975, -0.46192705631256104, -0.6444612741470337, -0.7317190766334534, 0.0681120753288269, 0.10805495083332062, 0.3488146662712097, 0.9759389162063599, 0.8909773826599121, 0.4587980806827545, 0.26702600717544556, -0.12422087043523788, 0.28940728306770325, -0.6429690718650818, -0.12365901470184326, -0.10398709774017334, -0.3462807238101959, -0.24302412569522858, -0.012539949268102646, 0.2435823380947113, 0.412233829498291, -0.35479992628097534, -0.11840127408504486, -0.04625152796506882, 0.5860714912414551, -0.6346979141235352, -0.40340474247932434, -1.079764485359192, 0.09646176546812057, -0.3196910619735718, 0.02180124819278717, -0.37903639674186707, -0.5204980373382568, -0.24877235293388367, -0.8190162777900696, 0.29120203852653503, 0.14797136187553406, 0.8150531649589539, 0.35207340121269226, -0.28081461787223816, -0.25993964076042175, -0.5303395986557007, 0.4576176702976227, -0.3238968551158905, 0.12645156681537628, 0.11863340437412262, 0.12789803743362427, -0.6603500247001648, -0.781521201133728, -0.35987257957458496, -0.4748951196670532, 0.27574363350868225, 0.05824863910675049, -0.34928199648857117, 0.41055428981781006, 0.20272615551948547, 0.594594419002533, -0.6243516802787781, 0.282897412776947, -0.3497669994831085, -0.28351151943206787, 0.5502008199691772, 0.12792059779167175, 0.6954677104949951, 0.0032171376515179873, -0.7653061151504517, 0.1935497522354126, -1.146884799003601, -0.2754196226596832, 0.635775625705719, 0.2103365957736969, -0.0655614584684372, 0.3426840901374817, 0.1515888124704361, 0.6856051087379456, 0.03895946219563484, 0.17209242284297943, -0.09672798961400986, -0.2275972217321396, -0.06718982756137848, -0.07524073123931885, 1.0188628435134888, 0.1737046241760254, 0.35444074869155884, -0.5917432904243469, 0.10130417346954346, 0.12638017535209656, 0.5168433785438538, -0.6186815500259399, -0.2914905846118927, 0.061057861894369125, -0.033889807760715485, -0.4051198661327362, 0.20881588757038116, -0.6327593326568604, -0.6288955807685852, -0.15474833548069, 0.22940200567245483, -0.7180435657501221, 0.09133871644735336, 0.09213673323392868, -0.05258186534047127, 0.24350771307945251, 0.011812460608780384, -1.1302530765533447, 0.23851877450942993, 0.9487754702568054, 1.1446460485458374, -0.1851453334093094, -0.2708016037940979, -0.8528764843940735, 0.28252071142196655, -0.3698093593120575, 0.5533508062362671, -0.2805352509021759, -0.632569432258606, -0.17662203311920166, -0.053032469004392624, -0.20593896508216858, -0.28263425827026367, 0.6974615454673767, -0.6190937161445618, -0.21198783814907074, 0.007062772288918495, -0.7642399668693542, -0.04991009458899498, 0.14268425107002258, -0.5747049450874329, 0.4757102429866791, -0.05866387113928795, -0.6894832253456116, 0.356661319732666, -0.42585426568984985, -0.39691653847694397, 0.17459246516227722, -0.07341895997524261, -0.47442057728767395, 0.23237504065036774, 0.3375717103481293, 0.25289833545684814, -0.18220478296279907, 0.2531353831291199, -0.5842157006263733, -0.3965209722518921, 0.02966923639178276, -0.36911413073539734, 0.9044157266616821, 0.3071490526199341, -0.15641845762729645, 0.44183069467544556, -0.4136262536048889, -0.11571086198091507, 0.1887408345937729, -0.19108998775482178, -0.2981087267398834, 0.01760663092136383, -0.25816720724105835, -0.06635534763336182, 0.021859442815184593, -0.5613642334938049, 0.6208212971687317, -0.5494351983070374, 0.4640563726425171, 1.0117825269699097, -0.0771273821592331, 0.4547435939311981, 0.007263059727847576, 0.6198610663414001, -0.471830278635025, 0.4874279201030731, 0.23393194377422333, -0.35373586416244507, -0.5847461819648743, -0.5674670338630676, 0.5224210023880005, 0.6747572422027588, -0.6461188793182373, 0.5608701705932617, -0.22788798809051514, -0.3326053321361542, -0.5368067026138306, 0.3812902867794037, 0.38425907492637634, 0.1701657474040985, 0.16134436428546906, -0.2783487141132355, -0.5993538498878479, -0.6366415619850159, -0.3880499005317688, -0.13378189504146576, 0.04825727641582489, 0.11986584216356277, 0.347012996673584, -0.17240114510059357, 0.4873228073120117, -0.668630063533783, -0.35643771290779114, -0.177202969789505, -0.09205833077430725, -0.05061596632003784, 0.3824048638343811, 0.6222177743911743, -0.706126868724823, -0.4735172390937805, 0.09026512503623962, -0.7694329023361206, 0.07070087641477585, -0.10383651405572891, -0.379660427570343, 0.02313336357474327, 0.764207124710083, -0.7728323340415955, 0.3461504578590393, 0.4644816219806671, -0.3208695650100708, 0.819705605506897, -0.15977156162261963, -0.07533501833677292, -1.0473705530166626, -0.11175692081451416, -0.2305033653974533, -0.3074033260345459, -0.7658123970031738, 0.6694997549057007, 0.053118396550416946, -0.02820117585361004, -0.5525037050247192, 0.5628529787063599, -0.5452840924263, 0.21156448125839233, -0.3851092457771301, 0.042388252913951874, -0.4362395107746124, 0.3487730026245117, -0.4747602343559265, 1.0506433248519897, 0.840797483921051, -0.4410902261734009, 0.5132082104682922, 0.2872009873390198, -0.14059051871299744, 0.18858805298805237, -0.5156548023223877, 0.2885721027851105, 0.10686687380075455, -0.11762937158346176, -0.7364299893379211, -0.3266628086566925, 0.4220288395881653, -0.5320037007331848, 0.4946701228618622, -0.5126662254333496, -0.5436680316925049, -0.2332463413476944, -0.359353244304657, 0.10189773887395859, 0.5989051461219788, -1.0256246328353882, 0.41420939564704895, 0.44670453667640686, 0.17269104719161987, -0.6561781167984009, -0.27691444754600525, 0.23677000403404236, -0.5612741112709045, -0.6866929531097412, 0.49567586183547974, 0.06773638725280762, -0.08094582706689835, -0.01660735160112381, -0.11391681432723999, 0.31365275382995605, 0.4262625575065613, 0.3335033059120178, 0.5292641520500183, 0.09552018344402313, 0.01215361524373293, -0.24655945599079132, -0.1032649502158165, 0.03389226645231247, -0.6399131417274475, 0.4652974605560303, -0.365731418132782, -0.38079479336738586, 0.22225461900234222, 0.20505213737487793, 0.38058894872665405, -0.01052805408835411, 1.0778168439865112, 0.6455632448196411, -0.20199498534202576, -0.24821904301643372, -0.325927734375, 0.09200622886419296, -0.5202388167381287, 0.3897710144519806, -0.2878386676311493, -1.1153842210769653, 0.5476106405258179, -0.13322295248508453, -0.04611280933022499, 0.39030981063842773, 0.31292375922203064, 0.4541328251361847, 1.1898934841156006, 0.8779379725456238, -0.4931485056877136, 0.4486452043056488, -0.12111744284629822, 0.23879773914813995, -0.8772035241127014, -0.1523660272359848, -0.09787939488887787, 0.13308502733707428, -0.7093805074691772, -0.21978960931301117, 0.3655689060688019, 0.6256076097488403, -0.23358598351478577, 0.2690759003162384, -0.5747793912887573, 0.6987242698669434, 0.34711387753486633, 0.06440296769142151, 0.09621226787567139, 0.09092870354652405, -0.21309785544872284, 0.1835681051015854, -0.5657103657722473, -0.32928717136383057, 1.3537591695785522, 0.16884398460388184, 0.8253186941146851, 0.3931178152561188, 0.6028170585632324, 0.2667027413845062, 0.5797443389892578, -0.7272579669952393, 0.5351467132568359, -0.6143968105316162, -0.4016742706298828, 0.0753093808889389, -0.5492421984672546, -0.8746600151062012, 0.22506459057331085, 0.02244105190038681, -1.0840110778808594, -0.37258124351501465, 0.18028271198272705, -0.36424872279167175, 0.6519327163696289, -0.656117856502533, 0.8465341329574585, -0.40237194299697876, -0.27859628200531006, -0.07828110456466675, -0.6250693202018738, 0.9222700595855713, 0.03552098944783211, 0.06829041242599487, -0.03621869906783104, 0.06168511137366295, 0.44758784770965576, -0.6985154151916504, 0.5247167348861694, -0.10105908662080765, 0.12721407413482666, 0.3043158948421478, 0.05404233932495117, 0.6124640703201294, -0.018440108746290207, 0.2087150514125824, 0.1586141735315323, -0.5517598390579224, -0.2861683964729309, -0.5237994194030762, 0.9408984780311584, -0.827800989151001, -0.9909224510192871, -0.4682270586490631, -0.399304062128067, -0.11602450162172318, 0.025404125452041626, 0.48659980297088623, 0.06764907389879227, -0.43843331933021545, -0.07299212366342545, 0.7737666368484497, -0.13788513839244843, 0.22558723390102386, 0.22756177186965942, -0.22928522527217865, -0.46263548731803894, 0.9915013313293457, -0.16264504194259644, 0.40701302886009216, -0.044793225824832916, 0.08165770769119263, -0.31147459149360657, -0.7769514322280884, -0.6302235722541809, 0.09881609678268433, -0.6735584139823914, -0.4083845615386963, -0.5693338513374329, -0.5522837042808533, -0.3281608521938324, -0.24682223796844482, -0.11516221612691879, -0.3399551808834076, -0.512997567653656, -0.27602389454841614, 0.6569352149963379, 0.46398040652275085, -0.39809101819992065, 0.538377046585083, -0.7053849697113037, 0.3933441936969757, 0.2560027241706848, 0.38718923926353455, -0.12070566415786743, -0.6071869730949402, 0.08687567710876465, -0.24126851558685303, -0.4898102581501007, -1.0742634534835815, 0.3870626389980316, 0.3400730788707733, 0.4208023250102997, 0.5369117259979248, -0.1849208027124405, 0.6666723489761353, -0.6281808018684387, 0.6510188579559326, 0.38370200991630554, -0.9802344441413879, 0.47439855337142944, -0.5457306504249573, -0.0530320443212986, 0.4958488643169403, 0.3556835651397705, -0.4450211226940155, -0.2529159486293793, -0.5191397666931152, -1.2023669481277466, 0.6571756601333618, 0.15582308173179626, 0.1477878838777542, -0.1440722495317459, 0.5654521584510803, 0.11530600488185883, -0.02670321613550186, -0.617275595664978, -0.3413007855415344, -0.08556067198514938, -0.11421246081590652, 0.21634136140346527, -0.11681206524372101, -0.21247544884681702, -0.07118615508079529, 0.8800140619277954, -0.20371578633785248, 0.1777411550283432, -0.2126827985048294, -0.05662542209029198, 0.32505255937576294, 0.39643552899360657, 0.3730676472187042, 0.0034426478669047356, -0.0867178663611412, 0.11214031279087067, 0.2004886269569397, -0.7110370993614197, 0.3568192422389984, 0.40689557790756226, -0.24840690195560455, -0.528093695640564, -0.0005662422045134008, 0.8692024946212769, -0.2824763357639313, -0.587080717086792, 0.5662664771080017, -0.18155895173549652, -0.18187469244003296, -0.36252179741859436, 0.3859183192253113, -0.14015330374240875, -0.08908694982528687, 0.23042446374893188, 0.18415436148643494, 0.17139679193496704, -0.475432425737381, 0.24840272963047028, 0.9069344401359558, -0.35176417231559753, -0.12918061017990112, 0.9214460849761963, -0.09994112700223923, -0.0499064065515995, 0.6328414678573608, -0.5459054708480835, -0.7812337279319763, 0.5446497797966003, 0.5526735186576843, 1.198598027229309, -0.19968773424625397, 0.10554945468902588, 0.21729536354541779, 0.42995575070381165, -0.3131466507911682, -0.013764298520982265, 0.14202453196048737, -0.5694112181663513, -0.3844166100025177, -0.6807364225387573, -0.2059939056634903, 0.31508004665374756, -0.3614281117916107, 0.15527242422103882, -0.7403391003608704, -0.09664084017276764, -0.09806323051452637, -0.3087300956249237, -0.4302111864089966, -0.01015174388885498, 0.2563186585903168, 0.7139790058135986, -0.72561115026474, 0.46411818265914917, 0.46814581751823425, -0.22836138308048248, -0.7814324498176575, 0.049011100083589554, 0.29225876927375793, -0.9626035690307617, 0.2409251630306244, 0.29153820872306824, -0.22960412502288818, 0.08108785003423691, -0.8487544059753418, -1.0250506401062012, 0.7856824994087219, 0.513836145401001, -0.4821007251739502, 0.029764853417873383, 0.014641815796494484, 0.32328295707702637, -0.13291269540786743, 0.018194155767560005, 0.7451319694519043, 0.18075063824653625, 0.26978689432144165, -0.5269801616668701, 0.31037601828575134, -0.3061975836753845, -0.027754951268434525, 0.5756500363349915, -0.6833292841911316, 0.5582760572433472, -0.44412025809288025, -0.5549872517585754, 0.5131317973136902, 0.6391703486442566, 0.3717229664325714, -0.17506098747253418, 0.2732217609882355, 0.9064704775810242, 0.6256936192512512, -0.45956146717071533, 1.2993427515029907, -0.23472781479358673, 0.1612103283405304, 0.8738735914230347, 0.009142045862972736, 0.4476906359195709, 0.268094539642334, -0.06130778789520264, 0.1677999198436737, 0.5265265703201294, -0.2858632802963257, 0.7636958360671997, 0.575780987739563, -0.5858492851257324, -0.12477843463420868, -0.06963276863098145, -0.20908796787261963, 0.2378072291612625, 0.6037800908088684, -0.15587525069713593, -0.15792497992515564, 0.15834267437458038, 0.3194662928581238, -0.007429117802530527, -0.5489298105239868, 0.8084166646003723, 0.12748636305332184, -0.6850425004959106, 0.6826361417770386, 0.3418174088001251, 0.8084176778793335, -0.7636188864707947, 0.22067329287528992, -0.12649795413017273, 0.2455766499042511, -0.32149538397789, -0.5893466472625732, 0.32287463545799255, 0.2876504063606262, 0.04724854603409767, 0.202629953622818, 0.841628909111023, -0.1969662755727768, -0.34256646037101746, 0.3568386435508728, 0.04944869130849838, 0.12410286068916321, -0.1316411942243576, -0.5957803130149841, -0.07335466891527176, 0.10884452611207962, -0.00987545307725668, 0.446950227022171, 0.12344173341989517, -0.036205776035785675, 0.700567901134491, 0.9143062233924866, 0.3601122200489044, 0.292482852935791, 0.08148455619812012, 1.0030213594436646, -0.5522289872169495, -0.5251306295394897, -1.2163504362106323, 0.32054275274276733, -0.08527177572250366, -0.13034258782863617, 0.8927006721496582, 0.43502840399742126, 0.6143420338630676, 0.17715293169021606, 1.0322761535644531, -0.1530987024307251, -0.06923338025808334, -0.8431304097175598, 0.6564003825187683, -0.28316059708595276, 0.4685831367969513, -0.027499446645379066, -0.6881362199783325, -0.33436906337738037, 0.24107757210731506, -0.4374827444553375, -0.12697894871234894, 0.3724651038646698, 0.8171631693840027, -0.06884968280792236, 0.00793713890016079, 0.28414246439933777, -0.008056255988776684, 0.5104159116744995, 0.7885469198226929, 0.9670044779777527, -0.3536930978298187, 0.671310544013977, 0.13781383633613586, -0.2786380350589752, -0.03545930236577988, -0.7363913059234619, -0.9506799578666687, -0.08826857060194016, -0.290678471326828, -0.43117958307266235, 0.5177662968635559, 0.7461202144622803, 0.6021941304206848, -0.5586693286895752, 0.20830652117729187, -0.6451157927513123, 0.13612297177314758, 0.06907710433006287, -0.23435765504837036, 0.45853495597839355, -0.35673290491104126, -0.318185418844223, 0.5988871455192566, 0.22947637736797333, 0.17940813302993774, -0.10687615722417831, 0.001757041085511446, -0.0035295758862048388, -0.012330012395977974, 0.24646544456481934, 0.5944423079490662, -0.7292649149894714, -0.3560742139816284, -0.0022522052749991417, -0.0777047649025917, 0.006182584445923567, 0.637854814529419, -0.45161086320877075, 0.3421466648578644, 0.10294131934642792, 0.7519661784172058, 0.2734966278076172, 0.3305279612541199, 0.6183522939682007, -1.0924668312072754, 0.04572572186589241, -0.07121412456035614, 0.3900068402290344, 0.4969472587108612, -0.6067757606506348, 0.5348891019821167, 0.24044659733772278, -0.6464186310768127, -0.7008963227272034, 0.504258394241333, -0.5842846035957336, -0.48644495010375977, 1.3500572443008423, -0.24797682464122772, -0.1506078839302063, 0.019612403586506844, -0.11214697360992432, 0.34632956981658936, -0.17903928458690643, 0.8398237228393555, 0.4899786412715912, 0.04484197497367859, 0.08463812619447708, -0.494398295879364, 0.8263159990310669, 0.2860523760318756, -0.8598120808601379, 0.047372005879879, 0.43376657366752625, 0.3954499065876007, 0.0007901514763943851, 0.4135729670524597, -0.19977329671382904, 0.35830676555633545, 0.06285592168569565, -0.02273194119334221, -0.2250882238149643, -0.33328771591186523, -0.6058158278465271, 0.25417560338974, 0.10506541281938553, -0.38499876856803894 ]
http://arxiv.org/abs/2404.07917v1
http://arxiv.org/pdf/2404.07917v1
DesignQA: A Multimodal Benchmark for Evaluating Large Language Models' Understanding of Engineering Documentation
2024-04-11T16:59:54
2024-04-11T16:59:54
Anna C. Doris, Daniele Grandi, Ryan Tomich, Md Ferdous Alam, Hyunmin Cheong, Faez Ahmed
cs.AI
cs.AI, cs.CL
This research introduces DesignQA, a novel benchmark aimed at evaluating the proficiency of multimodal large language models (MLLMs) in comprehending and applying engineering requirements in technical documentation. Developed with a focus on real-world engineering challenges, DesignQA uniquely combines multimodal data-including textual design requirements, CAD images, and engineering drawings-derived from the Formula SAE student competition. Different from many existing MLLM benchmarks, DesignQA contains document-grounded visual questions where the input image and input document come from different sources. The benchmark features automatic evaluation metrics and is divided into segments-Rule Comprehension, Rule Compliance, and Rule Extraction-based on tasks that engineers perform when designing according to requirements. We evaluate state-of-the-art models like GPT4 and LLaVA against the benchmark, and our study uncovers the existing gaps in MLLMs' abilities to interpret complex engineering documentation. Key findings suggest that while MLLMs demonstrate potential in navigating technical documents, substantial limitations exist, particularly in accurately extracting and applying detailed requirements to engineering designs. This benchmark sets a foundation for future advancements in AI-supported engineering design processes. DesignQA is publicly available at: https://github.com/anniedoris/design_qa/.
[ -0.6010316014289856, -0.5829082727432251, 0.6613874435424805, 0.4408052861690521, -0.15277905762195587, 0.37532398104667664, 0.2737117409706116, -0.4493405520915985, -0.2404162883758545, 0.338382363319397, -0.640001118183136, -0.594153881072998, -0.2351880520582199, -0.0691288411617279, -0.33652976155281067, 0.26926058530807495, -0.6953408122062683, -0.11865202337503433, -0.4691663384437561, -0.11940073221921921, -0.5562121272087097, -0.42652904987335205, -0.36921900510787964, -0.14505478739738464, 0.5567991733551025, 0.03589266538619995, 0.5231381058692932, 0.20179066061973572, 0.54996258020401, 0.24703708291053772, -0.10344593226909637, 0.3340698480606079, 0.05810273811221123, 0.36426037549972534, 0.23354196548461914, -0.1816316843032837, -0.5260902643203735, 0.1861913502216339, 0.6422193050384521, 0.43374916911125183, 0.09171102941036224, 0.39550909399986267, 0.20263230800628662, 0.6375098824501038, -0.6421326398849487, 0.6235847473144531, -0.005726034753024578, 0.05344398692250252, -0.050694480538368225, -0.14130184054374695, -0.5256337523460388, -0.27802738547325134, -0.13391926884651184, -0.9553744792938232, -0.09651581943035126, 0.25954920053482056, 1.1773743629455566, 0.3299992084503174, -0.9147272109985352, -0.4237058460712433, -0.2711823582649231, 0.6071223616600037, -0.514882504940033, 1.112990379333496, 0.2635124623775482, 0.5309398770332336, -0.2409704178571701, -0.9021588563919067, -0.5126182436943054, -0.5005363821983337, 0.0627799853682518, 0.0819019228219986, -0.060647957026958466, 0.2071147859096527, 0.47274231910705566, 0.3388630449771881, -0.8514777421951294, 0.039172448217868805, -0.5648142695426941, -0.4435834586620331, 0.48048943281173706, 0.06428782641887665, 0.4094778895378113, -0.28740373253822327, -0.30922606587409973, -0.15749941766262054, -0.47808268666267395, 0.21503953635692596, 0.11695805937051773, -0.15869663655757904, -0.23765252530574799, 0.4407012164592743, -0.28725385665893555, 0.45307639241218567, -0.38700205087661743, -0.02298904024064541, 0.7221495509147644, -0.43962353467941284, -0.314147412776947, -0.5256191492080688, 0.6500651240348816, 0.2240416556596756, 0.1515301764011383, -0.12234632670879364, -0.456371545791626, -0.19297614693641663, 0.31260091066360474, -0.6162058115005493, -0.33208033442497253, -0.005849589128047228, -0.6214759349822998, 0.0192410908639431, -0.342653751373291, -0.6583496332168579, -0.5436216592788696, -0.6325631737709045, 0.6508012413978577, 0.03360266983509064, -0.2998746335506439, -0.06852523982524872, -0.4363938570022583, 0.31992918252944946, 0.29730021953582764, -0.486642986536026, -0.2005435824394226, 0.6316255927085876, 0.8424552083015442, 0.055863477289676666, -0.2997328042984009, -0.37317997217178345, -0.08519420027732849, -0.34319067001342773, 0.878273069858551, -0.3676144778728485, -0.4438352882862091, -0.13021796941757202, -0.04233703762292862, 0.01467972807586193, -0.48459669947624207, 1.087523341178894, -0.6134743690490723, -0.17069992423057556, -0.11883504688739777, -0.17175422608852386, -0.2941044270992279, 0.3315489590167999, -1.024529218673706, 1.0087003707885742, 0.3143507242202759, -0.4930537939071655, 0.6087765097618103, -0.8467608094215393, -0.1852671504020691, 0.12587592005729675, -0.5215824842453003, -0.34964099526405334, 0.10381826013326645, 0.061905570328235626, -0.02254052832722664, -0.4717181324958801, 0.2868141233921051, -0.48044732213020325, -0.10478532314300537, 0.05760800465941429, -0.42348048090934753, 0.7486551403999329, 0.4328978955745697, -0.19306674599647522, 0.3332313299179077, -0.8197064995765686, 0.41283202171325684, -0.06194609776139259, -0.6008319854736328, -0.23557034134864807, -0.10666656494140625, 0.2549625337123871, 0.6274073719978333, 0.07206393778324127, -0.5444068908691406, 0.12031706422567368, -0.0665116161108017, 0.5170199275016785, 0.6942359805107117, -0.1835947185754776, 0.3458193838596344, -0.39511770009994507, 0.7087031006813049, -0.2036408931016922, 0.3058920204639435, -0.18979233503341675, -0.4670560657978058, -0.8084163069725037, -0.3282092809677124, 0.40704694390296936, 0.22725561261177063, -0.8236740231513977, -0.1586732119321823, 0.052887994796037674, -0.4533608555793762, -0.7535015940666199, 0.30512735247612, 0.33360204100608826, 0.32534104585647583, 0.3136990964412689, -0.2551964819431305, -0.6414324045181274, -1.2305152416229248, -0.14695486426353455, -0.3274605870246887, -0.41055262088775635, 0.19397446513175964, 0.5835617184638977, -0.1558384895324707, 0.4508434236049652, -0.15629462897777557, -0.1825145184993744, 0.010898598469793797, 0.7473235130310059, 0.07547729462385178, 0.29080110788345337, 0.5990155339241028, -1.0009278059005737, -0.4622010588645935, -0.08532075583934784, -1.0388046503067017, -0.2510867714881897, -0.2173282653093338, -0.21027426421642303, -0.021551795303821564, 0.48067885637283325, -0.8145385980606079, 0.5035240650177002, 0.4430258274078369, -0.2972732186317444, 0.6183995604515076, -0.07873532176017761, 0.30948084592819214, -0.7419758439064026, 0.1565951108932495, -0.03217538073658943, 0.07089897245168686, -0.4060690104961395, 0.47751641273498535, 0.6962587833404541, -0.15872442722320557, -0.4790635108947754, 0.7535831332206726, -0.73714679479599, -0.007815176621079445, -0.09964804351329803, 0.13704276084899902, 0.5409051179885864, 0.4699367880821228, -0.2650042176246643, 0.8596405386924744, 0.23098398745059967, -0.3074241876602173, 0.26733607053756714, 0.3030734360218048, -0.6664344668388367, 0.6752799153327942, -0.6948812007904053, 0.19315806031227112, -0.18142069876194, 0.2866935729980469, -0.9727447032928467, 0.08880402892827988, -0.09556814283132553, -0.26029935479164124, 0.19010236859321594, 0.09578006714582443, -0.7194401621818542, -0.5993556380271912, -0.3216603398323059, 0.5296332836151123, 0.27800148725509644, -0.2823459506034851, 1.0400304794311523, 0.36357957124710083, -0.2420322746038437, -0.3273424804210663, -0.43602657318115234, 0.28325456380844116, 0.04414058476686478, -0.8436976671218872, 0.347275048494339, -0.47885045409202576, -0.42626500129699707, -0.1870451420545578, -0.33163079619407654, -0.47587499022483826, 0.2858940660953522, 0.5584033131599426, 0.14515922963619232, -0.3695571720600128, 0.28122133016586304, 0.013983221724629402, -0.029972435906529427, 0.39244508743286133, -0.07081976532936096, 0.18753965198993683, 0.018936721608042717, -0.5551066994667053, -0.7510079145431519, 0.6972885131835938, 0.9970926642417908, -0.3091928958892822, 0.22239452600479126, 0.44412723183631897, -0.4338756799697876, -0.15874658524990082, -0.6421825885772705, 0.13469275832176208, -0.4770960807800293, 0.3542833626270294, -1.0142158269882202, -0.43772900104522705, 0.27896153926849365, 0.03448408097028732, 0.5811917781829834, 0.60891193151474, 0.316886305809021, -0.48889702558517456, 1.105350136756897, 0.7212422490119934, 0.1022491306066513, 0.2770747244358063, -0.012210121378302574, 0.03498765826225281, -0.8048848509788513, -0.36318153142929077, -0.7765505909919739, -0.2662763297557831, -0.1792861968278885, -0.30083903670310974, 0.38568034768104553, -0.07356840372085571, -0.4076162278652191, 0.1525304913520813, -0.15213735401630402, 0.26471570134162903, 0.6300413012504578, 0.04211782291531563, 0.4278036653995514, -0.2436131089925766, -0.637078583240509, -0.07028187066316605, -0.3618265390396118, -0.5587961077690125, 0.9421218633651733, 0.6843020915985107, 0.8629180788993835, 0.17217519879341125, 0.3202687203884125, 0.5851659178733826, 0.37243911623954773, -0.8076868057250977, 0.25137877464294434, 0.17056329548358917, -0.606062650680542, -0.13855881989002228, -0.325685977935791, -0.5700249671936035, 0.3582811653614044, -0.056777335703372955, -0.21231457591056824, 0.1673640012741089, 0.001892267377115786, -0.25402316451072693, 0.016171786934137344, -0.796788215637207, 0.9457744359970093, -0.5839635729789734, -0.07324521988630295, -0.2119387984275818, -0.17887336015701294, 0.3660720884799957, -0.40981122851371765, 0.49035564064979553, -0.19197297096252441, -0.08121266216039658, 0.7072634100914001, -0.10849904268980026, 0.5317331552505493, -0.11446776986122131, -0.39494410157203674, 0.025898534804582596, 0.06981770694255829, 0.386790931224823, -0.1502106785774231, -0.4240564703941345, -0.07076086848974228, 0.26036331057548523, -0.5440579056739807, -0.608758270740509, 0.4923565685749054, -0.6281191110610962, -0.6821148991584778, -0.20054891705513, -0.5633540153503418, -0.3779439628124237, 0.2600908577442169, -0.027947895228862762, 0.43757912516593933, -0.17814745008945465, 0.41639968752861023, 0.454772412776947, -0.22127477824687958, 0.2980256974697113, 0.6138725280761719, -0.034639663994312286, -0.202861025929451, 0.5692611336708069, 0.10160836577415466, 0.13633394241333008, 0.4284656345844269, -0.19094377756118774, -0.7217252850532532, -0.6764780879020691, -0.9186277985572815, 0.10432196408510208, -1.1082600355148315, -0.020722512155771255, -0.5967662334442139, -0.5525249242782593, -0.13074341416358948, 0.09857834875583649, -0.07798577100038528, -0.40067124366760254, -0.1306481510400772, 0.09015291929244995, -0.27460727095603943, 1.0879710912704468, 0.3741088807582855, -0.2899361550807953, -0.7581158876419067, 0.3541887700557709, 0.45534321665763855, 0.5033916234970093, -0.013722596690058708, -0.720507025718689, -0.0835946798324585, -0.07615043222904205, -0.7377278804779053, -0.6863167881965637, -0.05484502390027046, 0.10026462376117706, 1.226993203163147, -0.06398263573646545, 0.15281078219413757, 0.34166932106018066, -0.3929755985736847, 0.53175288438797, -0.00028979903436265886, -0.7958388924598694, 0.3497362434864044, -0.23529477417469025, 0.5838273167610168, 0.48166424036026, 0.34853458404541016, -0.4796641170978546, -0.18840616941452026, -0.1450061798095703, -0.5854902267456055, 0.08109712600708008, 0.2156887799501419, -0.10284975171089172, 0.4854954183101654, 0.1629723757505417, -0.04953319951891899, 0.17203685641288757, -0.6358606219291687, 0.1324181705713272, -0.19677673280239105, -0.3778303861618042, 0.28051722049713135, -0.3905044198036194, -0.07561742514371872, 0.10728171467781067, 0.4127311706542969, -0.12041106820106506, 0.02489110827445984, -0.1358119696378708, -0.4406302273273468, 0.17655615508556366, 0.342510461807251, 0.8539125919342041, 1.0366511344909668, -0.010057521052658558, 0.15131568908691406, 0.14681756496429443, -0.3483874201774597, 0.1473401039838791, 0.17689411342144012, -0.09027925133705139, 0.23306399583816528, 0.3469091057777405, 0.4293422996997833, 0.30394676327705383, -0.6710193157196045, 0.4274110794067383, -0.3616980016231537, -0.7481973171234131, -0.22902953624725342, -0.31195229291915894, 0.1497660130262375, 0.4074764549732208, 0.5625410079956055, -0.25169360637664795, 0.273888498544693, -0.23093000054359436, 0.3742654621601105, 0.3937336206436157, -0.29468321800231934, -0.3317345082759857, 0.9068135619163513, 0.5937076210975647, -0.3218529522418976, 0.33509716391563416, -0.10362941026687622, -0.2184048295021057, 0.8204904198646545, 0.20607130229473114, 0.9859889149665833, 0.14287137985229492, 0.26231858134269714, 0.33520859479904175, 0.41960179805755615, 0.2633359134197235, 0.6130397915840149, -0.23614509403705597, -0.03862394765019417, -0.3378773629665375, -0.7666611671447754, -0.49746689200401306, 0.09739737212657928, -0.2986457943916321, 0.3309526741504669, -0.4070212244987488, -0.06095553934574127, 0.30942031741142273, -0.09061365574598312, -0.8466358184814453, 0.0650104433298111, 0.12529627978801727, 1.256221890449524, -0.5186587572097778, 0.6977929472923279, 0.5996688604354858, -0.5929137468338013, -0.6308376789093018, -0.15519964694976807, 0.4447982609272003, -0.5707443952560425, 1.0642335414886475, 0.21825966238975525, -0.17040805518627167, -0.2608316242694855, 0.030770616605877876, -0.700517475605011, 1.0435429811477661, 0.19901345670223236, -0.6327328085899353, -0.44077160954475403, 0.1357390433549881, 0.39280855655670166, -0.1187632754445076, 0.45798036456108093, 0.17818880081176758, 0.5867025852203369, -0.13887232542037964, -1.3978382349014282, 0.009448791854083538, -0.7038452625274658, -0.2369346022605896, 0.28618910908699036, -0.631205677986145, 0.8943867683410645, 0.16763977706432343, -0.405872106552124, 0.29251328110694885, 0.4183407127857208, 0.27890509366989136, 0.49548807740211487, 0.6179505586624146, 0.3427734076976776, 0.7270718812942505, -0.06411096453666687, 0.5599731206893921, -0.31175732612609863, 0.08052215725183487, 0.9572411775588989, -0.08802346885204315, 0.9636303782463074, 0.4099893569946289, -0.13092465698719025, 0.5122945308685303, 0.7339819669723511, 0.18279346823692322, 0.15565736591815948, 0.3298663794994354, -0.2925754189491272, -0.30135828256607056, -0.2572687268257141, -0.6584884524345398, 0.40923017263412476, 0.2559548020362854, -0.52556973695755, -0.2749621570110321, 0.043156545609235764, -0.3451000452041626, -0.03530226647853851, -0.19717402756214142, 0.6106473207473755, 0.14996226131916046, -0.5101680159568787, 0.880364716053009, -0.24076880514621735, 0.18092699348926544, -0.380418598651886, -0.23374465107917786, -0.26001590490341187, 0.12768468260765076, -0.030747514218091965, -0.9920145869255066, 0.04588344320654869, -0.12822726368904114, -0.2170434296131134, -0.392813116312027, 0.1750713735818863, -0.02346782013773918, -0.49210232496261597, 0.18498261272907257, 0.42768561840057373, 0.06759744882583618, -0.19280065596103668, -0.7614537477493286, 0.2172451615333557, -0.10236556828022003, -0.0848754346370697, 0.1957269161939621, 0.424051433801651, -0.30734094977378845, 0.8682758808135986, 0.3359565734863281, -0.39740267395973206, -0.028240008279681206, 0.45285657048225403, 1.0423225164413452, -0.6377221345901489, -0.35676348209381104, -0.485830157995224, 0.6443095207214355, -0.11766276508569717, -0.3226659893989563, 0.6558558344841003, 0.7290837168693542, 0.7151495814323425, -0.016013802960515022, 0.9935442209243774, 0.26168614625930786, 0.23918859660625458, -0.6449539065361023, 0.7888273000717163, -0.8914804458618164, 0.13131873309612274, -0.12106785923242569, -0.637627124786377, -0.20019209384918213, 0.16800691187381744, -0.007947531528770924, -0.00006337364902719855, 0.7827204465866089, 0.8217519521713257, -0.12263580411672592, 0.09000127762556076, 0.305136501789093, -0.03192993998527527, 0.6613462567329407, 0.7309235334396362, 1.1677112579345703, -0.40252354741096497, 0.9716094136238098, 0.03697406128048897, -0.3095232844352722, -0.09281659871339798, -0.791832685470581, -0.9324679970741272, -0.845130443572998, -0.019174322485923767, -0.055823083966970444, -0.0855918675661087, 0.6570270657539368, 0.7863403558731079, -0.6766271591186523, -0.018720699474215508, 0.34725552797317505, 0.1218651831150055, 0.028395967558026314, -0.09921238571405411, 0.20046117901802063, -0.3209349811077118, -0.5596322417259216, 0.5207262635231018, 0.33067551255226135, 0.21879225969314575, -0.6083627939224243, -0.1332586705684662, -0.07998176664113998, -0.06307132542133331, 0.737343430519104, 0.31907227635383606, -0.950921893119812, -0.10415492206811905, 0.2638290226459503, -0.32324862480163574, 0.14668388664722443, 0.783681333065033, -0.47501036524772644, 0.6863062977790833, 0.8628591895103455, 0.7168117761611938, 0.406844824552536, -0.10020264238119125, 0.5683503746986389, -0.4765363037586212, -0.16233676671981812, -0.048992861062288284, 0.4171381890773773, 0.12170065939426422, -0.05389559268951416, 0.3848710060119629, 0.0322391539812088, -0.5941191911697388, -0.7379911541938782, 0.2338918298482895, -0.7147794365882874, -0.1947486847639084, 0.8572414517402649, -0.15790323913097382, 0.031211014837026596, -0.601708173751831, -0.5205387473106384, -0.17793802917003632, -0.23656436800956726, 0.8613005876541138, 0.8664276003837585, -0.030893957242369652, -0.48521673679351807, -1.201806902885437, 0.38631728291511536, 0.3014533221721649, -0.919635534286499, 0.055750470608472824, 0.5490779876708984, 0.05152202397584915, 0.04840215668082237, 0.43081220984458923, 0.10152801126241684, 0.719054102897644, 0.05377430096268654, 0.029178835451602936, -0.18760946393013, -0.3306335508823395, 0.059679631143808365, 0.45115354657173157, 0.4673689007759094, -0.19630645215511322 ]
http://arxiv.org/abs/2404.07904v1
http://arxiv.org/pdf/2404.07904v1
HGRN2: Gated Linear RNNs with State Expansion
2024-04-11T16:43:03
2024-04-11T16:43:03
Zhen Qin, Songlin Yang, Weixuan Sun, Xuyang Shen, Dong Li, Weigao Sun, Yiran Zhong
cs.CL
cs.CL
Hierarchically gated linear RNN (HGRN,Qin et al. 2023) has demonstrated competitive training speed and performance in language modeling, while offering efficient inference. However, the recurrent state size of HGRN remains relatively small, which limits its expressiveness.To address this issue, inspired by linear attention, we introduce a simple outer-product-based state expansion mechanism so that the recurrent state size can be significantly enlarged without introducing any additional parameters. The linear attention form also allows for hardware-efficient training.Our extensive experiments verify the advantage of HGRN2 over HGRN1 in language modeling, image classification, and Long Range Arena.Our largest 3B HGRN2 model slightly outperforms Mamba and LLaMa Architecture Transformer for language modeling in a controlled experiment setting; and performs competitively with many open-source 3B models in downstream evaluation while using much fewer total training tokens.
[ -0.22808922827243805, -0.6346739530563354, 0.21832427382469177, 0.28213006258010864, -0.1367882490158081, -0.11235018819570541, -0.3505476713180542, -0.6253589391708374, -0.15127383172512054, 0.13553033769130707, -0.37402087450027466, -0.038046836853027344, -0.6709122657775879, -0.23242652416229248, -0.12709026038646698, 0.9819526672363281, -0.004295084625482559, -0.02289736643433571, 0.13069266080856323, 0.023537956178188324, 0.0186940748244524, -0.21774345636367798, -0.8880435228347778, -0.7975213527679443, 0.993922770023346, 0.006771471351385117, 0.7529540061950684, 1.0182427167892456, 0.7084907293319702, 0.3062492311000824, -0.19520147144794464, -0.13926179707050323, -0.9004146456718445, -0.03993190824985504, -0.002225067000836134, -0.298261821269989, -0.49198341369628906, -0.2731526494026184, 0.647412121295929, 0.42121243476867676, -0.22753719985485077, 0.3625050187110901, 0.15417374670505524, 0.7009056210517883, -0.5995274782180786, 0.49954354763031006, -0.5266247391700745, 0.19679699838161469, -0.18259871006011963, 0.21792350709438324, -0.3013212978839874, -0.31826090812683105, 0.3144419193267822, -0.47935885190963745, 0.15425093472003937, 0.13961009681224823, 0.9562261700630188, 0.2744450569152832, -0.12614771723747253, 0.1769626885652542, -0.7680975794792175, 0.772779643535614, -0.6773552298545837, 0.6129297614097595, -0.07066276669502258, 0.3256888687610626, -0.16198182106018066, -0.8320187926292419, -0.43630072474479675, 0.017528381198644638, -0.07033061981201172, 0.0852210745215416, -0.5770586133003235, 0.5276693105697632, 0.4211605191230774, 0.38384008407592773, -0.5871115922927856, 0.019490839913487434, -0.6184230446815491, -0.04959466680884361, 0.25418782234191895, -0.14973728358745575, 0.04935990273952484, -0.1727035492658615, -0.775619626045227, 0.08667260408401489, -0.6929230690002441, -0.07326645404100418, 0.13609495759010315, 0.3078460097312927, -0.037563227117061615, 0.5205601453781128, -0.20093953609466553, 0.6974620819091797, -0.03668278828263283, -0.14934974908828735, 0.16921281814575195, -0.11201903969049454, -0.3795611560344696, -0.03455493971705437, 0.7385963797569275, 0.15549826622009277, -0.08246825635433197, -0.28149351477622986, -0.3657439053058624, 0.011324312537908554, 0.1086985319852829, -0.9297876954078674, -0.15665383636951447, 0.025653518736362457, -0.7965294718742371, -0.13380621373653412, -0.1159057468175888, -0.9299683570861816, -0.3637203276157379, -0.27576789259910583, 0.55610591173172, 0.24649673700332642, -0.31100985407829285, 0.21251681447029114, -0.23325198888778687, 0.23209810256958008, 0.08291544020175934, -1.1198005676269531, 0.6203266382217407, 1.027305245399475, 0.9487659931182861, -0.3337736427783966, 0.07396188378334045, -0.48635831475257874, -0.3321223855018616, -0.4345371425151825, 0.4614483118057251, -0.252958744764328, 0.09300071746110916, -0.07042292505502701, -0.11031799018383026, 0.17950588464736938, -0.5144510865211487, 0.04548400267958641, -1.0249106884002686, 0.08361075073480606, -0.18493764102458954, -0.04660334810614586, -0.11309368163347244, 0.0878659188747406, -0.6736016273498535, 1.1374821662902832, 0.5431225299835205, -0.5722768306732178, 0.07657911628484726, -0.5600519180297852, -0.15697401762008667, 0.034161683171987534, -0.3183412253856659, -0.4237616956233978, 0.030892107635736465, -0.1571250557899475, -0.09076627343893051, -0.5046955943107605, 0.14486192166805267, -0.3375667929649353, -0.15392301976680756, -0.06359679251909256, -0.31390541791915894, 0.39372217655181885, 0.34912630915641785, -0.44371312856674194, 0.1603839248418808, -0.42126649618148804, 0.08802376687526703, 0.04030811786651611, -0.5228840708732605, -0.06070917472243309, -0.2874399721622467, -0.04741981625556946, 0.5251333117485046, 0.25651687383651733, -0.7660204768180847, 0.10311583429574966, -0.7291151881217957, 0.28136759996414185, 0.7098271250724792, 0.003259279765188694, 0.6528159379959106, -0.20342518389225006, 0.7692381143569946, -0.12393157184123993, 0.1402677744626999, -0.010134127922356129, -0.6607083082199097, -0.8579867482185364, -0.1584254801273346, 0.6126073598861694, 0.4346950650215149, -0.6927188634872437, 0.29069432616233826, -0.4229927659034729, 0.01771915890276432, -0.5337717533111572, 0.23149430751800537, 0.67608642578125, 0.3462068736553192, 0.07602270692586899, -0.3336102068424225, -0.6875793933868408, -1.1343235969543457, -0.1761322319507599, -0.22814755141735077, 0.04345678165555, 0.29851028323173523, 0.37180161476135254, -0.20915992558002472, 0.8932519555091858, -0.37021327018737793, -0.3358299732208252, -0.6071645021438599, 0.2536587715148926, 0.3028257191181183, 0.2767837643623352, 0.03755990043282509, -0.2196681946516037, -0.2716256380081177, 0.3520755171775818, -0.4879905879497528, -0.0487021878361702, -0.15879285335540771, -0.2258809357881546, 0.18514251708984375, 0.42448127269744873, -0.5724402666091919, 0.5129256844520569, 0.6803573966026306, 0.08029875159263611, 0.04857688397169113, -0.10632729530334473, -0.4130176901817322, -1.0853594541549683, -0.17016640305519104, 0.189650759100914, -0.32938021421432495, -0.5954164862632751, 0.185713529586792, -0.04297174513339996, -0.17124196887016296, -0.3141172528266907, 0.7544640302658081, -0.6461189985275269, -0.5382212400436401, -0.6517965793609619, 0.25839078426361084, -0.19435518980026245, 0.8184595108032227, -0.03847381845116615, 0.5591658353805542, 0.3024519681930542, -0.3305497467517853, 0.5738086700439453, 0.0857718363404274, -0.45811793208122253, -0.3097188174724579, -0.8678786754608154, 0.002834559651091695, -0.38851311802864075, 0.35809728503227234, -0.810876190662384, -0.09096594154834747, 0.32842010259628296, -0.3574414849281311, 0.2954338490962982, -0.3074522912502289, -0.390553742647171, -0.6379032135009766, -0.09336474537849426, 0.5633032917976379, 0.8870239853858948, -0.8821170926094055, 0.4943033754825592, 0.15568985044956207, -0.22517991065979004, -0.5080679059028625, -0.8889324069023132, 0.08087001740932465, 0.18553219735622406, -0.45142197608947754, 0.17030608654022217, 0.4773027300834656, -0.2735457122325897, 0.18872809410095215, -0.2522905766963959, 0.18488574028015137, -0.20174813270568848, 0.10360080748796463, 0.039754804223775864, -0.645973265171051, 0.24649479985237122, -0.1636226773262024, -0.34390413761138916, 0.14810636639595032, -0.7569343447685242, 0.4934239685535431, -0.23944595456123352, -0.1307556927204132, -0.5546590089797974, 0.23781685531139374, 0.2670392692089081, -0.3102840185165405, 0.45031285285949707, 0.4034675061702728, -0.6885160207748413, -0.5066985487937927, -0.2539465129375458, -0.3239390254020691, -0.5036150217056274, 0.7187789678573608, -0.30982762575149536, -0.8242908120155334, 0.17877669632434845, 0.01332512591034174, -0.001843571080826223, 0.41838374733924866, 0.5908990502357483, 0.18855217099189758, 0.8397524356842041, 0.43473005294799805, -0.10563839226961136, 0.577918291091919, -0.1541125625371933, 0.4575810432434082, -1.0365697145462036, -0.21738578379154205, -0.26852548122406006, -0.6362073421478271, -0.7295372486114502, -0.7736619710922241, 0.3241616487503052, -0.027198100462555885, -0.2915462553501129, 0.37315472960472107, -0.23545026779174805, 0.4804483950138092, 0.49645140767097473, 0.31485044956207275, 0.06763121485710144, 0.3217965364456177, 0.08273589611053467, -0.1423415094614029, -0.9102010726928711, 0.02007204294204712, 0.8216240406036377, 1.0670549869537354, 1.4003188610076904, 0.2902625799179077, 0.3830462098121643, 0.10998702794313431, 0.4336155354976654, -1.1763317584991455, 0.24672791361808777, -0.17150302231311798, -0.7229824066162109, -0.39489731192588806, -0.4667423963546753, -0.8469721078872681, 0.38779404759407043, 0.05043782666325569, -0.6409617066383362, 0.4045163691043854, 0.3274634778499603, -0.6875457167625427, 0.35441815853118896, -0.5772677659988403, 0.6232537031173706, -0.34321269392967224, -0.5650840401649475, -0.06146737560629845, -0.5347716808319092, 0.3698652982711792, 0.1814267486333847, -0.09861140698194504, 0.20092594623565674, -0.12565813958644867, 0.6525427103042603, -0.41018080711364746, 0.7485832571983337, -0.17455753684043884, -0.284432977437973, 0.27321603894233704, 0.028049392625689507, 0.6974102258682251, -0.017622854560613632, 0.10633455961942673, -0.005043811164796352, -0.7233585119247437, -0.4020514190196991, -0.9928538203239441, 0.7153491377830505, -0.6357564330101013, -0.6573663353919983, -0.3927760124206543, -0.4319680333137512, -0.13382913172245026, 0.21522188186645508, -0.029678888618946075, 0.7312962412834167, 0.13452325761318207, 0.5668251514434814, 0.9004004597663879, 0.0246789138764143, 0.4858078360557556, 0.15988481044769287, -0.6121631860733032, -0.5226422548294067, 0.7520758509635925, -0.14841927587985992, 0.715876042842865, 0.3675284683704376, 0.46501052379608154, -0.49786919355392456, -0.17415955662727356, -0.5296673774719238, 0.25417083501815796, -0.6210929751396179, -0.09318023175001144, -0.8099173307418823, -0.5767374038696289, -0.20877577364444733, 0.310204416513443, -0.48407942056655884, -0.49842536449432373, -0.04445991665124893, -0.19975559413433075, 0.3733537495136261, 1.0186922550201416, -0.24173402786254883, 0.6027422547340393, -0.2701491713523865, 0.6895882487297058, 0.7061130404472351, 0.7040517926216125, 0.2605123817920685, -0.7467884421348572, -0.27615198493003845, -0.022573048248887062, -0.08668314665555954, -0.5685446858406067, 0.17576450109481812, 0.21257193386554718, 0.4228651523590088, 0.6954962015151978, -0.4598110616207123, 0.5617712736129761, -0.6686709523200989, 0.5813225507736206, 0.45649170875549316, -0.5692654252052307, 0.09537167102098465, -0.5052845478057861, 0.49833813309669495, 0.14131690561771393, 0.10191407799720764, -0.5372860431671143, 0.10950334370136261, -0.3938876986503601, -0.5824005007743835, 0.8747664093971252, 0.09098973125219345, 0.10936827957630157, 0.07555857300758362, 0.35370755195617676, -0.09149821102619171, 0.036328431218862534, -0.8370866179466248, -0.29734617471694946, -0.05777774751186371, -0.11719299107789993, 0.09285013377666473, -0.40719538927078247, -0.16576118767261505, -0.26763367652893066, 0.7453992366790771, -0.06467602401971817, 0.7350487112998962, 0.1797766536474228, 0.13229554891586304, -0.13598978519439697, 0.1455232799053192, 0.5453868508338928, 0.28976356983184814, -0.10408806800842285, 0.2852744162082672, 0.08163762837648392, -0.22258998453617096, 0.15689152479171753, 0.04117213562130928, -0.12530528008937836, 0.0925678238272667, 0.1468288153409958, 1.2506053447723389, 0.2783840000629425, -0.08722192794084549, 0.5423064827919006, 0.06280183792114258, -0.42873579263687134, 0.09482316672801971, -0.049738187342882156, 0.2126135230064392, 0.33844128251075745, 0.0032425043173134327, 0.26096728444099426, 0.20551586151123047, -0.4410317838191986, 0.34120407700538635, 0.2606039047241211, -0.8722960948944092, -0.14934806525707245, 0.6404988169670105, 0.31446489691734314, -0.3618115186691284, 0.34706324338912964, -0.507571816444397, -0.6420915722846985, 0.5741629004478455, 0.963455855846405, 0.9978353381156921, 0.05476564168930054, 0.09635636955499649, 0.6741719245910645, 0.6909778714179993, -0.39029768109321594, 0.37667348980903625, -0.07138585299253464, -0.6756470203399658, -0.3850801885128021, -0.3974299430847168, 0.026461631059646606, 0.35805973410606384, -0.5880125761032104, -0.0815419852733612, -0.5878299474716187, -0.4252861440181732, -0.28104367852211, -0.18356089293956757, -0.36351174116134644, 0.1533002108335495, 0.39880985021591187, 0.877311646938324, -0.39939433336257935, 0.8800132274627686, 0.21067216992378235, -0.04736078903079033, -0.41724899411201477, -0.12445037066936493, 0.06018267944455147, -0.6364201307296753, 0.9077361226081848, 0.07159432023763657, -0.45792916417121887, 0.04252045974135399, -0.41320502758026123, -1.1801058053970337, 0.8899584412574768, -0.07261082530021667, -0.7857007384300232, -0.16746288537979126, 0.12476757913827896, 0.7274200320243835, -0.3303947150707245, -0.05029749497771263, 0.5314765572547913, 0.3146291971206665, -0.015078365802764893, -0.6356350779533386, -0.0654636025428772, -0.3398124575614929, 0.5900543928146362, 0.2736547589302063, -0.6514551043510437, 0.7522820234298706, -0.41692885756492615, -0.43950703740119934, 0.303852379322052, 0.9966508746147156, 0.08323699235916138, -0.09896572679281235, 0.5753709077835083, 0.6437428593635559, 0.44672128558158875, -0.38186490535736084, 1.0038983821868896, -0.1315777748823166, 0.454821914434433, 1.470823884010315, -0.2968187928199768, 0.8707677125930786, 0.3867700397968292, -0.08259133994579315, 0.47632378339767456, 0.413763165473938, -0.006374817807227373, 0.5849102735519409, 0.7497556209564209, -0.3071916699409485, -0.11712407320737839, -0.27101394534111023, -0.45249682664871216, 0.21084050834178925, 0.2516591548919678, -0.4061056673526764, -0.37753233313560486, -0.1262788027524948, -0.10322735458612442, -0.11674084514379501, -0.2036370038986206, 0.8086764216423035, 0.24128201603889465, -0.5605746507644653, 0.388345330953598, 0.16742368042469025, 0.6542602777481079, -0.5487460494041443, -0.002038576640188694, -0.17500193417072296, 0.45371365547180176, -0.12729968130588531, -0.45863524079322815, -0.02258613146841526, 0.01397310383617878, -0.14735262095928192, -0.31910550594329834, 0.6627373695373535, -0.7664285898208618, -0.3747636675834656, 0.49706923961639404, 0.17821331322193146, -0.23316897451877594, 0.2709612548351288, -0.6031414270401001, -0.04048636928200722, -0.2185109406709671, -0.2661053240299225, 0.06201065704226494, 0.2163555920124054, -0.09238272160291672, 0.6635051965713501, 0.44683584570884705, 0.18531344830989838, 0.38420796394348145, 0.32807448506355286, 0.7257354259490967, -0.4019208252429962, -0.3758631944656372, -0.5271782875061035, 0.20590126514434814, -0.09391822665929794, -0.283006876707077, 0.4869302809238434, 0.7765055298805237, 0.592993438243866, -0.08980759233236313, 0.9560486674308777, 0.07101157307624817, 0.3248070180416107, -0.46749237179756165, 0.7186212539672852, -0.407699853181839, -0.06598740071058273, 0.19729207456111908, -0.6751765608787537, -0.15120044350624084, 0.40166231989860535, -0.27354732155799866, 0.2767447829246521, 0.7333895564079285, 1.1112836599349976, -0.05522153154015541, -0.09926527738571167, 0.2864306569099426, 0.3662489056587219, 0.2297484576702118, 0.6192641258239746, 0.7915937304496765, -0.7350834608078003, 0.37040483951568604, -0.2331908643245697, -0.3651542365550995, -0.13453403115272522, -0.7330203056335449, -0.8785537481307983, -0.2671544849872589, -0.23103997111320496, -0.5731066465377808, 0.21810665726661682, 1.0397495031356812, 0.9499008655548096, -0.7618467211723328, -0.23139451444149017, -0.17795415222644806, 0.08219566941261292, -0.06447681039571762, -0.21895861625671387, 0.015142946504056454, -0.41981571912765503, -0.39329254627227783, 0.336982786655426, 0.4020368754863739, -0.03976178169250488, -0.41959062218666077, -0.15068931877613068, -0.04085357114672661, 0.06233115866780281, 0.7639315128326416, 0.47071555256843567, -0.9413647651672363, -0.007915446534752846, 0.2087804526090622, -0.44613996148109436, 0.05667641758918762, 0.7816038727760315, -0.5692327618598938, 0.6647132635116577, 0.8092588782310486, 1.0176582336425781, 0.5151839256286621, 0.3011133372783661, 0.738401472568512, -0.6850560903549194, 0.14635764062404633, -0.1380731165409088, 0.10208436101675034, 0.03563623130321503, -0.19253860414028168, 0.16161838173866272, 0.06605373322963715, -0.48462796211242676, -0.273947536945343, 0.32662999629974365, -0.8308379650115967, 0.0691625252366066, 1.6809602975845337, 0.04743560403585434, -0.5029945373535156, 0.03360087797045708, -0.1933508664369583, 0.17882372438907623, -0.4719105064868927, 0.6006969213485718, 0.3756776452064514, 0.06668290495872498, -0.2967877686023712, -0.6482890248298645, 0.7005022168159485, 0.19180350005626678, -0.8939911127090454, 0.09445870667695999, 0.21752861142158508, -0.0880410298705101, 0.08572676032781601, 0.41917169094085693, -0.3113340735435486, 0.48623210191726685, 0.024457210674881935, 0.26599594950675964, -0.013741926290094852, -0.6709694266319275, -0.7407958507537842, 0.005286660045385361, 0.05933215469121933, -0.4165618419647217 ]
http://arxiv.org/abs/2404.07900v2
http://arxiv.org/pdf/2404.07900v2
High-Dimension Human Value Representation in Large Language Models
2024-04-11T16:39:00
2024-06-25T12:23:00
Samuel Cahyawijaya, Delong Chen, Yejin Bang, Leila Khalatbari, Bryan Wilie, Ziwei Ji, Etsuko Ishii, Pascale Fung
cs.CL
cs.CL, cs.AI
The widespread application of Large Language Models (LLMs) across various tasks and fields has necessitated the alignment of these models with human values and preferences. Given various approaches of human value alignment, ranging from Reinforcement Learning with Human Feedback (RLHF), to constitutional learning, etc. there is an urgent need to understand the scope and nature of human values injected into these models before their release. There is also a need for model alignment without a costly large scale human annotation effort. We propose UniVaR, a high-dimensional representation of human value distributions in LLMs, orthogonal to model architecture and training data. Trained from the value-relevant output of eight multilingual LLMs and tested on the output from four multilingual LLMs, namely LlaMA2, ChatGPT, JAIS and Yi, we show that UniVaR is a powerful tool to compare the distribution of human values embedded in different LLMs with different langauge sources. Through UniVaR, we explore how different LLMs prioritize various values in different languages and cultures, shedding light on the complex interplay between human values and language modeling.
[ -0.1691758781671524, -0.18971668183803558, 0.33436477184295654, 0.27060607075691223, -0.04836432263255119, 0.3661663830280304, -0.4716903865337372, -0.47810986638069153, 0.22287239134311676, 0.6051232814788818, -0.2082308530807495, -0.3920205235481262, -0.38935285806655884, -0.30170953273773193, -0.06906182318925858, 0.7507818937301636, 0.07749513536691666, 0.14622150361537933, -0.4065295159816742, -0.46022775769233704, -0.2888036072254181, -1.1166402101516724, -0.0684838593006134, -0.6618854999542236, 0.5357102155685425, 0.4320303797721863, 0.8292006254196167, 0.4757392406463623, 0.2925673723220825, 0.24516136944293976, -0.19835719466209412, 0.10315032303333282, -0.34953415393829346, -0.015900922939181328, -0.1468505859375, -0.1689261496067047, -0.5212352275848389, 0.271583616733551, 0.691569983959198, 1.0558273792266846, -0.12125131487846375, 0.3194808065891266, 0.1068434789776802, 0.6072608828544617, -0.44463077187538147, 0.28300943970680237, -0.23372790217399597, -0.023964472115039825, -0.4589442014694214, 0.03245145455002785, -0.3930245637893677, -0.2976303696632385, -0.20280253887176514, -0.4618974030017853, -0.271555095911026, 0.08416000753641129, 1.0845283269882202, 0.2289889007806778, -0.7163260579109192, 0.46879416704177856, -0.6059503555297852, 1.1539171934127808, -0.585940420627594, 0.3838331997394562, 0.2410992980003357, 0.4180109202861786, -0.27543750405311584, 0.0006225340766832232, -0.35988837480545044, 0.14462290704250336, -0.1949230134487152, -0.09895036369562149, 0.025972243398427963, -0.04430106282234192, -0.16929151117801666, 0.31119441986083984, -0.24664734303951263, 0.6334301829338074, -0.07019069045782089, -0.16077199578285217, 0.7842882871627808, 0.16238364577293396, -0.0007585257408209145, -0.3003179430961609, -0.43772682547569275, -0.42622435092926025, -0.8029001355171204, 0.31661391258239746, 0.5113986134529114, 0.5381667613983154, -0.10638544708490372, 0.5793358683586121, -0.17953692376613617, 0.6521787643432617, -0.2064066380262375, -0.24062007665634155, 0.5247095823287964, 0.05492733046412468, -0.17973992228507996, -0.1500384658575058, 0.9891648292541504, 0.2617189288139343, 0.529862105846405, -0.05593257024884224, -0.19641858339309692, -0.2485003024339676, 0.14852403104305267, -0.7057526707649231, 0.1568601280450821, -0.059727348387241364, -0.6275394558906555, -0.5787736773490906, -0.1456085741519928, -0.941422164440155, -0.47285890579223633, -0.5212559103965759, 0.11018006503582001, -0.04757919907569885, -0.27340883016586304, 0.010235276073217392, 0.21972143650054932, 0.22727446258068085, 0.33306801319122314, -1.2777698040008545, 0.04120262339711189, 0.4145433008670807, 0.36794427037239075, -0.2935584485530853, -0.5115578174591064, -0.4048091471195221, 0.06989137083292007, -0.39147788286209106, 0.918160617351532, -0.6962653398513794, -0.13397294282913208, -0.0031215331982821226, -0.1648096889257431, 0.3858970105648041, -0.5955030918121338, 0.5008240342140198, -0.6175709962844849, 0.013188093900680542, -0.5435636639595032, -0.421826034784317, -0.28972184658050537, 0.04812704026699066, -0.5780996680259705, 1.253555178642273, 0.441365510225296, -0.6630982756614685, 0.5021253228187561, -0.6718016862869263, -0.35251855850219727, 0.16080212593078613, -0.6804343461990356, -0.35382041335105896, 0.223414346575737, 0.13145016133785248, 0.7700316905975342, -0.7932441830635071, 0.3730734586715698, -0.3188015818595886, -0.12936189770698547, 0.5048983097076416, -0.7858222126960754, 0.8189610242843628, 0.1219656765460968, -0.14484110474586487, 0.4133417010307312, -0.7255190014839172, 0.21282926201820374, 0.16015909612178802, -0.6009662747383118, -0.318253755569458, -0.09418745338916779, 0.4553411602973938, 0.18894082307815552, 0.28193578124046326, -0.4017447531223297, 0.4230051636695862, -0.04831954091787338, 0.38363316655158997, 0.7891979813575745, -0.27963289618492126, 0.5032492876052856, 0.0003802952414844185, 0.5191316604614258, 0.15590617060661316, 0.09825193881988525, 0.1659073829650879, -0.3087257146835327, -0.33016708493232727, -0.47740259766578674, 0.5115854144096375, 0.3155486583709717, 0.0981939285993576, 0.4059143662452698, -0.18894821405410767, -0.16618111729621887, -0.8317106366157532, 0.1417040377855301, 0.26584747433662415, 0.12767241895198822, 0.19571374356746674, -0.09666533023118973, -0.43156641721725464, -1.1154474020004272, -0.09215641021728516, -0.22045527398586273, -0.19675131142139435, 0.09636228531599045, 0.2502083480358124, -0.29587823152542114, 0.984571099281311, -0.5417819023132324, -0.3574405312538147, -0.26328155398368835, 0.46828794479370117, 0.06615894287824631, 0.13696928322315216, 0.603224515914917, -0.7035226225852966, -0.2888389527797699, 0.30832037329673767, -0.6881930232048035, -0.24877630174160004, 0.07909681648015976, -0.2637678384780884, 0.3577573597431183, 0.1858457624912262, -0.29517099261283875, 0.3817789554595947, 0.6660625338554382, -0.40670499205589294, 0.4589861035346985, -0.4340232312679291, 0.3468586206436157, -1.118662714958191, 0.19352537393569946, -0.2042742818593979, -0.2855382263660431, -0.37548765540122986, -0.1437901258468628, 0.22909927368164062, 0.11303095519542694, -0.39689841866493225, 0.6626111268997192, -0.46683797240257263, -0.5889367461204529, -0.1295858472585678, -0.1127408817410469, 0.08914147317409515, 0.5344762802124023, 0.14648708701133728, 0.8691611886024475, 0.09837643057107925, -0.2585922181606293, 0.5224813222885132, 0.396963506937027, -0.4729224443435669, 0.8232152462005615, -0.48762673139572144, -0.24507850408554077, -0.2662004828453064, -0.02497647888958454, -0.6794927716255188, -0.43757808208465576, -0.2515943646430969, -0.37091585993766785, 0.10715615749359131, -0.1846616119146347, -0.6455435752868652, 0.06580222398042679, -0.16339126229286194, 0.6570907235145569, 0.7004448175430298, -0.6134916543960571, 0.4677696228027344, 0.8835231065750122, 0.037137221544981, -0.5397353172302246, -0.5227840542793274, 0.04178222641348839, -0.4800550937652588, -0.4563814401626587, 0.12812654674053192, 0.14843976497650146, -0.3135233521461487, -0.12561696767807007, 0.5274713635444641, -0.13820140063762665, 0.16213680803775787, 0.31417715549468994, 0.2076815813779831, -0.05981145799160004, 0.2748987376689911, -0.15098439157009125, -0.16863636672496796, -0.14926482737064362, -0.353295236825943, 0.43621572852134705, -0.12119118124246597, -0.5482721924781799, -0.12795491516590118, 0.5464369654655457, 0.8107358813285828, -0.4878372848033905, 0.6938802003860474, 0.45933470129966736, -0.43215543031692505, 0.09856845438480377, -0.4276234209537506, 0.15255415439605713, -0.3472162187099457, 0.37414178252220154, -0.20005396008491516, -0.7608562111854553, 0.5429619550704956, -0.09110786765813828, 0.16423091292381287, 0.5278722643852234, 0.713732123374939, -0.17982542514801025, 1.1363530158996582, 0.6751596331596375, -0.4259961247444153, 0.22089095413684845, -0.13762670755386353, 0.09247496724128723, -0.9642842411994934, -0.4679311513900757, -0.4718412160873413, -0.3666023015975952, -0.3590056598186493, -0.6597254872322083, 0.31045398116111755, 0.3012055456638336, -0.6060492992401123, 0.0984223335981369, -0.3314152657985687, 0.4659231901168823, 0.49612441658973694, -0.44963181018829346, 0.30867910385131836, 0.15705351531505585, -0.2490948885679245, -0.3342059254646301, -0.5213196873664856, -0.7282652854919434, 1.0319725275039673, 0.5190948247909546, 1.0336251258850098, 0.223792165517807, 0.42833009362220764, 0.07128071784973145, 0.4681532680988312, -0.74068683385849, 0.21391557157039642, -0.3088991343975067, -0.38624313473701477, -0.7024744749069214, -0.44715434312820435, -1.0748482942581177, 0.5438730120658875, -0.22713041305541992, -0.8001875877380371, 0.3223542273044586, 0.17219874262809753, -0.5804256200790405, 0.43183398246765137, -0.42953258752822876, 1.1005243062973022, -0.7536084651947021, -0.1136239767074585, -0.07599751651287079, -0.4933227300643921, 0.17242178320884705, -0.060803405940532684, 0.47065073251724243, -0.4436080753803253, 0.23054692149162292, 0.663873553276062, -0.151766836643219, 0.924336850643158, 0.07214165478944778, -0.27664247155189514, -0.07874471694231033, -0.012743393890559673, 0.2085203230381012, -0.04219967499375343, -0.10325873643159866, 0.38098183274269104, -0.000140462041599676, -0.6093868613243103, -0.29556986689567566, 0.6168203353881836, -1.204624056816101, -0.41982516646385193, -0.6407185196876526, -0.8342893123626709, -0.1781378984451294, 0.15274736285209656, 0.13560764491558075, 0.21570992469787598, -0.4302949011325836, 0.055694714188575745, 0.6373417973518372, -0.43881499767303467, 0.13722537457942963, 0.22482775151729584, -0.5874695181846619, -0.36117345094680786, 0.7326621413230896, -0.008452806621789932, 0.47752833366394043, 0.5886049866676331, 0.307719349861145, -0.4464970529079437, -0.08148656040430069, -0.7281669974327087, 0.19574132561683655, -0.7298792600631714, -0.28179964423179626, -0.36976537108421326, -0.1032978743314743, -0.3347126543521881, -0.18014360964298248, -0.5400068759918213, -0.26802346110343933, -0.3784630298614502, -0.06051911041140556, 0.7375506162643433, 1.037203311920166, -0.05118437111377716, 0.10217089205980301, -0.7211299538612366, 0.03026985190808773, 0.39819228649139404, 0.48036977648735046, 0.0731445848941803, -0.5433319211006165, -0.2743206322193146, 0.3336437940597534, -0.27542752027511597, -0.6738669276237488, 0.5342086553573608, -0.022627679631114006, 0.5790655612945557, 0.598722517490387, 0.009458585642278194, 0.7065714001655579, -0.4226698577404022, 0.5794864296913147, 0.21707190573215485, -0.8661150932312012, -0.04404572769999504, -0.2716479003429413, 0.22363299131393433, 0.4460532069206238, 0.15377673506736755, -1.0144753456115723, 0.15819209814071655, -0.28325697779655457, -0.7499711513519287, 0.6157549023628235, -0.19849570095539093, 0.1122061237692833, 0.10721863806247711, 0.17348450422286987, 0.05750086531043053, 0.2125847488641739, -0.664124608039856, -0.020809587091207504, -0.20716646313667297, -0.39787718653678894, -0.23360994458198547, -0.34894731640815735, -0.10262329131364822, -0.3127501308917999, 0.2805611193180084, -0.2418443262577057, 0.23423273861408234, -0.36664867401123047, -0.10541098564863205, -0.4175049066543579, 0.44107332825660706, 0.5102370977401733, 0.5472924709320068, -0.16520535945892334, 0.3439808487892151, 0.13519549369812012, 0.14094196259975433, 0.5663201808929443, -0.19045038521289825, 0.06305990368127823, -0.40194380283355713, 0.2904866933822632, 0.867374837398529, 0.47883471846580505, -0.7331516146659851, 0.6805172562599182, 0.19853180646896362, -0.10368645936250687, -0.3539198935031891, -0.3324166536331177, 0.521244466304779, 0.18292447924613953, 0.11074420809745789, -0.1516827493906021, -0.2233835756778717, -0.8305070400238037, -0.0478072464466095, 0.4731082022190094, -0.37325984239578247, -0.42118996381759644, 0.7574914693832397, 0.2397000938653946, -0.1534276157617569, 0.8484825491905212, -0.2696003317832947, -0.7483693361282349, 0.26592743396759033, 0.2103661149740219, 0.6292169690132141, -0.32298532128334045, 0.3612349331378937, 0.009272880852222443, -0.0012939053121954203, -0.1970093846321106, 0.28921133279800415, 0.32717618346214294, -0.7018389105796814, -0.5753132700920105, -0.8823175430297852, -0.17666171491146088, 0.12264221906661987, -0.6332165002822876, 0.1131838858127594, -0.01660092920064926, 0.07781568169593811, 0.1312161535024643, -0.11826030164957047, -0.6643613576889038, -0.182822585105896, 0.0993877574801445, 0.4802655577659607, -1.1569254398345947, 0.9859240651130676, 0.8119658827781677, -0.5196648836135864, -0.7210500240325928, -0.016201727092266083, 0.07150648534297943, -0.8116236329078674, 1.2762081623077393, -0.0229287538677454, 0.004487278871238232, -0.3305703103542328, -0.08627056330442429, -1.012675166130066, 1.0154651403427124, 0.6882864832878113, -0.35756200551986694, 0.15405957400798798, 0.6513068079948425, 0.562498927116394, -0.4702686667442322, 0.2677319049835205, 0.5002564191818237, 0.6197213530540466, 0.19053083658218384, -0.8383269906044006, -0.19279374182224274, 0.1341392695903778, 0.3533017635345459, 0.5949032306671143, -0.7674384713172913, 0.9183996319770813, -0.2535755932331085, -0.09877382218837738, -0.21060581505298615, 0.7489972114562988, 0.1557837426662445, -0.31202831864356995, 0.4240393340587616, 0.5211554169654846, 0.8613773584365845, 0.13386142253875732, 0.8262211084365845, -0.024854613468050957, 0.3353199064731598, 0.7947278022766113, -0.4494688808917999, 0.9601583480834961, 0.501173734664917, -0.4406138062477112, 0.1684628576040268, 0.8299495577812195, 0.23773783445358276, 0.2953788638114929, 0.441739559173584, 0.009013867005705833, -0.5777060985565186, -0.2587468922138214, -0.002762148156762123, 0.4830124080181122, 0.03172842040657997, 0.01870296336710453, -0.2662004828453064, -0.04306279867887497, 0.1285618543624878, 0.36109477281570435, -0.055849071592092514, 0.615837812423706, -0.011557143181562424, -0.6091561317443848, 0.8006042838096619, 0.027074845507740974, 0.5174477100372314, -0.276390939950943, -0.1512012481689453, -0.2855864465236664, 0.3076021075248718, -0.19104470312595367, -0.9793234467506409, 0.13872933387756348, 0.07314184308052063, -0.33746641874313354, -0.427341490983963, 0.014643716625869274, -0.7288859486579895, -0.6273610591888428, 0.5744009017944336, 0.18119969964027405, 0.2954501807689667, -0.0879417210817337, -0.44484779238700867, 0.05625634267926216, -0.07952678203582764, -0.27295225858688354, 0.7311486601829529, 0.5597279071807861, -0.6844544410705566, 0.5749894976615906, 0.4609992206096649, 0.1716107875108719, -0.07922447472810745, 0.32699498534202576, 0.5757386684417725, -0.6931840777397156, -0.280082106590271, -0.693581759929657, 0.4443008303642273, -0.0607757568359375, -0.41991403698921204, 0.43532463908195496, 0.45878708362579346, 0.8232371807098389, 0.13523896038532257, 0.7193797826766968, 0.2848110496997833, 0.45564940571784973, -0.31299683451652527, 0.6953580379486084, -0.5579764246940613, 0.299450159072876, -0.08680930733680725, -0.7614619731903076, -0.3497388958930969, 0.6797318458557129, -0.05577811598777771, -0.05158750340342522, 0.34347105026245117, 0.38791197538375854, -0.016353104263544083, -0.41579294204711914, 0.6147031188011169, 0.026852207258343697, 0.3814578056335449, 0.44227707386016846, 0.8552576303482056, -0.026666628196835518, 0.18537384271621704, -0.028380699455738068, -0.46143969893455505, -0.41794678568840027, -0.948630154132843, -0.8508139848709106, -0.6890605092048645, -0.04432712495326996, 0.04283161833882332, -0.29304763674736023, 1.3982151746749878, 0.7566856741905212, -0.8114601969718933, -0.7328629493713379, 0.3786512613296509, -0.04247637838125229, -0.3329642415046692, -0.12533652782440186, 0.5359188318252563, -0.23225216567516327, -0.5123928189277649, 0.07878600805997849, 0.4274795651435852, 0.1960289627313614, -0.6583849191665649, -0.2614651918411255, -0.13871406018733978, 0.13191896677017212, 0.6742461919784546, 0.21877555549144745, -0.7732850909233093, -0.5430801510810852, -0.10376197099685669, -0.16557946801185608, 0.26228752732276917, 0.7505340576171875, -0.6413615345954895, 0.11605676263570786, 0.4117698073387146, 0.7921671867370605, 0.18271781504154205, -0.05690329894423485, 0.7253395915031433, -0.7616367936134338, 0.18371959030628204, 0.07996094226837158, 0.5493662357330322, 0.481869101524353, -0.46448180079460144, 0.132180854678154, -0.06847882270812988, -0.7175086736679077, -0.7271947264671326, 0.5238967537879944, -0.7520610094070435, -0.2701095640659332, 1.2205277681350708, -0.08548788726329803, -0.16630013287067413, 0.004440166521817446, -0.15495339035987854, 0.03773071989417076, -0.5034924149513245, 0.8314900398254395, 0.6465594172477722, -0.04350145906209946, -0.13524043560028076, -0.6336004137992859, 0.45752832293510437, 0.43367287516593933, -1.0301787853240967, 0.6975148916244507, 0.401123583316803, 0.14259929955005646, -0.011764599941670895, 0.3986579179763794, -0.3515876233577728, -0.17461784183979034, -0.6658745408058167, 0.7485440373420715, 0.24473358690738678, -0.1711357980966568, -0.46199023723602295, -0.021179096773266792, 0.6474466323852539, -0.10680098086595535 ]
http://arxiv.org/abs/2404.07879v1
http://arxiv.org/pdf/2404.07879v1
Analyzing Toxicity in Deep Conversations: A Reddit Case Study
2024-04-11T16:10:44
2024-04-11T16:10:44
Vigneshwaran Shankaran, Rajesh Sharma
cs.CL
cs.CL, cs.CY, cs.SI
Online social media has become increasingly popular in recent years due to its ease of access and ability to connect with others. One of social media's main draws is its anonymity, allowing users to share their thoughts and opinions without fear of judgment or retribution. This anonymity has also made social media prone to harmful content, which requires moderation to ensure responsible and productive use. Several methods using artificial intelligence have been employed to detect harmful content. However, conversation and contextual analysis of hate speech are still understudied. Most promising works only analyze a single text at a time rather than the conversation supporting it. In this work, we employ a tree-based approach to understand how users behave concerning toxicity in public conversation settings. To this end, we collect both the posts and the comment sections of the top 100 posts from 8 Reddit communities that allow profanity, totaling over 1 million responses. We find that toxic comments increase the likelihood of subsequent toxic comments being produced in online conversations. Our analysis also shows that immediate context plays a vital role in shaping a response rather than the original post. We also study the effect of consensual profanity and observe overlapping similarities with non-consensual profanity in terms of user behavior and patterns.
[ -0.2386610358953476, -1.3074820041656494, 0.5153976678848267, 0.23925285041332245, -0.3553062677383423, 0.05613496154546738, -0.11341826617717743, -0.6647582054138184, 0.10471858829259872, 0.47551560401916504, -0.5160011053085327, -0.5251877903938293, -0.8141797184944153, -0.055282268673181534, -0.7807063460350037, 1.1438482999801636, 0.38933229446411133, -0.2124975621700287, -0.06826483458280563, -0.24742794036865234, -0.5026082396507263, -0.7008472681045532, -0.9191489219665527, 0.1415770798921585, 0.8787818551063538, 0.34177276492118835, 0.6723260879516602, 0.3971370756626129, 0.6340492963790894, 0.3987492322921753, -0.35255441069602966, -0.19761982560157776, -0.9730402827262878, 0.46712201833724976, -0.38479894399642944, -0.10146500170230865, -0.14348627626895905, -0.17796948552131653, 0.2318030595779419, 0.3347781300544739, 0.045305486768484116, 0.17666777968406677, 0.025803033262491226, 0.3438129425048828, -0.508050799369812, -0.134134903550148, -0.7162889838218689, 0.2220398485660553, -0.3022046983242035, -0.27932557463645935, -0.193881556391716, -0.47996070981025696, 0.13848386704921722, -0.4024864435195923, -0.09344885498285294, -0.29563072323799133, 0.5593786835670471, 0.1852617859840393, -0.6293054223060608, -0.6401247978210449, -1.0762765407562256, 0.8312751054763794, -0.7518066763877869, 0.10686106979846954, 0.34436193108558655, 0.10533682256937027, 0.0998419001698494, -0.6469695568084717, -0.6106775999069214, -0.1812583953142166, -0.6257534027099609, -0.0036814361810684204, -0.3118148446083069, 0.13595101237297058, 0.14898774027824402, 0.2261408418416977, -0.24217063188552856, -0.023539826273918152, -0.45128142833709717, -0.14830297231674194, 0.9325329065322876, 0.3192877769470215, 0.6249635815620422, -0.13199685513973236, -0.17931760847568512, 0.09005643427371979, -0.21452191472053528, -0.2188328206539154, 0.3978692591190338, 0.09579291939735413, 0.04665355011820793, 0.3607092499732971, 0.12467991560697556, 0.30734941363334656, -0.31886911392211914, 0.05031465366482735, -0.10240104794502258, -0.522202730178833, 0.0502619631588459, -0.009013314731419086, 0.9148181676864624, 0.9755861759185791, 0.6824563145637512, 0.2415000945329666, 0.32226133346557617, 0.43166816234588623, 0.5332097411155701, -1.000849723815918, -0.3708586096763611, 0.11447270959615707, -0.5163959860801697, -0.5380772948265076, -0.2537616193294525, -1.1459741592407227, -1.0830962657928467, 0.011111171916127205, 0.08278229832649231, -0.06792151182889938, -0.4479774832725525, -0.27789655327796936, -0.1279444694519043, -0.23293951153755188, 0.15089447796344757, -0.5310234427452087, 0.3640314042568207, 0.44417697191238403, 0.8047709465026855, -0.2065870463848114, 0.04162401333451271, -0.18891549110412598, 0.1470523327589035, -0.16716384887695312, 0.6110255122184753, -0.8545868992805481, -0.3719555139541626, 0.2976081669330597, -0.09719254821538925, 0.32610437273979187, -0.5137717127799988, 1.041098952293396, -0.41067755222320557, 0.2752046585083008, -0.21026889979839325, -0.2407972365617752, -0.5174334049224854, 0.3855023682117462, -0.28748631477355957, 0.5066615343093872, -0.20280961692333221, -1.0422037839889526, 0.1952597200870514, -0.7814562320709229, -0.7396779656410217, 0.16210554540157318, -0.11328373104333878, -0.4066866338253021, -0.07970773428678513, -0.19356609880924225, 0.34677159786224365, 0.24314823746681213, 0.0396079421043396, -0.5229137539863586, -0.35722002387046814, 0.3931877017021179, -0.4524553120136261, 0.6939730048179626, 0.42352744936943054, -0.5676528811454773, 0.42603522539138794, -0.243021160364151, -0.127180278301239, 0.04750620201230049, -0.1683877408504486, -0.769141435623169, 0.2976987957954407, 0.06507309526205063, 0.2518220543861389, -0.17995023727416992, -0.6652006506919861, -0.6087213754653931, -0.4840391278266907, 0.8995604515075684, 0.5314744710922241, 0.550114631652832, 0.053551625460386276, -0.33271485567092896, 0.1446097046136856, 0.20383968949317932, 0.5187432169914246, 0.15371589362621307, -0.2991175353527069, -0.5506560802459717, 0.28924277424812317, -0.2957005798816681, 0.38613444566726685, -0.19296912848949432, 0.08865632116794586, -0.014637148007750511, -0.46856242418289185, -0.2708524167537689, -0.030276939272880554, 0.5313580632209778, 0.41901668906211853, 0.4180276095867157, -0.6014955043792725, -0.5637469291687012, -0.90165114402771, -0.40246713161468506, -0.2991693913936615, 0.047137923538684845, 0.6986504197120667, 0.21229244768619537, -0.3243524730205536, 0.6728860139846802, -0.5226801633834839, -0.5545344948768616, 0.25210341811180115, 0.18105213344097137, -0.22952969372272491, 0.35581567883491516, 0.5093804597854614, -0.7491348385810852, -0.8155884146690369, 0.056659799069166183, -0.612106442451477, -0.05364135652780533, -0.00891395378857851, -0.26269277930259705, -0.21797595918178558, 0.5549653768539429, -0.30300161242485046, 0.3733876943588257, 0.4446525573730469, -0.37102267146110535, 0.198340505361557, 0.1675388365983963, 0.4487518072128296, -0.6399052739143372, 0.1257365643978119, 0.07866497337818146, 0.1581255942583084, -1.0528031587600708, -0.10916139930486679, -0.591064989566803, -0.02028329111635685, -0.6476234793663025, 0.29670560359954834, -0.04615769535303116, 0.2840101420879364, -0.14606687426567078, 0.27174118161201477, -0.17393460869789124, 0.3266976475715637, 0.024079397320747375, 0.6095631122589111, 0.1919650286436081, -0.5128584504127502, 0.16414642333984375, 0.2527076303958893, -0.19550520181655884, 0.502842903137207, -0.46973222494125366, 0.15297214686870575, -0.3952271342277527, 0.23926560580730438, -0.9678443670272827, -0.3064109981060028, 0.48935866355895996, -0.5625065565109253, -0.3175400197505951, 0.04977940768003464, -0.32361698150634766, -0.3319002687931061, -0.44468533992767334, 0.5229641795158386, 0.1200655996799469, -0.005599966272711754, 0.25200411677360535, 0.9209034442901611, -0.4520662724971771, -0.3969508111476898, -0.6123005747795105, 0.1496068239212036, -0.5997850298881531, -0.4689105153083801, 0.16783548891544342, -0.4110730290412903, -0.7387317419052124, -0.13044987618923187, 0.06436610221862793, -0.32591912150382996, 0.32299676537513733, 0.3214455544948578, -0.4416968524456024, 0.15916700661182404, 0.1698756068944931, 0.17481322586536407, 0.34437164664268494, 0.6131559014320374, 0.6324937343597412, 0.6168230772018433, -0.15677018463611603, 0.16695338487625122, -0.61201411485672, 0.6196029186248779, 0.7524619102478027, -0.026836099103093147, 0.6251013875007629, 0.36125418543815613, -0.36361387372016907, -0.13735748827457428, -0.32278743386268616, -0.4601099491119385, -0.49490875005722046, 0.3625551760196686, 0.29498299956321716, -0.8930036425590515, 0.45396870374679565, 0.0612567737698555, 0.19220376014709473, 0.13825254142284393, 0.6359598636627197, -0.3379172384738922, 1.1466013193130493, 0.28533920645713806, 0.05232016369700432, 0.6846068501472473, 0.11101948469877243, 0.4056619703769684, -0.21369579434394836, -0.16597628593444824, -0.27895644307136536, -0.4065248668193817, -0.4276933968067169, -0.10347729921340942, 0.2448660433292389, -0.2422618865966797, -0.5008718371391296, 0.15582135319709778, -0.714280366897583, 0.7433152198791504, 0.21768125891685486, 0.18854200839996338, 0.44809985160827637, 0.07016782462596893, 0.3141748905181885, -0.2688550651073456, -0.3127177953720093, -0.5511153936386108, 0.5498097538948059, 0.5623127818107605, 0.4409366250038147, 0.3054089844226837, 0.2078702449798584, 0.695146381855011, 0.8248000144958496, -0.7243098020553589, 0.5485922694206238, -0.20539109408855438, -1.1497377157211304, -0.29501086473464966, -0.3122769594192505, -0.9326623678207397, 0.1670357584953308, -0.40307241678237915, -0.6701949238777161, -0.17914098501205444, 0.13985173404216766, -0.6433441042900085, 0.25047433376312256, -0.8010550737380981, 0.7744913101196289, -0.2537112534046173, -0.5949957370758057, -0.39605700969696045, -0.8731212019920349, 0.581164538860321, -0.012511221691966057, 0.6438475251197815, -0.07542047649621964, 0.24769842624664307, 0.927885115146637, -0.041813626885414124, 1.1389641761779785, -0.1518963873386383, -0.1643105447292328, 0.6013929843902588, 0.17873898148536682, 0.07106747478246689, 0.0912836492061615, 0.04470248147845268, 0.21250495314598083, 0.03394473344087601, -0.036146268248558044, -0.26249197125434875, 0.8424866199493408, -0.7483528852462769, -0.48317378759384155, -0.14801667630672455, -0.20312221348285675, -0.1618323028087616, 0.2939985990524292, 0.05579163506627083, 0.02882227674126625, -0.28556951880455017, 0.3099590539932251, 0.6754115223884583, -0.49904242157936096, 0.3159192204475403, 0.2619762122631073, -0.10047802329063416, -0.24677839875221252, 0.8403834700584412, 0.0011113965883851051, 0.12284387648105621, 0.024382611736655235, 0.6398336887359619, -0.1583215296268463, -0.6258648037910461, -0.09896904975175858, 0.32001543045043945, -0.7001656889915466, -0.1841527819633484, -0.6779769659042358, -0.269232839345932, -0.29975202679634094, -0.1248481273651123, -0.08165580779314041, 0.11554775387048721, -0.2277652770280838, -0.2196461409330368, 0.3055209219455719, 0.9975511431694031, 0.09750397503376007, 0.4720085561275482, -0.8137627243995667, -0.21040739119052887, 0.6039298176765442, 0.4612865746021271, 0.26132944226264954, -0.33033686876296997, 0.19738654792308807, 0.1352519690990448, -0.39352959394454956, -1.2797406911849976, 0.3743680715560913, 0.05362289026379585, 0.14237669110298157, 0.5930091142654419, 0.36116674542427063, 0.6631460785865784, -0.20811952650547028, 0.7581297159194946, -0.017715727910399437, -0.5770453810691833, 0.6484779119491577, -0.5850839614868164, -0.16743583977222443, 0.795504629611969, 0.6692529320716858, -1.1033947467803955, -0.7931581139564514, -0.5401204228401184, -0.8068147897720337, 0.3748798668384552, 0.38958653807640076, 0.8510104417800903, -0.31168001890182495, 0.13009552657604218, 0.0366814024746418, 0.2454453855752945, -0.8735264539718628, -0.41243094205856323, -0.2151743322610855, -0.06355834007263184, 0.13056395947933197, -0.5475183129310608, -0.6360898613929749, -0.3409363031387329, 0.43742549419403076, 0.3520713150501251, 0.10477732121944427, 0.0067306458950042725, -0.10599295049905777, -0.35384222865104675, 0.3414194583892822, 0.8883638978004456, 0.48099908232688904, -0.22359000146389008, 0.3640945255756378, 0.21288903057575226, -0.6227376461029053, -0.1628756821155548, -0.44261589646339417, -0.11799190938472748, -0.20961196720600128, 0.25886479020118713, 0.39469802379608154, 0.23190148174762726, -0.7607312202453613, 0.7281177639961243, -0.156142458319664, -0.09711594879627228, -0.29893502593040466, 0.08209557831287384, 0.2134549766778946, 0.203639417886734, -0.014271609485149384, -0.13306298851966858, 0.23010209202766418, -0.8392008543014526, 0.5238533616065979, 0.3473661541938782, -0.6750041842460632, -0.26508772373199463, 0.6762256622314453, 0.6920874118804932, -0.4190731942653656, 0.41256797313690186, 0.0727437287569046, -0.5496278405189514, 0.26485925912857056, 0.22133775055408478, 0.5886287689208984, -0.16004884243011475, 0.409957617521286, 0.6443242430686951, 0.11913790553808212, 0.7455379366874695, -0.06436125189065933, -0.0012928874930366874, -0.696460485458374, -0.21999573707580566, -0.6958199739456177, -0.2020447999238968, 0.6439709663391113, -0.15173693001270294, -0.17519386112689972, -0.8224242329597473, -0.26044660806655884, 0.106843963265419, 0.08479850739240646, -0.15493424236774445, 0.18450383841991425, 0.19917649030685425, 0.32572484016418457, -1.2633953094482422, 0.3669127821922302, 0.4022866189479828, -0.40959370136260986, -0.3065193295478821, 0.22481320798397064, 0.2890267074108124, -0.5881333351135254, 0.3885226845741272, 0.30341842770576477, -0.23512430489063263, 0.0228229071944952, -0.6716112494468689, -0.5536580681800842, 0.6551923751831055, -0.00872368086129427, -0.34117966890335083, 0.24698154628276825, 0.22532208263874054, 1.1495344638824463, 0.0064901201985776424, 0.44425052404403687, 0.6428735852241516, 0.3964253067970276, 0.19655422866344452, -0.5286788940429688, 0.2320341169834137, -0.2623843252658844, -0.048118527978658676, 0.21630708873271942, -0.6732339859008789, 0.5148084759712219, 0.10687897354364395, -0.94907146692276, -0.2582891881465912, 0.5539343357086182, -0.01840575970709324, 0.36835065484046936, 0.5810562372207642, 0.1502503752708435, 0.4841424524784088, 0.3433920443058014, 0.5714128017425537, -0.24375419318675995, 0.28167760372161865, 1.0367692708969116, -0.025370139628648758, 0.8459575772285461, 0.3774665594100952, -0.03447443246841431, 0.6060255765914917, 0.47226080298423767, 0.19385042786598206, 0.33297985792160034, 0.5362287163734436, -0.6587321162223816, -0.062410805374383926, -0.561240553855896, -0.3428937494754791, 0.19580745697021484, 0.5077794194221497, -0.5633743405342102, -0.35861432552337646, -0.04386357590556145, 0.584857702255249, 0.5827733874320984, -0.34261971712112427, 0.949252188205719, -0.0008865295676514506, -0.6451291441917419, 0.06677346676588058, -0.05790155380964279, 0.8530807495117188, -0.22748731076717377, -0.04046844691038132, -0.3792998194694519, 0.1576230376958847, -0.46981990337371826, -1.098569393157959, 0.7848955392837524, 0.09263620525598526, 0.3767675757408142, -0.2560548782348633, 1.0051813125610352, -0.5052501559257507, -0.10843750834465027, 0.4433155059814453, 0.30709409713745117, 0.27615293860435486, -0.1426514983177185, -0.7585736513137817, 0.16692504286766052, -0.221293643116951, -0.10115023702383041, 0.306218683719635, 0.3251487612724304, -0.1500246822834015, 0.5018084049224854, 0.6221535205841064, -0.2165088653564453, 0.0756402239203453, 0.006474266294389963, 0.9683302044868469, -0.474125474691391, -0.15954315662384033, -1.0332152843475342, 0.5028389692306519, -0.46238285303115845, -0.5504991412162781, 0.7436608076095581, 0.28642234206199646, 0.8890482187271118, 0.22309328615665436, 0.5082675814628601, -0.15181834995746613, 0.6276366114616394, 0.11597908288240433, 1.2883455753326416, -0.2415015548467636, 0.004005249124020338, -0.4423924684524536, -0.7047079801559448, -0.7334696054458618, 0.7182258367538452, -0.39861825108528137, -0.08015336096286774, 0.5745741724967957, 0.8729745149612427, 0.189663827419281, 0.2018846720457077, 0.2507346570491791, 0.7046051025390625, 0.325033575296402, 0.2842472493648529, 1.0475796461105347, -0.13131815195083618, 0.9215288162231445, -0.35413357615470886, -0.17682725191116333, -0.1546448916196823, -0.7093560099601746, -0.892566442489624, -0.39456701278686523, -0.28244537115097046, -0.34081119298934937, 0.029113953933119774, 0.36867451667785645, 0.31971475481987, -0.8264058232307434, -0.19150924682617188, -0.1653313934803009, 0.25687509775161743, -0.021634016185998917, -0.3515957295894623, -0.007415418047457933, 0.06342456489801407, -0.7092087864875793, 0.12009208649396896, 0.14728686213493347, -0.22007742524147034, -0.18650780618190765, -0.00916752964258194, -0.35159119963645935, 0.2504529058933258, 1.110134482383728, 0.22019679844379425, -0.5058850646018982, -0.7216066122055054, -0.23837292194366455, -0.10298344492912292, 0.05656728520989418, 0.7814512252807617, -0.31323960423469543, 0.4337988495826721, 0.6261076331138611, 0.3588789403438568, 0.3865070044994354, 0.3788680136203766, 0.25270721316337585, -0.7745590209960938, -0.42257505655288696, 0.5317513346672058, -0.28991004824638367, 0.1556590348482132, -0.42092710733413696, 0.21885272860527039, 0.35404250025749207, -0.5616621971130371, -0.8871392607688904, 0.33285802602767944, -0.8029749989509583, -0.5913374423980713, 1.3121360540390015, 0.16005592048168182, -0.037264179438352585, -0.36530801653862, -0.5526381731033325, 0.29806211590766907, -0.6022103428840637, 1.0560945272445679, 0.8123006224632263, -0.1633811891078949, -0.0751955658197403, -0.6823471784591675, 0.8173500895500183, 0.20321401953697205, -1.0295307636260986, 0.4888468384742737, 0.5880305171012878, 0.31442898511886597, 0.3309285342693329, 0.7916824817657471, -0.0698971226811409, -0.04322655126452446, -0.17154815793037415, -0.41360434889793396, 0.34206998348236084, -0.30136463046073914, -0.15323635935783386, 0.5868988037109375, -0.20918767154216766, 0.09366364032030106 ]
http://arxiv.org/abs/2404.07851v1
http://arxiv.org/pdf/2404.07851v1
Guiding Large Language Models to Post-Edit Machine Translation with Error Annotations
2024-04-11T15:47:10
2024-04-11T15:47:10
Dayeon Ki, Marine Carpuat
cs.CL
cs.CL, cs.AI
Machine Translation (MT) remains one of the last NLP tasks where large language models (LLMs) have not yet replaced dedicated supervised systems. This work exploits the complementary strengths of LLMs and supervised MT by guiding LLMs to automatically post-edit MT with external feedback on its quality, derived from Multidimensional Quality Metric (MQM) annotations. Working with LLaMA-2 models, we consider prompting strategies varying the nature of feedback provided and then fine-tune the LLM to improve its ability to exploit the provided guidance. Through experiments on Chinese-English, English-German, and English-Russian MQM data, we demonstrate that prompting LLMs to post-edit MT improves TER, BLEU and COMET scores, although the benefits of fine-grained feedback are not clear. Fine-tuning helps integrate fine-grained feedback more effectively and further improves translation quality based on both automatic and human evaluation.
[ -0.20519739389419556, -0.5627434849739075, 0.6644976735115051, 0.31538766622543335, -0.4066048860549927, 0.04290200024843216, -0.5738656520843506, -0.279876172542572, 0.12435285747051239, 0.7177747488021851, -0.4649309813976288, -0.5836144685745239, -0.8278855085372925, 0.5281445980072021, -0.09865207970142365, 1.2187243700027466, -0.3256627917289734, 0.26688554883003235, 0.14840003848075867, -0.044889114797115326, -0.691695511341095, -0.5674569010734558, -0.7173017263412476, -0.27902892231941223, 0.9182390570640564, 0.43681928515434265, 1.0484448671340942, 0.6842822432518005, 0.5610655546188354, 0.21749994158744812, -0.14152520895004272, 0.9265368580818176, -0.18023833632469177, 0.014972955919802189, -0.1986658275127411, -0.6606301665306091, -0.8074139952659607, -0.060102127492427826, 0.676579475402832, 0.6600953340530396, -0.00733626214787364, 0.2555341124534607, 0.5637005567550659, 0.5878199338912964, -0.24049854278564453, 0.13726551830768585, -0.5202034711837769, 0.024696409702301025, -0.14173074066638947, -0.4320389926433563, -0.6202181577682495, -0.3280869722366333, -0.3214774429798126, -0.5846153497695923, -0.18228976428508759, 0.08131693303585052, 0.8053153157234192, 0.6916326284408569, -0.326436311006546, -0.11456430703401566, -0.6857457756996155, 0.7815309166908264, -0.7927190065383911, 0.2574147880077362, 0.6163386106491089, 0.04404905065894127, -0.41677555441856384, -0.2583044171333313, -0.3667412996292114, -0.12490066140890121, -0.21290715038776398, 0.058033961802721024, 0.017872996628284454, 0.022542718797922134, 0.13466034829616547, 0.14608804881572723, -0.21630369126796722, 0.5038068294525146, -0.2322053760290146, -0.13782204687595367, 0.5481281876564026, 0.15907318890094757, -0.013613907620310783, -0.09056457877159119, 0.04948842525482178, -0.13393887877464294, -0.7959715723991394, 0.13144485652446747, 0.28188833594322205, 0.42981573939323425, -0.1021907776594162, 0.819406270980835, -0.30310767889022827, 0.607361912727356, 0.07095054537057877, -0.00474418792873621, 0.2739170491695404, -0.30665233731269836, -0.19813717901706696, -0.25054609775543213, 0.9051170945167542, 0.8022895455360413, 0.1472397893667221, -0.1205151155591011, -0.6308764219284058, -0.2219058722257614, 0.18061836063861847, -0.5608406662940979, -0.19168034195899963, 0.2814430594444275, -0.531576931476593, -0.21373654901981354, -0.006023103836923838, -0.5510697364807129, -0.4641457200050354, -0.6204712986946106, 0.5493259429931641, -0.23107212781906128, 0.016008974984288216, 0.10223134607076645, 0.1042058989405632, -0.06564143300056458, 0.8114925622940063, -0.9411990642547607, -0.1270456463098526, 0.6632772088050842, 0.9224724173545837, 0.009699597023427486, -0.40709587931632996, -1.1520748138427734, 0.17252320051193237, -0.6885150074958801, 0.7577904462814331, -0.45729127526283264, -0.2750711143016815, 0.026016129180788994, 0.23147256672382355, 0.1679714024066925, -0.6098416447639465, 0.6180039048194885, -0.46975916624069214, 0.16995356976985931, -0.41439738869667053, -0.22421854734420776, -0.3315434455871582, 0.3593462109565735, -0.30666306614875793, 0.9988058805465698, 0.133006751537323, -0.5098692178726196, 0.40460747480392456, -0.6325270533561707, -0.37063413858413696, -0.13696153461933136, 0.27156350016593933, -0.3795378506183624, 0.5735928416252136, 0.6452761888504028, 0.5454226136207581, -0.168129101395607, 0.37247946858406067, -0.19232821464538574, -0.16184283792972565, 0.20408494770526886, -0.21775293350219727, 0.3046220541000366, 0.021596895530819893, -0.08532095700502396, 0.5452713370323181, -0.6174660325050354, -0.04185977205634117, -0.10674861073493958, -0.6998962759971619, -0.13752314448356628, 0.005627560894936323, -0.12554384768009186, 0.38320061564445496, 0.08938578516244888, -0.19122108817100525, 0.5141296982765198, -0.27008166909217834, 0.3987969756126404, 0.6794861555099487, -0.07733374089002609, 0.277847558259964, -0.38903653621673584, 0.4341917037963867, -0.05434955656528473, 0.1375800222158432, -0.3584725558757782, -0.48895660042762756, -0.7811485528945923, 0.02791130170226097, 0.541523814201355, 0.6284388303756714, -0.9517355561256409, 0.5015822052955627, -0.2020871341228485, -0.3548261523246765, -1.0569931268692017, 0.6030199527740479, 0.30076634883880615, 0.12108372896909714, 0.6159890294075012, -0.35206735134124756, -0.46491485834121704, -0.6391278505325317, -0.0587381049990654, -0.0968475192785263, -0.2691170573234558, 0.022476593032479286, 0.38310912251472473, -0.5917150378227234, 0.3616686165332794, -0.028112497180700302, -0.42916345596313477, -0.13961651921272278, 0.16779468953609467, 0.17460530996322632, 0.5710300803184509, 0.1129232794046402, -0.29800963401794434, -0.3616804778575897, 0.16469191014766693, -0.5649991631507874, -0.43230074644088745, -0.23686964809894562, -0.25824978947639465, 0.23298916220664978, 0.46200254559516907, -0.6199722290039062, 0.08105557411909103, 0.773305356502533, -0.052539389580488205, 0.6116064190864563, -0.5555398464202881, 0.4958997368812561, -0.9685599207878113, -0.17091290652751923, -0.1655339151620865, -0.308113694190979, -0.3263784646987915, 0.024519558995962143, 0.10785095393657684, 0.40327590703964233, -0.30649301409721375, 0.23447322845458984, -0.17553652822971344, -0.04063522070646286, -0.49673497676849365, 0.3494839072227478, 0.11253713071346283, 0.3322586715221405, -0.017535807564854622, 0.5634858012199402, 0.2051275074481964, -0.5616148710250854, 0.3390517830848694, 0.3360942304134369, -0.10812889784574509, 0.6248617768287659, -0.6153100728988647, 0.1239713728427887, -0.10782008618116379, 0.3764860928058624, -0.9518627524375916, -0.38978826999664307, 0.28864115476608276, -0.47924116253852844, 0.3567407429218292, -0.24463313817977905, -0.9625190496444702, -0.22821930050849915, -0.28921955823898315, -0.1274861991405487, 0.20160576701164246, -0.5586504340171814, 0.3153069317340851, 0.02726396918296814, -0.22363387048244476, -0.2727760076522827, -0.8289420008659363, 0.40451547503471375, -0.07189254462718964, -0.46473658084869385, 0.11623076349496841, -0.007141963113099337, -0.20571210980415344, -0.1822286695241928, 0.3661799728870392, 0.16328085958957672, 0.2778894901275635, 0.28194671869277954, 0.2541233003139496, -0.2133021503686905, 0.27028924226760864, 0.3807317614555359, -0.39382508397102356, -0.022257406264543533, -0.44064855575561523, 0.4252583682537079, 0.11509685963392258, -0.21396729350090027, -0.7356228232383728, 0.12367292493581772, 0.4075242578983307, -0.4235994517803192, 0.7632929682731628, 0.7507836222648621, -0.270355224609375, -0.007362485397607088, -0.511480450630188, -0.41993749141693115, -0.355206698179245, 0.22992730140686035, -0.3482816517353058, -1.0135456323623657, 0.30130329728126526, -0.08734731376171112, 0.3298375904560089, 0.6230612397193909, 0.6998311281204224, -0.3583016097545624, 1.38697350025177, 0.5176597833633423, 0.020197609439492226, 0.2862919569015503, -0.07440100610256195, -0.07414879649877548, -1.1617882251739502, 0.013749120756983757, -0.55398029088974, -0.4517965316772461, -0.5979760885238647, -0.5190346837043762, 0.24378591775894165, 0.4633912444114685, -0.029542695730924606, 0.19873200356960297, -0.326511412858963, 0.28349214792251587, 0.6064328551292419, 0.11686190962791443, 0.3987639844417572, -0.14061588048934937, -0.1799907684326172, -0.23150064051151276, -0.6428127288818359, -0.8197473287582397, 0.9479647874832153, 0.5231103301048279, 0.5382166504859924, -0.018916813656687737, 0.5644986629486084, 0.036408551037311554, 0.5255409479141235, -0.6078101396560669, 0.12909628450870514, -0.24952659010887146, -0.24603389203548431, -0.15751570463180542, -0.43284422159194946, -0.6738592386245728, 0.36522728204727173, -0.40481340885162354, -0.5319036841392517, -0.2751331329345703, 0.5455325245857239, -0.6301486492156982, 0.2346416860818863, -0.6428579688072205, 0.8478441834449768, -0.31874924898147583, -0.2093200981616974, -0.2726896405220032, -0.6160573959350586, 0.26016753911972046, -0.3761671483516693, 0.5321498513221741, -0.05588996410369873, -0.1666545569896698, 0.5317764282226562, -0.4431524872779846, 0.8403440117835999, -0.153605654835701, -0.355909526348114, 0.1215633675456047, 0.3255060911178589, 0.8263232111930847, 0.0003726645663846284, -0.157342329621315, 0.030624400824308395, -0.05676938593387604, -0.1603972166776657, -0.5310415625572205, 0.4817722737789154, -0.7084115147590637, -0.6974542140960693, 0.1971619874238968, -0.5332305431365967, -0.1510995328426361, 0.1553238332271576, 0.27074581384658813, 0.08394721895456314, 0.5222631692886353, 0.2913280725479126, 0.3429493308067322, -0.410964697599411, 0.26731404662132263, 0.4890916049480438, -0.5340513586997986, -0.5142036080360413, 0.66335529088974, 0.24681971967220306, 0.34419628977775574, 0.34938696026802063, 0.38649415969848633, -0.2256689965724945, -0.8447540998458862, -0.9289209842681885, 0.22080768644809723, -0.6205257177352905, -0.4244549572467804, -0.6336216330528259, 0.09044834971427917, -0.06670995056629181, -0.16757716238498688, -0.4123801589012146, -0.2918596863746643, -0.3500611484050751, -0.2394973337650299, 0.4604102671146393, 0.8371934294700623, -0.1965496689081192, 0.7867575287818909, -1.2548165321350098, 0.04238196834921837, -0.08336959779262543, 0.33522269129753113, -0.16723378002643585, -0.9762995839118958, -0.5824817419052124, 0.20053935050964355, -0.32445499300956726, -0.6275412440299988, 0.31839054822921753, 0.046443209052085876, 0.1534527689218521, 0.07891026139259338, -0.1919448971748352, 0.6739475727081299, -0.5492327213287354, 0.983569860458374, -0.04958883672952652, -0.9038944244384766, 0.7707046866416931, -0.41615691781044006, 0.5017945766448975, 0.3201444745063782, 0.11286512762308121, -0.660739004611969, -0.7677603960037231, -0.15111230313777924, -0.6317066550254822, 0.5912514328956604, -0.11569719761610031, 0.11223463714122772, 0.08169956505298615, 0.4962189793586731, 0.205765962600708, 0.31191566586494446, -0.7581006288528442, 0.02074066922068596, -0.0040484461933374405, -0.18095381557941437, -0.20676559209823608, -0.2652626931667328, -0.034787680953741074, -0.049834057688713074, 0.8177983164787292, -0.24374587833881378, -0.36259227991104126, 0.21530765295028687, -0.23826368153095245, -0.5745737552642822, 0.26021167635917664, 0.6700855493545532, 0.5919641256332397, -0.01824560947716236, 0.2200876921415329, 0.5382744073867798, 0.05069512501358986, 0.09009663015604019, -0.06938888877630234, -0.32817840576171875, 0.02206188626587391, 0.45396092534065247, 0.7069457769393921, 0.05200764909386635, -0.27679771184921265, 0.12218950688838959, 0.041362226009368896, -0.12175072729587555, 0.19397300481796265, -0.028656743466854095, -0.037979405373334885, 0.34840086102485657, 0.20804253220558167, 0.1789340227842331, -0.12118912488222122, -0.15747931599617004, 0.13992208242416382, 0.26876991987228394, -0.52694171667099, -0.4099994897842407, 0.8065363764762878, 0.151804119348526, -0.41889721155166626, 0.2418820559978485, -0.2188015729188919, -0.5861343145370483, 0.013268575072288513, 0.20964694023132324, 0.5047553777694702, -0.38618600368499756, 0.0904080718755722, 0.3897278904914856, 0.733803391456604, -0.4019635319709778, 0.0760718360543251, 0.2567267417907715, -0.37660619616508484, -1.1177197694778442, -0.624544084072113, -0.48763173818588257, 0.012888272292912006, -0.36788955330848694, 0.4800841212272644, -0.41229569911956787, -0.28734090924263, -0.11587341874837875, -0.15683332085609436, -0.6091688871383667, 0.3383021652698517, 0.11828653514385223, 0.6007448434829712, -0.5651946663856506, 0.9281544089317322, 0.5972743034362793, -0.4763883054256439, -0.8471877574920654, -0.17264661192893982, 0.1402169167995453, -0.658574640750885, 0.7046216726303101, 0.2096196711063385, -0.11274019628763199, -0.018637385219335556, -0.3868929445743561, -0.7939662933349609, 0.6307375431060791, 0.3215904235839844, -0.8174652457237244, 0.20468471944332123, 0.20196673274040222, 0.6583724617958069, -0.15161575376987457, 0.2246563583612442, 0.5627807974815369, 0.7164903879165649, -0.20705191791057587, -1.134871006011963, -0.06739303469657898, 0.053733401000499725, -0.026604093611240387, 0.2877961993217468, -0.5705171823501587, 0.5000186562538147, -0.2601076364517212, 0.1481751799583435, 0.07723971456289291, 0.6450666189193726, -0.10979127883911133, 0.00435259286314249, 0.5367925763130188, 0.4970758557319641, 0.6966701149940491, -0.25218266248703003, 1.0782638788223267, -0.08829666674137115, 0.06982080638408661, 1.2937445640563965, 0.06149895489215851, 1.2224773168563843, 0.565902829170227, -0.09466269612312317, 0.25631487369537354, 0.8940718770027161, -0.04382743313908577, 0.18477553129196167, 0.23202961683273315, 0.2907971739768982, -0.16768795251846313, -0.3006436228752136, -0.29438695311546326, 0.3218655288219452, 0.4394405484199524, -0.5477858185768127, 0.06203319877386093, 0.008467663079500198, 0.16763919591903687, 0.06832944601774216, -0.4861450791358948, 0.8291006684303284, 0.15847979485988617, -0.9216095209121704, 0.5386828184127808, 0.2374696135520935, 0.6837752461433411, -0.29120463132858276, -0.026583652943372726, -0.23460887372493744, 0.09870981425046921, -0.5083730816841125, -0.8845142722129822, 0.5628568530082703, 0.12803493440151215, -0.27205654978752136, -0.24450431764125824, 0.08617321401834488, -0.6448422074317932, -0.5418694615364075, 0.454372763633728, 0.4055507779121399, 0.06240493431687355, -0.25296398997306824, -0.4720606803894043, 0.30586889386177063, 0.04811534658074379, -0.18863153457641602, 0.058305032551288605, 0.6763249039649963, -0.10384730994701385, 0.5023389458656311, 0.8042605519294739, 0.3645661175251007, -0.031523965299129486, 0.19956806302070618, 0.5254141092300415, -0.5288833975791931, -0.2076355665922165, -1.0751984119415283, 0.7238402962684631, 0.21872638165950775, -0.2989707589149475, 0.8392143249511719, 0.2516322433948517, 1.0381062030792236, -0.021565260365605354, 0.6383505463600159, 0.44577792286872864, 0.598737895488739, -0.7063551545143127, 0.4255058467388153, -0.644441545009613, 0.27521175146102905, -0.18782676756381989, -1.1344705820083618, -0.774024248123169, 0.39932072162628174, -0.33403488993644714, -0.22105488181114197, 0.5165997743606567, 0.8025074601173401, 0.18645061552524567, -0.32212212681770325, 0.254443496465683, 0.3555682599544525, 0.4657759666442871, 0.3716784119606018, 0.8905375003814697, -0.37464699149131775, 0.6364685893058777, -0.041508905589580536, -0.11317423731088638, -0.4560130834579468, -0.7853475213050842, -0.7275906801223755, -0.2728835940361023, -0.5104635953903198, -0.5252189040184021, -0.06619114428758621, 1.2744706869125366, 0.6452401876449585, -0.906182050704956, -0.06228850781917572, 0.27271419763565063, 0.16625572741031647, -0.17375434935092926, -0.1022883728146553, 0.30918848514556885, -0.7064942717552185, -0.699786901473999, 0.2912812829017639, 0.46375608444213867, 0.15651863813400269, -0.14070206880569458, -0.2732491195201874, 0.1904478669166565, -0.13136667013168335, 0.7052468061447144, -0.3278202414512634, -1.0206021070480347, -0.46213197708129883, -0.2691887617111206, -0.26989108324050903, 0.18981234729290009, 0.5210745334625244, -0.1818850040435791, 0.5141342878341675, 0.2530815303325653, 0.7586848735809326, 0.055317364633083344, -0.0715852752327919, 0.8369773626327515, -0.6518468260765076, 0.025022903457283974, -0.07963795214891434, 0.4899027943611145, 0.7178446054458618, -0.2697609066963196, 0.48353755474090576, -0.04749377444386482, -0.6897763013839722, -0.6856880784034729, -0.10239671170711517, -0.4811685383319855, 0.018784601241350174, 1.2702393531799316, -0.2375730723142624, -0.08909814059734344, 0.10896296054124832, -0.733027458190918, 0.34427398443222046, -0.24809859693050385, 0.8409834504127502, 0.9834870100021362, 0.2294653058052063, -0.3985922038555145, -0.8299298882484436, 0.637057900428772, 0.5956342220306396, -0.84156334400177, 0.12052761763334274, 0.49023202061653137, -0.18652550876140594, 0.11096788197755814, 0.17292745411396027, -0.049895722419023514, 0.31303468346595764, -0.4095032811164856, -0.04744339361786842, -0.013522052206099033, -0.36978214979171753, -0.5550392270088196, -0.2582515478134155, 0.5601885914802551, -0.05483770743012428 ]
http://arxiv.org/abs/2404.07840v2
http://arxiv.org/pdf/2404.07840v2
On Training Data Influence of GPT Models
2024-04-11T15:27:56
2024-04-16T10:05:27
Qingyi Liu, Yekun Chai, Shuohuan Wang, Yu Sun, Qiwei Peng, Keze Wang, Hua Wu
cs.CL
cs.CL, cs.LG
Amidst the rapid advancements in generative language models, the investigation of how training data shapes the performance of GPT models is still emerging. This paper presents GPTfluence, a novel approach that leverages a featurized simulation to assess the impact of training examples on the training dynamics of GPT models. Our approach not only traces the influence of individual training instances on performance trajectories, such as loss and other key metrics, on targeted test points but also enables a comprehensive comparison with existing methods across various training scenarios in GPT models, ranging from 14 million to 2.8 billion parameters, across a range of downstream tasks. Contrary to earlier methods that struggle with generalization to new data, GPTfluence introduces a parameterized simulation of training dynamics, demonstrating robust generalization capabilities to unseen training data. This adaptability is evident across both fine-tuning and instruction-tuning scenarios, spanning tasks in natural language understanding and generation. We will make our code and data publicly available.
[ -0.19982938468456268, -1.0081771612167358, 0.43053051829338074, 0.044126104563474655, 0.07515665143728256, -0.040555212646722794, -0.16924048960208893, -0.2837600111961365, -0.41648170351982117, 0.2192978858947754, -0.3789033889770508, -0.18797487020492554, -0.5892719626426697, -0.2800816595554352, -0.4801748991012573, 1.4080379009246826, -0.13838760554790497, 0.033192191272974014, -0.25593671202659607, -0.10710738599300385, -0.3672163486480713, -0.7874535322189331, -0.5094476342201233, -0.40042775869369507, 0.18795038759708405, -0.2148134559392929, 0.6561985611915588, 0.39461299777030945, 0.16967730224132538, 0.279436320066452, 0.08097067475318909, -0.43980270624160767, -0.8159520030021667, -0.05447489023208618, -0.09110614657402039, -0.6838453412055969, 0.02743537724018097, 0.2839929163455963, 1.064602017402649, 0.5321817398071289, -0.3322802484035492, -0.07964160293340683, 0.41725802421569824, 0.3075849413871765, -0.3579007685184479, 0.4964374303817749, -0.5779638290405273, 0.01314796507358551, -0.015247387811541557, -0.11270153522491455, -0.18986423313617706, -0.3220136761665344, 0.4314195513725281, -0.5107632279396057, 0.9584418535232544, -0.23760603368282318, 0.6795428395271301, 0.21497352421283722, -0.1908939629793167, -0.16989269852638245, -0.9427666664123535, 0.5743432641029358, -0.47810617089271545, 0.7522258758544922, 0.16427719593048096, 0.3020405173301697, -0.33344051241874695, -0.8903475403785706, -0.3686662018299103, -0.493471622467041, -0.02545839175581932, 0.08165350556373596, 0.06083161383867264, 0.32454413175582886, 0.45165106654167175, 0.5225368142127991, -0.5388392210006714, -0.2307165414094925, -0.3419032096862793, 0.032796915620565414, 0.4163613021373749, 0.15594780445098877, 0.3604724705219269, 0.3456927239894867, -0.055535756051540375, -0.37226471304893494, -0.5046080946922302, 0.20191586017608643, 0.4592253267765045, 0.39530470967292786, -0.2838185727596283, 0.22240786254405975, -0.2341061234474182, 0.5494382381439209, -0.10786531865596771, 0.04808156564831734, -0.06217973306775093, -0.33418089151382446, -0.503284752368927, -0.12241566181182861, 0.7307626008987427, -0.01687636598944664, 0.16302600502967834, -0.7013686299324036, 0.05756162479519844, -0.0823817327618599, 0.48065903782844543, -1.0770364999771118, -0.735621452331543, -0.3343161344528198, -0.0557558611035347, -0.3515404462814331, 0.03384566307067871, -0.6973050236701965, -0.3090910017490387, -0.3468720614910126, 0.4103289842605591, -0.6105966567993164, -0.3214379847049713, 0.10854266583919525, -0.009256348013877869, 0.2544880211353302, 0.32250383496284485, -1.25719153881073, 0.20635998249053955, 0.9006629586219788, 0.9332447052001953, 0.04680512845516205, -0.5329219102859497, -0.5693502426147461, 0.11862093210220337, -0.1016680970788002, 0.5235323905944824, -0.7584002614021301, -0.46975910663604736, -0.15227384865283966, 0.04118278995156288, -0.5759487152099609, -0.24763648211956024, 0.43077126145362854, -0.45022720098495483, 0.1865137815475464, -0.25289490818977356, -0.8109164237976074, -0.30904266238212585, 0.08736233413219452, -0.7610579133033752, 1.0407541990280151, 0.25419509410858154, -0.6617801189422607, 0.8377847075462341, -0.800197958946228, -0.36797958612442017, 0.15516561269760132, -0.4802549481391907, -0.5355133414268494, 0.5156525373458862, 0.0782160833477974, 0.4163343906402588, -0.11940117180347443, 0.3608931303024292, -0.35940778255462646, -0.32995399832725525, -0.11872206628322601, -0.6065095663070679, 0.47854745388031006, -0.16969899833202362, -0.4371545910835266, -0.03437734395265579, -0.7527601718902588, 0.07717794924974442, 0.038331154733896255, -0.3973388671875, -0.28446149826049805, 0.11068624258041382, 0.010098626837134361, 0.03007962927222252, -0.413451611995697, -0.312000572681427, 0.4756079316139221, -0.28521955013275146, 0.3640764653682709, 0.540052056312561, 0.2930230498313904, 0.24413776397705078, -0.03460763767361641, 0.8494257926940918, -0.29610201716423035, 0.13473212718963623, 0.16418863832950592, -0.7051689624786377, -0.22524599730968475, -0.07672908902168274, 0.4620762765407562, 0.190606951713562, -0.6453056931495667, -0.33763065934181213, -0.33640578389167786, -0.28289756178855896, -0.4569498598575592, 0.1924741119146347, 0.1603003740310669, 0.49471616744995117, 0.26760759949684143, -0.10441861301660538, -0.33821478486061096, -0.6232031583786011, -0.3024129569530487, -0.3286219835281372, -0.10821250826120377, -0.009570512920618057, 0.5172077417373657, 0.023660078644752502, 0.8955082893371582, -0.2348824143409729, 0.15912695229053497, -0.29922059178352356, 0.5030868649482727, -0.07817785441875458, 0.6740691065788269, 0.9307700991630554, -0.5692643523216248, -0.20048601925373077, -0.07048477977514267, -0.59749835729599, 0.2130625993013382, -0.355320543050766, -0.08253179490566254, -0.07433542609214783, 0.1665060818195343, -0.3286850154399872, 0.39565038681030273, 0.7956383228302002, -0.37152737379074097, 0.6780723333358765, -0.26875412464141846, 0.3511944115161896, -0.6828393936157227, 0.07825253903865814, 0.012737062759697437, 0.11130007356405258, -0.8094615340232849, 0.17589014768600464, -0.049864403903484344, -0.09149760007858276, -0.21444600820541382, 0.16120360791683197, -0.2544091045856476, 0.00583954993635416, 0.06270773708820343, -0.5051879286766052, -0.06602241843938828, 0.2914012372493744, 0.015770919620990753, 1.3626601696014404, 0.5789216160774231, -0.4109034538269043, 0.13217109441757202, 0.24004434049129486, -0.5302284955978394, 0.23089401423931122, -0.682900071144104, 0.23464004695415497, -0.0017030970193445683, -0.0065869432874023914, -0.9056646227836609, -0.28491172194480896, -0.0036192787811160088, -0.22228045761585236, 0.3453044891357422, -0.7308260798454285, -0.6775806546211243, -0.12470956891775131, -0.05016925930976868, 0.35445982217788696, 0.4000466763973236, -0.5448938608169556, 0.5584000945091248, 0.04134400188922882, -0.022559259086847305, -0.1733545958995819, -0.5356508493423462, 0.06597860902547836, -0.4491351246833801, -0.4442274868488312, 0.037386611104011536, -0.025413358584046364, 0.15361288189888, -0.28068381547927856, 0.018356088548898697, -0.10882260650396347, 0.518761932849884, 0.3012525737285614, 0.12925361096858978, -0.2889818847179413, 0.2352038025856018, 0.04016894847154617, 0.23358041048049927, 0.33369141817092896, -0.4441821873188019, 0.5339901447296143, -0.4124000370502472, -0.3819310963153839, -0.3540818393230438, -0.0005329818814061582, 0.38782843947410583, -0.047282665967941284, 1.0608981847763062, 0.7576676607131958, -0.14241467416286469, -0.3410058319568634, -0.337246298789978, -0.1109587773680687, -0.5045281052589417, 0.6565700173377991, -0.28427425026893616, -0.776105523109436, 0.5105681419372559, 0.1040857806801796, -0.048993341624736786, 0.1822204887866974, 0.5829133987426758, 0.11060047894716263, 1.1221327781677246, 0.7624605894088745, -0.35856157541275024, 0.721735954284668, -0.4719240367412567, -0.02258765883743763, -0.5309216976165771, -0.12443526834249496, -0.22543442249298096, -0.17417950928211212, -0.6194422841072083, -0.4254825711250305, 0.20043650269508362, 0.44266995787620544, -0.04511263221502304, 0.11378535628318787, -0.3078189492225647, 0.48211026191711426, 0.3226947486400604, -0.05900406837463379, 0.23342235386371613, 0.0818827673792839, -0.13591404259204865, -0.0966678038239479, -0.7522292137145996, -0.348351389169693, 1.2564690113067627, 0.30642279982566833, 0.7241852283477783, -0.021223388612270355, 0.41692203283309937, 0.07782897353172302, 0.7822475433349609, -0.6663225889205933, 0.26939156651496887, 0.05134185403585434, -0.4482305943965912, -0.253047376871109, -0.6394416689872742, -0.805312991142273, 0.0939580425620079, -0.08584949374198914, -0.798704981803894, -0.24135060608386993, 0.26724162697792053, -0.1610477864742279, 0.4921339154243469, -0.787876307964325, 0.9689885973930359, -0.32831525802612305, -0.425214946269989, -0.050539691001176834, -0.19536131620407104, 0.34528848528862, -0.05273328721523285, -0.21666975319385529, -0.038637708872556686, 0.1928723007440567, 0.7706268429756165, -0.3566617965698242, 0.7984379529953003, -0.4432820677757263, -0.244188591837883, 0.20520909130573273, -0.06810619682073593, 0.6867712140083313, 0.20807187259197235, -0.08136651664972305, 0.11049021035432816, -0.012828327715396881, -0.33213716745376587, -0.9931385517120361, 0.5594174265861511, -0.5748136043548584, -0.44104596972465515, 0.09641388058662415, -0.7751268148422241, -0.7268341183662415, 0.002618070924654603, 0.23785080015659332, 0.5302023887634277, -0.4553256630897522, 0.09042234718799591, 0.5087943077087402, -0.002359948353841901, 0.2557108402252197, 0.22400236129760742, -0.13226035237312317, -0.2659681737422943, 1.0090417861938477, 0.16688574850559235, 0.4073961079120636, 0.09234709292650223, 0.3250737190246582, -0.42798665165901184, -0.9718902111053467, -0.6286357045173645, 0.11175033450126648, -0.5187780261039734, 0.172105610370636, -0.5266352295875549, 0.015072386711835861, -0.32912272214889526, -0.02511550858616829, -0.2204315960407257, -0.21817274391651154, -0.11333522200584412, -0.39784273505210876, 0.6318714618682861, 0.9124847054481506, 0.24785394966602325, 0.46548014879226685, -0.5934404730796814, -0.10102594643831253, 0.5316474437713623, 0.8570771217346191, -0.00995910819619894, -0.3798985779285431, -0.42226001620292664, 0.16444525122642517, -0.302278995513916, -0.5703344941139221, 0.1330193132162094, 0.5679391622543335, 0.8979749083518982, 0.3595512807369232, -0.29181191325187683, 0.7251996994018555, -0.3378957211971283, 0.7791357636451721, 0.033987414091825485, -0.7754024863243103, 0.6183928847312927, -0.5876255035400391, 0.1439928561449051, 0.852945864200592, 0.3296215236186981, -0.2584432065486908, -0.5794634819030762, -0.7305115461349487, -0.44659391045570374, 0.6085450053215027, 0.3815234303474426, 0.18773527443408966, 0.21080449223518372, 0.5417037010192871, 0.10163242369890213, 0.11859399080276489, -0.33976101875305176, 0.01880665495991707, -0.37445831298828125, -0.17668509483337402, -0.1969648003578186, 0.06826302409172058, 0.0446668341755867, -0.49660763144493103, 0.43532007932662964, -0.1997230350971222, 0.3831081986427307, -0.18627376854419708, -0.16893820464611053, 0.20155666768550873, 0.0587124340236187, 0.6611969470977783, 0.4591071307659149, -0.09277505427598953, -0.15795858204364777, 0.3922663629055023, -0.9621197581291199, 0.21130047738552094, 0.25465402007102966, -0.1522321105003357, -0.01998802460730076, 0.4559342861175537, 1.0716187953948975, 0.5111761093139648, -0.366364061832428, 0.21628707647323608, -0.22739683091640472, -0.5474463701248169, 0.23828235268592834, 0.5267307162284851, -0.046229757368564606, 0.3363882005214691, 0.2543122172355652, -0.22091682255268097, 0.13004617393016815, -0.4916868209838867, 0.4819239675998688, 0.3160003423690796, -0.6010581254959106, -0.7597670555114746, 0.9787021279335022, -0.11868233978748322, 0.023257074877619743, 0.7192050218582153, -0.13362672924995422, -0.5362542271614075, 0.5690467357635498, 0.4173319339752197, 0.9113678932189941, -0.4488184452056885, 0.2364944964647293, 0.24701958894729614, 0.15577952563762665, -0.328328400850296, -0.0578736811876297, -0.14229325950145721, -0.4729570150375366, -0.6112251281738281, -0.6631120443344116, -0.28747299313545227, 0.4341825842857361, -0.8046095967292786, -0.09171883761882782, -0.5068290829658508, -0.13321729004383087, -0.09844645857810974, -0.05555152893066406, -0.8675488829612732, 0.1473524272441864, 0.08634647727012634, 0.6450918912887573, -0.9536377787590027, 1.1634502410888672, 0.8458089828491211, -0.31229981780052185, -0.9081842303276062, 0.4307759702205658, -0.09490568190813065, -0.8509525656700134, 0.5527488589286804, 0.1939166784286499, -0.09614794701337814, 0.20656371116638184, -0.4066111743450165, -0.6525065898895264, 1.0540180206298828, 0.7380339503288269, -0.18438850343227386, -0.18352779746055603, 0.5363965630531311, 0.7962872982025146, -0.02778828702867031, 0.1365266740322113, 0.9477115273475647, 0.22092285752296448, 0.055228378623723984, -0.8609343767166138, -0.12384817004203796, -0.10050275176763535, 0.20174580812454224, 0.2883077561855316, -0.3878931403160095, 0.5562085509300232, -0.15420566499233246, -0.5416033864021301, -0.14626751840114594, 0.5432233214378357, 0.08764539659023285, -0.027619820088148117, 0.25584498047828674, 0.5328249335289001, 0.6752808690071106, -0.15766818821430206, 1.3117982149124146, -0.26486852765083313, 0.8116757869720459, 1.1832777261734009, 0.08151821047067642, 0.48093488812446594, 0.27801787853240967, -0.6326990127563477, 0.12397489696741104, 0.36036378145217896, -0.2589205503463745, 0.717526912689209, 0.3536032438278198, -0.36606523394584656, -0.07131327688694, 0.1627829521894455, -0.5975666046142578, 0.4645836353302002, 0.17153501510620117, -0.3437204957008362, -0.44767916202545166, 0.2513814866542816, -0.09296070039272308, -0.28534382581710815, -0.19552306830883026, 0.5788081288337708, -0.3491097092628479, -0.2538246512413025, 0.7366352677345276, -0.3220687210559845, 0.4553845524787903, -0.6701866388320923, -0.13451410830020905, -0.1385738104581833, 0.1527750939130783, 0.05372455716133118, -0.600447952747345, 0.3116747736930847, -0.09517782926559448, 0.006830431055277586, -0.2101326584815979, 0.4137275218963623, -0.4175072908401489, -0.5721210241317749, 0.22755256295204163, 0.3202046751976013, -0.10266689211130142, -0.23374007642269135, -0.6945590972900391, -0.05606560781598091, -0.07649480551481247, -0.483061283826828, 0.7173472046852112, 0.4645560085773468, 0.14770646393299103, 0.5830883979797363, 0.44993290305137634, -0.0071706525050103664, 0.25714948773384094, 0.202589213848114, 0.8445800542831421, -0.4685302674770355, -0.5332973599433899, -0.7588449716567993, 0.25035759806632996, 0.09268642961978912, -0.46816766262054443, 0.6702253818511963, 0.6510944366455078, 0.8622152805328369, -0.11354676634073257, 0.9310792088508606, 0.058204855769872665, 0.11456074565649033, -0.6129387617111206, 0.9859896898269653, -0.2884257435798645, 0.12652890384197235, -0.34499576687812805, -0.6210626363754272, -0.07437139749526978, 0.47643861174583435, -0.676634669303894, 0.19631138443946838, 0.30740612745285034, 0.6830347180366516, -0.18042847514152527, 0.5666504502296448, 0.4223785102367401, 0.05558909848332405, 0.5113244652748108, 0.3957902491092682, 0.8950766324996948, -0.44990670680999756, 0.5034295320510864, -0.3036414384841919, 0.004319422412663698, -0.04412488266825676, -0.7904916405677795, -0.8670477271080017, -0.6654857397079468, -0.34466639161109924, -0.021412311121821404, 0.24049095809459686, 0.44282084703445435, 0.6949052214622498, -0.9631525278091431, 0.044803839176893234, -0.6237388253211975, -0.25618118047714233, -0.364737331867218, -0.3031102418899536, 0.3270775079727173, -0.5255880355834961, -0.5893674492835999, 0.4300050437450409, -0.15773028135299683, 0.4862174391746521, -0.11050659418106079, -0.08367897570133209, 0.10378342866897583, -0.33284980058670044, 0.4846101999282837, 0.2516751289367676, -0.3927227556705475, -0.5775688886642456, -0.3945917785167694, 0.21736834943294525, 0.050921276211738586, 1.2346667051315308, -0.8821022510528564, 0.4302138090133667, 0.24218572676181793, 0.8186516165733337, 0.6333390474319458, 0.16707205772399902, 0.8393421769142151, -0.904355525970459, 0.14665669202804565, 0.04578707739710808, 0.10881555080413818, 0.055007196962833405, -0.45173120498657227, 0.7236653566360474, 0.4763205051422119, -0.5068153738975525, -0.8336221575737, -0.07286087423563004, -0.5545241832733154, 0.09191872924566269, 0.9146643877029419, -0.28119003772735596, 0.25437963008880615, -0.2656683325767517, 0.2088427096605301, 0.2058982104063034, -0.25905415415763855, 0.988334596157074, 0.7917594909667969, -0.3458583950996399, -0.327972412109375, -1.2782938480377197, 0.8257041573524475, 0.2571888864040375, -0.817276120185852, 0.4074094295501709, 0.44392916560173035, 0.5834851264953613, -0.34578683972358704, 0.2872748076915741, 0.16249026358127594, 0.08027734607458115, 0.21708136796951294, -0.25657474994659424, -0.30381837487220764, -0.12858690321445465, -0.5355881452560425, 0.2343260943889618, -0.08057781308889389, -0.08483024686574936 ]
http://arxiv.org/abs/2404.07839v1
http://arxiv.org/pdf/2404.07839v1
RecurrentGemma: Moving Past Transformers for Efficient Open Language Models
2024-04-11T15:27:22
2024-04-11T15:27:22
Aleksandar Botev, Soham De, Samuel L Smith, Anushan Fernando, George-Cristian Muraru, Ruba Haroun, Leonard Berrada, Razvan Pascanu, Pier Giuseppe Sessa, Robert Dadashi, Léonard Hussenot, Johan Ferret, Sertan Girgin, Olivier Bachem, Alek Andreev, Kathleen Kenealy, Thomas Mesnard, Cassidy Hardin, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Armand Joulin, Noah Fiedel, Evan Senter, Yutian Chen, Srivatsan Srinivasan, Guillaume Desjardins, David Budden, Arnaud Doucet, Sharad Vikram, Adam Paszke, Trevor Gale, Sebastian Borgeaud, Charlie Chen, Andy Brock, Antonia Paterson, Jenny Brennan, Meg Risdal, Raj Gundluru, Nesh Devanathan, Paul Mooney, Nilay Chauhan, Phil Culliton, Luiz GUStavo Martins, Elisa Bandy, David Huntsperger, Glenn Cameron, Arthur Zucker, Tris Warkentin, Ludovic Peran, Minh Giang, Zoubin Ghahramani, Clément Farabet, Koray Kavukcuoglu, Demis Hassabis, Raia Hadsell, Yee Whye Teh, Nando de Frietas
cs.LG
cs.LG, cs.AI, cs.CL
We introduce RecurrentGemma, an open language model which uses Google's novel Griffin architecture. Griffin combines linear recurrences with local attention to achieve excellent performance on language. It has a fixed-sized state, which reduces memory use and enables efficient inference on long sequences. We provide a pre-trained model with 2B non-embedding parameters, and an instruction tuned variant. Both models achieve comparable performance to Gemma-2B despite being trained on fewer tokens.
[ -0.39124852418899536, -0.9694867134094238, 0.258586585521698, 0.01682388037443161, -0.06350239366292953, -0.02473876066505909, -0.20852375030517578, -0.41575682163238525, 0.03758746385574341, 0.5475040078163147, -0.4357767701148987, -0.34498244524002075, -0.6582947373390198, -0.17246244847774506, -0.5454394817352295, 0.7032831907272339, -0.05527195706963539, -0.0040053934790194035, 0.07126045972108841, -0.3476024866104126, -0.14219896495342255, -0.6330809593200684, -0.7183287739753723, -0.5292348861694336, 0.4402047097682953, 0.31816527247428894, 0.8527149558067322, 0.6997997164726257, 0.21618831157684326, 0.2836966812610626, -0.24578994512557983, -0.008421851322054863, -0.673407256603241, 0.02645523101091385, -0.2569395899772644, -0.5696796774864197, -0.19397848844528198, 0.0996917188167572, 0.7977460622787476, 0.6355878114700317, -0.23437529802322388, 0.2960332930088043, 0.061258308589458466, 0.6988524794578552, -0.5647764801979065, 0.41440367698669434, -0.5886678695678711, 0.34338507056236267, -0.07286737114191055, -0.121223583817482, -0.5824882984161377, -0.46990251541137695, 0.061648495495319366, -0.5108463168144226, 0.32913291454315186, 0.06431309878826141, 0.7627350091934204, 0.34645819664001465, -0.029459388926625252, -0.21214348077774048, -0.7184831500053406, 1.0481061935424805, -0.33700689673423767, 0.6051438450813293, 0.14367803931236267, 0.20477381348609924, -0.5205300450325012, -1.414455771446228, -0.41660794615745544, -0.22223486006259918, 0.16605526208877563, 0.02092350646853447, -0.7073798179626465, -0.10301806032657623, 0.30629292130470276, 0.8190165162086487, -0.45068779587745667, -0.19306287169456482, -0.3294384479522705, -0.019476860761642456, 0.021130088716745377, 0.11280468851327896, 0.2757149338722229, 0.3577166795730591, -0.3646550178527832, 0.313659131526947, -0.7172185182571411, 0.3336527645587921, 0.14024923741817474, 0.45823320746421814, 0.13253270089626312, 0.6269260048866272, -0.0129391485825181, 0.7290655970573425, 0.7356135249137878, -0.023671142756938934, 0.15630929172039032, 0.1070265993475914, -0.43236109614372253, 0.019838925451040268, 0.401399701833725, -0.21566422283649445, 0.32696619629859924, -0.6129123568534851, 0.15978966653347015, 0.027374165132641792, 0.6341463923454285, -0.9021304845809937, -0.2993212640285492, 0.08599575608968735, -0.7388176918029785, 0.0007085496908985078, 0.021093185991048813, -0.7460052371025085, 0.023496586829423904, -0.2844715118408203, 0.3615400493144989, -0.42012378573417664, -0.20825253427028656, 0.4703654646873474, 0.17541204392910004, 0.35271012783050537, 0.07106322795152664, -1.270064353942871, 0.5125570297241211, 1.003700852394104, 0.9478682279586792, 0.1408286988735199, -0.2927173674106598, -1.1816827058792114, -0.04865244776010513, -0.34518834948539734, 0.6111832857131958, -0.9237841963768005, -0.30973145365715027, 0.0900629386305809, 0.33366596698760986, -0.1870581954717636, -0.5852958559989929, 0.3571300804615021, -0.47817328572273254, 0.38472211360931396, 0.09131492674350739, -0.6763260960578918, -0.6983417272567749, -0.09011207520961761, -0.734870970249176, 1.4202181100845337, 0.4227292835712433, -0.6712732911109924, 0.35473763942718506, -0.7888988256454468, -0.3803921639919281, 0.00169469160027802, 0.14979325234889984, -0.3977912664413452, 0.2560386061668396, 0.21919193863868713, 0.23659060895442963, -0.1877233386039734, 0.0974559634923935, -0.2738085687160492, -0.4407653212547302, -0.2309526652097702, -0.028736691921949387, 0.5495171546936035, 0.4214683771133423, -0.489427775144577, 0.3435952067375183, -0.5916854739189148, -0.07239703834056854, 0.023300310596823692, -0.3374727964401245, -0.0990198403596878, 0.13406740128993988, -0.38990652561187744, 0.018766995519399643, 0.28929364681243896, -0.6363910436630249, 0.42606326937675476, -0.46781477332115173, 0.6726120114326477, 0.31519535183906555, -0.3425978720188141, 0.7177622318267822, -0.37506675720214844, 0.7443274259567261, 0.05312270298600197, 0.14341014623641968, -0.33883437514305115, -0.8401914238929749, -0.7454522252082825, -0.561631441116333, 0.25869765877723694, 0.49501657485961914, -0.5767269730567932, 0.26454198360443115, 0.04631730169057846, -0.43885618448257446, -0.8107495307922363, 0.1414753794670105, 0.33766594529151917, 0.34858766198158264, 0.4771697521209717, -0.4591844379901886, -0.5196093916893005, -0.757537841796875, -0.22331050038337708, -0.1832106113433838, -0.16971802711486816, 0.23423467576503754, 0.13236147165298462, -0.37328657507896423, 0.9498034715652466, -0.4388449788093567, -0.037428077310323715, -0.6498221755027771, 0.480145126581192, 0.3340798020362854, 0.20136451721191406, 0.668379545211792, -0.269672155380249, -0.25255364179611206, 0.10403506457805634, -0.4862121045589447, -0.10578084737062454, -0.05561395362019539, -0.08320070803165436, 0.5685034394264221, 0.5130351781845093, -0.882573664188385, 0.43536195158958435, 0.663670003414154, -0.19812211394309998, 0.2546164393424988, -0.09529884904623032, 0.023842690512537956, -1.0973114967346191, 0.08062998950481415, -0.005899887531995773, -0.4994494915008545, -0.6290330290794373, 0.5342698693275452, -0.008088888600468636, -0.2063770592212677, -0.6004910469055176, 0.7268869280815125, -0.6524147987365723, -0.38921257853507996, -0.39233800768852234, 0.16143223643302917, -0.2755368947982788, 0.6505093574523926, 0.13256995379924774, 1.078809380531311, 0.7268689274787903, -0.6827616095542908, 0.23613493144512177, 0.3261970579624176, -0.670187771320343, -0.22104333341121674, -0.4705445170402527, 0.23725304007530212, -0.16346193850040436, -0.0033727227710187435, -0.8375054597854614, 0.18900804221630096, 0.3962530195713043, -0.4928365647792816, 0.5102720856666565, -0.3120572865009308, -0.43836814165115356, -0.5436350703239441, -0.11705364286899567, 0.29489007592201233, 0.6811841726303101, -1.0194721221923828, 0.6555435061454773, 0.5029287934303284, -0.38231539726257324, -0.5556301474571228, -0.444235235452652, -0.0043861945159733295, -0.1528177559375763, -0.643921971321106, 0.25197067856788635, 0.3352928161621094, -0.23800727725028992, 0.01948927529156208, 0.07416266202926636, -0.1094852089881897, -0.014158054254949093, 0.09125503152608871, -0.11158923804759979, -0.5428121089935303, 0.15489082038402557, -0.24989397823810577, -0.11326926201581955, -0.16793954372406006, -0.41432225704193115, 0.8734549283981323, -0.4275229275226593, -0.0853271484375, -0.6420580744743347, 0.3955996632575989, 0.6500542163848877, -0.31805241107940674, 0.7165267467498779, 0.6014143228530884, -0.21245548129081726, -0.21729622781276703, -0.2315811812877655, -0.09317470341920853, -0.4818572700023651, 0.3064080476760864, -0.35418593883514404, -1.2938274145126343, 0.5166396498680115, -0.016565268859267235, 0.2939210534095764, 0.1930815875530243, 0.9388250112533569, 0.26233649253845215, 0.8555446863174438, 0.5531213879585266, -0.38775667548179626, 0.6506580710411072, -0.04543380066752434, 0.5517957210540771, -0.6524552702903748, -0.14107191562652588, -0.6378188133239746, -0.10421072691679001, -0.6582518219947815, -0.6080434322357178, -0.3661927580833435, 0.41134968400001526, -0.6298760771751404, 0.6143172979354858, -0.439222127199173, 0.1749933660030365, 0.9302594661712646, -0.1875760406255722, 0.05836116150021553, 0.10421377420425415, -0.28600218892097473, 0.06539788097143173, -0.9641123414039612, -0.6229791641235352, 0.9418243169784546, 0.694079577922821, 1.1435728073120117, 0.2378462702035904, 0.47293591499328613, 0.22914966940879822, 0.39451611042022705, -1.0899248123168945, 0.544472336769104, -0.28506162762641907, -0.357006311416626, -0.26833540201187134, -0.2765273153781891, -1.328738808631897, 0.16359685361385345, 0.0005055352230556309, -0.9184193015098572, -0.280913770198822, 0.24213111400604248, -0.2825019955635071, 0.7087247371673584, -0.5575315952301025, 0.5579766631126404, 0.24741509556770325, -0.41200536489486694, -0.15942779183387756, -0.09068647772073746, 0.44329455494880676, 0.1832076460123062, -0.33380210399627686, 0.19603075087070465, 0.245000958442688, 0.26083943247795105, -0.414882093667984, 0.7360953688621521, -0.052766989916563034, -0.06070064380764961, 0.6242290139198303, 0.11367104947566986, 0.6579121947288513, -0.17089691758155823, 0.12017118185758591, 0.40772029757499695, -0.4162648320198059, -0.4127184748649597, -0.5446633100509644, 0.7096367478370667, -0.5649386644363403, -0.843152642250061, -0.3521619439125061, -0.38804957270622253, -0.09624304622411728, 0.03027132898569107, 0.14788247644901276, 0.642035186290741, -0.054975952953100204, 0.4002276360988617, 0.5664472579956055, -0.4390929937362671, 0.5756644010543823, 0.415336936712265, -0.5616956949234009, -0.30943167209625244, 0.43101072311401367, -0.06123263016343117, 0.13259826600551605, 0.49031129479408264, 0.09607696533203125, -0.5933647155761719, -0.5300738215446472, -0.4680343568325043, 0.16131050884723663, -0.3388763964176178, 0.1899496614933014, -0.7762596607208252, -0.3645116984844208, -0.40192151069641113, 0.03108414076268673, -0.5140009522438049, -0.6013802886009216, -0.3883952796459198, -0.1321471631526947, 0.3359155058860779, 0.7193742990493774, -0.008630380034446716, 0.19748207926750183, -1.0852354764938354, 0.49786293506622314, 0.44460299611091614, 0.6228589415550232, 0.14184147119522095, -0.7607742547988892, -0.21532317996025085, -0.09076683223247528, -0.6042486429214478, -0.38049694895744324, 0.47861310839653015, 0.09129648655653, 0.9433212876319885, 0.5828666687011719, -0.15497134625911713, 0.7052249312400818, -0.8154935836791992, 0.9834975600242615, 0.2496822327375412, -1.0050053596496582, 0.1589447259902954, -0.2910093069076538, 0.5824723243713379, 0.14933350682258606, 0.26453647017478943, -0.3705444037914276, -0.5675157904624939, -0.4251532554626465, -0.4572773873806, 0.6443563103675842, 0.15112704038619995, 0.10435045510530472, -0.6321848630905151, 0.3786674439907074, 0.262577623128891, 0.05019409582018852, -0.48169711232185364, -0.2864156663417816, -0.3969677984714508, -0.04609989747405052, -0.008122680708765984, -0.4569031596183777, 0.16499127447605133, -0.19747185707092285, 0.7252286076545715, 0.040340617299079895, 0.760601282119751, 0.01585378684103489, -0.17340049147605896, -0.28795406222343445, 0.1754881739616394, 1.0382634401321411, 0.5009339451789856, -0.09459925442934036, -0.24224470555782318, -0.0934329628944397, -0.5749557614326477, -0.050042446702718735, -0.07674124091863632, -0.19062860310077667, 0.202909916639328, 0.25630009174346924, 0.8536787629127502, 0.5296999216079712, -0.3376336395740509, 0.22846972942352295, -0.005525853484869003, -0.3399467468261719, -0.47830817103385925, 0.055829767137765884, 0.1849362999200821, 0.5042709708213806, 0.2023322582244873, -0.17709104716777802, 0.017356885597109795, -0.7639904618263245, 0.5768224596977234, 0.3765232264995575, -0.61744624376297, -0.2555824816226959, 0.8542522192001343, 0.1938871294260025, -0.6060945391654968, 0.5653408765792847, -0.01103274431079626, -0.37748631834983826, 0.41667383909225464, 0.6917977333068848, 1.2218486070632935, -0.3746492862701416, 0.18945465981960297, 0.6348931789398193, 0.1711387038230896, -0.3565368354320526, 0.4734041094779968, -0.03313887491822243, -0.6467912793159485, -0.6203303933143616, -0.6583486795425415, -0.3402680456638336, 0.48427489399909973, -1.0519263744354248, 0.1407676488161087, -0.6516759991645813, -0.3161259889602661, -0.1830022931098938, -0.0970344990491867, -0.30637040734291077, -0.20430012047290802, 0.02368803322315216, 1.3431984186172485, -0.14087191224098206, 1.1263478994369507, 0.5209575891494751, -0.07849729061126709, -0.4602280855178833, -0.057707782834768295, -0.14652258157730103, -0.8823768496513367, 0.7515020966529846, 0.44987568259239197, -0.6339748501777649, 0.15072090923786163, -0.46725958585739136, -0.9147508144378662, 0.9235098958015442, 0.269871324300766, -0.7875825762748718, 0.21172019839286804, -0.22091510891914368, 0.4664808511734009, -0.5720899105072021, -0.2389664500951767, 0.6306380033493042, 0.23997308313846588, 0.1686224490404129, -0.69167160987854, -0.35429009795188904, -0.15181273221969604, -0.14392688870429993, 0.7254811525344849, -0.7269265055656433, 1.0440685749053955, -0.4390678405761719, -0.6677306294441223, 0.7593569755554199, 0.7805606722831726, 0.0028190172743052244, 0.19211575388908386, 0.10768753290176392, 0.9688251614570618, 0.7657681703567505, -0.2575005292892456, 1.2114894390106201, -0.6546264290809631, 0.611294150352478, 1.4303975105285645, -0.297638863325119, 0.9292638897895813, 0.28262484073638916, -0.1784944236278534, 0.5924463868141174, 0.5456037521362305, 0.02770131081342697, 0.6508285403251648, 0.36659538745880127, -0.4495542645454407, -0.2965308725833893, 0.27581802010536194, -0.37814995646476746, 0.5380585789680481, 0.19405736029148102, -0.5676501989364624, -0.38434356451034546, -0.23836931586265564, 0.018853172659873962, 0.24206265807151794, -0.6887349486351013, 0.7845544219017029, -0.01849438063800335, -0.8587724566459656, 0.6628022193908691, 0.1286267191171646, 0.40876317024230957, -0.4703975021839142, -0.09152908623218536, -0.36755266785621643, 0.3229183256626129, 0.07237973809242249, -0.6509995460510254, 0.4209100008010864, 0.013480874709784985, -0.2993222177028656, 0.05050482600927353, 0.45990151166915894, -0.5975773334503174, -0.4617528021335602, 0.5338397026062012, 0.17874635756015778, 0.12271975725889206, 0.03781134635210037, -0.6313091516494751, -0.33605363965034485, -0.2047727108001709, -0.2517451345920563, 0.2469760626554489, 0.3164025545120239, 0.04968304559588432, 1.0700876712799072, 0.6107068657875061, -0.09698054939508438, 0.36951300501823425, 0.16484889388084412, 0.6657929420471191, -0.9332679510116577, -0.5060303807258606, -0.6351137757301331, 0.08790494501590729, 0.23577554523944855, -0.05968707799911499, 0.6173906326293945, 0.5701354742050171, 0.7723981142044067, -0.2494714856147766, 0.7428910136222839, 0.3107132613658905, 0.7312787771224976, -0.6613621115684509, 0.4883267879486084, -0.3571295738220215, -0.10650485754013062, 0.006725052371621132, -1.0588780641555786, -0.3907712996006012, 0.7042329907417297, -0.19423294067382812, -0.09411068260669708, 0.6583767533302307, 0.8711727857589722, 0.048017360270023346, 0.16308552026748657, 0.5279384255409241, 0.19639408588409424, 0.0816674679517746, 0.6672899723052979, 0.8578335046768188, -0.1765136569738388, 0.4665833115577698, 0.28137022256851196, -0.20407700538635254, -0.2342211753129959, -0.8042643070220947, -1.1715457439422607, -0.3227870464324951, -0.10085488110780716, -0.1549830138683319, -0.04581713676452637, 0.9230061173439026, 0.5742872953414917, -0.8807674050331116, 0.007092717569321394, -0.1726096123456955, -0.14062319695949554, -0.2871116101741791, -0.25874751806259155, 0.1862255334854126, -0.7892597317695618, -1.0213984251022339, 0.4181387722492218, 0.6418806314468384, -0.05138525366783142, -0.252637654542923, -0.1435164213180542, -0.11555653810501099, 0.39550918340682983, 0.9037033915519714, 0.8118056058883667, -1.0094376802444458, -0.5902059078216553, -0.14301523566246033, -0.03622129186987877, 0.3309156596660614, 1.0636807680130005, -0.7904864549636841, 0.47433993220329285, 0.3975572884082794, 0.8782299160957336, 0.6018632054328918, 0.3232121467590332, 0.705261766910553, -0.21101172268390656, 0.3931918144226074, -0.09485819190740585, 0.6337155103683472, 0.1274644136428833, -0.1208275854587555, 0.4336928427219391, 0.009186138398945332, -0.4455297589302063, -0.34328916668891907, 0.47958898544311523, -0.8495455384254456, -0.37006235122680664, 1.1865450143814087, -0.46049997210502625, -0.1751360148191452, -0.4692736566066742, -0.027569159865379333, 0.12564142048358917, -0.35792917013168335, 1.0593976974487305, 0.8730483651161194, -0.08784571290016174, -0.4575819671154022, -0.417706161737442, 0.422151654958725, 0.18635301291942596, -0.46741223335266113, 0.032200299203395844, 0.30508601665496826, 0.27004551887512207, 0.12293562293052673, 0.4253334701061249, -0.4340525269508362, 0.44966813921928406, 0.12502822279930115, 0.08615349233150482, -0.2962800860404968, -0.7464752197265625, -0.38598886132240295, 0.4436902105808258, 0.06046977639198303, -0.652744710445404 ]
http://arxiv.org/abs/2404.07836v1
http://arxiv.org/pdf/2404.07836v1
Question Generation in Knowledge-Driven Dialog: Explainability and Evaluation
2024-04-11T15:24:50
2024-04-11T15:24:50
Juliette Faille, Quentin Brabant, Gwenole Lecorve, Lina M. Rojas-Barahona, Claire Gardent
cs.CL
cs.CL
We explore question generation in the context of knowledge-grounded dialogs focusing on explainability and evaluation. Inspired by previous work on planning-based summarisation, we present a model which instead of directly generating a question, sequentially predicts first a fact then a question. We evaluate our approach on 37k test dialogs adapted from the KGConv dataset and we show that, although more demanding in terms of inference, our approach performs on par with a standard model which solely generates a question while allowing for a detailed referenceless evaluation of the model behaviour in terms of relevance, factuality and pronominalisation.
[ -0.590039074420929, -0.8625786900520325, 0.8084720373153687, -0.08998783677816391, -0.11974576115608215, -0.35104355216026306, 0.2204328030347824, -0.06642360985279083, -0.10799809545278549, 0.5916839838027954, -0.8509958982467651, -0.15376055240631104, -0.16404305398464203, 0.04644772782921791, -0.4884982705116272, 0.9634456634521484, 0.09106279909610748, -0.024014052003622055, -0.8794751167297363, -0.1795053482055664, -0.5172752737998962, -0.3854866027832031, -0.5556714534759521, -0.422331303358078, 0.29120978713035583, 0.5375591516494751, 0.732345461845398, 0.23242691159248352, -0.14645831286907196, 0.25770139694213867, -0.2151263803243637, 0.09653542935848236, -0.46079403162002563, 0.33098864555358887, 0.06224820390343666, -0.7372764945030212, 0.15931041538715363, 0.14221498370170593, 0.36122918128967285, 1.1871939897537231, -0.06343623250722885, 0.2262340933084488, -0.21040312945842743, 0.4740394949913025, -0.49771976470947266, 0.10245215892791748, -0.4926266074180603, 0.06071363389492035, 0.5742013454437256, -0.3186251223087311, -0.3259935975074768, -0.7018613815307617, 0.5039482712745667, -0.511084794998169, 0.3516293466091156, 0.10160109400749207, 0.514625608921051, -0.046364255249500275, -0.7039921283721924, -0.766776978969574, -0.7394081950187683, 0.3535449802875519, -0.64745032787323, 0.4499945044517517, 0.17143458127975464, 0.5810505747795105, -0.03265206143260002, -0.9562545418739319, -0.659707248210907, -0.2743702530860901, -0.141695037484169, 0.3897562026977539, 0.056715983897447586, -0.061968669295310974, 0.49339327216148376, 0.41524097323417664, -0.6137731075286865, -0.4192531108856201, -0.3565410077571869, -0.12924252450466156, 0.4960368871688843, 0.3854862451553345, 0.11156121641397476, -0.44621986150741577, -0.11048509925603867, 0.17065700888633728, -0.6246212124824524, 0.24216967821121216, 0.442950040102005, -0.14045794308185577, 0.26462316513061523, 0.513337254524231, -0.6091127395629883, 0.6543538570404053, 0.3958445191383362, -0.16165947914123535, -0.3003652095794678, -0.6463930010795593, -0.14520664513111115, 0.07931320369243622, 0.4689997434616089, 0.680064857006073, 0.30383557081222534, -0.23410704731941223, 0.25831520557403564, -0.15691512823104858, 0.1899324655532837, -0.9817290902137756, -0.21032875776290894, 0.501870334148407, -0.2196391224861145, -0.7186481952667236, -0.016846179962158203, -0.5200494527816772, -0.2985416650772095, -0.2538395822048187, 0.3300751745700836, -0.21396654844284058, -0.542177140712738, 0.07846471667289734, -0.20593588054180145, 0.4186560809612274, 0.35916975140571594, -0.6931490302085876, 0.05250609666109085, 0.38757848739624023, 0.047184355556964874, 0.2147483378648758, -0.11696699261665344, -0.11267553269863129, 0.13277941942214966, -0.4670553207397461, 0.8016812801361084, -0.2988361120223999, -0.7832836508750916, -0.03154483065009117, -0.009547587484121323, -0.09742000699043274, -0.6962674856185913, 0.07924987375736237, -0.5191032886505127, 0.7808178663253784, -0.6564245820045471, -0.5902076959609985, -0.510256290435791, 0.5377967357635498, -0.2482864111661911, 0.9072765707969666, 0.1940162181854248, -0.7344772219657898, 0.6207406520843506, -0.5363732576370239, -0.2981623411178589, 0.09625184535980225, -0.23927201330661774, 0.07379062473773956, -0.018465319648385048, 0.15885798633098602, 0.4310344159603119, -0.5064657926559448, 0.7595638036727905, -0.0078984210267663, 0.09296976774930954, 0.3951297402381897, -0.2811959981918335, 0.5372861623764038, 0.3068660497665405, -0.036819566041231155, 0.013843669556081295, -0.7470345497131348, 0.43144339323043823, 0.09692700207233429, -0.043178360909223557, -0.004686342552304268, 0.06544721126556396, -0.6202492713928223, 0.3289748430252075, 0.01804620958864689, -0.37075865268707275, 0.014407237060368061, -0.356850266456604, 0.2567631006240845, 0.33884397149086, 0.6753242015838623, 0.30346691608428955, -0.3521497845649719, 0.8442790508270264, 0.08751004934310913, 0.2194906771183014, -0.5738947987556458, -0.5338737964630127, -0.7487685680389404, 0.3186209201812744, 0.24056275188922882, 0.5112012028694153, -0.8565671443939209, -0.04238271340727806, 0.069786936044693, -0.7035639882087708, -0.1541038155555725, -0.1713629513978958, 0.4004621207714081, 1.0650354623794556, -0.17971600592136383, -0.050365522503852844, -0.3963907063007355, -0.82086181640625, -0.07606574892997742, -0.6793084740638733, -0.0007283465238288045, 0.6297974586486816, 0.5102720856666565, 0.2737674117088318, 1.1488701105117798, -0.9273586273193359, 0.7846524119377136, -0.7042444944381714, 0.5930903553962708, 0.08067791163921356, 0.2846119999885559, 0.34189844131469727, -1.17388117313385, -0.1839563548564911, -0.22620338201522827, -1.0051573514938354, -0.33273395895957947, -0.2514253556728363, -0.05198905989527702, -0.21093715727329254, 0.5649510025978088, -0.9326812028884888, 0.3181571364402771, -0.025891365483403206, -0.41369709372520447, 0.9250044226646423, 0.08664321899414062, 0.2985820174217224, -1.3702977895736694, 0.12690365314483643, -0.6158828735351562, -0.27962490916252136, -0.8882434964179993, -0.07420327514410019, -0.2782288193702698, -0.49290207028388977, -0.6446629166603088, 0.47105851769447327, -0.07391554862260818, -0.03228072077035904, -0.202788308262825, 0.16419796645641327, 0.2874380350112915, 0.4160507917404175, -0.284887433052063, 0.6905739307403564, 0.2784544825553894, -1.0482603311538696, 0.33535298705101013, 0.5542792081832886, -0.6361105442047119, 0.43856537342071533, -0.9135867357254028, 0.11459469795227051, -0.4596099257469177, 0.10628678649663925, -1.2080657482147217, -0.38880157470703125, 0.10392003506422043, -0.6937255263328552, -0.02635311149060726, -0.07291463762521744, -0.4266307055950165, -0.34906840324401855, 0.0765528529882431, 0.3875913918018341, 0.6610528230667114, -0.3805745244026184, 0.4573528468608856, 0.10155829787254333, -0.5328691601753235, -0.21689701080322266, -0.19875603914260864, -0.35112226009368896, -0.24259692430496216, -0.8938851952552795, -0.15727390348911285, -0.3626619577407837, -0.5317174792289734, -0.0761038064956665, -0.20242762565612793, -0.01829221099615097, 0.30246850848197937, 0.32006311416625977, -0.011262898333370686, -0.21904295682907104, 0.1472344994544983, 0.08872392028570175, -0.007720319088548422, 0.48385027050971985, -0.11012330651283264, 0.46151235699653625, 0.15801610052585602, -0.3035638630390167, -0.16953198611736298, 0.5254635810852051, 0.5913914442062378, -0.03213771432638168, 0.42023152112960815, 0.04689597338438034, -0.11222100257873535, -0.09073100239038467, -0.48453882336616516, -0.1168682873249054, -0.4440215229988098, 0.2494872659444809, -0.46768414974212646, -0.7659779787063599, 0.7205290794372559, -0.3060460388660431, -0.01616353541612625, 0.5891993045806885, 0.6034398674964905, -0.2347063422203064, 1.3187570571899414, 0.4743266701698303, 0.4588349163532257, -0.014998320490121841, -0.19879339635372162, 0.22742053866386414, -0.35872510075569153, -0.3991929888725281, -0.2723698019981384, 0.2624300420284271, -0.33595630526542664, -0.23461225628852844, 0.43618547916412354, 0.39619168639183044, 0.12096118927001953, 0.09268875420093536, 0.11788483709096909, 0.459144651889801, 0.3502454459667206, -0.24342544376850128, 0.2642342746257782, -0.5874080061912537, -0.45659133791923523, 0.17814409732818604, -0.9897844791412354, -0.49563392996788025, 1.0517921447753906, -0.03779391944408417, 0.22231462597846985, -0.13849219679832458, 0.4314152002334595, 0.12825271487236023, 0.32816195487976074, -0.7118172645568848, 0.6492876410484314, 0.6924874782562256, -0.7669442892074585, -0.34481409192085266, -0.4722960293292999, -0.6873993873596191, 0.3441660702228546, 0.004467209335416555, -0.5175178050994873, -0.09161707758903503, 0.17920926213264465, -0.689988374710083, 0.022419609129428864, -0.9416236877441406, 0.8396005034446716, 0.038369014859199524, -0.06465346366167068, 0.09866991639137268, -0.6926859617233276, 0.677520215511322, 0.04708331823348999, 0.006249346770346165, -0.03715137764811516, 0.5829907655715942, 0.8821331858634949, -0.5660659074783325, 0.39776816964149475, -0.4395064115524292, -0.017466941848397255, 0.8924108147621155, 0.10408002883195877, 0.1885027289390564, 0.2934059202671051, 0.14647237956523895, -0.607731282711029, 0.23603156208992004, -0.10534916818141937, -1.1382784843444824, 0.19963857531547546, -0.34869086742401123, -0.9742040634155273, 0.0692920833826065, -0.8789377212524414, -0.4870743751525879, 0.24922622740268707, 0.2430858612060547, 0.786426305770874, -0.4379355013370514, -0.013981727883219719, 0.8376554846763611, -0.5449570417404175, 0.154660165309906, 0.729428768157959, -0.6681927442550659, -0.31619274616241455, 0.6812260746955872, 0.23492754995822906, 0.6131281852722168, 0.13609221577644348, 0.35758617520332336, -0.3271440863609314, -0.36659517884254456, -0.4016817808151245, -0.02389889396727085, -0.8476983308792114, 0.07753843814134598, -0.8060837984085083, -0.3128775954246521, -0.5519281625747681, -0.0944376289844513, -0.2335631251335144, -0.7367245554924011, 0.027524467557668686, -0.582047164440155, 0.14282722771167755, 0.9232971668243408, 0.23998016119003296, 0.3202436864376068, -0.4181356728076935, 0.4332793653011322, 0.9271003007888794, -0.14155131578445435, -0.08345023542642593, -0.34319403767585754, 0.08608637005090714, 0.1437360793352127, -0.5627066493034363, -0.8539594411849976, 0.14570170640945435, -0.2023676037788391, 0.39484092593193054, 0.6370911002159119, 0.18662208318710327, 0.5516528487205505, -0.29822656512260437, 1.1350406408309937, 0.11790728569030762, -0.6098765730857849, 0.7778860926628113, -0.4120626151561737, 0.575118362903595, 0.7844381332397461, 0.37836581468582153, -0.47729408740997314, -0.36798810958862305, -1.0653529167175293, -0.700215756893158, 0.46131646633148193, 0.2937520742416382, 0.03579851612448692, -0.0994628518819809, 0.43096187710762024, 0.5928840041160583, 0.49308839440345764, -0.19005516171455383, -0.3561967611312866, -0.13716013729572296, 0.09829943627119064, -0.04038489609956741, -0.7104694843292236, -0.140253484249115, -0.26342636346817017, 0.42844319343566895, -0.11553604155778885, 0.39908021688461304, 0.32595333456993103, -0.1309397667646408, 0.0848158746957779, 0.3934389054775238, 0.7290585041046143, 1.1237212419509888, -0.3104250133037567, -0.0840427428483963, 0.26733285188674927, -0.042319878935813904, 0.09642207622528076, 0.005860322155058384, -0.5156822204589844, 0.0559752993285656, 0.18403971195220947, 0.7443175911903381, 0.13494032621383667, -0.6138857007026672, 0.42204001545906067, -0.12900656461715698, -0.7815322875976562, -0.3318619132041931, 0.04201292619109154, 0.1330556422472, 0.17975667119026184, 0.1419556736946106, -0.1899864226579666, 0.11039716750383377, -0.686454713344574, 0.3026846647262573, 0.1927776038646698, -0.2829107642173767, -0.45309796929359436, 0.844849169254303, 0.1555524617433548, -0.06447646021842957, 0.5166513919830322, -0.32315632700920105, -0.6686067581176758, 0.8214405179023743, 0.418578565120697, 0.8270991444587708, -0.09607896208763123, 0.5654737949371338, 0.38681644201278687, 0.04891197383403778, 0.35215818881988525, 0.903564989566803, -0.5697426199913025, -0.9257984161376953, -0.3327598571777344, -0.2549968659877777, -0.7346415519714355, 0.2761250138282776, -0.8429082036018372, 0.029497645795345306, -0.2362474650144577, 0.14347058534622192, 0.02937461994588375, -0.18042835593223572, -0.5321282744407654, 0.5420997142791748, -0.1434573531150818, 1.0264558792114258, -0.8285597562789917, 0.33680880069732666, 0.4174710810184479, -0.3904300928115845, -0.8081264495849609, 0.09938474744558334, -0.31423062086105347, -0.7081881761550903, 0.5244517922401428, 0.31920501589775085, 0.23078703880310059, -0.018307246267795563, -0.6645025610923767, -0.7073990702629089, 1.4682955741882324, 0.16543865203857422, 0.16726765036582947, -0.0507577583193779, 0.4004756510257721, 0.3319547772407532, -0.3171764314174652, 0.37296926975250244, 0.62838214635849, 0.39948877692222595, 0.4095093607902527, -0.5959278345108032, -0.058686599135398865, -0.28328564763069153, -0.22294797003269196, 0.09945026785135269, -0.4800109267234802, 0.506206750869751, -0.41834092140197754, -0.29402023553848267, 0.0642041340470314, 0.7289895415306091, 0.12156711518764496, 0.5519117712974548, 0.6239253282546997, 0.5079177021980286, 0.7533515095710754, -0.07864390313625336, 1.2667416334152222, -0.38912951946258545, 0.008044304326176643, 1.1066993474960327, -0.15679432451725006, 0.2288544923067093, 0.38450905680656433, -0.11032797396183014, 0.2808167636394501, 0.5147945880889893, 0.2915552258491516, 0.5341595411300659, 0.28711214661598206, -0.15451985597610474, -0.24603040516376495, -0.3955564498901367, -0.3560279905796051, 0.6279784440994263, 0.18211157619953156, -0.2850089371204376, -0.33291155099868774, -0.06534627825021744, 0.07019031047821045, -0.22197024524211884, -0.2903890311717987, 0.9691189527511597, -0.15106385946273804, -1.217068076133728, 0.3728238642215729, -0.280392587184906, -0.3820897936820984, -0.785315752029419, -0.0920541062951088, -0.3641583025455475, -0.34080567955970764, 0.1411154717206955, -0.7362568378448486, 0.23212695121765137, -0.05767370015382767, -0.4362955093383789, -0.40726760029792786, 0.7107950448989868, -0.418011337518692, -0.45921972393989563, -0.3343092203140259, 0.8140935897827148, 0.3562987744808197, -0.0289614200592041, -0.2330923080444336, -0.6955475807189941, 0.28168514370918274, -0.5007930397987366, 0.13045436143875122, 0.5496503710746765, 0.15248578786849976, 0.9113373160362244, 0.4487190246582031, -0.3898128867149353, 0.1755828559398651, 0.10073604434728622, 0.8774191737174988, -0.6537956595420837, -0.624803364276886, -0.409016489982605, 0.8057517409324646, 0.11440588533878326, -0.4706578254699707, 0.8006246089935303, 0.5039775371551514, 0.47137656807899475, -0.05509660765528679, 1.070521354675293, -0.24123001098632812, 0.5400152802467346, -0.5708457827568054, 0.6018121242523193, -0.21595782041549683, -0.11871641129255295, -0.1935003250837326, -0.5594529509544373, 0.24445027112960815, 0.061722226440906525, -0.3679669499397278, -0.027141369879245758, 0.7585518956184387, 0.776461124420166, 0.3399506211280823, 0.5650972127914429, 0.5651208162307739, 0.217060387134552, 0.10206986963748932, 0.35394346714019775, 1.211780071258545, -0.36433693766593933, 0.5195174813270569, -0.41004666686058044, 0.019073985517024994, 0.2294376939535141, -0.7196155190467834, -0.8723618984222412, -0.6169302463531494, -0.32146286964416504, -0.14323413372039795, -0.3239605128765106, 0.45010483264923096, 0.47439301013946533, -0.6814131140708923, 0.10221672058105469, -0.28941065073013306, 0.268738329410553, 0.06266195327043533, -0.30271345376968384, 0.04560564458370209, -0.29519301652908325, -0.26856327056884766, 0.4249253273010254, -0.06018948554992676, 0.10421618074178696, -0.2979345917701721, 0.05269414931535721, -0.0876370370388031, 0.23432821035385132, 0.7126842737197876, 0.17041519284248352, -0.3999249041080475, -0.2864576578140259, -0.09967634826898575, 0.5533162951469421, -0.23586872220039368, 0.9858608245849609, -0.8570849895477295, 0.6448702812194824, 0.38244980573654175, 0.5289609432220459, 0.44995149970054626, 0.2855013608932495, 0.9907963275909424, -0.731945276260376, -0.08234881609678268, 0.22154539823532104, 0.07537134736776352, 0.15312744677066803, -0.3528783619403839, 0.4062541127204895, 0.2652742266654968, -0.4444580674171448, -0.7034592032432556, 0.5393810272216797, -0.7118372321128845, -0.057505395263433456, 1.0940570831298828, -0.04891165345907211, 0.14757758378982544, -0.10007926821708679, -0.2778434157371521, 0.18761029839515686, 0.16357509791851044, 0.5116500854492188, 0.9746498465538025, -0.31904494762420654, -0.06878157705068588, -0.8847456574440002, 0.5177826285362244, 0.6062895059585571, -0.7644996643066406, 0.20107059180736542, 0.4282706677913666, 0.3598695993423462, 0.0058371517807245255, 0.6255265474319458, -0.08084618300199509, 0.3743324875831604, 0.08771339803934097, -0.18940523266792297, -0.21398165822029114, -0.27992498874664307, 0.20847514271736145, 0.5703966617584229, 0.030298292636871338, -0.0011794897727668285 ]
http://arxiv.org/abs/2404.07824v1
http://arxiv.org/pdf/2404.07824v1
Heron-Bench: A Benchmark for Evaluating Vision Language Models in Japanese
2024-04-11T15:09:22
2024-04-11T15:09:22
Yuichi Inoue, Kento Sasaki, Yuma Ochi, Kazuki Fujii, Kotaro Tanahashi, Yu Yamaguchi
cs.CV
cs.CV, cs.CL
Vision Language Models (VLMs) have undergone a rapid evolution, giving rise to significant advancements in the realm of multimodal understanding tasks. However, the majority of these models are trained and evaluated on English-centric datasets, leaving a gap in the development and evaluation of VLMs for other languages, such as Japanese. This gap can be attributed to the lack of methodologies for constructing VLMs and the absence of benchmarks to accurately measure their performance. To address this issue, we introduce a novel benchmark, Japanese Heron-Bench, for evaluating Japanese capabilities of VLMs. The Japanese Heron-Bench consists of a variety of imagequestion answer pairs tailored to the Japanese context. Additionally, we present a baseline Japanese VLM that has been trained with Japanese visual instruction tuning datasets. Our Heron-Bench reveals the strengths and limitations of the proposed VLM across various ability dimensions. Furthermore, we clarify the capability gap between strong closed models like GPT-4V and the baseline model, providing valuable insights for future research in this domain. We release the benchmark dataset and training code to facilitate further developments in Japanese VLM research.
[ -0.3454665541648865, -0.2666267454624176, 0.6203930377960205, -0.012656879611313343, -0.43239644169807434, -0.22240355610847473, -0.05723143368959427, -0.6539552807807922, -0.28596845269203186, 0.554050624370575, -0.5518348813056946, -0.5457950234413147, -0.4008182883262634, -0.050651852041482925, 0.03336334228515625, 0.38804003596305847, -0.18186986446380615, 0.40049439668655396, -0.2494359314441681, -0.6314947009086609, -0.6237701773643494, -0.08742683380842209, -0.38892197608947754, -0.06638189405202866, 0.38108932971954346, 0.19437405467033386, 0.48478370904922485, 0.7518385052680969, 0.613032877445221, 0.27257734537124634, 0.3784756660461426, 0.031487978994846344, -0.27677425742149353, 0.20200254023075104, -0.08096466958522797, -0.5683778524398804, -0.20815548300743103, -0.10759346932172775, 1.0472441911697388, 0.8330720067024231, 0.15608590841293335, 0.3000899851322174, -0.1731926053762436, 0.7425416111946106, -1.1135377883911133, 0.5200926661491394, -0.5078232288360596, 0.34831616282463074, -0.5324310660362244, 0.06628447771072388, -0.24467308819293976, -0.0550837367773056, 0.1389998495578766, -0.8035269379615784, 0.12200901657342911, -0.048630308359861374, 0.8486150503158569, 0.2930572032928467, -0.2336442917585373, 0.44691434502601624, -0.3551752269268036, 0.940560519695282, -0.6051099300384521, 0.6737295389175415, 0.3872649669647217, 0.835006594657898, 0.3871883153915405, -0.7274959683418274, -0.2605922222137451, -0.28871139883995056, 0.19741030037403107, 0.4948071539402008, -0.04673967510461807, -0.031125888228416443, 0.4132674038410187, 0.27686795592308044, -0.6709347367286682, 0.00360865774564445, -0.39383623003959656, -0.11310447007417679, 0.4442175030708313, 0.3187021017074585, 0.2264450341463089, -0.3124472498893738, -0.26663127541542053, -0.38335320353507996, -0.3530759811401367, 0.14877751469612122, 0.03999669477343559, 0.3034974932670593, -0.04818082973361015, 0.6439740061759949, -0.4592875838279724, 1.1092149019241333, -0.62958824634552, -0.19998614490032196, 0.2769744396209717, -0.37382930517196655, -0.21948674321174622, -0.20045511424541473, 0.7175691723823547, 0.7162196040153503, 0.21204137802124023, 0.02951529622077942, -0.2622705101966858, 0.2938469648361206, 0.25808319449424744, -0.530968427658081, 0.1404157429933548, -0.2588522136211395, -0.4699350893497467, -0.11588896811008453, 0.14816957712173462, -0.6136628985404968, -0.22768695652484894, -0.12904492020606995, 0.4719770550727844, -0.41384977102279663, -0.3317835032939911, 0.09136779606342316, -0.4134501516819, 0.7093759179115295, 0.17857375741004944, -0.5168610215187073, 0.24957500398159027, 0.5972707867622375, 0.8324154019355774, -0.030044827610254288, -0.4762049913406372, -0.5083265900611877, 0.10827702283859253, -0.5873154997825623, 0.37811827659606934, -0.6535942554473877, -0.3964621126651764, -0.06465232372283936, -0.035512614995241165, -0.09345263242721558, -0.4173031449317932, 0.2993844449520111, -0.17461296916007996, 0.18496522307395935, -0.3261694610118866, -0.36024507880210876, -0.141913041472435, 0.23621921241283417, -0.5779157280921936, 0.7599515318870544, 0.40347763895988464, -0.6504804491996765, 0.36470165848731995, -0.425142765045166, -0.058435212820768356, 0.6656410098075867, -0.637924313545227, -0.41779401898384094, 0.43049827218055725, 0.21627815067768097, 0.15793447196483612, -0.44346165657043457, 0.01708422414958477, -0.6833229660987854, -0.40107783675193787, 0.269867479801178, -0.5388979911804199, 0.7234799265861511, 0.15890756249427795, -0.3474460542201996, -0.12076214700937271, -0.7509379386901855, 0.6147323250770569, 0.007779676932841539, 0.11872150003910065, -0.7146472930908203, -0.20266762375831604, 0.151675283908844, -0.06686252355575562, 0.2945965528488159, -0.49040475487709045, -0.051972147077322006, -0.16122040152549744, 0.20449969172477722, 0.6443417072296143, -0.20063354074954987, -0.056730762124061584, -0.20631782710552216, 0.7190890312194824, -0.12164191901683807, 0.5943329334259033, -0.44999831914901733, -0.5701202750205994, -0.7989093065261841, -0.23463572561740875, 0.0027066529728472233, 0.23672953248023987, -0.9825707077980042, -0.15262940526008606, -0.29707708954811096, -0.544937789440155, -0.8843407034873962, 0.0018243013182654977, 0.959465742111206, 0.6496161818504333, 0.19633333384990692, -0.7439180612564087, -0.5320894718170166, -1.1069862842559814, -0.3688461482524872, -0.20862573385238647, 0.1663200706243515, 0.536913275718689, 0.2166476547718048, -0.01006122212857008, 0.7559856176376343, -0.22208674252033234, -0.08105966448783875, -0.0023544756695628166, 0.018334249034523964, 0.06554608792066574, 0.2633700370788574, 0.6238725781440735, -0.925544798374176, -0.6029245257377625, 0.18032367527484894, -1.0618081092834473, -0.09239356219768524, 0.2945926785469055, -0.03591177985072136, 0.0797610804438591, 0.33076539635658264, -0.24053990840911865, 0.5410459637641907, 0.5573142766952515, -0.2490537166595459, 0.5832128524780273, -0.06408432871103287, 0.2883940041065216, -0.8669260144233704, 0.30074605345726013, 0.21588338911533356, -0.2555887699127197, -0.4356679916381836, 0.5309885740280151, 0.42786267399787903, -0.2943134605884552, -0.4760383069515228, 0.4594288170337677, -0.5420511960983276, -0.8348437547683716, -0.09048662334680557, -0.05323930084705353, 0.014569714665412903, 0.2778967618942261, 0.2611404061317444, 0.870533287525177, 0.6977511644363403, -0.4023107588291168, 0.4096364378929138, 0.08804244548082352, -0.6413551568984985, 0.8639050722122192, -0.783280074596405, 0.0018194745061919093, 0.027067894116044044, -0.326129674911499, -0.9284278154373169, -0.1606525182723999, 0.134362131357193, -0.2611769735813141, 0.1460881233215332, -0.4109414219856262, -0.010020121932029724, -0.4733884036540985, -0.3491268754005432, 0.4401690363883972, 0.527953028678894, -0.27700260281562805, 0.376535564661026, 0.23086945712566376, 0.038729194551706314, -0.8430458903312683, -0.775107204914093, 0.09876368194818497, -0.0691407173871994, -0.4294564425945282, 0.3567996323108673, -0.07709630578756332, -0.3758563697338104, 0.21190272271633148, -0.17250214517116547, -0.11889341473579407, -0.00718223862349987, 0.1662915199995041, 0.47089481353759766, -0.8577857613563538, -0.22036029398441315, -0.4419279098510742, -0.4213860332965851, -0.13227057456970215, -0.5040078163146973, 0.24046164751052856, -0.5523123741149902, -0.5927174091339111, -0.39104416966438293, -0.001449007191695273, 0.9460858106613159, -0.5258458852767944, 0.4211830496788025, 0.5491619110107422, -0.17629513144493103, 0.034416258335113525, -0.576471209526062, 0.10650067031383514, -0.4220891296863556, 0.6177712082862854, -0.691466748714447, -0.5020148158073425, 0.19611752033233643, 0.12714716792106628, -0.013045404106378555, 0.2535592019557953, 0.10083889216184616, 0.023564616218209267, 1.045557975769043, 0.8809649348258972, 0.0393245592713356, 0.5607027411460876, -0.21076539158821106, -0.23101112246513367, -1.1465610265731812, -0.0706164613366127, -0.22708465158939362, -0.13370314240455627, -0.5108844637870789, -0.5060406923294067, 0.515908420085907, -0.10518315434455872, 0.00870728213340044, 0.2089514434337616, -0.22253715991973877, 0.598297119140625, 0.47679898142814636, -0.06035490706562996, 0.23981018364429474, -0.06776175647974014, -0.2837446630001068, -0.43900176882743835, -0.6897870302200317, -0.13836561143398285, 1.2370742559432983, 0.05459657683968544, 0.45893722772598267, 0.055598288774490356, 0.37655484676361084, 0.07104232162237167, 0.010293821804225445, -0.6339824199676514, 0.5971832871437073, -0.2866058647632599, -0.315861314535141, -0.445197194814682, -0.4624042510986328, -0.7929937839508057, 0.647370457649231, 0.07205358892679214, -0.5726513266563416, 0.0059350160881876945, -0.1729905754327774, -0.10842326283454895, 0.07619044929742813, -0.607285737991333, 1.2339308261871338, -0.5645015239715576, -0.771069347858429, -0.1367071270942688, -0.45862236618995667, 0.5110700726509094, -0.012689206749200821, 0.17135049402713776, -0.19760744273662567, -0.31642869114875793, 0.4421132504940033, -0.502484917640686, 0.6616112589836121, -0.36736756563186646, 0.21995703876018524, -0.17442423105239868, -0.29927530884742737, -0.02278936468064785, 0.028304919600486755, -0.047406330704689026, -0.0076667251996695995, 0.12009985744953156, -0.6092620491981506, -0.5281424522399902, 0.5630409121513367, -0.987585723400116, -0.3587562143802643, -0.4146844446659088, -0.3671424686908722, -0.5490114688873291, 0.36078161001205444, 0.30837932229042053, 0.6769442558288574, -0.09610037505626678, 0.3776662051677704, 0.5001691579818726, -0.20909108221530914, 0.3522048592567444, 1.0455013513565063, -0.40316444635391235, -0.3384181559085846, 0.8276821374893188, 0.23345746099948883, 0.2560480237007141, 0.2909049093723297, 0.1791476309299469, -0.3740277588367462, -0.7041412591934204, -0.6053323745727539, 0.12959052622318268, -0.7272788286209106, -0.017598506063222885, -0.11261744797229767, -0.32443198561668396, -0.29037749767303467, 0.056704286485910416, -0.6384323239326477, -0.15786601603031158, 0.40167036652565, 0.19413548707962036, 0.11651424318552017, 0.6577456593513489, 0.20461644232273102, -0.07800426334142685, -0.6568478345870972, 0.43795496225357056, 0.49785012006759644, 0.7489525675773621, -0.21794773638248444, -0.41711264848709106, -0.2510792315006256, -0.01686045713722706, 0.042461175471544266, -0.6845382452011108, 0.2772914171218872, 0.10892464220523834, 0.9217426180839539, 0.25082165002822876, -0.03695539012551308, 1.0948330163955688, -0.22187136113643646, 0.6978908181190491, 0.387468546628952, -0.7750828266143799, 0.7516040802001953, -0.38670751452445984, 0.746651828289032, 0.6423255801200867, 0.16330257058143616, -0.6557690501213074, -0.4464764893054962, -0.5061405301094055, -0.730506181716919, 0.6642439365386963, 0.02204006351530552, -0.14571954309940338, 0.4969225227832794, 0.2612040042877197, 0.16395004093647003, 0.22909478843212128, -0.7145145535469055, -0.014537454582750797, -0.4486445486545563, -0.18263912200927734, -0.33112117648124695, -0.06146479770541191, 0.17595477402210236, -0.3086289167404175, 0.4317116439342499, -0.2587449252605438, -0.1940515637397766, -0.019653141498565674, -0.2855153977870941, -0.1200186014175415, -0.002411444904282689, 0.3133559823036194, 0.8612212538719177, -0.09200979769229889, 0.0007413116400130093, 0.052478477358818054, -0.5689793825149536, -0.16639411449432373, 0.07651739567518234, -0.44672849774360657, 0.042983077466487885, 0.5261119604110718, 1.1806117296218872, 0.39491912722587585, -0.7732759714126587, 0.5163965821266174, -0.3859206438064575, -0.04060741513967514, -0.33046308159828186, 0.24479718506336212, -0.24004754424095154, 0.20122474431991577, 0.2980840802192688, 0.06157469376921654, 0.08160644769668579, -0.5773705244064331, 0.15694183111190796, 0.40552592277526855, -0.6258491277694702, -0.08242485672235489, 0.4504234492778778, 0.05115453153848648, -0.14586128294467926, 0.6150516271591187, 0.09824766963720322, -0.33240652084350586, 0.6296316385269165, 0.3749140799045563, 0.8505815267562866, -0.18482308089733124, 0.25060373544692993, 0.4657880663871765, 0.3900741934776306, 0.03840460255742073, 0.36773258447647095, -0.2847561836242676, -0.7476833462715149, -0.22311928868293762, -0.61821049451828, -0.5418336987495422, 0.49740269780158997, -1.043041706085205, 0.15423332154750824, -0.5453483462333679, -0.18158875405788422, -0.035385068506002426, 0.1271555870771408, -0.746798574924469, 0.0798274427652359, 0.4141833484172821, 0.6929633021354675, -0.7355168461799622, 0.9313307404518127, 0.8739912509918213, -0.49484819173812866, -0.49603861570358276, -0.10130300372838974, 0.09640124440193176, -1.0144777297973633, 0.48883405327796936, 0.42592135071754456, -0.3286513388156891, 0.0007814923883415759, -0.2926989793777466, -0.7817812561988831, 1.1404556035995483, 0.38559406995773315, -0.7355833053588867, 0.3489547371864319, 0.21228118240833282, 0.5442290902137756, -0.3484179377555847, 0.3287968933582306, 0.3775353729724884, 0.5709531903266907, -0.11446536332368851, -0.8557450175285339, -0.3621276319026947, -0.6872550249099731, 0.6396086812019348, -0.089436836540699, -0.786523163318634, 0.7442402839660645, 0.004613286815583706, -0.08066045492887497, 0.33829349279403687, 0.4243682622909546, 0.3520858585834503, 0.27730610966682434, 0.43659716844558716, 0.49581581354141235, 0.6074483394622803, -0.13426432013511658, 1.104664921760559, -0.2803674638271332, -0.044667959213256836, 0.9658091068267822, -0.4397469460964203, 0.9985901117324829, 0.4776313006877899, -0.1837330460548401, 0.28693681955337524, 0.2663780152797699, -0.1430990993976593, 0.5888654589653015, -0.05789180099964142, -0.11534565687179565, -0.3596510887145996, -0.15125307440757751, -0.5561501979827881, 0.7051295042037964, 0.31586700677871704, -0.045993056148290634, -0.011638276278972626, 0.33502116799354553, -0.5026999711990356, 0.23793543875217438, -0.4541338086128235, 0.5967187285423279, 0.022403348237276077, -0.8685097694396973, 0.6036670207977295, -0.029936468228697777, 0.4628427028656006, -1.0595495700836182, 0.12956075370311737, -0.3213779032230377, 0.49725157022476196, 0.19315402209758759, -0.8401156663894653, 0.10739810764789581, 0.1912769228219986, -0.0720779076218605, -0.18060827255249023, 0.5835720896720886, -0.18943805992603302, -0.5388096570968628, 0.2873043119907379, 0.4100050628185272, 0.10937915742397308, 0.2266138792037964, -0.853361964225769, 0.4467003643512726, -0.054220739752054214, -0.07804752886295319, 0.29285725951194763, 0.3661704957485199, -0.06876089423894882, 0.6825813055038452, 0.43094825744628906, 0.18748509883880615, 0.09216804057359695, 0.37921905517578125, 0.4685932993888855, -0.6649098992347717, -0.44126734137535095, -0.6559234261512756, 0.44614583253860474, -0.3623611032962799, -0.5823527574539185, 1.0010532140731812, 0.6560158133506775, 0.9630218744277954, -0.14915817975997925, 1.0828056335449219, 0.2079557627439499, 0.21779997646808624, -0.6592718362808228, 0.569932222366333, -0.8637322187423706, 0.13173985481262207, -0.2367067188024521, -0.8476734161376953, -0.10235992819070816, 0.8477917313575745, -0.3661675453186035, 0.17071039974689484, 0.556591272354126, 0.6293171644210815, -0.2707928419113159, -0.048530541360378265, 0.7987415194511414, 0.23136863112449646, 0.03678767755627632, 0.8587378859519958, 1.0052862167358398, -0.480154424905777, 0.3167377710342407, -0.35115310549736023, -0.3023040294647217, -0.16113685071468353, -0.7431052923202515, -0.6724613308906555, -0.6670618653297424, -0.35695475339889526, 0.14244841039180756, 0.38074710965156555, 0.21348260343074799, 0.8099501729011536, -0.514940619468689, -0.5103096961975098, -0.2006562352180481, -0.209554985165596, -0.5030274391174316, -0.16715851426124573, 0.018257755786180496, -0.442942351102829, -0.5719109773635864, 0.34678471088409424, 0.5624189376831055, 0.12957002222537994, -0.5992817282676697, -0.3175349235534668, 0.3538679778575897, -0.2856028079986572, 0.3737647831439972, 0.521938681602478, -0.878241240978241, -0.1276334524154663, 0.021895553916692734, -0.20238187909126282, -0.17105348408222198, 0.5485562086105347, -0.9009232521057129, 0.9923163056373596, 0.2982882261276245, 0.5686501860618591, 0.8197337985038757, -0.45125195384025574, 0.9087769985198975, -0.6595594882965088, 0.34931373596191406, 0.14370250701904297, 0.6102460026741028, 0.6044278144836426, 0.2413409799337387, 0.6441608667373657, 0.40785670280456543, 0.08556346595287323, -0.841900646686554, 0.2966795861721039, -0.8654674887657166, -0.32262122631073, 0.7925639152526855, -0.23789948225021362, -0.5057175159454346, -0.009084775112569332, -0.08978208899497986, 0.03228655457496643, 0.34495750069618225, 0.48898178339004517, 0.6596570014953613, 0.3066355288028717, -0.527488112449646, -0.8176508545875549, 0.31567859649658203, 0.48319217562675476, -0.6236789226531982, 0.22697727382183075, 0.5034925937652588, 0.09000074863433838, -0.06585124135017395, 0.7532152533531189, -0.3254276514053345, 0.812166690826416, 0.27566400170326233, -0.19838596880435944, -0.31822964549064636, -0.300160676240921, -0.26325008273124695, 0.0686725527048111, 0.2531576454639435, -0.33859506249427795 ]
http://arxiv.org/abs/2404.07814v1
http://arxiv.org/pdf/2404.07814v1
MultiLS-SP/CA: Lexical Complexity Prediction and Lexical Simplification Resources for Catalan and Spanish
2024-04-11T14:57:19
2024-04-11T14:57:19
Stefan Bott, Horacio Saggion, Nelson Peréz Rojas, Martin Solis Salazar, Saul Calderon Ramirez
cs.CL
cs.CL
Automatic lexical simplification is a task to substitute lexical items that may be unfamiliar and difficult to understand with easier and more common words. This paper presents MultiLS-SP/CA, a novel dataset for lexical simplification in Spanish and Catalan. This dataset represents the first of its kind in Catalan and a substantial addition to the sparse data on automatic lexical simplification which is available for Spanish. Specifically, MultiLS-SP is the first dataset for Spanish which includes scalar ratings of the understanding difficulty of lexical items. In addition, we describe experiments with this dataset, which can serve as a baseline for future work on the same data.
[ -0.42999398708343506, -0.3914700448513031, 0.3908768892288208, 0.8129517436027527, -0.25472548604011536, 0.19061847031116486, -0.023791298270225525, -0.3261212408542633, 0.47021540999412537, 0.10594535619020462, -0.8914414644241333, -0.4023417830467224, -0.7080522775650024, 0.2156861126422882, -0.24347390234470367, 1.043001651763916, 0.10942117124795914, 0.39661580324172974, 0.12048806995153427, -0.12860246002674103, -0.2512468099594116, -0.6485369801521301, -0.5416660308837891, -0.09856593608856201, 0.8359428644180298, 0.45739662647247314, 1.1947709321975708, 0.6241423487663269, 0.5704811811447144, 0.2924131751060486, -0.29318004846572876, 0.5197047591209412, -0.39127853512763977, -0.22137989103794098, -0.09675879776477814, -0.26109591126441956, -0.5218964219093323, -0.6110842823982239, 0.6240699887275696, 0.9776986837387085, -0.08221232891082764, 0.09241575002670288, 0.024210287258028984, 0.9355219006538391, -0.5483527779579163, 0.5756906867027283, -0.5856572985649109, 0.23817968368530273, -0.22436219453811646, -0.5537614226341248, -0.1821247786283493, -0.39212799072265625, 0.0765470564365387, -0.6642530560493469, 0.6244703531265259, 0.05928998440504074, 0.33949729800224304, 0.8578592538833618, -0.5604403018951416, -0.7410070300102234, -0.760125458240509, 0.6918004751205444, -0.02054862678050995, 0.47140759229660034, 0.1440715491771698, 0.2367662936449051, -0.42335811257362366, -0.7598655819892883, -0.37334713339805603, -0.18758542835712433, -0.0740128755569458, -0.1584935337305069, -0.045141786336898804, 0.15198926627635956, 0.21109943091869354, 0.4355561435222626, -0.5368480682373047, -0.24671652913093567, -0.9860084652900696, -0.4765784740447998, 0.4645518660545349, 0.29841348528862, 0.22618159651756287, 0.11691917479038239, -0.3161480724811554, -0.014912977814674377, -0.8363382816314697, 0.18627922236919403, 0.3361893594264984, 0.5239633321762085, 0.14909954369068146, 0.757322371006012, -0.09092506766319275, 0.4924590289592743, -0.4059537649154663, -0.23511210083961487, 0.7550935745239258, -0.5075359344482422, -0.1435410976409912, 0.2679034471511841, 0.4456377625465393, -0.12379612028598785, 0.31657078862190247, 0.09415637701749802, -0.042872317135334015, 0.21439464390277863, -0.1244691014289856, -0.36398932337760925, -0.2646850049495697, 0.00004424803773872554, -0.20636920630931854, -0.0003052144020330161, 0.2481188178062439, -0.5449507832527161, -0.4771287143230438, -0.35386544466018677, 0.13906040787696838, -0.16918866336345673, -0.07166450470685959, 0.5619739294052124, -0.004410038702189922, -0.17880967259407043, 0.5482977032661438, -0.4050723612308502, 0.7643976211547852, 0.4513045847415924, 0.7377616167068481, -0.26877883076667786, -0.7524440884590149, -0.2758895754814148, -0.20624291896820068, -0.25812533497810364, 0.6632837653160095, -0.18507295846939087, -0.09616643935441971, -0.5025588870048523, 0.19440683722496033, 0.021385442465543747, -0.19770461320877075, 0.9305895566940308, -0.12843799591064453, -0.3264034688472748, -0.4454239010810852, -0.21259823441505432, -0.02960553765296936, -0.23373495042324066, -1.2293214797973633, 1.4343435764312744, -0.3713792860507965, -1.0379736423492432, 0.28215107321739197, -0.3733161985874176, -0.43283119797706604, -0.06360695511102676, -0.00003099404784734361, -0.11856058239936829, 0.2662560045719147, 0.24742545187473297, 0.3282312750816345, -0.2985372841358185, 0.21043474972248077, -0.1463989019393921, -0.24367575347423553, 0.19308440387248993, -0.7556211948394775, 0.5125451683998108, 0.45690998435020447, -0.09183215349912643, -0.28836655616760254, -0.9069445133209229, -0.0924745723605156, 0.1345011293888092, -0.1799333393573761, -0.28477367758750916, 0.26319730281829834, -0.03743331879377365, 0.554925262928009, 0.7869685888290405, -0.5109794735908508, -0.12915439903736115, -0.4495220482349396, -0.095290407538414, 0.3903871178627014, -0.16624049842357635, 0.2195642590522766, -0.3648208975791931, 0.5923608541488647, 0.05609561502933502, 0.3178040087223053, -0.3029717803001404, -0.8162239789962769, -0.6784693002700806, -0.23719504475593567, 0.09917701780796051, 0.6238381266593933, -0.6532431244850159, 0.26675260066986084, -0.23540419340133667, -0.7406342625617981, -0.493509441614151, 0.1828942447900772, 0.43251174688339233, 0.09196823835372925, 0.5718247294425964, -0.07589488476514816, -0.6483858227729797, -0.6849592924118042, 0.014580469578504562, -0.029714839532971382, 0.2710704803466797, 0.08334917575120926, 0.37197086215019226, 0.18539054691791534, 0.760310709476471, -0.49417001008987427, -0.41202422976493835, -0.2312101572751999, 0.15158401429653168, 0.17186279594898224, 0.3851143717765808, 0.43665504455566406, -0.8883516192436218, -0.385014146566391, -0.08199246227741241, -0.39096489548683167, -0.045799847692251205, 0.10798411071300507, 0.5030493140220642, -0.14663676917552948, 0.6696637272834778, 0.07320757955312729, 0.6432088017463684, 0.7959335446357727, -0.4004416763782501, 0.5010011196136475, -0.9064170718193054, -0.05823538079857826, -0.6177260279655457, -0.1943960189819336, -0.06121290102601051, -0.006203302647918463, -0.8356703519821167, -0.22237546741962433, 0.06056378409266472, 0.03536223620176315, -0.8890390396118164, 0.49677491188049316, -0.6058428287506104, -0.34437206387519836, 0.22294440865516663, -0.39578017592430115, -0.1167304515838623, 0.6297716498374939, 0.25740960240364075, 0.8547640442848206, 0.6595732569694519, -0.6328051090240479, 0.3652479648590088, -0.2642243802547455, -0.2990409731864929, -0.0943441390991211, -0.8472132682800293, -0.18852534890174866, -0.5964986681938171, 0.2907007038593292, -1.2925992012023926, -0.05830973759293556, -0.19835321605205536, -0.22005224227905273, -0.37120166420936584, 0.18555191159248352, -0.7352258563041687, -0.5342091917991638, -0.3610898554325104, 0.9684682488441467, -0.2433626353740692, -0.5511756539344788, 0.3275269865989685, 0.3649105131626129, -0.3787676692008972, -0.8875150084495544, -1.0174450874328613, 0.02408427931368351, 0.027696574106812477, -0.41499829292297363, 0.3653380274772644, -0.6417747139930725, 0.01789044961333275, -0.17469751834869385, 0.09375190734863281, -0.4199655055999756, -0.1910623461008072, 0.36519256234169006, 0.07945042848587036, -0.13732683658599854, 0.3959227502346039, 0.33026978373527527, -0.08061432838439941, -0.28799596428871155, 0.25301045179367065, 0.7100739479064941, -0.640667200088501, -0.7373404502868652, -0.5009247660636902, 0.10864870995283127, 0.8502593040466309, -0.08689332008361816, 0.5764944553375244, 0.3685603141784668, -0.591126024723053, -0.07730032503604889, -0.5697165727615356, 0.2633393406867981, -0.4329887330532074, 0.36647215485572815, -0.9097363948822021, -0.4216451346874237, 0.783013105392456, -0.010933090932667255, -0.047640856355428696, 0.6220446825027466, 0.7400757670402527, 0.27489325404167175, 1.1527577638626099, 0.6156918406486511, 0.04030100256204605, 0.05528740957379341, -0.0627029538154602, 0.03472907841205597, -0.0056062848307192326, -0.6807678937911987, -0.7228406667709351, -0.18083041906356812, -0.45785126090049744, -0.6129574179649353, 0.3278185725212097, -0.24910983443260193, -0.13283680379390717, 0.2678815722465515, -0.4647790491580963, 0.9853220582008362, 0.21032172441482544, 0.14617210626602173, 0.6431605815887451, 0.06165382266044617, -0.3048992156982422, -0.331045925617218, -0.8087211847305298, -0.24855230748653412, 1.1234517097473145, 0.6192456483840942, 1.0479512214660645, 0.21830035746097565, 0.5433261394500732, 0.46236681938171387, -0.38653460144996643, -0.8672747611999512, 0.26523977518081665, -0.6036894917488098, -0.32098251581192017, -0.3668191432952881, -0.3850449025630951, -0.9173299670219421, 0.2835909426212311, -0.29177311062812805, -0.37077489495277405, 0.47149109840393066, -0.05533672496676445, -0.38705259561538696, 0.1848735809326172, -0.9933145642280579, 0.5233919024467468, -0.22647780179977417, 0.1424902230501175, -0.20307081937789917, -0.6044192910194397, 0.1658996343612671, -0.1950027197599411, 0.6060677170753479, -0.054246556013822556, -0.36653754115104675, 0.5625114440917969, -0.540062665939331, 0.7218701243400574, -0.06449521332979202, -0.004787045065313578, 0.19228991866111755, 0.1216101124882698, 0.3041713833808899, 0.005211069714277983, -0.30955079197883606, -0.0752861425280571, 0.2539588510990143, -0.320909321308136, -0.3928613066673279, 0.69154292345047, -0.7832769155502319, 0.22712653875350952, -0.6242685317993164, -0.692288339138031, 0.058128245174884796, -0.017890945076942444, 0.16025063395500183, 0.5992499589920044, -0.5112850666046143, 0.12680773437023163, 0.6816920042037964, -0.2545206844806671, 0.23464907705783844, 0.3743669092655182, 0.1167825311422348, -0.3535864055156708, 1.0516444444656372, 0.24207553267478943, 0.01182516384869814, 0.11077506095170975, 0.23241744935512543, -0.6177921295166016, -0.33495134115219116, -0.3470068573951721, 0.3102480173110962, -0.8372858166694641, -0.19666166603565216, -0.5815565586090088, -0.37355417013168335, -0.2800544798374176, -0.11211327463388443, -0.5745863914489746, -0.8969360589981079, -0.40777352452278137, -0.07703523337841034, 0.1423242837190628, 1.2207967042922974, -0.0715840607881546, 0.35110458731651306, -0.4327789843082428, 0.5022124648094177, 0.10537797957658768, 0.16420555114746094, -0.0703178197145462, -0.318724125623703, 0.002170397900044918, -0.12745481729507446, 0.14965349435806274, -1.016666293144226, 0.582319438457489, 0.6243357062339783, 0.5289745926856995, 0.40570446848869324, -0.11648555099964142, 0.8752278685569763, -0.5015004873275757, 0.5464179515838623, 0.28715118765830994, -0.9837723970413208, 0.3117440342903137, 0.13109107315540314, 0.22568069398403168, 0.6320908665657043, 0.5106607675552368, -0.32882052659988403, -0.394013375043869, -0.8126263618469238, -0.7594307065010071, 0.8754815459251404, 0.17344771325588226, -0.16872605681419373, 0.07259458303451538, 0.3079279959201813, 0.2841804027557373, 0.26777634024620056, -0.9694184064865112, -0.7237483263015747, -0.08420953899621964, -0.48529788851737976, -0.4623816907405853, -0.3972408175468445, 0.29650774598121643, -0.5044066309928894, 0.6001644730567932, -0.07661265879869461, -0.054074034094810486, 0.20796704292297363, -0.1838020235300064, 0.0020621989388018847, 0.19018271565437317, 0.6504855751991272, 0.6531817317008972, -0.03043641895055771, 0.4300993084907532, 0.6260790228843689, -0.567026674747467, 0.09218079596757889, -0.06736328452825546, 0.3979925215244293, 0.18449704349040985, 0.2007891684770584, 0.6378074884414673, 0.2455391138792038, -0.8228159546852112, 0.6661509871482849, -0.12294483929872513, -0.14754770696163177, -0.4910617768764496, -0.23809145390987396, -0.08451476693153381, -0.04196812957525253, 0.4220885634422302, 0.09544899314641953, 0.4045310914516449, -0.5277644991874695, 0.18634073436260223, -0.05881479009985924, -0.13804475963115692, -0.27545085549354553, 0.22492866218090057, -0.3340594172477722, 0.061408329755067825, -0.09640387445688248, -0.5431877970695496, -0.5265623331069946, 0.9153363108634949, 0.5296085476875305, 0.16316403448581696, -0.3907303512096405, 0.2608678936958313, 0.5355189442634583, 0.5231226086616516, -0.5437474250793457, 0.7069005966186523, -0.03069177083671093, -0.6164599657058716, -0.2776147723197937, -0.6748418211936951, -0.5391914248466492, -0.12494802474975586, -0.5517033338546753, 0.7155994772911072, -0.5794118642807007, 0.16165272891521454, 0.1434101015329361, 0.07660403847694397, -0.894073486328125, 0.22670350968837738, 0.10190965235233307, 1.0300266742706299, -1.3630379438400269, 1.0749387741088867, 0.6184830069541931, -0.25508493185043335, -0.6490954756736755, -0.49086835980415344, 0.24792124330997467, -0.9462562799453735, 0.771721363067627, -0.14252375066280365, -0.7161563634872437, -0.20904849469661713, -0.151791512966156, -1.0775407552719116, 1.0218236446380615, 0.4023486077785492, -0.2048383355140686, -0.14822795987129211, 0.6776295900344849, 0.8478900194168091, -0.46042871475219727, 0.3959452509880066, 0.6636711359024048, 0.49213048815727234, 0.5586947798728943, -1.139644742012024, -0.2033344805240631, -0.31447726488113403, -0.10529980063438416, 0.07955590635538101, -0.3343726098537445, 1.2879494428634644, -0.311674565076828, -0.17056262493133545, 0.11971554160118103, 0.6941908597946167, 0.0013564744731411338, 0.5274139642715454, 0.5933165550231934, 0.4916185736656189, 0.9871335625648499, -0.06057038903236389, 0.36349815130233765, -0.29244229197502136, 0.4844371974468231, 1.400900959968567, 0.08754972368478775, 0.6604211926460266, 0.5002234578132629, -0.252142071723938, 0.4250209927558899, 0.6509092450141907, 0.12090200930833817, 0.39449965953826904, 0.3893948793411255, -0.3474491238594055, 0.09843600541353226, -0.16720564663410187, -0.45185866951942444, 0.4778151214122772, 1.0349884033203125, -0.18050777912139893, -0.48487651348114014, 0.05981442332267761, -0.20801518857479095, -0.01049228198826313, -0.6132985353469849, 0.7765153050422668, -0.32949724793434143, -0.38157984614372253, 0.5663345456123352, 0.0957985669374466, 0.6335034966468811, -0.6001598834991455, 0.07487337291240692, -0.013799000531435013, 0.11824075132608414, -0.4445576071739197, -1.0067592859268188, 0.6233338713645935, -0.05519133806228638, -0.018025623634457588, -0.06595517694950104, 0.6285676956176758, -0.5387502312660217, -0.7942820191383362, 0.44219866394996643, 0.8957109451293945, 0.6331273913383484, -0.14987866580486298, -0.8313061594963074, -0.09705160558223724, 0.07279405742883682, 0.21309609711170197, -0.09986231476068497, 0.8250525593757629, -0.04696804657578468, 0.9203143119812012, 0.47460898756980896, 0.43903735280036926, 0.7878146767616272, 0.22250136733055115, 0.8736355900764465, -0.5830216407775879, -0.7810593843460083, -0.5326528549194336, 0.15016207098960876, 0.34579893946647644, -0.33435219526290894, 0.34291064739227295, 0.6940145492553711, 0.5907271504402161, 0.032248903065919876, 0.49817517399787903, -0.025434505194425583, 0.4961235523223877, -0.2248411774635315, 0.2430228739976883, -0.7811217308044434, 0.25004279613494873, -0.32591134309768677, -0.8350938558578491, -0.660462498664856, 0.3148837685585022, 0.1980888992547989, -0.20334866642951965, 1.0401417016983032, 1.2784847021102905, -0.3816017806529999, 0.14692260324954987, 0.29651668667793274, -0.07359140366315842, -0.06979173421859741, 0.6821506023406982, 0.5477856397628784, -0.3888818323612213, 0.9154735207557678, -0.5986325144767761, -0.4216465353965759, 0.14699819684028625, -0.7608519196510315, -0.6878343820571899, -0.9793131351470947, 0.19294069707393646, -0.16099627315998077, -0.08054722845554352, 1.227510929107666, 0.2824738621711731, -0.9650143980979919, -0.36223307251930237, -0.3915223777294159, 0.15119126439094543, -0.2108856588602066, -0.13119648396968842, 0.6568459272384644, -0.6124087572097778, -0.8083635568618774, 0.5195188522338867, 0.016343750059604645, 0.23063696920871735, -0.4388188123703003, -0.2183685004711151, 0.015955546870827675, 0.07656102627515793, 0.44286394119262695, 0.49728986620903015, -0.8200511336326599, 0.11532939225435257, -0.05760318785905838, -0.17481572926044464, 0.12405775487422943, 0.9043559432029724, -0.7925472259521484, 0.6079038977622986, 0.6078330278396606, 0.466035395860672, 0.3619321286678314, -0.3410366177558899, 0.01171068288385868, -0.9866211414337158, 0.5465516448020935, -0.017120907083153725, 0.7245172262191772, 0.07087858766317368, -0.32293015718460083, 0.3935670852661133, 0.1582956314086914, -0.21329468488693237, -0.4521285891532898, 0.15680687129497528, -1.212375521659851, -0.20573675632476807, 1.000435471534729, 0.057204995304346085, 0.06096470728516579, -0.6758117079734802, -0.4772466719150543, 0.014771840535104275, -0.3970756232738495, 0.48227035999298096, 0.6793537139892578, 0.013439381495118141, 0.011967473663389683, -0.30264151096343994, 0.7282392382621765, 0.5626574754714966, -0.6622198224067688, 0.1008986160159111, 0.47595125436782837, -0.035439856350421906, 0.31037265062332153, 0.6930386424064636, -0.2745593190193176, 0.4240667521953583, -0.12553822994232178, 0.06718234717845917, 0.030248554423451424, -1.1571030616760254, -0.6038668751716614, 0.47047802805900574, 0.16831594705581665, 0.1758296638727188 ]
http://arxiv.org/abs/2404.07792v1
http://arxiv.org/pdf/2404.07792v1
Nostra Domina at EvaLatin 2024: Improving Latin Polarity Detection through Data Augmentation
2024-04-11T14:35:23
2024-04-11T14:35:23
Stephen Bothwell, Abigail Swenor, David Chiang
cs.CL
cs.CL, cs.LG
This paper describes submissions from the team Nostra Domina to the EvaLatin 2024 shared task of emotion polarity detection. Given the low-resource environment of Latin and the complexity of sentiment in rhetorical genres like poetry, we augmented the available data through automatic polarity annotation. We present two methods for doing so on the basis of the $k$-means algorithm, and we employ a variety of Latin large language models (LLMs) in a neural architecture to better capture the underlying contextual sentiment representations. Our best approach achieved the second highest macro-averaged Macro-$F_1$ score on the shared task's test set.
[ -0.7179579138755798, -0.28048446774482727, 0.6102543473243713, 0.33294275403022766, -0.6293693780899048, 0.25186941027641296, -0.28324422240257263, -0.6691723465919495, 0.8335866928100586, 0.4611995220184326, -0.6822518706321716, -0.9111058115959167, -0.5918614268302917, 0.3946005403995514, -0.2572583854198456, 1.2816635370254517, -0.05401414632797241, 0.3255826234817505, -0.29584717750549316, -0.6938316822052002, -0.14246030151844025, -0.5627154111862183, -0.3454284071922302, -0.4070894122123718, 0.8073074221611023, 0.5596672892570496, 0.3346872925758362, -0.07910208404064178, 0.4505102038383484, 0.25613313913345337, 0.03144901245832443, 0.13113363087177277, -0.25262942910194397, 0.4590522050857544, -0.04264010861515999, -0.6376041769981384, -0.9371211528778076, 0.18670690059661865, 0.4305926263332367, 0.31899797916412354, 0.4786604344844818, 0.06467636674642563, -0.393362432718277, 0.7965593338012695, -0.36986008286476135, 0.26306936144828796, -0.4109099209308624, 0.02186557650566101, -0.09514790773391724, -0.32537057995796204, -0.2927781641483307, -0.27488359808921814, -0.09395705908536911, -0.2948874831199646, 0.10459138453006744, 0.07458566874265671, 0.5750089883804321, 0.4362984001636505, -0.6311575174331665, -0.02548530511558056, -0.6075848340988159, 0.95525062084198, -0.5803647637367249, 0.26177313923835754, 0.10389333963394165, -0.04255830869078636, 0.1621425896883011, -0.19310809671878815, -0.606631875038147, -0.03232559934258461, 0.1263553649187088, 0.2994444966316223, -0.39971181750297546, -0.04505832493305206, 0.09156797081232071, 0.1623753309249878, -0.318427711725235, -0.1601439118385315, -0.2561247646808624, 0.12699884176254272, 0.8230584859848022, 0.11057356745004654, 0.4331187307834625, -0.2513152062892914, -0.3750169575214386, -0.025216979905962944, -0.7147666811943054, -0.09932802617549896, 0.8261417746543884, 0.10941149294376373, -0.3606274724006653, 0.4731042981147766, -0.1962675154209137, 0.4117266535758972, -0.07295539975166321, 0.5820052027702332, 0.5164307951927185, -0.34747400879859924, 0.05100487172603607, -0.0539100244641304, 0.6575515866279602, 0.613142192363739, -0.032035354524850845, 0.10711905360221863, -0.34856709837913513, 0.4328157603740692, 0.2695077061653137, -0.5950632691383362, -0.18907958269119263, 0.5094688534736633, -0.10391788184642792, -0.4384392499923706, 0.01578844152390957, -1.2423113584518433, -0.5948201417922974, -0.8026976585388184, -0.04669906198978424, -0.3812655210494995, -0.2987269163131714, 0.063423752784729, -0.17623719573020935, 0.23265770077705383, 0.5319840908050537, -0.5410342216491699, 0.3739641010761261, 0.9677783250808716, 0.6468483209609985, -0.27902787923812866, 0.06977000832557678, -0.629815399646759, -0.631543755531311, -0.13159669935703278, 1.1704212427139282, -0.5964369177818298, -0.09292761236429214, -0.1475718766450882, 0.06037016585469246, -0.1502232700586319, -0.4145638942718506, 0.8711686134338379, -0.49832475185394287, 0.258165568113327, -0.42221391201019287, -0.4266488552093506, -0.26017406582832336, 0.16224370896816254, -0.7072798609733582, 1.1321920156478882, 0.3761482536792755, -0.910446286201477, 0.05491146072745323, -0.6738282442092896, -0.20312485098838806, 0.24779556691646576, -0.08317099511623383, -0.5086376070976257, 0.415274441242218, 0.05542219430208206, 0.282204270362854, -0.159559965133667, 0.24495746195316315, -0.5361694693565369, -0.13705696165561676, 0.42203831672668457, 0.039211466908454895, 0.7087526917457581, -0.061408329755067825, -0.814530074596405, 0.35414260625839233, -0.6260265111923218, -0.22717802226543427, -0.08563882857561111, 0.11290407180786133, -0.2732424736022949, -0.22155936062335968, 0.3070492446422577, 0.3432803452014923, 0.3432757556438446, -0.8615000247955322, 0.1415318101644516, -0.5626423358917236, 0.2611903250217438, 0.7799127697944641, -0.12500402331352234, 0.6639319062232971, -0.07939908653497696, 0.9016446471214294, -0.06329784542322159, 0.13659046590328217, 0.1763097643852234, -0.643181562423706, -0.9626821279525757, -0.28489798307418823, 0.22190941870212555, 0.6548264622688293, -0.622971773147583, 0.5162064433097839, -0.2240218073129654, -0.5174804925918579, -0.6441689133644104, 0.25301361083984375, 0.16696730256080627, 0.451963871717453, 0.49311643838882446, -0.31602248549461365, -0.9302957057952881, -0.9806967377662659, -0.020543619990348816, -0.12032751739025116, 0.25620824098587036, 0.3140037953853607, 0.6677743196487427, -0.3352026641368866, 0.5560626983642578, -0.26706111431121826, -0.10402839630842209, -0.4579327404499054, 0.6698625087738037, 0.1952003538608551, 0.20264820754528046, 0.7579033374786377, -0.7726365327835083, -0.7975020408630371, 0.19684836268424988, -0.5776421427726746, -0.5280243158340454, 0.33995819091796875, -0.16634395718574524, 0.4605511724948883, 0.16071449220180511, -0.4236346185207367, 0.3557555377483368, 0.6718383431434631, -0.568254292011261, 0.38356897234916687, 0.13880805671215057, 0.39680442214012146, -0.763071596622467, -0.0863722488284111, 0.15052686631679535, -0.3987899422645569, -0.8969734311103821, -0.20343902707099915, 0.18052630126476288, -0.025601087138056755, -0.4718005359172821, 0.4627155363559723, -0.2851087152957916, 0.012880200520157814, -0.6321110129356384, 0.2077811360359192, 0.2682186961174011, 0.48712944984436035, 0.09197348356246948, 0.6650428771972656, 0.6428310871124268, 0.08437557518482208, 0.5995074510574341, 0.06944966316223145, 0.079926997423172, 1.1309690475463867, -0.5355220437049866, 0.15132267773151398, -0.6113885045051575, 0.3138609528541565, -1.0604145526885986, -0.0797574445605278, 0.3224695920944214, -0.6083975434303284, 0.1855657994747162, -0.18429134786128998, -0.23277786374092102, -0.31299805641174316, -0.5981112718582153, 0.59059077501297, 0.35986796021461487, -0.3751201629638672, 0.8283264636993408, 0.3742750585079193, -0.4632629156112671, -0.3420594334602356, -0.289465993642807, 0.3428654968738556, -0.4018213450908661, -0.7240778207778931, 0.26785150170326233, -0.1549687385559082, -0.4148705303668976, -0.14743058383464813, 0.24339090287685394, 0.1910768300294876, -0.017784686759114265, 0.47209423780441284, 0.5687822699546814, -0.05018894374370575, 0.15409815311431885, 0.11649850755929947, -0.1364438682794571, 0.2482842057943344, -0.034189485013484955, 0.7553710341453552, -0.4118048846721649, -0.14303651452064514, -0.6606712341308594, 0.5576435923576355, 0.8094509243965149, -0.3238452970981598, 0.6456264853477478, 0.5933164358139038, -0.22893019020557404, -0.18448840081691742, -0.6129618883132935, -0.1269656866788864, -0.3809875249862671, -0.049689847975969315, 0.10275470465421677, -0.7187206745147705, 0.7417437434196472, 0.13998351991176605, -0.36381465196609497, 0.4022606313228607, 0.44147467613220215, -0.269065260887146, 1.0830296277999878, 0.5154415965080261, -0.4982914626598358, 0.6012319922447205, -0.4906012713909149, 0.505211591720581, -1.0582990646362305, -0.15277110040187836, -0.4958800673484802, -0.46988606452941895, -0.3959890305995941, -0.6913560032844543, 0.45246779918670654, -0.49578654766082764, 0.23123453557491302, 0.4008095860481262, -0.4151839315891266, 0.2692910432815552, 0.44426581263542175, 0.08857602626085281, -0.0526457317173481, -0.13229498267173767, 0.2716946005821228, -0.2454974353313446, -0.2717154622077942, -0.28312841057777405, 1.2361350059509277, 0.31327974796295166, 0.07381736487150192, -0.1417471468448639, 0.8623456954956055, 0.41302689909935, 0.756966769695282, -0.8120432496070862, 0.556211531162262, -0.11887943744659424, -0.32663288712501526, 0.09307610988616943, -0.15770207345485687, -0.6143697500228882, 0.06157973036170006, -0.25705087184906006, -0.4697759449481964, 0.4057602882385254, -0.018688328564167023, -0.2677309215068817, 0.037080492824316025, -0.4826463460922241, 0.740895688533783, -0.17004193365573883, -0.3888191282749176, -0.14461666345596313, -0.44830894470214844, 0.1994340568780899, 0.18857820332050323, 0.39162006974220276, -0.27784162759780884, -0.19435444474220276, 0.7676272988319397, -0.11487577855587006, 0.8968072533607483, -0.3809107542037964, 0.03680608794093132, 0.3743874728679657, -0.14985239505767822, 0.7100759744644165, 0.15854468941688538, -0.2488381415605545, 0.2266320437192917, -0.4317465126514435, -0.42421755194664, -0.7257883548736572, 0.8003801703453064, -0.637866199016571, -0.3284762501716614, -0.48751577734947205, -0.47757279872894287, -0.02134387195110321, -0.25555217266082764, 0.14037491381168365, 0.43431031703948975, -0.12188855558633804, 0.15997619926929474, 0.6552473902702332, -0.032731544226408005, 0.2853778898715973, 0.38616204261779785, 0.07239662855863571, -1.033074140548706, 0.980546772480011, -0.0592569075524807, 0.003312707645818591, 0.11915669590234756, 0.02422158047556877, -0.3990445137023926, -0.4712376594543457, -0.29617592692375183, 0.44628673791885376, -0.5585969090461731, -0.47686904668807983, -0.9149550795555115, 0.2241932600736618, -0.6653958559036255, -0.31920647621154785, -0.5857391357421875, -0.4578898251056671, -0.4122608006000519, -0.4418937563896179, 0.6111646294593811, 0.6749898195266724, -0.1370576024055481, 0.44217121601104736, -0.4305523931980133, 0.1736103743314743, 0.07084248960018158, 0.08050436526536942, -0.4641907811164856, -0.4510360062122345, -0.1382659673690796, -0.11848174035549164, -0.2740243077278137, -1.1395999193191528, 0.8616978526115417, 0.05073412507772446, 0.19409340620040894, 0.4430701434612274, 0.16487611830234528, 0.17304429411888123, -0.20384250581264496, 0.7862685322761536, 0.13859403133392334, -1.077260971069336, 0.7463303804397583, -0.6290397644042969, 0.10383423417806625, 0.6904995441436768, 0.41775187849998474, -0.4599490761756897, -0.8627320528030396, -0.8145872950553894, -0.9537948369979858, 0.5411224365234375, 0.3784884810447693, 0.11743680387735367, 0.005583773832768202, 0.2864534854888916, 0.14329630136489868, 0.3506462574005127, -0.9559701085090637, -0.4029403626918793, -0.23036038875579834, -0.6059648394584656, -0.23932263255119324, -0.3740842640399933, -0.3100728690624237, -0.6289231777191162, 0.7238788604736328, -0.26340922713279724, 0.5019129514694214, 0.24575863778591156, 0.1499425768852234, -0.28199729323387146, 0.4049830138683319, 0.8335989117622375, 0.2274576872587204, -0.33435559272766113, 0.37302812933921814, 0.14934764802455902, -0.2163059264421463, 0.061882104724645615, 0.155056431889534, -0.21126675605773926, 0.2024119794368744, 0.3694418668746948, 1.065643072128296, 0.13829825818538666, -0.6125947833061218, 0.7318039536476135, -0.1317051202058792, -0.236969992518425, -0.6411557793617249, -0.13443173468112946, 0.0003683187533169985, 0.37329748272895813, 0.15012608468532562, 0.1256101280450821, 0.31728002429008484, -0.5217418074607849, 0.15503628551959991, 0.6577987670898438, -0.7641436457633972, -0.9284027218818665, 0.45942142605781555, 0.1980576366186142, -0.28006601333618164, 0.016954295337200165, -0.5525079965591431, -1.220996618270874, 0.7911056280136108, 0.19074515998363495, 0.9735232591629028, -0.31581395864486694, 0.6634925007820129, 0.378939688205719, 0.13921067118644714, 0.10516740381717682, 0.8285701274871826, -0.09436596184968948, -0.681315004825592, -0.17759686708450317, -0.5216257572174072, -0.5075297951698303, -0.07948705554008484, -0.590747594833374, 0.49717721343040466, -0.38709792494773865, -0.19548462331295013, -0.0881861075758934, 0.1318495124578476, -0.60076504945755, 0.15282346308231354, 0.33267098665237427, 0.32490769028663635, -1.3997395038604736, 0.5194913744926453, 0.8060160279273987, -0.24592731893062592, -0.15746566653251648, -0.5622750520706177, 0.03865468129515648, -0.47611498832702637, 0.7518070340156555, 0.3004639744758606, -0.16699399054050446, -0.34618422389030457, -0.7272282242774963, -0.6809021830558777, 0.9079532623291016, 0.2078172266483307, -0.21874037384986877, 0.5426039099693298, 0.2620113790035248, 1.0531038045883179, -0.843116044998169, 0.36264586448669434, 0.5757569670677185, 0.7284382581710815, -0.0775885283946991, -0.21751481294631958, -0.10915020108222961, -0.5889690518379211, -0.4163530170917511, 0.348626971244812, -0.6275044083595276, 0.9335103631019592, 0.363319993019104, -0.13801206648349762, -0.237486332654953, 0.7149588465690613, -0.035191114991903305, 0.8104296922683716, 0.5837603211402893, 0.8596149682998657, 0.6100727915763855, -0.07381515204906464, 0.8234206438064575, -0.5947738885879517, 0.22349300980567932, 1.118041753768921, -0.4252818822860718, 0.7561146020889282, 0.66801518201828, -0.08657000213861465, 0.8461222052574158, 0.3626728355884552, 0.09183309972286224, 0.24539288878440857, -0.02450631372630596, -0.7713606357574463, -0.3452729284763336, -0.5445258021354675, -0.09054411947727203, 0.337530255317688, 0.33290717005729675, -0.34961003065109253, -0.09069449454545975, 0.2839949429035187, 0.05396406725049019, 0.1531076282262802, -0.21289296448230743, 0.6440149545669556, 0.07431663572788239, -0.7406367659568787, 0.37652021646499634, -0.16316482424736023, 0.6423807144165039, 0.18779630959033966, 0.09042221307754517, -0.4196697771549225, -0.19139142334461212, -0.3170321583747864, -0.5425166487693787, 0.4316447973251343, 0.1911754459142685, -0.12314946204423904, -0.4418652355670929, 0.8150441646575928, -0.4267585873603821, -0.8024110794067383, 0.8056821227073669, 0.30986490845680237, -0.01765906997025013, -0.3355599045753479, -0.4331420958042145, 0.23956960439682007, -0.09486736357212067, -0.12124911695718765, 0.14813421666622162, 0.46821534633636475, 0.13809716701507568, 0.4047490358352661, 0.36362341046333313, 0.4187542796134949, 0.09647643566131592, 0.3324595093727112, 1.1734116077423096, -0.5527995228767395, -0.1998715102672577, -0.6723887324333191, 0.624137818813324, -0.3723853528499603, -0.13519461452960968, 0.6339167952537537, 0.3789089620113373, 0.4513130486011505, -0.05798115208745003, 0.5796838402748108, 0.14570249617099762, 0.34058821201324463, -0.08937060832977295, 0.29267725348472595, -0.5748090147972107, 0.10374573618173599, -0.3388819992542267, -0.9124888181686401, -0.37985292077064514, 0.3253866732120514, -0.7337213754653931, -0.5022525787353516, 0.7303824424743652, 0.8429971933364868, 0.014400108717381954, 0.3173401653766632, 0.08181942999362946, 0.016198663040995598, 0.16100159287452698, 0.5424211025238037, 0.7771435379981995, -0.6025123596191406, 0.02055184170603752, -0.6143723130226135, -0.32341331243515015, -0.3486473560333252, -0.752903401851654, -0.821424126625061, -0.5966833233833313, -0.6785104870796204, -0.3050503730773926, -0.25692176818847656, 1.083351731300354, 0.29735422134399414, -1.1508536338806152, -0.04753383621573448, -0.34539487957954407, 0.4227502942085266, 0.148864284157753, -0.26600736379623413, 0.02041035331785679, -0.27409103512763977, -0.9892758727073669, 0.4329838752746582, 0.6860501766204834, -0.00878384429961443, -0.29004979133605957, 0.01843859814107418, -0.16979536414146423, 0.24500270187854767, 0.5283518433570862, 0.11379018425941467, -0.3375645577907562, -0.4269375503063202, 0.08410260826349258, 0.12926797568798065, 0.41411978006362915, 0.8840073347091675, -0.4977927803993225, 0.3502109944820404, 0.7479872703552246, 0.4514724314212799, 0.1873706877231598, 0.17893148958683014, 0.4971303641796112, -0.5025978088378906, 0.286087304353714, 0.6383215188980103, 0.5058174133300781, 0.541199803352356, -0.5216938853263855, 0.4216795563697815, 0.49770388007164, -0.576552152633667, -0.8675731420516968, 0.25141796469688416, -1.2968006134033203, 0.1752389669418335, 1.1254138946533203, -0.12565648555755615, -0.680012583732605, -0.23582422733306885, -0.2112555056810379, 0.07099590450525284, -0.6774036884307861, 0.7740322947502136, 0.6922231316566467, -0.4223122000694275, -0.25604626536369324, -0.4345698654651642, 0.4621586501598358, 0.7968611717224121, -0.9879798889160156, -0.05108118802309036, 0.5627233386039734, 0.039584457874298096, 0.2699246406555176, 0.6394205689430237, -0.10951240360736847, 0.2220749855041504, -0.37881290912628174, 0.3303416073322296, 0.3313148617744446, -0.6380771994590759, -0.689970850944519, 0.11332538723945618, -0.17568254470825195, 0.16349534690380096 ]
http://arxiv.org/abs/2404.07775v1
http://arxiv.org/pdf/2404.07775v1
Discourse-Aware In-Context Learning for Temporal Expression Normalization
2024-04-11T14:13:44
2024-04-11T14:13:44
Akash Kumar Gautam, Lukas Lange, Jannik Strötgen
cs.CL
cs.CL, cs.AI, cs.LG
Temporal expression (TE) normalization is a well-studied problem. However, the predominately used rule-based systems are highly restricted to specific settings, and upcoming machine learning approaches suffer from a lack of labeled data. In this work, we explore the feasibility of proprietary and open-source large language models (LLMs) for TE normalization using in-context learning to inject task, document, and example information into the model. We explore various sample selection strategies to retrieve the most relevant set of examples. By using a window-based prompt design approach, we can perform TE normalization across sentences, while leveraging the LLM knowledge without training the model. Our experiments show competitive results to models designed for this task. In particular, our method achieves large performance improvements for non-standard settings by dynamically including relevant examples during inference.
[ 0.23182931542396545, -0.831325352191925, 0.7613082528114319, 0.26972654461860657, -0.48950761556625366, -0.10630900412797928, -0.36643099784851074, -0.319903165102005, -0.12845881283283234, 0.3248611092567444, -0.36053234338760376, -0.6999266147613525, -0.4091945290565491, 0.20942622423171997, -0.17314141988754272, 0.7283807396888733, -0.0456886887550354, 0.08316852152347565, -0.04292777180671692, -0.2601500451564789, -0.46392276883125305, -0.29297778010368347, -0.6669048070907593, -0.2466854602098465, 0.24743780493736267, 0.4436430037021637, 0.14234447479248047, 0.5856220722198486, -0.14420141279697418, 0.26532256603240967, -0.3216031789779663, 0.22251012921333313, -0.4921666979789734, 0.3107704222202301, -0.08059174567461014, -0.32852187752723694, -0.23262973129749298, 0.09432481229305267, 0.9958863854408264, 0.9163248538970947, -0.018784411251544952, 0.2550458312034607, 0.11034277826547623, 0.05343740060925484, -0.5963534712791443, 0.5194565057754517, -0.6917304992675781, 0.29762399196624756, -0.09444563835859299, -0.17842963337898254, -0.65949547290802, -0.6955434083938599, 0.1460609883069992, -0.7196269035339355, -0.13294856250286102, 0.09570052474737167, 0.8955549001693726, 0.12091880291700363, -0.793897271156311, -0.004516554996371269, -0.7106562852859497, 0.8926565647125244, -0.9537764191627502, 0.20308467745780945, 0.010558976791799068, 0.4213581085205078, -0.029767554253339767, -0.8493254780769348, -0.3679341971874237, -0.20425525307655334, -0.29136013984680176, 0.07744959741830826, -0.2644405961036682, 0.06195429340004921, 0.5743706226348877, 0.16610461473464966, -0.37603628635406494, 0.3458273112773895, -0.08521588146686554, 0.17054231464862823, 0.024070126935839653, 0.23542751371860504, 0.1456536203622818, -0.19665218889713287, -0.38234785199165344, 0.32136163115501404, -0.6964319944381714, 0.25082048773765564, -0.19638583064079285, 0.48534128069877625, -0.08085641264915466, 0.5123569965362549, -0.21478328108787537, 0.8516678214073181, 0.09238690882921219, -0.20512747764587402, 0.16917851567268372, 0.02474469132721424, -0.6787476539611816, -0.21623629331588745, 0.4779450595378876, 0.3092567026615143, 0.09210871160030365, -0.44029268622398376, -0.2991505265235901, -0.10477019846439362, -0.18249568343162537, -1.0458614826202393, 0.4679003357887268, -0.08383084088563919, -0.38036221265792847, -0.05233752354979515, -0.08670145273208618, -0.7046553492546082, -0.2273506373167038, -0.5872789025306702, 0.36839383840560913, -0.37689176201820374, 0.05884832888841629, 0.018281986936926842, -0.08867410570383072, 0.3069216012954712, 0.49655988812446594, -0.3915507197380066, 0.31966787576675415, 0.4126332700252533, 0.6968916058540344, -0.07934514433145523, 0.10577353835105896, -1.019687294960022, 0.5086929202079773, -0.3952879011631012, 0.4281923472881317, -0.7260175943374634, -0.43686893582344055, 0.11199324578046799, 0.13735508918762207, -0.10003357380628586, -0.5624029040336609, 0.44855982065200806, -0.7107919454574585, 0.6110354661941528, -0.002335415920242667, -0.8261055946350098, -0.0966096743941307, 0.1134393960237503, -0.3641616106033325, 0.9571123719215393, 0.23874478042125702, -0.6314842104911804, 0.3639872670173645, -0.8942760825157166, -0.5111828446388245, 0.18304885923862457, -0.28604191541671753, -0.36273592710494995, 0.259102463722229, 0.3178921937942505, 0.6052006483078003, -0.21356737613677979, 0.6644312143325806, -0.126679465174675, -0.5028654932975769, 0.06351232528686523, -0.29286280274391174, 0.9052901864051819, 0.36171725392341614, -0.49097156524658203, 0.24444003403186798, -0.6626785397529602, -0.09811826795339584, -0.001260761870071292, -0.3636063039302826, -0.3510861396789551, -0.2822423577308655, 0.05062335357069969, 0.3134618103504181, 0.09418687224388123, -0.7052816152572632, 0.2258877456188202, -0.48361682891845703, 0.559576690196991, 0.8071282505989075, 0.16722705960273743, 0.5399945378303528, -0.24435749650001526, 0.5619620084762573, 0.1071082055568695, 0.08188009262084961, -0.34237217903137207, -0.29117628931999207, -0.5141394138336182, -0.45941871404647827, 0.305518239736557, 0.6187224388122559, -0.7656377553939819, 0.4559905230998993, -0.432770699262619, -0.2604010999202728, -0.23645323514938354, -0.20150406658649445, 0.38133955001831055, 1.2495036125183105, 0.4110304117202759, 0.11595308035612106, -0.3355654180049896, -0.9657461643218994, -0.34580957889556885, 0.20746038854122162, -0.47466081380844116, 0.5296241044998169, 0.06404624134302139, -0.18940940499305725, 1.1505404710769653, -0.42503267526626587, -0.022486457601189613, -0.11491426825523376, 0.3769950270652771, 0.1940881311893463, 0.12627843022346497, 0.4923505187034607, -0.5160903334617615, -0.39337271451950073, -0.17917639017105103, -0.827659010887146, -0.5146970748901367, -0.20469257235527039, 0.3063637912273407, 0.30088621377944946, 0.8663692474365234, -0.17058998346328735, 0.4850102663040161, 0.22855854034423828, -0.34424710273742676, 0.04395408555865288, -0.14793549478054047, 0.04319251328706741, -1.3813984394073486, 0.07666759938001633, 0.3181557059288025, -0.5859968066215515, -0.5784236192703247, -0.11578791588544846, 0.24660390615463257, -0.44034069776535034, -0.7645593285560608, 0.7828315496444702, -0.45189711451530457, -0.005859917029738426, -0.048913683742284775, 0.17674244940280914, 0.05241989344358444, 0.558057963848114, 0.04493173211812973, 0.6789344549179077, 0.3479095995426178, -0.6107465028762817, -0.1711525171995163, -0.09734391421079636, -0.44988712668418884, 0.39181581139564514, -0.6941481232643127, 0.11160426586866379, -0.341447114944458, 0.4436550438404083, -0.753139078617096, -0.1803676187992096, 0.08405014127492905, 0.013389128260314465, 0.36654382944107056, -0.21276430785655975, -0.6880024075508118, 0.2760547697544098, -0.10400507599115372, 0.37761035561561584, 0.6491854786872864, -0.6440510749816895, 0.8297968506813049, 0.3681090176105499, -0.09034734964370728, -0.4616963863372803, -0.5709197521209717, 0.16789014637470245, -0.5452994108200073, -0.4824480712413788, 0.688996434211731, 0.15164057910442352, -0.397029846906662, -0.21560326218605042, -0.014796338975429535, 0.04112542048096657, 0.1995718628168106, 0.17822322249412537, 0.24506957828998566, -0.11063523590564728, 0.5015525817871094, 0.460114449262619, 0.16621313989162445, -0.2783382833003998, -0.2942138612270355, 0.2589203715324402, -0.15769393742084503, -0.10000793635845184, -0.6802802085876465, 0.6285033822059631, 0.4953871965408325, -0.16576455533504486, 0.5685006976127625, 0.4054897129535675, -0.716031551361084, -0.34803128242492676, -0.42687711119651794, -0.24681095778942108, -0.46807971596717834, 0.028218716382980347, -0.18402795493602753, -1.380853295326233, 0.21335183084011078, -0.4984792172908783, 0.19332024455070496, 0.15755514800548553, 0.360899418592453, -0.04780511185526848, 0.7811089754104614, 0.6635627746582031, 0.10879391431808472, 0.8427035808563232, -0.009395252913236618, 0.17853064835071564, -0.6937090754508972, -0.020310990512371063, -0.36423590779304504, -0.3899969458580017, -0.48410555720329285, -0.35257723927497864, 0.6758447885513306, -0.12337783724069595, -0.5470758676528931, 0.060425691306591034, -0.29257649183273315, 0.5334444642066956, 0.38116389513015747, 0.2102910578250885, 0.37089237570762634, -0.18150991201400757, -0.24186846613883972, -0.17759041488170624, -0.5981598496437073, -0.6379419565200806, 0.7814355492591858, 0.24481722712516785, 0.5622045993804932, -0.006882732734084129, 0.4922693967819214, 0.16156113147735596, 0.45330193638801575, -0.642540693283081, 0.674044668674469, -0.2708483934402466, -0.1878417283296585, -0.3635852038860321, -0.53719162940979, -1.027684211730957, -0.09262756258249283, -0.10172038525342941, -0.9121142625808716, 0.1950061023235321, -0.10169894993305206, -0.5137978792190552, 0.1995222568511963, -0.8699760437011719, 0.7926549911499023, 0.11317741870880127, -0.24019253253936768, 0.0381740964949131, -0.8166112899780273, 0.10360676050186157, 0.04943861812353134, 0.2663821876049042, -0.11699945479631424, -0.36169469356536865, 0.4854758381843567, -0.12279874831438065, 1.2904677391052246, -0.33586353063583374, 0.1313529908657074, 0.1718970686197281, 0.03142706677317619, 0.499634325504303, 0.22864605486392975, -0.09068610519170761, -0.2092818021774292, -0.32561540603637695, -0.39194145798683167, -0.6824910640716553, 0.6402642726898193, -0.5285373330116272, -0.6158592700958252, -0.2604793906211853, -0.556065022945404, -0.39016833901405334, 0.13576683402061462, 0.26292726397514343, 0.4746350049972534, -0.3608936667442322, 0.3376566171646118, 0.8828129768371582, -0.248869851231575, 0.7396777272224426, 0.6904593110084534, -0.1659732162952423, -0.03762997314333916, 0.48291125893592834, 0.1765519678592682, 0.03482179343700409, 0.7315488457679749, 0.42929089069366455, -0.19355382025241852, -0.39274442195892334, -0.2860320806503296, 0.15567518770694733, -0.6701553463935852, -0.2340690940618515, -0.6809335947036743, 0.0345468632876873, -0.563525378704071, -0.11864093691110611, 0.03140903264284134, -0.6327430009841919, -0.6532855033874512, -0.10565918684005737, 0.2671622633934021, 0.4330722987651825, 0.4637487530708313, 0.2626650333404541, -0.6811805963516235, 0.24750705063343048, 0.44898006319999695, 0.23559162020683289, -0.2500409781932831, -0.6731081008911133, -0.08974238485097885, -0.28766965866088867, -0.31586071848869324, -0.9365265965461731, 0.332381010055542, 0.28254327178001404, 0.38221243023872375, 0.424780011177063, 0.08614318817853928, 0.33028560876846313, -0.6161842346191406, 0.9298563003540039, -0.20756398141384125, -1.1260349750518799, 0.7225713133811951, -0.4861348867416382, 0.4779796600341797, 0.21051660180091858, 0.3757295608520508, -0.7734375, -0.3373734652996063, -0.5907182097434998, -0.7334116697311401, 0.43897393345832825, -0.17989441752433777, 0.11513666063547134, -0.14061877131462097, 0.5320172905921936, 0.1885884702205658, 0.1990516632795334, -0.7168794274330139, 0.1883261799812317, 0.020517412573099136, -0.20446477830410004, 0.08247387409210205, -0.013563486747443676, -0.20059344172477722, -0.271424800157547, 0.4066713750362396, -0.3787529766559601, 0.1597047746181488, 0.06945259869098663, -0.27044621109962463, 0.08724915236234665, 0.6456221342086792, 0.4967452585697174, 0.6639218330383301, -0.020393287762999535, -0.11444666981697083, 0.42927318811416626, 0.21341794729232788, 0.03068518079817295, 0.19912491738796234, -0.4337141811847687, 0.11351200193166733, 0.035062503069639206, 0.700446605682373, 0.48512017726898193, -0.7017252445220947, 0.556663453578949, -0.18283231556415558, 0.09883508086204529, -0.3189052641391754, -0.16602317988872528, 0.09987438470125198, 0.4164690375328064, 0.19834280014038086, -0.23900671303272247, 0.18969382345676422, -0.49577826261520386, 0.017741478979587555, 0.3470993936061859, -0.32491084933280945, -0.17218735814094543, 0.6262232065200806, -0.005855455528944731, -0.2709326446056366, 0.6034303307533264, -0.27614203095436096, -0.06278691440820694, 0.4576568305492401, 0.6242037415504456, 0.9489644765853882, -0.18806856870651245, 0.12101897597312927, 0.14674976468086243, 0.0006313291960395873, 0.061393462121486664, 0.3279597759246826, 0.028705259785056114, -0.41948455572128296, -0.546355128288269, -0.33801788091659546, -0.4871777892112732, 0.16724659502506256, -0.49825364351272583, 0.5613499283790588, -0.5561031699180603, -0.2599308490753174, -0.23821617662906647, -0.2807861268520355, -0.6686666011810303, 0.18618930876255035, 0.023260150104761124, 0.9359415769577026, -0.9357291460037231, 1.0349316596984863, 0.5936371088027954, -0.16630010306835175, -0.6735543608665466, 0.21678367257118225, -0.09186658263206482, -0.40245321393013, 0.6086480021476746, 0.2268071323633194, -0.07421187311410904, -0.2241220772266388, -0.5559848546981812, -0.5113674998283386, 1.3280266523361206, 0.8511418104171753, -0.4299715757369995, -0.3816624581813812, -0.20782676339149475, 0.6536944508552551, -0.7857531905174255, 0.1486281007528305, 0.37416356801986694, 0.36909961700439453, -0.10264387726783752, -0.7135469913482666, 0.1835455596446991, -0.19472062587738037, 0.3827154338359833, 0.13386686146259308, -0.5866602659225464, 0.8391991257667542, 0.1170230507850647, -0.542953372001648, -0.1264103651046753, 0.8184697031974792, -0.0024964031763374805, 0.44117817282676697, 0.5414416193962097, 0.48787814378738403, 0.8104511499404907, -0.009835354052484035, 0.8921135067939758, -0.1818663626909256, -0.08443739265203476, 1.457711100578308, -0.299063503742218, 0.6438894867897034, 0.49203941226005554, 0.35089772939682007, 0.4791848063468933, 0.6614229083061218, 0.25932154059410095, 0.29953625798225403, 0.29495710134506226, -0.5782322883605957, -0.10783734172582626, -0.5073235630989075, -0.06589193642139435, 0.3259859085083008, 0.473585844039917, -0.49639585614204407, -0.4444163143634796, 0.16373972594738007, 0.3287975788116455, 0.3271538317203522, -0.27047109603881836, 0.9000355005264282, -0.031114919111132622, -0.5576896667480469, 0.42069241404533386, 0.14189928770065308, 0.6869102120399475, -0.47300341725349426, -0.09690806269645691, -0.17447882890701294, -0.1583830714225769, 0.02186787873506546, -0.4248179793357849, 0.41297468543052673, 0.15010659396648407, -0.04551112279295921, -0.5010985732078552, 0.5505537390708923, -0.3906306028366089, -0.3525380492210388, 0.18818481266498566, 0.604993999004364, -0.09179174154996872, 0.08841552585363388, -0.2707400321960449, -0.3119312524795532, -0.23924221098423004, -0.3085399270057678, 0.4515402913093567, 0.7888966798782349, -0.4651587903499603, 0.44968777894973755, 0.1043180599808693, -0.13367190957069397, -0.0577995590865612, 0.13306912779808044, 1.021651268005371, -0.4397415816783905, -0.5428504943847656, -0.6809931993484497, 0.5035883784294128, -0.2915944457054138, -0.3793051540851593, 0.5174118280410767, 0.5477127432823181, 0.7056599259376526, -0.022132592275738716, 0.5904058218002319, 0.39183202385902405, 0.7674766182899475, -0.5907626748085022, 0.42840805649757385, -0.5788618922233582, 0.380121111869812, -0.09455468505620956, -0.7584336996078491, -0.5333729386329651, 0.16229142248630524, -0.41622981429100037, -0.0705975890159607, 0.7245760560035706, 0.698381781578064, -0.13380588591098785, 0.10757730901241302, 0.39067643880844116, 0.1924431324005127, 0.4268746078014374, 0.6391480565071106, 0.49622398614883423, 0.05588158220052719, 0.4457639753818512, -0.1157594546675682, -0.6959846019744873, -0.1298000067472458, -1.3456770181655884, -0.9431356191635132, -0.6618841886520386, -0.2232949137687683, -0.07097838819026947, 0.08751767873764038, 1.2674070596694946, 0.6130329370498657, -0.5330207943916321, -0.2556730806827545, 0.2737376093864441, -0.010111148469150066, -0.16166473925113678, -0.20623667538166046, 0.2964544892311096, -0.5339012145996094, -0.8608062863349915, 0.6499428749084473, 0.2314278781414032, 0.137562558054924, 0.260811984539032, 0.36469051241874695, -0.13169032335281372, 0.20372094213962555, 0.7637459635734558, 0.20536567270755768, -0.5784038305282593, -0.46159112453460693, 0.18050551414489746, -0.11467483639717102, 0.21445055305957794, 1.0716396570205688, -0.9691916704177856, 0.35571524500846863, 0.4617827832698822, 0.7897316813468933, 0.6167416572570801, -0.1744711548089981, 0.610914945602417, -1.1157511472702026, 0.2520082890987396, 0.6906163096427917, 0.6840605139732361, 0.31893816590309143, -0.43934333324432373, 0.3361934423446655, 0.16204945743083954, -0.5257296562194824, -0.6014145016670227, 0.4721720814704895, -0.9305245280265808, -0.5224153995513916, 1.1386516094207764, -0.3547447621822357, -0.16543640196323395, 0.0246288999915123, -0.10334255546331406, 0.5135922431945801, -0.6560292840003967, 0.9272038340568542, 0.4027765393257141, -0.20737873017787933, -0.10066483169794083, -0.3570195436477661, 0.4371359050273895, 0.2155798226594925, -0.931429922580719, 0.1666550487279892, 0.6184355020523071, 0.26399582624435425, -0.12211019545793533, 0.4988950490951538, -0.2751673758029938, 0.046225909143686295, -0.6237132549285889, -0.2881150543689728, -0.13336747884750366, -0.21239057183265686, -0.5737295150756836, 0.309061735868454, -0.11478424072265625, 0.06663955003023148 ]
http://arxiv.org/abs/2404.07768v3
http://arxiv.org/pdf/2404.07768v3
Using Letter Positional Probabilities to Assess Word Complexity
2024-04-11T14:06:39
2024-04-30T07:03:19
Michael Dalvean
cs.CL
cs.CL, I.2.7; J.4
Word complexity is defined in a number of different ways. Psycholinguistic, morphological and lexical proxies are often used. Human ratings are also used. The problem here is that these proxies do not measure complexity directly, and human ratings are susceptible to subjective bias. In this study we contend that some form of 'latent complexity' can be approximated by using samples of simple and complex words. We use a sample of 'simple' words from primary school picture books and a sample of 'complex' words from high school and academic settings. In order to analyse the differences between these classes, we look at the letter positional probabilities (LPPs). We find strong statistical associations between several LPPs and complexity. For example, simple words are significantly (p<.001) more likely to start with w, b, s, h, g, k, j, t, y or f, while complex words are significantly (p<.001) more likely to start with i, a, e, r, v, u or d. We find similar strong associations for subsequent letter positions, with 84 letter-position variables in the first 6 positions being significant at the p<.001 level. We then use LPPs as variables in creating a classifier which can classify the two classes with an 83% accuracy. We test these findings using a second data set, with 66 LPPs significant (p<.001) in the first 6 positions common to both datasets. We use these 66 variables to create a classifier that is able to classify a third dataset with an accuracy of 70%. Finally, we create a fourth sample by combining the extreme high and low scoring words generated by three classifiers built on the first three separate datasets and use this sample to build a classifier which has an accuracy of 97%. We use this to score the four levels of English word groups from an ESL program.
[ -0.17508099973201752, -0.6908593773841858, 0.7650049924850464, 0.2925689220428467, -0.1018168106675148, 0.23157259821891785, -0.08431506901979446, -0.571225643157959, -0.08234871923923492, -0.12902678549289703, -0.2534599304199219, -0.5776244401931763, -0.8941003680229187, -0.06733115762472153, -0.04370380565524101, 0.54539954662323, 0.03144031763076782, 0.07016288489103317, -0.15862439572811127, -0.16682466864585876, -0.39849749207496643, -0.4877699315547943, -0.3945382833480835, -0.4569915533065796, 0.6175057888031006, 0.450300931930542, 0.963684618473053, 0.4470159411430359, 0.6429003477096558, 0.4027932286262512, -0.3017939627170563, -0.058840636163949966, -0.32486385107040405, -0.09423782676458359, -0.060986362397670746, -0.7153464555740356, -0.3458532989025116, 0.1925920993089676, 0.3153839111328125, 1.3343721628189087, -0.20493316650390625, -0.16986489295959473, 0.07823334634304047, 0.939457893371582, -0.6308728456497192, 0.2028445452451706, -0.42695119976997375, 0.3298669755458832, -0.3739793002605438, -0.2409578412771225, -0.224626362323761, -0.3401567041873932, 0.4603859484195709, -0.49475550651550293, 0.22469063103199005, 0.25704866647720337, 0.5062262415885925, -0.1746748387813568, -0.21424980461597443, -0.7808459997177124, -0.8478987812995911, 0.8137605786323547, -0.45214635133743286, 0.2727498710155487, 0.4743180572986603, -0.035842087119817734, -0.5235974192619324, -0.34788691997528076, -0.6999550461769104, -0.43193256855010986, 0.020748311653733253, 0.21573156118392944, -0.21437928080558777, 0.29368555545806885, 0.4168948531150818, 0.5883661508560181, -0.7687420845031738, 0.2127538025379181, -0.3817249834537506, -0.1805306077003479, 0.530234694480896, 0.06516625732183456, 0.41099628806114197, -0.12281889468431473, -0.07231201976537704, -0.2621521055698395, -0.4926806092262268, 0.7033330798149109, 0.9296101927757263, 0.4182688593864441, 0.3016341030597687, 0.9638680815696716, -0.07409364730119705, 0.616001546382904, -0.024574384093284607, -0.42337071895599365, 0.3496810793876648, -0.029245898127555847, -0.07338393479585648, 0.19963505864143372, 0.6380844116210938, 0.25521692633628845, 0.2798091471195221, -0.11231760680675507, -0.21141266822814941, 0.24555779993534088, -0.004465693607926369, -0.31612443923950195, -0.3456254303455353, 0.24490958452224731, -0.2508053481578827, -0.2128995805978775, 0.3646624684333801, -0.22710531949996948, -0.36910274624824524, -0.13844366371631622, 0.6389008164405823, -0.5607916116714478, 0.15817826986312866, 0.5333972573280334, -0.056907810270786285, 0.1464693546295166, 0.1392202526330948, -0.6392427682876587, 0.24754510819911957, 0.6523264050483704, 0.8168235421180725, -0.29068928956985474, -0.52248615026474, -0.16107262670993805, 0.01567692495882511, -0.36105817556381226, 0.8545660376548767, -0.6387032270431519, -0.4219340980052948, 0.02704526297748089, 0.08230983465909958, 0.15875664353370667, -0.558230996131897, 0.8716549873352051, -0.27434241771698, 0.48226746916770935, -0.1122283786535263, -0.8530887961387634, -0.10555870831012726, 0.07585025578737259, -0.6901810765266418, 0.9936487674713135, 0.030573925003409386, -0.9289148449897766, 0.4060819447040558, -0.0706208273768425, -0.6893352270126343, 0.11287623643875122, -0.1232808455824852, -0.29633456468582153, 0.22497323155403137, -0.1151779443025589, 0.519690752029419, 0.013803492300212383, -0.13824082911014557, -0.20212742686271667, -0.617935836315155, 0.35851702094078064, -0.3907812237739563, 0.3510857820510864, -0.1380135416984558, -0.3096693754196167, -0.27897366881370544, -0.8130834102630615, 0.1244906559586525, -0.025035783648490906, -0.7340219020843506, -0.6250573992729187, 0.13986623287200928, -0.11683332920074463, 0.09858957678079605, 0.2817254662513733, -0.48421403765678406, 0.4061233103275299, -0.6894443035125732, 0.2009396255016327, 0.44248607754707336, -0.07002144306898117, 0.6471953392028809, -0.51484215259552, 0.5834251046180725, 0.09477893263101578, -0.12263502925634384, 0.3776334226131439, -0.8215293288230896, -0.41111528873443604, 0.012725277803838253, 0.38722991943359375, 0.8688845634460449, -0.5781427621841431, 0.6971970200538635, -0.22082482278347015, -0.8040637373924255, -0.2583061158657074, 0.017170798033475876, 0.4765806794166565, 0.16968902945518494, 0.24383626878261566, -0.37948256731033325, -0.2255026400089264, -0.7574118971824646, -0.38673555850982666, -0.5170511603355408, -0.4608125388622284, 0.10110247880220413, 0.24006067216396332, 0.1264323592185974, 0.5853827595710754, -0.7617794871330261, -0.3317231237888336, -0.07903104275465012, 0.5385180115699768, 0.5388106107711792, 0.2915666699409485, 0.2114708125591278, -0.4556554853916168, -0.13498952984809875, -0.5400444865226746, -0.41911837458610535, -0.11532139778137207, 0.164603590965271, 0.07362712174654007, -0.05831567198038101, 0.40929028391838074, -0.38932156562805176, 0.4357212483882904, 0.4022238552570343, -0.44689851999282837, 0.5171132683753967, -0.6328902840614319, -0.0596652589738369, -0.6512548923492432, -0.22772133350372314, 0.07031232118606567, 0.1883460134267807, -0.654769778251648, -0.21386681497097015, -0.37259137630462646, 0.16311296820640564, -0.3582536280155182, 0.11027137190103531, -0.5596072673797607, -0.08608490228652954, -0.00845920480787754, 0.07456124573945999, -0.218698188662529, 0.4210559129714966, -0.0467233806848526, 0.48551005125045776, 0.30475282669067383, -0.4938598871231079, 0.1036141961812973, -0.3809933662414551, -0.8247767090797424, 0.4515049159526825, -0.6719602346420288, -0.12359919399023056, -0.30474165081977844, -0.12058930844068527, -1.5097808837890625, -0.11298530548810959, -0.007861031219363213, -0.15706494450569153, 0.20341745018959045, 0.3915965259075165, -0.3479732275009155, -0.4911685585975647, -0.31910964846611023, 0.2663796842098236, 0.28659260272979736, 0.09012850373983383, 0.3474898934364319, 0.6326196789741516, -0.2665388882160187, -0.6387860774993896, -0.6919810175895691, -0.10041728615760803, -0.07468052953481674, -0.5041786432266235, 0.4513036608695984, -0.38126322627067566, -0.34914490580558777, -0.0522836297750473, -0.3448858857154846, 0.014986653812229633, -0.09113334864377975, 0.5688987374305725, -0.1473187655210495, -0.08170000463724136, 0.24435080587863922, -0.07776521146297455, 0.1403106451034546, -0.1401383876800537, 0.017052214592695236, 0.5716699957847595, -0.47412553429603577, -0.34980762004852295, -0.18437814712524414, 0.2573256492614746, 0.7318013906478882, 0.26763325929641724, 0.5488483309745789, 0.3858100473880768, -0.5394643545150757, -0.016799112781882286, -0.2653573155403137, 0.11896432191133499, -0.4371897876262665, 0.40839025378227234, -0.6887249946594238, -0.6540642976760864, 0.5727840065956116, 0.29415956139564514, -0.1556842178106308, 0.3143925368785858, 0.4403124451637268, -0.3871646225452423, 0.9798958897590637, 0.4316946864128113, 0.13675719499588013, 0.4272353947162628, -0.2612689733505249, 0.3116745352745056, -0.38611721992492676, -0.3345886468887329, -0.25701257586479187, -0.6478580832481384, -0.8632515668869019, -0.40046900510787964, 0.20213627815246582, 0.3978902995586395, 0.06041505187749863, 0.2208389788866043, -0.3920811414718628, 0.6290794014930725, 0.6040140986442566, 0.29556506872177124, 0.24974298477172852, 0.18225523829460144, -0.1954537332057953, -0.23091140389442444, -0.6364350318908691, -0.633442759513855, 0.9021983742713928, 0.520458996295929, 0.727126955986023, 0.5511270761489868, 0.5527370572090149, 0.4289059638977051, 0.14124611020088196, -1.360687494277954, 0.6899787187576294, -0.6557758450508118, -0.19984441995620728, -0.7254461050033569, -0.11231084167957306, -1.2977330684661865, -0.07154713571071625, -0.48589983582496643, -0.4464360475540161, 0.34507542848587036, -0.2137557864189148, -0.41396620869636536, 0.1323181688785553, -0.6063291430473328, 0.23432482779026031, 0.01615097187459469, -0.42387768626213074, 0.09053424745798111, -0.5920272469520569, 0.2402620017528534, 0.06293879449367523, 0.476651668548584, -0.11302657425403595, -0.12774062156677246, 1.0674315690994263, -0.6784071922302246, 0.553489625453949, 0.024545026943087578, -0.3009200394153595, 0.33692723512649536, 0.1974291354417801, 0.33773085474967957, -0.3644215166568756, -0.17757286131381989, -0.030587704852223396, 0.049921076744794846, -0.3863183856010437, -0.5867738723754883, 0.4595666825771332, -0.9842361807823181, -0.5400131940841675, -0.7680761814117432, -0.5128276944160461, -0.20081564784049988, 0.13680504262447357, 0.4833262264728546, 0.5218786597251892, 0.010317888110876083, 0.42826390266418457, 0.5174136161804199, -0.11637236177921295, 0.3597548305988312, 0.4882621169090271, 0.2619997560977936, -0.277681827545166, 0.9195364117622375, 0.8658881187438965, 0.047490444034338, 0.5922963619232178, 0.7047566771507263, -0.39700597524642944, -0.7065789103507996, 0.20788688957691193, 0.03470884636044502, -0.7005442380905151, 0.1669294685125351, -0.4090932309627533, -0.23558415472507477, -0.30829939246177673, -0.3061547577381134, -0.007987011224031448, -0.41792482137680054, -0.021003035828471184, -0.08093411475419998, -0.13037559390068054, 0.8937896490097046, -0.012710141949355602, 0.42846208810806274, -0.36300355195999146, 0.22693182528018951, 0.6689586639404297, 0.17237474024295807, -0.12635615468025208, -0.640812873840332, 0.18740200996398926, -0.33022814989089966, -0.10536934435367584, -1.145694375038147, 0.25486141443252563, 0.4836614727973938, 0.688181459903717, 0.5698568820953369, 0.07740353792905807, 0.4834679067134857, -0.5163092017173767, 0.8948989510536194, 0.24755746126174927, -0.9357461929321289, 0.30761823058128357, -0.1856127381324768, 0.38130611181259155, 0.6375985145568848, 0.5642139315605164, -0.25405776500701904, -0.6515074968338013, -0.8421041369438171, -0.9986721873283386, 0.37119588255882263, 0.2679266929626465, -0.2549048960208893, 0.01754557341337204, 0.5473932027816772, -0.18533815443515778, 0.1509488970041275, -0.5998774766921997, -0.3141953647136688, 0.1780446618795395, -0.4838756024837494, -0.23273153603076935, -0.4383138120174408, 0.04822223633527756, -0.1092243641614914, 0.3239659368991852, 0.11455197632312775, 0.13155224919319153, 0.2657127380371094, -0.07869036495685577, -0.0800102949142456, 0.47894006967544556, 0.7790462374687195, 0.6642066240310669, -0.5125935673713684, 0.6499248147010803, 0.15462321043014526, -1.083679437637329, 0.511684000492096, -0.19743017852306366, 0.051717936992645264, -0.02310536429286003, 1.0224875211715698, 0.4390343725681305, 0.3684518039226532, -0.5369667410850525, 0.7471327781677246, -0.12083685398101807, -0.21905045211315155, -0.320379376411438, 0.07660189270973206, 0.07498438656330109, 0.14757318794727325, 0.2638438940048218, 0.03296054154634476, 0.34135106205940247, -0.9366064667701721, 0.17715279757976532, 0.057883504778146744, -0.38238388299942017, -0.2691380977630615, 0.15332837402820587, 0.0034411000087857246, -0.574039876461029, 0.3048572242259979, -0.5581421256065369, -0.5904454588890076, 0.6052865386009216, 0.4901108741760254, 0.6105796098709106, -0.30583810806274414, 0.14941644668579102, 0.4943386912345886, 0.4467065930366516, -0.5337766408920288, 0.6997313499450684, 0.2721157670021057, -0.8149834871292114, -0.1294402927160263, -0.8788092732429504, -0.608936071395874, 0.32710766792297363, -0.5093094110488892, 0.19280481338500977, -0.5610992908477783, -0.24381574988365173, 0.06306895613670349, 0.3758755922317505, -0.675633430480957, 0.2962385416030884, 0.286048024892807, 0.6639596819877625, -1.2026907205581665, 0.552067220211029, 1.0242315530776978, -0.1951410174369812, -0.9794416427612305, 0.21664376556873322, -0.17010271549224854, -0.5993213057518005, 0.8735317587852478, 0.30962878465652466, -0.5204648375511169, -0.16942359507083893, -0.35536885261535645, -0.5531452298164368, 0.9919630885124207, -0.10313256084918976, -0.9622201323509216, -0.12532451748847961, 0.31721460819244385, 0.8275465965270996, -0.18816985189914703, 0.2745911180973053, 0.39805781841278076, 0.3580624461174011, 0.3500647246837616, -0.5409653782844543, -0.09292431175708771, -0.11280521750450134, 0.10255619138479233, -0.1667601615190506, -0.10195200890302658, 0.942672610282898, -0.3602299392223358, -0.39540478587150574, -0.1316782683134079, 0.7230133414268494, 0.48285213112831116, 0.38472867012023926, 0.9845247864723206, 0.5511832237243652, 1.1625251770019531, -0.14505888521671295, 0.7243466377258301, -0.48286911845207214, 0.22537094354629517, 1.0833455324172974, 0.03577744588255882, 1.1811637878417969, 0.3979435861110687, -0.7316623330116272, 0.4966811537742615, 0.7072641849517822, 0.15965873003005981, 0.4286614656448364, 0.7783029675483704, -0.3536619544029236, -0.2791602611541748, 0.002826639683917165, -0.1563033163547516, 0.6419428586959839, 0.6110266447067261, -0.20408211648464203, 0.1547960788011551, -0.050730299204587936, -0.11673149466514587, 0.19232140481472015, -0.3926853835582733, 0.4698106646537781, 0.08641540259122849, -0.5917380452156067, 0.3112633228302002, 0.11490465700626373, 0.7413448691368103, -0.4887901246547699, 0.20669156312942505, -0.01676177978515625, 0.11208857595920563, -0.2677813768386841, -1.5483735799789429, 0.0952746644616127, -0.30580082535743713, -0.2917962968349457, 0.1442863941192627, 0.7504025101661682, -0.6346129775047302, -0.7333157062530518, 0.06405459344387054, 0.6124652624130249, 0.40826722979545593, 0.12766440212726593, -0.44254428148269653, -0.22791534662246704, -0.47617974877357483, -0.4971165060997009, -0.09065359830856323, 0.697708249092102, 0.12768767774105072, 0.5398949384689331, 0.46847638487815857, 0.5223225951194763, -0.002724071266129613, 0.1210164949297905, 0.3896603584289551, -0.5286065936088562, -0.5893885493278503, -0.7967053055763245, 0.015337411314249039, 0.16866791248321533, -0.4638931155204773, 0.5359535217285156, 0.32338353991508484, 0.6269018054008484, -0.07881796360015869, 0.6174644827842712, 0.019229605793952942, 0.30758586525917053, -0.5180582404136658, 0.39676332473754883, -0.5314591526985168, 0.3730413615703583, -0.5361637473106384, -0.9420523047447205, -0.5604305863380432, 0.8632508516311646, -0.6288430690765381, -0.18270538747310638, 0.6722210645675659, 0.7000638246536255, 0.13205651938915253, -0.10544008761644363, 0.518272340297699, 0.2173614203929901, 0.17211338877677917, 0.7856844067573547, 0.7016462087631226, -0.4548012316226959, 0.32236650586128235, -0.30829739570617676, -0.4766223430633545, -0.22768446803092957, -0.9010043144226074, -0.8414825201034546, -0.6831339001655579, -0.20796944200992584, -0.5445843935012817, -0.10909122973680496, 0.9293688535690308, 0.2507110834121704, -0.6933587789535522, -0.1693064421415329, -0.0745268315076828, 0.23412291705608368, -0.274427592754364, -0.21917062997817993, 0.6449966430664062, 0.09221634268760681, -0.7362473607063293, 0.12885098159313202, 0.1422680765390396, 0.32384756207466125, -0.36408233642578125, 0.17105364799499512, -0.18252970278263092, 0.19231362640857697, 0.9508883953094482, 0.15819379687309265, -0.7515199780464172, -0.741375744342804, 0.03665323927998543, -0.3219224512577057, -0.10273315012454987, 0.5666950941085815, -0.4276353120803833, 0.37771570682525635, 1.0535624027252197, 0.13387563824653625, -0.16440241038799286, 0.01993553154170513, 0.2698732614517212, -0.8304534554481506, 0.014301055110991001, 0.14345261454582214, 0.369590163230896, 0.2975986897945404, -0.22307175397872925, 0.42873379588127136, 0.5828213691711426, -0.498858779668808, -0.6855527758598328, 0.3643343150615692, -1.1245536804199219, -0.40834248065948486, 1.150815486907959, -0.1229577511548996, -0.2654111981391907, -0.3230912685394287, -0.17848564684391022, 0.15353423357009888, -0.21911169588565826, 0.7829889059066772, 1.094728708267212, -0.2818371057510376, 0.1470101773738861, -0.30432647466659546, 0.5714075565338135, 0.2759104371070862, -0.41917684674263, -0.2830803096294403, 0.065693199634552, 0.2731285095214844, 0.6526083946228027, 0.5147901177406311, 0.033858053386211395, -0.2610241174697876, -0.04268806427717209, 0.03142625465989113, 0.24303176999092102, -0.3868521451950073, -0.36181995272636414, 0.8202987313270569, 0.2171991765499115, 0.03344796970486641 ]
http://arxiv.org/abs/2404.07765v1
http://arxiv.org/pdf/2404.07765v1
AnnoCTR: A Dataset for Detecting and Linking Entities, Tactics, and Techniques in Cyber Threat Reports
2024-04-11T14:04:36
2024-04-11T14:04:36
Lukas Lange, Marc Müller, Ghazaleh Haratinezhad Torbati, Dragan Milchevski, Patrick Grau, Subhash Pujari, Annemarie Friedrich
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Monitoring the threat landscape to be aware of actual or potential attacks is of utmost importance to cybersecurity professionals. Information about cyber threats is typically distributed using natural language reports. Natural language processing can help with managing this large amount of unstructured information, yet to date, the topic has received little attention. With this paper, we present AnnoCTR, a new CC-BY-SA-licensed dataset of cyber threat reports. The reports have been annotated by a domain expert with named entities, temporal expressions, and cybersecurity-specific concepts including implicitly mentioned techniques and tactics. Entities and concepts are linked to Wikipedia and the MITRE ATT&CK knowledge base, the most widely-used taxonomy for classifying types of attacks. Prior datasets linking to MITRE ATT&CK either provide a single label per document or annotate sentences out-of-context; our dataset annotates entire documents in a much finer-grained way. In an experimental study, we model the annotations of our dataset using state-of-the-art neural models. In our few-shot scenario, we find that for identifying the MITRE ATT&CK concepts that are mentioned explicitly or implicitly in a text, concept descriptions from MITRE ATT&CK are an effective source for training data augmentation.
[ -0.38995760679244995, -1.0884697437286377, 0.13297492265701294, -0.2183210253715515, -0.26139307022094727, 0.36574122309684753, -0.21671906113624573, -1.0297362804412842, 0.3926251232624054, 0.4368297755718231, -0.4070371985435486, -0.553013265132904, -0.4536723792552948, 0.2430790215730667, -0.6537330746650696, 1.4234068393707275, 0.1604323834180832, -0.4036870300769806, -0.21075914800167084, 0.24112679064273834, -0.5353826284408569, -0.6539105176925659, -0.7447211742401123, 0.11463749408721924, 0.37782034277915955, 0.22840461134910583, 0.4286781847476959, 0.5303292274475098, 1.07246732711792, 0.2953849732875824, 0.08533155918121338, 0.08680862933397293, -0.21419329941272736, 0.010196884162724018, 0.07039010524749756, -0.25124722719192505, -0.4160962998867035, -0.07064870744943619, 0.15704315900802612, 0.2698710858821869, 0.139093279838562, 0.2438153475522995, -0.049303390085697174, -0.0530799925327301, -0.5899953246116638, -0.020541055127978325, -0.9283046722412109, -0.0527934767305851, -0.40583378076553345, -0.43006643652915955, -0.5377538204193115, -0.32136160135269165, 0.5076296925544739, -0.8706843256950378, 0.0904923602938652, 0.2926388680934906, 0.42176878452301025, 0.28225424885749817, -0.27552032470703125, -0.4347050189971924, -0.5182008743286133, 0.3925591707229614, -0.3670160174369812, 0.07250121235847473, 0.4868207573890686, 0.4339500367641449, 0.1386222392320633, -0.7388464212417603, -0.3897671103477478, -0.22196650505065918, -0.39488548040390015, -0.25446033477783203, -0.5550653338432312, 0.01572631113231182, 0.2000182718038559, -0.00879604835063219, -0.484986811876297, 0.10633031278848648, -0.6459658741950989, -0.5363752245903015, 0.7058392763137817, 0.1692025363445282, 0.2861415445804596, -0.14011959731578827, -0.8645282983779907, 0.08963600546121597, -0.469676673412323, -0.14932949841022491, 0.42901545763015747, 0.47650420665740967, -0.45529377460479736, 0.4403737783432007, -0.08975262939929962, 0.791166365146637, -0.002099569421261549, -0.20985683798789978, 0.1302730292081833, -0.4820926785469055, -0.0817752480506897, 0.674180269241333, 0.6826645135879517, 0.3532118499279022, 0.3113418221473694, -0.2848290205001831, -0.2789492607116699, 0.24422544240951538, 0.7785941958427429, -0.5616897344589233, -0.5227808952331543, -0.11350251734256744, -0.1473664939403534, -0.6271237134933472, 0.20369742810726166, -0.8279481530189514, -0.5619574785232544, -0.4995310306549072, 0.24531398713588715, -0.5548938512802124, -0.02956838347017765, -0.28808847069740295, -0.12725508213043213, -0.17872276902198792, 0.29822617769241333, -0.3926472067832947, 0.646744430065155, 0.6060196161270142, 0.6782178282737732, -0.27849283814430237, 0.038940176367759705, -0.4221741557121277, 0.004734241869300604, -0.19310934841632843, 1.0852750539779663, -0.699650764465332, -0.01652652770280838, 0.1562657356262207, -0.34691953659057617, 0.06440719962120056, -0.22245028614997864, 0.4389619529247284, -0.6575267314910889, 0.029200835153460503, 0.06036905571818352, -0.38426896929740906, -0.2895318865776062, 0.6266049742698669, -0.6672763228416443, 0.8440655469894409, 0.030340339988470078, -1.0456414222717285, 0.5185302495956421, -0.94566410779953, -0.5994784832000732, 0.31018757820129395, -0.11544472724199295, -0.15604650974273682, -0.18208453059196472, 0.06580569595098495, 0.22631770372390747, -0.48670482635498047, 0.01857561618089676, -0.018851134926080704, 0.0071374112740159035, 0.40736910700798035, -0.2527095377445221, 0.6052753329277039, 0.1102294921875, -0.2454463392496109, 0.10597328841686249, -0.680912435054779, -0.03458750993013382, -0.017763983458280563, 0.035974178463220596, -0.5943200588226318, -0.057922571897506714, 0.1261696070432663, 0.09806188941001892, 0.24247896671295166, -0.6466875672340393, 0.08431580662727356, -0.23305924236774445, 0.316165566444397, 0.544319748878479, 0.30583521723747253, 0.30838683247566223, -0.2889094948768616, 0.3972207009792328, 0.16638706624507904, 0.4165332615375519, -0.1993100941181183, -0.25985097885131836, -0.5893966555595398, -0.31674686074256897, 0.07253478467464447, 0.7437689304351807, -0.913748025894165, 0.17149151861667633, -0.2675485908985138, -0.4552392363548279, -0.492782860994339, -0.00667449738830328, 0.25068145990371704, 0.8078268766403198, 0.77939772605896, -0.008178324438631535, -0.7070084810256958, -0.9285584688186646, -0.09724412113428116, -0.2623876631259918, 0.10344402492046356, -0.008750113658607006, 0.6162823438644409, -0.07299402356147766, 1.0862236022949219, -0.626425564289093, -0.44831833243370056, -0.1827237606048584, 0.6210534572601318, -0.1940905600786209, 0.20788761973381042, 0.6059737205505371, -0.9689659476280212, -0.4629426896572113, 0.10945695638656616, -0.6748822331428528, -0.08442998677492142, -0.3281528651714325, 0.15559060871601105, 0.13764840364456177, 0.5562782883644104, -0.3259912431240082, 0.6432368159294128, -0.0922389104962349, -0.2201714962720871, 0.3534514307975769, 0.18207794427871704, 0.2458367645740509, -0.9963523745536804, 0.09390304982662201, 0.07345086336135864, -0.13144756853580475, -0.9962009191513062, -0.0287731122225523, -0.2514818608760834, 0.06173177435994148, -0.6807348132133484, 0.40799587965011597, -0.103195421397686, 0.09865335375070572, -0.22418466210365295, 0.35009029507637024, -0.19166187942028046, 0.2539035975933075, 0.12993718683719635, 0.5240408182144165, 0.5045700073242188, -0.7329674363136292, 0.5064231753349304, 0.42331692576408386, -0.145706444978714, 0.8522251844406128, -0.6027596592903137, 0.3002173900604248, 0.061477482318878174, 0.10590847581624985, -0.6310771703720093, -0.318266361951828, 0.47875070571899414, -0.6678127646446228, 0.31058189272880554, -0.013818103820085526, -0.5441181659698486, -0.17865778505802155, -0.433303564786911, 0.41641685366630554, -0.14998102188110352, -0.2996402382850647, 0.5116965174674988, 0.5219237208366394, -0.11305743455886841, -0.5546590685844421, -0.8866487741470337, 0.2652347981929779, -0.2973651885986328, -0.3879590630531311, 0.42047807574272156, -0.04305247589945793, -0.45515891909599304, 0.02520846202969551, 0.12709999084472656, -0.3558470904827118, 0.2444562464952469, 0.3851037621498108, 0.595595121383667, -0.04040269926190376, 0.05635788291692734, -0.47129714488983154, -0.1181303858757019, 0.2836346924304962, -0.2887111008167267, 0.3794180154800415, 0.11957823485136032, -0.151708722114563, -0.49057722091674805, 0.23116330802440643, 0.10796817392110825, -0.18532665073871613, 0.6716070771217346, 0.6869770288467407, -0.5636051297187805, 0.024061352014541626, -0.4436691999435425, -0.47915902733802795, -0.3882560729980469, 0.05217352136969566, 0.12638020515441895, -0.825644850730896, 0.3746720552444458, 0.2540113627910614, 0.22365891933441162, 0.5017703175544739, 0.09434805810451508, -0.02384367026388645, 0.3531467914581299, 0.6924824714660645, -0.3726477324962616, 0.4170774817466736, -0.12359309941530228, 0.4084019660949707, -0.6591883301734924, -0.4092000722885132, -0.46001699566841125, -0.30240243673324585, -0.6770942807197571, 0.0043139345943927765, 0.31610387563705444, -0.3703424334526062, -0.3253077268600464, 0.7957062721252441, -0.6763479709625244, 0.23034916818141937, 0.31430351734161377, 0.13852640986442566, 0.29188454151153564, 0.00792727805674076, 0.0446513332426548, 0.09700674563646317, -0.47986873984336853, -0.4662993252277374, 1.031143069267273, 0.23332521319389343, 0.5988637804985046, 0.005767147522419691, 0.5708434581756592, 0.7308694124221802, 0.3632923662662506, -0.6533214449882507, 0.5441306829452515, 0.11074241995811462, -0.811231255531311, -0.06549686938524246, -0.35793137550354004, -0.6847205758094788, -0.4151608645915985, -0.5573946833610535, -1.0332252979278564, -0.0659748986363411, 0.15286557376384735, -0.5440864562988281, 0.3061218857765198, -0.22168876230716705, 0.50986647605896, -0.225104421377182, -0.15928702056407928, -0.08419309556484222, -0.7562589645385742, 0.22500863671302795, -0.405251145362854, 0.20157532393932343, 0.12556979060173035, -0.07454898208379745, 0.685770571231842, -0.2690575122833252, 1.0923266410827637, 0.2105277180671692, 0.25592926144599915, 0.7560474276542664, -0.010067353956401348, 0.523858904838562, 0.114667609333992, 0.11898443847894669, 0.18588568270206451, -0.37091174721717834, 0.13490423560142517, -0.2246103435754776, 0.37599730491638184, -0.48195838928222656, -0.1757090836763382, -0.6134501695632935, -0.4066181480884552, 0.21889828145503998, 0.1913895606994629, 0.5160110592842102, 0.6286938190460205, -0.3302380442619324, 0.1302180141210556, 0.564565896987915, -0.09943118691444397, 0.4485601484775543, 0.3765471577644348, 0.2709744870662689, -0.5435317754745483, 0.6913114190101624, 0.12987272441387177, 0.3053933382034302, 0.8331429958343506, -0.17432524263858795, -0.13618940114974976, -0.5140624642372131, 0.06894098222255707, -0.3179822266101837, -0.6745498776435852, -0.897824227809906, -0.6605629920959473, -0.3490876257419586, -0.3379359543323517, -0.4502665400505066, -0.014167227782309055, -0.2958475649356842, -0.19466693699359894, -0.33882778882980347, 0.9958636164665222, 0.7548583149909973, 0.0673753023147583, 0.7736268639564514, -0.4618111550807953, 0.31638556718826294, 0.05558200925588608, -0.15920846164226532, -0.302155464887619, -0.305085688829422, -0.2015199065208435, 0.23156622052192688, -0.25637656450271606, -0.8052525520324707, 0.40835872292518616, 0.05273563042283058, 0.3797857463359833, 0.2562336027622223, 0.4167664647102356, 0.45516636967658997, -0.24022500216960907, 0.7659757137298584, 0.24479267001152039, -0.7162168622016907, 0.6787436604499817, -0.2371918112039566, 0.05270398408174515, 0.8073505163192749, 0.6477635502815247, -0.3259263038635254, -0.18132242560386658, -0.7574178576469421, -0.831477701663971, 0.6599153876304626, 0.231134831905365, -0.11597825586795807, -0.3227205276489258, 0.1066199541091919, -0.14172855019569397, 0.3866908550262451, -0.6334118843078613, -0.25889554619789124, -0.0005668310914188623, -0.14844918251037598, 0.3572780191898346, 0.024261467158794403, -0.23804017901420593, -0.027333877980709076, 0.5715527534484863, -0.22780492901802063, 0.5927339792251587, 0.09996646642684937, -0.41293632984161377, 0.002173225861042738, 0.11553629487752914, 0.5147038102149963, 0.3941991329193115, -0.0962892472743988, 0.3774702250957489, 0.555612325668335, -0.7098797559738159, -0.19212932884693146, 0.17880700528621674, -0.17030319571495056, 0.09819561243057251, 0.7611516118049622, 0.5859898924827576, 0.6052598357200623, -0.5122025012969971, 0.6113095879554749, 0.13554589450359344, 0.06590718775987625, -0.7090122699737549, -0.06321745365858078, -0.4500763714313507, 0.11149774491786957, 0.5292075276374817, 0.19918794929981232, 0.30185413360595703, -0.48073023557662964, 0.5615666508674622, 0.31819087266921997, -0.5685426592826843, -0.40110108256340027, 0.5464754104614258, 0.061909645795822144, -0.2476191520690918, 0.7173436880111694, -0.13364148139953613, -0.8313798904418945, 0.5817601680755615, 0.4057193696498871, 0.7687159180641174, -0.14242058992385864, 0.16590461134910583, 0.34203681349754333, 0.7039899230003357, 0.30254605412483215, 0.04190395027399063, -0.015014058910310268, -0.36949363350868225, -0.17303535342216492, -0.4425116181373596, -0.1198454350233078, 0.18606747686862946, -0.5550290942192078, 0.6579650044441223, -0.8653467297554016, -0.3452393412590027, 0.5314213037490845, -0.01580568589270115, -0.8040057420730591, 0.1643178015947342, 0.30128711462020874, 0.9954742789268494, -0.7390446662902832, 0.4386047124862671, 0.6338273882865906, -0.5065878629684448, -0.5002157092094421, -0.19763392210006714, 0.5156587958335876, -0.4598931074142456, 0.8087136149406433, 0.24422165751457214, 0.06686864048242569, -0.3418869972229004, -0.6038402915000916, -0.7017905712127686, 1.0203319787979126, 0.16428475081920624, -0.31200674176216125, 0.015044309198856354, 0.5096254348754883, 0.5269411206245422, -0.7715248465538025, 0.3806331157684326, 0.4689673185348511, 0.5974588990211487, -0.12711971998214722, -0.8788716793060303, -0.013630477711558342, -0.1490626037120819, -0.5491141676902771, 0.6101579666137695, -0.2526453733444214, 0.7067680358886719, -0.04359858110547066, -0.13304251432418823, -0.3955676853656769, 0.507298469543457, -0.28279250860214233, 0.5541834831237793, 0.3943437933921814, 0.3861345946788788, 0.4342934787273407, -0.12480568885803223, 0.9592397809028625, -0.17814742028713226, -0.05117706581950188, 1.3466830253601074, -0.010122026316821575, 0.8250496983528137, 0.18525764346122742, 0.24326194822788239, 0.48569512367248535, 0.5037853717803955, -0.25108397006988525, 0.5019897222518921, 0.0007285374449566007, -0.3148171305656433, -0.11785749346017838, -0.6256990432739258, -0.05125103518366814, 0.4771358370780945, 0.49038103222846985, -0.4423794746398926, -0.34312576055526733, 0.07136421650648117, 0.24480196833610535, 0.046773478388786316, -0.26127567887306213, 1.123633861541748, 0.017351113259792328, -0.2183915674686432, 0.14819976687431335, -0.19802184402942657, 0.6705659627914429, -0.6760359406471252, -0.024784596636891365, 0.34894120693206787, -0.14886513352394104, -0.46073299646377563, -0.6735289096832275, 0.49504703283309937, 0.24438618123531342, -0.02169601246714592, 0.13726913928985596, 0.9146704077720642, -0.34913453459739685, -0.37635183334350586, 0.23041562736034393, -0.044211119413375854, -0.0009253888274542987, -0.002003136556595564, -0.5306516885757446, 0.02344132959842682, -0.10230976343154907, 0.09707740694284439, 0.17469444870948792, 0.3261471390724182, -0.2499266266822815, 0.5348206162452698, 0.7100004553794861, -0.01124883908778429, -0.12014642357826233, -0.38379231095314026, 1.0717408657073975, -0.26034826040267944, -0.48120465874671936, -0.8667241334915161, 0.6116368770599365, -0.5853186249732971, -0.6594051122665405, 0.4772826135158539, 0.6000218391418457, 0.847271740436554, 0.2521584928035736, 0.7558863162994385, -0.2780799865722656, 0.40462496876716614, -0.301649272441864, 0.4497435390949249, -0.019610704854130745, 0.4420310854911804, -0.3442661762237549, -0.7727310061454773, -0.2274322509765625, 0.41101279854774475, -0.4394223988056183, -0.31488198041915894, 0.6512879729270935, 0.5867028832435608, -0.07227866351604462, 0.29820913076400757, -0.06445793807506561, 0.061651185154914856, 0.12903375923633575, 0.26168492436408997, 0.6320009827613831, -0.4435393810272217, 0.538581132888794, -0.5040319561958313, -0.0007865793304517865, -0.4113747477531433, -1.0269198417663574, -1.0564768314361572, -0.5448305010795593, -0.6607560515403748, 0.07649832963943481, 0.28473907709121704, 1.2039377689361572, 0.6352478265762329, -0.8385633230209351, 0.3125045895576477, 0.13934050500392914, -0.16990549862384796, -0.047107961028814316, -0.20842747390270233, 0.18181352317333221, -0.34181004762649536, -0.031565017998218536, 0.23709142208099365, 0.18234260380268097, 0.06761690229177475, -0.0035339542664587498, 0.3843012750148773, -0.5479886531829834, 0.050105493515729904, 0.5313199758529663, 0.11283581703901291, -0.33401259779930115, -0.5837246179580688, 0.1180567592382431, -0.04092184081673622, -0.11624538153409958, 0.8337532877922058, -0.7206014394760132, 0.3370003402233124, 0.34292927384376526, 0.7934526205062866, 0.040416914969682693, -0.0763937383890152, 0.42368283867836, -1.103447437286377, 0.11435426026582718, 0.5069746375083923, 0.12902630865573883, 0.4958362281322479, -0.8012478351593018, 0.7312880754470825, -0.007878750562667847, -0.1328130066394806, -0.7620542645454407, -0.1507020890712738, -0.9269462823867798, -0.22683480381965637, 0.787150502204895, 0.016468964517116547, -0.1762382984161377, -0.3435060977935791, -0.10912787169218063, 0.23348192870616913, -0.54864102602005, 0.6585873961448669, 0.4704280197620392, 0.1153402253985405, 0.1303418129682541, -0.8791893124580383, 0.7682042121887207, -0.3551699221134186, -1.1898444890975952, 0.2377438247203827, 0.4473906457424164, -0.06701833754777908, 0.6538938879966736, 0.1330263763666153, 0.09175634384155273, 0.30987200140953064, -0.00749225215986371, -0.19630011916160583, -0.20157824456691742, -0.7714614272117615, 0.08982919901609421, 0.07278738915920258, -0.302807480096817, -0.11271340399980545 ]
http://arxiv.org/abs/2404.07738v1
http://arxiv.org/pdf/2404.07738v1
ResearchAgent: Iterative Research Idea Generation over Scientific Literature with Large Language Models
2024-04-11T13:36:29
2024-04-11T13:36:29
Jinheon Baek, Sujay Kumar Jauhar, Silviu Cucerzan, Sung Ju Hwang
cs.CL
cs.CL, cs.AI, cs.LG
Scientific Research, vital for improving human life, is hindered by its inherent complexity, slow pace, and the need for specialized experts. To enhance its productivity, we propose a ResearchAgent, a large language model-powered research idea writing agent, which automatically generates problems, methods, and experiment designs while iteratively refining them based on scientific literature. Specifically, starting with a core paper as the primary focus to generate ideas, our ResearchAgent is augmented not only with relevant publications through connecting information over an academic graph but also entities retrieved from an entity-centric knowledge store based on their underlying concepts, mined and shared across numerous papers. In addition, mirroring the human approach to iteratively improving ideas with peer discussions, we leverage multiple ReviewingAgents that provide reviews and feedback iteratively. Further, they are instantiated with human preference-aligned large language models whose criteria for evaluation are derived from actual human judgments. We experimentally validate our ResearchAgent on scientific publications across multiple disciplines, showcasing its effectiveness in generating novel, clear, and valid research ideas based on human and model-based evaluation results.
[ -0.18296101689338684, -0.5749590992927551, 0.7133777141571045, 0.2056443840265274, -0.16693364083766937, 0.4341079592704773, -0.21122945845127106, -0.3303240239620209, 0.5611709952354431, 0.44546419382095337, -0.1274873912334442, -0.3099202811717987, -0.23593643307685852, 0.14830097556114197, -0.3750247359275818, 1.195223093032837, -0.09807255864143372, -0.039254527539014816, -0.2693215310573578, 0.4230284094810486, -0.16523297131061554, -0.04893099516630173, -0.7835168838500977, -0.6159443855285645, 0.7784551382064819, 0.5929149389266968, 0.5440093874931335, 0.4150596261024475, 0.6287146210670471, 0.39675572514533997, 0.29249316453933716, 0.14541372656822205, -0.4552221894264221, 0.30691275000572205, -0.4129182696342468, -0.3111245632171631, -0.46167322993278503, -0.14477138221263885, 0.46029040217399597, 0.3853398263454437, -0.16287527978420258, 0.19094634056091309, -0.25710543990135193, 0.3672281801700592, -0.37731608748435974, 0.10333386808633804, -0.6238023638725281, 0.03533574193716049, -0.06838885694742203, -0.3901713192462921, -0.4058450162410736, -0.6212614178657532, 0.18922655284404755, -0.7305149435997009, 0.4925656020641327, 0.15941010415554047, 0.8145059943199158, -0.019946979358792305, 0.08848739415407181, -0.3198511302471161, -0.8085570335388184, 0.5554858446121216, -0.8200281262397766, -0.27016404271125793, 0.06006082147359848, 0.25811439752578735, -0.26675400137901306, -0.8820648789405823, -0.6620436310768127, -0.6426427364349365, 0.06719204783439636, 0.039597686380147934, -0.23078174889087677, -0.21638868749141693, -0.020944302901625633, -0.04605916514992714, -0.7286876440048218, -0.30898210406303406, -0.45600947737693787, -0.0030078240670263767, 0.7291969656944275, 0.12946170568466187, 0.2140650898218155, -0.005139479413628578, 0.05158237740397453, -0.20680645108222961, -0.28576231002807617, -0.15253731608390808, 0.3234180808067322, 0.10384070128202438, 0.6636525392532349, 0.6990747451782227, -0.07034096121788025, 0.22447295486927032, -0.05186418816447258, 0.06485050916671753, 0.1607603132724762, -0.39078986644744873, 0.11084660142660141, 0.18908634781837463, 0.8671370148658752, 0.1817740947008133, -0.032391130924224854, -0.47470515966415405, -0.3094900846481323, 0.2729693353176117, 0.6062913537025452, -1.045913577079773, -0.3638063967227936, 0.2347060889005661, -0.06579575687646866, -0.6780766248703003, 0.11602603644132614, -0.5843900442123413, -0.601614773273468, -0.050275836139917374, 0.44205260276794434, -0.47744038701057434, -0.7406143546104431, 0.14812034368515015, -0.5572407841682434, -0.12366241216659546, 0.38286256790161133, -0.23140044510364532, 0.3195617198944092, 0.5479618906974792, 0.7952592372894287, -0.1509864777326584, -0.6192852854728699, -0.03548349812626839, 0.18048067390918732, -0.5508114695549011, 1.1402543783187866, -0.6592015624046326, -0.496243953704834, -0.2892788052558899, -0.22292201220989227, -0.08120343834161758, -0.13297341763973236, 0.5476771593093872, -0.6138524413108826, 0.04784199595451355, -0.124040886759758, -0.41104626655578613, 0.2038886547088623, 0.25023967027664185, -0.8102544546127319, 0.9290829300880432, -0.03781694173812866, -1.0765540599822998, 0.34489354491233826, -1.12783682346344, -0.4883005619049072, 0.3385370075702667, -0.14851534366607666, -0.5971134305000305, 0.04790809378027916, -0.22251352667808533, 0.021123947575688362, -0.7193724513053894, 0.4708402156829834, -0.022267935797572136, -0.05063950642943382, 0.4820765256881714, 0.047727249562740326, 0.3494129478931427, 0.40802955627441406, -0.47867551445961, 0.49636101722717285, -0.8520981669425964, 0.14199425280094147, 0.4901948571205139, -0.04752374440431595, -0.43554309010505676, -0.13606542348861694, 0.13005033135414124, -0.1552789807319641, 0.024587681517004967, -1.1005170345306396, 0.4481387436389923, -0.1730429083108902, 0.7352413535118103, 0.4882360100746155, 0.287422776222229, 0.47567951679229736, -0.5579497218132019, 0.6742143034934998, -0.39292868971824646, -0.2546965181827545, -0.06511841714382172, -0.3478047847747803, -0.6991312503814697, -0.025042377412319183, 0.33871161937713623, 0.19074492156505585, -0.7739346027374268, 0.15745942294597626, -0.21614393591880798, -0.8599076271057129, -0.6768993735313416, -0.1231168806552887, 0.152801513671875, 0.5750676393508911, 0.0377938412129879, -0.21227897703647614, -0.38907745480537415, -0.6951583623886108, -0.34838348627090454, -0.14661015570163727, 0.09891504794359207, -0.05239615961909294, 0.86429762840271, -0.16187284886837006, 1.140881061553955, -0.6112588047981262, -0.2431745082139969, -0.3666982054710388, 0.7238826751708984, -0.09345927089452744, 0.500843346118927, 0.2061098963022232, -0.7717304229736328, -0.37900611758232117, 0.25895261764526367, -0.5698337554931641, -0.18967832624912262, 0.09795325994491577, -0.4123929440975189, -0.04429317265748978, 0.21732982993125916, -0.9613229632377625, 0.2983899712562561, -0.2856685519218445, -0.5378673076629639, 0.7272691130638123, -0.27855730056762695, 0.4242250919342041, -1.246498942375183, 0.4868842661380768, -0.15553687512874603, 0.18881741166114807, -0.6896300911903381, -0.17169523239135742, 0.00027770595625042915, -0.5308839678764343, 0.031921643763780594, 0.6234021186828613, -0.3665817677974701, 0.3628291189670563, -0.734413743019104, 0.07714486122131348, 0.3938707709312439, -0.13338196277618408, 0.13601018488407135, 0.7527101635932922, 0.09731411188840866, -0.2007494568824768, 0.15768353641033173, 0.09400349855422974, -0.11834913492202759, 0.17718061804771423, -0.8345862030982971, 0.49623432755470276, -0.3651870787143707, 0.2782985270023346, -0.7282220125198364, -0.31450775265693665, -0.07959893345832825, -0.4276167154312134, 0.16292352974414825, 0.3278457224369049, -0.5958384275436401, -0.6548570394515991, -0.3608570396900177, 0.2433633804321289, 0.13589486479759216, -0.04598557576537132, 0.5890124440193176, 0.23786820471286774, -0.6361417770385742, -0.5442988276481628, -0.44533732533454895, 0.4711204171180725, -0.10585328936576843, -0.7447826862335205, 0.44007906317710876, -0.15739679336547852, -0.6021133065223694, 0.7319748997688293, 0.3573726713657379, -0.15360641479492188, -0.25611138343811035, 0.04022190719842911, 0.13049423694610596, -0.010076056234538555, 0.4015355408191681, -0.07627527415752411, -0.12087199836969376, 0.20687203109264374, -0.4458710551261902, 0.20699697732925415, -0.14242656528949738, -0.20719477534294128, 0.21787331998348236, 0.5756444334983826, 0.5395988821983337, -0.3644939064979553, 0.16179242730140686, 0.6192565560340881, -0.21128278970718384, -0.6219801306724548, -0.5339159369468689, -0.42927104234695435, -0.4214865267276764, 0.5496340990066528, -0.5623778104782104, -0.7619220614433289, 0.31254252791404724, 0.00595439225435257, 0.4393506944179535, 0.2879992723464966, 0.45854493975639343, 0.12461576610803604, 0.7953675985336304, 0.7991767525672913, 0.1891656219959259, 0.293533056974411, -0.3923880457878113, 0.32716307044029236, -0.4287317395210266, 0.002506403485313058, -0.8213136196136475, -0.11948498338460922, -0.09415752440690994, -0.5413916110992432, 0.23303790390491486, -0.3291916847229004, -0.13556018471717834, 0.2121851146221161, -0.8975740671157837, 0.5522141456604004, 0.6333510875701904, -0.025341719388961792, 0.399116188287735, -0.008909116499125957, -0.2323133498430252, 0.010418182238936424, -0.8217340707778931, -0.7551013231277466, 0.9679825901985168, 0.0997871533036232, 1.074941635131836, -0.1313624531030655, 0.7254699468612671, 0.5769749879837036, 0.6076157093048096, -0.719307541847229, 0.39732053875923157, 0.4593642055988312, -0.673679530620575, -0.25096383690834045, -0.2445853352546692, -0.9605888724327087, 0.2564699351787567, 0.09281602501869202, -0.5139561295509338, 0.11663373559713364, 0.11199937760829926, -0.2211497277021408, 0.23125287890434265, -0.5573676824569702, 0.7041571736335754, -0.33568018674850464, -0.7354961633682251, -0.4080865681171417, -0.2988419830799103, 0.32921645045280457, -0.16553382575511932, 0.027939505875110626, 0.11003786325454712, 0.16917841136455536, 0.8781635165214539, -0.5909906625747681, 0.6746968626976013, -0.19395075738430023, -0.017839064821600914, 0.74814373254776, 0.3352709412574768, 0.6082598567008972, -0.007708027493208647, -0.25969991087913513, -0.378555566072464, -0.14188243448734283, -0.2837466895580292, -0.35409656167030334, 0.7464303970336914, -0.9280688762664795, -0.7244538068771362, -0.46095526218414307, -0.922447681427002, 0.0010054418817162514, 0.27387791872024536, 0.30924442410469055, 0.15626485645771027, -0.3901265263557434, -0.08046388626098633, 0.38309618830680847, 0.04390565678477287, 0.28777092695236206, 0.6403526663780212, -0.18767264485359192, -0.4414975941181183, 1.1025714874267578, 0.1386023908853531, 0.0828152447938919, 0.32422715425491333, 0.33669596910476685, -0.07539623230695724, -0.5282443761825562, -0.37408071756362915, 0.24283850193023682, -0.7314364314079285, -0.14808721840381622, -0.7956516146659851, -0.16018977761268616, -0.4251258671283722, -0.2518705129623413, -0.4382879137992859, -0.5076718926429749, -0.11709149926900864, -0.06238735839724541, 0.5266458988189697, 1.1114486455917358, -0.060047026723623276, -0.010505053214728832, -0.5360198616981506, 0.09703665971755981, 0.29564881324768066, -0.043619897216558456, 0.1987450271844864, -0.3737756013870239, -0.3116315007209778, -0.22313353419303894, -0.4861193299293518, -0.7075828313827515, 0.6590108275413513, 0.09912048280239105, 0.4193177819252014, 0.24388299882411957, 0.029445050284266472, 0.3328063488006592, -0.6727823615074158, 0.5348901748657227, 0.1355932503938675, -0.46890297532081604, 0.5671483874320984, -0.38269737362861633, 0.14478759467601776, 0.6990571022033691, 0.29593974351882935, -0.24459388852119446, -0.44478046894073486, -0.5689514875411987, -0.7783253192901611, 0.31864213943481445, 0.2905719578266144, -0.3015596866607666, 0.19115577638149261, 0.12509235739707947, 0.293108195066452, 0.4683558940887451, -0.5993772149085999, 0.38998064398765564, -0.5339566469192505, -0.11379455029964447, 0.20983245968818665, 0.012756492011249065, -0.5454255938529968, -0.09236080199480057, 0.9521524310112, -0.3441329896450043, 0.44306880235671997, 0.4944024980068207, -0.1492481827735901, -0.5478096008300781, 0.6016106605529785, 0.6311392784118652, 1.120103359222412, -0.18285684287548065, 0.319051057100296, -0.34548571705818176, -0.5379543304443359, 0.3996730148792267, 0.5805243849754333, -0.5590960383415222, 0.035769205540418625, 0.0888049304485321, 0.5524905920028687, -0.20489411056041718, -0.6640360355377197, 0.14715109765529633, -0.42735251784324646, -0.45422783493995667, -0.3299940228462219, 0.07740047574043274, 0.4122288227081299, 0.26850759983062744, 0.6664091944694519, 0.25337621569633484, 0.1772889792919159, -0.35821595788002014, 0.09189843386411667, 0.4235609173774719, -0.20978452265262604, -0.5697672367095947, 0.5864993333816528, 0.21983197331428528, -0.5702457427978516, 0.06399621069431305, -0.5178965330123901, -0.4700886607170105, 0.9177559018135071, 0.8436703085899353, 1.1458123922348022, 0.13730821013450623, 0.5570486187934875, 0.13739627599716187, 0.49187415838241577, 0.014413892291486263, 0.414747953414917, 0.12697403132915497, -0.7042953968048096, -0.4808753430843353, -0.7272852063179016, -0.48215579986572266, 0.25277766585350037, -0.12070781737565994, 0.11538251489400864, -0.2026064097881317, -0.34981390833854675, 0.35929086804389954, 0.12987327575683594, -0.5722223520278931, -0.35366517305374146, -0.37526196241378784, 0.8166473507881165, -0.7213659286499023, 0.8275198936462402, 1.2306350469589233, -0.6361722350120544, -0.9059493541717529, -0.2835547924041748, -0.15161104500293732, -0.3072535991668701, 0.652504563331604, -0.02292143739759922, -0.35966169834136963, 0.24492505192756653, -0.5390564799308777, -0.8879817128181458, 1.2582958936691284, 0.1283113956451416, -0.5457537174224854, -0.09174207597970963, 0.04876184090971947, 0.7187424898147583, -0.7561459541320801, 0.34443435072898865, 0.26157674193382263, 0.7129213809967041, 0.1962052434682846, -0.7986692190170288, 0.02982715331017971, -0.871940553188324, -0.21913358569145203, 0.08081169426441193, -0.5388442873954773, 0.8267896771430969, -0.5293101668357849, 0.07361368089914322, 0.2245909720659256, 0.4392946660518646, 0.47787144780158997, 0.37134191393852234, 0.26955702900886536, 0.5672407746315002, 0.7812530398368835, 0.3490997850894928, 0.8689756393432617, -0.27262815833091736, 0.11360303312540054, 1.1155065298080444, -0.578011691570282, 0.3583351671695709, 0.3631807565689087, 0.18355226516723633, 0.4068315327167511, 0.32173797488212585, -0.14835204184055328, 0.3801717758178711, 0.2454633265733719, -0.3376215696334839, 0.0066094654612243176, -0.539581298828125, -0.24258844554424286, 0.1432618498802185, 0.21241821348667145, -0.40672412514686584, -0.24364396929740906, 0.34223437309265137, 0.2474747747182846, 0.2648996114730835, -0.08530440181493759, 0.5996042490005493, 0.030330965295433998, -0.8999476432800293, 0.2786416709423065, -0.1378897726535797, 0.2809332609176636, -0.707973062992096, -0.16771133244037628, 0.14648163318634033, 0.29081085324287415, -0.10424163937568665, -0.6437469720840454, -0.2083936333656311, 0.1370842456817627, -0.3046763241291046, 0.0220516175031662, 1.2714967727661133, -0.3733850121498108, -0.6498837471008301, 0.024281924590468407, 0.6981558203697205, 0.08527711778879166, 0.09107090532779694, -0.6908634901046753, 0.07078322023153305, -0.2740539610385895, -0.6169542670249939, -0.013864151202142239, 0.6854614615440369, -0.2252582460641861, 0.6895705461502075, 0.5063559412956238, 0.5856097936630249, -0.14122557640075684, 0.2803720533847809, 1.13859224319458, -0.7772243618965149, -0.5008245706558228, -0.5271527171134949, 0.37639954686164856, -0.42363569140434265, -0.2595219314098358, 0.7035056948661804, 0.37680867314338684, 0.34783002734184265, -0.14792458713054657, 1.3754887580871582, -0.2686026394367218, 0.4999464750289917, 0.2704885005950928, 0.90927654504776, -0.1458139717578888, -0.03672271594405174, -0.37783780694007874, -0.8506958484649658, -0.09182705730199814, 0.642041027545929, -0.2937700152397156, 0.0001714176032692194, 1.0139005184173584, 0.744354784488678, 0.07786095887422562, 0.06126689910888672, 0.0036415245849639177, 0.3189086616039276, 0.8005414605140686, 0.09376844763755798, 0.9434565901756287, 0.0712222084403038, 0.5501344203948975, -0.24247586727142334, -0.361099511384964, -0.03458760678768158, -0.808807373046875, -1.029363989830017, -0.42468586564064026, -0.19674968719482422, -0.3066853880882263, 0.17848628759384155, 0.9445645809173584, 0.544330894947052, -0.5259510278701782, -0.44174161553382874, -0.5727415084838867, -0.17761340737342834, -0.08646579831838608, -0.3514755964279175, 0.41899028420448303, -0.4854578971862793, -0.4568254053592682, 0.37105658650398254, 0.1938983052968979, -0.40927350521087646, -0.6570636034011841, -0.07119417190551758, -0.3247452974319458, 0.30916473269462585, 0.46436187624931335, 0.35797977447509766, -0.3515012562274933, -0.1022840067744255, 0.1872720867395401, -0.19022037088871002, -0.1930810958147049, 1.2146141529083252, -0.6275677680969238, 0.7319573163986206, 0.4957190752029419, 0.8296129703521729, 0.699478805065155, -0.0713895782828331, 0.7209892868995667, -0.36145108938217163, 0.1298283189535141, 0.8103477358818054, 0.19389310479164124, 0.45445212721824646, -0.3018798828125, 0.5745249390602112, 0.16181835532188416, -1.0325709581375122, -0.8595455288887024, 0.12741166353225708, -0.6718035936355591, -0.4515939950942993, 1.0724585056304932, 0.026936795562505722, -0.6484036445617676, -0.10807742923498154, -0.5717897415161133, 0.13686883449554443, -0.8490556478500366, 1.0898059606552124, 0.4701586961746216, -0.2688869535923004, 0.0027329912409186363, -0.4201197028160095, 0.5497109293937683, 0.3556345999240875, -0.9990270137786865, 0.06672616302967072, 0.35349240899086, 0.22565150260925293, 0.6902452111244202, 0.804878830909729, 0.06670215725898743, 0.35233044624328613, 0.3380247950553894, 0.8344817161560059, -0.1825411021709442, -0.30404844880104065, 0.39306947588920593, 0.4985414445400238, 0.5313209891319275, 0.3371140956878662 ]
http://arxiv.org/abs/2404.07720v2
http://arxiv.org/pdf/2404.07720v2
Automatic Generation and Evaluation of Reading Comprehension Test Items with Large Language Models
2024-04-11T13:11:21
2024-05-20T19:08:00
Andreas Säuberli, Simon Clematide
cs.CL
cs.CL
Reading comprehension tests are used in a variety of applications, reaching from education to assessing the comprehensibility of simplified texts. However, creating such tests manually and ensuring their quality is difficult and time-consuming. In this paper, we explore how large language models (LLMs) can be used to generate and evaluate multiple-choice reading comprehension items. To this end, we compiled a dataset of German reading comprehension items and developed a new protocol for human and automatic evaluation, including a metric we call text informativity, which is based on guessability and answerability. We then used this protocol and the dataset to evaluate the quality of items generated by Llama 2 and GPT-4. Our results suggest that both models are capable of generating items of acceptable quality in a zero-shot setting, but GPT-4 clearly outperforms Llama 2. We also show that LLMs can be used for automatic evaluation by eliciting item reponses from them. In this scenario, evaluation results with GPT-4 were the most similar to human annotators. Overall, zero-shot generation with LLMs is a promising approach for generating and evaluating reading comprehension test items, in particular for languages without large amounts of available data.
[ -0.4130364954471588, -0.7832398414611816, 0.7888776659965515, -0.08308777958154678, -0.3388574421405792, -0.2521817088127136, -0.056888923048973083, -0.6186622977256775, -0.16525103151798248, 0.3548395037651062, -0.4610292613506317, -0.24479718506336212, -0.49762481451034546, 0.6119645237922668, -0.5320116281509399, 0.9937900304794312, -0.39386123418807983, -0.13091720640659332, -0.2748830318450928, -0.07264643162488937, -0.3686024248600006, -0.2965383529663086, -0.5012112259864807, -0.6090770363807678, 0.5913995504379272, 0.44466108083724976, 0.6368125677108765, 0.6829525828361511, 0.5649404525756836, 0.28363433480262756, 0.1198621615767479, 0.06757377833127975, -0.28136545419692993, 0.26494860649108887, -0.08002679795026779, -0.38909977674484253, -0.3278498649597168, 0.15579168498516083, 0.6960373520851135, 0.3980165123939514, 0.0019325587200000882, 0.42560791969299316, 0.0726633369922638, 0.4923088848590851, -0.3646009862422943, 0.087111696600914, -0.5253758430480957, 0.12441328912973404, 0.05340580642223358, -0.2951890230178833, -0.5034972429275513, -0.3368534743785858, 0.3119647800922394, -0.5432066321372986, 0.21486522257328033, 0.16552717983722687, 0.9084262251853943, 0.3101089596748352, -0.5138263702392578, -0.6393044590950012, -0.4827336072921753, 0.6474326848983765, -0.7596576809883118, 0.32897716760635376, 0.6266428828239441, 0.3495190143585205, 0.14637012779712677, -0.5622791051864624, -0.8682018518447876, -0.5460851788520813, 0.07721015065908432, 0.24157817661762238, -0.07772880047559738, -0.2263352870941162, 0.2694566249847412, 0.22543853521347046, -0.8457422256469727, 0.07984211295843124, -0.24935691058635712, 0.010132814757525921, 0.7260265350341797, 0.2485235631465912, 0.26182541251182556, -0.3759273588657379, -0.2544475793838501, -0.22160854935646057, -0.6835269927978516, -0.10665813088417053, 0.48509204387664795, -0.02478770911693573, 0.15329942107200623, 0.9448556303977966, -0.3330850601196289, 0.9003475308418274, -0.02508811466395855, -0.3042048215866089, 0.3135448694229126, -0.6417540907859802, -0.26601937413215637, -0.23879683017730713, 0.7044578790664673, 0.3915458023548126, 0.4223663806915283, -0.12223058938980103, -0.44377565383911133, -0.06758814305067062, 0.11837014555931091, -0.8643928170204163, -0.04897236451506615, 0.327526330947876, -0.44040447473526, -0.46468475461006165, -0.12634842097759247, -0.45681479573249817, -0.18992944061756134, -0.29650285840034485, 0.6438778638839722, -0.4701623320579529, 0.05664009973406792, 0.2622043192386627, -0.09153973311185837, 0.47778621315956116, 0.16939698159694672, -0.8256874680519104, -0.04582853242754936, 0.25679802894592285, 0.7890929579734802, -0.22811129689216614, -0.49749475717544556, -0.6221709847450256, 0.15118148922920227, -0.41336193680763245, 1.1570407152175903, -0.4471350908279419, -0.23999188840389252, -0.06265294551849365, -0.1877245157957077, -0.02698364481329918, -0.36166590452194214, 0.450767457485199, -0.703061580657959, 0.4281136989593506, -0.2736825942993164, -0.8018918633460999, -0.17370344698429108, 0.569099485874176, -0.6393200159072876, 0.96917325258255, 0.2806711494922638, -0.7543814778327942, 0.5006728768348694, -0.7487363815307617, -0.4808463454246521, 0.28372102975845337, 0.058875247836112976, -0.377824068069458, -0.08389671891927719, 0.3495323061943054, 0.5463139414787292, -0.4499174952507019, 0.1107623502612114, -0.3959333598613739, -0.5848663449287415, 0.4837304949760437, -0.6708334684371948, 0.47516191005706787, 0.006829097401350737, -0.31424814462661743, -0.07908705621957779, -0.5373568534851074, 0.1850852519273758, 0.28567513823509216, -0.5643733739852905, 0.010280300863087177, -0.10427599400281906, -0.13200686872005463, 0.25467798113822937, 0.2178374081850052, -0.537397563457489, 0.06507988274097443, -0.3690784275531769, 0.37925902009010315, 0.691048264503479, 0.3158385753631592, 0.3619566559791565, -0.6218153834342957, 0.7354634404182434, -0.2004818618297577, 0.1830858588218689, -0.3978497087955475, -0.478858083486557, -0.8553686141967773, 0.015457929112017155, 0.34241536259651184, 0.7530019283294678, -0.9605348706245422, 0.560209333896637, -0.07068396359682083, -0.6871635317802429, -0.30009621381759644, 0.13409945368766785, 0.26081082224845886, 0.5820115804672241, -0.007003124803304672, -0.07001237571239471, 0.07967712730169296, -0.6278702616691589, -0.06374754756689072, -0.3809633255004883, -0.22599497437477112, 0.3772883415222168, 0.6719563007354736, -0.26261332631111145, 0.6976466178894043, -0.5271117687225342, -0.036309584975242615, -0.1122165322303772, -0.021519199013710022, 0.10267847031354904, 0.03466608747839928, 0.5659485459327698, -0.3653319776058197, -0.32173049449920654, -0.0697939395904541, -0.7490119338035583, -0.3278917670249939, -0.033717457205057144, -0.12496533989906311, 0.2772941291332245, 0.19575534760951996, -0.45403853058815, 0.11351051181554794, 0.5313078761100769, -0.4814651906490326, 0.8769580125808716, -0.16425953805446625, 0.17321598529815674, -0.9999828338623047, 0.053489651530981064, 0.04436706006526947, -0.29059967398643494, -0.46834608912467957, 0.2135050743818283, 0.1541607677936554, -0.05587201565504074, -0.489009290933609, 0.8576357364654541, -0.35677579045295715, -0.17199106514453888, -0.18306107819080353, 0.3359244763851166, 0.22040130198001862, 0.14474953711032867, -0.00969751924276352, 0.7100417017936707, 0.45113807916641235, -0.5536974668502808, 0.430882066488266, 0.32171735167503357, -0.5333850383758545, 0.7005511522293091, -0.7531293630599976, 0.11816725879907608, -0.2817803919315338, 0.29672303795814514, -1.0111819505691528, -0.4013173282146454, 0.2834745943546295, -0.3760398328304291, 0.02438158169388771, 0.2278832495212555, -0.7586789131164551, -0.4496477246284485, -0.2725718021392822, 0.31674227118492126, 0.4956952631473541, -0.44986671209335327, 0.22101671993732452, 0.08245526999235153, -0.45440033078193665, -0.45819538831710815, -0.750459611415863, -0.09406338632106781, -0.22840958833694458, -0.6346192359924316, -0.2294388711452484, -0.5462467074394226, -0.13338017463684082, -0.1193387359380722, 0.0517568364739418, -0.04883873090147972, 0.053131189197301865, 0.00040724739665165544, 0.4105774760246277, -0.13957776129245758, 0.2689189016819, 0.27054694294929504, -0.24182939529418945, -0.1470353752374649, -0.1919122189283371, 0.42356622219085693, -0.17518456280231476, -0.7606358528137207, -0.3715668022632599, 0.3312464654445648, 0.29733413457870483, -0.3066876232624054, 0.2823912799358368, 0.5727683901786804, -0.228223517537117, -0.2600780427455902, -0.6254262924194336, -0.36274001002311707, -0.49006572365760803, 0.23646345734596252, -0.4351503551006317, -0.9024161100387573, 0.31847673654556274, 0.33326244354248047, 0.24796272814273834, 0.41792574524879456, 0.7335789799690247, -0.21288344264030457, 1.0038955211639404, 0.23622624576091766, 0.15466190874576569, 0.2748437523841858, -0.05155232548713684, 0.14112961292266846, -0.6603044867515564, 0.03235127031803131, -0.47074633836746216, -0.07013185322284698, -0.1622389405965805, -0.3859468102455139, 0.3862512707710266, -0.0038962853141129017, -0.3148020803928375, 0.12175332009792328, -0.539630651473999, 0.6872203350067139, 0.5616719722747803, 0.008266148157417774, 0.6903504729270935, 0.1971217840909958, -0.14344216883182526, 0.24139347672462463, -0.5016809701919556, -0.9536407589912415, 1.3169081211090088, 0.36442312598228455, 0.45965132117271423, -0.016020458191633224, 0.7397690415382385, 0.2742867171764374, 0.5343619585037231, -1.0796419382095337, 0.4728137254714966, 0.14765073359012604, -0.47515490651130676, -0.6030439734458923, -0.37605106830596924, -0.9461146593093872, 0.26858043670654297, 0.03356253355741501, -0.5225260257720947, -0.07225815951824188, -0.0734611377120018, -0.43864336609840393, -0.047237761318683624, -0.8031208515167236, 0.6298800110816956, -0.21307189762592316, 0.15885142982006073, 0.22555117309093475, -0.3559482991695404, 0.46986451745033264, -0.5726991295814514, -0.02667565457522869, -0.2793160378932953, -0.2615588903427124, 0.6976319551467896, -0.06839078664779663, 0.4743329882621765, 0.08435407280921936, -0.3422364294528961, 0.4789975881576538, 0.3371436893939972, 0.384424090385437, 0.22739313542842865, -0.5461105108261108, 0.06497062742710114, 0.2968330979347229, -0.4009915888309479, -0.4457928240299225, 0.4284091591835022, -0.7662674784660339, -0.4072401523590088, -0.5050674080848694, -0.672496497631073, -0.20919352769851685, 0.4955390393733978, 0.28711944818496704, 0.4338012933731079, -0.09803774952888489, -0.09663081169128418, 0.44948717951774597, -0.1809718757867813, 0.6524761915206909, 0.8596265912055969, 0.017559640109539032, -0.2824775278568268, 0.8737897872924805, 0.16290108859539032, 0.4212091267108917, 0.11966094374656677, 0.13982369005680084, -0.5444610118865967, -0.6682730317115784, -0.749178409576416, 0.3067547678947449, -0.7366613149642944, -0.2414921075105667, -0.31635159254074097, -0.21644996106624603, -0.11981581151485443, -0.23084527254104614, 0.14563697576522827, -0.16177941858768463, -0.3391631245613098, -0.25045809149742126, 0.14631713926792145, 0.9751787185668945, -0.02290346287190914, 0.28419312834739685, -0.8025218844413757, 0.31166037917137146, 0.3481808602809906, 0.31293079257011414, 0.036097243428230286, -0.5823763012886047, -0.09581129997968674, -0.11753908544778824, -0.37026163935661316, -0.98760986328125, 0.24323728680610657, 0.013558605685830116, 0.3173380494117737, 0.47261860966682434, 0.0349496491253376, 0.27786949276924133, -0.6408957242965698, 0.8946426510810852, -0.013045074418187141, -0.9040907025337219, 0.17305879294872284, -0.44527554512023926, 0.43604153394699097, 0.4856608808040619, 0.1369711309671402, -0.5289067625999451, -0.4646027088165283, -0.49486079812049866, -0.5648744702339172, 0.6522819995880127, 0.2494116872549057, 0.17722463607788086, -0.07249432057142258, 0.36273059248924255, 0.33257341384887695, 0.08485935628414154, -0.7784910798072815, 0.026966020464897156, -0.052079938352108, -0.2322339117527008, -0.2402535080909729, -0.37047290802001953, -0.07101216912269592, 0.06013103201985359, 0.6498271822929382, -0.21462614834308624, 0.2252286672592163, 0.23349812626838684, -0.0844717025756836, -0.11063677072525024, 0.2743361294269562, 0.4155767261981964, 0.794448971748352, 0.06550513952970505, -0.043447740375995636, 0.25151926279067993, -0.3439372181892395, 0.5029714107513428, 0.15971091389656067, -0.5088299512863159, -0.10312534868717194, 0.527535617351532, 0.73905348777771, -0.23416440188884735, -0.849635899066925, 0.560354471206665, -0.12267614901065826, -0.404798299074173, -0.3703259825706482, 0.07432640343904495, 0.10354379564523697, 0.29783177375793457, 0.2483035773038864, -0.3997822701931, 0.09508556127548218, -0.21564961969852448, 0.3462964594364166, 0.2771480977535248, -0.0726580023765564, -0.03786337375640869, 0.4242047369480133, 0.13971532881259918, -0.17511191964149475, 0.5802263617515564, -0.5459120869636536, -0.11807969957590103, 0.5199858546257019, 0.6536698341369629, 0.5773431658744812, -0.24387118220329285, 0.6484197974205017, 0.2091088443994522, 0.6172923445701599, -0.040363240987062454, 0.44761747121810913, -0.045303136110305786, -0.8181541562080383, -0.6267976760864258, -0.7867853045463562, -0.5358719229698181, 0.2412310391664505, -0.49441683292388916, 0.031102962791919708, -0.08290442079305649, -0.027620697394013405, -0.12271704524755478, 0.09099753946065903, -0.8416626453399658, 0.2653220593929291, 0.01946522295475006, 0.8018436431884766, -0.9421199560165405, 0.6487967371940613, 0.6037715673446655, -0.48227667808532715, -0.8963279128074646, 0.22729706764221191, -0.24410319328308105, -0.8508257269859314, 0.3064384460449219, 0.19651901721954346, 0.22437424957752228, 0.05841216444969177, -0.17620259523391724, -0.9782288074493408, 1.0680241584777832, 0.40386924147605896, -0.5375887155532837, -0.13594448566436768, 0.33014237880706787, 0.49924156069755554, -0.09085768461227417, 0.623175859451294, 0.7838451266288757, 0.7803894877433777, 0.028416508808732033, -0.799585223197937, 0.08529185503721237, -0.14636199176311493, -0.08284684270620346, 0.04877424240112305, -0.4749641716480255, 0.6290074586868286, -0.11439356207847595, -0.10120779275894165, 0.18519432842731476, 0.35254234075546265, 0.5769450068473816, 0.2452087104320526, 0.4982340335845947, 0.566735565662384, 0.8855700492858887, 0.04527260735630989, 1.32117760181427, -0.12521840631961823, 0.29299113154411316, 0.9855142831802368, -0.5471401810646057, 0.992196261882782, 0.21088562905788422, -0.04669933766126633, 0.29513055086135864, 0.8844630718231201, -0.18408465385437012, 0.1751343458890915, 0.24059167504310608, -0.2374858558177948, -0.24119681119918823, 0.09959154576063156, -0.1675540655851364, 0.4832206964492798, 0.04400619864463806, -0.3387327194213867, -0.3853755593299866, 0.0896308422088623, -0.058645956218242645, -0.3395477831363678, -0.06357377767562866, 0.8638083338737488, 0.01904991827905178, -0.8091352581977844, 0.6779364347457886, 0.01799067109823227, 0.38307589292526245, -0.4644380509853363, 0.17736203968524933, -0.16916009783744812, -0.11522781103849411, -0.020543716847896576, -1.2095832824707031, 0.16523630917072296, 0.2436838001012802, -0.1090269386768341, -0.03899864852428436, 0.6793152093887329, -0.3736366033554077, -0.7263141870498657, 0.11225008964538574, 0.7762627601623535, 0.4601537585258484, -0.0910770520567894, -0.6824462413787842, -0.15529803931713104, -0.015942992642521858, -0.7847411632537842, 0.24271605908870697, 0.34484583139419556, 0.17639786005020142, 0.707815408706665, 0.7604184150695801, 0.09986508637666702, 0.00911196880042553, 0.16288411617279053, 0.4146939516067505, -0.45303839445114136, -0.33022743463516235, -0.8696780204772949, 0.4046555757522583, 0.06625854223966599, -0.31705471873283386, 0.6991205215454102, 0.35362768173217773, 0.747154951095581, -0.056316960602998734, 1.1154778003692627, 0.17069865763187408, 0.3776049315929413, -0.3823959529399872, 0.8223431706428528, -0.4812406301498413, -0.034623488783836365, -0.268433541059494, -1.1835899353027344, -0.2684725821018219, 0.4719148874282837, -0.2627388834953308, 0.10684869438409805, 0.8821357488632202, 0.6047513484954834, -0.036527976393699646, -0.0002100667916238308, 0.3827490210533142, 0.035412080585956573, 0.2904069125652313, 0.6145698428153992, 0.762301504611969, -0.3911548852920532, 0.7543764114379883, 0.03247814625501633, -0.39150819182395935, -0.036480385810136795, -0.9616698026657104, -0.9992974996566772, -0.7046703100204468, -0.11115936189889908, -0.2635856568813324, -0.13886460661888123, 0.4772682189941406, 0.4981924593448639, -0.46347305178642273, -0.13214318454265594, 0.07143674045801163, 0.06570401787757874, 0.056576602160930634, -0.2215113341808319, 0.3906978666782379, -0.32867905497550964, -0.7966097593307495, 0.36458760499954224, 0.26763367652893066, 0.29518625140190125, -0.42904001474380493, -0.04538554698228836, 0.16729073226451874, 0.37973278760910034, 0.794382631778717, 0.005203912500292063, -0.619390070438385, -0.4315662086009979, 0.029012421146035194, 0.07171317934989929, -0.17540304362773895, 0.37469449639320374, -0.5789473056793213, 0.4617055356502533, 0.6927080750465393, 0.6682929396629333, 0.426553875207901, 0.07723405212163925, 0.45789575576782227, -0.3536231517791748, -0.1636582314968109, 0.34264034032821655, 0.3482866883277893, 0.36243754625320435, -0.2393268197774887, 0.48230355978012085, -0.17595677077770233, -0.9161005020141602, -0.8859080076217651, 0.3673814833164215, -0.7345197200775146, -0.04807526245713234, 1.4666370153427124, -0.0960194543004036, -0.18231931328773499, 0.002318113576620817, -0.32362109422683716, 0.2007974088191986, -0.31032320857048035, 0.7609735727310181, 0.9436219334602356, -0.1582852303981781, -0.10389435291290283, -0.7103531956672668, 0.21465319395065308, 0.3612072765827179, -1.1965371370315552, -0.08427009731531143, 0.5588715672492981, 0.5212924480438232, -0.07954233139753342, 0.6229467988014221, -0.0232696570456028, 0.3541088104248047, -0.12069778889417648, -0.0025193113833665848, -0.07949158549308777, -0.22443947196006775, -0.23063001036643982, 0.16131773591041565, 0.08075474202632904, -0.045419830828905106 ]
http://arxiv.org/abs/2404.07677v2
http://arxiv.org/pdf/2404.07677v2
ODA: Observation-Driven Agent for integrating LLMs and Knowledge Graphs
2024-04-11T12:16:16
2024-06-04T07:16:14
Lei Sun, Zhengwei Tao, Youdi Li, Hiroshi Arakawa
cs.CL
cs.CL, cs.AI
The integration of Large Language Models (LLMs) and knowledge graphs (KGs) has achieved remarkable success in various natural language processing tasks. However, existing methodologies that integrate LLMs and KGs often navigate the task-solving process solely based on the LLM's analysis of the question, overlooking the rich cognitive potential inherent in the vast knowledge encapsulated in KGs. To address this, we introduce Observation-Driven Agent (ODA), a novel AI agent framework tailored for tasks involving KGs. ODA incorporates KG reasoning abilities via global observation, which enhances reasoning capabilities through a cyclical paradigm of observation, action, and reflection. Confronting the exponential explosion of knowledge during observation, we innovatively design a recursive observation mechanism. Subsequently, we integrate the observed knowledge into the action and reflection modules. Through extensive experiments, ODA demonstrates state-of-the-art performance on several datasets, notably achieving accuracy improvements of 12.87% and 8.9%.
[ -0.27195635437965393, -0.9338318109512329, 1.1065293550491333, -0.015143265947699547, -0.04745868220925331, 0.2588976323604584, -0.009518048726022243, -0.48353445529937744, 0.3660582900047302, 0.6148524284362793, -0.6362901329994202, -0.6633704900741577, -0.5488814115524292, 0.05215637385845184, -0.19309033453464508, 0.7085943222045898, -0.24537108838558197, -0.15785673260688782, -0.42678022384643555, -0.07068922370672226, -0.1932588815689087, 0.0014618110144510865, -0.9786538481712341, -0.6447465419769287, 0.6044264435768127, 0.22633236646652222, 0.6665475368499756, 0.7078877091407776, 0.13489870727062225, 0.37744802236557007, 0.26540786027908325, 0.9422757029533386, -0.41577374935150146, 0.27657440304756165, -0.42185330390930176, -0.6873646378517151, -0.7849906086921692, 0.07502474635839462, 0.5329610109329224, 0.7910711169242859, -0.2381449192762375, -0.1360529065132141, -0.1767110973596573, 0.5152756571769714, -0.6349610686302185, 0.9835940003395081, -0.1660497784614563, 0.04850577563047409, 0.18168844282627106, -0.030762474983930588, -0.31883537769317627, -0.4081513583660126, 0.0806187093257904, -0.9833353161811829, -0.2794530987739563, -0.04452238976955414, 0.2703091502189636, 0.5762370228767395, -0.4366267919540405, -0.4267970323562622, -0.7249143719673157, 0.5821897983551025, -0.567964494228363, 0.4205676019191742, 0.16931277513504028, 0.4518413543701172, -0.45056387782096863, -0.9032635688781738, -0.8701359629631042, -0.1066880077123642, -0.09604208171367645, 0.16272781789302826, -0.18548360466957092, 0.050133805721998215, -0.04770737513899803, 0.019647717475891113, -0.3371168076992035, 0.05753473937511444, 0.06849602609872818, 0.0030963073950260878, 0.6862874031066895, 0.5157283544540405, 0.13491374254226685, 0.014553779736161232, -0.2227104753255844, 0.20649147033691406, -0.358376145362854, -0.1361512839794159, 0.2721189856529236, 0.3439129889011383, -0.0673188716173172, 0.5229690074920654, -0.6943063735961914, 0.890052855014801, -0.12275531142950058, -0.19520926475524902, 0.3243882358074188, -0.2253674417734146, -0.33619314432144165, 0.02907697856426239, 0.7112067341804504, 0.2321067750453949, 0.24141262471675873, -0.3207400441169739, -0.16764287650585175, 0.3114325702190399, 0.2897929251194, -0.6163615584373474, -0.13456982374191284, 0.23632600903511047, -0.12496329098939896, -0.4527007043361664, 0.07603783160448074, -0.6772828102111816, -0.9466649889945984, -0.3587496876716614, 0.2829500436782837, -0.4163286089897156, -0.42532750964164734, 0.19724789261817932, -0.009411410428583622, 0.1286153495311737, 0.6067123413085938, -0.4452809989452362, 0.2978930175304413, 0.8198069930076599, 0.5405770540237427, -0.0790942832827568, -0.5721747279167175, -0.7650504112243652, 0.2357499599456787, -0.5441420078277588, 0.8341268301010132, -0.7317437529563904, -0.20118285715579987, 0.04927657172083855, -0.17475974559783936, -0.23897379636764526, -0.40493151545524597, 0.2717783749103546, -0.9482273459434509, -0.06093870848417282, -0.1243431493639946, -0.4856458604335785, -0.40306565165519714, 0.5198860764503479, -0.4197356700897217, 1.002138376235962, 0.3517743647098541, -0.33621513843536377, 0.5039207935333252, -1.1410760879516602, -0.35914573073387146, 0.11061608791351318, -0.40513840317726135, 0.01382684800773859, -0.2141343355178833, 0.38276466727256775, 0.3004838824272156, -0.31441158056259155, 0.256102055311203, -0.12208148837089539, -0.09052453190088272, 0.12663617730140686, -0.16853809356689453, 0.5724918246269226, 0.32165786623954773, -0.21108783781528473, 0.26086750626564026, -0.9137361645698547, 0.19599150121212006, 0.26666370034217834, -0.4118451178073883, -0.2420348823070526, 0.33678147196769714, -0.6364990472793579, -0.1811479777097702, 0.2937392592430115, -0.5562703609466553, 0.6277992725372314, -0.390074223279953, 0.630365252494812, 0.7120054364204407, 0.12855204939842224, 0.43074315786361694, -0.18872655928134918, 0.5906815528869629, -0.0070420666597783566, 0.18218424916267395, -0.10965236276388168, -0.5061814188957214, -0.7313998341560364, -0.2992578446865082, -0.10236161202192307, 0.20891188085079193, -1.2315673828125, 0.29852065443992615, -0.4267442226409912, -0.40833309292793274, -0.6470285654067993, 0.1963387280702591, 0.3453398644924164, 0.6773979067802429, 0.10781706869602203, -0.19876722991466522, -0.37313443422317505, -0.5643364787101746, -0.23249603807926178, -0.43374335765838623, 0.18073770403862, 0.40369218587875366, 0.5059682726860046, -0.600041389465332, 1.2965004444122314, -0.8571646213531494, -0.36182504892349243, -0.3983705937862396, 0.2618388533592224, 0.3374629318714142, 0.1787310689687729, 0.4682876169681549, -0.7447536587715149, -0.5046062469482422, 0.2804695963859558, -1.1925479173660278, -0.2960481345653534, 0.15261057019233704, -0.19009169936180115, 0.44581887125968933, 0.6845911145210266, -0.6427661776542664, 0.4404987692832947, 0.23251566290855408, -0.4580453932285309, 0.31807419657707214, -0.20357061922550201, -0.0022120520006865263, -0.8282016515731812, -0.1216360330581665, -0.36075830459594727, -0.43643829226493835, -0.7260606288909912, 0.2649003863334656, -0.17607653141021729, 0.24555961787700653, -0.23944874107837677, 0.6064940094947815, -0.3772600293159485, -0.3716251254081726, -0.4333963096141815, 0.47225329279899597, 0.057993289083242416, 0.6233218908309937, 0.05363588407635689, 0.5887047648429871, 0.5571042895317078, -0.6786186099052429, 0.7706789374351501, 0.2422456443309784, -0.6195969581604004, 0.709252655506134, -0.24995097517967224, 0.44838184118270874, -0.41296491026878357, 0.03008984960615635, -0.6032036542892456, -0.32419225573539734, 0.6186797618865967, -0.514186680316925, 0.09495317190885544, 0.06978771835565567, -0.5712634921073914, -0.15127988159656525, -0.15994319319725037, 0.2232009917497635, 0.16271165013313293, -0.7036840319633484, 1.2936989068984985, 0.11540917307138443, 0.07376522570848465, -0.5981845259666443, -0.48961323499679565, -0.07474689185619354, 0.3016194999217987, -0.5637861490249634, -0.07192641496658325, 0.15310196578502655, -0.6063917875289917, 0.4974926710128784, -0.07279373705387115, 0.2636832892894745, -0.006300149019807577, 0.18116886913776398, 0.04465484991669655, -0.27294692397117615, 0.12043651193380356, -0.12502062320709229, -0.1670839488506317, 0.18275323510169983, -0.7085872888565063, 0.6960698962211609, -0.009280024096369743, -0.6790474057197571, -0.32561615109443665, 0.09811874479055405, 0.7513483166694641, -0.23882444202899933, 0.872886061668396, 0.14987905323505402, -0.27919113636016846, -0.6487218141555786, -0.34112295508384705, 0.16779199242591858, -0.4792655110359192, 0.48953908681869507, -0.3343771994113922, -0.317639023065567, 0.40081897377967834, 0.014300801791250706, 0.010478866286575794, 0.2782256603240967, 0.23450691998004913, -0.2188238948583603, 1.1247212886810303, 0.637400209903717, -0.3408249616622925, 0.5435378551483154, -0.4888366758823395, 0.16366234421730042, -0.8958302736282349, -0.43437686562538147, -0.2416861206293106, -0.20942771434783936, -0.2940782606601715, -0.5241629481315613, 0.5361681580543518, -0.057491134852170944, -0.5486313700675964, -0.20894096791744232, -0.23990242183208466, 0.39032432436943054, 0.5612608194351196, 0.22207418084144592, 0.6329290270805359, -0.44588303565979004, 0.07907600700855255, 0.5032950043678284, -0.8028411269187927, -0.40338385105133057, 0.9707325100898743, 0.02115231193602085, 0.8357683420181274, 0.08461254835128784, 0.5169160962104797, 0.5521061420440674, 0.5423362255096436, -0.758237898349762, 0.8365384936332703, 0.24435412883758545, -0.2428313046693802, -0.5875359177589417, -0.48540806770324707, -0.8527055978775024, 0.2655956745147705, 0.09741431474685669, -0.7769500017166138, 0.11748988181352615, 0.008320658467710018, -0.07829272001981735, 0.3149383068084717, -0.651566743850708, 0.6683757901191711, -0.1475059688091278, -0.05718821659684181, -0.24046555161476135, -0.4026491343975067, 0.14120808243751526, 0.07574112713336945, 0.3167191445827484, 0.14060281217098236, -0.09686915576457977, 0.451096773147583, -0.7490290403366089, 1.1326406002044678, -0.44709739089012146, -0.2068583071231842, 0.5570775270462036, -0.047716327011585236, 1.012908935546875, -0.10562653094530106, 0.08229294419288635, -0.1161869540810585, -0.34919023513793945, -0.2767597436904907, -1.0339962244033813, 0.5900985598564148, -0.8634142875671387, -0.7086475491523743, -0.5173267722129822, -0.8150455355644226, -0.21612206101417542, 0.3457719683647156, -0.247761070728302, 0.2554023265838623, -0.13991987705230713, -0.2677612006664276, 0.3349226415157318, 0.029536403715610504, 0.24290622770786285, 1.0928411483764648, -0.7061959505081177, -0.359725683927536, 0.9059026837348938, 0.0731131061911583, 0.4713505506515503, 0.3743848204612732, 0.09942706674337387, -0.2253522127866745, -0.5328601598739624, -0.3520495295524597, 0.23873284459114075, -0.8625314235687256, -0.0211185272783041, -0.6154851317405701, -0.14679847657680511, -0.4796980023384094, -0.10209767520427704, -0.22453294694423676, 0.011090532876551151, -0.07826586067676544, -0.31999096274375916, 0.4143073260784149, 1.1107829809188843, 0.1261194348335266, 0.12452583014965057, -0.348868727684021, 0.469231516122818, 0.47132614254951477, 0.4107249081134796, 0.24985910952091217, -0.07511360943317413, -0.23679755628108978, -0.00573876965790987, -0.1438419669866562, -0.646029531955719, 0.3243350684642792, 0.026394404470920563, 0.7247962355613708, 0.7490350604057312, 0.14079992473125458, 0.46969375014305115, -0.20057444274425507, 0.5257605910301208, -0.24516582489013672, -0.8133567571640015, 0.5390868186950684, -0.3435664474964142, 0.31702080368995667, 0.11976653337478638, 0.07355235517024994, -0.4769730269908905, -0.6696933507919312, -0.3433414697647095, -0.44841063022613525, 0.9925332069396973, 0.09524346888065338, -0.4035343825817108, 0.0241620484739542, 0.4919475317001343, 0.0586443729698658, 0.4955252707004547, -0.21535862982273102, -0.2853119373321533, -0.10573335736989975, -0.13041625916957855, -0.3250354528427124, 0.06716899573802948, -0.13581717014312744, -0.03257349506020546, 0.5887812972068787, -0.5060199499130249, 0.11580970883369446, 0.4004446566104889, -0.17848926782608032, -0.08987096697092056, 0.009363415651023388, 0.35149529576301575, 0.649368405342102, -0.03356491029262543, 0.19906413555145264, 0.08231596648693085, -0.6599909663200378, -0.1302417814731598, 0.10839316993951797, -0.489952027797699, -0.4109540283679962, 0.6519054770469666, 0.6630770564079285, 0.039279695600271225, -0.8087510466575623, -0.02886170893907547, 0.23270848393440247, -0.098702572286129, -0.378398597240448, 0.3361395001411438, 0.2510605752468109, 0.9265803098678589, 0.3230895400047302, 0.0033169833477586508, -0.13637009263038635, -1.0055633783340454, -0.2222992479801178, 0.41393449902534485, -0.27183884382247925, -0.32982319593429565, 0.6823275685310364, 0.14926466345787048, -0.4951237738132477, 0.7130390405654907, -0.4515221416950226, -0.6108497381210327, 0.9662594199180603, 0.226872980594635, 0.751713216304779, -0.08578468859195709, 0.30463892221450806, -0.15242785215377808, 0.33559954166412354, 0.14237777888774872, 0.7964741587638855, -0.1532786339521408, -1.2925087213516235, -0.3341098725795746, -0.45380711555480957, -0.5953353643417358, -0.19824156165122986, -0.6455112099647522, -0.08528803288936615, -0.1632026880979538, 0.13765156269073486, 0.10057912021875381, 0.1205805167555809, -0.6132582426071167, 0.20316444337368011, -0.1590883433818817, 0.9293519258499146, -0.6090660691261292, 1.0071181058883667, 0.8726465106010437, -0.492885559797287, -0.5773459672927856, -0.17231538891792297, -0.1001611202955246, -1.1154626607894897, 0.675255298614502, -0.04768809303641319, -0.4652665853500366, 0.07689875364303589, -0.5523741245269775, -0.7005922198295593, 1.450244665145874, 0.44865578413009644, -0.20704467594623566, 0.18710587918758392, 0.20528095960617065, 0.6713263988494873, -0.6914859414100647, 0.05284285172820091, 0.9213240742683411, 0.7745369076728821, 0.04443351551890373, -0.5740992426872253, -0.09835927188396454, -0.09801885485649109, -0.3823257386684418, 0.43720194697380066, -0.811161458492279, 0.7655646800994873, -0.399679571390152, -0.10377607494592667, 0.05213809013366699, 0.764631986618042, 0.09077274799346924, 0.7722736597061157, 0.6976860761642456, 0.6254987716674805, 0.9934027791023254, 0.06291335076093674, 1.1939020156860352, -0.12165133655071259, 0.07880619168281555, 1.1699187755584717, -0.6878619194030762, 0.41454413533210754, 0.34482455253601074, -0.25677189230918884, 0.6468819975852966, 0.025321878492832184, 0.1876804381608963, 0.6318692564964294, -0.0383237823843956, -0.4213953912258148, -0.23634137213230133, -0.40704345703125, 0.055356670171022415, 0.36789238452911377, 0.3339478671550751, -0.31732332706451416, -0.19297172129154205, -0.03136223927140236, 0.05124377831816673, 0.3700907230377197, -0.5816816687583923, 0.891548752784729, -0.14440487325191498, -0.8774692416191101, 0.07840455323457718, -0.1236448809504509, 0.161521777510643, -0.7139423489570618, -0.28305912017822266, -0.2584349811077118, 0.3337896168231964, -0.22502686083316803, -0.7486429214477539, 0.21343423426151276, -0.0691487118601799, -0.27523452043533325, -0.2722574472427368, 0.5572967529296875, -0.18116895854473114, -0.3169522285461426, 0.5207698941230774, 0.6601031422615051, 0.10437352955341339, -0.06066127121448517, 0.06230870261788368, -0.03189895302057266, -0.1545003354549408, -0.32085758447647095, 0.258932501077652, 0.6557320356369019, -0.12422306090593338, 0.9980184435844421, 0.41360700130462646, 0.0784863829612732, -0.11375566571950912, 0.09076092392206192, 1.161366581916809, -0.5927708148956299, -0.5131597518920898, -0.6889916062355042, 0.22521109879016876, -0.11727716773748398, -0.14564228057861328, 0.5561126470565796, 0.49878111481666565, 0.8005505204200745, 0.14608973264694214, 1.0276950597763062, -0.15886972844600677, 0.5267257690429688, -0.644120454788208, 0.7264294028282166, -0.3971361815929413, 0.26240360736846924, 0.06942734122276306, -0.7045322060585022, 0.09999208152294159, 0.4116581380367279, -0.48867306113243103, 0.04222422093153, 0.5685185194015503, 0.6877580881118774, 0.24651391804218292, 0.16997429728507996, 0.2673283517360687, 0.7169556617736816, 0.5799199342727661, 0.519333004951477, 0.922521710395813, 0.030286578461527824, 0.5035930871963501, -0.06236552447080612, -0.24654749035835266, 0.01884574443101883, -0.8662037253379822, -0.9533886909484863, -0.40501895546913147, -0.2995220422744751, -0.034915171563625336, 0.115015409886837, 0.8223327398300171, 0.4142882227897644, -0.5617132782936096, 0.020514050498604774, -0.3647434115409851, 0.41346150636672974, -0.5479199886322021, -0.2697524130344391, 0.37090080976486206, -0.37213388085365295, -0.9233668446540833, 0.7758433222770691, 0.2603858709335327, -0.4408920705318451, -0.5128095746040344, -0.3190663158893585, -0.054243914783000946, 0.24291963875293732, 0.5851174592971802, 0.3794406056404114, -0.5924219489097595, -0.4509928226470947, -0.16306965053081512, 0.0748433992266655, -0.009533843025565147, 0.6365272998809814, -1.1197541952133179, 0.7396368384361267, 0.3956587314605713, 0.5813730359077454, 0.6627447009086609, -0.07471933960914612, 0.6979821920394897, -0.5181149840354919, -0.03725059702992439, 0.20962780714035034, 0.3734129071235657, -0.08606778085231781, -0.3490143120288849, 0.8519154191017151, 0.24721655249595642, -0.34303879737854004, -0.9031735062599182, 0.34583771228790283, -0.836794912815094, -0.16386468708515167, 0.9030048251152039, -0.22046349942684174, -0.189926877617836, -0.1984533965587616, -0.2658398449420929, 0.17189504206180573, -0.5152373909950256, 0.8104071617126465, 0.5293564200401306, -0.4454616904258728, -0.07094898074865341, -0.5658246278762817, 0.1404605358839035, -0.02782803401350975, -1.0769453048706055, -0.06590072810649872, 0.4221140444278717, 0.033241238445043564, 0.30440250039100647, 0.7589100003242493, 0.15197527408599854, 0.18677634000778198, 0.15694986283779144, 0.06663303077220917, -0.6266275644302368, -0.34521543979644775, -0.09506571292877197, 0.3089779317378998, 0.031065240502357483, -0.3813876509666443 ]
http://arxiv.org/abs/2404.07673v1
http://arxiv.org/pdf/2404.07673v1
Curated Datasets and Neural Models for Machine Translation of Informal Registers between Mayan and Spanish Vernaculars
2024-04-11T12:09:47
2024-04-11T12:09:47
Andrés Lou, Juan Antonio Pérez-Ortiz, Felipe Sánchez-Martínez, Víctor M. Sánchez-Cartagena
cs.CL
cs.CL, cs.LG
The Mayan languages comprise a language family with an ancient history, millions of speakers, and immense cultural value, that, nevertheless, remains severely underrepresented in terms of resources and global exposure. In this paper we develop, curate, and publicly release a set of corpora in several Mayan languages spoken in Guatemala and Southern Mexico, which we call MayanV. The datasets are parallel with Spanish, the dominant language of the region, and are taken from official native sources focused on representing informal, day-to-day, and non-domain-specific language. As such, and according to our dialectometric analysis, they differ in register from most other available resources. Additionally, we present neural machine translation models, trained on as many resources and Mayan languages as possible, and evaluated exclusively on our datasets. We observe lexical divergences between the dialects of Spanish in our resources and the more widespread written standard of Spanish, and that resources other than the ones we present do not seem to improve translation performance, indicating that many such resources may not accurately capture common, real-life language usage. The MayanV dataset is available at https://github.com/transducens/mayanv.
[ -0.15918928384780884, -0.21925067901611328, 0.2748037576675415, 0.2821939289569855, -0.25255221128463745, 0.17256216704845428, -0.564350426197052, -0.47254160046577454, 0.07013794034719467, 0.4928523600101471, -0.4028725028038025, -0.7229524850845337, -0.6420093774795532, 0.34556844830513, -0.3225671648979187, 0.9079570770263672, -0.04879860207438469, 0.24113953113555908, -0.14938704669475555, -0.4250613749027252, -0.11006683111190796, -0.37786197662353516, -0.25932541489601135, -0.15039080381393433, 0.5438961386680603, 0.035557474941015244, 0.8408745527267456, 1.1452902555465698, 0.3820469081401825, 0.2953069806098938, -0.19531433284282684, 0.3043659031391144, -0.42437830567359924, 0.13645441830158234, -0.1684989184141159, -0.3281823396682739, -0.3637976348400116, -0.13576443493366241, 0.4737086594104767, 0.9281598329544067, 0.04938910901546478, 0.40718016028404236, -0.03718750923871994, 0.1783328503370285, -0.6200669407844543, 0.48819345235824585, -0.42600497603416443, 0.08752874284982681, -0.5357411503791809, -0.09368700534105301, -0.06236277520656586, -0.765408992767334, 0.21853433549404144, -0.31340542435646057, 0.45241373777389526, -0.03604467585682869, 0.537176251411438, 0.3431960344314575, -0.6025644540786743, -0.3314440846443176, -0.734955906867981, 0.6927933096885681, -0.6254261136054993, 0.3075191080570221, 0.44251611828804016, 0.17610274255275726, -0.2350430190563202, -0.6951117515563965, -0.32825204730033875, -0.32514679431915283, -0.015857283025979996, 0.09138476103544235, -0.3994365930557251, 0.03518671914935112, -0.20216608047485352, 0.4706418216228485, -0.519518256187439, 0.1543530374765396, -0.6030461192131042, -0.21952494978904724, 0.49068528413772583, 0.3973641097545624, 0.17446890473365784, -0.1587139368057251, -0.1269637793302536, -0.1380372792482376, -0.8171581029891968, -0.14735089242458344, 0.6447176337242126, 0.6079319715499878, -0.08042442053556442, 0.7387197613716125, -0.14705577492713928, 0.9911755323410034, -0.43023014068603516, -0.18698370456695557, 0.27553853392601013, -0.7318421602249146, -0.17717494070529938, -0.1356869637966156, 0.7777433395385742, 0.07185116410255432, 0.11784236878156662, -0.4706234037876129, -0.5046923160552979, -0.021782968193292618, 0.1900341510772705, -0.4287540912628174, -0.10916619747877121, -0.0869082659482956, -0.40083763003349304, -0.27320125699043274, -0.001444379799067974, -0.5846372842788696, -0.4226457476615906, -0.6337214708328247, -0.013390988111495972, -0.030158361420035362, -0.3445470929145813, 0.05733976885676384, 0.06263720989227295, -0.0006457999115809798, 0.2584437131881714, -0.6055132150650024, 0.6255191564559937, 0.6560930013656616, 1.1452568769454956, -0.250683456659317, -0.05856526270508766, 0.08696805685758591, -0.30204710364341736, -0.5086348056793213, 0.42713648080825806, -0.3557210862636566, -0.3242911398410797, 0.3211350440979004, 0.07629036158323288, -0.015124521218240261, -0.6838140487670898, 0.2695249617099762, -0.6826566457748413, -0.026891984045505524, -0.17330752313137054, 0.019541965797543526, -0.001307024504058063, 0.09213846176862717, -0.8422523140907288, 1.0446385145187378, 0.2844076454639435, -0.3473508059978485, 0.07554472982883453, -0.1663680225610733, -0.4263363480567932, -0.19313110411167145, 0.04040206968784332, 0.03880154341459274, 0.2227218896150589, 0.06250003725290298, 0.560112476348877, -0.5239101648330688, 0.3761621117591858, -0.09670881927013397, -0.12114041298627853, 0.32461562752723694, -0.4849703013896942, 0.8164211511611938, 0.5914030075073242, -0.2835976481437683, -0.07249820977449417, -0.6918410062789917, -0.33683353662490845, -0.05660491809248924, -0.175550177693367, -0.604747474193573, -0.2362578809261322, 0.3591988980770111, 0.3764488101005554, 0.36003223061561584, -0.4577532708644867, 0.3351728916168213, -0.3950178325176239, 0.1464201956987381, 0.6896272897720337, -0.30918076634407043, 0.6454412341117859, -0.2939836382865906, 0.5300349593162537, 0.13657225668430328, -0.11219536513090134, -0.05792386829853058, -0.48307004570961, -0.7232614755630493, -0.18499895930290222, 0.37287506461143494, 0.3343783915042877, -0.5215874314308167, 0.13669221103191376, -0.7867733836174011, -0.3734736144542694, -0.7699595093727112, 0.16046759486198425, 0.43726402521133423, 0.5493395328521729, 0.42463961243629456, -0.25336694717407227, -0.6398530006408691, -0.8313548564910889, 0.40598541498184204, -0.14537525177001953, -0.22563043236732483, 0.43110761046409607, 0.28059622645378113, -0.030969377607107162, 0.8623912930488586, -0.3073579668998718, -0.33160075545310974, 0.027583323419094086, 0.14093026518821716, 0.14612601697444916, 0.4281846284866333, 0.42014792561531067, -0.5103501081466675, -0.01665044017136097, 0.43758824467658997, -0.5459825396537781, -0.34026220440864563, -0.10178418457508087, 0.17519629001617432, 0.29905107617378235, 0.5328413844108582, -0.06620923429727554, 0.34066158533096313, 0.7747218012809753, -0.05590460076928139, 0.2502298653125763, -0.20318859815597534, 0.00991145335137844, -1.3049144744873047, 0.312968909740448, -0.11420443654060364, -0.22387592494487762, -0.45449790358543396, 0.010317753069102764, -0.05821935832500458, 0.14022357761859894, -0.5998182892799377, 0.7316888570785522, -0.6907584071159363, -0.1941627413034439, -0.17702633142471313, -0.016666186973452568, -0.16033615171909332, 0.3243591785430908, 0.38975274562835693, 0.8310710787773132, 0.16736853122711182, -0.5762224197387695, 0.6531952619552612, 0.08775322884321213, -0.33691731095314026, 0.08263929933309555, -0.6825875639915466, 0.34533074498176575, -0.1328846961259842, 0.12201917171478271, -0.6560764312744141, -0.23411007225513458, 0.44633224606513977, -0.21109163761138916, 0.2763252556324005, -0.5041126012802124, -0.44970637559890747, -0.05324316397309303, 0.011593179777264595, 0.5150424242019653, 0.24553422629833221, -0.3353074789047241, 0.21277590095996857, 0.4184192419052124, -0.3305484354496002, -0.791154146194458, -0.968124508857727, 0.211604505777359, 0.11218384653329849, -0.7351406216621399, 0.2501440644264221, 0.36242160201072693, -0.515708327293396, 0.2692388892173767, -0.11051272600889206, -0.23505562543869019, -0.15858545899391174, 0.19943735003471375, 0.4351314604282379, -0.7577980756759644, 0.1457597315311432, 0.02111748605966568, 0.2299736738204956, -0.014364496804773808, -0.8430720567703247, 0.4925600588321686, -0.3843100070953369, -0.17778444290161133, 0.04109732061624527, 0.13243331015110016, 0.5336124897003174, -0.2186397910118103, 1.018196702003479, 0.40840885043144226, -0.5245416164398193, -0.0462297685444355, -0.7103338837623596, 0.09784776717424393, -0.3288393020629883, 0.25803616642951965, -0.45242005586624146, -0.5364288687705994, 0.8564834594726562, -0.09152950346469879, -0.13803675770759583, 0.30753093957901, 0.7642782330513, 0.24148479104042053, 0.48144233226776123, 0.4048832058906555, -0.13860103487968445, 0.4218484163284302, -0.5151709914207458, -0.21922904253005981, -0.8072016835212708, -0.6106212735176086, -0.8090422749519348, -0.30934008955955505, -0.6813153028488159, -0.8055862784385681, 0.15122798085212708, -0.431319922208786, 0.10665930062532425, 0.7304645776748657, -0.12674768269062042, 0.5000672340393066, 0.6448084115982056, -0.1710139513015747, 0.41991275548934937, -0.21158616244792938, -0.26296839118003845, -0.0979166179895401, -0.6654464602470398, -0.6704275012016296, 1.1182856559753418, 0.008312763646245003, 0.8176407217979431, 0.2763868272304535, 0.4544176161289215, 0.4021049737930298, 0.2022397816181183, -0.8473429083824158, 0.12694333493709564, -0.1635395884513855, -0.3793676495552063, -0.049353647977113724, -0.4786439538002014, -1.2478268146514893, 0.12674322724342346, 0.06037871167063713, -0.376292884349823, 0.6993009448051453, -0.2088942527770996, -0.3343345522880554, 0.18158632516860962, -0.5720000863075256, 0.9384844303131104, -0.002000146545469761, -0.3491515815258026, 0.037311237305402756, -0.728704035282135, 0.2902452349662781, 0.01810741052031517, -0.04741762951016426, -0.00821500550955534, -0.4761936366558075, 0.30327075719833374, -0.3365824520587921, 0.92798912525177, 0.39718106389045715, -0.016174284741282463, 0.2647804617881775, 0.37542325258255005, 0.33072835206985474, 0.040212422609329224, -0.203111469745636, 0.5293294787406921, 0.06836447864770889, -0.5043109655380249, -0.44235292077064514, 0.6059542298316956, -1.1369706392288208, -0.1960773915052414, -0.7188640832901001, -0.4811573922634125, 0.16982778906822205, 0.041072167456150055, 0.2963888943195343, 0.5052038431167603, -0.6919970512390137, 0.04086478427052498, 0.5156534314155579, 0.051202911883592606, 0.30874761939048767, 0.32651486992836, 0.15149790048599243, -0.22945135831832886, 0.8239915370941162, 0.272926390171051, 0.1600591391324997, 0.15170007944107056, 0.10093120485544205, -0.48916077613830566, -0.6746537685394287, -0.6323604583740234, 0.027723899111151695, -0.7406451106071472, -0.32880038022994995, -0.6302706599235535, -0.09537462145090103, -0.7441784143447876, -0.11975067108869553, -0.5304500460624695, -0.6649163365364075, -0.397291898727417, -0.04962708801031113, 0.09412278234958649, 0.9536114931106567, -0.09242451190948486, 0.09088978916406631, -0.6343824863433838, 0.04252452403306961, 0.10172896087169647, -0.02241591177880764, -0.03273460641503334, -0.5771085619926453, -0.2172233611345291, 0.10129883140325546, 0.24021290242671967, -0.7863323092460632, 0.6660974621772766, 0.08343932777643204, 0.4369160532951355, 0.40512681007385254, 0.07229071855545044, 0.713647723197937, -0.40342217683792114, 0.5060941576957703, -0.20867140591144562, -0.7126836776733398, 0.3368268311023712, -0.506544291973114, 0.32458436489105225, 0.5140140056610107, 0.38347283005714417, -1.2239545583724976, -0.5040056109428406, -0.44073355197906494, -1.0113815069198608, 0.9266483187675476, 0.29130345582962036, 0.5256624817848206, -0.20858405530452728, 0.061015695333480835, 0.28511732816696167, 0.2723701596260071, -0.47068843245506287, -0.2697223424911499, -0.415283203125, -0.27035266160964966, 0.13489285111427307, 0.3022999167442322, -0.0874134972691536, -0.11253967136144638, 0.4967672824859619, -0.06796106696128845, 0.03417650982737541, 0.1503741294145584, -0.4445502758026123, 0.1760709285736084, 0.013919509015977383, 0.6240711212158203, 0.5548189282417297, -0.1317370980978012, 0.5122898817062378, 0.06586194038391113, -0.8176469206809998, 0.05014035478234291, 0.12910741567611694, -0.4669035077095032, 0.14108048379421234, 0.3180486559867859, 0.7261876463890076, 0.10265728831291199, -0.33761081099510193, 0.3912190794944763, 0.010236394591629505, 0.46582937240600586, -0.48914170265197754, -0.15802621841430664, 0.12767727673053741, 0.1240142434835434, 0.17999911308288574, 0.6428999304771423, 0.1326543390750885, -0.5078014135360718, -0.23390169441699982, -0.10270670056343079, -0.29649218916893005, -0.5366249084472656, 0.5602021217346191, 0.29301753640174866, -0.18546795845031738, 0.7142003178596497, -0.33543121814727783, -0.22984309494495392, 0.6725148558616638, 0.4808513820171356, 0.870755672454834, 0.0384756438434124, 0.27279043197631836, 0.5026834011077881, 0.4267345070838928, -0.3906991183757782, -0.2569811940193176, -0.19243046641349792, -0.6493160128593445, -0.21683983504772186, -0.6066471338272095, -0.3464643359184265, 0.23850908875465393, -0.5751376748085022, 0.24758093059062958, -0.29672515392303467, -0.14959125220775604, -0.24943003058433533, -0.0523904487490654, -0.8646228909492493, -0.128093883395195, 0.315643310546875, 0.6567953824996948, -0.862665057182312, 0.8432660102844238, 0.4774405360221863, -0.6670729517936707, -0.19082900881767273, -0.12102164328098297, 0.2922329306602478, -0.7130969762802124, 0.7978443503379822, -0.38762566447257996, -0.32791686058044434, -0.12424026429653168, -0.27562615275382996, -1.0265016555786133, 0.9137768149375916, 0.48277947306632996, -0.2902638018131256, 0.005769066978245974, 0.37041425704956055, 0.9172500967979431, -0.4204738438129425, 0.2936509847640991, 0.47913798689842224, 0.33153995871543884, 0.10729304701089859, -0.8187212347984314, 0.017248284071683884, -0.44074565172195435, 0.441525399684906, -0.020383641123771667, -0.42093273997306824, 0.6347626447677612, -0.053705472499132156, -0.30440035462379456, 0.2484162300825119, 0.744915783405304, -0.2175871878862381, 0.13354647159576416, -0.09298224747180939, 0.0422649011015892, 0.8837230801582336, -0.34078434109687805, 1.0299168825149536, -0.037521012127399445, -0.13883532583713531, 1.3260841369628906, -0.06169213354587555, 0.6177791953086853, 0.4441744387149811, 0.014153516851365566, 0.20845651626586914, 0.7851896286010742, -0.1545436978340149, 0.3441810607910156, 0.47532913088798523, -0.7483931183815002, -0.04342789202928543, -0.5910320281982422, -0.3848288357257843, 0.6048665046691895, 0.2940020263195038, -0.5154549479484558, -0.06331584602594376, -0.17347663640975952, 0.32206958532333374, 0.15887048840522766, -0.29698336124420166, 0.5636878609657288, 0.07948390394449234, -0.8081604242324829, 0.4298599064350128, 0.2853303849697113, 0.5393881797790527, -0.5591449737548828, 0.240495964884758, -0.6845008134841919, 0.14815586805343628, -0.1303814798593521, -0.4640573263168335, 0.5790725350379944, 0.18513546884059906, -0.06630740314722061, -0.32036292552948, 0.5714951157569885, -0.5655075311660767, -0.4608367085456848, 0.12169697135686874, 0.9720584750175476, 0.20594163239002228, 0.14560599625110626, -0.2872946262359619, -0.20321735739707947, -0.4422503113746643, -0.201496884226799, 0.12098301202058792, 0.575482189655304, -0.5521494150161743, 0.42715680599212646, 0.7897624969482422, 0.5832733511924744, 0.5749271512031555, 0.3302399516105652, 0.79390549659729, -0.4224312901496887, -0.17899182438850403, -0.712398886680603, 0.08246393501758575, 0.023774469271302223, -0.6454411149024963, 0.6283409595489502, 0.7463131546974182, 1.214988350868225, -0.2747883200645447, 0.4748772382736206, -0.036456312984228134, -0.26680228114128113, -0.43084871768951416, 0.8702807426452637, -0.22380180656909943, 0.21658232808113098, -0.09967935085296631, -0.9616847634315491, -0.5155333876609802, 0.48243048787117004, -0.12068074196577072, -0.17691104114055634, 0.6273281574249268, 0.9286255836486816, -0.35942593216896057, -0.21511898934841156, 0.32931408286094666, 0.17637203633785248, -0.048370201140642166, 0.18914374709129333, 0.7071711421012878, -0.33237433433532715, 0.9069865942001343, -0.42840829491615295, 0.12908166646957397, -0.10604440420866013, -0.8316936492919922, -0.6561843752861023, -0.8488590121269226, -0.22338047623634338, -0.5011014938354492, 0.1920066624879837, 1.328430414199829, 0.6066333055496216, -0.9177473783493042, -0.4917837381362915, 0.06671181321144104, 0.2375003695487976, -0.22518575191497803, -0.1037987470626831, 0.39456236362457275, -0.29435667395591736, -1.111095905303955, 0.4812798500061035, 0.20760026574134827, 0.289217472076416, -0.5002334713935852, -0.06298808008432388, -0.04945971816778183, -0.08583089709281921, 0.2856505513191223, 0.432495653629303, -0.64390629529953, 0.008582589216530323, 0.6513509154319763, -0.6477529406547546, 0.16097967326641083, 0.8762812614440918, -0.8450117111206055, 0.6433038115501404, 0.8059470057487488, 0.578821063041687, 0.5231583714485168, -0.2902628183364868, 0.6872490048408508, -1.1150649785995483, 0.4587996304035187, 0.598778247833252, 0.39766067266464233, 0.5810596346855164, -0.0855853483080864, 0.7273783087730408, 0.4876464605331421, -0.15022709965705872, -0.5215433239936829, -0.014464656822383404, -0.7470598816871643, 0.045963626354932785, 1.3121134042739868, -0.2927086651325226, -0.5329446792602539, -0.7700332999229431, -0.06505550444126129, 0.6385547518730164, -0.32781529426574707, 0.9024447202682495, 0.7100157141685486, 0.4481549561023712, 0.25551173090934753, -0.4970165193080902, 0.5216144919395447, -0.032898109406232834, -0.377875953912735, 0.021230796352028847, 0.6604243516921997, 0.15429429709911346, 0.30491724610328674, 0.6531505584716797, -0.3583871126174927, 0.23702864348888397, 0.13389062881469727, 0.0978558287024498, -0.3444673717021942, -0.2130497545003891, -0.5225205421447754, -0.20626486837863922, -0.2537001669406891, -0.11453904211521149 ]
http://arxiv.org/abs/2404.07654v1
http://arxiv.org/pdf/2404.07654v1
rollama: An R package for using generative large language models through Ollama
2024-04-11T11:37:18
2024-04-11T11:37:18
Johannes B. Gruber, Maximilian Weber
cs.CL
cs.CL
rollama is an R package that wraps the Ollama API, which allows you to run different Generative Large Language Models (GLLM) locally. The package and learning material focus on making it easy to use Ollama for annotating textual or imagine data with open-source models as well as use these models for document embedding. But users can use or extend rollama to do essentially anything else that is possible through OpenAI's API, yet more private, reproducible and for free.
[ -0.35841289162635803, -0.9933853149414062, 0.3227218687534332, -0.13032467663288116, -0.25986534357070923, 0.16789281368255615, 0.010638675652444363, -0.3957374691963196, 0.5610748529434204, 1.0667030811309814, -0.2377077341079712, -0.7239762544631958, -0.43240392208099365, -0.18154357373714447, -0.22268570959568024, 1.186247706413269, -0.4108825623989105, -0.13518738746643066, 0.04752020165324211, -0.5853508710861206, -0.42226991057395935, -0.28663361072540283, -0.3856790363788605, -0.34437814354896545, 0.8430619239807129, 0.5133017301559448, 1.0712065696716309, 0.4754905104637146, 0.9494907259941101, 0.24824465811252594, 0.05851622298359871, 0.2920216917991638, -0.29200637340545654, 0.1579810231924057, -0.1178896352648735, -1.0274887084960938, -0.6797766089439392, -0.03226979449391365, 0.6529949903488159, 0.30586618185043335, -0.3316291570663452, 0.6129657030105591, -0.6246374845504761, 0.7221103310585022, -0.9725044965744019, -0.09587772935628891, -0.2889167368412018, 0.1050981655716896, -0.5390147566795349, -0.2724404036998749, -0.3084770441055298, -0.7942217588424683, -0.18799981474876404, -0.6657852530479431, -0.09792426228523254, 0.2993902862071991, 0.926398754119873, 0.4752807319164276, -0.1875271201133728, -0.9860427379608154, -0.9516400098800659, 0.7882508039474487, -0.6677694320678711, -0.21328867971897125, 0.5330663323402405, 0.699587881565094, -0.35692742466926575, -0.44103196263313293, -0.6798858642578125, -0.3415433466434479, 0.12591974437236786, 0.08744088560342789, 0.08764544129371643, -0.0712720975279808, 0.2934381365776062, 0.9634604454040527, -0.896966814994812, 0.38872966170310974, -0.8109204769134521, 0.5403540134429932, 0.6002695560455322, 0.22605951130390167, 0.9981999397277832, 0.033149462193250656, -0.813877522945404, -0.29940229654312134, -0.8947007656097412, -0.4238082468509674, 0.767104983329773, 0.27089980244636536, -0.5294568538665771, 1.0771634578704834, 0.3122982978820801, 0.7546484470367432, -0.7479159235954285, -0.31777262687683105, 0.502767026424408, 0.1999935507774353, -0.5629924535751343, -0.061489056795835495, 0.7763856053352356, -0.03490152209997177, 0.2084677666425705, 0.10098931193351746, -0.2685503661632538, 0.3383331000804901, 0.31984373927116394, -0.6068577766418457, -0.1404554396867752, 0.7009923458099365, -0.6990205645561218, -0.08930731564760208, 0.30845239758491516, -1.234938144683838, -0.3127330541610718, -0.28529882431030273, 0.4466557502746582, -0.37896043062210083, -0.5818521976470947, 0.23873545229434967, -0.01808151789009571, 0.27465200424194336, 0.006391050294041634, -0.6528176069259644, 0.18520736694335938, 0.7727339863777161, 1.2886974811553955, -0.22407743334770203, -0.26033419370651245, -0.8686214089393616, 0.3411506712436676, -0.528552770614624, 1.0068058967590332, -0.7440672516822815, -0.6438230872154236, 0.42747992277145386, -0.2008516639471054, -0.061629265546798706, -0.7570019960403442, 0.538076639175415, -0.6744955778121948, 0.40552133321762085, 0.21620622277259827, -0.5181256532669067, -0.616868257522583, -0.1046803817152977, -0.9030510783195496, 1.0796000957489014, 0.2998316287994385, -0.48713648319244385, 0.33036211133003235, -1.2728968858718872, -0.1640036553144455, 0.3137202858924866, -0.036730602383613586, -0.5324676632881165, 0.2054906189441681, -0.08009497076272964, 0.4369905889034271, -0.21263141930103302, 0.29255592823028564, -0.49531570076942444, -0.40425607562065125, 0.4553748071193695, 0.16707293689250946, 0.9578193426132202, 0.6969741582870483, -0.03653275594115257, 0.5048367977142334, -1.0064711570739746, -0.11441569775342941, 0.1108398288488388, -0.24580910801887512, -0.820405900478363, -0.2547183632850647, 0.22673511505126953, -0.05506686866283417, -0.06397218257188797, -0.24315385520458221, 0.8222658634185791, -0.20665757358074188, 0.2397472858428955, 0.526508629322052, -0.33817258477211, 0.5134902000427246, -0.32362473011016846, 1.0373375415802002, 0.18648679554462433, -0.036771975457668304, -0.399574875831604, -0.8226876258850098, -0.8506975173950195, -0.6810447573661804, 0.09487903863191605, 0.6666459441184998, -0.9711951613426208, 0.1941661536693573, -0.15905626118183136, -0.5029462575912476, -0.9660506844520569, 0.38002705574035645, 0.4379752576351166, -0.10468192398548126, 0.5333728194236755, -0.21723583340644836, -0.5482721328735352, -0.7708476781845093, 0.46157172322273254, -0.019248351454734802, -0.2850528061389923, -0.3883304297924042, 0.9663212895393372, -0.6871383786201477, 1.0936415195465088, -0.917324423789978, -1.0624985694885254, -0.2297976016998291, 0.6276689767837524, 0.19443362951278687, 0.24045993387699127, 0.6797291040420532, -0.8035111427307129, -0.3172045648097992, 0.20411942899227142, -0.9260414838790894, -0.09176921844482422, 0.09923845529556274, -0.015499643050134182, 0.6699721217155457, 0.1394365429878235, -0.6251600384712219, 0.49783840775489807, 1.1193084716796875, -0.2707466185092926, 0.37081998586654663, -0.5762934684753418, -0.0736452043056488, -1.4164464473724365, 0.24871981143951416, -0.25042110681533813, -0.005567086860537529, -0.539763331413269, 0.6114891767501831, -0.3055630624294281, -0.19320887327194214, -0.2978067696094513, 0.8893620371818542, -0.6204698085784912, -0.2786000072956085, -0.5384945273399353, 0.24881614744663239, -0.3293435871601105, 0.2507665157318115, 0.011578244157135487, 1.0365278720855713, 0.42112234234809875, -0.6607315540313721, -0.006404292769730091, 0.4107814431190491, -0.5754361152648926, 0.6616169810295105, -0.5116536021232605, 0.47190409898757935, -0.2908802330493927, 0.19333519041538239, -0.7197880148887634, -0.4804796874523163, 0.6016448736190796, -0.2525324821472168, 0.0660647302865982, 0.037645671516656876, -0.14311760663986206, -0.3494669497013092, -0.5652818083763123, 0.323058545589447, 0.6391098499298096, -0.6955316662788391, 1.1349281072616577, 0.8130620121955872, 0.21354332566261292, -0.5570893883705139, -0.846716582775116, -0.003067952347919345, -0.5737653970718384, -0.2864602208137512, 0.04249245673418045, -0.21294093132019043, -0.7063595056533813, 0.11207018047571182, 0.750720739364624, -0.15668036043643951, -0.2390124499797821, 0.801723301410675, 0.4271685481071472, -0.5006265044212341, -0.03845420852303505, -0.3504653573036194, -0.39453452825546265, -0.3145626485347748, 0.23187853395938873, 0.7527124285697937, -0.09982623159885406, -0.27423378825187683, -0.1599932461977005, 0.43512624502182007, 0.3534663915634155, -0.37618738412857056, 1.001896858215332, 0.804884135723114, -0.16678090393543243, -0.6807578802108765, -0.4488673210144043, 0.4652062952518463, -0.4819384813308716, -0.060508087277412415, -0.3126942217350006, -0.8501511812210083, 0.7113016843795776, 0.3629685938358307, 0.17142781615257263, 0.22246800363063812, 0.7382226586341858, 0.016228454187512398, 0.46342599391937256, 0.5741178393363953, -0.3203105032444, 0.18773800134658813, -0.41634562611579895, 0.12965039908885956, -1.0825806856155396, -0.06487425416707993, -0.9182218313217163, -0.18871310353279114, -0.4114534854888916, -1.074465036392212, 0.05860205739736557, 0.11833570152521133, -0.2831763029098511, 0.23640623688697815, -0.5898094177246094, 0.29083168506622314, 0.6937417984008789, -0.31641533970832825, 0.5656529664993286, -0.01937425136566162, 0.4614221155643463, 0.36719247698783875, -0.43755042552948, -0.8571091890335083, 1.0946760177612305, 0.5646024346351624, 1.2501920461654663, 0.3188035190105438, 0.6575416922569275, 0.31478145718574524, 0.7488560676574707, -0.8951860070228577, 0.6477529406547546, -0.34112924337387085, -0.44708529114723206, 0.06108161062002182, -0.40166744589805603, -1.1649483442306519, -0.018183954060077667, 0.08327416330575943, -0.789955198764801, -0.005238826386630535, 0.045798178762197495, -0.2578721344470978, 0.6889997720718384, -0.6906659007072449, 0.4263164699077606, 0.023734070360660553, 0.43307894468307495, -0.21455290913581848, -0.16432249546051025, 0.772083580493927, 0.16845794022083282, 0.37904685735702515, -0.33215731382369995, -0.2488187700510025, 0.73674476146698, -0.2456844002008438, 0.9043567180633545, -0.1436547338962555, -0.46226319670677185, 0.6890284419059753, 0.2021280974149704, 0.16964761912822723, -0.08162487298250198, 0.1736840307712555, 0.4605124592781067, -0.1961335390806198, -0.09509343653917313, -0.5529387593269348, 0.71957927942276, -0.8389847874641418, -0.2797904312610626, -0.6101755499839783, -0.6372823715209961, 0.23982878029346466, -0.10031598061323166, -0.12366870790719986, 0.4329832196235657, 0.07140244543552399, 0.21662300825119019, 0.658181369304657, -0.462013304233551, 0.34529244899749756, 0.5009658336639404, -1.088636875152588, -0.5104771256446838, 0.925866425037384, 0.22258062660694122, 0.2893543839454651, 0.4849375784397125, 0.17658132314682007, -0.1913289576768875, -0.5384994745254517, -0.5408912897109985, 0.24209418892860413, -0.7934773564338684, -0.26167094707489014, -0.6407297849655151, -0.10456628352403641, 0.13276554644107819, -0.39407098293304443, -0.2397594153881073, -0.16078892350196838, -0.20156243443489075, -0.025970980525016785, 0.5705486536026001, 1.169498324394226, 0.030608393251895905, 0.4870947003364563, -0.7576859593391418, 0.7966218590736389, 0.17666363716125488, 0.3380119204521179, -0.13977418839931488, -0.2354028970003128, -0.06915802508592606, -0.019057445228099823, 0.0001925977412611246, -0.6907129883766174, 0.40420854091644287, 0.1608726531267166, 0.3984472155570984, 0.4890621602535248, -0.06850097328424454, 0.5978385210037231, -0.21319694817066193, 0.8987507224082947, 0.08824031054973602, -0.648415207862854, 0.6733535528182983, -0.5265530943870544, 0.4916898310184479, 0.237543523311615, 0.6794720888137817, -0.22276520729064941, -0.3725259006023407, -0.12780937552452087, -0.7785398960113525, 0.44244590401649475, -0.09650633484125137, 0.09527517110109329, -0.04889601469039917, 0.1362161487340927, 0.2920832335948944, -0.04862052947282791, -0.6362612247467041, -0.15333224833011627, 0.07260708510875702, -0.3712417185306549, -0.14732429385185242, -0.5987454056739807, -0.45177924633026123, 0.4806503653526306, 0.7809129953384399, -0.36365288496017456, 0.22171492874622345, -0.07897201180458069, -0.16309058666229248, -0.282341331243515, 0.12194042652845383, 0.8238787651062012, 0.7737528085708618, -0.2586517632007599, 0.07716390490531921, -0.0679432675242424, -0.8460262417793274, 0.14040710031986237, -0.2757776379585266, -0.5434232950210571, -0.0043907808139920235, 0.31981927156448364, 1.020389437675476, 0.2382071614265442, -0.8781545758247375, -0.1387414038181305, 0.2546112835407257, 0.05577652156352997, -0.6316290497779846, 0.37354016304016113, -0.0058137839660048485, 0.075236015021801, 0.4842270016670227, -0.3621535897254944, -0.0854826271533966, -0.8102264404296875, -0.20243971049785614, 0.3557679057121277, -0.1745063215494156, -0.2754841446876526, 0.6902849078178406, -0.1381322741508484, -0.7473272681236267, 0.40695738792419434, -0.029505066573619843, -0.1511334329843521, 0.59025639295578, 0.5719402432441711, 1.079792857170105, -0.6503725051879883, 0.895727813243866, 0.4418179988861084, 0.1942201554775238, -0.10086751729249954, 0.5074385404586792, 0.4482343792915344, -0.6805326342582703, -0.33574482798576355, -0.9697434902191162, -0.7320369482040405, 0.14569522440433502, -0.7304238080978394, 0.4887616038322449, -0.34236910939216614, -0.04600697010755539, -0.03415132686495781, -0.35558441281318665, -0.40049508213996887, 0.1553766280412674, 0.12608981132507324, 0.8472753167152405, -0.4350399971008301, 1.0529510974884033, 0.8934086561203003, -0.8703871369361877, -0.7392638921737671, -0.1859401911497116, 0.042875129729509354, -0.8643757700920105, 0.789536714553833, 0.2954839766025543, -0.4686005115509033, -0.5375598669052124, -0.28977546095848083, -0.8083353042602539, 0.9237939715385437, 0.08794478327035904, -0.2619249224662781, 0.1529870182275772, 0.5243905782699585, 0.6115143299102783, -0.5500277280807495, 0.4079798758029938, 0.11189588159322739, 0.45368391275405884, 0.17074935138225555, -0.7110322117805481, -0.16575543582439423, 0.12584802508354187, 0.41971778869628906, 0.35226279497146606, -0.6181410551071167, 0.9821732044219971, -0.23283375799655914, -0.40369081497192383, 0.2761726975440979, 0.8826718330383301, 0.4538591504096985, 0.3548624813556671, 0.3052363097667694, 0.7812963128089905, 0.8044437766075134, -0.07058954238891602, 1.107633352279663, 0.0076289488933980465, 0.40243449807167053, 1.356648325920105, -0.7026268243789673, 1.3590071201324463, 0.255265474319458, -0.3207070827484131, 0.8926690220832825, 0.12524084746837616, 0.05394958332180977, 0.11543925106525421, 0.05931760370731354, -0.1802072674036026, 0.38419169187545776, 0.15273208916187286, -0.5786293745040894, 0.6792179942131042, 0.4854670464992523, -0.08804868906736374, -0.09834584593772888, 0.4566427767276764, 0.32744836807250977, 0.17900852859020233, -0.625140905380249, 0.5029849410057068, 0.3256762623786926, -0.670101523399353, 0.47057631611824036, -0.22096963226795197, 0.9480723738670349, -0.9734217524528503, -0.15059998631477356, -0.19841936230659485, 0.49316728115081787, -0.3224979043006897, -1.0254665613174438, 0.8958190083503723, -0.21569718420505524, 0.058113377541303635, 0.12359358370304108, 0.775109589099884, -0.48801910877227783, -0.4882037341594696, 0.5266554951667786, 0.0550399124622345, 0.16731412708759308, 0.3177950084209442, -0.551315426826477, 0.4180563688278198, -0.3978116512298584, -0.5055351853370667, 0.4058185815811157, -0.11181572824716568, -0.1691923588514328, 1.2533667087554932, 0.7669623494148254, -0.03538346290588379, 0.00996040552854538, 0.05308770388364792, 0.7273848056793213, -0.5886192917823792, -0.43108972907066345, -0.6202810406684875, 0.5263112783432007, 0.04166799038648605, -0.6057511568069458, 0.9373859167098999, 0.5866245627403259, 0.6150093674659729, -0.6792380809783936, 0.4545828700065613, -0.3732184171676636, 0.5783067941665649, -0.9461035132408142, 0.77664715051651, -0.5204263925552368, -0.07115580141544342, -0.02064448781311512, -1.196773648262024, -0.3777537941932678, 0.6759275794029236, -0.26501038670539856, -0.22575372457504272, 0.5833475589752197, 0.9701414704322815, -0.035416413098573685, 0.19543017446994781, 0.32178086042404175, 0.1259821355342865, 0.31434836983680725, 0.2964329421520233, 0.7429192066192627, -0.15006552636623383, 0.1632126420736313, 0.10745958238840103, -0.3552098572254181, -0.17740270495414734, -0.8245730400085449, -1.3613091707229614, -0.8429048657417297, -0.3617941439151764, -0.3439841866493225, 0.03569016978144646, 0.9444984793663025, 0.5557290315628052, -1.1028395891189575, -0.5044056177139282, 0.3738824427127838, 0.07026071846485138, -0.024053195491433144, -0.2805907130241394, 0.45988839864730835, -0.3895646631717682, -1.0332337617874146, 0.4959731101989746, 0.5880069136619568, -0.0542873740196228, -1.0469143390655518, -0.12617024779319763, -0.37570759654045105, 0.10467147827148438, 0.4663250744342804, 0.6059426665306091, -0.502728283405304, -0.2168084681034088, -0.47764280438423157, 0.0007067464757710695, 0.1684415340423584, 0.81258624792099, -0.6630033850669861, 0.4295983612537384, 0.5076851844787598, 0.43173351883888245, 0.27049848437309265, -0.15475842356681824, 0.6730992794036865, -0.2435484677553177, 0.690629243850708, 0.07345733791589737, 0.23723895847797394, 0.19913840293884277, -0.1780671328306198, 1.0244460105895996, -0.3937529921531677, -0.7737486958503723, -1.0573514699935913, 0.1457912027835846, -1.3201197385787964, -0.11678960174322128, 1.3358216285705566, -0.4353240728378296, -0.582204282283783, -0.18034763634204865, -0.5339105129241943, -0.21684464812278748, -0.03746505081653595, 0.8978093862533569, 0.4600357711315155, 0.44933924078941345, -0.21599404513835907, -1.1075356006622314, 0.4866226613521576, -0.03720158711075783, -1.3230767250061035, -0.35805562138557434, 0.26611989736557007, 0.023750290274620056, 0.6615840792655945, 0.8210943937301636, -0.09054769575595856, -0.007378668058663607, -0.029788190498948097, 0.24483849108219147, -0.19824077188968658, -0.42577069997787476, -0.2266148030757904, 0.5523300170898438, -0.23263488709926605, -0.3845643103122711 ]
http://arxiv.org/abs/2404.07647v1
http://arxiv.org/pdf/2404.07647v1
Why do small language models underperform? Studying Language Model Saturation via the Softmax Bottleneck
2024-04-11T11:10:36
2024-04-11T11:10:36
Nathan Godey, Éric de la Clergerie, Benoît Sagot
cs.CL
cs.CL
Recent advances in language modeling consist in pretraining highly parameterized neural networks on extremely large web-mined text corpora. Training and inference with such models can be costly in practice, which incentivizes the use of smaller counterparts. However, it has been observed that smaller models can suffer from saturation, characterized as a drop in performance at some advanced point in training followed by a plateau. In this paper, we find that such saturation can be explained by a mismatch between the hidden dimension of smaller models and the high rank of the target contextual probability distribution. This mismatch affects the performance of the linear prediction head used in such models through the well-known softmax bottleneck phenomenon. We measure the effect of the softmax bottleneck in various settings and find that models based on less than 1000 hidden dimensions tend to adopt degenerate latent representations in late pretraining, which leads to reduced evaluation performance.
[ -0.5957645773887634, -0.49320968985557556, 0.6533597707748413, 0.04842134565114975, -0.11740388721227646, -0.04683990776538849, -0.3335403800010681, -0.34802690148353577, -0.31076711416244507, 0.43097060918807983, -0.4823775589466095, 0.03079356625676155, -0.6578472256660461, -0.08241737633943558, -0.12160136550664902, 0.8231861591339111, 0.13957078754901886, 0.12308599799871445, -0.5270220637321472, -0.32330024242401123, -0.6953060626983643, -0.5105635523796082, -0.3696926534175873, -0.7287271022796631, 0.356533020734787, 0.573723554611206, 0.9115022420883179, 0.5791382193565369, 0.28449323773384094, 0.26242485642433167, -0.1904943734407425, -0.20097143948078156, -0.7559893727302551, -0.017157768830657005, 0.1998927742242813, -0.6502450704574585, -0.2552351653575897, 0.27629244327545166, 0.7720308899879456, 1.3598207235336304, 0.07061220705509186, 0.13661794364452362, 0.34598857164382935, 0.604004979133606, -0.7753405570983887, 0.013523888774216175, -0.7988100051879883, -0.02762744203209877, -0.20785772800445557, 0.18933798372745514, -0.20175185799598694, -0.11367201805114746, 0.3130094110965729, -0.24058742821216583, 0.39715126156806946, -0.002779208356514573, 0.5165287256240845, 0.2645835876464844, -0.22016870975494385, -0.15107640624046326, -0.8957564830780029, 0.9238738417625427, -0.6925094723701477, 0.22738958895206451, 0.23340876400470734, 0.21077613532543182, 0.2077990621328354, -0.3687334358692169, -0.5375726222991943, -0.4127645492553711, -0.0658663734793663, -0.44344380497932434, -0.35745930671691895, -0.10042722523212433, 0.45575380325317383, 0.3685893714427948, -0.6483261585235596, 0.3611075282096863, -0.4466487169265747, 0.046552982181310654, 0.41768914461135864, 0.22415278851985931, -0.06774120777845383, 0.047208499163389206, -0.1420007050037384, -0.09957683086395264, -0.9712731242179871, -0.013219672255218029, 0.3274836242198944, 0.6999163627624512, 0.1224038228392601, 0.47530466318130493, -0.013025892898440361, 0.4170019328594208, -0.09440165758132935, -0.02570459060370922, 0.47693508863449097, -0.11078988760709763, -0.3968256413936615, -0.10450474172830582, 0.5710117220878601, 0.038192979991436005, 0.6026831865310669, 0.03194703161716461, -0.3414580523967743, -0.056747715920209885, 0.1170189157128334, -0.9349427819252014, -0.024492530152201653, 0.06995522230863571, -0.5468827486038208, -0.2529557943344116, -0.30489015579223633, -0.5364776849746704, -0.40665608644485474, -0.13500109314918518, 0.5237356424331665, -0.026710212230682373, -0.40024834871292114, 0.0591062530875206, -0.08101768046617508, -0.17908653616905212, 0.0791100338101387, -0.6459791660308838, 0.5092118382453918, 0.4795443117618561, 0.8380107879638672, -0.15069551765918732, -0.26304134726524353, -0.18051014840602875, -0.3518899083137512, -0.5359249711036682, 0.5413961410522461, -0.5846444368362427, -0.40671056509017944, 0.026739444583654404, -0.15854701399803162, -0.37258797883987427, -1.036769151687622, 0.2726159393787384, -0.21638885140419006, 0.09135160595178604, -0.18869006633758545, -0.30135032534599304, 0.20085297524929047, -0.17326620221138, -0.7823289036750793, 0.8898531794548035, 0.10320929437875748, -0.6009947657585144, 0.3479519486427307, -0.18955814838409424, -0.24198780953884125, 0.038580410182476044, -0.24896478652954102, -0.3664645254611969, 0.6455367803573608, -0.1684083640575409, 0.41521191596984863, -0.47299137711524963, -0.2555612027645111, -0.28417590260505676, -0.8316280245780945, 0.4292779862880707, -0.5511478781700134, 0.6296552419662476, 0.19591061770915985, -0.4063756465911865, -0.1298479288816452, -0.7393066883087158, 0.30664223432540894, 0.33203455805778503, -0.26731395721435547, -0.6441798806190491, -0.17329946160316467, -0.014284494332969189, 0.3412288725376129, 0.017519013956189156, -0.06790908426046371, 0.23951838910579681, -0.6748216152191162, 0.37520933151245117, 0.5351451635360718, -0.23501437902450562, 0.6571877598762512, -0.09510115534067154, 0.666557788848877, 0.1465812772512436, 0.023141883313655853, 0.17010273039340973, -0.3376472592353821, -0.8568693399429321, 0.19257399439811707, 0.4515896737575531, 0.44646915793418884, -0.2863989472389221, -0.23302653431892395, -0.4316655695438385, -0.5852771997451782, -0.5212839245796204, 0.5351128578186035, 0.53805011510849, 0.1554946005344391, 0.15517936646938324, -0.40227603912353516, -0.24927014112472534, -1.167845368385315, -0.2848255932331085, 0.038793325424194336, -0.16555383801460266, 0.36290886998176575, 0.5595846772193909, -0.4462880492210388, 0.7191524505615234, -0.46891555190086365, -0.40557003021240234, -0.7241442203521729, 0.30451449751853943, 0.2646239697933197, 0.681344211101532, 0.5837714076042175, -0.7059741616249084, -0.3363156020641327, -0.3469483256340027, -0.2563838064670563, -0.09316971898078918, 0.08304032683372498, 0.3344186842441559, 0.1844325214624405, 0.4863151013851166, -0.6739194393157959, 0.39598166942596436, 0.5893179178237915, -0.11889693886041641, 0.5762107968330383, -0.30644258856773376, -0.4855698347091675, -0.4603714644908905, -0.027970533818006516, -0.024567829445004463, -0.13701412081718445, -0.45966237783432007, -0.2089412808418274, -0.1566735953092575, -0.3934999108314514, -0.27770352363586426, 0.25283825397491455, -0.5651611685752869, -0.16764554381370544, -0.449206680059433, 0.38198208808898926, 0.10970283299684525, 0.48918768763542175, -0.2613813877105713, 0.7526909112930298, 0.367376446723938, -0.5131850838661194, -0.0156778022646904, -0.02384204789996147, -0.39315447211265564, 0.20537082850933075, -0.7940481305122375, 0.05712595582008362, -0.1022055521607399, -0.019987929612398148, -0.738240122795105, 0.08758122473955154, -0.31183719635009766, -0.23437418043613434, 0.5372329354286194, -0.21425749361515045, -0.4032168686389923, -0.37414076924324036, -0.190818190574646, 0.5857409238815308, 0.5767659544944763, -0.09818849712610245, 0.04238109290599823, 0.3768913149833679, -0.06334290653467178, -0.6337838768959045, -1.0435749292373657, -0.2798078954219818, -0.03755350038409233, -0.49207818508148193, 0.16483449935913086, -0.18316130340099335, -0.37925198674201965, 0.020707886666059494, -0.23783637583255768, -0.16687582433223724, 0.13782158493995667, 0.3780960738658905, -0.2023816555738449, -0.7094796895980835, 0.19756586849689484, -0.2472037672996521, -0.23622944951057434, -0.04858371242880821, -0.23111557960510254, 0.6101123690605164, -0.6379770040512085, -0.07984725385904312, -0.1679924577474594, 0.35006752610206604, 0.5839475393295288, 0.14501871168613434, 1.1280066967010498, 0.3232124149799347, -0.43267908692359924, -0.5009617805480957, -0.4386445879936218, -0.1132645308971405, -0.4700549840927124, 0.32506388425827026, -0.44580501317977905, -0.7972947955131531, 0.43540871143341064, -0.007552676368504763, -0.4316202700138092, 0.6220772862434387, 0.5324610471725464, 0.1227739080786705, 1.2135019302368164, 1.0145496129989624, 0.24094383418560028, 0.295680969953537, -0.5688625574111938, 0.08295714855194092, -0.7140549421310425, 0.017435038462281227, -0.5348896384239197, -0.04006665199995041, -0.9563098549842834, -0.39619389176368713, 0.10115676373243332, 0.3351116180419922, -0.21207615733146667, 0.36499106884002686, -0.234218567609787, 0.7167190313339233, 0.5059359669685364, -0.37814709544181824, 0.20772391557693481, -0.09732785820960999, -0.3274694085121155, -0.29316017031669617, -1.13150954246521, -0.6741828918457031, 0.8795656561851501, 0.605022668838501, 0.8039595484733582, -0.15236729383468628, 0.2813092768192291, 0.29188576340675354, 0.182088240981102, -0.6242064237594604, 0.3841778039932251, -0.23621582984924316, -0.7333878874778748, -0.39346298575401306, -0.5866320133209229, -1.0608595609664917, 0.45341649651527405, -0.1537243127822876, -0.6950764060020447, 0.5942023992538452, 0.41103434562683105, -0.5198343992233276, -0.08216343075037003, -0.890733003616333, 1.55190908908844, -0.13600113987922668, -0.4247274696826935, -0.3039332330226898, -0.3701270818710327, 0.20989647507667542, -0.11104419082403183, 0.34149667620658875, -0.17624638974666595, 0.18934118747711182, 0.5679126977920532, -0.5823292136192322, 0.6764625310897827, -0.24746659398078918, 0.12320560216903687, 0.24055293202400208, 0.304858535528183, 0.3470610976219177, 0.034821007400751114, 0.09003984183073044, 0.17724713683128357, 0.061355553567409515, -0.5273210406303406, -0.4258522093296051, 0.8558028936386108, -0.7818319201469421, -0.5738822817802429, -0.4686771035194397, -0.17466840147972107, -0.48150670528411865, 0.08839473873376846, 0.608534038066864, 0.5876254439353943, -0.07223518192768097, 0.4429949223995209, 0.6119579076766968, -0.31780508160591125, 0.32670652866363525, 0.2309679239988327, 0.01625905930995941, 0.13518039882183075, 0.9474454522132874, 0.4909016489982605, 0.5023468732833862, 0.005879527889192104, 0.23217861354351044, -0.050073444843292236, -0.6389756798744202, -0.14221017062664032, 0.18934416770935059, -0.7805179953575134, -0.06168290972709656, -0.3681621253490448, -0.21407584846019745, -0.562002420425415, 0.08382829278707504, -0.8084558248519897, -0.46223220229148865, -0.23858529329299927, 0.07770434767007828, -0.3611936867237091, 0.889376699924469, -0.24318724870681763, 0.5745221972465515, -0.35054054856300354, 0.03025464154779911, 0.402596652507782, 0.5770587921142578, 0.2922006845474243, -0.517321765422821, -0.5985898375511169, -0.16597330570220947, -0.2594766616821289, -0.6848525404930115, 0.37345099449157715, 0.32728683948516846, 0.5725774765014648, 0.4358961880207062, -0.22462114691734314, 0.47315457463264465, -0.6126907467842102, 0.47044217586517334, -0.012703163549304008, -0.934586763381958, 0.2532798647880554, -0.03654981777071953, 0.5792802572250366, 0.652553915977478, 0.3434876501560211, -0.34644371271133423, -0.2470812201499939, -0.7000477910041809, -0.933133602142334, 0.6438667178153992, 0.28131166100502014, 0.3151823878288269, 0.22740893065929413, 0.16983725130558014, 0.28603488206863403, 0.4383804500102997, -1.0564275979995728, -0.33502379059791565, -0.16716954112052917, 0.10741272568702698, -0.38869544863700867, -0.7330431938171387, 0.22678939998149872, -0.07247694581747055, 0.5225940346717834, -0.15713366866111755, 0.3093481659889221, -0.18924760818481445, -0.36378738284111023, -0.4409983158111572, 0.22060154378414154, 0.6362303495407104, 0.8010147213935852, -0.296269953250885, 0.16579358279705048, 0.2545132339000702, -0.2600519359111786, -0.1226465180516243, 0.06859975308179855, -0.007019828539341688, 0.1318199336528778, 0.5318948030471802, 1.0438026189804077, 0.4016708731651306, -0.7835543751716614, 0.8320662379264832, -0.1569978892803192, 0.17287656664848328, -0.47599685192108154, 0.16862890124320984, -0.009740820154547691, 0.29852917790412903, 0.6793935894966125, 0.21521277725696564, 0.019489048048853874, -0.7628403902053833, -0.03584187477827072, 0.5331160426139832, -0.44362708926200867, -0.1199045330286026, 0.6318114995956421, 0.11139745265245438, -0.131410613656044, 0.5311148762702942, -0.13521099090576172, -0.6391137838363647, 0.6070458292961121, 0.23319746553897858, 0.5928747057914734, 0.06389392912387848, 0.048294391483068466, 0.14253801107406616, 0.6390969753265381, -0.1269291639328003, -0.06463547050952911, 0.08185451477766037, -0.5281715989112854, -0.4964199662208557, -0.833200216293335, -0.05113976076245308, 0.6925256848335266, -0.4544518291950226, -0.031203722581267357, -0.37018343806266785, -0.317430704832077, -0.06681836396455765, 0.26479458808898926, -1.0480561256408691, 0.43955564498901367, 0.3973899185657501, 0.7653008699417114, -0.8895303010940552, 0.7180644869804382, 0.1201668530702591, -0.4778525233268738, -0.5982111692428589, 0.15986356139183044, -0.24080462753772736, -0.5027102828025818, 0.8736147284507751, 0.4407244622707367, -0.09872352331876755, -0.18483807146549225, -0.330085426568985, -0.8653550744056702, 0.49396073818206787, 0.4129978120326996, -0.6611995100975037, -0.1200561672449112, 0.4794761538505554, 0.8691898584365845, -0.7256407141685486, 0.10218651592731476, 0.575562596321106, 0.14043787121772766, -0.19585350155830383, -1.0763535499572754, 0.04139821231365204, -0.03805386275053024, 0.3629370629787445, -0.12262046337127686, -0.4726579189300537, 1.2366629838943481, -0.28504177927970886, -0.3273366689682007, 0.10506931692361832, 0.3672082722187042, 0.07166055589914322, 0.3753722608089447, 0.5628519654273987, 0.34961482882499695, 0.3973195552825928, -0.13008622825145721, 1.1365883350372314, -0.07462039589881897, 0.49042198061943054, 0.9459485411643982, -0.21326284110546112, 0.942044734954834, 0.260027676820755, -0.019463790580630302, 0.49584102630615234, 0.5522717237472534, 0.05209458991885185, 0.5283130407333374, 0.3590943217277527, 0.12291023880243301, -0.4512786269187927, 0.20077389478683472, -0.4753531217575073, 0.5110888481140137, 0.4335717558860779, -0.40569832921028137, 0.056077051907777786, 0.25841066241264343, -0.2325146645307541, 0.06171208247542381, -0.43268758058547974, 0.4173195958137512, 0.3199562132358551, -0.4474709630012512, 0.999800443649292, -0.04080198332667351, 0.505637526512146, -0.2989414930343628, 0.2891697287559509, -0.3028399348258972, 0.47919270396232605, -0.0008131813956424594, -0.4057576656341553, 0.32885581254959106, -0.1795474737882614, -0.2557290196418762, -0.3466896116733551, 0.8617258667945862, -0.28607475757598877, -0.360681414604187, 0.4482543170452118, 0.8944767117500305, 0.226263165473938, -0.32538700103759766, -0.7221261262893677, 0.25808775424957275, -0.49248018860816956, -0.43600210547447205, 0.3599262237548828, 0.5645627379417419, 0.10161660611629486, 0.6082065105438232, 0.280868798494339, 0.1934792399406433, -0.05152183026075363, 0.17035575211048126, 0.709378719329834, -0.49624940752983093, -0.28006288409233093, -0.8187916874885559, 0.1933152675628662, 0.03210177272558212, -0.45502397418022156, 0.7095699310302734, 0.6487351059913635, 1.0315355062484741, -0.2893717885017395, 0.5961348414421082, 0.22423438727855682, 0.5846149921417236, -0.24739420413970947, 0.8262723088264465, -0.9066601991653442, 0.37636011838912964, -0.0976908802986145, -1.1145223379135132, -0.027871279045939445, 0.5468908548355103, -0.5488181114196777, 0.33604559302330017, 0.5421140193939209, 0.6119986772537231, -0.13073129951953888, -0.4862314462661743, 0.6093061566352844, 0.5562364459037781, -0.14032712578773499, 0.6986162662506104, 0.6700498461723328, -0.3399091064929962, 0.7262861132621765, -0.32095223665237427, 0.016163459047675133, -0.6867150068283081, -0.7802518010139465, -1.0432984828948975, -0.5493207573890686, -0.2641403079032898, -0.41012042760849, 0.013364486396312714, 0.5755559802055359, 0.9103038311004639, -0.8213945031166077, -0.266157329082489, -0.20088210701942444, 0.16925260424613953, 0.031123751774430275, -0.2652952969074249, 0.05681140720844269, -0.15149591863155365, -0.7124342322349548, 0.3908003568649292, 0.06947853416204453, 0.19661125540733337, -0.664638102054596, 0.15098664164543152, 0.10315483808517456, 0.25260287523269653, 0.3538958728313446, 0.46642008423805237, -0.421238511800766, -0.08067477494478226, -0.33302533626556396, -0.5322404503822327, -0.004178272560238838, 0.9922484159469604, -1.0297340154647827, 0.061023321002721786, 0.3691813051700592, 0.33489781618118286, 0.5779806971549988, -0.39603349566459656, 0.6515491008758545, -1.122681736946106, 0.5023191571235657, 0.3149109184741974, 0.23662346601486206, 0.5483338832855225, -0.14248444139957428, 0.21367745101451874, 0.541908323764801, -0.4023391604423523, -1.2230026721954346, 0.19731679558753967, -0.5098581314086914, -0.7547248005867004, 1.006776213645935, 0.18462161719799042, -0.2774096429347992, 0.10403939336538315, 0.12988178431987762, -0.02450190857052803, 0.0691402480006218, 0.5871835947036743, 0.6981740593910217, -0.0625571459531784, -0.02645406872034073, -0.9125770926475525, 0.790968120098114, 0.5830081105232239, -0.2035585641860962, 0.15247029066085815, 0.2418489158153534, 0.3155533969402313, 0.3646013140678406, 0.35863807797431946, 0.3383130431175232, 0.11242733895778656, 0.38304299116134644, -0.5233161449432373, 0.16299234330654144, -0.31389665603637695, -0.40196317434310913, 0.48806676268577576, 0.3171442449092865, 0.2332083135843277 ]
http://arxiv.org/abs/2404.07622v1
http://arxiv.org/pdf/2404.07622v1
Multi-Image Visual Question Answering for Unsupervised Anomaly Detection
2024-04-11T10:16:44
2024-04-11T10:16:44
Jun Li, Cosmin I. Bercea, Philip Müller, Lina Felsner, Suhwan Kim, Daniel Rueckert, Benedikt Wiestler, Julia A. Schnabel
cs.CV
cs.CV, cs.CL
Unsupervised anomaly detection enables the identification of potential pathological areas by juxtaposing original images with their pseudo-healthy reconstructions generated by models trained exclusively on normal images. However, the clinical interpretation of resultant anomaly maps presents a challenge due to a lack of detailed, understandable explanations. Recent advancements in language models have shown the capability of mimicking human-like understanding and providing detailed descriptions. This raises an interesting question: \textit{How can language models be employed to make the anomaly maps more explainable?} To the best of our knowledge, we are the first to leverage a language model for unsupervised anomaly detection, for which we construct a dataset with different questions and answers. Additionally, we present a novel multi-image visual question answering framework tailored for anomaly detection, incorporating diverse feature fusion strategies to enhance visual knowledge extraction. Our experiments reveal that the framework, augmented by our new Knowledge Q-Former module, adeptly answers questions on the anomaly detection dataset. Besides, integrating anomaly maps as inputs distinctly aids in improving the detection of unseen pathologies.
[ -0.44486477971076965, -0.9985026717185974, 0.7769917249679565, -0.24459312856197357, -0.47730889916419983, -0.1397838443517685, 0.27340787649154663, -0.5027751326560974, 0.2184632420539856, 0.8277170062065125, -0.8426833748817444, -0.45216819643974304, -0.6116344928741455, -0.09722698479890823, -0.37336206436157227, 0.6618489027023315, -0.024315472692251205, 0.3841695785522461, -0.5353005528450012, -0.39408066868782043, -0.517112672328949, 0.01302048284560442, -0.37776604294776917, 0.02445114403963089, 0.1812106817960739, 0.3536003530025482, 0.6675880551338196, 0.5689062476158142, 0.8850915431976318, 0.3074212372303009, 0.24993544816970825, 0.16804316639900208, -0.10315302759408951, -0.036116600036621094, 0.08199673891067505, -0.6046230792999268, -0.3312205374240875, -0.4300203323364258, 0.4973653554916382, 0.7859086990356445, 0.05825166404247284, -0.042668357491493225, -0.5035163760185242, 0.47319209575653076, -0.38487666845321655, -0.05320560187101364, -0.5643046498298645, 0.22906604409217834, -0.15774641931056976, -0.45361328125, 0.06579285860061646, -0.04862140491604805, 0.35390082001686096, -0.8602526783943176, 0.4067838490009308, -0.1640886664390564, 0.7143312692642212, 0.3753374218940735, -0.3397659659385681, -0.10781361907720566, -0.5072714686393738, 0.3506942689418793, -0.25824397802352905, 0.23365245759487152, 0.13938036561012268, 0.5506268739700317, -0.1906391680240631, -1.0096313953399658, -0.5825757384300232, 0.15457020699977875, -0.08440067619085312, 0.3041308522224426, -0.5341551899909973, -0.25063958764076233, 0.07761286944150925, 0.3413935601711273, -0.9746120572090149, 0.06935273110866547, -0.532745897769928, -0.32188543677330017, 0.43686679005622864, 0.44371113181114197, 0.9206649661064148, -0.09526161104440689, -0.5283524990081787, 0.11389116197824478, -0.638282835483551, 0.30664387345314026, 0.05928996577858925, -0.2962771952152252, -0.1327061951160431, 0.42075443267822266, -0.15661294758319855, 0.7528694272041321, -0.2580193877220154, -0.00281383004039526, 0.13708123564720154, -0.18737289309501648, 0.09397653490304947, -0.2921174466609955, 0.5023515224456787, 0.7789780497550964, 0.16489504277706146, -0.009443092159926891, 0.057114820927381516, 0.1772226244211197, 0.190291166305542, -0.6205611228942871, -0.751115083694458, 0.16195908188819885, -0.6634165048599243, -0.26852521300315857, 0.14755848050117493, -1.0267242193222046, -0.7517674565315247, 0.08436700701713562, 0.5481106638908386, -0.2939199209213257, -0.6839746832847595, 0.26347649097442627, -0.5899236798286438, 0.19392052292823792, 0.6017159223556519, -0.4590053856372833, 0.11161454766988754, 0.015000064857304096, 0.2714892029762268, -0.06271249800920486, -0.36342719197273254, -0.5955372452735901, 0.04666674882173538, -0.4416174292564392, 1.1495767831802368, -0.5131404399871826, -0.21696588397026062, -0.0004126337298657745, 0.4914645850658417, -0.00005631391832139343, -0.5297822952270508, 0.04661104455590248, -0.5220472812652588, 0.26135438680648804, -0.5419206619262695, -0.29762300848960876, -0.5498364567756653, 0.29535436630249023, -0.4506557583808899, 0.5408465266227722, 0.21512527763843536, -0.7153376340866089, 0.32778629660606384, -0.8669021725654602, -0.09957749396562576, 0.32825374603271484, -0.2747936546802521, -0.3252888321876526, 0.17790046334266663, 0.7142599821090698, 0.293781578540802, -0.3693475127220154, -0.003904276993125677, -0.4697897136211395, -0.20291486382484436, 0.5401062965393066, -0.4001143276691437, 0.5088315606117249, -0.006233065854758024, -0.09053685516119003, 0.1185222640633583, -0.47855252027511597, 0.13767503201961517, 0.6100126504898071, 0.20617854595184326, -0.35433104634284973, -0.34521961212158203, -0.09567267447710037, 0.010680541396141052, 0.23567327857017517, -0.5576925873756409, 0.0693490132689476, -0.13767977058887482, 0.1591288447380066, 0.40539485216140747, 0.5443078875541687, 0.19050686061382294, -0.10593001544475555, 0.8222251534461975, 0.7596223950386047, 0.3240697979927063, -0.5764225125312805, -0.9681148529052734, -0.5216350555419922, -0.46880894899368286, -0.0981157124042511, 0.5737560987472534, -0.8517959117889404, -0.04529727250337601, -0.1076456680893898, -0.21589072048664093, -0.79649817943573, 0.09515447169542313, 0.3880990147590637, 0.8640660643577576, 0.5721285939216614, -0.3098199963569641, -0.2973420321941376, -0.9246944189071655, -0.33220404386520386, 0.13136132061481476, 0.24397030472755432, 0.3014460802078247, 0.5693984031677246, -0.2896028757095337, 0.6270201206207275, -0.9140066504478455, -0.2710641026496887, -0.23812445998191833, 0.28451618552207947, 0.04638628289103508, 0.40386149287223816, 0.7969223856925964, -1.1231861114501953, -0.17281277477741241, -0.03557078540325165, -0.9978617429733276, -0.0762706771492958, -0.12312798947095871, 0.1884436309337616, -0.17263853549957275, 0.5408534407615662, -0.3258473575115204, 0.7972861528396606, 0.25186556577682495, -0.198771134018898, 0.3673165738582611, -0.43555933237075806, 0.46532848477363586, -1.0849583148956299, -0.10786198824644089, 0.046225305646657944, -0.26096174120903015, -0.7723065614700317, 0.222794309258461, 0.21341747045516968, -0.22520248591899872, -0.4769851565361023, 0.3489062190055847, -0.46412116289138794, -0.18506617844104767, -0.09534097462892532, -0.10273544490337372, 0.20893077552318573, 0.42347434163093567, 0.009044568985700607, 0.5432881712913513, 1.398787498474121, -0.32087138295173645, 0.48707708716392517, 0.1858217567205429, -0.19072464108467102, 0.6486909985542297, -0.5509546399116516, 0.060477979481220245, -0.7090451717376709, -0.07030050456523895, -1.3547327518463135, -0.5633143186569214, 0.258197158575058, -0.5542312860488892, 0.26106730103492737, -0.4226348102092743, -0.1452690213918686, -0.6508051753044128, -0.12948672473430634, 0.468032568693161, 0.37362587451934814, -0.6728720664978027, 0.3645747900009155, 0.4283735156059265, 0.22795982658863068, -0.5117101669311523, -0.9013343453407288, 0.0023863324895501137, -0.35561293363571167, -0.5934141278266907, -0.14264148473739624, -0.027838168665766716, -0.15226693451404572, 0.41158515214920044, 0.08518018573522568, -0.702562153339386, 0.17553822696208954, 0.17157182097434998, 0.35811614990234375, -0.5738195180892944, 0.09608739614486694, 0.061458855867385864, 0.15978482365608215, -0.042197439819574356, -0.09849795699119568, 0.3563910126686096, -0.33193281292915344, -0.8512123823165894, -0.5728844404220581, 0.804527997970581, 0.7391150593757629, -0.5145298838615417, 0.33697110414505005, 0.6477834582328796, -0.6792675256729126, 0.2732600271701813, -0.2925090789794922, -0.165365532040596, -0.44578611850738525, 0.6090378165245056, -0.2973456382751465, -0.546966552734375, 0.7713620662689209, -0.06362179666757584, -0.3083401620388031, 0.27652794122695923, 0.28889256715774536, -0.44292137026786804, 1.299230694770813, 0.5238080024719238, 0.34039071202278137, 0.047179799526929855, -0.3155471086502075, 0.22430889308452606, -0.6877833008766174, -0.3327990472316742, 0.06240563467144966, -0.11852527409791946, -0.46846792101860046, -0.34756678342819214, 0.8077043294906616, 0.15269948542118073, 0.38626807928085327, 0.03320329636335373, -0.5034317374229431, 0.6686201095581055, 0.34309566020965576, 0.3659134805202484, 0.11738501489162445, -0.11188440769910812, 0.24213409423828125, -0.1420149803161621, -0.8392539620399475, -0.011025692336261272, 1.0925774574279785, 0.006745930295437574, 0.6616331338882446, 0.17023447155952454, 0.41873297095298767, 0.1824464350938797, 0.13218505680561066, -0.45467227697372437, 0.2583196759223938, -0.09568221122026443, -0.569671094417572, -0.32873642444610596, -0.14888250827789307, -1.038096308708191, 0.2733021676540375, -0.523339033126831, -0.9652658104896545, 0.4653909504413605, 0.4493609368801117, -0.41798490285873413, 0.4221673011779785, -0.8940492272377014, 1.1595454216003418, -0.3078295588493347, 0.11593586206436157, 0.15636061131954193, -0.8522256016731262, 0.7583522200584412, 0.15468049049377441, 0.27880358695983887, 0.32129794359207153, 0.09498471021652222, 0.18499316275119781, -0.16840264201164246, 0.6485579013824463, -0.23998220264911652, 0.33981239795684814, 0.322904497385025, -0.01749802567064762, -0.04569835960865021, 0.2707241177558899, 0.6619378924369812, 0.1428593099117279, 0.18555863201618195, -0.4795321524143219, -0.9102408289909363, 0.4853440225124359, -0.48124009370803833, -0.56413334608078, -0.13373586535453796, -0.7957712411880493, -0.14136138558387756, 0.1215457022190094, 0.44891178607940674, 0.7629599571228027, -0.05076631158590317, 0.011868024244904518, 0.80354243516922, -0.5422412157058716, 0.4389212429523468, 0.38225483894348145, -0.18166998028755188, -0.07672393321990967, 0.9544246196746826, -0.18230849504470825, 0.010433721356093884, 0.4368542730808258, 0.2576662302017212, -0.38627880811691284, -0.5628142356872559, -0.769313633441925, 0.07702895253896713, -0.8377604484558105, -0.09966961294412613, -0.783206582069397, -0.04967379570007324, -0.5348007678985596, 0.11974114179611206, -0.12660832703113556, -0.4545194208621979, -0.3411180377006531, 0.34170085191726685, 0.45680925250053406, 0.5689430832862854, -0.10855201631784439, 0.2313288152217865, -0.9970473647117615, 0.6810115575790405, 0.5879091620445251, 0.07873135805130005, -0.2868952751159668, -0.3843066990375519, 0.1490541249513626, 0.13278089463710785, -0.17253626883029938, -1.335487961769104, 0.30903157591819763, 0.21548978984355927, 0.6286720037460327, 0.767463207244873, -0.1286149024963379, 0.858855664730072, -0.1261257380247116, 0.6893743276596069, 0.4522346556186676, -0.3558948040008545, 0.6995505690574646, -0.3893158733844757, 0.3807445168495178, 0.21399210393428802, 0.3570440411567688, -0.35324910283088684, -0.34724581241607666, -0.7346675992012024, -0.5556783080101013, 0.4696425497531891, -0.11405416578054428, -0.08157731592655182, 0.1437067687511444, 0.4019189178943634, -0.03149471431970596, 0.19191965460777283, -0.5423528552055359, -0.3926751911640167, -0.4800156354904175, 0.04565021023154259, -0.10505126416683197, 0.030311819165945053, -0.47667983174324036, -0.39767640829086304, 0.001770891947671771, -0.30068710446357727, 0.4169148802757263, 0.36734601855278015, -0.4822496473789215, -0.1836370825767517, 0.1685057133436203, 0.6843928694725037, 0.6895910501480103, -0.022484494373202324, 0.3887781798839569, 0.14753791689872742, -0.5493475198745728, -0.2027345597743988, 0.09406709671020508, 0.12470905482769012, -0.0283975712954998, 0.465647429227829, 0.6674069166183472, -0.23577852547168732, -0.7809924483299255, 0.8605303168296814, -0.32429105043411255, -0.21326975524425507, -0.2707820534706116, 0.1222144365310669, 0.18083491921424866, 0.35567089915275574, 0.34378233551979065, 0.3735077977180481, 0.41670405864715576, -0.577613115310669, 0.38788652420043945, 0.7097445130348206, -0.5974327921867371, -0.40069660544395447, 0.4958624839782715, -0.2062167525291443, -0.07964181900024414, 0.4991381764411926, 0.03415334224700928, -0.6338493227958679, 0.9888819456100464, 0.4675871729850769, 0.340031236410141, -0.1860196441411972, 0.37772151827812195, -0.06265412271022797, 0.5621960759162903, 0.2736514210700989, 0.7306072115898132, 0.25361207127571106, -0.8366832137107849, 0.024745523929595947, 0.04708850756287575, -0.05566006526350975, 0.4922332465648651, -0.7595515847206116, 0.040925346314907074, -0.16920046508312225, 0.1294439285993576, 0.14822988212108612, -0.7050034999847412, -0.7126169800758362, 0.4955368638038635, 0.01804645173251629, 0.5837159156799316, -1.131758451461792, 0.5162476301193237, 1.1744126081466675, -0.4252817928791046, -0.5499700307846069, 0.0031933116260915995, -0.017917513847351074, -1.1032105684280396, 0.12810499966144562, 0.08603066951036453, 0.2500431537628174, 0.014549309387803078, -0.5506402254104614, -0.614547073841095, 0.7577295899391174, 0.4170686900615692, 0.010584915988147259, 0.44678664207458496, 0.17114025354385376, 0.6092079877853394, -0.4373946785926819, 0.28660643100738525, 0.5185328722000122, 0.43585771322250366, 0.0961170643568039, -0.30624398589134216, -0.08657100051641464, -0.3132719397544861, -0.23616835474967957, 0.3962186276912689, -0.08133655786514282, 0.6428282260894775, -0.7879587411880493, 0.060041315853595734, 0.0023197380360215902, 0.265251100063324, 0.028878891840577126, 0.6264217495918274, 0.5903834104537964, 0.6588438749313354, 0.8374824523925781, -0.24340569972991943, 1.1642646789550781, -0.29578015208244324, -0.0894995629787445, 0.7393127679824829, 0.21406474709510803, 0.18828034400939941, 0.5125398635864258, 0.14624159038066864, 0.30966463685035706, 0.7803451418876648, 0.03284241631627083, 0.6041879653930664, -0.08467041701078415, -0.07814877480268478, -0.7223363518714905, -0.163275808095932, -0.6641939282417297, 0.7054256796836853, 0.23905092477798462, -0.1206284612417221, -0.41334137320518494, 0.24048465490341187, -0.5616112947463989, -0.07572073489427567, -0.3713405132293701, 0.7699195146560669, -0.168922558426857, -0.42715486884117126, 0.41677480936050415, -0.3776320219039917, 0.07864121347665787, -0.33729758858680725, -0.4288557469844818, -0.3310198485851288, -0.07792704552412033, -0.09793116897344589, -0.9764909744262695, 0.19892653822898865, -0.17658840119838715, -0.1664923131465912, 0.2789185643196106, 0.7477567195892334, -0.5556724071502686, -0.5563523173332214, -0.18774545192718506, 0.8438736200332642, 0.4354510009288788, 0.051838554441928864, -0.6487028002738953, -0.5019738078117371, -0.17103418707847595, 0.16973763704299927, 0.34516990184783936, 0.7837649583816528, -0.46294763684272766, 0.713844358921051, 0.6744381189346313, -0.04868074133992195, 0.19191114604473114, 0.040192704647779465, 0.850709080696106, -0.20646078884601593, -0.600285530090332, -0.33671656250953674, 0.8282501697540283, -0.22562989592552185, -0.468131422996521, 0.44915899634361267, 0.20848926901817322, 0.3739839792251587, -0.4719599187374115, 0.5330854058265686, 0.17673520743846893, 0.3035114109516144, -0.3904089629650116, 0.7534077167510986, -1.3085894584655762, 0.1491071730852127, -0.3044981062412262, -0.42148399353027344, -0.43525445461273193, 0.3361222743988037, 0.0646197497844696, -0.3214472830295563, 0.8404911160469055, 1.1110260486602783, -0.2695934772491455, 0.01066041924059391, 0.5382547378540039, 0.01591421663761139, 0.0001104661132558249, 0.470763236284256, 1.148598551750183, -0.40932828187942505, 0.4693848490715027, -0.19740065932273865, -0.33491116762161255, -0.041393112391233444, -0.6655479669570923, -0.8715832233428955, -0.6839740872383118, -0.42432916164398193, 0.043703190982341766, 0.1059037372469902, 0.4068048298358917, 0.7199839949607849, -0.6875518560409546, 0.3196602165699005, -0.20837947726249695, 0.35527515411376953, -0.34569457173347473, -0.18291115760803223, 0.5393610596656799, 0.04773908481001854, -0.39113447070121765, 0.33376479148864746, 0.4727136194705963, 0.35091903805732727, -0.133384570479393, 0.2773300111293793, -0.05490916594862938, -0.32304447889328003, 0.06430401653051376, 0.42267072200775146, -0.4811531901359558, -0.04438605532050133, 0.16081726551055908, 0.22088304162025452, 0.33327609300613403, 1.0091696977615356, -0.576768159866333, 0.7679587602615356, 0.43767982721328735, 0.6850031614303589, 0.3655151128768921, -0.09976902604103088, 0.34139230847358704, -0.47569137811660767, 0.4076060652732849, 0.11733872443437576, 0.538062334060669, 0.3775862157344818, -0.715854287147522, -0.01693466491997242, 0.44945207238197327, -0.08774055540561676, -0.913979172706604, 0.524834930896759, -0.9511973857879639, -0.4608394205570221, 0.7452555894851685, -0.3982526361942291, -0.20977333188056946, -0.4084368944168091, -0.022203614935278893, 0.106754831969738, -0.022648388519883156, 0.7411511540412903, 0.19250865280628204, -0.5401270389556885, -0.6583225727081299, -0.361009418964386, 0.3151140511035919, 0.4846208989620209, -1.120192050933838, -0.3621198236942291, 0.436063289642334, 0.376956582069397, -0.02926398441195488, 0.6676849722862244, -0.26008298993110657, 1.0523093938827515, -0.28669676184654236, -0.13374468684196472, -0.21211060881614685, -0.49409592151641846, -0.4467053711414337, 0.06963010877370834, -0.16691307723522186, -0.7297767996788025 ]
http://arxiv.org/abs/2404.07616v1
http://arxiv.org/pdf/2404.07616v1
Audio Dialogues: Dialogues dataset for audio and music understanding
2024-04-11T10:08:34
2024-04-11T10:08:34
Arushi Goel, Zhifeng Kong, Rafael Valle, Bryan Catanzaro
cs.CL
cs.CL, cs.SD, eess.AS
Existing datasets for audio understanding primarily focus on single-turn interactions (i.e. audio captioning, audio question answering) for describing audio in natural language, thus limiting understanding audio via interactive dialogue. To address this gap, we introduce Audio Dialogues: a multi-turn dialogue dataset containing 163.8k samples for general audio sounds and music. In addition to dialogues, Audio Dialogues also has question-answer pairs to understand and compare multiple input audios together. Audio Dialogues leverages a prompting-based approach and caption annotations from existing datasets to generate multi-turn dialogues using a Large Language Model (LLM). We evaluate existing audio-augmented large language models on our proposed dataset to demonstrate the complexity and applicability of Audio Dialogues. Our code for generating the dataset will be made publicly available. Detailed prompts and generated dialogues can be found on the demo website https://audiodialogues.github.io/.
[ -0.5787306427955627, -0.67942214012146, 0.8336069583892822, 0.2645852565765381, -0.14818543195724487, 0.11558298021554947, -0.36736637353897095, -0.40852487087249756, 0.20977111160755157, 0.822345495223999, -1.140235424041748, -0.7055522799491882, -0.10933797806501389, 0.15270288288593292, -0.5232697129249573, 0.8861694931983948, 0.24163416028022766, 0.41796210408210754, -0.37507733702659607, -0.4060967266559601, -0.674365758895874, -0.22206108272075653, -0.7868250012397766, -0.12102146446704865, 0.3983410894870758, 0.6987438797950745, 0.49427103996276855, 0.03787509351968765, 0.32372671365737915, 0.33831772208213806, 0.07151500135660172, 0.16599427163600922, -0.23081424832344055, 0.39844319224357605, 0.3314051330089569, -0.33740177750587463, -0.052309539169073105, 0.13633213937282562, 0.4733645021915436, 0.6815520524978638, -0.15363863110542297, 0.35555756092071533, -0.41034963726997375, 0.6871284246444702, -0.1436198353767395, 0.4709043502807617, -0.42640921473503113, 0.0930207148194313, 0.04109879955649376, -0.2963044047355652, -0.3570597171783447, -0.26366502046585083, 0.2163846790790558, -0.9398857355117798, 0.09159024804830551, 0.17497889697551727, 0.26010358333587646, 0.2739841341972351, -0.09999728202819824, -0.6529351472854614, -1.008636713027954, 0.7614654302597046, -0.5179187655448914, 0.28629106283187866, 0.654866099357605, 0.7035918831825256, 0.006950582843273878, -0.45787450671195984, -0.8227638602256775, -0.09689657390117645, 0.20206640660762787, 0.21034598350524902, -0.014722995460033417, 0.05870158597826958, 0.2683669328689575, 0.7413821816444397, -0.4513699412345886, -0.18244732916355133, -0.2783661484718323, -0.009371534921228886, 0.7566002011299133, 0.29361656308174133, 0.5700034499168396, -0.29012012481689453, 0.004073876887559891, -0.07530578970909119, -0.5362452268600464, 0.1279069185256958, 0.6027777194976807, 0.4167197644710541, -0.24876669049263, 0.5549793243408203, 0.056526362895965576, 0.8682994246482849, -0.03641728311777115, -0.25553518533706665, 0.35152876377105713, -0.8986835479736328, -0.14532685279846191, 0.18560636043548584, 0.8663039207458496, 0.36717674136161804, 0.3502297103404999, -0.1735432744026184, -0.05470800772309303, -0.21828040480613708, -0.009647947736084461, -0.4383547902107239, -0.3109436333179474, 0.6930221319198608, -0.29337626695632935, -0.24355436861515045, -0.015227253548800945, -0.7842028737068176, -0.6976184844970703, -0.7015025019645691, 0.5597732067108154, -0.38354185223579407, -0.21028292179107666, 0.2899472713470459, -0.23776555061340332, 0.1545322984457016, 0.46860581636428833, -0.8123798966407776, 0.48798954486846924, 0.44116705656051636, 0.7619396448135376, -0.09778638929128647, -0.07355502992868423, -0.7357192039489746, 0.032901495695114136, -0.08219355344772339, 0.7197281122207642, -0.5971787571907043, -0.5085368156433105, 0.05984574556350708, -0.055316951125860214, 0.07151739299297333, -0.6687110662460327, 0.4873824119567871, -0.2462967187166214, 0.30831634998321533, -0.05233226343989372, -0.43197572231292725, -0.26517951488494873, -0.03564802184700966, -0.9857861399650574, 0.6825301051139832, -0.14208486676216125, -0.5639918446540833, 0.18194089829921722, -1.052065134048462, -0.3941299617290497, -0.12844537198543549, -0.22882087528705597, -0.27807942032814026, -0.07253856956958771, 0.6608344912528992, 0.12278351187705994, -0.31206876039505005, 0.23162071406841278, -0.19559608399868011, -0.490052729845047, 0.5909252762794495, -0.425331711769104, 0.64979088306427, 0.2963502109050751, 0.10472528636455536, 0.2676207423210144, -0.7661895155906677, -0.36644071340560913, 0.1887926608324051, -0.15372885763645172, 0.05143766477704048, 0.021756675094366074, 0.2671833336353302, -0.11751897633075714, -0.1746230572462082, -0.7037052512168884, 0.3049688935279846, -0.15841498970985413, 0.8345098495483398, 0.3986656069755554, 0.2211225926876068, 0.3920627236366272, -0.35370543599128723, 0.6103721261024475, 0.10237934440374374, 0.14110930263996124, -0.8681458234786987, -0.5406137108802795, -0.42335227131843567, -0.20931614935398102, 0.2984931170940399, 0.68068528175354, -0.5848499536514282, 0.25194600224494934, -0.17205636203289032, -0.14237307012081146, -0.989942193031311, 0.19838054478168488, 0.16965095698833466, 0.3295033872127533, 0.376221626996994, -0.16525675356388092, -0.691331148147583, -0.8050963282585144, 0.020160367712378502, -0.21700216829776764, -0.33581459522247314, 0.6898880004882812, 0.17746636271476746, -0.056062594056129456, 0.9168200492858887, -0.2420063018798828, -0.09934362769126892, -0.41898149251937866, 0.3722854554653168, 0.4815937578678131, 0.30195704102516174, 0.3161010444164276, -0.7433975338935852, -0.149394690990448, -0.3788716197013855, -0.4500576853752136, -0.027771158143877983, -0.3850914537906647, 0.05954456329345703, -0.33290591835975647, 0.6128122806549072, -0.6558747291564941, 0.07664143294095993, 0.6264520287513733, 0.07742007076740265, 0.44672009348869324, 0.4706980288028717, 0.48316046595573425, -1.0249934196472168, -0.24840642511844635, -0.11365015059709549, -0.2675733268260956, -0.678213894367218, -0.662804365158081, -0.5647426247596741, -0.42277395725250244, -0.3982565104961395, 0.2668236494064331, -0.2665126621723175, -0.4702175259590149, -0.05473046749830246, 0.3408532440662384, 0.13369375467300415, 0.6103610992431641, 0.20276299118995667, 0.9695988297462463, 0.710520327091217, -0.3615415692329407, 0.6933659911155701, 0.7397329211235046, -0.7849875688552856, 0.5598083734512329, -0.5379683375358582, 0.3846496641635895, 0.013422368094325066, 0.334637850522995, -1.30774986743927, -0.344916433095932, 0.09099901467561722, -0.5723234415054321, 0.27457553148269653, -0.41594603657722473, -0.5474802255630493, -0.22234410047531128, -0.16794748604297638, 0.5854556560516357, 0.13234077394008636, -0.6503041386604309, 0.6081032156944275, 0.5363985300064087, -0.6747264266014099, -0.2111104130744934, -0.4925626814365387, 0.19503317773342133, -0.28581106662750244, -0.7906227707862854, -0.13330276310443878, -0.4542500972747803, -0.5460532903671265, -0.18527139723300934, 0.05719932168722153, -0.17813365161418915, -0.25924617052078247, 0.44266796112060547, 0.23762477934360504, -0.20031209290027618, 0.376891553401947, -0.019502749666571617, -0.07209835201501846, 0.13564550876617432, -0.3251110315322876, 0.4372289180755615, -0.11840736865997314, -0.5073070526123047, -0.559937059879303, 0.6056420207023621, 0.7722717523574829, -0.20801882445812225, 0.22128602862358093, 0.3730483055114746, 0.07734338939189911, 0.22616441547870636, -0.5022571682929993, -0.19894561171531677, -0.41996487975120544, 0.216719850897789, -0.34706413745880127, -0.9136707782745361, 0.5289543867111206, -0.04787463694810867, 0.3015621602535248, 0.041505567729473114, 0.5711761116981506, -0.5128151178359985, 1.1897345781326294, 0.08705837279558182, -0.19373123347759247, 0.5648506879806519, -0.21360531449317932, 0.09087321162223816, -0.7509890198707581, -0.24411673843860626, -0.4921075701713562, -0.1862507164478302, -0.48037299513816833, -0.27371320128440857, 0.2579666078090668, -0.3579771816730499, -0.15030817687511444, 0.24971261620521545, -0.31433141231536865, 0.6215425729751587, 0.6844637989997864, 0.11210903525352478, 0.5071463584899902, -0.04442167654633522, 0.0497620515525341, 0.10179083049297333, -0.4833524525165558, -0.1967191994190216, 1.1494807004928589, 0.42098650336265564, 0.741867184638977, 0.14354625344276428, 0.4857572317123413, 0.291912704706192, -0.2684485912322998, -1.157362937927246, 0.24004696309566498, 0.33107230067253113, -0.7172470688819885, -0.5680177211761475, -0.45751574635505676, -0.7445240020751953, -0.1856950968503952, -0.23164469003677368, -0.6991762518882751, -0.036133747547864914, -0.10305893421173096, -0.42830130457878113, 0.15787607431411743, -0.7690452337265015, 0.6121801733970642, -0.22620195150375366, -0.06307270377874374, -0.037363793700933456, -0.642839789390564, 0.2683091163635254, 0.19878622889518738, 0.6298243999481201, -0.16669180989265442, 0.625670313835144, 0.7599905729293823, -0.14864963293075562, 0.506820023059845, -0.22914931178092957, -0.02506135404109955, 0.5610337257385254, 0.07815730571746826, 0.06197327747941017, 0.4731593728065491, 0.10274658352136612, 0.10330474376678467, 0.05264540761709213, -0.19757342338562012, -0.7268814444541931, 0.5503360629081726, -0.6662549376487732, -0.4252025783061981, -0.06017927825450897, -0.89776211977005, -0.5863123536109924, -0.1094280332326889, 0.0904061421751976, 0.7299177646636963, 0.017117202281951904, 0.21779604256153107, 0.7692756056785583, -0.4762919843196869, 0.43070805072784424, 0.5824849605560303, -0.40663081407546997, -0.6941041350364685, 0.8070046901702881, -0.35409805178642273, 0.2415066361427307, 0.12767086923122406, 0.015368969179689884, -0.4520355761051178, -0.5831500887870789, -0.6994896531105042, 0.17289848625659943, -0.5945903062820435, 0.08327634632587433, -0.5461335778236389, 0.10679040104150772, -0.2687906324863434, 0.25907668471336365, -0.2824101746082306, -0.683894693851471, 0.00875050202012062, -0.41252806782722473, 0.7971692681312561, 1.0230655670166016, -0.17250332236289978, 0.19613389670848846, -0.8964247703552246, 0.6799269318580627, 0.6007636785507202, 0.4105848968029022, -0.28552111983299255, -0.48198166489601135, -0.33549559116363525, -0.02968422695994377, -0.023338401690125465, -1.069594383239746, 0.08932049572467804, 0.1224779561161995, 0.34515148401260376, 0.3309626281261444, -0.20051082968711853, 0.44349998235702515, -0.6119329333305359, 0.9336698055267334, 0.29844003915786743, -0.9520252346992493, 0.7509466409683228, -0.46372708678245544, 0.3994911015033722, 0.9114041328430176, 0.16449983417987823, -0.7110550999641418, -0.3809647858142853, -0.40326058864593506, -0.6551557183265686, 0.7944804430007935, 0.5019993185997009, 0.10111726075410843, 0.3150331676006317, 0.05565531179308891, 0.2921672761440277, 0.38706767559051514, -0.5218967199325562, -0.4105318486690521, -0.4499475657939911, -0.33906155824661255, -0.3049008846282959, 0.0006213895394466817, -0.41443198919296265, -0.3924248218536377, 0.46224233508110046, -0.042579878121614456, 0.3867073655128479, 0.11745887994766235, -0.034383438527584076, -0.07780701667070389, 0.49136364459991455, 0.5404139757156372, 0.38563472032546997, -0.28055277466773987, -0.10276587307453156, -0.016821805387735367, -0.5411757826805115, 0.10693516582250595, 0.04856957495212555, 0.22263970971107483, 0.10828150808811188, 0.42746004462242126, 1.046603798866272, 0.2775392234325409, -0.7538794875144958, 0.2984491288661957, -0.4238726794719696, -0.2095007449388504, -0.5886407494544983, 0.05575040727853775, 0.43724900484085083, -0.08382401615381241, 0.29225561022758484, -0.1387883722782135, 0.5453106760978699, -0.7111756801605225, 0.2804071009159088, 0.041042547672986984, -0.717134416103363, -0.10039448738098145, 0.2984446883201599, 0.28703567385673523, -0.3024711310863495, 0.935416579246521, 0.1546919345855713, -0.1788509339094162, 0.6080067753791809, 0.14092907309532166, 0.9626686573028564, 0.09131577610969543, 0.2535858750343323, 0.48737701773643494, 0.044258031994104385, 0.34596994519233704, 0.4481641948223114, -0.5981387495994568, -0.604912281036377, -0.6875839233398438, -0.5388191938400269, -1.0169425010681152, 0.5203233957290649, -0.7439486980438232, 0.12182516604661942, -0.2262003868818283, 0.0835769847035408, 0.2938092350959778, -0.1921883374452591, -0.47801673412323, -0.020751558244228363, 0.22803279757499695, 0.8340315818786621, -1.0216591358184814, 0.491163045167923, 0.4355822503566742, -0.7102475166320801, -0.6378903985023499, -0.08260071277618408, 0.1091243326663971, -0.4261333644390106, 0.29191040992736816, 0.29563000798225403, -0.18975168466567993, -0.2138366401195526, -1.0862053632736206, -0.40169766545295715, 0.7946389317512512, 0.1615423709154129, -0.6406603455543518, 0.3646716773509979, 0.3121615946292877, 0.31429824233055115, -0.5318976044654846, 0.42307353019714355, 0.8013338446617126, 0.7402417659759521, 0.44502201676368713, -0.8529611229896545, -0.5812665820121765, -0.5118630528450012, -0.510575532913208, 0.09049424529075623, -0.24706502258777618, 0.5218708515167236, -0.21909283101558685, -0.03541532903909683, 0.19242779910564423, 0.5119956731796265, 0.3608465790748596, 0.6568270325660706, 0.7518967986106873, 0.4176906645298004, 0.5436679720878601, -0.37503287196159363, 1.0208138227462769, -0.04852975532412529, -0.0035927272401750088, 1.442809820175171, -0.09054644405841827, 0.48487788438796997, 0.4965062439441681, -0.2639153301715851, 0.4794952869415283, 0.8086239099502563, 0.10279928147792816, 0.42702651023864746, 0.37331414222717285, -0.4811602532863617, -0.588059663772583, -0.1964961737394333, -0.1708413064479828, 0.5162602663040161, 0.43431052565574646, -0.024511633440852165, 0.23721075057983398, 0.23649822175502777, -0.39463990926742554, -0.06224483251571655, -0.1518319547176361, 1.1628692150115967, 0.08594273775815964, -0.4531283974647522, -0.024123165756464005, -0.6441364884376526, 0.20425547659397125, -0.4179987907409668, -0.49650269746780396, -0.06937900185585022, -0.521052896976471, -0.18006181716918945, -1.1681376695632935, 0.05810242146253586, 0.07212217152118683, -0.3885129690170288, -0.08452792465686798, 0.1862325817346573, -0.7290379405021667, -0.36954283714294434, 0.23340539634227753, 0.25041812658309937, 0.26913076639175415, -0.11863209307193756, -0.6090722680091858, 0.13285361230373383, -0.07346133887767792, -0.032297275960445404, -0.06820766627788544, 0.429727703332901, 0.3326016068458557, 0.5901879072189331, 0.695829451084137, -0.026876628398895264, -0.016478195786476135, 0.6606733798980713, 0.630742073059082, -0.4945431649684906, -0.46172478795051575, -0.2626227140426636, 0.44386157393455505, -0.009340785443782806, -0.023363225162029266, 0.5098571181297302, 0.6043604016304016, 0.642388105392456, -0.1878187209367752, 1.027204990386963, 0.2735711336135864, 0.8191631436347961, -0.8638792634010315, 0.2327910214662552, -0.516361653804779, 0.331438809633255, -0.3969843089580536, -0.744636058807373, -0.02797209471464157, 0.4810192286968231, -0.24393166601657867, 0.033542584627866745, 0.3898063600063324, 0.675132691860199, -0.183354452252388, 0.756248950958252, 0.1810060292482376, 0.09064121544361115, 0.20811685919761658, 0.5415788888931274, 1.2339606285095215, -0.35811200737953186, 0.7837463021278381, -0.17809395492076874, -0.036338504403829575, 0.041855230927467346, -0.5639824867248535, -0.8321871161460876, -0.8037556409835815, -0.2824490964412689, -0.2797379791736603, -0.14266470074653625, 0.831329345703125, 0.7344084978103638, -1.293837547302246, -0.4182592034339905, -0.19482694566249847, 0.19684697687625885, -0.06818561255931854, -0.2428150177001953, 0.13506415486335754, -0.1602182239294052, -1.0958281755447388, 0.9808201789855957, 0.36343109607696533, -0.023918375372886658, -0.4408026337623596, -0.2855248749256134, -0.047965750098228455, 0.29665473103523254, 0.3139426112174988, 0.45830294489860535, -0.4709499776363373, -0.16310271620750427, 0.0797824114561081, 0.34949272871017456, 0.3962593078613281, 1.1891170740127563, -0.4715743958950043, 0.9390281438827515, 0.5097523927688599, 0.36803293228149414, 0.8508046865463257, -0.12500488758087158, 0.7463783621788025, -0.6163438558578491, 0.0007236081873998046, 0.21101512014865875, 0.29601290822029114, 0.571810781955719, -0.07177789509296417, 0.362821489572525, -0.09917397052049637, -0.5000890493392944, -0.6329173445701599, 0.47064343094825745, -1.3493348360061646, -0.055103350430727005, 1.0417488813400269, -0.005376046989113092, -0.015214648097753525, -0.5191376805305481, -0.5104551315307617, 0.2662912905216217, -0.6528089046478271, 0.3782411515712738, 0.960163950920105, -0.359351247549057, -0.4076007008552551, -0.7475218176841736, 0.5758436322212219, 0.22483979165554047, -0.7893846035003662, 0.20709265768527985, 0.7141780853271484, -0.05200345814228058, 0.32259535789489746, 0.4897219240665436, -0.3451051712036133, 0.4597336947917938, -0.12782786786556244, 0.052983358502388, -0.268900603055954, -0.6200273036956787, -0.5030823945999146, -0.05595046654343605, -0.07912500947713852, -0.42419931292533875 ]
http://arxiv.org/abs/2404.07613v1
http://arxiv.org/pdf/2404.07613v1
Medical mT5: An Open-Source Multilingual Text-to-Text LLM for The Medical Domain
2024-04-11T10:01:32
2024-04-11T10:01:32
Iker García-Ferrero, Rodrigo Agerri, Aitziber Atutxa Salazar, Elena Cabrio, Iker de la Iglesia, Alberto Lavelli, Bernardo Magnini, Benjamin Molinet, Johana Ramirez-Romero, German Rigau, Jose Maria Villa-Gonzalez, Serena Villata, Andrea Zaninello
cs.CL
cs.CL, cs.AI, cs.LG
Research on language technology for the development of medical applications is currently a hot topic in Natural Language Understanding and Generation. Thus, a number of large language models (LLMs) have recently been adapted to the medical domain, so that they can be used as a tool for mediating in human-AI interaction. While these LLMs display competitive performance on automated medical texts benchmarks, they have been pre-trained and evaluated with a focus on a single language (English mostly). This is particularly true of text-to-text models, which typically require large amounts of domain-specific pre-training data, often not easily accessible for many languages. In this paper, we address these shortcomings by compiling, to the best of our knowledge, the largest multilingual corpus for the medical domain in four languages, namely English, French, Italian and Spanish. This new corpus has been used to train Medical mT5, the first open-source text-to-text multilingual model for the medical domain. Additionally, we present two new evaluation benchmarks for all four languages with the aim of facilitating multilingual research in this domain. A comprehensive evaluation shows that Medical mT5 outperforms both encoders and similarly sized text-to-text models for the Spanish, French, and Italian benchmarks, while being competitive with current state-of-the-art LLMs in English.
[ -0.26396673917770386, -0.4039846658706665, 0.7748000621795654, 0.2371724247932434, -0.33015552163124084, 0.001714379177428782, -0.4110642075538635, -0.6235842108726501, 0.12686510384082794, 0.5169322490692139, -0.3102191984653473, -0.9261433482170105, -0.9272594451904297, 0.6769367456436157, -0.10906471312046051, 0.8963466286659241, -0.27943694591522217, 0.6220294237136841, -0.4535244107246399, -0.6682139039039612, -0.27290043234825134, -0.9411468505859375, -0.4681212604045868, -0.2792893648147583, 0.833244800567627, 0.21223235130310059, 0.39614948630332947, 0.7343317270278931, 0.8983556032180786, 0.24995948374271393, 0.2922678291797638, 0.29083746671676636, -0.23449155688285828, -0.011498138308525085, -0.08702912926673889, -0.3110392689704895, -0.7043578028678894, -0.22472889721393585, 0.6677947044372559, 0.7030693292617798, -0.15613636374473572, 0.1279750019311905, -0.2583826184272766, 0.5884442925453186, -0.3767813444137573, 0.13586413860321045, -0.41507717967033386, 0.02597125433385372, -0.41141435503959656, -0.47720128297805786, -0.5086496472358704, -0.3106919229030609, -0.07494733482599258, -0.5238500833511353, 0.009556900709867477, 0.00828371662646532, 0.6337031722068787, 0.36362212896347046, -0.570537805557251, -0.46846747398376465, -0.4653632342815399, 0.626220703125, -0.704348623752594, 0.7338936924934387, 0.39431920647621155, 0.4281345009803772, -0.0300743468105793, -1.0458346605300903, -0.42881450057029724, -0.19782176613807678, 0.21466675400733948, 0.16285403072834015, 0.0064775897189974785, -0.07333607226610184, -0.09807625412940979, 0.23681530356407166, -0.6182523965835571, 0.2241702675819397, -0.4940391480922699, 0.10057536512613297, 0.27675312757492065, 0.13733313977718353, 0.44475939869880676, 0.21301788091659546, -0.22579245269298553, 0.1246701031923294, -0.9987918734550476, -0.5643543004989624, -0.0772862657904625, 0.14950674772262573, -0.24355550110340118, 0.5886156558990479, 0.2489602267742157, 0.5063831210136414, -0.3000670373439789, -0.4386807680130005, 0.6598919630050659, -0.5210024118423462, -0.20659732818603516, -0.0814732238650322, 1.054366946220398, 0.3657727539539337, 0.23585036396980286, -0.21001560986042023, -0.014204439707100391, 0.035033173859119415, 0.4464832842350006, -0.992991030216217, -0.146465465426445, 0.37957563996315, -0.6372935175895691, -0.17134299874305725, -0.4129922091960907, -0.43019917607307434, -0.23134258389472961, -0.04533740133047104, 0.14844968914985657, -0.629202127456665, -0.010459293611347675, 0.27901849150657654, 0.2599451541900635, -0.21232204139232635, 0.2262001782655716, -0.7607836127281189, 0.27130696177482605, 0.3279452323913574, 0.7156600952148438, -0.4740182161331177, -0.47244343161582947, -0.3910974860191345, 0.31471338868141174, -0.35383155941963196, 0.8607780933380127, -0.4715459942817688, -0.5134748220443726, -0.008207108825445175, 0.15136680006980896, 0.01591452769935131, -0.7967507839202881, 0.7696147561073303, -0.2600427567958832, 0.5390529036521912, 0.009619205258786678, -0.3266132175922394, -0.09139876812696457, 0.3902797996997833, -0.7079010009765625, 0.724398136138916, -0.001283668214455247, -0.6933367848396301, 0.3624041676521301, -1.0444024801254272, -0.5947331190109253, 0.0798325166106224, -0.30661141872406006, -0.705518901348114, 0.0008051714976318181, 0.43428337574005127, 0.47899746894836426, -0.7434033155441284, 0.3579811751842499, -0.27992916107177734, -0.06346666067838669, 0.28003615140914917, -0.3631031811237335, 0.48306089639663696, 0.2923855781555176, 0.07584860175848007, 0.35972270369529724, -0.8133031129837036, -0.13946431875228882, 0.23042990267276764, -0.5664830803871155, -0.27218833565711975, 0.11178386956453323, 0.11660066246986389, 0.24386604130268097, 0.2677537202835083, -0.5006555318832397, 0.053369853645563126, -0.5254911780357361, 0.4150305390357971, 0.324796199798584, -0.19572536647319794, 0.031540971249341965, -0.28151053190231323, 0.4691050946712494, 0.2248435616493225, 0.1878948211669922, -0.40801918506622314, -0.4643027186393738, -0.30311110615730286, -0.661455512046814, 0.6412492394447327, 0.5231361985206604, -0.8671805262565613, 0.0853881761431694, -0.38645729422569275, -0.18756619095802307, -1.0016112327575684, 0.08209638297557831, 0.3299279510974884, 0.40428951382637024, 0.5900236368179321, -0.26545482873916626, -0.5046391487121582, -0.8422786593437195, -0.18579989671707153, 0.1763370782136917, 0.0013698736438527703, 0.18748705089092255, 0.4457632899284363, -0.6018477082252502, 0.3933531939983368, -0.22102849185466766, -0.4180719554424286, -0.3562355935573578, -0.1385897397994995, 0.15301503241062164, 0.3392588496208191, 0.7532212734222412, -0.6088959574699402, -0.4993340075016022, 0.3531613051891327, -0.8948624730110168, -0.05557209998369217, 0.31046605110168457, 0.11885133385658264, 0.20501457154750824, 0.19187770783901215, -0.3311672508716583, 0.029264329001307487, 0.8982489109039307, -0.039601944386959076, 0.2480621039867401, -0.7696684002876282, 0.2998802959918976, -1.5786808729171753, 0.4513791799545288, -0.001466103596612811, -0.3911230266094208, -0.5941811800003052, 0.10927114635705948, 0.23546333611011505, 0.012177062220871449, -0.6184135675430298, 0.6939824223518372, -0.5826455950737, 0.05561109259724617, -0.20365670323371887, -0.011442101560533047, -0.1737767457962036, 0.10204896330833435, 0.05035160109400749, 0.7402410507202148, 0.4158478081226349, -0.5295745730400085, 0.32349082827568054, 0.3864911198616028, -0.25075003504753113, 0.6757506728172302, -0.5406633019447327, 0.12910830974578857, -0.11933203041553497, 0.09662867337465286, -0.49400079250335693, -0.30563926696777344, 0.15864643454551697, -0.6631395220756531, 0.228956937789917, -0.03895295783877373, -0.7416985630989075, -0.42918160557746887, -0.17079871892929077, 0.5075473189353943, 0.4564588963985443, -0.46546557545661926, 0.3366718292236328, 0.665921151638031, -0.27896445989608765, -0.5216477513313293, -0.7977564334869385, 0.2608989477157593, -0.077003613114357, -0.4514031410217285, 0.2630099654197693, -0.2855968475341797, 0.09624255448579788, -0.10433061420917511, 0.2432333528995514, -0.35572925209999084, -0.11062699556350708, 0.028569912537932396, 0.3408213257789612, -0.3794771432876587, 0.23535001277923584, 0.11662010848522186, -0.2474294900894165, -0.006913053337484598, -0.38773471117019653, 0.42200908064842224, 0.20852932333946228, -0.5636619329452515, -0.2492954581975937, 0.42804864048957825, 0.7548909783363342, -0.46547839045524597, 0.8245106339454651, 0.41667991876602173, -0.45565974712371826, 0.12113521248102188, -0.4556513726711273, 0.09929902851581573, -0.38283640146255493, 0.5830911993980408, -0.48514488339424133, -0.8194350004196167, 0.24269722402095795, -0.35617873072624207, 0.2563818097114563, 0.5146597027778625, 0.9861534237861633, -0.05921773239970207, 1.1607167720794678, 0.6924242973327637, 0.13966360688209534, 0.011076266877353191, 0.25811973214149475, -0.09579441696405411, -0.6005892753601074, -0.28305429220199585, -0.6001963019371033, -0.0733608528971672, -0.49533575773239136, -0.6016583442687988, 0.7118375301361084, -0.46044811606407166, 0.04483460634946823, 0.03977952152490616, -0.41550689935684204, 0.34396058320999146, 0.2615668773651123, -0.032780714333057404, 0.5551865100860596, 0.10521013289690018, -0.579059898853302, -0.09038028120994568, -0.8148962259292603, -0.561860203742981, 1.4196733236312866, 0.4597732424736023, 0.5611884593963623, 0.08473867923021317, 0.5219706892967224, -0.1372281014919281, 0.6849012970924377, -0.587134599685669, 0.22276736795902252, -0.6993692517280579, -0.5716733336448669, 0.13668911159038544, -0.49679434299468994, -1.2937461137771606, 0.2619018256664276, -0.2746489644050598, -0.1270831823348999, -0.36635130643844604, 0.09403975307941437, -0.18701188266277313, 0.32502371072769165, -0.6101325750350952, 1.041488766670227, -0.46312493085861206, -0.19074812531471252, -0.16670095920562744, -0.7590199708938599, 0.20201876759529114, -0.3861810863018036, 0.5237306356430054, -0.03485661372542381, -0.196649968624115, 0.4353157877922058, -0.3385218679904938, 0.6187028288841248, 0.049353037029504776, -0.0923236757516861, -0.13821962475776672, -0.28908559679985046, 0.03797435015439987, -0.07841672748327255, -0.018415527418255806, 0.45596039295196533, 0.34284523129463196, -0.4134107232093811, -0.1815931797027588, 0.601067066192627, -0.7694243788719177, -0.09438478946685791, -0.449178010225296, -0.4161875247955322, -0.36711978912353516, 0.48709172010421753, 0.2882094979286194, 0.498713880777359, -0.5236459970474243, 0.17159150540828705, 0.6169881820678711, -0.7233709096908569, 0.10779914259910583, 0.7268174886703491, -0.5063721537590027, -0.6748014092445374, 0.8684268593788147, -0.0374857634305954, 0.20840708911418915, 0.5380064249038696, 0.11642378568649292, -0.3696707487106323, -0.887538731098175, -0.8693528771400452, 0.5520455241203308, -0.5406199097633362, -0.06353476643562317, -0.7022145986557007, -0.06335929036140442, -0.3447708785533905, 0.05783019959926605, -0.40690848231315613, -0.11286115646362305, -0.11521250754594803, 0.03939097002148628, 0.21644359827041626, 0.8933043479919434, 0.23984113335609436, 0.12752628326416016, -1.1812199354171753, 0.5185233950614929, -0.3416283428668976, 0.6211603283882141, -0.49296700954437256, -0.17418725788593292, -0.5234167575836182, -0.08689607679843903, -0.22261758148670197, -0.7424564957618713, 0.5194111466407776, -0.032041799277067184, 0.6088802814483643, 0.3053635358810425, -0.29716095328330994, 0.38776716589927673, -1.0321749448776245, 0.5334383249282837, 0.5038172006607056, -0.5174015760421753, 0.3251909613609314, -0.25491270422935486, 0.5073133111000061, 0.4829782247543335, 0.49554213881492615, -0.620817244052887, -0.28105080127716064, -0.4282190799713135, -0.6057876348495483, 0.48439374566078186, -0.005008247215300798, -0.0008770402637310326, -0.15573322772979736, 0.08973505347967148, 0.3661821782588959, 0.43216386437416077, -0.6565566062927246, -0.18715716898441315, -0.006490565370768309, -0.8425218462944031, -0.1546243578195572, -0.08768608421087265, -0.2995215058326721, -0.086601622402668, 0.3796828091144562, -0.31122490763664246, 0.5483826994895935, 0.05052744969725609, -0.14664813876152039, 0.07401472330093384, 0.26411810517311096, 0.8824601769447327, 0.6374109983444214, 0.051574792712926865, 0.13398469984531403, 0.3588499128818512, -0.7459718585014343, 0.03576943650841713, 0.22663632035255432, 0.19298504292964935, 0.19486865401268005, 0.3358125686645508, 0.7122499346733093, 0.0732438936829567, -0.9230992794036865, 0.5290194153785706, -0.11855695396661758, -0.3411477208137512, -0.16284559667110443, -0.41822153329849243, 0.2926599979400635, -0.03069165162742138, -0.05324816331267357, 0.06855131685733795, -0.022653572261333466, -0.5598834156990051, 0.18758830428123474, 0.294580340385437, -0.30100083351135254, -0.4795898199081421, 0.8751437067985535, 0.4283140003681183, -0.06429778039455414, 0.29015669226646423, 0.16914138197898865, -0.2991316020488739, 0.2654574513435364, 0.6163856983184814, 0.5794826149940491, -0.5112706422805786, -0.2346024066209793, 0.25614699721336365, 0.3155445456504822, -0.12234791368246078, 0.5280718803405762, 0.46244877576828003, -0.6220956444740295, -0.6317348480224609, -0.41186219453811646, -0.4718998968601227, 0.04214207082986832, -0.19646939635276794, 0.47350266575813293, -0.28660714626312256, -0.30327704548835754, 0.04940325394272804, -0.3197396397590637, -0.625604510307312, 0.38595977425575256, 0.039203766733407974, 0.7857140898704529, -0.19189196825027466, 1.294731616973877, 0.9136214852333069, -0.42730608582496643, -0.36484238505363464, -0.2515929937362671, -0.141065314412117, -1.0274732112884521, 0.5103473663330078, 0.0055228727869689465, -0.07271823287010193, -0.048254553228616714, -0.3206617832183838, -0.4579334259033203, 0.9055690169334412, 0.6211366653442383, -0.43920040130615234, -0.24585650861263275, 0.45467984676361084, 0.704289972782135, -0.5309396386146545, 0.2966160476207733, 0.22098907828330994, 0.3616536557674408, -0.0006139901815913618, -1.2188621759414673, -0.07784155756235123, -0.30969658493995667, -0.3455195426940918, 0.33200502395629883, -0.5487041473388672, 0.6046841740608215, -0.307891309261322, 0.044008150696754456, 0.08306749165058136, 0.32902956008911133, 0.2054782509803772, 0.36905431747436523, 0.013977518305182457, 0.46009114384651184, 0.7159132361412048, -0.11043599992990494, 1.2614564895629883, -0.7399775981903076, 0.10401754081249237, 0.8563330173492432, -0.5056727528572083, 0.9399906992912292, 0.30681687593460083, -0.12418100237846375, 0.2114163637161255, 0.516331672668457, 0.14500732719898224, 0.34396228194236755, 0.01754157990217209, -0.4371253252029419, 0.10857418924570084, 0.0719769075512886, -0.5711419582366943, 0.21313035488128662, 0.5050693154335022, -0.6341060400009155, 0.06223011016845703, 0.1986967921257019, 0.1915857344865799, -0.061624251306056976, -0.1534004658460617, 0.8709973096847534, 0.2910214960575104, -0.4785020053386688, 0.6344425082206726, 0.32944250106811523, 0.4914357662200928, -0.809709906578064, 0.07511575520038605, -0.0009528141235932708, 0.3178415596485138, -0.1612267941236496, -0.5676472783088684, 0.36467599868774414, 0.2593114376068115, -0.13478773832321167, -0.28557589650154114, 0.5929415822029114, -0.6228641867637634, -0.5890257358551025, 0.287174791097641, 0.688831627368927, 0.34113070368766785, 0.21906602382659912, -0.5067604184150696, 0.14754894375801086, -0.15940900146961212, 0.07204887270927429, 0.41520971059799194, 0.6122072339057922, 0.020383043214678764, 0.7014588117599487, 0.7825546860694885, 0.39477288722991943, -0.0481785349547863, 0.21574871242046356, 0.7018144130706787, -0.6655840277671814, -0.36594489216804504, -0.9318796992301941, 0.33602574467658997, 0.07185834646224976, -0.2731224000453949, 0.4417988955974579, 0.8019157648086548, 0.5871601104736328, -0.14298562705516815, 0.9982913136482239, 0.37366458773612976, 0.9202020168304443, -0.5671781897544861, 0.9467512369155884, -0.7530242800712585, 0.1323765367269516, 0.05963125452399254, -0.5467930436134338, -0.7350676655769348, 0.4556959569454193, 0.006924137007445097, 0.09080621600151062, 1.1640191078186035, 0.3646047115325928, -0.005515481345355511, -0.17795298993587494, 0.5969873070716858, 0.2959917485713959, 0.14964915812015533, 0.6898576021194458, 0.5495908856391907, -0.22977496683597565, 0.49473991990089417, 0.2771780490875244, -0.09768503159284592, -0.15646059811115265, -0.7265200614929199, -0.968226432800293, -0.40410253405570984, -0.087320975959301, -0.27687323093414307, 0.21692094206809998, 1.1650160551071167, 0.6382798552513123, -0.7391777038574219, -0.2884838879108429, 0.3805522918701172, -0.17331130802631378, -0.03263534978032112, 0.016634875908493996, 0.18769997358322144, -0.20317433774471283, -0.8678901791572571, 0.5944868326187134, 0.6631886959075928, 0.04172725975513458, -0.3050813376903534, -0.22512435913085938, -0.06287834793329239, 0.03788701072335243, 0.7314373254776001, 0.07757308334112167, -0.5687888264656067, -0.048087239265441895, 0.17479120194911957, -0.45199236273765564, 0.627325177192688, 0.8326451182365417, -0.6295543909072876, 0.5207639932632446, 0.15411736071109772, 0.8939589858055115, 0.44934043288230896, -0.30711376667022705, 0.8236551880836487, -0.47019460797309875, -0.05686088651418686, 0.24005967378616333, 0.4547465741634369, 0.4592433273792267, 0.020880065858364105, 0.6072038412094116, 0.33163899183273315, -0.46611303091049194, -0.7411026358604431, -0.011804965324699879, -0.7701168656349182, -0.3566531538963318, 0.9551641941070557, -0.11495862156152725, -0.08803099393844604, -0.11608029156923294, -0.36565354466438293, 0.40654733777046204, -0.08150909096002579, 0.5680628418922424, 0.6922797560691833, -0.01585325039923191, -0.13167530298233032, -1.084722638130188, 0.37861084938049316, 0.3166497051715851, -1.3227218389511108, -0.35482046008110046, 0.36117592453956604, 0.3991597294807434, -0.07008013129234314, 0.9731749296188354, -0.4952377676963806, 0.22534486651420593, -0.31258875131607056, 0.36283549666404724, -0.012630990706384182, -0.34807735681533813, -0.25696292519569397, 0.3233962953090668, 0.2555173635482788, -0.22409357130527496 ]
http://arxiv.org/abs/2404.07611v2
http://arxiv.org/pdf/2404.07611v2
NoticIA: A Clickbait Article Summarization Dataset in Spanish
2024-04-11T09:59:01
2024-05-31T15:19:18
Iker García-Ferrero, Begoña Altuna
cs.CL
cs.CL, cs.AI
We present NoticIA, a dataset consisting of 850 Spanish news articles featuring prominent clickbait headlines, each paired with high-quality, single-sentence generative summarizations written by humans. This task demands advanced text understanding and summarization abilities, challenging the models' capacity to infer and connect diverse pieces of information to meet the user's informational needs generated by the clickbait headline. We evaluate the Spanish text comprehension capabilities of a wide range of state-of-the-art large language models. Additionally, we use the dataset to train ClickbaitFighter, a task-specific model that achieves near-human performance in this task.
[ -0.06799722462892532, -0.3863345682621002, 0.2858346700668335, 0.7897759675979614, -0.24101869761943817, 0.20724555850028992, 0.010779707692563534, -0.40796780586242676, 0.3847532272338867, 0.5997113585472107, -0.5421090126037598, -0.6645145416259766, -0.5884796977043152, 0.4883059561252594, -0.7629535794258118, 1.446946620941162, 0.21248134970664978, -0.017113350331783295, -0.37863004207611084, 0.029198074713349342, -0.12059774249792099, 0.15602467954158783, -0.5508752465248108, -0.07705771923065186, 0.5919175744056702, 0.4237467050552368, 0.6617844104766846, 0.44162970781326294, 0.3342999815940857, 0.17658454179763794, 0.032779350876808167, 0.04274996370077133, -0.8217443823814392, -0.3561543822288513, -0.5104278922080994, -0.5297399163246155, -0.4828892946243286, -0.12316178530454636, 0.40698882937431335, 1.003645420074463, 0.033704131841659546, 0.27714934945106506, -0.13985131680965424, 0.9103310108184814, -0.33829110860824585, 0.11747939884662628, -0.5191073417663574, -0.23175449669361115, -0.09083080291748047, -0.29383787512779236, -0.4274367392063141, -0.6925638914108276, 0.2689473330974579, -0.6382092833518982, 0.5297263264656067, 0.2995459735393524, 0.8692672252655029, 0.8600578308105469, -0.6981892585754395, -0.3846134841442108, -0.3053990602493286, 0.5534064769744873, -0.3631015717983246, 0.3858810067176819, 0.6123215556144714, -0.04084985330700874, -0.12347497045993805, -0.34068384766578674, -0.1349911242723465, -0.3443238139152527, -0.045711662620306015, 0.26500239968299866, -0.4484376609325409, -0.11674882471561432, 0.05724663287401199, 0.2764381766319275, -0.8661538362503052, -0.021621495485305786, -0.8233433365821838, -0.012318962253630161, 0.7143216729164124, 0.10135986655950546, 0.3711574375629425, -0.27413299679756165, -0.29310664534568787, 0.13433624804019928, -0.6793134808540344, -0.13567492365837097, 0.8018247485160828, 0.07104571908712387, -0.23822753131389618, 0.46258270740509033, -0.4835174083709717, 0.7786703705787659, 0.08151212334632874, -0.3205795884132385, 0.369056761264801, -0.1481662392616272, -0.47031915187835693, 0.107988640666008, 0.7663821578025818, 0.5726969838142395, 0.31911414861679077, -0.672051727771759, 0.10086459666490555, -0.09212565422058105, 0.4629519581794739, -0.5501940250396729, -0.1911969780921936, 0.6803115606307983, -0.49734261631965637, -0.8163832426071167, 0.2697139084339142, -0.9616055488586426, -0.3478195071220398, 0.017053518444299698, 0.4155617952346802, -0.23192793130874634, -0.20243680477142334, 0.5029410123825073, -0.471292108297348, -0.17798225581645966, 0.08818919211626053, -0.8186818361282349, 0.16895413398742676, 0.11855088174343109, 0.6332715153694153, -0.3910718262195587, -0.6210663914680481, -0.24854610860347748, 0.16026854515075684, -0.38100963830947876, 1.0026963949203491, -0.26602262258529663, -0.2483881115913391, -0.26426976919174194, 0.12560395896434784, -0.558396577835083, -0.4147005081176758, 0.6631668210029602, -0.7737264037132263, 0.3061772286891937, -0.3520806133747101, -0.17908449470996857, -0.642716646194458, 0.10460717976093292, -1.125173807144165, 0.8892501592636108, 0.10762375593185425, -0.972426176071167, 0.31517139077186584, -0.8199187517166138, -0.8860222697257996, -0.23918896913528442, 0.2792401909828186, -0.11810078471899033, 0.2721114754676819, 0.285988986492157, 0.3609284460544586, -0.2893047630786896, 0.4829902946949005, 0.26939499378204346, -0.22209949791431427, 0.2878413796424866, -0.3180384635925293, 0.7500595450401306, -0.014934270642697811, -0.3014122545719147, 0.035490911453962326, -0.7571533918380737, -0.5842772722244263, 0.07598353177309036, -0.6836686730384827, -0.23116393387317657, -0.1661345511674881, 0.282036691904068, 0.21896207332611084, 0.5941522717475891, -0.3656071424484253, -0.03211617469787598, -0.47280392050743103, 0.17797686159610748, 0.1368843913078308, 0.07543456554412842, 0.3886373043060303, -0.5588611364364624, 0.6927889585494995, -0.21079808473587036, 0.1317257285118103, -0.40905338525772095, -0.21998478472232819, -0.5636433959007263, 0.11991283297538757, 0.48678115010261536, 0.7553515434265137, -1.0664845705032349, 0.03241957724094391, -0.4855477511882782, -0.4667356312274933, -0.2758435606956482, 0.1660454422235489, 0.5038250088691711, 0.6975693702697754, 0.36547988653182983, 0.25049465894699097, -0.626959502696991, -0.7269412875175476, -0.36675772070884705, 0.03845231607556343, -0.07833608239889145, 0.03227141499519348, 0.9597892761230469, 0.3289532959461212, 0.8280956745147705, -0.40480175614356995, -0.6811202764511108, -0.6658783555030823, 0.46442490816116333, 0.44376280903816223, -0.07892508804798126, 0.7583458423614502, -1.1068670749664307, -0.3477129340171814, -0.23671971261501312, -0.9961742758750916, -0.25634345412254333, -0.26401305198669434, 0.2873607277870178, 0.07125093787908554, 0.6335670948028564, -0.1623820662498474, 0.29080504179000854, 0.8238492012023926, -0.5082554221153259, 0.5100416541099548, -0.45946168899536133, 0.4926118552684784, -1.0410652160644531, 0.4356767237186432, 0.2422603964805603, -0.23669034242630005, -0.614454984664917, -0.1961526870727539, 0.21756099164485931, 0.12707488238811493, -0.789849042892456, 0.3434727191925049, -0.40306422114372253, -0.18165534734725952, -0.46715494990348816, -0.03692273050546646, 0.15354321897029877, 0.38342389464378357, 0.3821524977684021, 1.025362253189087, 0.3559796214103699, -0.6483253836631775, 0.33559486269950867, 0.49155500531196594, -0.291928231716156, 0.6355269551277161, -1.0566935539245605, -0.4522131085395813, -0.6615986227989197, 0.3629443645477295, -1.0502712726593018, -0.7722875475883484, -0.1983630657196045, -0.6319485306739807, -0.13580453395843506, -0.13415728509426117, -0.5972526669502258, -0.4164418876171112, -0.6348883509635925, 0.2445509135723114, 0.08191454410552979, -0.48286423087120056, 0.3612143099308014, 0.4509802460670471, -0.14208517968654633, -0.5914090871810913, -0.7164713144302368, 0.38134920597076416, -0.3366987705230713, -0.47589683532714844, 0.37581363320350647, 0.11840423941612244, -0.04526667669415474, 0.1355191320180893, 0.0432489737868309, -0.10074391216039658, 0.06828507781028748, 0.1515258252620697, 0.08228268474340439, -0.016033150255680084, 0.20152759552001953, 0.3122197687625885, -0.1554654836654663, 0.06441228091716766, -0.2127101570367813, 0.498156875371933, 0.35377877950668335, -0.027109263464808464, -0.558135449886322, 0.2494661957025528, 0.7408920526504517, -0.3472353518009186, 0.9059082269668579, 0.17477798461914062, -0.2173505276441574, -0.03859719634056091, -0.4559653103351593, 0.10308648645877838, -0.3481198847293854, 0.3706028461456299, -0.2152070552110672, -0.4388086497783661, 0.49167799949645996, 0.09774426370859146, 0.12067660689353943, 0.5980252623558044, 0.4176473319530487, -0.20592905580997467, 0.8464592695236206, 0.6881767511367798, -0.3091214895248413, 0.18824535608291626, -0.36944591999053955, -0.166480153799057, -0.47721320390701294, -0.54788738489151, -0.4173562228679657, -0.4768224060535431, -0.10103767365217209, -0.25430378317832947, 0.41214364767074585, -0.35907334089279175, 0.31783291697502136, 0.47564634680747986, -0.021214673295617104, 0.8893525004386902, 0.539115846157074, 0.12362740933895111, 0.7588196992874146, -0.1674196422100067, 0.4982880651950836, 0.11687055975198746, -0.6214497685432434, -0.4682886302471161, 1.175767421722412, 0.16340909898281097, 0.9973645806312561, 0.22782014310359955, 0.3201465606689453, 0.6250196695327759, -0.11846379935741425, -0.6519850492477417, 0.17828859388828278, -0.33615559339523315, -0.6746429204940796, -0.16677959263324738, -0.2940172553062439, -1.1720504760742188, 0.323812872171402, -0.13154983520507812, -0.6172313690185547, 0.15466101467609406, 0.020229093730449677, -0.4735957086086273, 0.2139492928981781, -0.5947211980819702, 0.8658368587493896, -0.16908776760101318, 0.04787914454936981, -0.20479002594947815, -0.5902409553527832, 0.32504943013191223, -0.02272816002368927, 0.2827257215976715, -0.02408575639128685, -0.5922818779945374, 1.0501999855041504, 0.010462765581905842, 0.8305473327636719, 0.25762084126472473, 0.02960232086479664, -0.050214897841215134, 0.036581408232450485, 0.2894810438156128, -0.0203224066644907, -0.09655699878931046, -0.02223655954003334, -0.15114116668701172, -0.5851261019706726, -0.11745316535234451, 0.46746736764907837, -0.5485430359840393, -0.013744980096817017, -0.4000922739505768, -0.674765408039093, -0.12418904155492783, 0.236747145652771, 0.5840649604797363, 0.44102418422698975, -0.5125908255577087, 0.15224283933639526, 0.8854361176490784, -0.10466468334197998, 0.6513229608535767, 0.6559479236602783, 0.02653534524142742, -0.37847086787223816, 1.0858371257781982, 0.07776334136724472, -0.12328799068927765, 0.4751514494419098, -0.23727653920650482, -0.5900103449821472, -0.8798701167106628, -0.6441117525100708, 0.6063246130943298, -0.2978737950325012, -0.10430990904569626, -0.9945991039276123, 0.1174100786447525, -0.2789548933506012, -0.15438126027584076, -0.15134723484516144, -0.290667325258255, -0.5322173833847046, -0.3794536292552948, 0.2674144208431244, 1.1219255924224854, 0.12324851006269455, 0.5383375287055969, -0.7588236331939697, 0.622989296913147, -0.03295021504163742, 0.19941960275173187, -0.056882716715335846, -0.5572159886360168, -0.3195522725582123, -0.3325175344944, -0.133645698428154, -1.3697843551635742, 0.47635123133659363, 0.07551632076501846, 0.45484352111816406, 0.6042700409889221, 0.1373874843120575, 0.18524469435214996, -0.06922092288732529, 0.6601993441581726, -0.10936202853918076, -0.7383592128753662, 0.637711763381958, -0.948215901851654, 0.3034261465072632, 0.956388533115387, 0.7872216105461121, -0.276566743850708, -0.48572254180908203, -0.7021002769470215, -0.7496200203895569, 0.8637810349464417, 0.35388606786727905, 0.17194433510303497, -0.020239580422639847, -0.060576677322387695, 0.353849321603775, 0.700798749923706, -0.6708317399024963, -0.1794595718383789, -0.05505089461803436, -0.4299502372741699, -0.032449014484882355, -0.4167691767215729, 0.21647171676158905, 0.038272932171821594, 0.7907471060752869, -0.01876886747777462, -0.34542110562324524, -0.016192596405744553, -0.7609387636184692, 0.10463228821754456, 0.022581620141863823, 0.7805300354957581, 1.1228290796279907, -0.23699864745140076, -0.1340726912021637, 0.18079227209091187, -0.5871154069900513, -0.12956510484218597, 0.055880576372146606, -0.2742317318916321, 0.19319719076156616, 0.4887169599533081, 0.6852493286132812, 0.7611138820648193, -0.8687809109687805, 0.6442987322807312, -0.0928778201341629, -0.4408709704875946, -0.17261430621147156, -0.06179816275835037, -0.02500126138329506, 0.17693792283535004, 0.8159729242324829, -0.1763618290424347, 0.48325735330581665, -0.35288915038108826, 0.13697727024555206, -0.08128384500741959, -0.23298440873622894, -0.46343374252319336, 1.0909749269485474, 0.45215246081352234, 0.22878725826740265, 0.1439056396484375, -0.18822520971298218, -0.4244988262653351, 0.8694628477096558, 0.40725141763687134, 0.45743000507354736, -0.03744516149163246, 0.7797529101371765, 0.43779197335243225, 0.4137113094329834, -0.4786410927772522, 0.3802182078361511, 0.033410683274269104, -0.378164142370224, -0.6115606427192688, -0.4225256145000458, -0.46266189217567444, 0.16476409137248993, -0.6052221655845642, 0.1632920801639557, -0.13960382342338562, 0.18197397887706757, 0.07030100375413895, -0.0757158100605011, -0.34145963191986084, 0.328551322221756, -0.2831283211708069, 1.2024496793746948, -1.383304476737976, 0.458810031414032, 0.850298285484314, -0.8353520631790161, -0.11509837210178375, 0.1773795634508133, -0.1179102286696434, -0.607977569103241, 0.28864020109176636, 0.054820768535137177, -0.0331035740673542, 0.2545469403266907, -0.41129663586616516, -0.8121177554130554, 0.9808871150016785, 0.5615994334220886, -0.050801798701286316, -0.5062240362167358, 0.03569032624363899, 0.4619573652744293, -0.1040806770324707, 0.22435420751571655, 0.9392784833908081, 0.5675070285797119, 0.2997530400753021, -1.0766892433166504, -0.3022642135620117, -0.09981431066989899, -0.3688342571258545, 0.2186201810836792, -0.8981314301490784, 0.7477896213531494, -0.3382813632488251, -0.0005450306343846023, -0.07635820657014847, 0.7080504894256592, -0.15968908369541168, 0.5073909759521484, 0.3698650598526001, 0.6009573936462402, 0.7184298038482666, -0.05530228093266487, 1.060127854347229, -0.05067617818713188, 0.3227359354496002, 1.1531221866607666, 0.3775215744972229, 0.5915156006813049, 0.34280070662498474, -0.16302183270454407, 0.39041662216186523, 0.6298666000366211, -0.058733824640512466, 0.6440128087997437, -0.3427615463733673, -0.03716258332133293, -0.19000652432441711, -0.3710382282733917, -0.11780723184347153, 0.6795952320098877, 0.1562599539756775, -0.512428343296051, -0.732142984867096, 0.34919801354408264, 0.3903981149196625, 0.22994957864284515, -0.5531090497970581, 0.9444454908370972, -0.34350648522377014, -0.6814633011817932, 0.18090221285820007, 0.04891062155365944, 0.6870002150535583, -0.2208508849143982, 0.31639742851257324, -0.22116629779338837, -0.31149640679359436, -0.5618204474449158, -0.6735630631446838, 0.4580951929092407, 0.31617510318756104, -0.4890567362308502, -0.059039078652858734, 0.3919782042503357, -0.3637621998786926, -0.5860010981559753, 0.021198363974690437, 0.5998669862747192, 0.5009623169898987, -0.4844062626361847, -0.5046671032905579, 0.02916327491402626, 0.11117859184741974, -0.1487787514925003, 0.0112596545368433, 0.09360280632972717, -0.12861593067646027, 0.554979681968689, 0.6319132447242737, 0.1389363557100296, 0.021383319050073624, 0.355770468711853, 0.7496539950370789, -0.7236992716789246, -0.8356876373291016, -0.835071861743927, 0.5630433559417725, -0.2378932386636734, -0.2880498170852661, 0.6777220964431763, 0.8994492292404175, 0.4835292100906372, -0.26794523000717163, 0.8859411478042603, -0.10753898322582245, 0.47333821654319763, -0.43944594264030457, 0.8871280550956726, -0.5837777256965637, -0.2956850528717041, 0.03908984363079071, -0.7242954969406128, -0.3380350172519684, 0.3096141815185547, -0.5150499939918518, -0.03151670843362808, 0.7153525948524475, 0.44025781750679016, -0.2504180669784546, 0.06633029133081436, 0.37464094161987305, 0.25130167603492737, -0.1777881681919098, 0.6905418634414673, 0.5182979106903076, -0.48330122232437134, 0.9054733514785767, -0.014378177002072334, -0.2883547842502594, -0.5723593235015869, -1.010612964630127, -1.4434317350387573, -0.6864649057388306, -0.31793344020843506, 0.0013929936103522778, 0.025146471336483955, 0.6502590179443359, 0.5118039846420288, -0.7616474032402039, -0.059121936559677124, 0.01543955784291029, 0.4263221025466919, 0.10407761484384537, -0.20788246393203735, 0.4387146532535553, -0.2523840665817261, -1.088830590248108, 0.537356436252594, 0.23522473871707916, -0.0057615721598267555, -0.2839967906475067, 0.3516820967197418, -0.07268679141998291, 0.17590180039405823, 0.46521779894828796, 0.46053072810173035, -0.2882092297077179, 0.23861782252788544, 0.05116674304008484, 0.06878139823675156, -0.04957148805260658, 0.6725130081176758, -0.9850962162017822, 0.15700605511665344, 0.6967824697494507, 0.42668846249580383, 0.41974368691444397, 0.3146074712276459, 0.3455485701560974, -0.7704721689224243, 0.34127184748649597, -0.06924018263816833, 0.17874890565872192, 0.3740313649177551, -0.42115429043769836, 0.45195725560188293, -0.10629182308912277, -0.17635151743888855, -0.6961719989776611, -0.050968676805496216, -0.9384095072746277, -0.16245491802692413, 0.9974440336227417, 0.22688667476177216, -0.5309020280838013, -0.5336697101593018, -0.3588714599609375, -0.007649624720215797, -0.6757375001907349, 0.9004293084144592, 0.5047725439071655, -0.007461754605174065, -0.14473797380924225, -0.7216832637786865, 0.5568593144416809, 0.03849880397319794, -1.0255308151245117, -0.20411109924316406, 0.3845426142215729, 0.519088089466095, -0.008558874018490314, 0.6830646395683289, -0.05263541266322136, 0.6618170738220215, -0.13507616519927979, -0.22770331799983978, -0.35573258996009827, -0.6907075643539429, -0.22945097088813782, 0.46308836340904236, -0.3275906443595886, -0.3276923894882202 ]
http://arxiv.org/abs/2404.07584v1
http://arxiv.org/pdf/2404.07584v1
UltraEval: A Lightweight Platform for Flexible and Comprehensive Evaluation for LLMs
2024-04-11T09:17:12
2024-04-11T09:17:12
Chaoqun He, Renjie Luo, Shengding Hu, Yuanqian Zhao, Jie Zhou, Hanghao Wu, Jiajie Zhang, Xu Han, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL
Evaluation is pivotal for honing Large Language Models (LLMs), pinpointing their capabilities and guiding enhancements. The rapid development of LLMs calls for a lightweight and easy-to-use framework for swift evaluation deployment. However, due to the various implementation details to consider, developing a comprehensive evaluation platform is never easy. Existing platforms are often complex and poorly modularized, hindering seamless incorporation into researcher's workflows. This paper introduces UltraEval, a user-friendly evaluation framework characterized by lightweight, comprehensiveness, modularity, and efficiency. We identify and reimplement three core components of model evaluation (models, data, and metrics). The resulting composability allows for the free combination of different models, tasks, prompts, and metrics within a unified evaluation workflow. Additionally, UltraEval supports diverse models owing to a unified HTTP service and provides sufficient inference acceleration. UltraEval is now available for researchers publicly~\footnote{Website is at \url{https://github.com/OpenBMB/UltraEval}}.
[ -0.0029427718836814165, -0.5914047360420227, 0.49173474311828613, 0.49244001507759094, -0.23421131074428558, 0.2582198977470398, -0.45886653661727905, -0.2154841125011444, -0.03588227555155754, 0.3467389941215515, -0.23664578795433044, -0.5433273911476135, -0.11495228856801987, -0.15414610505104065, -0.6188881397247314, 0.8795166611671448, -0.007882403209805489, 0.23391568660736084, -0.2830420434474945, -0.2862793505191803, 0.034475985914468765, -0.4215977191925049, 0.005251464433968067, -0.5689101815223694, 0.18318946659564972, 0.4322182834148407, 0.6956812143325806, 0.49125537276268005, 0.8044813871383667, 0.323491632938385, -0.1451638787984848, -0.11541920155286789, -0.6052607893943787, 0.3932354748249054, -0.3159034252166748, -0.2107527107000351, -0.50857013463974, -0.29470008611679077, 0.7211504578590393, 0.945959746837616, -0.4394682049751282, 0.6212007999420166, 0.2303977906703949, 0.6463320255279541, -0.8324178457260132, -0.205923393368721, -0.5857813358306885, -0.08951324969530106, -0.21996460855007172, -0.0068856398575007915, -0.3985282778739929, -0.26669514179229736, 0.11360934376716614, -0.2823641300201416, -0.13256120681762695, 0.06158124655485153, 0.25092706084251404, -0.10201392322778702, -0.25136974453926086, 0.12446867674589157, -0.7057662010192871, 0.8328109979629517, -0.6315699219703674, 0.613543689250946, -0.2632891535758972, 0.5326893925666809, -0.11310038715600967, -1.0088696479797363, -0.3239346146583557, -0.5281347632408142, 0.357234388589859, -0.06531980633735657, -0.27481794357299805, 0.1091228723526001, -0.15880897641181946, 0.42492422461509705, -0.44201940298080444, 0.2180412858724594, 0.08376795798540115, -0.15605108439922333, 0.23794104158878326, 0.5121166706085205, 0.2892504036426544, -0.4067608118057251, -0.4272085726261139, 0.3740863502025604, -0.7233713865280151, -0.037333350628614426, 0.03680161386728287, 0.6482123136520386, -0.1905900239944458, 0.6435810327529907, -0.33173736929893494, 0.3655363917350769, -0.32846730947494507, 0.02937684953212738, 0.3212188184261322, -0.3093802034854889, -0.4646463692188263, -0.35017868876457214, 0.9474530220031738, 0.1716884821653366, -0.27502769231796265, -0.08352915197610855, -0.6560191512107849, -0.1303015947341919, 0.09278853237628937, -0.8716555833816528, -0.17082850635051727, 0.1309152990579605, -0.9180410504341125, -0.4328896999359131, -0.08890687674283981, -0.8300487995147705, -0.5637928247451782, -0.14489537477493286, 0.36877691745758057, -0.03473560884594917, -0.23071546852588654, 0.09402285516262054, 0.2759352922439575, -0.04014189913868904, 0.31802162528038025, -0.8035275936126709, 0.35886189341545105, 0.6197253465652466, 0.7969411015510559, -0.272575706243515, -0.27359071373939514, -0.48212459683418274, -0.023064671084284782, -0.2194579690694809, 0.7919481992721558, -0.7616077065467834, -0.5991132855415344, 0.06926155835390091, -0.12091442197561264, 0.07018119096755981, -0.4243195056915283, 0.9158656001091003, -0.47861936688423157, -0.2917950451374054, -0.024815823882818222, -0.42627280950546265, 0.11116036772727966, 0.04037382826209068, -0.49610036611557007, 1.322628378868103, 0.3592495620250702, -0.7057344317436218, 0.0994482934474945, -0.8737866878509521, -0.22036327421665192, 0.7059869766235352, -0.09764087945222855, 0.012299908325076103, 0.38371941447257996, 0.09185317903757095, 0.5119994282722473, -0.5861670970916748, 0.2818843424320221, -0.5689896941184998, -0.5557413697242737, 0.12070775032043457, -0.42381376028060913, 0.7256426811218262, 0.37982481718063354, -0.5407547950744629, 0.47473451495170593, -0.8246573209762573, 0.11652472615242004, 0.02429061010479927, -0.5637253522872925, -0.31277036666870117, -0.04814855381846428, 0.6164659857749939, -0.1998540461063385, 0.3823595941066742, -0.5476102828979492, 0.15189693868160248, -0.14584332704544067, 0.20849384367465973, 0.7708700299263, -0.2789950966835022, 0.23567010462284088, 0.1490505188703537, 0.6575828194618225, -0.5109392404556274, 0.4682568609714508, 0.013907955959439278, 0.0418388694524765, -0.7689118981361389, -0.5269713401794434, 0.5525183081626892, 0.5223552584648132, -0.47700265049934387, 0.5234046578407288, -0.4052685797214508, -0.7513127326965332, -0.7558596134185791, 0.5025561451911926, 0.5569945573806763, 0.5074602961540222, 0.08972568809986115, 0.006548999343067408, -0.7694278955459595, -0.7902562022209167, -0.0826852023601532, -0.2935972213745117, -0.2629793584346771, 0.16642571985721588, 0.6417478322982788, -0.6107699871063232, 0.6550831198692322, -0.09066975116729736, 0.06505464017391205, -0.6793547868728638, 0.10195475071668625, 0.14710836112499237, 0.44516921043395996, 0.33219054341316223, -0.48165076971054077, -0.2589242160320282, 0.0710424929857254, -0.8175336122512817, -0.255357027053833, 0.21095511317253113, -0.020487342029809952, -0.08592317253351212, 0.22733338177204132, -0.3342110812664032, 0.023250838741660118, 0.43597981333732605, -0.11413192749023438, 0.7318228483200073, -0.1448211669921875, 0.08445392549037933, -0.8635444045066833, 0.31655260920524597, -0.20514938235282898, -0.35413500666618347, -0.3690750300884247, 0.47704941034317017, 0.10728351771831512, -0.11539684981107712, -0.6062914133071899, 0.5737357139587402, -0.44583770632743835, -0.26580896973609924, -0.03152875974774361, 0.35346072912216187, -0.050939373672008514, -0.2794266641139984, -0.19905641674995422, 0.7934705018997192, 0.7312606573104858, -0.2915206253528595, 0.5567511916160583, 0.16934572160243988, -0.6933072209358215, 0.5429078936576843, -0.8181822299957275, 0.13237066566944122, 0.31376659870147705, 0.1632390320301056, -0.7945765852928162, -0.10917031019926071, -0.2904365360736847, -0.2624568045139313, -0.0688280388712883, -0.16204716265201569, -0.5125081539154053, -0.31629225611686707, -0.6777718663215637, 0.2269904762506485, 0.48746591806411743, -0.8103405237197876, 0.5325191617012024, 0.45834648609161377, -0.15297788381576538, -0.5962488055229187, -0.6489360332489014, 0.28160426020622253, -0.017246106639504433, -0.5286983847618103, -0.06683288514614105, -0.19855742156505585, -0.370552659034729, -0.026370299980044365, -0.08429824560880661, 0.11361391842365265, 0.24762912094593048, 0.2399364560842514, 0.6323373317718506, -0.3774581849575043, 0.0084485849365592, -0.24254608154296875, -0.07960467040538788, -0.26822593808174133, -0.23583123087882996, 0.3011001646518707, -0.6467178463935852, -0.5222703814506531, -0.47833681106567383, 0.1350277215242386, 0.7460355758666992, -0.12738460302352905, 0.24506331980228424, 0.3618743419647217, -0.29298365116119385, -0.30676114559173584, -0.7100750207901001, 0.22044488787651062, -0.4837723970413208, 0.42831429839134216, -0.42852312326431274, -0.9855506420135498, 0.566777765750885, -0.3195692300796509, 0.1510981172323227, 0.39661872386932373, 0.8170220851898193, -0.07974950224161148, 1.0930776596069336, 0.8106560111045837, -0.010399107821285725, 0.25428977608680725, -0.2912382185459137, 0.0618085078895092, -1.2877001762390137, -0.586344838142395, -0.8602985739707947, -0.058421142399311066, -0.2530558407306671, -0.461768239736557, 0.23542281985282898, 0.23348577320575714, -0.06534227728843689, 0.12045197933912277, -0.5311466455459595, 0.5224364995956421, -0.009328927844762802, -0.3699001967906952, 0.44447633624076843, -0.15944063663482666, -0.5894740223884583, -0.10565454512834549, -0.4907567501068115, -1.023451805114746, 1.3458646535873413, 0.4109160006046295, 1.2737821340560913, -0.0021750524174422026, 0.6052760481834412, 0.3795988857746124, 0.49190235137939453, -0.7400128841400146, 0.7147374749183655, -0.1858794093132019, -0.5211579203605652, -0.16181398928165436, -0.5322931408882141, -0.70662522315979, 0.46310293674468994, -0.308476984500885, -0.9663488268852234, 0.052139706909656525, -0.1550583392381668, -0.5507887005805969, 0.3410152196884155, -0.5290294289588928, 0.7182925939559937, -0.5318365097045898, -0.33602678775787354, -0.18492020666599274, -0.487686425447464, 0.4100862145423889, -0.046156421303749084, 0.35356083512306213, -0.1449708342552185, -0.26575982570648193, 0.888907253742218, -0.329289972782135, 0.49648353457450867, -0.19480116665363312, 0.2677810788154602, 0.056531067937612534, 0.38502269983291626, 0.15231531858444214, 0.34070149064064026, -0.41481658816337585, -0.186680868268013, 0.10733877867460251, -0.3125975728034973, -0.6690382361412048, 1.1046762466430664, -0.5973804593086243, -0.14295656979084015, -0.12101449072360992, -0.5942720174789429, -0.34436967968940735, 0.3047531843185425, -0.2431996762752533, 0.5929602980613708, -0.5975092649459839, 0.5249265432357788, 0.6767048835754395, 0.034268155694007874, 0.5581548810005188, 0.8043286204338074, -0.6699022054672241, -0.37416237592697144, 0.7299444079399109, -0.3877027630805969, 0.037614159286022186, 0.23145441710948944, 0.3548789620399475, -0.5765528082847595, -0.9503408074378967, -0.5605854988098145, -0.16880002617835999, -0.7969930171966553, -0.13681046664714813, -0.5319076180458069, 0.18578195571899414, -0.2768252193927765, -0.3093342185020447, -0.6297264695167542, -0.6619852185249329, -0.16157574951648712, -0.25103211402893066, -0.028756679967045784, 0.9644829630851746, -0.06877579540014267, 0.3512185215950012, -0.8822072744369507, 0.2907843589782715, 0.24140582978725433, 0.5715362429618835, 0.07559659332036972, -0.5877590775489807, -0.17011336982250214, -0.21031197905540466, -0.11913566291332245, -0.38301387429237366, -0.059411585330963135, 0.21344654262065887, 0.8172587752342224, 0.5534398555755615, -0.05601430684328079, 0.6854504346847534, -0.2765932083129883, 0.8844296336174011, 0.24989917874336243, -1.0785858631134033, 0.37440821528434753, -0.29177936911582947, 0.009946456179022789, 1.1979702711105347, 0.24736954271793365, -0.32086890935897827, -0.05698780715465546, -0.3915971517562866, -0.9243226647377014, 0.20188947021961212, -0.0874728113412857, 0.3554202616214752, 0.23097321391105652, 0.256264865398407, 0.17845191061496735, 0.21959452331066132, -0.7359371185302734, -0.010408297181129456, -0.026692118495702744, -0.03828681632876396, 0.157697856426239, -0.5283028483390808, -0.2942240536212921, -0.45299333333969116, 0.5984693765640259, -0.12329013645648956, -0.024408765137195587, 0.010592948645353317, -0.42778730392456055, -0.002540699439123273, 0.5100785493850708, 0.048034410923719406, 0.9621466994285583, -0.47697269916534424, 0.13463576138019562, 0.15138281881809235, -0.20979706943035126, 0.1772228330373764, 0.1762351393699646, -0.20218193531036377, -0.03219522535800934, 0.669007420539856, 0.6363557577133179, 0.5577728152275085, -0.9404653906822205, 0.6568118333816528, -0.08026794344186783, 0.09646399319171906, 0.20247694849967957, -0.294305682182312, 0.1785302758216858, 0.2486957162618637, 0.4249853491783142, -0.17582394182682037, 0.5273899435997009, -0.6983715891838074, 0.18766774237155914, 0.4798058569431305, -0.6275628209114075, -0.3096882104873657, 0.559088945388794, 0.641298234462738, -0.16654248535633087, 0.4916718006134033, -0.1276104748249054, -0.49165743589401245, 0.015672070905566216, 0.6063120365142822, 1.137086272239685, -0.4066167175769806, 0.3406156897544861, -0.2522490918636322, 0.35193464159965515, 0.010883632116019726, 0.5837254524230957, -0.037585433572530746, -0.17053037881851196, -0.32883694767951965, -1.121297001838684, -0.546830415725708, -0.13350193202495575, -0.48824283480644226, 0.09708518534898758, -0.36286818981170654, 0.09330533444881439, -0.120306096971035, -0.04141564667224884, -0.26318109035491943, 0.06178494542837143, 0.022303570061922073, 1.214125633239746, -0.7292478680610657, 0.6641948223114014, 0.93296879529953, -0.30850449204444885, -0.6806801557540894, -0.25247979164123535, 0.17673121392726898, -0.7244880199432373, 0.5130906701087952, 0.04591256380081177, -0.49452826380729675, -0.3629724979400635, -0.3477737009525299, -0.40258485078811646, 0.9358411431312561, 0.6124938130378723, -0.556640625, 0.17366687953472137, 0.07270912081003189, 0.6677815318107605, -0.7166072130203247, 0.8445023894309998, 0.6220797300338745, 0.5059401392936707, 0.1716253012418747, -1.0214428901672363, 0.12881124019622803, -0.2833605706691742, 0.3075522482395172, -0.001996059203520417, -0.570046067237854, 0.5088860988616943, -0.25939005613327026, 0.048095837235450745, 0.29531773924827576, 0.47662267088890076, 0.2516848146915436, 0.03860185667872429, 0.3893299698829651, 0.45985010266304016, 0.8490321040153503, 0.13706021010875702, 1.0706005096435547, -0.25823235511779785, 0.4995085597038269, 1.0003453493118286, -0.6052945852279663, 1.0903676748275757, 0.349701851606369, -0.25132042169570923, 0.5839732885360718, 0.4588891565799713, -0.0407944954931736, 0.22760000824928284, 0.2970917820930481, -0.3301692008972168, -0.38096368312835693, -0.3938353359699249, -0.23437511920928955, 0.4608575105667114, 0.07941557466983795, -0.022635111585259438, -0.4509390890598297, -0.11248134821653366, -0.08316092938184738, 0.14959608018398285, -0.2916271686553955, 0.3715181350708008, 0.08032332360744476, -0.04122035950422287, 0.608361542224884, 0.10606789588928223, 0.7276446223258972, -0.780029833316803, 0.14812497794628143, -0.23904602229595184, 0.25756850838661194, -0.5700575709342957, -0.652453601360321, 0.10892408341169357, 0.21686498820781708, 0.14464041590690613, -0.12056221812963486, 0.7206965684890747, 0.09854206442832947, -0.680378794670105, 0.6945963501930237, 0.5969774127006531, 0.23623622953891754, 0.11573565006256104, -0.9039998650550842, 0.4379989802837372, -0.08944068849086761, -0.6386616826057434, 0.41153258085250854, 0.14901655912399292, -0.17039422690868378, 1.0302674770355225, 0.8185549378395081, 0.2321627289056778, -0.09510725736618042, 0.5258597135543823, 0.985820472240448, -0.5587291717529297, -0.11161714047193527, -0.8375818133354187, 0.561441957950592, 0.13040633499622345, -0.24316200613975525, 0.7718721628189087, 1.0067378282546997, 0.18148918449878693, 0.2319403886795044, 0.8886723518371582, -0.15141098201274872, 0.5143683552742004, -0.23644229769706726, 0.78619384765625, -0.6017245650291443, 0.5867918133735657, -0.5371807813644409, -1.133005976676941, -0.4371868371963501, 0.23714853823184967, 0.15149283409118652, -0.022808915004134178, 0.7500531077384949, 0.5991915464401245, -0.26924124360084534, 0.02081415057182312, 0.3504185378551483, 0.16303464770317078, 0.3167394697666168, 0.3144165873527527, 1.0392531156539917, 0.027656590566039085, 0.8017820119857788, -0.1793351173400879, -0.6630477905273438, -0.2917633652687073, -1.0132136344909668, -0.8096661567687988, -0.21944209933280945, -0.04449116811156273, 0.006360391154885292, 0.24402345716953278, 1.0243582725524902, 0.8410311341285706, -0.7118076086044312, -0.7383071184158325, 0.30894866585731506, 0.11428190022706985, 0.0749567449092865, -0.2099284529685974, 0.3160350024700165, -0.2779649496078491, -0.4733617901802063, 0.9226223826408386, 0.6191039085388184, -0.26928335428237915, -0.5587694048881531, -0.016652662307024002, -0.11861689388751984, 0.1628747135400772, 0.5476932525634766, 0.06678979098796844, -0.5559107661247253, 0.014063273556530476, -0.11050417274236679, -0.056016553193330765, -0.1355682611465454, 0.8826233148574829, -0.7152541279792786, 0.624415934085846, 0.5350703597068787, 0.7992246150970459, 0.26672059297561646, -0.09015154093503952, 0.45626363158226013, -0.25359252095222473, 0.033950041979551315, 0.3188749849796295, 0.5216186046600342, 0.656928300857544, -0.12531718611717224, 0.5618281960487366, 0.07888492941856384, -0.6711229085922241, -1.3291219472885132, -0.011023721657693386, -0.9279559850692749, -0.04382048174738884, 0.8977351188659668, -0.3475315570831299, -0.047858089208602905, -0.08663232624530792, 0.04426738619804382, -0.14828531444072723, -0.4333788752555847, 0.46662041544914246, 0.4954962134361267, -0.36965641379356384, 0.06941856443881989, -0.7328250408172607, 0.08246789872646332, 0.5609122514724731, -0.8462542295455933, 0.36939603090286255, 0.47478342056274414, 0.4494771361351013, 0.04266916587948799, 0.5769728422164917, -0.36366382241249084, 0.20785076916217804, -0.2338956743478775, 0.2606084942817688, -0.03302823007106781, -0.40129944682121277, -0.7578563690185547, 0.20282968878746033, 0.4250389337539673, 0.10404213517904282 ]
http://arxiv.org/abs/2404.07549v1
http://arxiv.org/pdf/2404.07549v1
Comments as Natural Logic Pivots: Improve Code Generation via Comment Perspective
2024-04-11T08:30:46
2024-04-11T08:30:46
Yijie Chen, Yijin Liu, Fandong Meng, Yufeng Chen, Jinan Xu, Jie Zhou
cs.CL
cs.CL
Code generation aims to understand the problem description and generate corresponding code snippets, where existing works generally decompose such complex tasks into intermediate steps by prompting strategies, such as Chain-of-Thought and its variants. While these studies have achieved some success, their effectiveness is highly dependent on the capabilities of advanced Large Language Models (LLMs) such as GPT-4, particularly in terms of API calls, which significantly limits their practical applicability. Consequently, how to enhance the code generation capabilities of small and medium-scale code LLMs without significantly increasing training costs is an appealing challenge. In this paper, we suggest that code comments are the natural logic pivot between natural language and code language and propose using comments to boost the code generation ability of code LLMs. Concretely, we propose MANGO (comMents As Natural loGic pivOts), including a comment contrastive training strategy and a corresponding logical comment decoding strategy. Experiments are performed on HumanEval and MBPP, utilizing StarCoder and WizardCoder as backbone models, and encompassing model parameter sizes between 3B and 7B. The results indicate that MANGO significantly improves the code pass rate based on the strong baselines. Meanwhile, the robustness of the logical comment decoding strategy is notably higher than the Chain-of-thoughts prompting. The code is publicly available at \url{https://github.com/pppa2019/Mango}.
[ -0.639500617980957, -0.5922852754592896, 0.4476605951786041, 0.19158011674880981, -0.620664119720459, 0.0994865745306015, -0.3902749717235565, -0.2963206470012665, 0.12607252597808838, 0.7893166542053223, -0.599289059638977, -0.15999719500541687, -0.18711845576763153, 0.50146484375, -0.09858088195323944, 1.3588086366653442, 0.20001304149627686, -0.020638806745409966, -0.1322062909603119, 0.09425479918718338, -0.3653469681739807, -0.6280000805854797, -0.44425299763679504, -0.1454492211341858, 0.22942359745502472, 0.382358580827713, 0.3795561194419861, 0.2714501619338989, 0.4559619426727295, 0.26550599932670593, 0.27812790870666504, 0.5308716893196106, -0.2768007516860962, 0.08146283030509949, -0.14746886491775513, -0.7087541222572327, -0.26669976115226746, -0.23102205991744995, 0.19284357130527496, 0.31771016120910645, 0.02245628833770752, 0.2057579606771469, 0.15916088223457336, 1.1205871105194092, -0.5120604634284973, 0.6625362634658813, -0.7812759876251221, 0.2049674689769745, -0.08019489049911499, -0.3372138440608978, -0.5874245762825012, -0.7555570602416992, -0.5355218648910522, -0.20633767545223236, -0.03434710204601288, -0.15454883873462677, 0.5075685381889343, 0.4719935357570648, -0.06380929797887802, -0.1810370832681656, -0.5649547576904297, 0.7007922530174255, -1.0781834125518799, -0.025178834795951843, 0.1728171706199646, 0.363739013671875, -0.1691683828830719, -0.6446734666824341, -0.6618239879608154, -0.2989804148674011, 0.03760480135679245, -0.12543267011642456, -0.020399801433086395, -0.16512100398540497, 0.5964656472206116, 0.3026076853275299, -0.005013908725231886, -0.5318371653556824, -0.19053462147712708, -0.020843779668211937, 0.6296898126602173, 0.1140369176864624, 0.2177617996931076, -0.3822002708911896, 0.08893655240535736, 0.5877692699432373, -0.8899147510528564, 0.09255887567996979, 0.264573872089386, 0.45655137300491333, -0.17187701165676117, 0.48346829414367676, -0.4049057364463806, 0.9340569376945496, 0.16031087934970856, -0.1693837195634842, 0.4243212342262268, -0.522872269153595, -0.03306577354669571, -0.30030542612075806, 0.7124183177947998, 0.7641366124153137, 0.6105286478996277, -0.014676998369395733, -0.0542716346681118, 0.21316030621528625, 0.49940964579582214, -1.0528329610824585, -0.5571584701538086, -0.1634248048067093, -0.3563661575317383, -0.44826287031173706, 0.14275799691677094, -0.8890193700790405, -0.5331718921661377, -0.5686233043670654, -0.09524880349636078, -0.42966702580451965, -0.21921633183956146, -0.23636494576931, 0.18566124141216278, 0.42676424980163574, 0.45209524035453796, -0.793851375579834, 0.42113855481147766, 0.7182198762893677, 0.5995875000953674, 0.2394639551639557, 0.10065288096666336, -0.8829396963119507, -0.026838066056370735, -0.31832510232925415, 0.6335749626159668, -0.657404363155365, -0.31527024507522583, -0.12000712752342224, -0.36132532358169556, -0.12303368002176285, -0.5723390579223633, 0.4076712429523468, -0.4075491726398468, 0.0846199318766594, -0.33270031213760376, -0.2144079953432083, -0.089445561170578, 0.3137465715408325, -0.383003294467926, 0.8696834444999695, 0.05451878532767296, -1.2377740144729614, 0.2192690670490265, -0.8219434022903442, -0.7794904112815857, 0.13152332603931427, -0.6562848687171936, -0.4064667224884033, 0.2897873818874359, 0.4772229492664337, 0.4155164062976837, -0.4607587158679962, 0.10174930095672607, -0.09251780062913895, -0.14520634710788727, 0.5758999586105347, -0.06378432363271713, 0.3964821398258209, 0.5267651677131653, -0.6430658102035522, -0.046749114990234375, -0.6248254179954529, 0.40218958258628845, 0.06892404705286026, -0.5742471218109131, 0.12057334929704666, 0.1447221338748932, -0.4173435866832733, 0.4104088246822357, -0.043501511216163635, -0.39602458477020264, 0.2729080021381378, -0.6189696192741394, 0.5348735451698303, 0.46913865208625793, 0.459481805562973, 0.29605183005332947, -0.05068023502826691, 0.3710692226886749, 0.09438112378120422, 0.1514703333377838, -0.40490034222602844, -0.8280128836631775, -0.7419486045837402, -0.2163970023393631, 0.19390858709812164, 0.39446109533309937, -1.2749978303909302, 0.21046856045722961, -0.21129608154296875, -0.011620738543570042, -0.45703819394111633, 0.6336456537246704, 0.5353724360466003, 0.7564292550086975, 0.17657236754894257, -0.6245425939559937, -0.892529308795929, -0.8527336120605469, -0.3607311248779297, -0.10482040047645569, -0.10338879376649857, 0.27512627840042114, 0.3689466714859009, -0.25413861870765686, 1.2723658084869385, -0.7075809836387634, 0.15877331793308258, -0.433885782957077, -0.07474151998758316, 0.44286370277404785, 0.3703846037387848, 0.2849002778530121, -0.7297179102897644, -0.7622675895690918, -0.04681309685111046, -0.4881778359413147, -0.2688409388065338, 0.12092140316963196, -0.2174939066171646, 0.4220603108406067, 0.37470394372940063, -0.6203604936599731, 0.4069187045097351, 0.034648679196834564, 0.21733607351779938, 0.33701664209365845, 0.030077651143074036, 0.17050035297870636, -1.048438310623169, 0.03204415738582611, -0.047420088201761246, -0.2821992039680481, -0.5298736095428467, 0.2941213846206665, 0.1248568743467331, -0.14686205983161926, -0.44328564405441284, -0.07704834640026093, -0.3262880742549896, 0.08301568776369095, -0.39704352617263794, -0.19321496784687042, -0.03400421515107155, 0.834871232509613, 0.03747117891907692, 0.7766184210777283, 0.2274443805217743, -0.6261594295501709, 0.16836261749267578, -0.23404577374458313, -0.1471942663192749, 0.6110748648643494, -0.33254384994506836, 0.4211570918560028, 0.2122579962015152, 0.35215863585472107, -0.7189174294471741, -0.2610970735549927, 0.42225489020347595, -0.5187342762947083, 0.2794446349143982, -0.36073213815689087, -0.7167828679084778, -0.5414879322052002, -0.8347323536872864, -0.004847975913435221, 0.8080493807792664, -0.32890602946281433, 0.34068813920021057, 0.4044833779335022, -0.2724950611591339, -0.20061920583248138, -0.8256482481956482, 0.27118420600891113, 0.0783907026052475, -0.5193833112716675, -0.34725427627563477, -0.19594214856624603, -0.20288939774036407, -0.1835923045873642, -0.18334677815437317, 0.10826239734888077, -0.08982738107442856, 0.34775394201278687, 0.27541664242744446, -0.2628413140773773, -0.15242695808410645, -0.31231340765953064, -0.1967657059431076, 0.34740424156188965, -0.5082206726074219, 0.5460528135299683, -0.3984183967113495, -0.13152506947517395, 0.07033572345972061, 0.16357870399951935, 0.3853437304496765, -0.6015735268592834, 0.528504490852356, 0.09722922742366791, -0.20642608404159546, -0.4399854242801666, -0.5982835292816162, -0.03130827471613884, -0.4551626443862915, 0.1358136385679245, -0.3760918080806732, -0.5750386714935303, 0.2324609011411667, -0.16345639526844025, 0.09206699579954147, 0.21254423260688782, 0.8649917244911194, 0.17391793429851532, 1.124388337135315, 0.6405153274536133, -0.14016617834568024, 0.2532833218574524, -0.3303067088127136, 0.634672224521637, -0.9273228645324707, -0.2455453872680664, -0.5348646640777588, 0.16311797499656677, -0.5018402934074402, -0.9288209080696106, 0.047971975058317184, -0.07675981521606445, -0.35167351365089417, 0.06132589653134346, -0.7569413781166077, 0.7185481786727905, 0.4526607394218445, 0.20877520740032196, 0.2832365036010742, 0.08719806373119354, -0.4029623568058014, -0.17623411118984222, -0.7296335101127625, -0.514319658279419, 1.2033631801605225, 0.2522120773792267, 0.7059473991394043, -0.021152229979634285, 0.8968666195869446, 0.10335344076156616, 0.6623126864433289, -0.5965716242790222, 0.815252959728241, -0.04346032813191414, -0.2669981122016907, 0.18588802218437195, -0.7110471725463867, -0.3828590512275696, 0.08072462677955627, 0.08875293284654617, -0.5870382785797119, -0.12216458469629288, 0.20657914876937866, -0.20448455214500427, 0.3398248851299286, -0.8867924809455872, 0.5962542295455933, -0.19428646564483643, -0.7447217106819153, 0.0625137910246849, -0.7593062520027161, 0.5378151535987854, -0.06629052758216858, 0.5727198719978333, 0.09014685451984406, -0.040963735431432724, 0.46404626965522766, -1.0710508823394775, 1.0711733102798462, -0.4333951473236084, -0.11033926904201508, 0.6970527172088623, 0.15506167709827423, 0.4372444450855255, 0.08729266375303268, -0.06434668600559235, -0.36869028210639954, -0.6958544254302979, -0.20542269945144653, -0.48498231172561646, 0.708040714263916, -0.5928719639778137, -0.4909622073173523, 0.01198630966246128, -0.35395580530166626, -0.5111574530601501, 0.22510313987731934, 0.3320056200027466, 0.3802638351917267, 0.36399099230766296, -0.08286689221858978, 0.5855779647827148, 0.1276845633983612, 0.48786404728889465, 0.3574453890323639, -0.4572521150112152, -0.6690052151679993, 1.0372347831726074, -0.05665753409266472, 0.20609651505947113, 0.3025866150856018, 0.04760471358895302, -0.23237447440624237, -0.3762674331665039, -0.3230869472026825, 0.25317710638046265, -0.8538174629211426, -0.6687416434288025, -0.544313371181488, -0.16773006319999695, -0.17908373475074768, -0.06292426586151123, -0.2511138617992401, -0.6131483316421509, 0.15155582129955292, -0.18421539664268494, 0.5624927878379822, 0.7376576662063599, 0.3183022737503052, -0.14299152791500092, -0.6594253778457642, 0.6109822988510132, 0.36638143658638, 0.6257175803184509, 0.20082618296146393, -0.25939807295799255, -0.5099238157272339, 0.14803212881088257, -0.2863090932369232, -0.9017355442047119, 0.27041080594062805, 0.0086516123265028, 0.2921827435493469, 0.1619989424943924, 0.2561555504798889, 0.4463910460472107, -0.6566564440727234, 0.7485374212265015, 0.4554644227027893, -0.9558920860290527, 0.8602675199508667, -0.19685345888137817, 0.33792856335639954, 0.758675754070282, -0.15315137803554535, -0.10901908576488495, -0.7045347690582275, -0.4316163957118988, -0.7486502528190613, 0.6304810643196106, 0.32041171193122864, 0.1492992788553238, -0.15169063210487366, 0.24802733957767487, 0.09461101144552231, 0.7215865254402161, -1.0672876834869385, 0.1056293249130249, -0.5472691059112549, -0.1520388275384903, 0.12594178318977356, -0.06710359454154968, -0.04573577269911766, -0.3669419288635254, 0.4061363935470581, -0.3998100757598877, 0.2027326226234436, -0.027540283277630806, -0.06793154031038284, -0.1259029358625412, 0.500311553478241, 0.43016210198402405, 0.48663902282714844, -0.05861897021532059, 0.42192894220352173, 0.10887589305639267, -0.5186500549316406, 0.04682179167866707, -0.18819525837898254, -0.24978229403495789, -0.13536950945854187, 0.16769079864025116, 0.574346661567688, 0.38057446479797363, -0.39928385615348816, 0.3291393220424652, 0.0029666253831237555, -0.12694846093654633, 0.11404940485954285, 0.4673783481121063, 0.3081248998641968, -0.1065346747636795, 0.17297756671905518, 0.5044201016426086, 0.057248786091804504, -0.7429834008216858, 0.19059069454669952, 0.08438536524772644, -0.16457875072956085, -0.2358502745628357, 0.7018253207206726, 0.7275063991546631, -0.3460041582584381, 0.5252259969711304, -0.40860292315483093, -0.8440870642662048, 0.5486330986022949, 0.5228478312492371, 1.0330064296722412, 0.1582741141319275, 0.06907115131616592, 0.1651206910610199, 0.4017094373703003, 0.08130773901939392, 0.4105250835418701, -0.476201593875885, -0.4096687436103821, -0.7396609783172607, -0.5410378575325012, -0.523492693901062, -0.3738572299480438, -0.3480040729045868, 0.2695760130882263, -0.8509214520454407, -0.10586561262607574, -0.2810891568660736, 0.23614230751991272, -0.5287776589393616, 0.12221179157495499, 0.43104857206344604, 0.9208096265792847, -0.6129934191703796, 1.13961660861969, 0.8583149313926697, -0.7895509600639343, -0.91790771484375, 0.30169013142585754, -0.15443013608455658, -0.4866221845149994, 0.593781590461731, 0.5558679103851318, -0.34075382351875305, -0.25541451573371887, -0.677690327167511, -0.21659359335899353, 0.4973059892654419, 0.49640995264053345, -0.3436914384365082, 0.2913517653942108, 0.4966227412223816, 0.732985258102417, -0.6420053839683533, 0.19540934264659882, 0.6010048389434814, 0.32057496905326843, 0.04184921458363533, -0.6634957194328308, 0.24257536232471466, -0.8363806009292603, 0.1822446584701538, 0.3302498459815979, -0.5230211019515991, 0.6695014834403992, -0.45517268776893616, 0.18398329615592957, -0.14952506124973297, 0.2685350477695465, 0.48372599482536316, 0.33298754692077637, 0.3661341071128845, 0.43062061071395874, 0.4183974862098694, 0.027049943804740906, 1.3295986652374268, -0.48494547605514526, 0.17080643773078918, 1.0281901359558105, -0.5754539370536804, 0.9780362844467163, 0.7874763607978821, -0.43047475814819336, 0.7218700051307678, 0.22236791253089905, 0.1647842675447464, 0.5281707048416138, 0.4446548819541931, -0.07860127091407776, -0.0165584534406662, 0.21524347364902496, -0.5213394165039062, -0.18421342968940735, 0.29300421476364136, -0.08667212724685669, -0.005672060884535313, -0.2278399020433426, 0.22739772498607635, 0.45780545473098755, -0.4450937509536743, 0.808413028717041, 0.2508150041103363, -0.8439087867736816, 0.5956135988235474, 0.009646437130868435, 0.7134416103363037, -0.5280085206031799, -0.2407580018043518, -0.5503095388412476, 0.28585097193717957, -0.6249534487724304, -0.6116164326667786, 0.27608999609947205, 0.5892941951751709, -0.23231329023838043, -0.09772716462612152, 0.682107150554657, -0.10934315621852875, -0.5889726281166077, 0.02822892926633358, 0.08852755278348923, -0.21757908165454865, -0.11885363608598709, -0.5734639763832092, 0.125750333070755, 0.38695335388183594, -0.21463172137737274, 0.15447746217250824, 0.5741804838180542, 0.08416237682104111, 0.46266090869903564, 0.6540291905403137, -0.058698076754808426, 0.22867527604103088, 0.011175226420164108, 1.1706393957138062, -0.6799145340919495, -0.8054579496383667, -0.9200706481933594, 0.6624025702476501, -0.4318724572658539, 0.10675608366727829, 0.9701652526855469, 0.707709014415741, 0.5725836753845215, -0.43778470158576965, 0.9547380805015564, -0.11124218255281448, 0.7071030139923096, -0.6078634858131409, 0.3268164098262787, -0.04608449712395668, 0.8961238861083984, -0.5667184591293335, -0.9840563535690308, -0.30227598547935486, 0.636581301689148, -0.6015666723251343, 0.18343079090118408, 0.5994779467582703, 0.7162122130393982, -0.0432342104613781, 0.13996382057666779, -0.0817030519247055, 0.24086928367614746, 0.37578245997428894, 0.7824521660804749, 0.9459989666938782, -0.11257798224687576, 0.5510150790214539, -0.3641112148761749, -0.20753727853298187, -0.42034903168678284, -0.9502770304679871, -0.9219715595245361, -0.002041152212768793, -0.5233361721038818, -0.3890252113342285, -0.2285548597574234, 0.8167465925216675, 0.6108454465866089, -0.756462037563324, -0.2631630599498749, -0.5863066911697388, 0.24607950448989868, 0.11905568093061447, -0.25720396637916565, 0.030690617859363556, -0.6160420179367065, -0.2527751922607422, -0.08709387481212616, 0.4843977391719818, -0.4775225818157196, -0.03460389003157616, -0.39415210485458374, 0.07459603250026703, 0.36060991883277893, 0.6803320050239563, 0.46372729539871216, -0.47641611099243164, -0.05970478057861328, -0.13419516384601593, -0.08188113570213318, 0.272388756275177, 1.0733624696731567, -1.0270167589187622, 0.47305911779403687, 0.42703813314437866, 0.6391046047210693, 0.5886082649230957, 0.0002801602822728455, 0.5976446866989136, -0.8495445251464844, 0.3443949520587921, 0.1667262613773346, 0.31432899832725525, 0.4657294452190399, -0.15293502807617188, 0.711870551109314, 0.18397840857505798, -0.28044393658638, -0.8539818525314331, 0.3985101580619812, -0.6278476119041443, -0.14881405234336853, 0.8213003873825073, -0.05404917895793915, -0.22392185032367706, 0.029087211936712265, -0.6649658679962158, -0.03249014914035797, -0.3324759900569916, 0.4511534571647644, 0.2368593066930771, -0.45299121737480164, -0.21865032613277435, -0.6598036885261536, 0.5712069869041443, 0.4025644361972809, -1.13498055934906, 0.06641820818185806, 0.487595796585083, 0.24747474491596222, 0.1890335977077484, 0.9345721006393433, -0.4267243444919586, 0.5611575245857239, 0.08931588381528854, 0.12165650725364685, -0.12298064678907394, -0.05917966365814209, -0.21709629893302917, 0.2466389387845993, 0.4807853400707245, -0.17897510528564453 ]
http://arxiv.org/abs/2404.07546v1
http://arxiv.org/pdf/2404.07546v1
Decomposing Label Space, Format and Discrimination: Rethinking How LLMs Respond and Solve Tasks via In-Context Learning
2024-04-11T08:20:10
2024-04-11T08:20:10
Quanyu Long, Yin Wu, Wenya Wang, Sinno Jialin Pan
cs.CL
cs.CL
In-context Learning (ICL) has emerged as a powerful capability alongside the development of scaled-up large language models (LLMs). By instructing LLMs using few-shot demonstrative examples, ICL enables them to perform a wide range of tasks without updating millions of parameters. However, the precise contributions of demonstrations towards improving end-task performance have not been thoroughly investigated in recent analytical studies. In this paper, we empirically decompose the overall performance of ICL into three dimensions, label space, format, and discrimination, and we evaluate four general-purpose LLMs across a diverse range of tasks. Counter-intuitively, we find that the demonstrations have a marginal impact on provoking discriminative knowledge of language models. However, ICL exhibits significant efficacy in regulating the label space and format which helps LLMs to respond in desired label words. We then demonstrate this ability functions similar to detailed instructions for LLMs to follow. We additionally provide an in-depth analysis of the mechanism of retrieval helping with ICL and find that retrieving the most semantically similar examples notably boosts model's discriminative capability.
[ -0.3225448429584503, -0.6778642535209656, 0.516315758228302, 0.010431395843625069, -0.29568353295326233, 0.024780845269560814, -0.34286579489707947, -0.4668773114681244, -0.4084431529045105, 0.2644362151622772, -0.2263038605451584, -0.5082044005393982, -0.4785858392715454, 0.06981094926595688, -0.463505357503891, 1.1207152605056763, -0.08138798177242279, -0.13068470358848572, -0.6228325963020325, -0.1455201953649521, -0.34844139218330383, -0.6849843859672546, -0.41476455330848694, -0.5092719197273254, 0.23469649255275726, 0.6806818842887878, 0.15046370029449463, 0.6041973233222961, 0.22347694635391235, 0.24905046820640564, -0.23431512713432312, 0.10027676075696945, -0.6755161285400391, 0.05256754532456398, 0.03851764649152756, -0.45255252718925476, 0.018254496157169342, 0.24926504492759705, 0.8839086294174194, 0.9653959274291992, -0.06077948585152626, 0.24437259137630463, 0.6512569785118103, 0.4087866246700287, -0.657340407371521, 0.2636675536632538, -0.7038004994392395, -0.08831378072500229, -0.12823174893856049, -0.09420523047447205, -0.7902665138244629, -0.06740093231201172, 0.12088784575462341, -0.6058292984962463, 0.09548721462488174, 0.1152624562382698, 0.5969311594963074, 0.2361641377210617, -0.5987557768821716, -0.5376471877098083, -0.7847414612770081, 0.8064026832580566, -0.6721324324607849, 0.48357337713241577, 0.3648860454559326, 0.283315509557724, -0.1637142449617386, -0.8947537541389465, -0.3950575590133667, -0.3970355689525604, -0.31505122780799866, -0.016469571739435196, -0.11041400581598282, -0.04220755398273468, 0.5105541944503784, 0.09609360247850418, -0.23686771094799042, 0.4502721130847931, -0.23813723027706146, -0.015119753777980804, 0.35233184695243835, 0.12807652354240417, 0.2834289073944092, 0.246282160282135, -0.5195190906524658, -0.09677612781524658, -1.0205124616622925, 0.31616610288619995, 0.001532295485958457, 0.2995089590549469, -0.10411281883716583, 0.2950369417667389, -0.09430764615535736, 0.8775020837783813, 0.0894308015704155, -0.38321971893310547, 0.03962097316980362, -0.03101445361971855, -0.33778440952301025, 0.04729427024722099, 0.4985733926296234, 0.16698043048381805, -0.036210913211107254, -0.27600499987602234, -0.3063334822654724, -0.15339720249176025, 0.11482954025268555, -0.8034393191337585, -0.016641002148389816, -0.10922540724277496, -0.4727516174316406, 0.18497423827648163, -0.2869199812412262, -0.28104478120803833, -0.24574968218803406, -0.5225815773010254, 0.5627637505531311, -0.4484727382659912, 0.03616176173090935, 0.13671761751174927, -0.057869426906108856, 0.29295703768730164, 0.2928242087364197, -0.7569465637207031, 0.6018561124801636, 0.6606135964393616, 0.5376237034797668, -0.35321342945098877, -0.1550629734992981, -0.48806020617485046, 0.3445282578468323, -0.28912800550460815, 0.6246797442436218, -0.5763406753540039, -0.3122311532497406, 0.07075060904026031, -0.16393598914146423, -0.04072543606162071, -1.1053212881088257, 0.1534990817308426, -0.5403622984886169, 0.1049092710018158, -0.3543892204761505, -0.7202998399734497, -0.1501813530921936, 0.32989662885665894, -0.5644302368164062, 0.8288799524307251, -0.019769061356782913, -0.48895493149757385, 0.6364809274673462, -0.8008593320846558, -0.29840341210365295, 0.25393691658973694, -0.3211372494697571, -0.2891302704811096, 0.186070516705513, -0.05330580100417137, 0.7056596875190735, -0.1281239092350006, 0.18606245517730713, -0.22388464212417603, -0.6703658103942871, 0.467589408159256, -0.31251707673072815, 0.5673664808273315, 0.15150262415409088, -0.39195775985717773, -0.023150917142629623, -0.7049006819725037, -0.2021287977695465, -0.061812326312065125, -0.6202390193939209, -0.4661896228790283, 0.12091591209173203, -0.26084959506988525, 0.37569794058799744, -0.05361456051468849, -0.6029061079025269, 0.0057622529566287994, -0.409035325050354, 0.416443407535553, 0.4699171483516693, -0.20488309860229492, 0.5183041095733643, -0.07507316023111343, 0.45181360840797424, 0.0853511169552803, -0.010311445221304893, -0.09325092285871506, -0.1223641186952591, -0.49394404888153076, -0.35545244812965393, -0.05175638943910599, 0.07278245687484741, -0.7350561022758484, -0.23203012347221375, -0.17137958109378815, -0.20734736323356628, -0.3296279013156891, 0.19364313781261444, 0.6807428002357483, 0.7050144672393799, 0.345988392829895, -0.1302218735218048, -0.22992366552352905, -1.0337371826171875, -0.23028890788555145, -0.20632587373256683, -0.1285877674818039, 0.306206077337265, 0.5329649448394775, 0.10832139849662781, 0.9592761993408203, -0.20133259892463684, -0.23975443840026855, -0.34084683656692505, -0.06699400395154953, -0.021623028442263603, 0.20370729267597198, 0.5523242950439453, -0.6984109878540039, -0.561125636100769, 0.0845075324177742, -0.6304673552513123, -0.16255410015583038, 0.08519156277179718, 0.1857105791568756, 0.16735778748989105, 0.8670202493667603, -0.11439196020364761, 0.4899027645587921, 0.2340242862701416, -0.21920078992843628, 0.5690147280693054, -0.2020355463027954, -0.2294313907623291, -0.6487342119216919, -0.16159044206142426, 0.10810675472021103, -0.122601218521595, -0.711466372013092, 0.22600498795509338, 0.340806782245636, 0.08056089282035828, -0.735703706741333, 0.6505689024925232, -0.5011439919471741, -0.21233013272285461, -0.4142913222312927, 0.36388710141181946, -0.1320301741361618, 0.4661400020122528, 0.012046094983816147, 0.8269256949424744, 0.29695937037467957, -0.8375880122184753, -0.226949542760849, -0.005164604168385267, -0.5396053791046143, 0.38572052121162415, -0.41488322615623474, 0.11358147114515305, -0.38519716262817383, 0.3526308536529541, -1.2837214469909668, -0.15494491159915924, 0.09847687184810638, 0.07258196175098419, 0.4572386145591736, -0.00800203438848257, -0.6523137092590332, -0.026871569454669952, -0.13308367133140564, 0.6174529790878296, 0.45619553327560425, -0.848297119140625, 0.29355716705322266, 0.35161131620407104, 0.23073893785476685, -0.41667410731315613, -0.5773835778236389, -0.11848129332065582, -0.6334701180458069, -0.033983394503593445, 0.6026028990745544, -0.24915209412574768, -0.5847160816192627, -0.31307631731033325, -0.05994601920247078, 0.11832764744758606, 0.415377140045166, 0.16179712116718292, -0.09915409982204437, 0.07506111264228821, 0.3086048364639282, -0.042476266622543335, 0.09237516671419144, 0.1276623159646988, -0.23458538949489594, 0.3166109621524811, -0.25244489312171936, -0.5052589774131775, -0.3012995421886444, 0.29204338788986206, 0.3985394537448883, -0.0671340748667717, 0.6565335988998413, 0.3084064722061157, -0.4101352393627167, -0.4152141213417053, -0.23829083144664764, -0.15354354679584503, -0.4584246277809143, 0.38742172718048096, -0.4627246558666229, -1.010023832321167, 0.4142550230026245, -0.33298322558403015, 0.16448034346103668, 0.03482244536280632, 0.5452655553817749, -0.2199205458164215, 0.9257153868675232, 0.8630979657173157, 0.19951049983501434, 0.51335608959198, -0.35307490825653076, 0.24867726862430573, -1.1052557229995728, -0.6757075190544128, -0.43010425567626953, -0.5238715410232544, -0.25243404507637024, -0.2045384645462036, 0.42163440585136414, 0.32424196600914, -0.35301464796066284, 0.16508473455905914, -0.3952619433403015, 0.591306209564209, 0.4537838399410248, 0.16390882432460785, 0.19299811124801636, -0.03076847642660141, -0.3288900852203369, -0.14073829352855682, -0.6378061175346375, -0.7081261873245239, 0.8006953001022339, 0.3156493604183197, 0.7680999040603638, 0.26270225644111633, 0.6514381766319275, -0.06924574077129364, 0.6961847543716431, -0.8227056264877319, 0.6448211669921875, -0.2615002393722534, -0.3105231821537018, -0.10039909929037094, 0.1397055685520172, -0.8588300347328186, 0.41724732518196106, 0.15844281017780304, -0.9492476582527161, 0.12918440997600555, 0.19506005942821503, -0.13594931364059448, 0.3064554035663605, -0.7974606156349182, 0.6440368294715881, -0.1528504490852356, -0.3163456618785858, -0.013080156408250332, -0.5324063897132874, 0.3643442392349243, -0.0900040715932846, 0.26753002405166626, 0.10384050011634827, -0.16332107782363892, 0.749849259853363, -0.17758488655090332, 1.2371200323104858, -0.1990465670824051, -0.46631455421447754, 0.16455990076065063, 0.28303584456443787, 0.24661530554294586, -0.11740384250879288, -0.04691055044531822, -0.32300901412963867, -0.10039384663105011, -0.2590128481388092, -0.875469446182251, 0.6518356204032898, -0.6483737826347351, -0.6494269967079163, 0.16145670413970947, -0.6709269881248474, -0.2777349650859833, -0.24287213385105133, 0.19795088469982147, 0.7025697231292725, -0.0587531179189682, 0.4090958833694458, 0.8003713488578796, -0.169009268283844, 0.6875777244567871, 0.5805986523628235, -0.1991759091615677, 0.1336781084537506, 0.7088413238525391, 0.1598564237356186, 0.5350115895271301, 0.5737806558609009, 0.08013617992401123, -0.46843358874320984, -0.6038385033607483, -0.10633622109889984, 0.09703125059604645, -1.0576967000961304, -0.1353612244129181, -0.5686776041984558, 0.06413685530424118, -0.10944254696369171, -0.21497131884098053, -0.04858227074146271, -0.21578508615493774, -0.44118404388427734, -0.20185300707817078, -0.051666807383298874, 0.9532206058502197, 0.05600137636065483, 0.45935750007629395, -0.1493539810180664, 0.04052773118019104, 0.3579484820365906, 0.25446581840515137, 0.2278313785791397, -0.743076741695404, -0.38203516602516174, -0.08858426660299301, -0.44437429308891296, -0.7961594462394714, 0.2511371970176697, 0.36176252365112305, 0.8147743344306946, 0.39618393778800964, -0.02706350013613701, 0.8257309794425964, -0.5173162221908569, 0.9377680420875549, -0.13694451749324799, -0.9401646256446838, 0.4328777492046356, 0.0917721688747406, 0.3420293927192688, 0.08495122194290161, 0.5489925146102905, -0.4775938093662262, -0.43403753638267517, -0.4077385663986206, -0.8394871354103088, 0.7192164063453674, -0.14778415858745575, 0.08436104655265808, -0.20943093299865723, 0.5905296206474304, 0.3099418580532074, -0.02901935577392578, -0.8374117612838745, -0.22472873330116272, -0.04096787050366402, -0.12882237136363983, -0.18595610558986664, -0.48048296570777893, -0.25266581773757935, -0.3640778958797455, 0.43827497959136963, -0.4072127938270569, 0.30270418524742126, -0.024279514327645302, -0.4757568836212158, 0.3476923108100891, 0.377171128988266, 0.719106137752533, 0.6925600171089172, 0.1017177477478981, 0.3496073782444, 0.2757658362388611, -0.049753233790397644, 0.2676455080509186, -0.14179857075214386, -0.016917048022150993, -0.25336259603500366, 0.5509181618690491, 0.8628323674201965, 0.5392698049545288, -0.7106408476829529, 0.30955860018730164, 0.006297561340034008, -0.2545221447944641, -0.03481733798980713, 0.032541289925575256, -0.0653439313173294, 0.2538965344429016, 0.4130423963069916, -0.3927040100097656, 0.32115796208381653, -0.6355727314949036, 0.25442758202552795, 0.5826706886291504, -0.4635560214519501, -0.31720224022865295, 0.7226319909095764, -0.272006630897522, -0.43925219774246216, 0.5299749970436096, -0.1377667635679245, -0.3974887430667877, 0.5506640672683716, 1.256091594696045, 0.6645190715789795, 0.1315932720899582, 0.22740374505519867, 0.1267833709716797, 0.024260707199573517, 0.16190612316131592, -0.126500204205513, -0.4971868693828583, -0.752777099609375, -0.4576968848705292, -0.401759535074234, -0.23877719044685364, 0.262153297662735, -0.7352612614631653, -0.08022672683000565, -0.3614714443683624, 0.1632111668586731, -0.12437241524457932, -0.06741037964820862, -0.7532913088798523, 0.1064196228981018, 0.3389608860015869, 0.9276530742645264, -0.8889099359512329, 0.752068281173706, 0.8794094324111938, -0.1842639297246933, -0.8452309370040894, 0.2078990787267685, 0.020634036511182785, -0.5934251546859741, 1.212600827217102, 0.2833440601825714, -0.2505803406238556, 0.009824397973716259, -0.9204861521720886, -0.8127138614654541, 1.084611177444458, 0.5468915104866028, -0.23649528622627258, 0.24126943945884705, 0.18972982466220856, 0.6468825936317444, -0.6897493600845337, 0.3642885982990265, 0.6135671734809875, 0.023562010377645493, -0.07341837882995605, -0.885399580001831, 0.03241150453686714, -0.05010424554347992, 0.2722018361091614, -0.08123307675123215, -0.5065083503723145, 0.5431557893753052, -0.14429675042629242, -0.3988654911518097, -0.04920017346739769, 0.6158571243286133, 0.5645021200180054, 0.2592967748641968, 0.4490301012992859, 0.23595690727233887, 0.65476393699646, -0.14049918949604034, 1.1092244386672974, 0.014079826883971691, 0.15975773334503174, 1.0141717195510864, -0.3830603361129761, 0.92404705286026, 0.7200464010238647, -0.02956661954522133, 0.6792263984680176, 0.5931056141853333, 0.551056981086731, 0.6535196900367737, 0.38167089223861694, -0.4042464792728424, -0.22193177044391632, -0.3494854271411896, 0.037581633776426315, 0.5617422461509705, 0.7413674592971802, -0.1723817139863968, -0.48623064160346985, 0.5534693598747253, -0.11528634279966354, 0.4018290042877197, -0.2526039779186249, 0.9127799272537231, 0.03469884395599365, -0.5468956232070923, 0.6038613319396973, -0.18180233240127563, 0.6787810325622559, -0.35615915060043335, -0.3175102174282074, -0.269176185131073, 0.20023004710674286, 0.0460987463593483, -0.8710136413574219, 0.11932973563671112, -0.27841654419898987, -0.21132850646972656, -0.5246652960777283, 0.6713092923164368, -0.5566140413284302, 0.052525509148836136, 0.4445771872997284, 0.226400226354599, 0.35713183879852295, 0.25591617822647095, -0.39079418778419495, 0.1921914517879486, -0.10652711242437363, 0.028684338554739952, 0.6088305115699768, 0.5385215878486633, -0.33421027660369873, 0.9970265626907349, 0.2921619117259979, -0.33588629961013794, 0.05522650107741356, 0.051586318761110306, 0.7957594394683838, -0.3738381266593933, -0.2551272213459015, -0.9649245738983154, 0.4938758611679077, 0.11738158762454987, -0.18316662311553955, 0.7259282469749451, 0.5991874933242798, 1.520813226699829, -0.14503221213817596, 0.5050674080848694, 0.13587823510169983, 0.33889955282211304, -0.589381992816925, 0.40923842787742615, -0.7354673147201538, 0.4838678240776062, -0.1544274091720581, -0.48144999146461487, -0.5318437218666077, 0.3502500653266907, -0.33924323320388794, 0.037388868629932404, 0.5630351901054382, 0.6690176725387573, -0.07588931173086166, -0.28239020705223083, 0.5404077172279358, 0.1175244152545929, 0.6420748233795166, 0.4952634871006012, 1.0808019638061523, -0.1529286950826645, 0.5054758191108704, -0.3699778616428375, -0.14902125298976898, -0.21218463778495789, -0.773104190826416, -0.8166838884353638, -0.8223868012428284, -0.3474814295768738, -0.05964558944106102, -0.18020322918891907, 0.8525059819221497, 0.7245218753814697, -0.4647309482097626, -0.5088905692100525, 0.32165592908859253, 0.10951752215623856, -0.3669818937778473, -0.23568664491176605, 0.35492604970932007, -0.5716401934623718, -0.8100537061691284, 0.5460546612739563, 0.3746628165245056, 0.06110895425081253, -0.03454564884305, -0.18421079218387604, -0.0036606760695576668, -0.3714631199836731, 1.1056575775146484, 0.32019999623298645, -1.0384597778320312, -0.2798756957054138, -0.16657789051532745, -0.07748109847307205, -0.08816263824701309, 0.9213642477989197, -1.1597862243652344, 0.3367586135864258, 0.1850241720676422, 0.6762576103210449, 0.38783273100852966, -0.14225532114505768, 0.3976750075817108, -1.0510168075561523, 0.1240459680557251, 0.03551888465881348, 0.37964317202568054, 0.26784077286720276, -0.20944853127002716, 0.3292557895183563, -0.05804865434765816, -0.5017929673194885, -0.872046172618866, 0.3708754777908325, -0.5496020913124084, -0.5433782935142517, 1.1803866624832153, -0.12907859683036804, -0.17341960966587067, -0.12844066321849823, -0.1897697150707245, 0.13301518559455872, -0.04959335923194885, 0.7038969397544861, 0.5683493614196777, -0.3957521915435791, -0.180319145321846, -0.5305207371711731, 0.6038447618484497, 0.2955576777458191, -0.5755310654640198, 0.0769311934709549, 0.4388444721698761, 0.42706820368766785, -0.016291175037622452, 0.6136361956596375, -0.14330455660820007, 0.04430112987756729, -0.48779699206352234, -0.16868466138839722, -0.023434599861502647, -0.4540822505950928, -0.5414662957191467, 0.3105802834033966, 0.2848266661167145, -0.2063652127981186 ]
http://arxiv.org/abs/2404.07544v2
http://arxiv.org/pdf/2404.07544v2
From Words to Numbers: Your Large Language Model Is Secretly A Capable Regressor When Given In-Context Examples
2024-04-11T08:12:43
2024-04-30T07:40:57
Robert Vacareanu, Vlad-Andrei Negru, Vasile Suciu, Mihai Surdeanu
cs.CL
cs.CL, cs.AI
We analyze how well pre-trained large language models (e.g., Llama2, GPT-4, Claude 3, etc) can do linear and non-linear regression when given in-context examples, without any additional training or gradient updates. Our findings reveal that several large language models (e.g., GPT-4, Claude 3) are able to perform regression tasks with a performance rivaling (or even outperforming) that of traditional supervised methods such as Random Forest, Bagging, or Gradient Boosting. For example, on the challenging Friedman #2 regression dataset, Claude 3 outperforms many supervised methods such as AdaBoost, SVM, Random Forest, KNN, or Gradient Boosting. We then investigate how well the performance of large language models scales with the number of in-context exemplars. We borrow from the notion of regret from online learning and empirically show that LLMs are capable of obtaining a sub-linear regret.
[ -0.20333722233772278, -0.895135760307312, 0.6408669352531433, 0.3585003912448883, -0.10389471799135208, -0.005616396199911833, -0.3365475833415985, -0.40675556659698486, 0.1269141137599945, 0.3734654188156128, -0.453590989112854, -0.1440895050764084, -0.7033867239952087, 0.025022348389029503, -0.6996188759803772, 1.1541249752044678, 0.06787999719381332, 0.40484586358070374, -0.3792169690132141, -0.04040520638227463, -0.4269162714481354, -0.7567153573036194, -0.6841374635696411, -0.29092660546302795, 0.5998812317848206, -0.03326376527547836, 0.6761909127235413, 0.451948881149292, 0.3569028973579407, 0.33971747756004333, 0.18358442187309265, -0.021276934072375298, -0.8260789513587952, 0.09000001847743988, 0.13488523662090302, -0.6114663481712341, -0.17044977843761444, 0.2002822905778885, 0.5589563250541687, 0.7145228385925293, -0.06661222875118256, 0.04648812860250473, 0.2859393060207367, 0.6355968713760376, -0.32309019565582275, 0.30714869499206543, -0.6334391832351685, -0.2383895069360733, -0.07723337411880493, 0.11780814081430435, -0.6581355333328247, -0.7074464559555054, 0.21496114134788513, -0.5382645130157471, 0.08827365189790726, -0.19108161330223083, 0.8020540475845337, 0.37853625416755676, -0.25738444924354553, -0.5910468101501465, -0.9214795827865601, 0.9892263412475586, -0.8204061985015869, 0.34265488386154175, 0.6217771768569946, 0.20013895630836487, -0.18211907148361206, -0.9775547981262207, -0.3132134675979614, -0.3104574978351593, -0.13867752254009247, -0.10428181290626526, -0.2565261721611023, -0.05888378247618675, 0.5684934854507446, 0.22933723032474518, -0.3201017379760742, 0.012294978834688663, -0.3095354437828064, -0.06081612408161163, 0.47995492815971375, -0.25069984793663025, 0.033244289457798004, 0.43369826674461365, -0.2575647532939911, -0.29067760705947876, -0.732437252998352, -0.00885714776813984, 0.2956331968307495, 0.32246726751327515, 0.13378077745437622, 0.4243657886981964, 0.1318301558494568, 0.8766533732414246, -0.25218281149864197, -0.23762071132659912, 0.18644502758979797, -0.16471771895885468, -0.32512152194976807, -0.33291444182395935, 0.6181928515434265, 0.005472514778375626, 0.6682788729667664, -0.3211345076560974, -0.3905494809150696, 0.1214851513504982, 0.08716493099927902, -0.725613534450531, -0.18923039734363556, -0.07985837757587433, -0.36805590987205505, -0.3207383155822754, 0.05212289094924927, -0.8034830689430237, -0.4186936616897583, -0.1451694220304489, 0.8153817653656006, -0.3164159655570984, 0.14054825901985168, 0.07735922932624817, -0.021692965179681778, 0.1647414118051529, 0.34921252727508545, -0.7287033796310425, 0.5875763893127441, 0.7714177370071411, 0.918934166431427, 0.31583309173583984, -0.22221149504184723, -0.7704765200614929, -0.3480112552642822, -0.6145006418228149, 0.4255080223083496, -0.5582205057144165, -0.29030197858810425, 0.2693084478378296, -0.18154177069664001, 0.08743345737457275, -0.4222605228424072, 0.220021590590477, -0.5162606835365295, 0.4162919819355011, -0.37573903799057007, -0.6544994115829468, -0.29657214879989624, -0.01760433055460453, -0.6616693735122681, 1.0146801471710205, 0.06294842809438705, -0.4391500949859619, 0.3611866235733032, -0.31444722414016724, -0.3402155339717865, -0.032520852982997894, -0.10745873302221298, -0.44308939576148987, 0.5572133660316467, 0.014257537201046944, 0.5383355021476746, -0.34874415397644043, 0.5801007747650146, -0.5288339257240295, -0.4698745608329773, 0.4483569860458374, -0.4825274646282196, 0.6682563424110413, -0.02237667515873909, -0.41876959800720215, 0.003977241460233927, -0.6224019527435303, 0.02366030588746071, 0.053502220660448074, -0.2914716601371765, -0.5616108179092407, 0.3851049244403839, -0.048816192895174026, 0.4574746787548065, 0.20445549488067627, -0.4195375442504883, 0.3132832944393158, -0.21481218934059143, 0.4537782669067383, 0.7576639652252197, -0.396880179643631, 0.20998269319534302, -0.33507040143013, 0.5086284875869751, -0.49945536255836487, -0.13294684886932373, -0.1932685375213623, -0.7123567461967468, -0.9075955748558044, -0.3940869867801666, 0.37103429436683655, 0.3535875678062439, -0.6936140060424805, 0.25628650188446045, -0.3288859724998474, -0.5602919459342957, -0.3775044083595276, 0.2555100619792938, 0.42981356382369995, 0.35774266719818115, 0.363914430141449, 0.055606909096241, -0.48214197158813477, -0.9309821724891663, -0.45414847135543823, -0.17888647317886353, -0.09558927267789841, 0.44081446528434753, 0.3459984362125397, -0.07136469334363937, 0.9539726376533508, -0.4106978178024292, -0.371830016374588, -0.20496691763401031, 0.36085253953933716, 0.19751904904842377, 0.074469193816185, 0.5434631109237671, -0.6995882391929626, -0.40103432536125183, -0.14971321821212769, -0.8432374596595764, -0.2929280400276184, -0.15362393856048584, 0.4594302773475647, 0.24448800086975098, 0.8291594386100769, -0.2559150755405426, 0.28983044624328613, 0.9058939814567566, -0.3217618763446808, -0.08663144707679749, -0.3700355589389801, -0.42273491621017456, -1.1247295141220093, -0.12277944386005402, 0.2566164433956146, -0.36271390318870544, -0.720789909362793, -0.05956094339489937, 0.07007210701704025, 0.017133619636297226, -0.14401189982891083, 0.37341341376304626, -0.393414705991745, -0.0981372818350792, -0.2534031867980957, -0.1622840166091919, -0.2598084807395935, 0.2009219229221344, -0.0201941579580307, 0.633125364780426, 0.677191972732544, -0.30792000889778137, 0.18021711707115173, -0.049770500510931015, -0.5807863473892212, -0.17178981006145477, -0.7222822308540344, 0.09549487382173538, -0.3682895004749298, 0.34504565596580505, -1.219037413597107, -0.2284305989742279, -0.2505100965499878, -0.28278425335884094, 0.36639368534088135, -0.15113800764083862, -0.5392794013023376, -0.4815661609172821, -0.32196715474128723, 0.12459198385477066, 0.7926629185676575, -0.4694182574748993, 0.3699710965156555, 0.2639167904853821, -0.26963385939598083, -0.6818599700927734, -0.8767256140708923, 0.1037021204829216, -0.4839355945587158, -0.1750257909297943, -0.06720016151666641, -0.06712580472230911, -0.5494867563247681, -0.1906723529100418, 0.2700512111186981, -0.074051134288311, 0.17492248117923737, 0.27957677841186523, 0.3590594232082367, -0.1912054717540741, 0.3833584785461426, -0.5113604068756104, -0.015570787712931633, 0.040345072746276855, -0.41967615485191345, 0.6417989730834961, -0.31139814853668213, -0.09809248894453049, 0.07100335508584976, 0.20763635635375977, 0.5364312529563904, -0.06691210716962814, 0.7526478171348572, 0.5087271332740784, -0.5491630434989929, -0.19707848131656647, -0.6040235161781311, -0.2666928172111511, -0.45170941948890686, 0.5274885892868042, -0.22630152106285095, -1.0959795713424683, 0.3727141320705414, -0.02782154083251953, -0.0028691929765045643, 0.18425633013248444, 0.5699679851531982, 0.18741244077682495, 1.0359207391738892, 0.8269355893135071, -0.24748075008392334, 0.5307210683822632, -0.1724288910627365, 0.305325984954834, -0.3990611732006073, -0.03195710852742195, -0.39342501759529114, -0.3728204369544983, -0.9608149528503418, -0.5676078796386719, 0.0895179882645607, 0.33582356572151184, -0.1156420037150383, 0.3398038446903229, -0.03503791615366936, 0.43784114718437195, 0.45363402366638184, -0.1794826090335846, 0.06909523904323578, 0.0899244174361229, 0.2768690884113312, -0.19521066546440125, -0.5733392238616943, -0.47547000646591187, 1.0910100936889648, 0.4043959677219391, 0.9840487837791443, 0.13678576052188873, 0.6059976816177368, 0.036566827446222305, 0.8828976154327393, -1.0808141231536865, 0.3583904802799225, -0.3145048916339874, -0.5338439345359802, -0.4828401207923889, -0.49672943353652954, -0.8898249864578247, 0.16107888519763947, -0.19681790471076965, -0.9502612352371216, 0.32341906428337097, 0.14313052594661713, -0.2224925458431244, 0.3119257390499115, -0.667731761932373, 0.4526969790458679, -0.24445737898349762, -0.4587259888648987, 0.009079542011022568, -0.535353422164917, 0.3448461890220642, -0.734773576259613, 0.4198262095451355, 0.13082647323608398, -0.22625425457954407, 0.7743752002716064, -0.4114638864994049, 0.9037047624588013, -0.10835039615631104, -0.26399582624435425, 0.21042072772979736, 0.18118318915367126, 0.7539945244789124, -0.1735229343175888, -0.16129298508167267, 0.213326096534729, -0.3670622706413269, -0.3477238714694977, -0.7015390396118164, 1.0107616186141968, -0.7466511130332947, -0.49334585666656494, -0.4104442596435547, -0.5341858863830566, -0.4998173713684082, 0.15595640242099762, 0.38278985023498535, 0.5626465082168579, -0.01815851405262947, 0.5038822293281555, 0.40358319878578186, -0.34148654341697693, 0.8338819146156311, 0.3222556710243225, -0.462993860244751, -0.3857319951057434, 1.077881097793579, 0.5420425534248352, 0.3880177140235901, 0.5128887891769409, 0.5142550468444824, -0.41383302211761475, -0.3471771776676178, -0.036717597395181656, 0.36351531744003296, -0.4976871907711029, -0.17349611222743988, -0.5643976926803589, 0.0031113694421947002, -0.21135343611240387, -0.2106906622648239, -0.34586358070373535, -0.30760449171066284, -0.03911273181438446, -0.24866417050361633, 0.3390037715435028, 1.470253586769104, -0.18655158579349518, 0.28116172552108765, -0.5100781917572021, -0.002599820028990507, 0.6699817776679993, 0.253816694021225, 0.05091266706585884, -0.47198405861854553, -0.2491999864578247, 0.08925319463014603, 0.043222665786743164, -0.6746950745582581, 0.7157978415489197, 0.24530808627605438, 0.21174649894237518, 0.5080698132514954, -0.20464999973773956, 0.8075960874557495, -0.5396589636802673, 0.7283733487129211, -0.02168266661465168, -1.006201982498169, 0.1594024896621704, -0.46904242038726807, -0.15921209752559662, 0.31195321679115295, 0.578873872756958, -0.30856212973594666, -0.20038048923015594, -0.683336615562439, -0.9256118535995483, 0.6115662455558777, 0.04590544477105141, 0.3119398355484009, -0.07823121547698975, 0.2437506765127182, 0.05301622673869133, 0.34573158621788025, -1.070035457611084, -0.17911510169506073, -0.166314035654068, -0.026462730020284653, -0.6233323216438293, -0.41019389033317566, 0.06752602756023407, -0.03146833926439285, 0.49282705783843994, -0.25959551334381104, 0.2384299337863922, 0.0029387567192316055, -0.00568330567330122, -0.049052104353904724, 0.08915101736783981, 0.8908663392066956, 0.6899595260620117, -0.24733136594295502, 0.11223314702510834, 0.21159978210926056, -0.20294363796710968, 0.09709487110376358, -0.010425618849694729, -0.15817594528198242, -0.09638771414756775, 0.6865379810333252, 0.7388501167297363, 0.2337917685508728, -0.5048993229866028, 0.6143467426300049, -0.08942791819572449, -0.27672624588012695, -0.37397298216819763, -0.3354385197162628, 0.09769544005393982, 0.053955066949129105, 0.4374864101409912, 0.014939069747924805, -0.012181157246232033, -0.5938212275505066, 0.2916455566883087, 0.44494572281837463, -0.8388090133666992, -0.410899817943573, 0.5546839237213135, -0.12430234253406525, -0.4054611325263977, 0.5261597633361816, 0.03449440747499466, -0.3655160665512085, 0.4290129542350769, 0.9807836413383484, 0.7463545203208923, -0.12802673876285553, 0.2030608206987381, 0.2191142737865448, 0.3054010272026062, -0.6360208988189697, 0.20211169123649597, 0.2662407457828522, -0.7356736660003662, -0.7857862114906311, -0.5871841311454773, -0.05510736629366875, 0.5772954821586609, -0.7983013391494751, 0.1726340353488922, -0.3044349253177643, -0.1302236169576645, -0.06555584073066711, -0.13035143911838531, -0.5121178030967712, 0.22256171703338623, 0.20716696977615356, 0.839928388595581, -1.0046536922454834, 0.9830662608146667, 0.5787951946258545, -0.2612551748752594, -0.8096148371696472, 0.19342410564422607, -0.10298314690589905, -0.9204803705215454, 0.8749597668647766, 0.23402923345565796, -0.0851438045501709, 0.14702364802360535, -0.6234740018844604, -1.005834937095642, 0.7926551699638367, 0.5010347366333008, -0.6669583320617676, -0.10639622807502747, 0.022650176659226418, 0.7611346244812012, -0.22572457790374756, 0.14548373222351074, 0.20525920391082764, 0.443711519241333, -0.09994542598724365, -0.7509539723396301, -0.1788274496793747, -0.03222110867500305, 0.010226311162114143, 0.25852063298225403, -0.8178908824920654, 1.178402066230774, -0.2611398994922638, 0.03795677050948143, 0.2905423641204834, 0.5000787973403931, -0.060239098966121674, -0.02587061934173107, 0.43586957454681396, 0.5626077651977539, 0.794329047203064, -0.22110958397388458, 1.4402495622634888, -0.20160096883773804, 0.3963439464569092, 0.9811171293258667, -0.2548680007457733, 1.0089644193649292, 0.5455930233001709, -0.21371911466121674, 0.41377735137939453, 0.5145021080970764, 0.10987014323472977, 0.5009289383888245, 0.468380868434906, -0.14384149014949799, -0.41515952348709106, -0.05066312104463577, -0.20946338772773743, 0.4711393713951111, 0.533145010471344, -0.5013524889945984, -0.09763038158416748, 0.0007682960713282228, 0.23247762024402618, 0.07094689458608627, -0.2308768332004547, 0.8044187426567078, 0.20176269114017487, -0.6006174683570862, 0.3882080614566803, -0.21545934677124023, 0.6199827194213867, -0.7564868927001953, -0.14786770939826965, -0.13685426115989685, 0.41348567605018616, -0.01184825412929058, -0.5455084443092346, 0.1485440880060196, -0.16403664648532867, 0.09066420793533325, -0.4458342492580414, 0.5618399381637573, -0.4684433341026306, -0.8365005850791931, 0.5422213673591614, 0.7405476570129395, 0.17624123394489288, 0.05855000764131546, -0.26927852630615234, -0.16245803236961365, 0.08455291390419006, -0.32543858885765076, 0.46593213081359863, 0.40440380573272705, -0.2205342948436737, 0.8322222828865051, 0.6293390393257141, 0.3380313813686371, -0.003323162905871868, 0.12518078088760376, 0.6871060132980347, -0.5924227237701416, -0.0923776775598526, -1.198678731918335, 0.08702101558446884, 0.041755158454179764, -0.3009953796863556, 0.8822681903839111, 0.6263940930366516, 0.9338764548301697, -0.20180962979793549, 0.9047784209251404, 0.12233028560876846, 0.4226061999797821, -0.31004077196121216, 0.4789488911628723, -0.47705087065696716, 0.149786114692688, -0.36766740679740906, -0.9067373275756836, -0.4874715209007263, 0.9100897908210754, -0.45191892981529236, 0.15257062017917633, 0.6066187620162964, 0.6982386112213135, 0.26531782746315, -0.15578284859657288, 0.7742316126823425, 0.4801183342933655, 0.3690303564071655, 0.2970764636993408, 0.8352862596511841, -0.4043622612953186, 0.42698416113853455, -0.04303240403532982, -0.3287080228328705, -0.1309361308813095, -0.9641318321228027, -0.9166287779808044, -0.6021842956542969, 0.03316274285316467, -0.5670439600944519, -0.05792413651943207, 0.8291725516319275, 0.6855971813201904, -0.7911446690559387, -0.43428876996040344, -0.18496115505695343, -0.039923664182424545, -0.04984340816736221, -0.20053544640541077, 0.16529256105422974, -0.43813556432724, -0.8322237133979797, 0.468902587890625, 0.11628925055265427, 0.2904799282550812, -0.3856203258037567, 0.07650177925825119, -0.013339802622795105, 0.23144468665122986, 0.7935559153556824, 0.11670329421758652, -0.6539282202720642, -0.36295023560523987, 0.08983242511749268, 0.03028678521513939, -0.189233660697937, 1.0387959480285645, -0.9911747574806213, 0.33355453610420227, 0.5989857912063599, 0.6489567756652832, 0.48335227370262146, 0.07189258188009262, 0.8834614157676697, -0.6820340156555176, 0.11971821635961533, 0.1060057058930397, 0.5533371567726135, 0.37304845452308655, -0.01933625154197216, 0.6252090334892273, 0.17254289984703064, -0.49532565474510193, -0.8224487900733948, 0.20878632366657257, -0.5685019493103027, -0.1634436696767807, 1.3883379697799683, -0.24488016963005066, 0.03694084286689758, -0.10844533890485764, 0.004460637457668781, 0.06662395596504211, -0.31737804412841797, 0.8663608431816101, 0.8971623182296753, -0.07382812350988388, 0.08833850175142288, -0.6926745176315308, 0.7802444696426392, 0.282725065946579, -0.6034093499183655, 0.2792869508266449, 0.2801511585712433, 0.07073402404785156, 0.28157320618629456, 0.3817731440067291, -0.05585254356265068, -0.354995459318161, 0.011631340719759464, -0.22661972045898438, 0.06532467156648636, -0.26195627450942993, -0.5082460045814514, 0.1385309398174286, 0.2297472357749939, 0.13055719435214996 ]
http://arxiv.org/abs/2404.08705v1
http://arxiv.org/pdf/2404.08705v1
Introducing L2M3, A Multilingual Medical Large Language Model to Advance Health Equity in Low-Resource Regions
2024-04-11T07:39:22
2024-04-11T07:39:22
Agasthya Gangavarapu
cs.CL
cs.CL, cs.AI, cs.LG
Addressing the imminent shortfall of 10 million health workers by 2030, predominantly in Low- and Middle-Income Countries (LMICs), this paper introduces an innovative approach that harnesses the power of Large Language Models (LLMs) integrated with machine translation models. This solution is engineered to meet the unique needs of Community Health Workers (CHWs), overcoming language barriers, cultural sensitivities, and the limited availability of medical dialog datasets. I have crafted a model that not only boasts superior translation capabilities but also undergoes rigorous fine-tuning on open-source datasets to ensure medical accuracy and is equipped with comprehensive safety features to counteract the risks of misinformation. Featuring a modular design, this approach is specifically structured for swift adaptation across various linguistic and cultural contexts, utilizing open-source components to significantly reduce healthcare operational costs. This strategic innovation markedly improves the accessibility and quality of healthcare services by providing CHWs with contextually appropriate medical knowledge and diagnostic tools. This paper highlights the transformative impact of this context-aware LLM, underscoring its crucial role in addressing the global healthcare workforce deficit and propelling forward healthcare outcomes in LMICs.
[ 0.26672083139419556, -0.23670533299446106, 0.7491154670715332, 0.022715145722031593, -0.1817387491464615, 0.05287187173962593, -0.11953255534172058, -0.731432318687439, 0.022508226335048676, 0.7095416784286499, -0.3810982406139374, -0.23956163227558136, -0.8305737972259521, 0.11476004868745804, 0.04850646108388901, 0.7377949953079224, -0.15685582160949707, 0.27723562717437744, 0.12243646383285522, -0.3065679967403412, -0.2563472092151642, -0.26291221380233765, -0.40387240052223206, -0.5425195693969727, 0.7309955358505249, 0.810379147529602, 0.9864992499351501, 0.8939968943595886, 0.3779429793357849, 0.1243031844496727, -0.05140623077750206, 0.2469867616891861, -0.6210600137710571, -0.2933792769908905, -0.05123284459114075, -0.6570622324943542, -0.5884150266647339, -0.26244229078292847, 0.42439910769462585, 0.830977737903595, -0.17040368914604187, 0.12020359933376312, 0.2960572838783264, 0.7447267174720764, -0.35701867938041687, 0.12880052626132965, -0.6412752270698547, 0.14334098994731903, -0.24368605017662048, 0.09443248063325882, -0.02122725546360016, -0.06571919471025467, -0.12345632165670395, -0.28327232599258423, -0.26185116171836853, -0.12673194706439972, 0.3879806399345398, 0.3505701720714569, -0.6647680401802063, -0.17267534136772156, -0.4781899154186249, 0.8260836601257324, -0.8593502044677734, 0.3062574565410614, 0.41240638494491577, 0.3580781817436218, -0.3222444951534271, -0.8814502954483032, -0.3690633773803711, 0.4898535907268524, -0.13717693090438843, 0.24142950773239136, -0.11275479942560196, -0.055555518716573715, -0.23435615003108978, 0.1858825385570526, -0.4494391083717346, 0.5533411502838135, -0.672781229019165, 0.04526486247777939, 0.2962087392807007, 0.32118576765060425, 0.2956632673740387, -0.34565451741218567, -0.31557193398475647, 0.4624243378639221, -0.9538739323616028, -0.05317796394228935, -0.19722095131874084, 0.5144367218017578, -0.6162912845611572, 0.48684194684028625, -0.17905862629413605, 0.3348451256752014, -0.4807532727718353, -0.7731216549873352, 0.3311329185962677, -0.2205280214548111, -0.2655227482318878, -0.0739939883351326, 0.5847418904304504, 0.3836360275745392, -0.2445792406797409, 0.025101367384195328, -0.08588070422410965, -0.39605915546417236, -0.06829551607370377, -0.8435475826263428, 0.05887454003095627, 0.41287699341773987, -0.8037997484207153, -0.19613702595233917, -0.3881951570510864, -0.6502885222434998, -0.8146207928657532, -0.23601356148719788, -0.03698580339550972, -0.024709433317184448, -0.2803840637207031, 0.3383229970932007, 0.43661391735076904, -0.11468639969825745, 0.3201640844345093, -0.7640528082847595, 0.031939465552568436, 0.8432472944259644, 1.0903019905090332, -0.042470354586839676, 0.004204082302749157, -0.2962452471256256, 0.33160874247550964, -0.2623289227485657, 0.25033625960350037, -0.18362215161323547, -0.4174676239490509, 0.21269425749778748, 0.3365781009197235, 0.13841333985328674, -0.6984579563140869, 0.32821717858314514, -0.2324514240026474, -0.010494071058928967, -0.17729875445365906, 0.1048216000199318, -0.055008839815855026, 0.23696087300777435, -0.6316271424293518, 0.853990912437439, 0.3942681550979614, -0.6192319393157959, 0.06035522744059563, -0.7068377137184143, -0.4819914400577545, 0.3197824954986572, -0.26032304763793945, -0.4713810384273529, 0.20427384972572327, 0.16402138769626617, 0.4075002074241638, -0.7335953712463379, 0.36490485072135925, -0.29524359107017517, -0.23123283684253693, 0.05261164903640747, -0.3301383852958679, 0.9011242389678955, 0.2798042297363281, -0.2108958214521408, 0.1754867136478424, -0.2823711633682251, -0.1270214170217514, 0.2139899730682373, -0.42173007130622864, -0.21001000702381134, 0.2325209677219391, 0.17324377596378326, 0.467050164937973, 0.3078196346759796, -0.13616228103637695, -0.07629167288541794, -0.6029680371284485, 0.7791052460670471, 0.3750099241733551, -0.0475798174738884, 0.3013208508491516, -0.33877408504486084, 0.47681331634521484, 0.10812978446483612, 0.5811574459075928, -0.06478484719991684, -0.5905587673187256, -0.3630772531032562, -0.45539894700050354, -0.10020765662193298, 0.7552576065063477, -0.9050988554954529, 0.21650904417037964, -0.2817123532295227, -0.4378786087036133, -0.9346508979797363, 0.35408681631088257, 0.039748866111040115, 0.7744783163070679, 0.39830297231674194, 0.09285446256399155, -0.42610853910446167, -1.1017292737960815, -0.07863716036081314, -0.18805454671382904, -0.0902690589427948, 0.21355760097503662, 0.4377967417240143, -0.6730949878692627, 0.5747184753417969, -0.3326798677444458, -0.3295696973800659, -0.634804904460907, -0.3262166976928711, 0.4461309611797333, 0.48850950598716736, 0.27510273456573486, -0.8660628199577332, -0.28175437450408936, 0.27428165078163147, -0.8189838528633118, -0.07760648429393768, 0.23409797251224518, -0.25241324305534363, -0.004433743190020323, 0.3352140784263611, -0.07320313155651093, 0.11122972518205643, 0.9506517052650452, 0.0037065893411636353, 0.10371004045009613, -0.19674398005008698, -0.1537432074546814, -1.4354325532913208, 0.2135130912065506, -0.11990677565336227, -0.23836039006710052, -0.7298443913459778, 0.10948684811592102, 0.232416033744812, -0.42851704359054565, -0.6876773238182068, 0.7646951079368591, -0.3886217474937439, 0.17097441852092743, -0.4235101342201233, -0.05255897343158722, -0.08983791619539261, -0.033196017146110535, 0.008305496536195278, 0.531339704990387, 0.2009076476097107, -0.18738561868667603, 0.07542360574007034, 0.08940847963094711, -0.4804246127605438, 0.5235692262649536, -0.5608516931533813, -0.014475096017122269, -0.025387393310666084, 0.4201708436012268, -0.3176509439945221, -0.43579912185668945, 0.17643605172634125, -0.13000580668449402, -0.12478388100862503, -0.13660411536693573, -0.7947598099708557, -0.6729981899261475, 0.04518582671880722, 0.5057165622711182, 0.6204882860183716, -0.3343127965927124, 0.19796863198280334, 0.7066925168037415, -0.4897810220718384, -0.5323724746704102, -1.0859369039535522, 0.21191446483135223, -0.2515619397163391, -0.6726692914962769, 0.0584949292242527, 0.15421047806739807, -0.31787893176078796, -0.277820348739624, -0.00970063079148531, -0.23334217071533203, 0.5251736640930176, 0.0410638190805912, 0.3722197711467743, -0.22498589754104614, 0.14746268093585968, 0.08067173510789871, -0.25398316979408264, -0.08655542880296707, -0.5170596837997437, 0.26832613348960876, -0.007671642582863569, -0.3554818034172058, -0.29166221618652344, 0.6689350605010986, 0.7169105410575867, -0.16964605450630188, 0.8085072636604309, 0.6647334694862366, -0.9387806057929993, 0.3216720521450043, -0.4467350244522095, -0.03728726506233215, -0.42941001057624817, 0.850602388381958, 0.1118912622332573, -1.2362284660339355, 0.37486910820007324, -0.2879067361354828, 0.06587617099285126, 0.19995641708374023, 0.808801531791687, -0.02841736190021038, 0.7832401990890503, 0.7777597308158875, -0.10560066252946854, 0.006618224084377289, 0.06876995414495468, 0.43865877389907837, -0.8151424527168274, -0.45092999935150146, -0.4200122058391571, -0.20138250291347504, -0.7120449542999268, -1.010047435760498, 1.1576142311096191, 0.23271925747394562, -0.187852144241333, -0.06909028440713882, -0.20502136647701263, 0.19234783947467804, 0.2957485318183899, 0.38730481266975403, 0.33288803696632385, -0.35105228424072266, 0.059561099857091904, -0.2370910942554474, -0.8366889953613281, -0.6024473905563354, 0.7286101579666138, 0.7784592509269714, 0.49282029271125793, 0.4074447453022003, 0.5473332405090332, 0.28187087178230286, 0.6349824666976929, -0.7733283042907715, -0.00872983131557703, -0.27379101514816284, -0.5589797496795654, -0.24780693650245667, -0.25762939453125, -0.8107426762580872, 0.35190683603286743, -0.3362535834312439, -0.5865739583969116, 0.10024713724851608, 0.06135334447026253, -0.4951937198638916, 0.44348469376564026, -0.3277260363101959, 0.7645305395126343, -0.4540131092071533, -0.5233898758888245, -0.2654295861721039, -0.7238285541534424, 0.48838621377944946, -0.459529846906662, 1.078561544418335, -0.5370888710021973, -0.3195021450519562, 0.4052516520023346, -0.6002510786056519, 1.0298115015029907, -0.21543562412261963, -0.34367966651916504, 0.16107304394245148, -0.1211690902709961, 0.464253693819046, 0.14197447896003723, -0.323424369096756, 0.30573537945747375, -0.25370365381240845, -0.7986276149749756, 0.030940622091293335, 0.6371261477470398, -0.7511873841285706, -0.5025107264518738, 0.013022549450397491, -0.63884037733078, -0.39450716972351074, 0.4181807339191437, -0.14043943583965302, 0.229675754904747, -0.14304779469966888, 0.08187464624643326, 0.41513288021087646, -0.6429033279418945, 0.28096267580986023, 0.5963425040245056, -0.026286063715815544, -0.4858107566833496, 0.46953678131103516, 0.04564027488231659, 0.4083453118801117, 0.19271330535411835, 0.2567961513996124, -0.04976775124669075, -0.42573094367980957, -0.4690203070640564, 0.33205878734588623, -0.769039511680603, -0.5238684415817261, -0.6353744864463806, -0.06463620066642761, -0.3985525369644165, -0.5572644472122192, -0.26368802785873413, 0.03569277003407478, -0.2139163315296173, -0.12006005644798279, 0.10202517360448837, 0.96439528465271, -0.3643048107624054, 0.40423083305358887, -0.8279173970222473, 0.25605249404907227, 0.11686474084854126, 0.29767653346061707, 0.03659644350409508, -0.4112541973590851, -0.811042845249176, -0.030268827453255653, -0.0856592208147049, -0.9450697302818298, 0.6217959523200989, -0.4025118947029114, 0.2937507629394531, 0.29757121205329895, -0.07669083029031754, 0.5610231757164001, -0.8281847834587097, 0.773288369178772, 0.7008180618286133, -0.7890479564666748, 0.4237782061100006, -0.5692030787467957, 0.5407783389091492, 0.5151992440223694, 0.17211146652698517, -0.861617386341095, -0.17636357247829437, -0.0720699205994606, -1.224042534828186, 0.46499383449554443, -0.21281476318836212, 0.027831651270389557, -0.21801912784576416, 0.005752271506935358, 0.24427430331707, -0.028375087305903435, -0.8900554776191711, 0.08095104992389679, 0.02194829098880291, -0.4452053904533386, 0.10205916315317154, -0.3451702892780304, -0.43022167682647705, -0.027817057445645332, 0.5305023789405823, -0.4544930160045624, 0.05118183419108391, 0.20024535059928894, -0.0754285454750061, -0.270531564950943, 0.609712541103363, 0.6180101633071899, 0.5687062740325928, 0.04467223212122917, 0.2032826691865921, 0.41277533769607544, -0.2521190047264099, 0.2064729779958725, -0.018948860466480255, 0.08860365301370621, -0.1406617909669876, 0.4900246858596802, 0.632353663444519, 0.4133128225803375, -0.6366971731185913, 0.5058507919311523, 0.33047983050346375, 0.06352084130048752, -0.19143450260162354, -0.2742742598056793, 0.6213387250900269, 0.3894506096839905, 0.5459408760070801, -0.06179535388946533, 0.07182668149471283, -0.5123790502548218, -0.04576574265956879, -0.001164240762591362, -0.5747982263565063, -0.10454903542995453, 0.7716948390007019, 0.531494677066803, -0.14092913269996643, 0.30268529057502747, 0.21933092176914215, -0.27157971262931824, 0.576054036617279, 0.5986153483390808, 0.4276260733604431, -0.24557378888130188, -0.07739856839179993, 0.3266366124153137, 0.6523391008377075, -0.49900761246681213, 0.2846125364303589, 0.5901110172271729, -0.4472368359565735, -0.5434492230415344, -0.3062360882759094, -0.3265392780303955, 0.20112362504005432, -0.7471367716789246, 0.32523852586746216, -0.1377924084663391, 0.0010279694106429815, -0.45028337836265564, -0.2799617648124695, -0.9106177091598511, 0.16168396174907684, 0.41972607374191284, 0.8752959966659546, -0.8865976333618164, 1.0175683498382568, 0.38497716188430786, -0.1088639497756958, -0.49928051233291626, 0.18644744157791138, 0.3401812016963959, -1.3438078165054321, 0.31872719526290894, 0.27193504571914673, -0.006710180081427097, -0.24572309851646423, -0.33415111899375916, -0.8372944593429565, 1.4097408056259155, 0.46517491340637207, -0.8405748009681702, -0.06402549147605896, 0.3972588777542114, 0.3414720892906189, -0.519512951374054, 0.07323101907968521, 0.4968602955341339, 0.5547681450843811, -0.4026801288127899, -1.314601182937622, 0.1707267016172409, 0.04282353073358536, 0.1632615178823471, -0.12828776240348816, -0.8211313486099243, 0.6930090188980103, -0.5777053833007812, -0.10341886430978775, 0.1487652212381363, 0.5813546180725098, 0.29454806447029114, 0.2119528204202652, 0.27985289692878723, 0.16203558444976807, 0.9037317633628845, -0.06828295439481735, 1.2146145105361938, -0.45772331953048706, 0.1786952167749405, 0.9622468948364258, -0.5851261019706726, 0.7840790748596191, 0.38557374477386475, -0.21429289877414703, 0.2921428680419922, 0.4888704717159271, 0.454546183347702, 0.509842574596405, 0.3785063922405243, -0.5263705849647522, -0.08438555896282196, -0.5643959045410156, -0.35764214396476746, 0.4218943119049072, 0.5477598309516907, -0.5058483481407166, -0.015627898275852203, 0.13225123286247253, 0.5574959516525269, 0.283702552318573, -0.6597307920455933, 0.6260178089141846, 0.4188615679740906, -0.33706435561180115, 0.445901483297348, 0.3280811905860901, 0.6515396237373352, -0.4470749795436859, 0.022616857662796974, -0.2731725573539734, 0.15814130008220673, -0.36098453402519226, -0.6080101132392883, 0.4098741114139557, -0.04182647541165352, -0.4171801507472992, -0.3472479581832886, 0.49774911999702454, -0.5753642916679382, -0.6939573884010315, 0.6644375920295715, 0.8651053309440613, -0.014074311591684818, 0.35200124979019165, -0.7026938796043396, 0.285778284072876, -0.034659408032894135, 0.45318663120269775, 0.35782912373542786, 0.610805869102478, -0.04280436411499977, 0.3916749954223633, 0.3824273645877838, 0.31216543912887573, -0.40295735001564026, 0.0817817896604538, 0.5933369398117065, -0.49967584013938904, -0.5537781715393066, -0.8489436507225037, 0.7245367765426636, 0.031781964004039764, -0.008366584777832031, 0.15950576961040497, 0.5475510954856873, 0.4038422107696533, 0.0012798544485121965, 1.240394949913025, 0.13213200867176056, 0.7291336059570312, -0.32658082246780396, 0.8252663016319275, -0.7949824333190918, 0.05456441640853882, 0.036950644105672836, -0.13441894948482513, -0.4084118902683258, 0.17568577826023102, -0.20749199390411377, -0.2968977093696594, 0.5303214192390442, 0.6728078722953796, 0.021372072398662567, -0.46389153599739075, 0.5898903608322144, 0.37090709805488586, 0.3029439449310303, 0.6596657633781433, 0.36383914947509766, -0.29981711506843567, 0.33003273606300354, 0.21114414930343628, -0.25045081973075867, -0.2979179322719574, -0.7782090902328491, -0.46852827072143555, -0.09677504003047943, -0.05738731101155281, -0.5614399313926697, 0.15670713782310486, 1.0353915691375732, 0.6864875555038452, -0.6801198124885559, -0.33403444290161133, 0.4806455075740814, 0.11560248583555222, -0.019617965444922447, -0.16991160809993744, 0.16410961747169495, 0.22299039363861084, -0.49260658025741577, 0.63395094871521, 0.7009903788566589, 0.021575819700956345, -0.4400864243507385, -0.22297702729701996, 0.042583219707012177, 0.03306007757782936, 0.637787938117981, 0.2436901181936264, -0.9333593845367432, -0.004621065687388182, -0.18955080211162567, -0.46891704201698303, 0.1840471625328064, 0.5910267233848572, -0.3882903456687927, 0.25993719696998596, -0.01700863614678383, 0.5802366733551025, 0.08310454338788986, -0.41857296228408813, 0.5793234705924988, -0.3259585499763489, 0.46248582005500793, 0.3375318944454193, 0.669429361820221, 0.7371003031730652, -0.35552507638931274, 0.6969819068908691, 0.2799190580844879, -0.3340685963630676, -0.8094955682754517, 0.3992307186126709, -0.5104341506958008, -0.34775975346565247, 1.260617971420288, -0.18190935254096985, 0.0355672761797905, -0.2884858250617981, 0.035137198865413666, 0.424022376537323, -0.13084490597248077, 0.7658613324165344, 0.29934853315353394, -0.000026765432266984135, -0.021327780559659004, -1.0304635763168335, 0.17412474751472473, 0.33798283338546753, -1.1255099773406982, 0.06431297212839127, 0.31573328375816345, 0.31229671835899353, -0.24924980103969574, 1.1219990253448486, -0.44773200154304504, 0.1511818766593933, -0.4343881905078888, 0.3827686309814453, 0.35799214243888855, -0.08155002444982529, -0.3361082673072815, 0.05533594638109207, 0.2296779304742813, 0.28623804450035095 ]